@pitcher/js-api 1.26.0-beta.1 → 1.26.0-beta.2
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/js-api.esm.js +28 -5
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +10 -10
- package/js-api.umd.min.js.map +1 -1
- package/lib/apps/assets-manager/App.vue.d.ts +75 -0
- package/lib/apps/assets-manager/AssetsTab.vue.d.ts +22 -0
- package/lib/apps/assets-manager/components/AssetGridItem.vue.d.ts +16 -0
- package/lib/apps/browser/App.vue.d.ts +3 -1
- package/lib/apps/browser/appTypes.d.ts +4 -0
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModal.vue.d.ts +9 -5
- package/lib/apps/browser/stores/api.d.ts +29 -11
- package/lib/apps/browser/stores/app.d.ts +3 -0
- package/lib/apps/browser/stores/upload.d.ts +16 -20
- package/lib/apps/browser/types/actionKeys.d.ts +22 -0
- package/lib/apps/canvas-builder/App.vue.d.ts +302 -261
- package/lib/apps/canvas-builder/components/container/AnnotationMenu/AnnotationMenu.vue.d.ts +60 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/AnnotationContent.vue.d.ts +8 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +11 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +7 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/{EditableComponentRevamp.vue.d.ts → EditableComponentContent.vue.d.ts} +13 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/ResizeHandles.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/container/PopupApps/AdaptivePopupAppsButtons.vue.d.ts +17 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.utils.d.ts +16 -0
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.raw.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.settings.vue.d.ts +9 -5
- package/lib/apps/canvas-builder/components/ui/Html/CAiHtmlActions.vue.d.ts +23 -0
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.raw.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/Root/Root.settings.vue.d.ts +9 -5
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionItemModal.vue.d.ts +6 -2
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +7 -7
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorWithDragAndDrop.vue.d.ts +154 -0
- package/lib/apps/canvas-builder/composables/useAnnotation.d.ts +29 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +631 -29
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +12 -16
- package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +3 -1
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +6 -4
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +2 -0
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +18 -4
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +2 -1
- package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +1 -2
- package/lib/apps/canvas-builder/composables/useCrmShapeWithSectionContext.d.ts +5 -0
- package/lib/apps/canvas-builder/composables/useInstalledEmbeddables.d.ts +1 -0
- package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +0 -4
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useScribbleChild.d.ts +98 -0
- package/lib/apps/canvas-builder/composables/useScribbleToolbar.d.ts +11 -0
- package/lib/apps/canvas-builder/composables/useSectionPopularity.d.ts +1 -0
- package/lib/apps/canvas-builder/types/canvas.d.ts +22 -0
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +1 -0
- package/lib/apps/canvas-builder/util/iframe.util.d.ts +16 -0
- package/lib/apps/canvas-selector/components/CanvasSelectionArea.vue.d.ts +171 -1
- package/lib/apps/canvas-selector/components/Sections.vue.d.ts +160 -1
- package/lib/apps/canvas-selector/stores/app.d.ts +14 -14
- package/lib/apps/collection-player/App.vue.d.ts +1 -0
- package/lib/apps/collection-player/components/ImageWithAnnotations.vue.d.ts +5 -1
- package/lib/apps/collection-player/stores/app.store.d.ts +3 -0
- package/lib/apps/collection-player/types/collection-player.type.d.ts +17 -0
- package/lib/apps/collection-selector/App.vue.d.ts +7 -7
- package/lib/apps/collection-selector/stores/app.store.d.ts +4 -2
- package/lib/apps/collection-selector/utils/content-selector-adapter.util.d.ts +16 -7
- package/lib/apps/collection-selector/utils/data.util.d.ts +4 -4
- package/lib/apps/content-selector/App.vue.d.ts +2 -0
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts +1 -0
- package/lib/apps/content-selector/components/Content.vue.d.ts +74 -1
- package/lib/apps/content-selector/components/ui/GridItem.vue.d.ts +12 -2
- package/lib/apps/content-selector/stores/app.d.ts +16 -1
- package/lib/apps/ppt-conversion-selector/stores/app.store.d.ts +4 -1
- package/lib/apps/ppt-conversion-selector/utils/thumbnail.util.d.ts +1 -0
- package/lib/components/CAlgoliaSearch/CAlgoliaSearch.vue.d.ts +15 -0
- package/lib/components/CCarousel/CCarousel.vue.d.ts +20 -0
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +3 -0
- package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +5 -3
- package/lib/components/CContactSelector/CContactAccountListItem.vue.d.ts +2 -0
- package/lib/components/CContactSelector/CContactSelector.vue.d.ts +3 -0
- package/lib/components/CContactSelector/CContactSelectorAccountsWithContacts.vue.d.ts +31 -0
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +1 -9
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +0 -5
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +2 -6
- package/lib/components/CFileViewer/pdf/CFileViewerPageDrawer.pdf.vue.d.ts +9 -5
- package/lib/components/CImage/CImage.vue.d.ts +11 -0
- package/lib/components/CKnockNotificationsAppWrapper/CKnockNotificationsAppWrapper.vue.d.ts +1 -1
- package/lib/components/CPillSelect/CPillSelect.vue.d.ts +14 -0
- package/lib/components/CPopularityAndEngagementIcons/CPopularityAndEngagementExtended.vue.d.ts +1 -1
- package/lib/components/CProcessingOverlay/CProcessingOverlay.vue.d.ts +19 -0
- package/lib/components/CRenameModal/CRenameModal.vue.d.ts +28 -0
- package/lib/components/CRichTextEditor/components/CDynamicValueTreeSelect.vue.d.ts +2 -0
- package/lib/components/CSectionSelectionActions/CSectionSelectionActions.vue.d.ts +19 -0
- package/lib/components/CSectionSmartFolders/CSectionSmartFolders.vue.d.ts +27 -1
- package/lib/components/CSectionSmartFolders/CSectionSmartFoldersToolbar.vue.d.ts +11 -0
- package/lib/components/CSlideViewer/CSlideViewer.pdfjs.vue.d.ts +18 -0
- package/lib/components/CSlideViewer/CSlideViewer.pspdfkit.vue.d.ts +14 -0
- package/lib/components/CSlideViewer/CSlideViewer.vue.d.ts +2 -7
- package/lib/components/CUserMenu/CUserMenu.vue.d.ts +1 -0
- package/lib/components/assignedCanvases/CAssignedCanvasesManagement.vue.d.ts +438 -0
- package/lib/components/assignedCanvases/CAssignedCanvasesManagementToolbar.vue.d.ts +41 -0
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +44 -60
- package/lib/components/canvas-blocks/CBlockManagementToolbar.vue.d.ts +13 -19
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +17 -17
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +2 -2
- package/lib/components/filters/CSearchFilter.vue.d.ts +3 -1
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +7 -7
- package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +2 -2
- package/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +2 -0
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +12 -8
- package/lib/components/sections/CSectionManagement.vue.d.ts +24 -0
- package/lib/components/sections/CSectionManagementToolbar.vue.d.ts +7 -0
- package/lib/components/themes/CThemeManagement.vue.d.ts +96 -10
- package/lib/components/themes/CThemeManagementToolbar.vue.d.ts +31 -3
- package/lib/composables/appsDb.use.d.ts +2 -2
- package/lib/composables/bulkActions.use.d.ts +2 -2
- package/lib/composables/useBroadcastRouteChange.d.ts +4 -0
- package/lib/composables/useCanvasStandardFilters.d.ts +35 -0
- package/lib/composables/useDeleteUsedCanvasesConfirmation.d.ts +23 -0
- package/lib/composables/useFileDisplayHelpers.d.ts +6 -2
- package/lib/composables/useFileInfo.d.ts +30 -0
- package/lib/composables/useFilterSuggestions.d.ts +8 -16
- package/lib/composables/useFolderNameDescription.d.ts +25 -0
- package/lib/composables/useLegacyCollectionFileLoader.d.ts +31 -0
- package/lib/composables/useMetadataSearch.d.ts +1 -0
- package/lib/composables/usePolling.d.ts +23 -0
- package/lib/composables/useWindowEvents.d.ts +1 -0
- package/lib/constants/cdp.const.d.ts +2 -0
- package/lib/constants/tables.const.d.ts +1 -1
- package/lib/custom-naive-locales/it.d.ts +124 -0
- package/lib/custom-naive-locales/ja.d.ts +124 -0
- package/lib/custom-naive-locales/nl.d.ts +124 -0
- package/lib/custom-naive-locales/pt.d.ts +124 -0
- package/lib/custom-naive-locales/th.d.ts +124 -0
- package/lib/custom-naive-locales/zh.d.ts +124 -0
- package/lib/main.lib.d.ts +16 -3
- package/lib/modules/algolia-instantsearch.d.ts +1 -0
- package/lib/sdk/api/HighLevelApi.d.ts +3 -2
- package/lib/sdk/api/modules/dsr/files.dsr.d.ts +12 -0
- package/lib/sdk/api/modules/dsr/index.d.ts +3 -0
- package/lib/sdk/api/modules/dsr/types.dsr.d.ts +1 -0
- package/lib/sdk/api/modules/files.d.ts +2 -2
- package/lib/sdk/api/modules/ui/types.ui.d.ts +2 -0
- package/lib/sdk/api/modules/webView.d.ts +2 -1
- package/lib/sdk/interfaces.d.ts +46 -2
- package/lib/sdk/main.d.ts +15 -6
- package/lib/sdk/payload.types.d.ts +17 -0
- package/lib/stores/sectionSmartFolderStore.d.ts +2 -0
- package/lib/types/files.d.ts +2 -0
- package/lib/types/i18n.types.d.ts +1 -1
- package/lib/types/instanceSettings.types.d.ts +6 -1
- package/lib/types/launchDarkly.types.d.ts +2 -4
- package/lib/types/organizationSettings.types.d.ts +23 -0
- package/lib/types/sfdc.d.ts +1 -0
- package/lib/util/soql.util.d.ts +2 -0
- package/lib/util/storage.util.d.ts +2 -0
- package/lib/util/string.d.ts +1 -1
- package/lib/util/toCssClassKey.d.ts +1 -0
- package/lib/utils/defaultThumbnail.util.d.ts +3 -0
- package/lib/utils/iframeInitialize.d.ts +12 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +7 -0
- package/types/openapi/models/Canvas.d.ts +1 -1
- package/types/openapi/models/CanvasCreate.d.ts +2 -2
- package/types/openapi/models/CanvasCreateRequest.d.ts +2 -2
- package/types/openapi/models/CanvasRecommendedFile.d.ts +0 -2
- package/types/openapi/models/CanvasRetrieve.d.ts +2 -2
- package/types/openapi/models/CanvasSection.d.ts +1 -0
- package/types/openapi/models/CanvasUpdate.d.ts +2 -2
- package/types/openapi/models/CanvasUpdateRequest.d.ts +2 -2
- package/types/openapi/models/ContentDistributionGroup.d.ts +1 -0
- package/types/openapi/models/ContentDistributionGroupCreate.d.ts +1 -0
- package/types/openapi/models/DeletedCanvas.d.ts +1 -1
- package/types/openapi/models/DeletedContentDistributionGroup.d.ts +1 -0
- package/types/openapi/models/DeletedFile.d.ts +0 -2
- package/types/openapi/models/DeletedFolder.d.ts +3 -0
- package/types/openapi/models/DeletedInstance.d.ts +2 -0
- package/types/openapi/models/DeletedRegion.d.ts +12 -0
- package/types/openapi/models/FavoriteFolder.d.ts +3 -0
- package/types/openapi/models/FavoriteFolderRequest.d.ts +3 -0
- package/types/openapi/models/File.d.ts +0 -2
- package/types/openapi/models/FileCreate.d.ts +0 -2
- package/types/openapi/models/FileCreateRequest.d.ts +0 -1
- package/types/openapi/models/FileRetrieve.d.ts +0 -2
- package/types/openapi/models/FileUpdate.d.ts +0 -2
- package/types/openapi/models/FileUpdateRequest.d.ts +0 -1
- package/types/openapi/models/Folder.d.ts +3 -0
- package/types/openapi/models/FolderCreate.d.ts +2 -1
- package/types/openapi/models/FolderFolder.d.ts +5 -0
- package/types/openapi/models/FolderRetrieve.d.ts +5 -1
- package/types/openapi/models/FolderUpdate.d.ts +2 -1
- package/types/openapi/models/Instance.d.ts +2 -0
- package/types/openapi/models/InstanceMembership.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipCreate.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipCreateRequest.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipRequest.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipUser.d.ts +0 -2
- package/types/openapi/models/InstanceRequest.d.ts +1 -0
- package/types/openapi/models/InstanceUpdate.d.ts +2 -0
- package/types/openapi/models/InstanceUpdateRequest.d.ts +1 -0
- package/types/openapi/models/MiniRegion.d.ts +4 -0
- package/types/openapi/models/MiniRegionRequest.d.ts +3 -0
- package/types/openapi/models/OrganizationAnalyticsInstance.d.ts +2 -0
- package/types/openapi/models/OrganizationAnalyticsTop3Instances.d.ts +2 -0
- package/types/openapi/models/PaginatedRegionList.d.ts +7 -0
- package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +2 -2
- package/types/openapi/models/PatchedFileUpdateRequest.d.ts +0 -1
- package/types/openapi/models/PatchedInstanceMembershipRequest.d.ts +4 -0
- package/types/openapi/models/PatchedInstanceUpdateRequest.d.ts +1 -0
- package/types/openapi/models/PatchedRegionRequest.d.ts +3 -0
- package/types/openapi/models/Region.d.ts +10 -0
- package/types/openapi/models/RegionRequest.d.ts +3 -0
- package/types/openapi/models/SharedLinkCanvas.d.ts +1 -1
- package/types/openapi/models/SharedLinkCanvasRequest.d.ts +1 -1
- package/types/openapi/models/User.d.ts +1 -0
- package/lib/components/CFileViewer/pdf/CFileViewer.pageThumbFavorite.pdf.use.d.ts +0 -10
- package/lib/components/CImage/CBrokenImage.vue.d.ts +0 -10
- package/lib/directives/usage-track.directive.d.ts +0 -10
- package/lib/util/usage-tracking.util.d.ts +0 -5
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { AxiosInstance } from 'axios';
|
|
2
|
+
import { File } from '../../../types/openapi';
|
|
3
|
+
export interface AppProps {
|
|
4
|
+
fileListFetcher?: (params: {
|
|
5
|
+
filters: Record<string, any>;
|
|
6
|
+
page_size: number;
|
|
7
|
+
}) => Promise<File[]>;
|
|
8
|
+
fileDeleter?: (fileId: string) => Promise<any>;
|
|
9
|
+
coreRestApiAxios?: AxiosInstance;
|
|
10
|
+
allowedAssetContentTypes?: string[];
|
|
11
|
+
enableThemeAssetProtection?: boolean;
|
|
12
|
+
instanceId?: string;
|
|
13
|
+
title?: string;
|
|
14
|
+
showHeader?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
attrs: Partial<{}>;
|
|
18
|
+
slots: {
|
|
19
|
+
'header-actions'?(_: {}): any;
|
|
20
|
+
};
|
|
21
|
+
refs: {
|
|
22
|
+
assetsTabRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./AssetsTab.vue').Props> & Readonly<{}>, {
|
|
23
|
+
fetchAssets: (afterUpload?: boolean) => Promise<void>;
|
|
24
|
+
clearFilters: () => void;
|
|
25
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
26
|
+
enableThemeAssetProtection: boolean;
|
|
27
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
28
|
+
P: {};
|
|
29
|
+
B: {};
|
|
30
|
+
D: {};
|
|
31
|
+
C: {};
|
|
32
|
+
M: {};
|
|
33
|
+
Defaults: {};
|
|
34
|
+
}, Readonly<import('./AssetsTab.vue').Props> & Readonly<{}>, {
|
|
35
|
+
fetchAssets: (afterUpload?: boolean) => Promise<void>;
|
|
36
|
+
clearFilters: () => void;
|
|
37
|
+
}, {}, {}, {}, {
|
|
38
|
+
enableThemeAssetProtection: boolean;
|
|
39
|
+
}> | null;
|
|
40
|
+
};
|
|
41
|
+
rootEl: HTMLDivElement;
|
|
42
|
+
};
|
|
43
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
44
|
+
declare const __VLS_component: import('vue').DefineComponent<AppProps, {
|
|
45
|
+
fetchAssets: () => any;
|
|
46
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AppProps> & Readonly<{}>, {
|
|
47
|
+
enableThemeAssetProtection: boolean;
|
|
48
|
+
showHeader: boolean;
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
50
|
+
assetsTabRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./AssetsTab.vue').Props> & Readonly<{}>, {
|
|
51
|
+
fetchAssets: (afterUpload?: boolean) => Promise<void>;
|
|
52
|
+
clearFilters: () => void;
|
|
53
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
54
|
+
enableThemeAssetProtection: boolean;
|
|
55
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
56
|
+
P: {};
|
|
57
|
+
B: {};
|
|
58
|
+
D: {};
|
|
59
|
+
C: {};
|
|
60
|
+
M: {};
|
|
61
|
+
Defaults: {};
|
|
62
|
+
}, Readonly<import('./AssetsTab.vue').Props> & Readonly<{}>, {
|
|
63
|
+
fetchAssets: (afterUpload?: boolean) => Promise<void>;
|
|
64
|
+
clearFilters: () => void;
|
|
65
|
+
}, {}, {}, {}, {
|
|
66
|
+
enableThemeAssetProtection: boolean;
|
|
67
|
+
}> | null;
|
|
68
|
+
}, HTMLDivElement>;
|
|
69
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
70
|
+
export default _default;
|
|
71
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
72
|
+
new (): {
|
|
73
|
+
$slots: S;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AxiosInstance } from 'axios';
|
|
2
|
+
import { File } from '../../../types/openapi';
|
|
3
|
+
export interface Props {
|
|
4
|
+
fileListFetcher?: (params: {
|
|
5
|
+
filters: Record<string, any>;
|
|
6
|
+
page_size: number;
|
|
7
|
+
}) => Promise<File[]>;
|
|
8
|
+
fileDeleter?: (fileId: string) => Promise<void>;
|
|
9
|
+
coreRestApiAxios?: AxiosInstance;
|
|
10
|
+
allowedAssetContentTypes?: string[];
|
|
11
|
+
enableThemeAssetProtection?: boolean;
|
|
12
|
+
instanceId?: string;
|
|
13
|
+
}
|
|
14
|
+
declare function clearFilters(): void;
|
|
15
|
+
declare function fetchAssets(afterUpload?: boolean): Promise<void>;
|
|
16
|
+
declare const _default: import('vue').DefineComponent<Props, {
|
|
17
|
+
fetchAssets: typeof fetchAssets;
|
|
18
|
+
clearFilters: typeof clearFilters;
|
|
19
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
20
|
+
enableThemeAssetProtection: boolean;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { File } from '../../../../types/openapi';
|
|
2
|
+
interface GridItemProps {
|
|
3
|
+
item: File;
|
|
4
|
+
isDeleteDisabled?: boolean;
|
|
5
|
+
deleteDisabledTooltip?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<GridItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
itemDeleted: (...args: any[]) => void;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<GridItemProps> & Readonly<{
|
|
10
|
+
onItemDeleted?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
item: File;
|
|
13
|
+
isDeleteDisabled: boolean;
|
|
14
|
+
deleteDisabledTooltip: string;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -17,7 +17,7 @@ declare function __VLS_template(): {
|
|
|
17
17
|
};
|
|
18
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
19
|
declare const __VLS_component: import('vue').DefineComponent<BrowserAppProps, {
|
|
20
|
-
onUploadComplete:
|
|
20
|
+
onUploadComplete: () => Promise<void> | undefined;
|
|
21
21
|
onFavoritesChanged: (favorites: import('../../../types/openapi').Favorite[]) => void;
|
|
22
22
|
onUploadClearCompletedAndFailed: () => void;
|
|
23
23
|
setSelectedSection: (section: BrowserSectionType, folderId?: string) => void;
|
|
@@ -36,6 +36,7 @@ declare const __VLS_component: import('vue').DefineComponent<BrowserAppProps, {
|
|
|
36
36
|
type: "file";
|
|
37
37
|
thumbnailUrl?: string;
|
|
38
38
|
}) => any;
|
|
39
|
+
filesDeleted: (ids: string[]) => any;
|
|
39
40
|
onSectionChange: (params: {
|
|
40
41
|
section: BrowserSectionType;
|
|
41
42
|
folderId: string;
|
|
@@ -50,6 +51,7 @@ declare const __VLS_component: import('vue').DefineComponent<BrowserAppProps, {
|
|
|
50
51
|
type: "file";
|
|
51
52
|
thumbnailUrl?: string;
|
|
52
53
|
}) => any) | undefined;
|
|
54
|
+
onFilesDeleted?: ((ids: string[]) => any) | undefined;
|
|
53
55
|
onOnSectionChange?: ((params: {
|
|
54
56
|
section: BrowserSectionType;
|
|
55
57
|
folderId: string;
|
|
@@ -19,4 +19,8 @@ export interface BrowserAppProps {
|
|
|
19
19
|
onItemsMove: ItemsMover;
|
|
20
20
|
onSelectDeviceFile?: SelectDeviceFile;
|
|
21
21
|
onFolderList: FolderLister;
|
|
22
|
+
onMetadataFilterFetch?: (params: any) => Promise<Record<string, string | string[]>>;
|
|
23
|
+
onDeleteCanvases?: (payload: {
|
|
24
|
+
ids: string[];
|
|
25
|
+
}) => Promise<any>;
|
|
22
26
|
}
|
|
@@ -33,14 +33,16 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
33
33
|
}>, {
|
|
34
34
|
validate: () => Promise<{
|
|
35
35
|
config: Record<string, any>;
|
|
36
|
-
success:
|
|
36
|
+
success: true;
|
|
37
37
|
errors?: undefined;
|
|
38
|
+
firstErrorFieldName?: undefined;
|
|
38
39
|
} | {
|
|
39
40
|
config: Record<string, any>;
|
|
40
41
|
errors: unknown;
|
|
41
|
-
|
|
42
|
+
firstErrorFieldName: string | undefined;
|
|
43
|
+
success: false;
|
|
42
44
|
}>;
|
|
43
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
45
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
44
46
|
change: (config: Record<string, any>) => any;
|
|
45
47
|
}, import('vue').PublicProps, {
|
|
46
48
|
loading: boolean;
|
|
@@ -355,12 +357,14 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
355
357
|
}>, {
|
|
356
358
|
validate: () => Promise<{
|
|
357
359
|
config: Record<string, any>;
|
|
358
|
-
success:
|
|
360
|
+
success: true;
|
|
359
361
|
errors?: undefined;
|
|
362
|
+
firstErrorFieldName?: undefined;
|
|
360
363
|
} | {
|
|
361
364
|
config: Record<string, any>;
|
|
362
365
|
errors: unknown;
|
|
363
|
-
|
|
366
|
+
firstErrorFieldName: string | undefined;
|
|
367
|
+
success: false;
|
|
364
368
|
}>;
|
|
365
369
|
}, {}, {}, {}, {
|
|
366
370
|
loading: boolean;
|
|
@@ -112,10 +112,12 @@ declare const _default: () => {
|
|
|
112
112
|
readonly itemsMover: ItemsMover | null;
|
|
113
113
|
readonly folderLister: FolderLister | null;
|
|
114
114
|
readonly convertingFileIdsTimeout: {
|
|
115
|
-
readonly
|
|
116
|
-
readonly unref: () => NodeJS.Timeout;
|
|
115
|
+
readonly close: () => NodeJS.Timeout;
|
|
117
116
|
readonly hasRef: () => boolean;
|
|
117
|
+
readonly ref: () => NodeJS.Timeout;
|
|
118
118
|
readonly refresh: () => NodeJS.Timeout;
|
|
119
|
+
readonly unref: () => NodeJS.Timeout;
|
|
120
|
+
readonly _onTimeout: (...args: any[]) => void;
|
|
119
121
|
readonly [Symbol.toPrimitive]: () => number;
|
|
120
122
|
readonly [Symbol.dispose]: () => void;
|
|
121
123
|
} | null;
|
|
@@ -135,6 +137,8 @@ declare const _default: () => {
|
|
|
135
137
|
readonly thumbnail_url: string | null;
|
|
136
138
|
readonly folders_count: number;
|
|
137
139
|
readonly files_count: number;
|
|
140
|
+
readonly available_files_count: number;
|
|
141
|
+
readonly available_folders_count: number;
|
|
138
142
|
readonly file_thumbnail_urls: readonly string[];
|
|
139
143
|
readonly canvases_count: number;
|
|
140
144
|
readonly canvas_thumbnail_urls: readonly string[];
|
|
@@ -208,8 +212,6 @@ declare const _default: () => {
|
|
|
208
212
|
readonly [x: string]: any;
|
|
209
213
|
} | undefined;
|
|
210
214
|
readonly tags?: readonly string[] | undefined;
|
|
211
|
-
readonly transcript?: string | undefined;
|
|
212
|
-
readonly search: string | null;
|
|
213
215
|
readonly published_at: string | null;
|
|
214
216
|
readonly expires_at?: string | null | undefined;
|
|
215
217
|
readonly instance_id: string;
|
|
@@ -255,23 +257,28 @@ declare const _default: () => {
|
|
|
255
257
|
readonly name: string;
|
|
256
258
|
readonly email?: string | undefined;
|
|
257
259
|
};
|
|
260
|
+
readonly file_thumbnail_urls: readonly string[];
|
|
261
|
+
readonly thumbnail_url: string | null;
|
|
258
262
|
readonly path: readonly {
|
|
259
263
|
readonly id: string;
|
|
260
264
|
readonly name: string;
|
|
261
265
|
readonly thumbnail_url: string | null;
|
|
262
266
|
readonly folders_count: number;
|
|
263
267
|
readonly files_count: number;
|
|
268
|
+
readonly available_files_count: number;
|
|
269
|
+
readonly available_folders_count: number;
|
|
264
270
|
readonly file_thumbnail_urls: readonly string[];
|
|
265
271
|
readonly canvases_count: number;
|
|
266
272
|
readonly canvas_thumbnail_urls: readonly string[];
|
|
267
273
|
}[];
|
|
268
|
-
readonly thumbnail_url: string | null;
|
|
269
274
|
readonly folders: readonly {
|
|
270
275
|
readonly id: string;
|
|
271
276
|
readonly name: string;
|
|
272
277
|
readonly thumbnail_url: string | null;
|
|
273
278
|
readonly folders_count: number;
|
|
274
279
|
readonly files_count: number;
|
|
280
|
+
readonly available_files_count: number;
|
|
281
|
+
readonly available_folders_count: number;
|
|
275
282
|
readonly file_thumbnail_urls: readonly string[];
|
|
276
283
|
readonly canvases_count: number;
|
|
277
284
|
readonly canvas_thumbnail_urls: readonly string[];
|
|
@@ -382,6 +389,8 @@ declare const _default: () => {
|
|
|
382
389
|
readonly thumbnail_url: string | null;
|
|
383
390
|
readonly folders_count: number;
|
|
384
391
|
readonly files_count: number;
|
|
392
|
+
readonly available_files_count: number;
|
|
393
|
+
readonly available_folders_count: number;
|
|
385
394
|
readonly file_thumbnail_urls: readonly string[];
|
|
386
395
|
readonly canvases_count: number;
|
|
387
396
|
readonly canvas_thumbnail_urls: readonly string[];
|
|
@@ -510,7 +519,7 @@ declare const _default: () => {
|
|
|
510
519
|
setSearchMetadataFilters: typeof setSearchMetadataFilters;
|
|
511
520
|
setFilteredItems: typeof setFilteredItems;
|
|
512
521
|
onUpsertFolder: typeof onUpsertFolder;
|
|
513
|
-
onUploadFilesRefetchFolder:
|
|
522
|
+
onUploadFilesRefetchFolder: () => Promise<void> | undefined;
|
|
514
523
|
clearTimeouts: typeof clearTimeouts;
|
|
515
524
|
reset: () => {
|
|
516
525
|
fileOpener: FileOpener | null;
|
|
@@ -537,10 +546,12 @@ declare const _default: () => {
|
|
|
537
546
|
itemsMover: ItemsMover | null;
|
|
538
547
|
folderLister: FolderLister | null;
|
|
539
548
|
convertingFileIdsTimeout: {
|
|
540
|
-
|
|
541
|
-
unref: () => NodeJS.Timeout;
|
|
549
|
+
close: () => NodeJS.Timeout;
|
|
542
550
|
hasRef: () => boolean;
|
|
551
|
+
ref: () => NodeJS.Timeout;
|
|
543
552
|
refresh: () => NodeJS.Timeout;
|
|
553
|
+
unref: () => NodeJS.Timeout;
|
|
554
|
+
_onTimeout: (...args: any[]) => void;
|
|
544
555
|
[Symbol.toPrimitive]: () => number;
|
|
545
556
|
[Symbol.dispose]: () => void;
|
|
546
557
|
} | null;
|
|
@@ -560,6 +571,8 @@ declare const _default: () => {
|
|
|
560
571
|
thumbnail_url: string | null;
|
|
561
572
|
folders_count: number;
|
|
562
573
|
files_count: number;
|
|
574
|
+
available_files_count: number;
|
|
575
|
+
available_folders_count: number;
|
|
563
576
|
file_thumbnail_urls: Array<string>;
|
|
564
577
|
canvases_count: number;
|
|
565
578
|
canvas_thumbnail_urls: Array<string>;
|
|
@@ -627,8 +640,6 @@ declare const _default: () => {
|
|
|
627
640
|
metadata?: Record<string, any> | undefined;
|
|
628
641
|
app_metadata?: Record<string, any> | undefined;
|
|
629
642
|
tags?: Array<string> | undefined;
|
|
630
|
-
transcript?: string | undefined;
|
|
631
|
-
readonly search: string | null;
|
|
632
643
|
readonly published_at: string | null;
|
|
633
644
|
expires_at?: string | null | undefined;
|
|
634
645
|
readonly instance_id: string;
|
|
@@ -674,23 +685,28 @@ declare const _default: () => {
|
|
|
674
685
|
readonly name: string;
|
|
675
686
|
email?: string | undefined;
|
|
676
687
|
};
|
|
688
|
+
readonly file_thumbnail_urls: Array<string>;
|
|
689
|
+
readonly thumbnail_url: string | null;
|
|
677
690
|
readonly path: {
|
|
678
691
|
readonly id: string;
|
|
679
692
|
name: string;
|
|
680
693
|
readonly thumbnail_url: string | null;
|
|
681
694
|
readonly folders_count: number;
|
|
682
695
|
readonly files_count: number;
|
|
696
|
+
readonly available_files_count: number;
|
|
697
|
+
readonly available_folders_count: number;
|
|
683
698
|
readonly file_thumbnail_urls: Array<string>;
|
|
684
699
|
readonly canvases_count: number;
|
|
685
700
|
readonly canvas_thumbnail_urls: Array<string>;
|
|
686
701
|
}[];
|
|
687
|
-
readonly thumbnail_url: string | null;
|
|
688
702
|
readonly folders: {
|
|
689
703
|
readonly id: string;
|
|
690
704
|
name: string;
|
|
691
705
|
readonly thumbnail_url: string | null;
|
|
692
706
|
readonly folders_count: number;
|
|
693
707
|
readonly files_count: number;
|
|
708
|
+
readonly available_files_count: number;
|
|
709
|
+
readonly available_folders_count: number;
|
|
694
710
|
readonly file_thumbnail_urls: Array<string>;
|
|
695
711
|
readonly canvases_count: number;
|
|
696
712
|
readonly canvas_thumbnail_urls: Array<string>;
|
|
@@ -759,6 +775,8 @@ declare const _default: () => {
|
|
|
759
775
|
readonly thumbnail_url: string | null;
|
|
760
776
|
readonly folders_count: number;
|
|
761
777
|
readonly files_count: number;
|
|
778
|
+
readonly available_files_count: number;
|
|
779
|
+
readonly available_folders_count: number;
|
|
762
780
|
readonly file_thumbnail_urls: Array<string>;
|
|
763
781
|
readonly canvases_count: number;
|
|
764
782
|
readonly canvas_thumbnail_urls: Array<string>;
|
|
@@ -7,6 +7,7 @@ import { InstanceSettings } from '../../../types/instanceSettings.types';
|
|
|
7
7
|
export type AppName = 'admin' | 'impact';
|
|
8
8
|
export type AppCurrentState = 'browse' | 'create-folder' | 'upload-files' | 'update-folder' | 'update-file' | 'batch-move';
|
|
9
9
|
export type BrowserSectionType = 'all' | 'favorites' | 'recent' | 'trash';
|
|
10
|
+
export type SortOption = 'nameAsc' | 'nameDesc' | 'modifiedAsc' | 'modifiedDesc';
|
|
10
11
|
export type StateSelectedItem = Partial<File | Folder | Favorite> & {
|
|
11
12
|
type: string | null | undefined;
|
|
12
13
|
thumbnail_url: string | null | undefined;
|
|
@@ -27,6 +28,7 @@ type FavoriteExtended = Favorite & {
|
|
|
27
28
|
};
|
|
28
29
|
export default function (): {
|
|
29
30
|
setAppName(appName: AppName): void;
|
|
31
|
+
setSortOption(sortOption: SortOption): void;
|
|
30
32
|
resetSelectedItems(): void;
|
|
31
33
|
removeSelectedItems(removeIds: SelectedItemId[]): void;
|
|
32
34
|
selectAll(): void;
|
|
@@ -52,6 +54,7 @@ export default function (): {
|
|
|
52
54
|
selectedItemIds: Ref<SelectedItemId[]>;
|
|
53
55
|
selectedSection: Ref<BrowserSectionType>;
|
|
54
56
|
selectedView: Ref<View>;
|
|
57
|
+
selectedSortOption: Ref<SortOption>;
|
|
55
58
|
search: Ref<string>;
|
|
56
59
|
displayedFiles: ComputedRef<ViewCompactFile[]>;
|
|
57
60
|
displayedFolders: ComputedRef<ViewCompactFolder[]>;
|
|
@@ -28,7 +28,6 @@ export default function (): {
|
|
|
28
28
|
download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
|
|
29
29
|
access_type?: AccessTypeEnum | undefined;
|
|
30
30
|
app_metadata?: Record<string, any> | undefined;
|
|
31
|
-
transcript?: string | undefined;
|
|
32
31
|
expires_at?: string | null | undefined;
|
|
33
32
|
folder_id?: string | undefined;
|
|
34
33
|
url?: string | undefined;
|
|
@@ -39,9 +38,9 @@ export default function (): {
|
|
|
39
38
|
readonly size: number;
|
|
40
39
|
readonly type: string;
|
|
41
40
|
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
42
|
-
bytes: () => Promise<Uint8Array
|
|
41
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
43
42
|
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
44
|
-
stream: () => ReadableStream<Uint8Array
|
|
43
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
45
44
|
text: () => Promise<string>;
|
|
46
45
|
} | undefined;
|
|
47
46
|
thumbnail_upload_id?: string | undefined;
|
|
@@ -56,9 +55,9 @@ export default function (): {
|
|
|
56
55
|
readonly size: number;
|
|
57
56
|
readonly type: string;
|
|
58
57
|
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
59
|
-
bytes: () => Promise<Uint8Array
|
|
58
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
60
59
|
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
61
|
-
stream: () => ReadableStream<Uint8Array
|
|
60
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
62
61
|
text: () => Promise<string>;
|
|
63
62
|
} | undefined;
|
|
64
63
|
metadata?: Record<string, any> | undefined;
|
|
@@ -72,7 +71,6 @@ export default function (): {
|
|
|
72
71
|
download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
|
|
73
72
|
access_type?: AccessTypeEnum | undefined;
|
|
74
73
|
app_metadata?: Record<string, any> | undefined;
|
|
75
|
-
transcript?: string | undefined;
|
|
76
74
|
expires_at?: string | null | undefined;
|
|
77
75
|
folder_id?: string | undefined;
|
|
78
76
|
url?: string | undefined;
|
|
@@ -83,9 +81,9 @@ export default function (): {
|
|
|
83
81
|
readonly size: number;
|
|
84
82
|
readonly type: string;
|
|
85
83
|
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
86
|
-
bytes: () => Promise<Uint8Array
|
|
84
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
87
85
|
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
88
|
-
stream: () => ReadableStream<Uint8Array
|
|
86
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
89
87
|
text: () => Promise<string>;
|
|
90
88
|
} | undefined;
|
|
91
89
|
thumbnail_upload_id?: string | undefined;
|
|
@@ -114,7 +112,6 @@ export default function (): {
|
|
|
114
112
|
download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
|
|
115
113
|
access_type?: AccessTypeEnum | undefined;
|
|
116
114
|
app_metadata?: Record<string, any> | undefined;
|
|
117
|
-
transcript?: string | undefined;
|
|
118
115
|
expires_at?: string | null | undefined;
|
|
119
116
|
folder_id?: string | undefined;
|
|
120
117
|
url?: string | undefined;
|
|
@@ -125,9 +122,9 @@ export default function (): {
|
|
|
125
122
|
readonly size: number;
|
|
126
123
|
readonly type: string;
|
|
127
124
|
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
128
|
-
bytes: () => Promise<Uint8Array
|
|
125
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
129
126
|
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
130
|
-
stream: () => ReadableStream<Uint8Array
|
|
127
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
131
128
|
text: () => Promise<string>;
|
|
132
129
|
} | undefined;
|
|
133
130
|
thumbnail_upload_id?: string | undefined;
|
|
@@ -142,9 +139,9 @@ export default function (): {
|
|
|
142
139
|
readonly size: number;
|
|
143
140
|
readonly type: string;
|
|
144
141
|
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
145
|
-
bytes: () => Promise<Uint8Array
|
|
142
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
146
143
|
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
147
|
-
stream: () => ReadableStream<Uint8Array
|
|
144
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
148
145
|
text: () => Promise<string>;
|
|
149
146
|
} | undefined;
|
|
150
147
|
metadata?: Record<string, any> | undefined;
|
|
@@ -158,7 +155,6 @@ export default function (): {
|
|
|
158
155
|
download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
|
|
159
156
|
access_type?: AccessTypeEnum | undefined;
|
|
160
157
|
app_metadata?: Record<string, any> | undefined;
|
|
161
|
-
transcript?: string | undefined;
|
|
162
158
|
expires_at?: string | null | undefined;
|
|
163
159
|
folder_id?: string | undefined;
|
|
164
160
|
url?: string | undefined;
|
|
@@ -169,9 +165,9 @@ export default function (): {
|
|
|
169
165
|
readonly size: number;
|
|
170
166
|
readonly type: string;
|
|
171
167
|
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
172
|
-
bytes: () => Promise<Uint8Array
|
|
168
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
173
169
|
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
174
|
-
stream: () => ReadableStream<Uint8Array
|
|
170
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
175
171
|
text: () => Promise<string>;
|
|
176
172
|
} | undefined;
|
|
177
173
|
thumbnail_upload_id?: string | undefined;
|
|
@@ -184,9 +180,9 @@ export default function (): {
|
|
|
184
180
|
readonly size: number;
|
|
185
181
|
readonly type: string;
|
|
186
182
|
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
187
|
-
bytes: () => Promise<Uint8Array
|
|
183
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
188
184
|
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
189
|
-
stream: () => ReadableStream<Uint8Array
|
|
185
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
190
186
|
text: () => Promise<string>;
|
|
191
187
|
}[] | {
|
|
192
188
|
name: string;
|
|
@@ -200,9 +196,9 @@ export default function (): {
|
|
|
200
196
|
readonly size: number;
|
|
201
197
|
readonly type: string;
|
|
202
198
|
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
203
|
-
bytes: () => Promise<Uint8Array
|
|
199
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
204
200
|
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
205
|
-
stream: () => ReadableStream<Uint8Array
|
|
201
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
206
202
|
text: () => Promise<string>;
|
|
207
203
|
}[] | {
|
|
208
204
|
name: string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare enum ActionKeys {
|
|
2
|
+
ViewFile = "viewFile",
|
|
3
|
+
ViewFileNewTab = "viewFileNewTab",
|
|
4
|
+
ViewFolder = "viewFolder",
|
|
5
|
+
ViewFolderNewTab = "viewFolderNewTab",
|
|
6
|
+
AddToFavorites = "addToFavorites",
|
|
7
|
+
RemoveFromFavorites = "removeFromFavorites",
|
|
8
|
+
ViewFileDetails = "viewFileDetails",
|
|
9
|
+
ViewFolderDetails = "viewFolderDetails",
|
|
10
|
+
OpenDetailsPanel = "openFileDetailsPanel",
|
|
11
|
+
Move = "move",
|
|
12
|
+
Edit = "edit",
|
|
13
|
+
Copy = "copy",
|
|
14
|
+
Share = "share",
|
|
15
|
+
DeleteFile = "deleteFile",
|
|
16
|
+
DeleteFolder = "deleteFolder",
|
|
17
|
+
RenameFolder = "renameFolder",
|
|
18
|
+
RenameFile = "renameFile",
|
|
19
|
+
EditFileTags = "editFileTags",
|
|
20
|
+
GenerateKeypoints = "generateKeypoints",
|
|
21
|
+
AddToSharebox = "addToSharebox"
|
|
22
|
+
}
|