Skip to content

Commit

Permalink
Add a create flag to MimeTypeInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Oct 6, 2021
1 parent 656f69e commit 2052a3b
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 created from the web UI.
bool create = 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>create</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 created from the web UI. </p></td>
</tr>

</tbody>
</table>

Expand Down

0 comments on commit 2052a3b

Please sign in to comment.