zcw-shared 2.25.0 → 2.27.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/README.md +73 -13
- package/dist/constants/agentAvatar3d.d.ts +15 -0
- package/dist/constants/agentAvatar3d.js +64 -0
- package/dist/constants/agentAvatar3d.js.map +1 -0
- package/dist/constants/agentAvatar3dModular.d.ts +34 -0
- package/dist/constants/agentAvatar3dModular.js +93 -0
- package/dist/constants/agentAvatar3dModular.js.map +1 -0
- package/dist/constants/agentPresence3dLabels.d.ts +11 -0
- package/dist/constants/agentPresence3dLabels.js +12 -0
- package/dist/constants/agentPresence3dLabels.js.map +1 -0
- package/dist/constants/aiApiRoutes.d.ts +8 -0
- package/dist/constants/aiApiRoutes.js +23 -0
- package/dist/constants/aiApiRoutes.js.map +1 -0
- package/dist/functions/ai/agentAvatar3dArkitMorph.d.ts +14 -0
- package/dist/functions/ai/agentAvatar3dArkitMorph.js +149 -0
- package/dist/functions/ai/agentAvatar3dArkitMorph.js.map +1 -0
- package/dist/functions/ai/agentAvatar3dCapabilities.d.ts +44 -0
- package/dist/functions/ai/agentAvatar3dCapabilities.js +121 -0
- package/dist/functions/ai/agentAvatar3dCapabilities.js.map +1 -0
- package/dist/functions/ai/agentAvatar3dFacePresets.d.ts +13 -0
- package/dist/functions/ai/agentAvatar3dFacePresets.js +79 -0
- package/dist/functions/ai/agentAvatar3dFacePresets.js.map +1 -0
- package/dist/functions/ai/agentAvatar3dMaterialTint.d.ts +7 -0
- package/dist/functions/ai/agentAvatar3dMaterialTint.js +45 -0
- package/dist/functions/ai/agentAvatar3dMaterialTint.js.map +1 -0
- package/dist/functions/ai/agentAvatar3dMorphCatalog.d.ts +18 -0
- package/dist/functions/ai/agentAvatar3dMorphCatalog.js +222 -0
- package/dist/functions/ai/agentAvatar3dMorphCatalog.js.map +1 -0
- package/dist/functions/ai/applyAiAgentAvatar3dFace.d.ts +23 -0
- package/dist/functions/ai/applyAiAgentAvatar3dFace.js +140 -0
- package/dist/functions/ai/applyAiAgentAvatar3dFace.js.map +1 -0
- package/dist/functions/ai/buildResolvedLlmToolsList.d.ts +0 -1
- package/dist/functions/ai/buildResolvedLlmToolsList.js +0 -1
- package/dist/functions/ai/buildResolvedLlmToolsList.js.map +1 -1
- package/dist/functions/ai/getEffectiveAvatar3dMorphWeights.d.ts +3 -0
- package/dist/functions/ai/getEffectiveAvatar3dMorphWeights.js +28 -0
- package/dist/functions/ai/getEffectiveAvatar3dMorphWeights.js.map +1 -0
- package/dist/functions/ai/normalizeAiAgentAvatar3d.d.ts +4 -0
- package/dist/functions/ai/normalizeAiAgentAvatar3d.js +57 -0
- package/dist/functions/ai/normalizeAiAgentAvatar3d.js.map +1 -0
- package/dist/functions/ai/normalizeAiAgentAvatar3dFace.d.ts +4 -0
- package/dist/functions/ai/normalizeAiAgentAvatar3dFace.js +84 -0
- package/dist/functions/ai/normalizeAiAgentAvatar3dFace.js.map +1 -0
- package/dist/functions/ai/normalizeAiAgentAvatar3dModular.d.ts +14 -0
- package/dist/functions/ai/normalizeAiAgentAvatar3dModular.js +92 -0
- package/dist/functions/ai/normalizeAiAgentAvatar3dModular.js.map +1 -0
- package/dist/functions/ai/proceduralHumanoidMorph.d.ts +5 -0
- package/dist/functions/ai/proceduralHumanoidMorph.js +9 -0
- package/dist/functions/ai/proceduralHumanoidMorph.js.map +1 -0
- package/dist/functions/ai/randomizeAgentAvatar3dAppearance.d.ts +9 -0
- package/dist/functions/ai/randomizeAgentAvatar3dAppearance.js +108 -0
- package/dist/functions/ai/randomizeAgentAvatar3dAppearance.js.map +1 -0
- package/dist/functions/ai/randomizeModularAvatar3dAppearance.d.ts +7 -0
- package/dist/functions/ai/randomizeModularAvatar3dAppearance.js +60 -0
- package/dist/functions/ai/randomizeModularAvatar3dAppearance.js.map +1 -0
- package/dist/functions/ai/resolveAvatar3dModular.d.ts +4 -0
- package/dist/functions/ai/resolveAvatar3dModular.js +22 -0
- package/dist/functions/ai/resolveAvatar3dModular.js.map +1 -0
- package/dist/functions/api/createApiClient.d.ts +1 -6
- package/dist/functions/api/createApiClient.js +1 -55
- package/dist/functions/api/createApiClient.js.map +1 -1
- package/dist/functions/api/createPublicAuthRequest.js +3 -1
- package/dist/functions/api/createPublicAuthRequest.js.map +1 -1
- package/dist/functions/array/filterListExcludingIds.d.ts +0 -1
- package/dist/functions/array/filterListExcludingIds.js +0 -1
- package/dist/functions/array/filterListExcludingIds.js.map +1 -1
- package/dist/functions/browser/readBrowserAppendToBodyDeps.d.ts +3 -0
- package/dist/functions/browser/readBrowserAppendToBodyDeps.js +8 -0
- package/dist/functions/browser/readBrowserAppendToBodyDeps.js.map +1 -0
- package/dist/functions/browser/readBrowserDetectDeps.d.ts +2 -0
- package/dist/functions/browser/readBrowserDetectDeps.js +8 -5
- package/dist/functions/browser/readBrowserDetectDeps.js.map +1 -1
- package/dist/functions/browser/readBrowserHost.d.ts +60 -0
- package/dist/functions/browser/readBrowserHost.js +98 -0
- package/dist/functions/browser/readBrowserHost.js.map +1 -0
- package/dist/functions/browser/readBrowserImageCompressDeps.d.ts +2 -0
- package/dist/functions/browser/readBrowserImageCompressDeps.js +20 -11
- package/dist/functions/browser/readBrowserImageCompressDeps.js.map +1 -1
- package/dist/functions/browser/readBrowserLassoSelectionEnvironment.d.ts +4 -0
- package/dist/functions/browser/readBrowserLassoSelectionEnvironment.js +23 -0
- package/dist/functions/browser/readBrowserLassoSelectionEnvironment.js.map +1 -0
- package/dist/functions/browser/readBrowserVueHookDeps.d.ts +14 -0
- package/dist/functions/browser/readBrowserVueHookDeps.js +103 -0
- package/dist/functions/browser/readBrowserVueHookDeps.js.map +1 -0
- package/dist/functions/browser/requireBrowserLocalStorage.d.ts +2 -1
- package/dist/functions/browser/requireBrowserLocalStorage.js +3 -6
- package/dist/functions/browser/requireBrowserLocalStorage.js.map +1 -1
- package/dist/functions/chat/chatAppearancePrefs.d.ts +6 -1
- package/dist/functions/chat/chatAppearancePrefs.js +6 -4
- package/dist/functions/chat/chatAppearancePrefs.js.map +1 -1
- package/dist/functions/chat/chatMorePageConfig.js +8 -0
- package/dist/functions/chat/chatMorePageConfig.js.map +1 -1
- package/dist/functions/chat/chatShellTabConfig.d.ts +4 -1
- package/dist/functions/chat/chatShellTabConfig.js +14 -2
- package/dist/functions/chat/chatShellTabConfig.js.map +1 -1
- package/dist/functions/chat/createBrowserChatAppearanceModeAccess.d.ts +2 -1
- package/dist/functions/chat/createBrowserChatAppearanceModeAccess.js +8 -11
- package/dist/functions/chat/createBrowserChatAppearanceModeAccess.js.map +1 -1
- package/dist/functions/chat/createBrowserChatDownloadDirectoryPrefAccess.d.ts +2 -1
- package/dist/functions/chat/createBrowserChatDownloadDirectoryPrefAccess.js +12 -12
- package/dist/functions/chat/createBrowserChatDownloadDirectoryPrefAccess.js.map +1 -1
- package/dist/functions/chat/createBrowserChatFileMessageLocalPathAccess.d.ts +2 -1
- package/dist/functions/chat/createBrowserChatFileMessageLocalPathAccess.js +7 -14
- package/dist/functions/chat/createBrowserChatFileMessageLocalPathAccess.js.map +1 -1
- package/dist/functions/chat/createBrowserChatRootFontSizeAccess.d.ts +2 -1
- package/dist/functions/chat/createBrowserChatRootFontSizeAccess.js +13 -13
- package/dist/functions/chat/createBrowserChatRootFontSizeAccess.js.map +1 -1
- package/dist/functions/cloudDisk/buildCloudDiskListTabResult.d.ts +2 -2
- package/dist/functions/cloudDisk/collectElementIdsInContentLassoBox.d.ts +1 -19
- package/dist/functions/cloudDisk/collectElementIdsInContentLassoBox.js +1 -34
- package/dist/functions/cloudDisk/collectElementIdsInContentLassoBox.js.map +1 -1
- package/dist/functions/cloudDisk/createBrowserCloudDiskPrivacyStorageAccess.d.ts +2 -1
- package/dist/functions/cloudDisk/createBrowserCloudDiskPrivacyStorageAccess.js +11 -19
- package/dist/functions/cloudDisk/createBrowserCloudDiskPrivacyStorageAccess.js.map +1 -1
- package/dist/functions/cloudDisk/createBrowserCloudDiskQuickAccessStorageAccess.d.ts +2 -1
- package/dist/functions/cloudDisk/createBrowserCloudDiskQuickAccessStorageAccess.js +7 -11
- package/dist/functions/cloudDisk/createBrowserCloudDiskQuickAccessStorageAccess.js.map +1 -1
- package/dist/functions/cloudDisk/extractCloudDiskPrivateFolderData.d.ts +3 -3
- package/dist/functions/cloudDisk/extractCloudDiskPrivateFolderData.js.map +1 -1
- package/dist/functions/cloudDisk/mapCloudDiskFileToNode.d.ts +2 -2
- package/dist/functions/cloudDisk/mapCloudDiskFileToNode.js.map +1 -1
- package/dist/functions/cloudDisk/sortCloudDiskNodes.js +4 -4
- package/dist/functions/cloudDisk/sortCloudDiskNodes.js.map +1 -1
- package/dist/functions/dom/appTheme.d.ts +10 -0
- package/dist/functions/dom/appTheme.js +11 -0
- package/dist/functions/dom/appTheme.js.map +1 -0
- package/dist/functions/dom/copyHtmlAndPlainToClipboard.d.ts +3 -1
- package/dist/functions/dom/copyHtmlAndPlainToClipboard.js +14 -10
- package/dist/functions/dom/copyHtmlAndPlainToClipboard.js.map +1 -1
- package/dist/functions/dom/copyTextToClipboard.d.ts +3 -1
- package/dist/functions/dom/copyTextToClipboard.js +5 -4
- package/dist/functions/dom/copyTextToClipboard.js.map +1 -1
- package/dist/functions/dom/createTooltipLongPressHandlers.d.ts +24 -0
- package/dist/functions/dom/createTooltipLongPressHandlers.js +84 -0
- package/dist/functions/dom/createTooltipLongPressHandlers.js.map +1 -0
- package/dist/functions/dom/domDocumentSelection.d.ts +4 -0
- package/dist/functions/dom/domDocumentSelection.js +39 -0
- package/dist/functions/dom/domDocumentSelection.js.map +1 -0
- package/dist/functions/dom/domSelectionInElement.d.ts +4 -3
- package/dist/functions/dom/domSelectionInElement.js +10 -10
- package/dist/functions/dom/domSelectionInElement.js.map +1 -1
- package/dist/functions/dom/fetchBlobFromUrl.d.ts +7 -1
- package/dist/functions/dom/fetchBlobFromUrl.js +7 -5
- package/dist/functions/dom/fetchBlobFromUrl.js.map +1 -1
- package/dist/functions/dom/fileDrag.d.ts +11 -0
- package/dist/functions/dom/fileDrag.js +14 -0
- package/dist/functions/dom/fileDrag.js.map +1 -0
- package/dist/functions/dom/imageBlobToPng.d.ts +5 -4
- package/dist/functions/dom/imageBlobToPng.js +23 -16
- package/dist/functions/dom/imageBlobToPng.js.map +1 -1
- package/dist/functions/dom/lassoSelection.d.ts +84 -0
- package/dist/functions/dom/lassoSelection.js +199 -0
- package/dist/functions/dom/lassoSelection.js.map +1 -0
- package/dist/functions/dom/readBrowserDomDeps.d.ts +41 -0
- package/dist/functions/dom/readBrowserDomDeps.js +65 -0
- package/dist/functions/dom/readBrowserDomDeps.js.map +1 -0
- package/dist/functions/dom/resolveOverlayTeleportParent.d.ts +7 -0
- package/dist/functions/dom/resolveOverlayTeleportParent.js +11 -0
- package/dist/functions/dom/resolveOverlayTeleportParent.js.map +1 -0
- package/dist/functions/dom/safeBrowserDom.d.ts +17 -0
- package/dist/functions/dom/safeBrowserDom.js +42 -0
- package/dist/functions/dom/safeBrowserDom.js.map +1 -0
- package/dist/functions/dom/writeImageBlobToClipboard.d.ts +5 -1
- package/dist/functions/dom/writeImageBlobToClipboard.js +8 -5
- package/dist/functions/dom/writeImageBlobToClipboard.js.map +1 -1
- package/dist/functions/download/createBrowserDownloadDepsFromGlobalThis.d.ts +2 -0
- package/dist/functions/download/createBrowserDownloadDepsFromGlobalThis.js +9 -10
- package/dist/functions/download/createBrowserDownloadDepsFromGlobalThis.js.map +1 -1
- package/dist/functions/file/isJpegImageFile.d.ts +0 -1
- package/dist/functions/file/isJpegImageFile.js +0 -1
- package/dist/functions/file/isJpegImageFile.js.map +1 -1
- package/dist/functions/im/assignChatConversationToWindowLocation.d.ts +5 -1
- package/dist/functions/im/assignChatConversationToWindowLocation.js +5 -4
- package/dist/functions/im/assignChatConversationToWindowLocation.js.map +1 -1
- package/dist/functions/im/copyUsingClonedRangesOrMessagePlainText.d.ts +5 -1
- package/dist/functions/im/copyUsingClonedRangesOrMessagePlainText.js +11 -8
- package/dist/functions/im/copyUsingClonedRangesOrMessagePlainText.js.map +1 -1
- package/dist/functions/im/executeCopyChatMessageContent.d.ts +4 -1
- package/dist/functions/im/executeCopyChatMessageContent.js +6 -3
- package/dist/functions/im/executeCopyChatMessageContent.js.map +1 -1
- package/dist/functions/im/forwardBundleItemToChatMessage.js +9 -7
- package/dist/functions/im/forwardBundleItemToChatMessage.js.map +1 -1
- package/dist/functions/im/imBubbleSelectionClipboard.d.ts +2 -1
- package/dist/functions/im/imBubbleSelectionClipboard.js +10 -11
- package/dist/functions/im/imBubbleSelectionClipboard.js.map +1 -1
- package/dist/functions/im/imChatMessageCopyPlain.js +2 -2
- package/dist/functions/im/imChatMessageCopyPlain.js.map +1 -1
- package/dist/functions/im/imChatMessagePagination.d.ts +0 -1
- package/dist/functions/im/imChatMessagePagination.js +0 -1
- package/dist/functions/im/imChatMessagePagination.js.map +1 -1
- package/dist/functions/im/imForwardBundleTitle.js +2 -2
- package/dist/functions/im/imForwardBundleTitle.js.map +1 -1
- package/dist/functions/im/imForwardSnapshot.js +2 -2
- package/dist/functions/im/imForwardSnapshot.js.map +1 -1
- package/dist/functions/im/imImagePixelExtra.d.ts +0 -1
- package/dist/functions/im/imImagePixelExtra.js +0 -1
- package/dist/functions/im/imImagePixelExtra.js.map +1 -1
- package/dist/functions/im/imMessageNormalize.d.ts +2 -2
- package/dist/functions/im/imOrchestrationTypes.d.ts +5 -0
- package/dist/functions/im/imOrchestrationTypes.js +2 -0
- package/dist/functions/im/imOrchestrationTypes.js.map +1 -0
- package/dist/functions/im/imOutboundMediaHelpers.d.ts +7 -1
- package/dist/functions/im/imOutboundMediaHelpers.js +15 -7
- package/dist/functions/im/imOutboundMediaHelpers.js.map +1 -1
- package/dist/functions/im/imPlaceholderSnippet.d.ts +1 -1
- package/dist/functions/im/imPlaceholderSnippet.js +1 -1
- package/dist/functions/im/imPlaceholderSnippet.js.map +1 -1
- package/dist/functions/im/index.d.ts +2 -2
- package/dist/functions/im/index.js +2 -2
- package/dist/functions/im/index.js.map +1 -1
- package/dist/functions/im/newImClientMessageIdFromBrowser.d.ts +4 -3
- package/dist/functions/im/newImClientMessageIdFromBrowser.js +7 -15
- package/dist/functions/im/newImClientMessageIdFromBrowser.js.map +1 -1
- package/dist/functions/number/clampIndex.d.ts +1 -0
- package/dist/functions/number/clampIndex.js +6 -0
- package/dist/functions/number/clampIndex.js.map +1 -0
- package/dist/functions/qiankun/bootstrapQiankunDomPatch.d.ts +1 -0
- package/dist/functions/qiankun/bootstrapQiankunDomPatch.js +165 -0
- package/dist/functions/qiankun/bootstrapQiankunDomPatch.js.map +1 -0
- package/dist/functions/qiankun/createQiankunVueApp.d.ts +2 -0
- package/dist/functions/qiankun/createQiankunVueApp.js +4 -1
- package/dist/functions/qiankun/createQiankunVueApp.js.map +1 -1
- package/dist/functions/release/capacitorOtaReleaseManifestFetch.d.ts +2 -1
- package/dist/functions/release/capacitorOtaReleaseManifestFetch.js +3 -2
- package/dist/functions/release/capacitorOtaReleaseManifestFetch.js.map +1 -1
- package/dist/functions/release/capacitorReleaseManifestFetch.d.ts +2 -1
- package/dist/functions/release/capacitorReleaseManifestFetch.js +3 -2
- package/dist/functions/release/capacitorReleaseManifestFetch.js.map +1 -1
- package/dist/functions/release/capacitorUpdateDefaults.d.ts +4 -0
- package/dist/functions/release/capacitorUpdateDefaults.js +10 -10
- package/dist/functions/release/capacitorUpdateDefaults.js.map +1 -1
- package/dist/functions/release/createCapacitorUpdateFetchDeps.js +13 -7
- package/dist/functions/release/createCapacitorUpdateFetchDeps.js.map +1 -1
- package/dist/functions/release/createReleaseManifestFetchDeps.d.ts +1 -2
- package/dist/functions/release/createReleaseManifestFetchDeps.js +5 -10
- package/dist/functions/release/createReleaseManifestFetchDeps.js.map +1 -1
- package/dist/functions/release/electronReleaseManifestFetch.d.ts +4 -1
- package/dist/functions/release/electronReleaseManifestFetch.js +12 -7
- package/dist/functions/release/electronReleaseManifestFetch.js.map +1 -1
- package/dist/functions/release/isCapacitorWebViewOnViteDevServer.js +4 -4
- package/dist/functions/release/isCapacitorWebViewOnViteDevServer.js.map +1 -1
- package/dist/functions/release/readBrowserReleaseDeps.d.ts +14 -0
- package/dist/functions/release/readBrowserReleaseDeps.js +19 -0
- package/dist/functions/release/readBrowserReleaseDeps.js.map +1 -0
- package/dist/functions/release/releaseUpdateDismissSession.d.ts +3 -2
- package/dist/functions/release/releaseUpdateDismissSession.js +10 -7
- package/dist/functions/release/releaseUpdateDismissSession.js.map +1 -1
- package/dist/functions/release/verifyHttpContentLength.d.ts +2 -0
- package/dist/functions/release/verifyHttpContentLength.js +4 -1
- package/dist/functions/release/verifyHttpContentLength.js.map +1 -1
- package/dist/functions/storage/createBrowserSessionStorageKit.d.ts +12 -0
- package/dist/functions/storage/createBrowserSessionStorageKit.js +16 -0
- package/dist/functions/storage/createBrowserSessionStorageKit.js.map +1 -0
- package/dist/functions/storage/createBrowserStringStorageKit.d.ts +12 -0
- package/dist/functions/storage/createBrowserStringStorageKit.js +14 -0
- package/dist/functions/storage/createBrowserStringStorageKit.js.map +1 -0
- package/dist/functions/vue-router/normalizeWebHistoryBase.d.ts +1 -0
- package/dist/functions/vue-router/normalizeWebHistoryBase.js +19 -0
- package/dist/functions/vue-router/normalizeWebHistoryBase.js.map +1 -0
- package/dist/functions/vue-router/pushInAppRoute.d.ts +6 -0
- package/dist/functions/vue-router/pushInAppRoute.js +13 -0
- package/dist/functions/vue-router/pushInAppRoute.js.map +1 -0
- package/dist/functions/wallet/createBrowserWalletPayPasswordSessionAccess.d.ts +2 -1
- package/dist/functions/wallet/createBrowserWalletPayPasswordSessionAccess.js +5 -9
- package/dist/functions/wallet/createBrowserWalletPayPasswordSessionAccess.js.map +1 -1
- package/dist/permissions/catalog.d.ts +6 -0
- package/dist/permissions/catalog.js +33 -0
- package/dist/permissions/catalog.js.map +1 -1
- package/dist/schemas/auth.schema.d.ts +11 -358
- package/dist/schemas/auth.schema.js +5 -35
- package/dist/schemas/auth.schema.js.map +1 -1
- package/dist/schemas/video.schema.d.ts +98 -156
- package/dist/schemas/video.schema.js +9 -13
- package/dist/schemas/video.schema.js.map +1 -1
- package/dist/vue-hooks/browser/useBrowserFileObjectUrlMap.d.ts +7 -0
- package/dist/vue-hooks/browser/useBrowserFileObjectUrlMap.js +7 -0
- package/dist/vue-hooks/browser/useBrowserFileObjectUrlMap.js.map +1 -0
- package/dist/vue-hooks/browser/useFileObjectUrlMap.d.ts +19 -0
- package/dist/vue-hooks/browser/useFileObjectUrlMap.js +46 -0
- package/dist/vue-hooks/browser/useFileObjectUrlMap.js.map +1 -0
- package/dist/vue-hooks/dom/useBrowserFocusVisible.d.ts +9 -0
- package/dist/vue-hooks/dom/useBrowserFocusVisible.js +8 -0
- package/dist/vue-hooks/dom/useBrowserFocusVisible.js.map +1 -0
- package/dist/vue-hooks/dom/useBrowserLassoSelection.d.ts +16 -0
- package/dist/vue-hooks/dom/useBrowserLassoSelection.js +7 -0
- package/dist/vue-hooks/dom/useBrowserLassoSelection.js.map +1 -0
- package/dist/vue-hooks/dom/useFocusVisible.d.ts +17 -0
- package/dist/vue-hooks/dom/useFocusVisible.js +53 -0
- package/dist/vue-hooks/dom/useFocusVisible.js.map +1 -0
- package/dist/vue-hooks/dom/useLassoSelection.d.ts +53 -0
- package/dist/vue-hooks/dom/useLassoSelection.js +245 -0
- package/dist/vue-hooks/dom/useLassoSelection.js.map +1 -0
- package/dist/vue-hooks/time/useBrowserDelayedTrue.d.ts +2 -0
- package/dist/vue-hooks/time/useBrowserDelayedTrue.js +7 -0
- package/dist/vue-hooks/time/useBrowserDelayedTrue.js.map +1 -0
- package/dist/vue-hooks/time/useDelayedTrue.d.ts +11 -0
- package/dist/vue-hooks/time/useDelayedTrue.js +29 -0
- package/dist/vue-hooks/time/useDelayedTrue.js.map +1 -0
- package/package.json +55 -2
- package/types/address.d.ts +4 -35
- package/types/ai-admin.d.ts +33 -0
- package/types/ai-agent.d.ts +43 -0
- package/types/ai-chat.d.ts +39 -23
- package/types/api-contract-helpers.d.ts +24 -0
- package/types/api-contract.d.ts +6 -0
- package/types/auth.d.ts +15 -27
- package/types/cloud-disk.d.ts +38 -50
- package/types/community.d.ts +7 -0
- package/types/component-material.d.ts +40 -0
- package/types/im-ai-agent.d.ts +1 -1
- package/types/im-api.d.ts +12 -8
- package/types/im-call.d.ts +4 -3
- package/types/lowcode.d.ts +26 -0
- package/types/music.d.ts +4 -30
- package/types/notification.d.ts +4 -34
- package/types/openapi.d.ts +25040 -0
- package/types/order.d.ts +5 -57
- package/types/org.d.ts +13 -0
- package/types/oss.d.ts +4 -23
- package/types/page-config.d.ts +14 -14
- package/types/payment.d.ts +10 -20
- package/types/performance.d.ts +4 -11
- package/types/product.d.ts +5 -37
- package/types/rbac.d.ts +10 -34
- package/types/recharge.d.ts +11 -0
- package/types/report.d.ts +7 -25
- package/types/review.d.ts +11 -13
- package/types/sticker-pack.d.ts +10 -25
- package/types/user.d.ts +11 -33
- package/types/video.d.ts +15 -66
- package/types/vue.d.ts +9 -1
- package/dist/functions/file/extractVideoCover.d.ts +0 -6
- package/dist/functions/file/extractVideoCover.js +0 -57
- package/dist/functions/file/extractVideoCover.js.map +0 -1
- package/dist/functions/im/imInlineContentTokens.d.ts +0 -49
- package/dist/functions/im/imInlineContentTokens.js +0 -185
- package/dist/functions/im/imInlineContentTokens.js.map +0 -1
- package/dist/functions/im/materializeUploadFileFromMediaBlobRecord.d.ts +0 -7
- package/dist/functions/im/materializeUploadFileFromMediaBlobRecord.js +0 -10
- package/dist/functions/im/materializeUploadFileFromMediaBlobRecord.js.map +0 -1
- package/dist/functions/im/parseImMentionSegments.d.ts +0 -19
- package/dist/functions/im/parseImMentionSegments.js +0 -92
- package/dist/functions/im/parseImMentionSegments.js.map +0 -1
- package/dist/functions/image/compressImageToWidth.d.ts +0 -12
- package/dist/functions/image/compressImageToWidth.js +0 -44
- package/dist/functions/image/compressImageToWidth.js.map +0 -1
- package/dist/functions/image/compressJpgToTargetSize.d.ts +0 -13
- package/dist/functions/image/compressJpgToTargetSize.js +0 -132
- package/dist/functions/image/compressJpgToTargetSize.js.map +0 -1
- package/dist/functions/image/compressToTargetSize.d.ts +0 -13
- package/dist/functions/image/compressToTargetSizeJpg.d.ts +0 -13
- package/dist/functions/image/compressToTargetSizeJpg.js +0 -132
- package/dist/functions/image/compressToTargetSizeJpg.js.map +0 -1
- package/dist/permissions/allPermissionCode.js.map +0 -1
- package/dist/permissions/definePermissionGroup.js.map +0 -1
- package/dist/permissions/groups.js.map +0 -1
package/types/cloud-disk.d.ts
CHANGED
|
@@ -1,56 +1,59 @@
|
|
|
1
|
-
|
|
1
|
+
import type { ApiSchema } from './api-contract'
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
export type
|
|
3
|
+
/** API 契约:GET /cloud-disk/files 单条 */
|
|
4
|
+
export type CloudDiskFile = ApiSchema['CloudDiskFile']
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type CloudDiskNodeKind = 'file' | 'folder'
|
|
7
|
+
|
|
8
|
+
export type CloudDiskFileCategory = 'image' | 'doc' | 'video' | 'audio' | 'other'
|
|
9
|
+
|
|
10
|
+
export type CloudDiskMediaAttachmentKind = 'image' | 'video' | 'file'
|
|
11
|
+
|
|
12
|
+
/** 客户端列表/网格视图节点(由 {@link CloudDiskFile} 映射) */
|
|
13
|
+
export interface CloudDiskNode {
|
|
7
14
|
id: string
|
|
8
15
|
name: string
|
|
9
16
|
kind: CloudDiskNodeKind
|
|
10
17
|
parent_id: string | null
|
|
11
|
-
owner_id
|
|
12
|
-
size?: number
|
|
13
|
-
mime_type?: string
|
|
14
|
-
updated_at
|
|
18
|
+
owner_id?: string
|
|
19
|
+
size?: number
|
|
20
|
+
mime_type?: string
|
|
21
|
+
updated_at?: string
|
|
15
22
|
created_at?: string
|
|
16
23
|
path_breadcrumb?: string | null
|
|
17
24
|
is_starred?: boolean
|
|
18
25
|
is_shared?: boolean
|
|
19
26
|
is_private?: boolean
|
|
20
27
|
deleted_at?: string | null
|
|
21
|
-
url?: string
|
|
22
|
-
thumbnail_url?: string
|
|
28
|
+
url?: string
|
|
29
|
+
thumbnail_url?: string
|
|
23
30
|
}
|
|
24
31
|
|
|
25
|
-
export type
|
|
32
|
+
export type CloudDiskListTab = 'recent' | 'shared' | 'trash'
|
|
26
33
|
|
|
27
|
-
|
|
28
|
-
|
|
34
|
+
export interface CloudDiskListResult {
|
|
35
|
+
items: CloudDiskNode[]
|
|
36
|
+
total: number
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface CloudDiskPrivateFolderEntry {
|
|
40
|
+
id: string
|
|
41
|
+
path: string
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface CloudDiskPrivateFolderGuard {
|
|
45
|
+
privateEntries: readonly CloudDiskPrivateFolderEntry[]
|
|
46
|
+
parentMap: ReadonlyMap<string, string | null | undefined>
|
|
47
|
+
unlockedFolderIds: ReadonlySet<string>
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface CloudDiskNodeDragPayload {
|
|
29
51
|
id: string
|
|
30
|
-
user_id: string
|
|
31
52
|
name: string
|
|
32
|
-
|
|
53
|
+
kind?: CloudDiskNodeKind
|
|
33
54
|
parent_id?: string | null
|
|
34
|
-
path?: string
|
|
35
|
-
mime_type?: string | null
|
|
36
|
-
size?: number | null
|
|
37
|
-
is_starred?: boolean
|
|
38
|
-
is_shared?: boolean
|
|
39
|
-
is_private?: boolean
|
|
40
|
-
created_at?: string
|
|
41
|
-
updated_at: string
|
|
42
|
-
deleted_at?: string | null
|
|
43
|
-
url?: string | null
|
|
44
|
-
thumbnail_url?: string | null
|
|
45
55
|
}
|
|
46
56
|
|
|
47
|
-
export type CloudDiskFileCategory =
|
|
48
|
-
| 'image'
|
|
49
|
-
| 'doc'
|
|
50
|
-
| 'video'
|
|
51
|
-
| 'audio'
|
|
52
|
-
| 'other'
|
|
53
|
-
|
|
54
57
|
export type CloudDiskUploadPhase =
|
|
55
58
|
| 'preparing'
|
|
56
59
|
| 'uploading'
|
|
@@ -58,25 +61,10 @@ export type CloudDiskUploadPhase =
|
|
|
58
61
|
| 'done'
|
|
59
62
|
| 'failed'
|
|
60
63
|
|
|
61
|
-
export
|
|
64
|
+
export interface CloudDiskUploadTask {
|
|
62
65
|
id: string
|
|
63
66
|
name: string
|
|
64
|
-
progress: number
|
|
65
67
|
phase: CloudDiskUploadPhase
|
|
68
|
+
progress: number
|
|
66
69
|
error?: string
|
|
67
70
|
}
|
|
68
|
-
|
|
69
|
-
export type CloudDiskPrivateFolderEntry = { id: string; path: string }
|
|
70
|
-
|
|
71
|
-
export type CloudDiskMediaAttachmentKind = 'image' | 'video' | 'file'
|
|
72
|
-
|
|
73
|
-
export type CloudDiskPrivateFolderGuard = {
|
|
74
|
-
privateEntries: readonly CloudDiskPrivateFolderEntry[]
|
|
75
|
-
parentMap: ReadonlyMap<string, string | null | undefined>
|
|
76
|
-
unlockedFolderIds: ReadonlySet<string>
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export type CloudDiskNodeDragPayload = {
|
|
80
|
-
id: string
|
|
81
|
-
name: string
|
|
82
|
-
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ApiSchema } from './api-contract'
|
|
2
|
+
|
|
3
|
+
export type CommunityPost = ApiSchema['CommunityPost']
|
|
4
|
+
|
|
5
|
+
export type CreateCommunityPostPayload = ApiSchema['CreateCommunityPostRequest']
|
|
6
|
+
|
|
7
|
+
export type UpdateCommunityPostPayload = ApiSchema['UpdateCommunityPostRequest']
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { Component } from 'vue'
|
|
2
|
+
|
|
3
|
+
/** 组件物料属性字段类型(设计器属性面板) */
|
|
4
|
+
export type ComponentPropFieldType =
|
|
5
|
+
| 'string'
|
|
6
|
+
| 'number'
|
|
7
|
+
| 'boolean'
|
|
8
|
+
| { type: 'select'; options: string[] }
|
|
9
|
+
|
|
10
|
+
/** 组件物料元信息(由 types.ts Props + 模板 slots + vue-ui materialMeta 推导) */
|
|
11
|
+
export interface ComponentMaterialMeta {
|
|
12
|
+
props: Record<string, ComponentPropFieldType>
|
|
13
|
+
slots?: string[]
|
|
14
|
+
acceptsChildren?: boolean
|
|
15
|
+
/** vue-ui materialMeta.type:component 叶子 / container 容器 */
|
|
16
|
+
materialType?: 'component' | 'container'
|
|
17
|
+
/** 拖入画布时的初始 prop(覆盖类型推导的空字符串/0/false) */
|
|
18
|
+
defaultProps?: Record<string, unknown>
|
|
19
|
+
/** 叶子组件默认插槽文案(如按钮文字;不写入 schema,仅辅助首次展示) */
|
|
20
|
+
defaultSlotContent?: Partial<Record<string, string>>
|
|
21
|
+
/** 来自 vue-ui materialMeta.preview:设计器画布尺寸与需挂接的 slot */
|
|
22
|
+
preview?: {
|
|
23
|
+
minWidth?: number
|
|
24
|
+
minHeight?: number
|
|
25
|
+
slots?: string[]
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/** 组件物料条目(运行时含 Vue 组件引用) */
|
|
30
|
+
export interface ComponentMaterialItem {
|
|
31
|
+
id: string
|
|
32
|
+
displayName: string
|
|
33
|
+
component: Component
|
|
34
|
+
meta: ComponentMaterialMeta
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface ComponentMaterialCategory {
|
|
38
|
+
category: string
|
|
39
|
+
children: ComponentMaterialItem[]
|
|
40
|
+
}
|
package/types/im-ai-agent.d.ts
CHANGED
package/types/im-api.d.ts
CHANGED
|
@@ -3,14 +3,13 @@
|
|
|
3
3
|
*
|
|
4
4
|
* - **终端 UI 展示**见 `zcw-shared/types/im-chat`(`ChatMessage` / `ChatConversation`,camelCase、含 sender 对象等),
|
|
5
5
|
* 与本文件的 `ImApiMessage` 在设计上不同:前者是列表/气泡视图模型,后者是接口契约。
|
|
6
|
+
* - 核心 HTTP 形状以 `ApiSchema['ImApiMessage']` / `ImApiConversation` 为契约来源,此处放宽 `id` 与 `extra_data` 以兼容多存储驱动。
|
|
6
7
|
*/
|
|
7
8
|
|
|
9
|
+
import type { ApiSchema } from './api-contract'
|
|
10
|
+
|
|
8
11
|
/** 出站投递状态(与送达已读 status 分离);库内成功落库行一般为 success */
|
|
9
|
-
export type ImOutboundStatus =
|
|
10
|
-
| 'queued'
|
|
11
|
-
| 'sending'
|
|
12
|
-
| 'failed'
|
|
13
|
-
| 'success'
|
|
12
|
+
export type ImOutboundStatus = NonNullable<ApiSchema['ImApiMessage']['outbound_status']>
|
|
14
13
|
|
|
15
14
|
/** ImProxy 落库:用户停止或模型/流异常时的助手消息标记 */
|
|
16
15
|
export interface ImApiAiReplyExtra {
|
|
@@ -63,13 +62,16 @@ export interface ImApiMessage {
|
|
|
63
62
|
* 智能体中断回复:`extra_data.ai_reply` 见 {@link ImApiAiReplyExtra}。
|
|
64
63
|
* 智能体回复用量:`extra_data.llm_context` 见 `types/im-llm-context.d.ts` 的 {@link ImLlmContextExtra}。
|
|
65
64
|
*/
|
|
66
|
-
extra_data?:
|
|
65
|
+
extra_data?: any
|
|
67
66
|
created_at?: string
|
|
68
67
|
updated_at?: string
|
|
69
68
|
/** 软删除时刻(ISO);存在时列表接口不应返回该条(服务端过滤) */
|
|
70
69
|
deleted_at?: string | null
|
|
71
70
|
}
|
|
72
71
|
|
|
72
|
+
/** TypeSpec 契约形状(`id` 为 string;`extra_data` 为 unknown) */
|
|
73
|
+
export type ImApiMessageContract = ApiSchema['ImApiMessage']
|
|
74
|
+
|
|
73
75
|
/** 会话对象(接口返回;成员 id 列表 + 可选最后一条消息) */
|
|
74
76
|
export interface ImApiConversation {
|
|
75
77
|
id: string
|
|
@@ -88,6 +90,8 @@ export interface ImApiConversation {
|
|
|
88
90
|
updated_at?: string
|
|
89
91
|
}
|
|
90
92
|
|
|
93
|
+
export type ImApiConversationContract = ApiSchema['ImApiConversation']
|
|
94
|
+
|
|
91
95
|
/** `registerMediaOutbound` 响应:附件 id、已落库消息、OSS 直传目标 */
|
|
92
96
|
export interface ImRegisterMediaOutboundResult {
|
|
93
97
|
attachmentId: string
|
|
@@ -113,7 +117,7 @@ export interface ImDbMessageRow {
|
|
|
113
117
|
client_message_id?: string | null
|
|
114
118
|
send_retry_count?: number | null
|
|
115
119
|
outbound_status?: string | null
|
|
116
|
-
extra_data?:
|
|
120
|
+
extra_data?: any
|
|
117
121
|
created_at?: string
|
|
118
122
|
updated_at?: string
|
|
119
123
|
deleted_at?: string | null
|
|
@@ -157,7 +161,7 @@ export type ImMessage = ImApiMessage
|
|
|
157
161
|
/** 与 `ImApiConversation` 相同 */
|
|
158
162
|
export type ImConversation = ImApiConversation
|
|
159
163
|
|
|
160
|
-
/**
|
|
164
|
+
/** @deprecated 请使用 {@link ImConversation} */
|
|
161
165
|
export type Conversation = ImApiConversation
|
|
162
166
|
|
|
163
167
|
export type RegisterMediaOutboundResult = ImRegisterMediaOutboundResult
|
package/types/im-call.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { ApiOpData } from './api-contract'
|
|
2
|
+
|
|
1
3
|
/** IM 实时通话媒体类型(WebRTC,非文件消息) */
|
|
2
4
|
export type ImCallMedia = 'audio' | 'video'
|
|
3
5
|
|
|
@@ -39,6 +41,5 @@ export interface ImCallSignalEventPayload extends ImCallSignalPayload {
|
|
|
39
41
|
fromUserId: string
|
|
40
42
|
}
|
|
41
43
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
44
|
+
/** GET /im/call/ice-servers → `ApiEnvelope.data` */
|
|
45
|
+
export type ImCallIceServersData = ApiOpData<'ImCore_callIceServers'>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ApiSchema } from './api-contract'
|
|
2
|
+
|
|
3
|
+
/** 可序列化节点(不含 Vue Component 引用) */
|
|
4
|
+
export interface LowcodeNodeSnapshot {
|
|
5
|
+
id: string
|
|
6
|
+
typeId: string
|
|
7
|
+
props: Record<string, unknown>
|
|
8
|
+
children?: LowcodeNodeSnapshot[]
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/** 低代码页面 schema(存库 / 运行时) */
|
|
12
|
+
export type LowcodePageSchema = Omit<ApiSchema['LowcodePageSchema'], 'root'> & {
|
|
13
|
+
version: '1.0'
|
|
14
|
+
root: LowcodeNodeSnapshot[]
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export type LowcodeApp = ApiSchema['LowcodeApp']
|
|
18
|
+
export type LowcodePage = ApiSchema['LowcodePage']
|
|
19
|
+
export type LowcodePageDetail = ApiSchema['LowcodePageDetail']
|
|
20
|
+
export type LowcodeRuntimePage = ApiSchema['LowcodeRuntimePage']
|
|
21
|
+
export type LowcodeRuntimePageMeta = ApiSchema['LowcodeRuntimePageSummary']
|
|
22
|
+
|
|
23
|
+
export const EMPTY_LOWCODE_PAGE_SCHEMA: LowcodePageSchema = {
|
|
24
|
+
version: '1.0',
|
|
25
|
+
root: [],
|
|
26
|
+
}
|
package/types/music.d.ts
CHANGED
|
@@ -1,33 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
id: number
|
|
3
|
-
title: string
|
|
4
|
-
artist: string
|
|
5
|
-
cover_url?: string
|
|
6
|
-
audio_url?: string
|
|
7
|
-
duration?: number
|
|
8
|
-
lyrics?: string
|
|
9
|
-
tags?: string[]
|
|
10
|
-
like_count?: number
|
|
11
|
-
comment_count?: number
|
|
12
|
-
share_count?: number
|
|
13
|
-
play_count?: number
|
|
14
|
-
created_at?: string
|
|
15
|
-
updated_at?: string
|
|
16
|
-
}
|
|
1
|
+
import type { ApiSchema } from './api-contract'
|
|
17
2
|
|
|
18
|
-
export
|
|
19
|
-
data: MusicTrack[]
|
|
20
|
-
total: number
|
|
21
|
-
limit: number
|
|
22
|
-
offset: number
|
|
23
|
-
}
|
|
3
|
+
export type MusicTrack = ApiSchema['MusicTrack']
|
|
24
4
|
|
|
25
|
-
export
|
|
26
|
-
data: MusicTrack
|
|
27
|
-
}
|
|
5
|
+
export type CreateMusicPayload = ApiSchema['CreateMusicTrackRequest']
|
|
28
6
|
|
|
29
|
-
export
|
|
30
|
-
extends Omit<MusicTrack, 'id' | 'created_at' | 'updated_at'> {}
|
|
31
|
-
|
|
32
|
-
export interface UpdateMusicPayload
|
|
33
|
-
extends Partial<Omit<MusicTrack, 'id' | 'created_at' | 'updated_at'>> {}
|
|
7
|
+
export type UpdateMusicPayload = ApiSchema['UpdateMusicTrackRequest']
|
package/types/notification.d.ts
CHANGED
|
@@ -1,37 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
| 'system'
|
|
3
|
-
| 'comment'
|
|
4
|
-
| 'reply'
|
|
5
|
-
| 'like'
|
|
6
|
-
| 'follow'
|
|
7
|
-
| 'post'
|
|
8
|
-
| 'order'
|
|
9
|
-
| 'payment'
|
|
1
|
+
import type { ApiSchema } from './api-contract'
|
|
10
2
|
|
|
11
|
-
export
|
|
12
|
-
id: number
|
|
13
|
-
user_id?: string
|
|
14
|
-
type?: NotificationType
|
|
15
|
-
title?: string
|
|
16
|
-
content?: string
|
|
17
|
-
status?: string
|
|
18
|
-
related_id?: string
|
|
19
|
-
related_type?: string
|
|
20
|
-
extra_data?: Record<string, unknown>
|
|
21
|
-
created_at?: string
|
|
22
|
-
updated_at?: string
|
|
23
|
-
}
|
|
3
|
+
export type NotificationType = ApiSchema['NotificationSummary']['type']
|
|
24
4
|
|
|
25
|
-
export
|
|
26
|
-
data: Notification[]
|
|
27
|
-
}
|
|
5
|
+
export type Notification = ApiSchema['NotificationSummary']
|
|
28
6
|
|
|
29
|
-
export
|
|
30
|
-
user_id: string
|
|
31
|
-
type: NotificationType
|
|
32
|
-
title: string
|
|
33
|
-
content?: string
|
|
34
|
-
related_id?: string
|
|
35
|
-
related_type?: string
|
|
36
|
-
extra_data?: Record<string, unknown>
|
|
37
|
-
}
|
|
7
|
+
export type CreateNotificationPayload = ApiSchema['CreateNotificationRequest']
|