Skip to content

Commit 4a22ec3

Browse files
marcoartaviaqmergify[bot]tjuanitas
authored
fix(content-sidebar): Update list of supported files (#3908)
fix(content-sidebar): Update estension list Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Trevor <[email protected]>
1 parent 0c87abe commit 4a22ec3

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

src/elements/content-sidebar/utils/isExtensionSupportedForMetadataSuggestions.ts

+33-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ const SUPPORTED_FILE_EXTENSIONS = new Set([
4242
'msg',
4343
'ods',
4444
'odt',
45-
'pages',
4645
'pdf',
4746
'php',
4847
'pl',
@@ -74,13 +73,45 @@ const SUPPORTED_FILE_EXTENSIONS = new Set([
7473
'xbd',
7574
'xdw',
7675
'yaml',
76+
// iWorks Files,
77+
'key',
78+
'pages',
79+
'numbers',
7780
// Presentations
7881
'gslide',
7982
'gslides',
80-
'key',
8183
'odp',
8284
'ppt',
8385
'pptx',
86+
// Box Formats
87+
'boxcanvas',
88+
'boxnote',
89+
// Images
90+
'ai',
91+
'bmp',
92+
'cr2',
93+
'crw',
94+
'dcm',
95+
'dicm',
96+
'dicom',
97+
'dng',
98+
'dwg',
99+
'eps',
100+
'gif',
101+
'heic',
102+
'jpeg',
103+
'jpg',
104+
'nef',
105+
'png',
106+
'ps',
107+
'psd',
108+
'raf',
109+
'svg',
110+
'tga',
111+
'tif',
112+
'tiff',
113+
'webp',
114+
84115
]);
85116

86117
export function isExtensionSupportedForMetadataSuggestions(extension: string): boolean {

0 commit comments

Comments
 (0)