zcw-shared 2.26.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/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/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/browser/readBrowserHost.d.ts +3 -0
- package/dist/functions/browser/readBrowserHost.js +42 -5
- package/dist/functions/browser/readBrowserHost.js.map +1 -1
- package/dist/functions/browser/readBrowserImageCompressDeps.js +11 -5
- package/dist/functions/browser/readBrowserImageCompressDeps.js.map +1 -1
- package/dist/functions/browser/readBrowserLassoSelectionEnvironment.js +3 -3
- package/dist/functions/browser/readBrowserLassoSelectionEnvironment.js.map +1 -1
- package/dist/functions/browser/readBrowserVueHookDeps.js +22 -4
- package/dist/functions/browser/readBrowserVueHookDeps.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/createBrowserChatRootFontSizeAccess.js +1 -2
- package/dist/functions/chat/createBrowserChatRootFontSizeAccess.js.map +1 -1
- package/dist/functions/cloudDisk/buildCloudDiskListTabResult.d.ts +2 -2
- 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/readBrowserDomDeps.js +9 -7
- package/dist/functions/dom/readBrowserDomDeps.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/imChatMessageCopyPlain.js +2 -2
- package/dist/functions/im/imChatMessageCopyPlain.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/imMessageNormalize.d.ts +2 -2
- 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/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/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/permissions/catalog.d.ts +2 -0
- package/dist/permissions/catalog.js +11 -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/dom/useLassoSelection.js +4 -3
- package/dist/vue-hooks/dom/useLassoSelection.js.map +1 -1
- package/package.json +29 -3
- 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/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 +10 -47
- 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 +11 -32
- 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/lowcode.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export interface LowcodePageSchema {
|
|
3
|
-
version: '1.0'
|
|
4
|
-
root: LowcodeNodeSnapshot[]
|
|
5
|
-
}
|
|
1
|
+
import type { ApiSchema } from './api-contract'
|
|
6
2
|
|
|
7
3
|
/** 可序列化节点(不含 Vue Component 引用) */
|
|
8
4
|
export interface LowcodeNodeSnapshot {
|
|
@@ -12,50 +8,17 @@ export interface LowcodeNodeSnapshot {
|
|
|
12
8
|
children?: LowcodeNodeSnapshot[]
|
|
13
9
|
}
|
|
14
10
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
description?: string | null
|
|
20
|
-
status: 'active' | 'inactive'
|
|
21
|
-
created_at?: string
|
|
22
|
-
updated_at?: string
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface LowcodePage {
|
|
26
|
-
id: string
|
|
27
|
-
app_id: string
|
|
28
|
-
page_key: string
|
|
29
|
-
title: string
|
|
30
|
-
route_path: string
|
|
31
|
-
draft_schema: LowcodePageSchema | Record<string, unknown>
|
|
32
|
-
published_schema?: LowcodePageSchema | Record<string, unknown> | null
|
|
33
|
-
published_at?: string | null
|
|
34
|
-
status: 'active' | 'inactive'
|
|
35
|
-
created_at?: string
|
|
36
|
-
updated_at?: string
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export interface LowcodePageDetail extends LowcodePage {
|
|
40
|
-
app_key: string
|
|
41
|
-
app_name: string
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export interface LowcodeRuntimePage {
|
|
45
|
-
app_key: string
|
|
46
|
-
page_key: string
|
|
47
|
-
title: string
|
|
48
|
-
route_path: string
|
|
49
|
-
schema: LowcodePageSchema | Record<string, unknown>
|
|
50
|
-
published_at?: string | null
|
|
11
|
+
/** 低代码页面 schema(存库 / 运行时) */
|
|
12
|
+
export type LowcodePageSchema = Omit<ApiSchema['LowcodePageSchema'], 'root'> & {
|
|
13
|
+
version: '1.0'
|
|
14
|
+
root: LowcodeNodeSnapshot[]
|
|
51
15
|
}
|
|
52
16
|
|
|
53
|
-
export
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
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']
|
|
59
22
|
|
|
60
23
|
export const EMPTY_LOWCODE_PAGE_SCHEMA: LowcodePageSchema = {
|
|
61
24
|
version: '1.0',
|
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']
|