diff --git a/src/fileTypes.ts b/src/fileTypes.ts index c0e06045..f0b3e697 100644 --- a/src/fileTypes.ts +++ b/src/fileTypes.ts @@ -5,6 +5,7 @@ const mimeTypes = Object.freeze({ doc: 'application/msword', docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', images: 'image/*', + json: 'application/json', pdf: 'application/pdf', plainText: 'text/plain', ppt: 'application/vnd.ms-powerpoint', @@ -22,6 +23,7 @@ const utis = Object.freeze({ doc: 'com.microsoft.word.doc', docx: 'org.openxmlformats.wordprocessingml.document', images: 'public.image', + json: 'public.json', pdf: 'com.adobe.pdf', plainText: 'public.plain-text', ppt: 'com.microsoft.powerpoint.ppt', @@ -40,6 +42,7 @@ const extensions = Object.freeze({ doc: '.doc', docx: '.docx', images: '.jpeg .jpg .png', + json: '.json', pdf: '.pdf', plainText: '.txt', ppt: '.ppt',