From b013a1167e358a330de57ef82ad66a23e7439ebd Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Fri, 8 Oct 2021 06:40:52 +0200 Subject: [PATCH] update configuration example --- storage/config/mimetypes.json | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/storage/config/mimetypes.json b/storage/config/mimetypes.json index 935b3d26e..cd97efffc 100644 --- a/storage/config/mimetypes.json +++ b/storage/config/mimetypes.json @@ -4,69 +4,79 @@ "name": "PDF", "description": "PDF document", "icon": "", - "default_app": "" + "default_app": "", + "allow_creation": false }, "application/vnd.oasis.opendocument.text": { "extension": "odt", "name": "OpenDocument", "description": "OpenDocument text document", "icon": "", - "default_app": "" + "default_app": "", + "allow_creation": true }, "application/vnd.oasis.opendocument.spreadsheet": { "extension": "ods", "name": "OpenSpreadsheet", "description": "OpenDocument spreadsheet document", "icon": "", - "default_app": "" + "default_app": "", + "allow_creation": true }, "application/vnd.oasis.opendocument.presentation": { "extension": "odp", "name": "OpenPresentation", "description": "OpenDocument presentation document", "icon": "", - "default_app": "" + "default_app": "", + "allow_creation": true }, "application/vnd.openxmlformats-officedocument.wordprocessingml.document": { "extension": "docx", "name": "Microsoft Word", "description": "Microsoft Word document", "icon": "", - "default_app": "" + "default_app": "", + "allow_creation": true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": { "extension": "xlsx", "name": "Microsoft Excel", "description": "Microsoft Excel document", "icon": "", - "default_app": "" + "default_app": "", + "allow_creation": true }, "application/vnd.openxmlformats-officedocument.presentationml.presentation": { "extension": "pptx", "name": "Microsoft PowerPoint", "description": "Microsoft PowerPoint document", "icon": "", - "default_app": "" + "default_app": "", + "allow_creation": true }, "application/vnd.jupyter": { "extension": "ipynb", "name": "Jupyter Notebook", "description": "Jupyter Notebook", "icon": "", - "default_app": "" + "default_app": "", + "allow_creation": true }, "text/markdown": { "extension": "md", "name": "Markdown file", "description": "Markdown file", "icon": "", - "default_app": "" + "default_app": "", + "allow_creation": true }, "application/compressed-markdown": { "extension": "zmd", "name": "Compressed markdown file", "description": "Compressed markdown file", "icon": "", - "default_app": "" + "default_app": "", + "allow_creation": false } }