From de38e44f4a7e8969e904c7f1c65b2d369de672b4 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Tue, 12 Oct 2021 08:29:11 +0200 Subject: [PATCH] update continous deployment example config file --- .../ocis_wopi/config/ocis/mimetypes.json | 34 ++++++++++++------- 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/deployments/examples/ocis_wopi/config/ocis/mimetypes.json b/deployments/examples/ocis_wopi/config/ocis/mimetypes.json index 3b6e5ccd1..9cd243ed3 100644 --- a/deployments/examples/ocis_wopi/config/ocis/mimetypes.json +++ b/deployments/examples/ocis_wopi/config/ocis/mimetypes.json @@ -1,5 +1,6 @@ -{ - "application/pdf": { +[ + { + "mime_type": "application/pdf", "extension": "pdf", "name": "PDF", "description": "PDF document", @@ -7,7 +8,8 @@ "default_app": "", "allow_creation": false }, - "application/vnd.oasis.opendocument.text": { + { + "mime_type": "application/vnd.oasis.opendocument.text", "extension": "odt", "name": "OpenDocument", "description": "OpenDocument text document", @@ -15,7 +17,8 @@ "default_app": "Collabora", "allow_creation": true }, - "application/vnd.oasis.opendocument.spreadsheet": { + { + "mime_type": "application/vnd.oasis.opendocument.spreadsheet", "extension": "ods", "name": "OpenSpreadsheet", "description": "OpenDocument spreadsheet document", @@ -23,7 +26,8 @@ "default_app": "Collabora", "allow_creation": true }, - "application/vnd.oasis.opendocument.presentation": { + { + "mime_type": "application/vnd.oasis.opendocument.presentation", "extension": "odp", "name": "OpenPresentation", "description": "OpenDocument presentation document", @@ -31,7 +35,8 @@ "default_app": "Collabora", "allow_creation": true }, - "application/vnd.openxmlformats-officedocument.wordprocessingml.document": { + { + "mime_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "extension": "docx", "name": "Microsoft Word", "description": "Microsoft Word document", @@ -39,7 +44,8 @@ "default_app": "OnlyOffice", "allow_creation": true }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": { + { + "mime_type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "extension": "xlsx", "name": "Microsoft Excel", "description": "Microsoft Excel document", @@ -47,7 +53,8 @@ "default_app": "OnlyOffice", "allow_creation": true }, - "application/vnd.openxmlformats-officedocument.presentationml.presentation": { + { + "mime_type": "application/vnd.openxmlformats-officedocument.presentationml.presentation", "extension": "pptx", "name": "Microsoft PowerPoint", "description": "Microsoft PowerPoint document", @@ -55,7 +62,8 @@ "default_app": "OnlyOffice", "allow_creation": true }, - "application/vnd.jupyter": { + { + "mime_type": "application/vnd.jupyter", "extension": "ipynb", "name": "Jupyter Notebook", "description": "Jupyter Notebook", @@ -63,7 +71,8 @@ "default_app": "", "allow_creation": true }, - "text/markdown": { + { + "mime_type": "text/markdown", "extension": "md", "name": "Markdown file", "description": "Markdown file", @@ -71,7 +80,8 @@ "default_app": "CodiMD", "allow_creation": true }, - "application/compressed-markdown": { + { + "mime_type": "application/compressed-markdown", "extension": "zmd", "name": "Compressed markdown file", "description": "Compressed markdown file", @@ -79,4 +89,4 @@ "default_app": "CodiMD", "allow_creation": false } -} +]