@burdenoff/microfe-files 2026.525.2 → 2026.525.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/dist/config/index.d.ts +0 -33
- package/dist/config/index.d.ts.map +0 -1
- package/dist/dev/main.d.ts +0 -1
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/files/FilesRoot.d.ts +0 -31
- package/dist/files/FilesRoot.d.ts.map +0 -1
- package/dist/files/FilesRoutes.d.ts +0 -12
- package/dist/files/FilesRoutes.d.ts.map +0 -1
- package/dist/files/components/ActionMenu.d.ts +0 -19
- package/dist/files/components/ActionMenu.d.ts.map +0 -1
- package/dist/files/components/ConfirmDialog.d.ts +0 -14
- package/dist/files/components/ConfirmDialog.d.ts.map +0 -1
- package/dist/files/components/ContextMenu.d.ts +0 -59
- package/dist/files/components/ContextMenu.d.ts.map +0 -1
- package/dist/files/components/CopyDialog.d.ts +0 -12
- package/dist/files/components/CopyDialog.d.ts.map +0 -1
- package/dist/files/components/EmptyState.d.ts +0 -8
- package/dist/files/components/EmptyState.d.ts.map +0 -1
- package/dist/files/components/FileBrowser.d.ts +0 -37
- package/dist/files/components/FileBrowser.d.ts.map +0 -1
- package/dist/files/components/FileCard.d.ts +0 -30
- package/dist/files/components/FileCard.d.ts.map +0 -1
- package/dist/files/components/FileInfoPanel.d.ts +0 -9
- package/dist/files/components/FileInfoPanel.d.ts.map +0 -1
- package/dist/files/components/FileListItem.d.ts +0 -29
- package/dist/files/components/FileListItem.d.ts.map +0 -1
- package/dist/files/components/FilePreviewModal.d.ts +0 -17
- package/dist/files/components/FilePreviewModal.d.ts.map +0 -1
- package/dist/files/components/FileVersionPanel.d.ts +0 -9
- package/dist/files/components/FileVersionPanel.d.ts.map +0 -1
- package/dist/files/components/FolderCard.d.ts +0 -34
- package/dist/files/components/FolderCard.d.ts.map +0 -1
- package/dist/files/components/MoveDialog.d.ts +0 -12
- package/dist/files/components/MoveDialog.d.ts.map +0 -1
- package/dist/files/components/SearchBar.d.ts +0 -13
- package/dist/files/components/SearchBar.d.ts.map +0 -1
- package/dist/files/components/ShareDialog.d.ts +0 -24
- package/dist/files/components/ShareDialog.d.ts.map +0 -1
- package/dist/files/components/TabBar.d.ts +0 -14
- package/dist/files/components/TabBar.d.ts.map +0 -1
- package/dist/files/components/Toast.d.ts +0 -14
- package/dist/files/components/Toast.d.ts.map +0 -1
- package/dist/files/components/UploadQueue.d.ts +0 -21
- package/dist/files/components/UploadQueue.d.ts.map +0 -1
- package/dist/files/components/index.d.ts +0 -43
- package/dist/files/components/index.d.ts.map +0 -1
- package/dist/files/components/viewers/AudioPlayer.d.ts +0 -8
- package/dist/files/components/viewers/AudioPlayer.d.ts.map +0 -1
- package/dist/files/components/viewers/CodeViewer.d.ts +0 -16
- package/dist/files/components/viewers/CodeViewer.d.ts.map +0 -1
- package/dist/files/components/viewers/ImageViewer.d.ts +0 -8
- package/dist/files/components/viewers/ImageViewer.d.ts.map +0 -1
- package/dist/files/components/viewers/PDFViewer.d.ts +0 -15
- package/dist/files/components/viewers/PDFViewer.d.ts.map +0 -1
- package/dist/files/components/viewers/TextViewer.d.ts +0 -8
- package/dist/files/components/viewers/TextViewer.d.ts.map +0 -1
- package/dist/files/components/viewers/VideoPlayer.d.ts +0 -8
- package/dist/files/components/viewers/VideoPlayer.d.ts.map +0 -1
- package/dist/files/components/viewers/index.d.ts +0 -7
- package/dist/files/components/viewers/index.d.ts.map +0 -1
- package/dist/files/graphql-types.d.ts +0 -317
- package/dist/files/graphql-types.d.ts.map +0 -1
- package/dist/files/hooks/useBatchOperations.d.ts +0 -32
- package/dist/files/hooks/useBatchOperations.d.ts.map +0 -1
- package/dist/files/hooks/useBinItems.d.ts +0 -11
- package/dist/files/hooks/useBinItems.d.ts.map +0 -1
- package/dist/files/hooks/useBrowsePage.d.ts +0 -18
- package/dist/files/hooks/useBrowsePage.d.ts.map +0 -1
- package/dist/files/hooks/useCopyFile.d.ts +0 -14
- package/dist/files/hooks/useCopyFile.d.ts.map +0 -1
- package/dist/files/hooks/useCreateFolder.d.ts +0 -14
- package/dist/files/hooks/useCreateFolder.d.ts.map +0 -1
- package/dist/files/hooks/useCreateFolderShare.d.ts +0 -16
- package/dist/files/hooks/useCreateFolderShare.d.ts.map +0 -1
- package/dist/files/hooks/useCreateShare.d.ts +0 -16
- package/dist/files/hooks/useCreateShare.d.ts.map +0 -1
- package/dist/files/hooks/useDeleteFile.d.ts +0 -9
- package/dist/files/hooks/useDeleteFile.d.ts.map +0 -1
- package/dist/files/hooks/useDeleteFolder.d.ts +0 -10
- package/dist/files/hooks/useDeleteFolder.d.ts.map +0 -1
- package/dist/files/hooks/useDragDrop.d.ts +0 -31
- package/dist/files/hooks/useDragDrop.d.ts.map +0 -1
- package/dist/files/hooks/useFileVersions.d.ts +0 -52
- package/dist/files/hooks/useFileVersions.d.ts.map +0 -1
- package/dist/files/hooks/useFiles.d.ts +0 -18
- package/dist/files/hooks/useFiles.d.ts.map +0 -1
- package/dist/files/hooks/useFolder.d.ts +0 -7
- package/dist/files/hooks/useFolder.d.ts.map +0 -1
- package/dist/files/hooks/useFolderPath.d.ts +0 -2
- package/dist/files/hooks/useFolderPath.d.ts.map +0 -1
- package/dist/files/hooks/useFoldersQuery.d.ts +0 -7
- package/dist/files/hooks/useFoldersQuery.d.ts.map +0 -1
- package/dist/files/hooks/useKeyboardNavigation.d.ts +0 -17
- package/dist/files/hooks/useKeyboardNavigation.d.ts.map +0 -1
- package/dist/files/hooks/useMoveFile.d.ts +0 -10
- package/dist/files/hooks/useMoveFile.d.ts.map +0 -1
- package/dist/files/hooks/useMoveFolder.d.ts +0 -10
- package/dist/files/hooks/useMoveFolder.d.ts.map +0 -1
- package/dist/files/hooks/usePermanentlyDeleteFile.d.ts +0 -9
- package/dist/files/hooks/usePermanentlyDeleteFile.d.ts.map +0 -1
- package/dist/files/hooks/usePermanentlyDeleteFolder.d.ts +0 -9
- package/dist/files/hooks/usePermanentlyDeleteFolder.d.ts.map +0 -1
- package/dist/files/hooks/useRecentFiles.d.ts +0 -10
- package/dist/files/hooks/useRecentFiles.d.ts.map +0 -1
- package/dist/files/hooks/useRenameFile.d.ts +0 -10
- package/dist/files/hooks/useRenameFile.d.ts.map +0 -1
- package/dist/files/hooks/useRenameFolder.d.ts +0 -10
- package/dist/files/hooks/useRenameFolder.d.ts.map +0 -1
- package/dist/files/hooks/useRestoreFile.d.ts +0 -9
- package/dist/files/hooks/useRestoreFile.d.ts.map +0 -1
- package/dist/files/hooks/useRestoreFolder.d.ts +0 -9
- package/dist/files/hooks/useRestoreFolder.d.ts.map +0 -1
- package/dist/files/hooks/useSearch.d.ts +0 -15
- package/dist/files/hooks/useSearch.d.ts.map +0 -1
- package/dist/files/hooks/useStarredItems.d.ts +0 -10
- package/dist/files/hooks/useStarredItems.d.ts.map +0 -1
- package/dist/files/hooks/useToast.d.ts +0 -11
- package/dist/files/hooks/useToast.d.ts.map +0 -1
- package/dist/files/hooks/useToggleStar.d.ts +0 -10
- package/dist/files/hooks/useToggleStar.d.ts.map +0 -1
- package/dist/files/hooks/useUploadFile.d.ts +0 -25
- package/dist/files/hooks/useUploadFile.d.ts.map +0 -1
- package/dist/files/index.d.ts +0 -29
- package/dist/files/index.d.ts.map +0 -1
- package/dist/files/pages/BrowserPage.d.ts +0 -5
- package/dist/files/pages/BrowserPage.d.ts.map +0 -1
- package/dist/files/pages/ShareAccessPage.d.ts +0 -2
- package/dist/files/pages/ShareAccessPage.d.ts.map +0 -1
- package/dist/files/providers/FilesProvider.d.ts +0 -25
- package/dist/files/providers/FilesProvider.d.ts.map +0 -1
- package/dist/files/store/filesStore.d.ts +0 -99
- package/dist/files/store/filesStore.d.ts.map +0 -1
- package/dist/files/types.d.ts +0 -266
- package/dist/files/types.d.ts.map +0 -1
- package/dist/files/utils/events.d.ts +0 -6
- package/dist/files/utils/events.d.ts.map +0 -1
- package/dist/files/utils/i18n.d.ts +0 -5
- package/dist/files/utils/i18n.d.ts.map +0 -1
- package/dist/files/utils/index.d.ts +0 -74
- package/dist/files/utils/index.d.ts.map +0 -1
- package/dist/files/utils/thumbnail.d.ts +0 -5
- package/dist/files/utils/thumbnail.d.ts.map +0 -1
- package/dist/files.d.ts +0 -2
- package/dist/generated/global-operations.d.ts +0 -2
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts +0 -23527
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts +0 -2706
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts +0 -57851
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/index.d.ts +0 -30
- package/dist/index.d.ts.map +0 -1
- package/dist/shared/types/index.d.ts +0 -101
- package/dist/shared/types/index.d.ts.map +0 -1
- package/dist/translations/en.d.ts +0 -315
- package/dist/translations/en.d.ts.map +0 -1
- package/dist/utils/nativeBridge.d.ts +0 -3
- package/dist/utils/nativeBridge.d.ts.map +0 -1
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Files microfrontend components
|
|
3
|
-
*
|
|
4
|
-
* Priority 1: Core File Browser Components
|
|
5
|
-
*/
|
|
6
|
-
export { FileCard } from './FileCard';
|
|
7
|
-
export { FileListItem } from './FileListItem';
|
|
8
|
-
export { FolderCard } from './FolderCard';
|
|
9
|
-
export { FileBrowser } from './FileBrowser';
|
|
10
|
-
/**
|
|
11
|
-
* Priority 2 - Upload Components
|
|
12
|
-
*/
|
|
13
|
-
export { UploadQueue, UploadProgressBar } from './UploadQueue';
|
|
14
|
-
/**
|
|
15
|
-
* ROADMAP: Priority 3 - Preview Components
|
|
16
|
-
* - FilePreview
|
|
17
|
-
* - ImageViewer
|
|
18
|
-
* - PDFViewer
|
|
19
|
-
* - VideoPlayer
|
|
20
|
-
* - AudioPlayer
|
|
21
|
-
* - CodeViewer
|
|
22
|
-
* - TextViewer
|
|
23
|
-
*/
|
|
24
|
-
/**
|
|
25
|
-
* ROADMAP: Priority 4 - Sharing Components
|
|
26
|
-
* - ShareDialog
|
|
27
|
-
* - PermissionMatrix
|
|
28
|
-
* - PublicLinkGenerator
|
|
29
|
-
* - ShareAnalytics
|
|
30
|
-
*/
|
|
31
|
-
/**
|
|
32
|
-
* ROADMAP: Priority 5 - Versioning Components
|
|
33
|
-
* - VersionHistory
|
|
34
|
-
* - VersionDiff
|
|
35
|
-
* - RestoreDialog
|
|
36
|
-
*/
|
|
37
|
-
/**
|
|
38
|
-
* ROADMAP: Priority 6 - Storage Components
|
|
39
|
-
* - StorageQuota
|
|
40
|
-
* - StorageBreakdown
|
|
41
|
-
* - LargeFilesReport
|
|
42
|
-
*/
|
|
43
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/files/components/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAE/D;;;;;;;;;GASG;AAEH;;;;;;GAMG;AAEH;;;;;GAKG;AAEH;;;;;GAKG"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FileItem } from '../../types';
|
|
2
|
-
interface AudioPlayerProps {
|
|
3
|
-
file: FileItem;
|
|
4
|
-
url: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function AudioPlayer({ file, url }: AudioPlayerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=AudioPlayer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AudioPlayer.d.ts","sourceRoot":"","sources":["../../../../src/files/components/viewers/AudioPlayer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,UAAU,gBAAgB;IACxB,IAAI,EAAE,QAAQ,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,gBAAgB,2CAmJ1D"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FileItem } from '../../types';
|
|
2
|
-
interface CodeViewerProps {
|
|
3
|
-
file: FileItem;
|
|
4
|
-
url: string;
|
|
5
|
-
language?: string;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* CodeViewer - Displays code files with syntax highlighting
|
|
9
|
-
*
|
|
10
|
-
* Note: This is a simplified implementation with basic highlighting.
|
|
11
|
-
* For full syntax highlighting, install prism-react-renderer:
|
|
12
|
-
* bun add prism-react-renderer
|
|
13
|
-
*/
|
|
14
|
-
export declare function CodeViewer({ file, url, language }: CodeViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=CodeViewer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CodeViewer.d.ts","sourceRoot":"","sources":["../../../../src/files/components/viewers/CodeViewer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,UAAU,eAAe;IACvB,IAAI,EAAE,QAAQ,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE,eAAe,2CAkHlE"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FileItem } from '../../types';
|
|
2
|
-
interface ImageViewerProps {
|
|
3
|
-
file: FileItem;
|
|
4
|
-
url: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function ImageViewer({ file, url }: ImageViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=ImageViewer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ImageViewer.d.ts","sourceRoot":"","sources":["../../../../src/files/components/viewers/ImageViewer.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,UAAU,gBAAgB;IACxB,IAAI,EAAE,QAAQ,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,gBAAgB,2CA6J1D"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FileItem } from '../../types';
|
|
2
|
-
interface PDFViewerProps {
|
|
3
|
-
file: FileItem;
|
|
4
|
-
url: string;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* PDFViewer - Displays PDF files
|
|
8
|
-
*
|
|
9
|
-
* Note: This uses <object> tag for better browser PDF compatibility.
|
|
10
|
-
* For a full-featured PDF viewer with more controls, install react-pdf:
|
|
11
|
-
* bun add react-pdf pdfjs-dist
|
|
12
|
-
*/
|
|
13
|
-
export declare function PDFViewer({ file, url }: PDFViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=PDFViewer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PDFViewer.d.ts","sourceRoot":"","sources":["../../../../src/files/components/viewers/PDFViewer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,UAAU,cAAc;IACtB,IAAI,EAAE,QAAQ,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,cAAc,2CA2EtD"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FileItem } from '../../types';
|
|
2
|
-
interface TextViewerProps {
|
|
3
|
-
file: FileItem;
|
|
4
|
-
url: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function TextViewer({ file, url }: TextViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=TextViewer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextViewer.d.ts","sourceRoot":"","sources":["../../../../src/files/components/viewers/TextViewer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,UAAU,eAAe;IACvB,IAAI,EAAE,QAAQ,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb;AAMD,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,eAAe,2CAiLxD"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FileItem } from '../../types';
|
|
2
|
-
interface VideoPlayerProps {
|
|
3
|
-
file: FileItem;
|
|
4
|
-
url: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function VideoPlayer({ file, url }: VideoPlayerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=VideoPlayer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../../src/files/components/viewers/VideoPlayer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,UAAU,gBAAgB;IACxB,IAAI,EAAE,QAAQ,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,gBAAgB,2CAuL1D"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { ImageViewer } from './ImageViewer';
|
|
2
|
-
export { PDFViewer } from './PDFViewer';
|
|
3
|
-
export { VideoPlayer } from './VideoPlayer';
|
|
4
|
-
export { AudioPlayer } from './AudioPlayer';
|
|
5
|
-
export { CodeViewer } from './CodeViewer';
|
|
6
|
-
export { TextViewer } from './TextViewer';
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/files/components/viewers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1,317 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* File and Folder Types
|
|
3
|
-
*
|
|
4
|
-
* NOTE: Generated types now exist in `src/generated/wspace-types.ts` via graphql-codegen.
|
|
5
|
-
* This file is kept for backward compatibility with hooks that reference these local types.
|
|
6
|
-
* Prefer importing from `src/generated/wspace-types.ts` for new code.
|
|
7
|
-
*/
|
|
8
|
-
export declare enum FileStatus {
|
|
9
|
-
ACTIVE = "ACTIVE",
|
|
10
|
-
ARCHIVED = "ARCHIVED",
|
|
11
|
-
DELETED = "DELETED"
|
|
12
|
-
}
|
|
13
|
-
export declare enum FileVisibility {
|
|
14
|
-
PUBLIC = "PUBLIC",
|
|
15
|
-
PRIVATE = "PRIVATE",
|
|
16
|
-
WORKSPACE = "WORKSPACE"
|
|
17
|
-
}
|
|
18
|
-
export declare enum FolderStatus {
|
|
19
|
-
ACTIVE = "ACTIVE",
|
|
20
|
-
ARCHIVED = "ARCHIVED",
|
|
21
|
-
DELETED = "DELETED"
|
|
22
|
-
}
|
|
23
|
-
export declare enum UploadType {
|
|
24
|
-
DIRECT = "DIRECT",
|
|
25
|
-
MULTIPART = "MULTIPART",
|
|
26
|
-
RESUMABLE = "RESUMABLE"
|
|
27
|
-
}
|
|
28
|
-
export declare enum UploadStatus {
|
|
29
|
-
IN_PROGRESS = "IN_PROGRESS",
|
|
30
|
-
COMPLETED = "COMPLETED",
|
|
31
|
-
FINALIZED = "FINALIZED",
|
|
32
|
-
FAILED = "FAILED",
|
|
33
|
-
EXPIRED = "EXPIRED",
|
|
34
|
-
ABORTED = "ABORTED"
|
|
35
|
-
}
|
|
36
|
-
export declare enum LockType {
|
|
37
|
-
OPTIMISTIC = "OPTIMISTIC",
|
|
38
|
-
PESSIMISTIC = "PESSIMISTIC",
|
|
39
|
-
SHARED = "SHARED"
|
|
40
|
-
}
|
|
41
|
-
export declare enum PermissionType {
|
|
42
|
-
VIEW = "VIEW",
|
|
43
|
-
DOWNLOAD = "DOWNLOAD",
|
|
44
|
-
EDIT = "EDIT",
|
|
45
|
-
DELETE = "DELETE",
|
|
46
|
-
SHARE = "SHARE",
|
|
47
|
-
MANAGE = "MANAGE"
|
|
48
|
-
}
|
|
49
|
-
export interface User {
|
|
50
|
-
id: string;
|
|
51
|
-
email: string;
|
|
52
|
-
name: string | null;
|
|
53
|
-
}
|
|
54
|
-
export interface File {
|
|
55
|
-
id: string;
|
|
56
|
-
name: string;
|
|
57
|
-
workspaceId: string;
|
|
58
|
-
mimeType: string;
|
|
59
|
-
extension: string;
|
|
60
|
-
size: string;
|
|
61
|
-
s3Key: string;
|
|
62
|
-
s3Bucket: string;
|
|
63
|
-
sha256Hash: string | null;
|
|
64
|
-
description: string | null;
|
|
65
|
-
status: FileStatus;
|
|
66
|
-
visibility: FileVisibility;
|
|
67
|
-
folderId: string | null;
|
|
68
|
-
folder: Folder | null;
|
|
69
|
-
uploadedById: string;
|
|
70
|
-
uploadedBy: User;
|
|
71
|
-
createdAt: Date | string;
|
|
72
|
-
updatedAt: Date | string;
|
|
73
|
-
}
|
|
74
|
-
export interface Folder {
|
|
75
|
-
id: string;
|
|
76
|
-
name: string;
|
|
77
|
-
description: string | null;
|
|
78
|
-
workspaceId: string;
|
|
79
|
-
parentFolderId: string | null;
|
|
80
|
-
path: string;
|
|
81
|
-
status: FolderStatus;
|
|
82
|
-
createdById: string;
|
|
83
|
-
createdBy: User;
|
|
84
|
-
createdAt: Date | string;
|
|
85
|
-
updatedAt: Date | string;
|
|
86
|
-
}
|
|
87
|
-
export interface PaginationInput {
|
|
88
|
-
limit?: number;
|
|
89
|
-
cursor?: string;
|
|
90
|
-
}
|
|
91
|
-
export interface FileFilterInput {
|
|
92
|
-
workspaceId?: string;
|
|
93
|
-
folderId?: string | null;
|
|
94
|
-
mimeType?: string[];
|
|
95
|
-
extensions?: string[];
|
|
96
|
-
uploadedBy?: string[];
|
|
97
|
-
status?: FileStatus[];
|
|
98
|
-
visibility?: FileVisibility[];
|
|
99
|
-
search?: string;
|
|
100
|
-
}
|
|
101
|
-
export interface FileSortInput {
|
|
102
|
-
field: "name" | "size" | "createdAt" | "updatedAt";
|
|
103
|
-
direction: "asc" | "desc";
|
|
104
|
-
}
|
|
105
|
-
export interface FolderFilterInput {
|
|
106
|
-
workspaceId?: string;
|
|
107
|
-
parentFolderId?: string | null;
|
|
108
|
-
status?: FolderStatus[];
|
|
109
|
-
search?: string;
|
|
110
|
-
}
|
|
111
|
-
export interface FolderSortInput {
|
|
112
|
-
field: "name" | "createdAt" | "updatedAt";
|
|
113
|
-
direction: "asc" | "desc";
|
|
114
|
-
}
|
|
115
|
-
export interface PaginatedFilesResult {
|
|
116
|
-
files: File[];
|
|
117
|
-
total: number;
|
|
118
|
-
page: number;
|
|
119
|
-
limit: number;
|
|
120
|
-
hasMore: boolean;
|
|
121
|
-
}
|
|
122
|
-
export interface PaginatedFoldersResult {
|
|
123
|
-
folders: Folder[];
|
|
124
|
-
total: number;
|
|
125
|
-
page: number;
|
|
126
|
-
limit: number;
|
|
127
|
-
hasMore: boolean;
|
|
128
|
-
}
|
|
129
|
-
export interface FolderTree {
|
|
130
|
-
id: string;
|
|
131
|
-
name: string;
|
|
132
|
-
path: string;
|
|
133
|
-
children: FolderTree[];
|
|
134
|
-
fileCount: number;
|
|
135
|
-
folderCount: number;
|
|
136
|
-
}
|
|
137
|
-
export interface FolderPath {
|
|
138
|
-
id: string;
|
|
139
|
-
name: string;
|
|
140
|
-
path: string;
|
|
141
|
-
}
|
|
142
|
-
export interface FolderWithContents {
|
|
143
|
-
folder: Folder;
|
|
144
|
-
files: File[];
|
|
145
|
-
subfolders: Folder[];
|
|
146
|
-
totalFiles: number;
|
|
147
|
-
totalSubfolders: number;
|
|
148
|
-
}
|
|
149
|
-
export interface CreateFileInput {
|
|
150
|
-
name: string;
|
|
151
|
-
workspaceId: string;
|
|
152
|
-
mimeType: string;
|
|
153
|
-
extension: string;
|
|
154
|
-
size: string;
|
|
155
|
-
s3Key: string;
|
|
156
|
-
s3Bucket: string;
|
|
157
|
-
sha256Hash?: string;
|
|
158
|
-
description?: string;
|
|
159
|
-
visibility?: FileVisibility;
|
|
160
|
-
folderId?: string;
|
|
161
|
-
}
|
|
162
|
-
export interface UpdateFileInput {
|
|
163
|
-
id: string;
|
|
164
|
-
name?: string;
|
|
165
|
-
description?: string;
|
|
166
|
-
visibility?: FileVisibility;
|
|
167
|
-
folderId?: string;
|
|
168
|
-
}
|
|
169
|
-
export interface MoveFileInput {
|
|
170
|
-
id: string;
|
|
171
|
-
targetFolderId: string | null;
|
|
172
|
-
}
|
|
173
|
-
export interface CreateFolderInput {
|
|
174
|
-
name: string;
|
|
175
|
-
description?: string;
|
|
176
|
-
parentFolderId?: string;
|
|
177
|
-
}
|
|
178
|
-
export interface UpdateFolderInput {
|
|
179
|
-
id: string;
|
|
180
|
-
name?: string;
|
|
181
|
-
description?: string;
|
|
182
|
-
}
|
|
183
|
-
export interface MoveFolderInput {
|
|
184
|
-
id: string;
|
|
185
|
-
targetParentFolderId: string | null;
|
|
186
|
-
}
|
|
187
|
-
export interface UploadSession {
|
|
188
|
-
id: string;
|
|
189
|
-
workspaceId: string;
|
|
190
|
-
fileId: string | null;
|
|
191
|
-
uploadId: string;
|
|
192
|
-
fileName: string;
|
|
193
|
-
fileSize: string;
|
|
194
|
-
mimeType: string;
|
|
195
|
-
partSize: number;
|
|
196
|
-
totalParts: number;
|
|
197
|
-
uploadedParts: number;
|
|
198
|
-
uploadType: UploadType;
|
|
199
|
-
status: UploadStatus;
|
|
200
|
-
s3Key: string | null;
|
|
201
|
-
s3Bucket: string | null;
|
|
202
|
-
expiresAt: Date | string;
|
|
203
|
-
startedById: string;
|
|
204
|
-
startedAt: Date | string;
|
|
205
|
-
completedAt: Date | string | null;
|
|
206
|
-
updatedAt: Date | string;
|
|
207
|
-
}
|
|
208
|
-
export interface InitiateUploadInput {
|
|
209
|
-
workspaceId: string;
|
|
210
|
-
fileName: string;
|
|
211
|
-
fileSize: string;
|
|
212
|
-
mimeType: string;
|
|
213
|
-
folderId?: string;
|
|
214
|
-
uploadType?: UploadType;
|
|
215
|
-
}
|
|
216
|
-
export interface RegisterUploadedPartInput {
|
|
217
|
-
sessionId: string;
|
|
218
|
-
partNumber: number;
|
|
219
|
-
etag: string;
|
|
220
|
-
size: number;
|
|
221
|
-
}
|
|
222
|
-
export interface CompleteUploadInput {
|
|
223
|
-
sessionId: string;
|
|
224
|
-
sha256Hash?: string;
|
|
225
|
-
}
|
|
226
|
-
export interface FileLock {
|
|
227
|
-
id: string;
|
|
228
|
-
fileId: string;
|
|
229
|
-
lockType: LockType;
|
|
230
|
-
lockedById: string;
|
|
231
|
-
lockedBy: User;
|
|
232
|
-
reason: string | null;
|
|
233
|
-
isActive: boolean;
|
|
234
|
-
autoRelease: boolean;
|
|
235
|
-
expiresAt: Date | string;
|
|
236
|
-
releasedAt: Date | string | null;
|
|
237
|
-
releasedById: string | null;
|
|
238
|
-
createdAt: Date | string;
|
|
239
|
-
}
|
|
240
|
-
export interface AcquireLockInput {
|
|
241
|
-
fileId: string;
|
|
242
|
-
lockType: LockType;
|
|
243
|
-
reason?: string;
|
|
244
|
-
durationMinutes?: number;
|
|
245
|
-
}
|
|
246
|
-
export interface ExtendLockInput {
|
|
247
|
-
lockId: string;
|
|
248
|
-
additionalMinutes: number;
|
|
249
|
-
}
|
|
250
|
-
export interface FilePermission {
|
|
251
|
-
id: string;
|
|
252
|
-
fileId: string;
|
|
253
|
-
subjectType: string;
|
|
254
|
-
subjectId: string;
|
|
255
|
-
permissionType: PermissionType;
|
|
256
|
-
isInherited: boolean;
|
|
257
|
-
inheritedFrom: string | null;
|
|
258
|
-
expiresAt: Date | string | null;
|
|
259
|
-
grantedById: string;
|
|
260
|
-
grantedBy: User;
|
|
261
|
-
grantedAt: Date | string;
|
|
262
|
-
}
|
|
263
|
-
export interface GrantFilePermissionInput {
|
|
264
|
-
fileId: string;
|
|
265
|
-
subjectType: string;
|
|
266
|
-
subjectId: string;
|
|
267
|
-
permissionType: PermissionType;
|
|
268
|
-
expiresAt?: Date | string;
|
|
269
|
-
}
|
|
270
|
-
export interface BatchDownload {
|
|
271
|
-
id: string;
|
|
272
|
-
workspaceId: string;
|
|
273
|
-
fileIds: string[];
|
|
274
|
-
archiveName: string;
|
|
275
|
-
downloadUrl: string;
|
|
276
|
-
archiveSize: number;
|
|
277
|
-
fileCount: number;
|
|
278
|
-
status: string;
|
|
279
|
-
expiresAt: Date | string;
|
|
280
|
-
createdById: string;
|
|
281
|
-
createdAt: Date | string;
|
|
282
|
-
}
|
|
283
|
-
export interface CreateBatchDownloadInput {
|
|
284
|
-
workspaceId: string;
|
|
285
|
-
fileIds: string[];
|
|
286
|
-
archiveName?: string;
|
|
287
|
-
preserveFolderStructure?: boolean;
|
|
288
|
-
}
|
|
289
|
-
export interface ContentSearchResult {
|
|
290
|
-
file: File;
|
|
291
|
-
highlights: string[];
|
|
292
|
-
rank: number;
|
|
293
|
-
}
|
|
294
|
-
export interface SearchFilesInput {
|
|
295
|
-
workspaceId: string;
|
|
296
|
-
query: string;
|
|
297
|
-
filters?: Partial<FileFilterInput>;
|
|
298
|
-
pagination?: PaginationInput;
|
|
299
|
-
sort?: FileSortInput;
|
|
300
|
-
}
|
|
301
|
-
export interface StorageUsage {
|
|
302
|
-
used: string;
|
|
303
|
-
total: string;
|
|
304
|
-
percentage: number;
|
|
305
|
-
}
|
|
306
|
-
export interface UploadFileInput {
|
|
307
|
-
workspaceId: string;
|
|
308
|
-
file: File;
|
|
309
|
-
folderId?: string;
|
|
310
|
-
description?: string;
|
|
311
|
-
visibility?: FileVisibility;
|
|
312
|
-
}
|
|
313
|
-
export interface MoveFilesInput {
|
|
314
|
-
fileIds: string[];
|
|
315
|
-
targetFolderId: string | null;
|
|
316
|
-
}
|
|
317
|
-
//# sourceMappingURL=graphql-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graphql-types.d.ts","sourceRoot":"","sources":["../../src/files/graphql-types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,OAAO,YAAY;CACpB;AAED,oBAAY,cAAc;IACxB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,SAAS,cAAc;CACxB;AAED,oBAAY,YAAY;IACtB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,OAAO,YAAY;CACpB;AAED,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,SAAS,cAAc;CACxB;AAED,oBAAY,YAAY;IACtB,WAAW,gBAAgB;I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AC,EAAE,MAAM,CAAC;IACrB,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC;AAGD,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACnC,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;AAGD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,cAAc,CAAC;CAC7B;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const useBulkDelete: () => {
|
|
2
|
-
mutateAsync: (ids: string[]) => Promise<any>;
|
|
3
|
-
isPending: boolean;
|
|
4
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
5
|
-
};
|
|
6
|
-
export declare const useBulkMove: () => {
|
|
7
|
-
mutateAsync: (input: {
|
|
8
|
-
ids: string[];
|
|
9
|
-
targetFolderId: string | null;
|
|
10
|
-
}) => Promise<any>;
|
|
11
|
-
isPending: boolean;
|
|
12
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
13
|
-
};
|
|
14
|
-
export declare const useBulkUpdateVisibility: () => {
|
|
15
|
-
mutateAsync: (input: {
|
|
16
|
-
ids: string[];
|
|
17
|
-
visibility: string;
|
|
18
|
-
}) => Promise<any>;
|
|
19
|
-
isPending: boolean;
|
|
20
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
21
|
-
};
|
|
22
|
-
export declare const useBulkPermanentlyDeleteFiles: () => {
|
|
23
|
-
mutateAsync: (ids: string[]) => Promise<any>;
|
|
24
|
-
isPending: boolean;
|
|
25
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
26
|
-
};
|
|
27
|
-
export declare const useBulkPermanentlyDeleteFolders: () => {
|
|
28
|
-
mutateAsync: (ids: string[]) => Promise<any>;
|
|
29
|
-
isPending: boolean;
|
|
30
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=useBatchOperations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBatchOperations.d.ts","sourceRoot":"","sources":["../../../src/files/hooks/useBatchOperations.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,aAAa;uBAOG,MAAM,EAAE;;;CAUpC,CAAC;AAEF,eAAO,MAAM,WAAW;yBAMO;QACzB,GAAG,EAAE,MAAM,EAAE,CAAC;QACd,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;KAC/B;;;CAaJ,CAAC;AAEF,eAAO,MAAM,uBAAuB;yBAOL;QAAE,GAAG,EAAE,MAAM,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE;;;CAanE,CAAC;AAEF,eAAO,MAAM,6BAA6B;uBAOb,MAAM,EAAE;;;CAUpC,CAAC;AAEF,eAAO,MAAM,+BAA+B;uBAOf,MAAM,EAAE;;;CAUpC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FileItem, FolderItem } from '../types';
|
|
2
|
-
export declare const useBinItems: (options?: {
|
|
3
|
-
skip?: boolean;
|
|
4
|
-
}) => {
|
|
5
|
-
files: FileItem[];
|
|
6
|
-
folders: FolderItem[];
|
|
7
|
-
isLoading: boolean;
|
|
8
|
-
error: Error | null;
|
|
9
|
-
refetch: () => Promise<void>;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=useBinItems.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBinItems.d.ts","sourceRoot":"","sources":["../../../src/files/hooks/useBinItems.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAErD,eAAO,MAAM,WAAW,GAAI,UAAU;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE;;;;WA+CpC,KAAK,GAAG,IAAI;;CAG/B,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
type BrowsePageOptions = {
|
|
2
|
-
folderId?: string;
|
|
3
|
-
pageSize?: number;
|
|
4
|
-
skip?: boolean;
|
|
5
|
-
};
|
|
6
|
-
export declare const useBrowsePage: ({ folderId, pageSize, skip, }: BrowsePageOptions) => {
|
|
7
|
-
data: {
|
|
8
|
-
filesList: any;
|
|
9
|
-
foldersList: any;
|
|
10
|
-
folderPath: any;
|
|
11
|
-
currentFolder: any;
|
|
12
|
-
} | undefined;
|
|
13
|
-
loading: boolean;
|
|
14
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
15
|
-
refetch: (variables?: any) => Promise<import("@apollo/client").ApolloClient.QueryResult<Types.GetFilesFolderBrowsePageQuery>>;
|
|
16
|
-
};
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=useBrowsePage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBrowsePage.d.ts","sourceRoot":"","sources":["../../../src/files/hooks/useBrowsePage.ts"],"names":[],"mappings":"AAMA,KAAK,iBAAiB,GAAG;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,+BAI3B,iBAAiB;;;;;;;;;;CA0CnB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copy File Hook
|
|
3
|
-
*/
|
|
4
|
-
export interface CopyFileInput {
|
|
5
|
-
id: string;
|
|
6
|
-
targetFolderId?: string | null;
|
|
7
|
-
newName?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const useCopyFile: () => {
|
|
10
|
-
mutateAsync: ({ id, targetFolderId, newName }: CopyFileInput) => Promise<any>;
|
|
11
|
-
isPending: boolean;
|
|
12
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=useCopyFile.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCopyFile.d.ts","sourceRoot":"","sources":["../../../src/files/hooks/useCopyFile.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,WAAW;mDAWiC,aAAa;;;CAarE,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface CreateFolderInput {
|
|
2
|
-
name: string;
|
|
3
|
-
description?: string;
|
|
4
|
-
parentFolderId?: string;
|
|
5
|
-
visibility?: string;
|
|
6
|
-
color?: string;
|
|
7
|
-
icon?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const useCreateFolder: () => {
|
|
10
|
-
mutateAsync: (input: CreateFolderInput) => Promise<any>;
|
|
11
|
-
isPending: boolean;
|
|
12
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=useCreateFolder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateFolder.d.ts","sourceRoot":"","sources":["../../../src/files/hooks/useCreateFolder.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,eAAe;yBAWG,iBAAiB;;;CAU/C,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface CreateFolderShareInput {
|
|
2
|
-
folderId: string;
|
|
3
|
-
shareType: "PUBLIC_LINK" | "EMAIL_INVITE" | "GROUP_SHARE";
|
|
4
|
-
accessLevel: "VIEW" | "COMMENT" | "DOWNLOAD" | "EDIT";
|
|
5
|
-
expiresAt?: string;
|
|
6
|
-
password?: string;
|
|
7
|
-
maxDownloads?: number;
|
|
8
|
-
invitedEmail?: string;
|
|
9
|
-
invitedUserIds?: string[];
|
|
10
|
-
}
|
|
11
|
-
export declare const useCreateFolderShare: () => {
|
|
12
|
-
mutateAsync: (input: CreateFolderShareInput) => Promise<any>;
|
|
13
|
-
isPending: boolean;
|
|
14
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=useCreateFolderShare.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateFolderShare.d.ts","sourceRoot":"","sources":["../../../src/files/hooks/useCreateFolderShare.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,aAAa,GAAG,cAAc,GAAG,aAAa,CAAC;IAC1D,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,eAAO,MAAM,oBAAoB;yBAKF,sBAAsB;;;CAUpD,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface CreateShareInput {
|
|
2
|
-
fileId: string;
|
|
3
|
-
shareType: "PUBLIC_LINK" | "EMAIL_INVITE" | "GROUP_SHARE";
|
|
4
|
-
accessLevel: "VIEW" | "COMMENT" | "DOWNLOAD" | "EDIT";
|
|
5
|
-
expiresAt?: string;
|
|
6
|
-
password?: string;
|
|
7
|
-
maxDownloads?: number;
|
|
8
|
-
invitedEmail?: string;
|
|
9
|
-
invitedUserIds?: string[];
|
|
10
|
-
}
|
|
11
|
-
export declare const useCreateShare: () => {
|
|
12
|
-
mutateAsync: (input: CreateShareInput) => Promise<any>;
|
|
13
|
-
isPending: boolean;
|
|
14
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=useCreateShare.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateShare.d.ts","sourceRoot":"","sources":["../../../src/files/hooks/useCreateShare.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,aAAa,GAAG,cAAc,GAAG,aAAa,CAAC;IAC1D,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,eAAO,MAAM,cAAc;yBAMI,gBAAgB;;;CAU9C,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export interface DeleteFileInput {
|
|
2
|
-
id: string;
|
|
3
|
-
}
|
|
4
|
-
export declare const useDeleteFile: () => {
|
|
5
|
-
mutateAsync: ({ id }: DeleteFileInput) => Promise<any>;
|
|
6
|
-
isPending: boolean;
|
|
7
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=useDeleteFile.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDeleteFile.d.ts","sourceRoot":"","sources":["../../../src/files/hooks/useDeleteFile.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,eAAO,MAAM,aAAa;0BAYM,eAAe;;;CAS9C,CAAC"}
|