Skip to content

Commit

Permalink
Add a create flag to MimeTypeInfo (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern authored Oct 7, 2021
1 parent 656f69e commit 2321eb6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cs3/app/registry/v1beta1/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,9 @@ message MimeTypeInfo {
// OPTIONAL.
// A URI to a static asset which represents the mime type icon.
string icon = 7;
// OPTIONAL.
// Whether the mime type is eligible for file creation in the web UI.
// Defaults to false, i.e. files with this mime type can be opened
// but not directly allow_creationd from the web UI.
bool allow_creation = 8;
}
10 changes: 10 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5836,6 +5836,16 @@ <h3 id="cs3.app.registry.v1beta1.MimeTypeInfo">MimeTypeInfo</h3>
A URI to a static asset which represents the mime type icon. </p></td>
</tr>

<tr>
<td>allow_creation</td>
<td><a href="#bool">bool</a></td>
<td></td>
<td><p>OPTIONAL.
Whether the mime type is eligible for file creation in the web UI.
Defaults to false, i.e. files with this mime type can be opened
but not directly allow_creationd from the web UI. </p></td>
</tr>

</tbody>
</table>

Expand Down

0 comments on commit 2321eb6

Please sign in to comment.