Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a create flag to MimeTypeInfo #149

Merged
merged 1 commit into from
Oct 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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