Skip to content

Commit

Permalink
add default_application to MimeTypeInfo (#157)
Browse files Browse the repository at this point in the history
* add default_application to MimeTypeInfo

* Update cs3/app/registry/v1beta1/resources.proto

Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>

Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>
  • Loading branch information
wkloucek and glpatcern authored Nov 4, 2021
1 parent dfc8f0d commit 9648574
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cs3/app/registry/v1beta1/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ 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
string default_application = 9;
}
8 changes: 8 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5695,6 +5695,14 @@ <h3 id="cs3.app.registry.v1beta1.MimeTypeInfo">MimeTypeInfo</h3>
but not directly allow_creationd from the web UI. </p></td>
</tr>

<tr>
<td>default_application</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>OPTIONAL.
name of the default application to open this mime type </p></td>
</tr>

</tbody>
</table>

Expand Down

0 comments on commit 9648574

Please sign in to comment.