From dc62a88a011eb1fb4a2a2525142da8e4ec78ca99 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Wed, 3 Nov 2021 10:59:53 +0100 Subject: [PATCH 1/2] add default_application to MimeTypeInfo --- cs3/app/registry/v1beta1/resources.proto | 3 +++ docs/index.html | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/cs3/app/registry/v1beta1/resources.proto b/cs3/app/registry/v1beta1/resources.proto index 8ffcbf60..f9d088cd 100644 --- a/cs3/app/registry/v1beta1/resources.proto +++ b/cs3/app/registry/v1beta1/resources.proto @@ -96,4 +96,7 @@ message MimeTypeInfo { // 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; + // OPTIONAL. + // name of the default application to open this mime type + string default_application = 9; } diff --git a/docs/index.html b/docs/index.html index 21f4fa3a..7e6f193d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5695,6 +5695,14 @@

MimeTypeInfo

but not directly allow_creationd from the web UI.

+ + default_application + string + +

OPTIONAL. +name of the default application to open this mime type

+ + From 7c5d416183e6644c93b9d35c51d5eb2304ae43cd Mon Sep 17 00:00:00 2001 From: Willy Kloucek <34452982+wkloucek@users.noreply.github.com> Date: Wed, 3 Nov 2021 17:42:41 +0100 Subject: [PATCH 2/2] Update cs3/app/registry/v1beta1/resources.proto Co-authored-by: Giuseppe Lo Presti --- cs3/app/registry/v1beta1/resources.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cs3/app/registry/v1beta1/resources.proto b/cs3/app/registry/v1beta1/resources.proto index f9d088cd..0333d42d 100644 --- a/cs3/app/registry/v1beta1/resources.proto +++ b/cs3/app/registry/v1beta1/resources.proto @@ -94,7 +94,7 @@ message MimeTypeInfo { // 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. + // but not directly created from the web UI. bool allow_creation = 8; // OPTIONAL. // name of the default application to open this mime type