From 2052a3b8e88f73ea64030bb41e3f3ad68ed1d322 Mon Sep 17 00:00:00 2001 From: Giuseppe Lo Presti Date: Wed, 6 Oct 2021 11:58:22 +0200 Subject: [PATCH] Add a create flag to MimeTypeInfo --- cs3/app/registry/v1beta1/resources.proto | 5 +++++ docs/index.html | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/cs3/app/registry/v1beta1/resources.proto b/cs3/app/registry/v1beta1/resources.proto index 9f9e2b5e..e9615e1d 100644 --- a/cs3/app/registry/v1beta1/resources.proto +++ b/cs3/app/registry/v1beta1/resources.proto @@ -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; } diff --git a/docs/index.html b/docs/index.html index a66a97ba..f4bfb8fe 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5836,6 +5836,16 @@

MimeTypeInfo

A URI to a static asset which represents the mime type icon.

+ + create + bool + +

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.

+ +