File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ const mimeTypes = Object.freeze({
55 doc : 'application/msword' ,
66 docx : 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' ,
77 images : 'image/*' ,
8+ json : 'application/json' ,
89 pdf : 'application/pdf' ,
910 plainText : 'text/plain' ,
1011 ppt : 'application/vnd.ms-powerpoint' ,
@@ -22,6 +23,7 @@ const utis = Object.freeze({
2223 doc : 'com.microsoft.word.doc' ,
2324 docx : 'org.openxmlformats.wordprocessingml.document' ,
2425 images : 'public.image' ,
26+ json : 'public.json' ,
2527 pdf : 'com.adobe.pdf' ,
2628 plainText : 'public.plain-text' ,
2729 ppt : 'com.microsoft.powerpoint.ppt' ,
@@ -40,6 +42,7 @@ const extensions = Object.freeze({
4042 doc : '.doc' ,
4143 docx : '.docx' ,
4244 images : '.jpeg .jpg .png' ,
45+ json : '.json' ,
4346 pdf : '.pdf' ,
4447 plainText : '.txt' ,
4548 ppt : '.ppt' ,
You can’t perform that action at this time.
0 commit comments