@opencloud-eu/web-pkg 5.1.0 → 6.1.0
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/dist/TextEditor-B0ZZfO_w.js +819 -0
- package/dist/assets/worker-BVTM6bn-.js +1 -0
- package/dist/assets/worker-C-Nrpmiq.js +24 -0
- package/dist/assets/worker-CzI1mBNb.js +24 -0
- package/dist/assets/worker-DDmV-och.js +24 -0
- package/dist/composables-TkULFBg4.js +20165 -0
- package/dist/src/apps/types.d.ts +9 -12
- package/dist/src/components/AppBar/AppBar.vue.d.ts +154 -96
- package/dist/src/components/AppBar/index.d.ts +0 -1
- package/dist/src/components/AppLoadingSpinner.vue.d.ts +2 -1
- package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +37 -33
- package/dist/src/components/AppTemplates/AppWrapperRoute.d.ts +1 -1
- package/dist/src/components/AppTemplates/PartialViews/ErrorScreen.vue.d.ts +5 -4
- package/dist/src/components/AppTemplates/PartialViews/LoadingScreen.vue.d.ts +2 -1
- package/dist/src/components/AppTopBar.vue.d.ts +13 -4
- package/dist/src/components/Avatars/AvatarUpload.vue.d.ts +3 -4
- package/dist/src/components/Avatars/UserAvatar.vue.d.ts +11 -1
- package/dist/src/components/BatchActions.vue.d.ts +16 -15
- package/dist/src/components/ContextActions/ActionMenuDropItem.vue.d.ts +11 -2
- package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +9 -8
- package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +41 -22
- package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +176 -23
- package/dist/src/components/CreateLinkModal.vue.d.ts +17 -7
- package/dist/src/components/CreateShortcutModal.vue.d.ts +233 -0
- package/dist/src/components/CustomComponentTarget.vue.d.ts +12 -13
- package/dist/src/components/FilesList/ContextActions.vue.d.ts +56 -37
- package/dist/src/components/FilesList/ResourceGhostElement.vue.d.ts +22 -11
- package/dist/src/components/FilesList/ResourceIcon.vue.d.ts +10 -1
- package/dist/src/components/FilesList/ResourceLink.vue.d.ts +7 -6
- package/dist/src/components/FilesList/ResourceListItem.vue.d.ts +13 -4
- package/dist/src/components/FilesList/ResourceName.vue.d.ts +10 -1
- package/dist/src/components/FilesList/ResourceSize.vue.d.ts +6 -5
- package/dist/src/components/FilesList/ResourceStatusIndicators.vue.d.ts +10 -1
- package/dist/src/components/FilesList/ResourceTable.vue.d.ts +51 -154
- package/dist/src/components/FilesList/ResourceTile.vue.d.ts +37 -153
- package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +34 -119
- package/dist/src/components/Filters/DateFilter.vue.d.ts +37 -0
- package/dist/src/components/Filters/ItemFilterInline.vue.d.ts +6 -5
- package/dist/src/components/Groupware/Accounts/AccountsSwitch.vue.d.ts +3 -0
- package/dist/src/components/Groupware/Accounts/index.d.ts +1 -0
- package/dist/src/components/Groupware/index.d.ts +1 -0
- package/dist/src/components/ItemFilter.vue.d.ts +19 -204
- package/dist/src/components/ItemFilterToggle.vue.d.ts +6 -5
- package/dist/src/components/LinkRoleDropdown.vue.d.ts +7 -6
- package/dist/src/components/LoadingIndicator.vue.d.ts +5 -4
- package/dist/src/components/Modals/DatePickerModal.vue.d.ts +8 -7
- package/dist/src/components/Modals/EmojiPickerModal.vue.d.ts +6 -5
- package/dist/src/components/Modals/FilePickerModal.vue.d.ts +8 -7
- package/dist/src/components/Modals/ResourceConflictModal.vue.d.ts +9 -8
- package/dist/src/components/Modals/SaveAsModal.vue.d.ts +8 -7
- package/dist/src/components/Modals/SpaceMoveInfoModal.vue.d.ts +5 -4
- package/dist/src/components/Modals/UnsavedChangesModal.vue.d.ts +5 -4
- package/dist/src/components/Navigation/MobileNav.vue.d.ts +3 -0
- package/dist/src/components/Navigation/index.d.ts +1 -0
- package/dist/src/components/NoContentMessage.vue.d.ts +19 -13
- package/dist/src/components/Pagination.vue.d.ts +5 -4
- package/dist/src/components/QuotaSelect.vue.d.ts +7 -6
- package/dist/src/components/Search/ResourcePreview.vue.d.ts +10 -41
- package/dist/src/components/SearchBarFilter.vue.d.ts +7 -6
- package/dist/src/components/SideBar/CompareSaveDialog.vue.d.ts +6 -5
- package/dist/src/components/SideBar/FileSideBar.vue.d.ts +10 -75
- package/dist/src/components/SideBar/Files/FileInfo.vue.d.ts +10 -1
- package/dist/src/components/SideBar/SideBar.vue.d.ts +20 -21
- package/dist/src/components/SideBar/SideBarPanels.vue.d.ts +21 -22
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +10 -1
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +10 -1
- package/dist/src/components/SideBar/Spaces/SpaceInfo.vue.d.ts +2 -1
- package/dist/src/components/SideBar/Spaces/SpaceNoSelection.vue.d.ts +2 -1
- package/dist/src/components/SideBar/WebDavDetails.vue.d.ts +7 -6
- package/dist/src/components/SpaceQuota.vue.d.ts +10 -1
- package/dist/src/components/Spaces/QuotaModal.vue.d.ts +13 -4
- package/dist/src/components/Spaces/SpaceImageModal.vue.d.ts +12 -4
- package/dist/src/components/TextEditor/TextEditor.vue.d.ts +22 -161
- package/dist/src/components/TextEditor/index.d.ts +16 -138
- package/dist/src/components/VersionCheck.vue.d.ts +2 -1
- package/dist/src/components/ViewOptions.vue.d.ts +10 -1
- package/dist/src/components/index.d.ts +2 -1
- package/dist/src/composables/actions/files/useFileActionFallbackToDownload.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActions.d.ts +2 -2
- package/dist/src/composables/actions/files/useFileActionsCopy.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCopyPermanentLink.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateLink.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateNewFile.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateNewFolder.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateNewShortcut.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateSpaceFromResource.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDelete.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDisableSync.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDownloadArchive.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDownloadFile.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsEmptyTrashBin.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsEnableSync.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsFavorite.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsMove.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsNavigate.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsOpenShortcut.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsOpenWithApp.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsOpenWithDefault.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsPaste.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsRename.d.ts +2 -2
- package/dist/src/composables/actions/files/useFileActionsRestore.d.ts +2 -2
- package/dist/src/composables/actions/files/useFileActionsSaveAs.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsSetImage.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsShowActions.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsShowDetails.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsShowShares.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsToggleHideShare.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsUndoDelete.d.ts +2 -2
- package/dist/src/composables/actions/helpers/useIsAppActive.d.ts +1 -1
- package/dist/src/composables/actions/helpers/useIsFilesAppActive.d.ts +1 -1
- package/dist/src/composables/actions/helpers/useIsSearchActive.d.ts +1 -1
- package/dist/src/composables/actions/spaces/index.d.ts +1 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsCreate.d.ts +7 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsDelete.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDeleteImage.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDisable.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDuplicate.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsEditDescription.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsEditQuota.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsEditReadmeContent.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsNavigateToTrash.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsRename.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsRestore.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsSetIcon.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsShowMembers.d.ts +1 -1
- package/dist/src/composables/actions/useActionsShowDetails.d.ts +1 -1
- package/dist/src/composables/appDefaults/useAppConfig.d.ts +1 -1
- package/dist/src/composables/appDefaults/useAppDocumentTitle.d.ts +2 -1
- package/dist/src/composables/appDefaults/useAppFileHandling.d.ts +4 -2
- package/dist/src/composables/appDefaults/useAppMeta.d.ts +1 -1
- package/dist/src/composables/authContext/useAuthService.d.ts +3 -1
- package/dist/src/composables/authContext/useRequest.d.ts +2 -2
- package/dist/src/composables/driveResolver/useSpacesLoading.d.ts +1 -1
- package/dist/src/composables/embedMode/useEmbedMode.d.ts +8 -8
- package/dist/src/composables/eventBus/useEventBus.d.ts +1 -1
- package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +1 -1
- package/dist/src/composables/folderLink/useFolderLink.d.ts +2 -2
- package/dist/src/composables/index.d.ts +1 -1
- package/dist/src/composables/isTopBarSticky/useIsTopBarSticky.d.ts +1 -1
- package/dist/src/composables/keyboardActions/useInterceptModifierClick.d.ts +1 -1
- package/dist/src/composables/links/useLinkTypes.d.ts +1 -1
- package/dist/src/composables/localStorage/useLocalStorage.d.ts +1 -1
- package/dist/src/composables/navItems/index.d.ts +1 -0
- package/dist/src/composables/navItems/useNavItems.d.ts +13 -0
- package/dist/src/composables/piniaStores/apps.d.ts +31 -31
- package/dist/src/composables/piniaStores/auth.d.ts +30 -24
- package/dist/src/composables/piniaStores/avatars.d.ts +9 -9
- package/dist/src/composables/piniaStores/capabilities.d.ts +160 -160
- package/dist/src/composables/piniaStores/clipboard.d.ts +49 -49
- package/dist/src/composables/piniaStores/config/config.d.ts +135 -141
- package/dist/src/composables/piniaStores/config/types.d.ts +6 -20
- package/dist/src/composables/piniaStores/extensionRegistry/extensionPreferences.d.ts +4 -4
- package/dist/src/composables/piniaStores/extensionRegistry/extensionRegistry.d.ts +1 -1
- package/dist/src/composables/piniaStores/extensionRegistry/types.d.ts +14 -1
- package/dist/src/composables/piniaStores/groupware/accounts.d.ts +511 -0
- package/dist/src/composables/piniaStores/{groupwareConfig/groupwareConfig.d.ts → groupware/config.d.ts} +107 -80
- package/dist/src/composables/piniaStores/groupware/index.d.ts +3 -0
- package/dist/src/composables/piniaStores/{groupwareConfig → groupware}/types.d.ts +30 -18
- package/dist/src/composables/piniaStores/index.d.ts +1 -1
- package/dist/src/composables/piniaStores/messages.d.ts +70 -70
- package/dist/src/composables/piniaStores/modals.d.ts +197 -209
- package/dist/src/composables/piniaStores/resources.d.ts +11 -11
- package/dist/src/composables/piniaStores/shares/shares.d.ts +1 -1
- package/dist/src/composables/piniaStores/shares/types.d.ts +2 -1
- package/dist/src/composables/piniaStores/sideBar.d.ts +8 -22
- package/dist/src/composables/piniaStores/spaces.d.ts +189 -188
- package/dist/src/composables/piniaStores/theme.d.ts +10 -10
- package/dist/src/composables/piniaStores/updates.d.ts +10 -10
- package/dist/src/composables/piniaStores/user.d.ts +5 -5
- package/dist/src/composables/piniaStores/webWorkers.d.ts +1 -1
- package/dist/src/composables/requestHeaders/useRequestHeaders.d.ts +1 -1
- package/dist/src/composables/resources/useGetResourceContext.d.ts +26 -26
- package/dist/src/composables/resources/useLoadPreview.d.ts +1 -1
- package/dist/src/composables/resources/useResourceContents.d.ts +1 -1
- package/dist/src/composables/resources/useResourceIndicators.d.ts +12 -1
- package/dist/src/composables/resources/useResourceViewContextMenu.d.ts +4 -3
- package/dist/src/composables/resources/useResourceViewDrag.d.ts +23 -13
- package/dist/src/composables/resources/useResourceViewHelpers.d.ts +30 -20
- package/dist/src/composables/resources/useResourceViewSelection.d.ts +2 -2
- package/dist/src/composables/selection/useSelectedResources.d.ts +2 -1
- package/dist/src/composables/spaces/useCreateSpace.d.ts +2 -1
- package/dist/src/composables/spaces/useSpaceHelpers.d.ts +1 -1
- package/dist/src/composables/webWorkers/deleteWorker/useDeleteWorker.d.ts +1 -1
- package/dist/src/composables/webWorkers/pasteWorker/usePasteWorker.d.ts +2 -2
- package/dist/src/composables/webWorkers/restoreWorker/useRestoreWorker.d.ts +1 -1
- package/dist/src/composables/webWorkers/tokenTimerWorker/useTokenTimerWorker.d.ts +3 -1
- package/dist/src/constants.d.ts +0 -6
- package/dist/src/extensionPoints.d.ts +3 -0
- package/dist/src/helpers/filesize.d.ts +0 -7
- package/dist/src/helpers/index.d.ts +1 -2
- package/dist/src/helpers/resource/conflictHandling/conflictDialog.d.ts +1 -1
- package/dist/src/helpers/resource/conflictHandling/transfer.d.ts +4 -4
- package/dist/src/helpers/resource/conflictHandling/types.d.ts +1 -1
- package/dist/src/helpers/share/driveItem.d.ts +1 -1
- package/dist/src/helpers/versions.d.ts +5 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/router/common.d.ts +1 -1
- package/dist/src/router/index.d.ts +2 -1
- package/dist/src/router/public.d.ts +1 -1
- package/dist/src/router/shares.d.ts +1 -1
- package/dist/src/router/spaces.d.ts +1 -1
- package/dist/src/router/trash.d.ts +1 -1
- package/dist/src/services/passwordPolicy/rules.d.ts +3 -9
- package/dist/src/services/preview/types.d.ts +1 -1
- package/dist/src/services/uppy/DropTarget/plugin.d.ts +2 -1
- package/dist/src/services/uppy/uppyService.d.ts +3 -3
- package/dist/web-pkg.js +4251 -354
- package/package.json +36 -38
- package/src/index.ts +1 -0
- package/dist/TextEditor-CXSedGM4.js +0 -867
- package/dist/assets/worker-22sDKzz_.js +0 -21
- package/dist/assets/worker-BBQqm_-D.js +0 -1
- package/dist/assets/worker-BSCY2vwA.js +0 -21
- package/dist/assets/worker-DH8D29Kr.js +0 -21
- package/dist/index-CEJcEmbf.js +0 -25419
- package/dist/src/components/AppBar/CreateSpace.vue.d.ts +0 -18
- package/dist/src/components/PortalTarget.vue.d.ts +0 -2
- package/dist/src/composables/piniaStores/groupwareConfig/index.d.ts +0 -2
- package/dist/src/composables/portalTarget/eventTopics.d.ts +0 -3
- package/dist/src/composables/portalTarget/index.d.ts +0 -2
- package/dist/src/composables/portalTarget/usePortalTarget.d.ts +0 -4
- package/dist/src/helpers/contextMenuDropdown.d.ts +0 -7
- package/dist/src/helpers/statusIndicators.d.ts +0 -12
- package/dist/web-pkg.umd.cjs +0 -36
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ShareResource } from '@opencloud-eu/web-client';
|
|
2
2
|
import { FileAction } from '../types';
|
|
3
3
|
export declare const useFileActionsShowShares: () => {
|
|
4
|
-
actions: import(
|
|
4
|
+
actions: import("vue").ComputedRef<FileAction<ShareResource>[]>;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FileAction } from '../../actions';
|
|
2
2
|
import { IncomingShareResource } from '@opencloud-eu/web-client';
|
|
3
3
|
export declare const useFileActionsToggleHideShare: () => {
|
|
4
|
-
actions: import(
|
|
4
|
+
actions: import("vue").ComputedRef<FileAction<IncomingShareResource>[]>;
|
|
5
5
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Action, FileActionOptions } from '../types';
|
|
1
|
+
import type { Action, FileActionOptions } from '../types';
|
|
2
2
|
type UndoActionOptions = FileActionOptions & {
|
|
3
3
|
callback?: () => void;
|
|
4
4
|
};
|
|
5
5
|
export declare const useFileActionsUndoDelete: () => {
|
|
6
|
-
actions: import(
|
|
6
|
+
actions: import("vue").ComputedRef<Action<UndoActionOptions>[]>;
|
|
7
7
|
};
|
|
8
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useIsAppActive: () => import(
|
|
1
|
+
export declare const useIsAppActive: () => import("vue").ComputedRef<string | string[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useIsFilesAppActive: () => import(
|
|
1
|
+
export declare const useIsFilesAppActive: () => import("vue").ComputedRef<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useIsSearchActive: () => import(
|
|
1
|
+
export declare const useIsSearchActive: () => import("vue").ComputedRef<boolean>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SpaceAction } from '../types';
|
|
2
|
+
import { SpaceResource } from '@opencloud-eu/web-client';
|
|
3
|
+
export declare const useSpaceActionsCreate: ({ onSpaceCreated }?: {
|
|
4
|
+
onSpaceCreated?: (space: SpaceResource) => void;
|
|
5
|
+
}) => {
|
|
6
|
+
actions: import("vue").ComputedRef<SpaceAction[]>;
|
|
7
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SpaceResource } from '@opencloud-eu/web-client';
|
|
2
2
|
import { SpaceAction } from '../types';
|
|
3
3
|
export declare const useSpaceActionsDelete: () => {
|
|
4
|
-
actions: import(
|
|
4
|
+
actions: import("vue").ComputedRef<SpaceAction[]>;
|
|
5
5
|
deleteSpaces: (spaces: SpaceResource[]) => Promise<void>;
|
|
6
6
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SpaceResource } from '@opencloud-eu/web-client';
|
|
2
2
|
import { SpaceAction } from '../types';
|
|
3
3
|
export declare const useSpaceActionsDeleteImage: () => {
|
|
4
|
-
actions: import(
|
|
4
|
+
actions: import("vue").ComputedRef<SpaceAction[]>;
|
|
5
5
|
deleteSpaceImage: ({ space }: {
|
|
6
6
|
space: SpaceResource;
|
|
7
7
|
}) => Promise<void>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SpaceResource } from '@opencloud-eu/web-client';
|
|
2
2
|
import { SpaceAction } from '../types';
|
|
3
3
|
export declare const useSpaceActionsDisable: () => {
|
|
4
|
-
actions: import(
|
|
4
|
+
actions: import("vue").ComputedRef<SpaceAction[]>;
|
|
5
5
|
disableSpaces: (spaces: SpaceResource[]) => Promise<void>;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SpaceResource } from '@opencloud-eu/web-client';
|
|
2
2
|
import { SpaceAction } from '../types';
|
|
3
3
|
export declare const useSpaceActionsDuplicate: () => {
|
|
4
|
-
actions: import(
|
|
4
|
+
actions: import("vue").ComputedRef<SpaceAction[]>;
|
|
5
5
|
duplicateSpace: (existingSpace: SpaceResource) => Promise<void>;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SpaceAction } from '../types';
|
|
2
2
|
import { SpaceResource } from '@opencloud-eu/web-client';
|
|
3
3
|
export declare const useSpaceActionsEditDescription: () => {
|
|
4
|
-
actions: import(
|
|
4
|
+
actions: import("vue").ComputedRef<SpaceAction[]>;
|
|
5
5
|
editDescriptionSpace: (space: SpaceResource, description: string) => Promise<void>;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SpaceAction } from '../types';
|
|
2
2
|
import { SpaceResource } from '@opencloud-eu/web-client';
|
|
3
3
|
export declare const useSpaceActionsRename: () => {
|
|
4
|
-
actions: import(
|
|
4
|
+
actions: import("vue").ComputedRef<SpaceAction[]>;
|
|
5
5
|
renameSpace: (space: SpaceResource, name: string) => Promise<void>;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SpaceResource } from '@opencloud-eu/web-client';
|
|
2
2
|
import { SpaceAction } from '../types';
|
|
3
3
|
export declare const useSpaceActionsRestore: () => {
|
|
4
|
-
actions: import(
|
|
4
|
+
actions: import("vue").ComputedRef<SpaceAction[]>;
|
|
5
5
|
restoreSpaces: (spaces: SpaceResource[]) => Promise<void>;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SpaceResource } from '@opencloud-eu/web-client';
|
|
2
2
|
import { SpaceAction } from '../types';
|
|
3
3
|
export declare const useSpaceActionsSetIcon: () => {
|
|
4
|
-
actions: import(
|
|
4
|
+
actions: import("vue").ComputedRef<SpaceAction[]>;
|
|
5
5
|
setIconSpace: (space: SpaceResource, emoji: string) => Promise<void>;
|
|
6
6
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Ref
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
2
|
import { FileContext } from './types';
|
|
3
3
|
import { RouteLocationNormalizedLoaded } from 'vue-router';
|
|
4
|
+
import { MaybeRef } from 'vue';
|
|
4
5
|
import { AppsStore } from '../piniaStores';
|
|
5
6
|
interface AppDocumentTitleOptions {
|
|
6
7
|
appsStore: AppsStore;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { Resource
|
|
1
|
+
import { Resource } from '@opencloud-eu/web-client';
|
|
2
2
|
import { MaybeRef } from '../../utils';
|
|
3
3
|
import { ClientService } from '../../services';
|
|
4
4
|
import { FileContext } from './types';
|
|
5
|
-
import {
|
|
5
|
+
import { FileResource, SpaceResource } from '@opencloud-eu/web-client';
|
|
6
|
+
import { ListFilesOptions } from '@opencloud-eu/web-client/webdav';
|
|
7
|
+
import { WebDAV } from '@opencloud-eu/web-client/webdav';
|
|
6
8
|
interface AppFileHandlingOptions {
|
|
7
9
|
clientService: ClientService;
|
|
8
10
|
}
|
|
@@ -4,6 +4,6 @@ interface AppMetaOptions {
|
|
|
4
4
|
applicationId: string;
|
|
5
5
|
}
|
|
6
6
|
export declare function useAppMeta({ appsStore, applicationId }: AppMetaOptions): {
|
|
7
|
-
applicationMeta: import(
|
|
7
|
+
applicationMeta: import("vue").ComputedRef<import("../..").ApplicationInformation>;
|
|
8
8
|
};
|
|
9
9
|
export {};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { NavigationFailure } from 'vue-router';
|
|
2
2
|
export interface AuthServiceInterface {
|
|
3
|
-
handleAuthError(route: any,
|
|
3
|
+
handleAuthError(route: any,
|
|
4
|
+
/** @deprecated This option is no longer used. */
|
|
5
|
+
options?: {
|
|
4
6
|
forceLogout?: boolean;
|
|
5
7
|
}): any;
|
|
6
8
|
signinSilent(): Promise<unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Router, RouteLocationNormalizedLoaded } from 'vue-router';
|
|
2
|
-
import { Method, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { Router, RouteLocationNormalizedLoaded } from 'vue-router';
|
|
2
|
+
import type { Method, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
3
3
|
import { ClientService } from '../../services';
|
|
4
4
|
import { AuthStore } from '../piniaStores';
|
|
5
5
|
interface RequestOptions {
|
|
@@ -10,14 +10,14 @@ export interface embedModeLocationPickMessageData {
|
|
|
10
10
|
locationQuery?: LocationQuery;
|
|
11
11
|
}
|
|
12
12
|
export declare const useEmbedMode: () => {
|
|
13
|
-
isEnabled: import(
|
|
14
|
-
isLocationPicker: import(
|
|
15
|
-
chooseFileName: import(
|
|
16
|
-
chooseFileNameSuggestion: import(
|
|
17
|
-
isFilePicker: import(
|
|
18
|
-
messagesTargetOrigin: import(
|
|
19
|
-
isDelegatingAuthentication: import(
|
|
20
|
-
fileTypes: import(
|
|
13
|
+
isEnabled: import("vue").ComputedRef<boolean>;
|
|
14
|
+
isLocationPicker: import("vue").ComputedRef<boolean>;
|
|
15
|
+
chooseFileName: import("vue").ComputedRef<boolean>;
|
|
16
|
+
chooseFileNameSuggestion: import("vue").ComputedRef<string>;
|
|
17
|
+
isFilePicker: import("vue").ComputedRef<boolean>;
|
|
18
|
+
messagesTargetOrigin: import("vue").ComputedRef<string>;
|
|
19
|
+
isDelegatingAuthentication: import("vue").ComputedRef<boolean>;
|
|
20
|
+
fileTypes: import("vue").ComputedRef<string[]>;
|
|
21
21
|
postMessage: <Payload>(name: string, data?: Payload) => void;
|
|
22
22
|
verifyDelegatedAuthenticationOrigin: (eventOrigin: string) => boolean;
|
|
23
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useEventBus: () => import(
|
|
1
|
+
export declare const useEventBus: () => import("../..").EventBus;
|
|
@@ -10,5 +10,5 @@ export declare const useResourceRouteResolver: (options?: ResourceRouteResolverO
|
|
|
10
10
|
path: string;
|
|
11
11
|
resource: Resource | SpaceResource;
|
|
12
12
|
fileId?: string;
|
|
13
|
-
}) => import(
|
|
13
|
+
}) => import("vue-router").RouteLocationNamedRaw;
|
|
14
14
|
};
|
|
@@ -2,8 +2,8 @@ import { Resource } from '@opencloud-eu/web-client';
|
|
|
2
2
|
import { ResourceRouteResolverOptions } from '../filesList';
|
|
3
3
|
export declare const useFolderLink: (options?: ResourceRouteResolverOptions) => {
|
|
4
4
|
getPathPrefix: (resource: Resource) => string;
|
|
5
|
-
getFolderLink: (resource: Resource) => import(
|
|
6
|
-
getParentFolderLink: (resource: Resource) => import(
|
|
5
|
+
getFolderLink: (resource: Resource) => import("vue-router").RouteLocationNamedRaw;
|
|
6
|
+
getParentFolderLink: (resource: Resource) => import("vue-router").RouteLocationNamedRaw;
|
|
7
7
|
getParentFolderName: (resource: Resource) => string;
|
|
8
8
|
getParentFolderLinkIconAdditionalAttributes: (resource: Resource) => {
|
|
9
9
|
name: string;
|
|
@@ -18,10 +18,10 @@ export * from './keyboardActions';
|
|
|
18
18
|
export * from './links';
|
|
19
19
|
export * from './loadingService';
|
|
20
20
|
export * from './localStorage';
|
|
21
|
+
export * from './navItems';
|
|
21
22
|
export * from './pagination';
|
|
22
23
|
export * from './passwordPolicyService';
|
|
23
24
|
export * from './piniaStores';
|
|
24
|
-
export * from './portalTarget';
|
|
25
25
|
export * from './previewService';
|
|
26
26
|
export * from './requestHeaders';
|
|
27
27
|
export * from './resources';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Resource } from '@opencloud-eu/web-client';
|
|
1
|
+
import type { Resource } from '@opencloud-eu/web-client';
|
|
2
2
|
export declare function useInterceptModifierClick(): {
|
|
3
3
|
interceptModifierClick: (event: MouseEvent | KeyboardEvent | undefined, resource: Resource) => boolean;
|
|
4
4
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SharingLinkType } from '@opencloud-eu/web-client/graph/generated';
|
|
2
2
|
import { ShareRole } from '@opencloud-eu/web-client';
|
|
3
3
|
export declare const useLinkTypes: () => {
|
|
4
|
-
defaultLinkType: import(
|
|
4
|
+
defaultLinkType: import("vue").ComputedRef<SharingLinkType>;
|
|
5
5
|
isPasswordEnforcedForLinkType: (type: SharingLinkType) => boolean;
|
|
6
6
|
getAvailableLinkTypes: ({ isFolder }: {
|
|
7
7
|
isFolder: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
export declare const useLocalStorage: <T>(key: string, defaultValue?: T) => [T] extends [Ref<any, any>] ? import(
|
|
2
|
+
export declare const useLocalStorage: <T>(key: string, defaultValue?: T) => [T] extends [Ref<any, any>] ? import("@vue/shared").IfAny<T, Ref<T, T>, T> : Ref<import("vue").UnwrapRef<T>, T | import("vue").UnwrapRef<T>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useNavItems';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ExtensionRegistry } from '../piniaStores';
|
|
2
|
+
import { AppNavigationItem } from '../../apps';
|
|
3
|
+
export interface NavItem extends Omit<AppNavigationItem, 'name'> {
|
|
4
|
+
name: string;
|
|
5
|
+
active: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const getExtensionNavItems: ({ extensionRegistry, appId }: {
|
|
8
|
+
extensionRegistry: ExtensionRegistry;
|
|
9
|
+
appId: string;
|
|
10
|
+
}) => AppNavigationItem[];
|
|
11
|
+
export declare const useNavItems: () => {
|
|
12
|
+
navItems: import("vue").ComputedRef<NavItem[]>;
|
|
13
|
+
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { AppConfigObject, ApplicationInformation, ApplicationFileExtension } from '../../apps';
|
|
2
2
|
import { Translations } from 'vue3-gettext';
|
|
3
|
-
export declare const useAppsStore: import(
|
|
4
|
-
apps: import(
|
|
5
|
-
externalAppConfig: import(
|
|
6
|
-
appIds: import(
|
|
7
|
-
fileExtensions: import(
|
|
3
|
+
export declare const useAppsStore: import("pinia").StoreDefinition<"apps", Pick<{
|
|
4
|
+
apps: import("vue").Ref<Record<string, ApplicationInformation>, Record<string, ApplicationInformation>>;
|
|
5
|
+
externalAppConfig: import("vue").Ref<Record<string, AppConfigObject>, Record<string, AppConfigObject>>;
|
|
6
|
+
appIds: import("vue").ComputedRef<string[]>;
|
|
7
|
+
fileExtensions: import("vue").Ref<{
|
|
8
8
|
app?: string;
|
|
9
9
|
extension?: string;
|
|
10
10
|
type?: "file" | "folder";
|
|
11
11
|
createFileHandler?: (arg: {
|
|
12
12
|
fileName: string;
|
|
13
|
-
space: import(
|
|
14
|
-
currentFolder: import(
|
|
15
|
-
}) => Promise<import(
|
|
13
|
+
space: import("@opencloud-eu/web-client").SpaceResource;
|
|
14
|
+
currentFolder: import("@opencloud-eu/web-client").Resource;
|
|
15
|
+
}) => Promise<import("@opencloud-eu/web-client").Resource>;
|
|
16
16
|
hasPriority?: boolean;
|
|
17
17
|
label?: string | (() => string);
|
|
18
18
|
name?: string;
|
|
@@ -29,9 +29,9 @@ export declare const useAppsStore: import('pinia').StoreDefinition<"apps", Pick<
|
|
|
29
29
|
type?: "file" | "folder";
|
|
30
30
|
createFileHandler?: (arg: {
|
|
31
31
|
fileName: string;
|
|
32
|
-
space: import(
|
|
33
|
-
currentFolder: import(
|
|
34
|
-
}) => Promise<import(
|
|
32
|
+
space: import("@opencloud-eu/web-client").SpaceResource;
|
|
33
|
+
currentFolder: import("@opencloud-eu/web-client").Resource;
|
|
34
|
+
}) => Promise<import("@opencloud-eu/web-client").Resource>;
|
|
35
35
|
hasPriority?: boolean;
|
|
36
36
|
label?: string | (() => string);
|
|
37
37
|
name?: string;
|
|
@@ -54,18 +54,18 @@ export declare const useAppsStore: import('pinia').StoreDefinition<"apps", Pick<
|
|
|
54
54
|
}) => void;
|
|
55
55
|
isAppEnabled: (appId: string) => boolean;
|
|
56
56
|
}, "apps" | "externalAppConfig" | "fileExtensions">, Pick<{
|
|
57
|
-
apps: import(
|
|
58
|
-
externalAppConfig: import(
|
|
59
|
-
appIds: import(
|
|
60
|
-
fileExtensions: import(
|
|
57
|
+
apps: import("vue").Ref<Record<string, ApplicationInformation>, Record<string, ApplicationInformation>>;
|
|
58
|
+
externalAppConfig: import("vue").Ref<Record<string, AppConfigObject>, Record<string, AppConfigObject>>;
|
|
59
|
+
appIds: import("vue").ComputedRef<string[]>;
|
|
60
|
+
fileExtensions: import("vue").Ref<{
|
|
61
61
|
app?: string;
|
|
62
62
|
extension?: string;
|
|
63
63
|
type?: "file" | "folder";
|
|
64
64
|
createFileHandler?: (arg: {
|
|
65
65
|
fileName: string;
|
|
66
|
-
space: import(
|
|
67
|
-
currentFolder: import(
|
|
68
|
-
}) => Promise<import(
|
|
66
|
+
space: import("@opencloud-eu/web-client").SpaceResource;
|
|
67
|
+
currentFolder: import("@opencloud-eu/web-client").Resource;
|
|
68
|
+
}) => Promise<import("@opencloud-eu/web-client").Resource>;
|
|
69
69
|
hasPriority?: boolean;
|
|
70
70
|
label?: string | (() => string);
|
|
71
71
|
name?: string;
|
|
@@ -82,9 +82,9 @@ export declare const useAppsStore: import('pinia').StoreDefinition<"apps", Pick<
|
|
|
82
82
|
type?: "file" | "folder";
|
|
83
83
|
createFileHandler?: (arg: {
|
|
84
84
|
fileName: string;
|
|
85
|
-
space: import(
|
|
86
|
-
currentFolder: import(
|
|
87
|
-
}) => Promise<import(
|
|
85
|
+
space: import("@opencloud-eu/web-client").SpaceResource;
|
|
86
|
+
currentFolder: import("@opencloud-eu/web-client").Resource;
|
|
87
|
+
}) => Promise<import("@opencloud-eu/web-client").Resource>;
|
|
88
88
|
hasPriority?: boolean;
|
|
89
89
|
label?: string | (() => string);
|
|
90
90
|
name?: string;
|
|
@@ -107,18 +107,18 @@ export declare const useAppsStore: import('pinia').StoreDefinition<"apps", Pick<
|
|
|
107
107
|
}) => void;
|
|
108
108
|
isAppEnabled: (appId: string) => boolean;
|
|
109
109
|
}, "appIds">, Pick<{
|
|
110
|
-
apps: import(
|
|
111
|
-
externalAppConfig: import(
|
|
112
|
-
appIds: import(
|
|
113
|
-
fileExtensions: import(
|
|
110
|
+
apps: import("vue").Ref<Record<string, ApplicationInformation>, Record<string, ApplicationInformation>>;
|
|
111
|
+
externalAppConfig: import("vue").Ref<Record<string, AppConfigObject>, Record<string, AppConfigObject>>;
|
|
112
|
+
appIds: import("vue").ComputedRef<string[]>;
|
|
113
|
+
fileExtensions: import("vue").Ref<{
|
|
114
114
|
app?: string;
|
|
115
115
|
extension?: string;
|
|
116
116
|
type?: "file" | "folder";
|
|
117
117
|
createFileHandler?: (arg: {
|
|
118
118
|
fileName: string;
|
|
119
|
-
space: import(
|
|
120
|
-
currentFolder: import(
|
|
121
|
-
}) => Promise<import(
|
|
119
|
+
space: import("@opencloud-eu/web-client").SpaceResource;
|
|
120
|
+
currentFolder: import("@opencloud-eu/web-client").Resource;
|
|
121
|
+
}) => Promise<import("@opencloud-eu/web-client").Resource>;
|
|
122
122
|
hasPriority?: boolean;
|
|
123
123
|
label?: string | (() => string);
|
|
124
124
|
name?: string;
|
|
@@ -135,9 +135,9 @@ export declare const useAppsStore: import('pinia').StoreDefinition<"apps", Pick<
|
|
|
135
135
|
type?: "file" | "folder";
|
|
136
136
|
createFileHandler?: (arg: {
|
|
137
137
|
fileName: string;
|
|
138
|
-
space: import(
|
|
139
|
-
currentFolder: import(
|
|
140
|
-
}) => Promise<import(
|
|
138
|
+
space: import("@opencloud-eu/web-client").SpaceResource;
|
|
139
|
+
currentFolder: import("@opencloud-eu/web-client").Resource;
|
|
140
|
+
}) => Promise<import("@opencloud-eu/web-client").Resource>;
|
|
141
141
|
hasPriority?: boolean;
|
|
142
142
|
label?: string | (() => string);
|
|
143
143
|
name?: string;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { PublicLinkType } from '@opencloud-eu/web-client';
|
|
2
|
-
export declare const useAuthStore: import(
|
|
3
|
-
accessToken: import(
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
export declare const useAuthStore: import("pinia").StoreDefinition<"auth", Pick<{
|
|
3
|
+
accessToken: import("vue").Ref<string, string>;
|
|
4
|
+
sessionId: import("vue").Ref<string, string>;
|
|
5
|
+
idpContextReady: import("vue").Ref<boolean, boolean>;
|
|
6
|
+
userContextReady: import("vue").Ref<boolean, boolean>;
|
|
7
|
+
publicLinkToken: import("vue").Ref<string, string>;
|
|
8
|
+
publicLinkPassword: import("vue").Ref<string, string>;
|
|
9
|
+
publicLinkType: import("vue").Ref<PublicLinkType, PublicLinkType>;
|
|
10
|
+
publicLinkContextReady: import("vue").Ref<boolean, boolean>;
|
|
10
11
|
setAccessToken: (value: string) => void;
|
|
12
|
+
setSessionId: (value: string) => void;
|
|
11
13
|
setIdpContextReady: (value: boolean) => void;
|
|
12
14
|
setUserContextReady: (value: boolean) => void;
|
|
13
15
|
setPublicLinkContext: (context: {
|
|
@@ -18,15 +20,17 @@ export declare const useAuthStore: import('pinia').StoreDefinition<"auth", Pick<
|
|
|
18
20
|
}) => void;
|
|
19
21
|
clearUserContext: () => void;
|
|
20
22
|
clearPublicLinkContext: () => void;
|
|
21
|
-
}, "publicLinkPassword" | "publicLinkType" | "accessToken" | "idpContextReady" | "userContextReady" | "publicLinkToken" | "publicLinkContextReady">, Pick<{
|
|
22
|
-
accessToken: import(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
}, "publicLinkPassword" | "publicLinkType" | "accessToken" | "sessionId" | "idpContextReady" | "userContextReady" | "publicLinkToken" | "publicLinkContextReady">, Pick<{
|
|
24
|
+
accessToken: import("vue").Ref<string, string>;
|
|
25
|
+
sessionId: import("vue").Ref<string, string>;
|
|
26
|
+
idpContextReady: import("vue").Ref<boolean, boolean>;
|
|
27
|
+
userContextReady: import("vue").Ref<boolean, boolean>;
|
|
28
|
+
publicLinkToken: import("vue").Ref<string, string>;
|
|
29
|
+
publicLinkPassword: import("vue").Ref<string, string>;
|
|
30
|
+
publicLinkType: import("vue").Ref<PublicLinkType, PublicLinkType>;
|
|
31
|
+
publicLinkContextReady: import("vue").Ref<boolean, boolean>;
|
|
29
32
|
setAccessToken: (value: string) => void;
|
|
33
|
+
setSessionId: (value: string) => void;
|
|
30
34
|
setIdpContextReady: (value: boolean) => void;
|
|
31
35
|
setUserContextReady: (value: boolean) => void;
|
|
32
36
|
setPublicLinkContext: (context: {
|
|
@@ -38,14 +42,16 @@ export declare const useAuthStore: import('pinia').StoreDefinition<"auth", Pick<
|
|
|
38
42
|
clearUserContext: () => void;
|
|
39
43
|
clearPublicLinkContext: () => void;
|
|
40
44
|
}, never>, Pick<{
|
|
41
|
-
accessToken: import(
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
accessToken: import("vue").Ref<string, string>;
|
|
46
|
+
sessionId: import("vue").Ref<string, string>;
|
|
47
|
+
idpContextReady: import("vue").Ref<boolean, boolean>;
|
|
48
|
+
userContextReady: import("vue").Ref<boolean, boolean>;
|
|
49
|
+
publicLinkToken: import("vue").Ref<string, string>;
|
|
50
|
+
publicLinkPassword: import("vue").Ref<string, string>;
|
|
51
|
+
publicLinkType: import("vue").Ref<PublicLinkType, PublicLinkType>;
|
|
52
|
+
publicLinkContextReady: import("vue").Ref<boolean, boolean>;
|
|
48
53
|
setAccessToken: (value: string) => void;
|
|
54
|
+
setSessionId: (value: string) => void;
|
|
49
55
|
setIdpContextReady: (value: boolean) => void;
|
|
50
56
|
setUserContextReady: (value: boolean) => void;
|
|
51
57
|
setPublicLinkContext: (context: {
|
|
@@ -56,5 +62,5 @@ export declare const useAuthStore: import('pinia').StoreDefinition<"auth", Pick<
|
|
|
56
62
|
}) => void;
|
|
57
63
|
clearUserContext: () => void;
|
|
58
64
|
clearPublicLinkContext: () => void;
|
|
59
|
-
}, "setAccessToken" | "setIdpContextReady" | "setUserContextReady" | "setPublicLinkContext" | "clearUserContext" | "clearPublicLinkContext">>;
|
|
65
|
+
}, "setAccessToken" | "setSessionId" | "setIdpContextReady" | "setUserContextReady" | "setPublicLinkContext" | "clearUserContext" | "clearPublicLinkContext">>;
|
|
60
66
|
export type AuthStore = ReturnType<typeof useAuthStore>;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const useAvatarsStore: import(
|
|
3
|
-
avatarMap: import(
|
|
1
|
+
import PQueue from 'p-queue';
|
|
2
|
+
export declare const useAvatarsStore: import("pinia").StoreDefinition<"avatars", Pick<{
|
|
3
|
+
avatarMap: import("vue").Ref<Record<string, string>, Record<string, string>>;
|
|
4
4
|
getAvatar: (userId: string) => string;
|
|
5
5
|
addAvatar: (userId: string, avatar: string) => void;
|
|
6
6
|
removeAvatar: (userId: string) => void;
|
|
7
7
|
reset: () => void;
|
|
8
|
-
avatarsQueue: import(
|
|
8
|
+
avatarsQueue: import("vue").Raw<PQueue<import("node_modules/p-queue/dist/priority-queue").default, import("p-queue").QueueAddOptions>>;
|
|
9
9
|
pendingAvatarsRequests: Map<string, Promise<any>>;
|
|
10
10
|
}, "avatarMap" | "avatarsQueue" | "pendingAvatarsRequests">, Pick<{
|
|
11
|
-
avatarMap: import(
|
|
11
|
+
avatarMap: import("vue").Ref<Record<string, string>, Record<string, string>>;
|
|
12
12
|
getAvatar: (userId: string) => string;
|
|
13
13
|
addAvatar: (userId: string, avatar: string) => void;
|
|
14
14
|
removeAvatar: (userId: string) => void;
|
|
15
15
|
reset: () => void;
|
|
16
|
-
avatarsQueue: import(
|
|
16
|
+
avatarsQueue: import("vue").Raw<PQueue<import("node_modules/p-queue/dist/priority-queue").default, import("p-queue").QueueAddOptions>>;
|
|
17
17
|
pendingAvatarsRequests: Map<string, Promise<any>>;
|
|
18
18
|
}, never>, Pick<{
|
|
19
|
-
avatarMap: import(
|
|
19
|
+
avatarMap: import("vue").Ref<Record<string, string>, Record<string, string>>;
|
|
20
20
|
getAvatar: (userId: string) => string;
|
|
21
21
|
addAvatar: (userId: string, avatar: string) => void;
|
|
22
22
|
removeAvatar: (userId: string) => void;
|
|
23
23
|
reset: () => void;
|
|
24
|
-
avatarsQueue: import(
|
|
24
|
+
avatarsQueue: import("vue").Raw<PQueue<import("node_modules/p-queue/dist/priority-queue").default, import("p-queue").QueueAddOptions>>;
|
|
25
25
|
pendingAvatarsRequests: Map<string, Promise<any>>;
|
|
26
|
-
}, "
|
|
26
|
+
}, "reset" | "getAvatar" | "addAvatar" | "removeAvatar">>;
|
|
27
27
|
export type AvatarsStore = ReturnType<typeof useAvatarsStore>;
|