File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
packages/oc-storage-adapters-utils Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ declare const utils : {
2+ getNextYear : ( ) => Date ;
3+ getFileInfo : ( filePath : string ) => {
4+ gzip : boolean ;
5+ extname : string ;
6+ mimeType : string | undefined ;
7+ } ;
8+ strings : {
9+ errors : {
10+ generic : string ;
11+ STORAGE : {
12+ DIR_NOT_FOUND : string ;
13+ DIR_NOT_FOUND_CODE : string ;
14+ FILE_NOT_FOUND : string ;
15+ FILE_NOT_FOUND_CODE : string ;
16+ FILE_NOT_VALID : string ;
17+ FILE_NOT_VALID_CODE : string ;
18+ } ;
19+ } ;
20+ } ;
21+ getMimeType : ( extension : string ) => string | undefined ;
22+ } ;
23+
24+ export = utils ;
Original file line number Diff line number Diff line change 33 "version" : " 1.0.3" ,
44 "description" : " Common storage adapter utils for OC" ,
55 "main" : " index.js" ,
6+ "types" : " index.d.ts" ,
67 "files" : [
78 " index.js" ,
9+ " index.d.ts" ,
810 " lib" ,
911 " LICENSE" ,
1012 " README.md"
You can’t perform that action at this time.
0 commit comments