-
Notifications
You must be signed in to change notification settings - Fork 398
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: add missing type for
file-service
(#1611)
* refactor: add missing type for method of `DiskFsProviderClient` * refactor: add missing type for method of `DiskFileSystemProvider` * refactor: move definition of file ext to separated file * refactor: add missing type for method of `FileService` * feat: add more file type
- Loading branch information
Showing
6 changed files
with
39 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
export const EXT_LIST_VIDEO = ['mp4', 'webm', 'mkv', 'mov', 'mts', 'flv', 'avi', 'wmv']; | ||
|
||
export const EXT_LIST_IMAGE = [ | ||
'png', | ||
'gif', | ||
'jpg', | ||
'jpeg', | ||
'svg', | ||
'bmp', | ||
'avif', | ||
'cr2', | ||
'cr3', | ||
'dng', | ||
'flif', | ||
'heic', | ||
'icns', | ||
'jxl', | ||
'jpm', | ||
'jpx', | ||
'nef', | ||
'raf', | ||
'rw2', | ||
'tif', | ||
'orf', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters