@spatialwalk/avatarkit 1.0.0-beta.36 → 1.0.0-beta.38
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/CHANGELOG.md +13 -0
- package/dist/{StreamingAudioPlayer-GTu9p5GZ.js → StreamingAudioPlayer-cqWu1mBO.js} +77 -16
- package/dist/admin/eslint.config.d.ts +2 -0
- package/dist/admin/generated/buf/validate/validate.d.ts +397 -0
- package/dist/admin/generated/common/v1/models.d.ts +29 -0
- package/dist/admin/generated/console/v1/admin_app.d.ts +77 -0
- package/dist/admin/generated/console/v1/admin_auth.d.ts +69 -0
- package/dist/admin/generated/console/v1/admin_config.d.ts +157 -0
- package/dist/admin/generated/console/v1/admin_user.d.ts +84 -0
- package/dist/admin/generated/console/v1/admin_user_character.d.ts +107 -0
- package/dist/admin/generated/console/v1/app.d.ts +116 -0
- package/dist/admin/generated/console/v1/auth.d.ts +199 -0
- package/dist/admin/generated/console/v1/character.d.ts +74 -0
- package/dist/admin/generated/console/v1/collection_task.d.ts +183 -0
- package/dist/admin/generated/console/v1/console.d.ts +163 -0
- package/dist/admin/generated/console/v1/gpu_task.d.ts +274 -0
- package/dist/admin/generated/console/v1/instance_management.d.ts +156 -0
- package/dist/admin/generated/console/v1/material.d.ts +180 -0
- package/dist/admin/generated/console/v1/pipetemplate.d.ts +106 -0
- package/dist/admin/generated/console/v1/task.d.ts +292 -0
- package/dist/admin/generated/console/v2/async_processing.d.ts +85 -0
- package/dist/admin/generated/google/api/annotations.d.ts +1 -0
- package/dist/admin/generated/google/api/http.d.ts +47 -0
- package/dist/admin/generated/google/protobuf/any.d.ts +27 -0
- package/dist/admin/generated/google/protobuf/descriptor.d.ts +513 -0
- package/dist/admin/generated/google/protobuf/duration.d.ts +27 -0
- package/dist/admin/generated/google/protobuf/empty.d.ts +25 -0
- package/dist/admin/generated/google/protobuf/struct.d.ts +74 -0
- package/dist/admin/generated/google/protobuf/timestamp.d.ts +27 -0
- package/dist/admin/generated/jsonapi/v1/base.d.ts +108 -0
- package/dist/admin/generated/platform/v1/asset_groups.d.ts +204 -0
- package/dist/admin/generated/platform/v1/assets.d.ts +141 -0
- package/dist/admin/generated/platform/v1/auth.d.ts +79 -0
- package/dist/admin/generated/platform/v1/character.d.ts +385 -0
- package/dist/admin/generated/platform/v1/character_template.d.ts +124 -0
- package/dist/admin/generated/platform/v1/christmas_characters.d.ts +118 -0
- package/dist/admin/generated/platform/v1/collection_task.d.ts +60 -0
- package/dist/admin/generated/platform/v1/config.d.ts +130 -0
- package/dist/admin/generated/platform/v1/configkv.d.ts +105 -0
- package/dist/admin/generated/platform/v1/console.d.ts +29 -0
- package/dist/admin/generated/platform/v1/gpu_task.d.ts +268 -0
- package/dist/admin/generated/platform/v1/instance_management.d.ts +156 -0
- package/dist/admin/generated/platform/v1/joi_model_apply.d.ts +100 -0
- package/dist/admin/generated/platform/v1/material.d.ts +29 -0
- package/dist/admin/generated/platform/v1/model_evaluation.d.ts +100 -0
- package/dist/admin/generated/platform/v1/oss.d.ts +53 -0
- package/dist/admin/generated/platform/v1/pipetemplate.d.ts +106 -0
- package/dist/admin/generated/platform/v1/provider.d.ts +141 -0
- package/dist/admin/generated/platform/v1/redeem.d.ts +83 -0
- package/dist/admin/generated/platform/v1/sms_send_log.d.ts +95 -0
- package/dist/admin/generated/platform/v1/task.d.ts +39 -0
- package/dist/admin/generated/platform/v1/user.d.ts +142 -0
- package/dist/admin/generated/platform/v1/voice.d.ts +141 -0
- package/dist/admin/generated/realtime/v1/auth.d.ts +77 -0
- package/dist/admin/generated/realtime/v1/customized.d.ts +60 -0
- package/dist/admin/generated/realtime/v1/messages.d.ts +156 -0
- package/dist/admin/generated/realtime/v1/realtime.d.ts +67 -0
- package/dist/admin/generated/realtime/v1/redeem.d.ts +44 -0
- package/dist/admin/generated/realtime/v1/user.d.ts +150 -0
- package/dist/admin/generated/realtime/v2/auth.d.ts +68 -0
- package/dist/admin/generated/realtime/v2/callback.d.ts +56 -0
- package/dist/admin/generated/realtime/v2/joi_avatar.d.ts +204 -0
- package/dist/admin/generated/realtime/v2/model_apply.d.ts +138 -0
- package/dist/admin/generated/realtime/v2/realtime.d.ts +70 -0
- package/dist/admin/generated/realtime/v2/user.d.ts +96 -0
- package/dist/admin/openapi-ts.config.d.ts +8 -0
- package/dist/admin/src/apis/useAssetApi.d.ts +17 -0
- package/dist/admin/src/apis/useAssetGroupApi.d.ts +26 -0
- package/dist/admin/src/apis/useCharacterApi.d.ts +21 -0
- package/dist/admin/src/apis/useCharacterTemplateApi.d.ts +20 -0
- package/dist/admin/src/apis/useChristmasCharactersApi.d.ts +40 -0
- package/dist/admin/src/apis/useCollectionTaskApi.d.ts +64 -0
- package/dist/admin/src/apis/useConfigApi.d.ts +16 -0
- package/dist/admin/src/apis/useConsoleApi.d.ts +24 -0
- package/dist/admin/src/apis/useGpuTaskApi.d.ts +41 -0
- package/dist/admin/src/apis/useInstanceManagementApi.d.ts +19 -0
- package/dist/admin/src/apis/useJoiModelApplyApi.d.ts +11 -0
- package/dist/admin/src/apis/useMaterialApi.d.ts +1 -0
- package/dist/admin/src/apis/useOssApi.d.ts +15 -0
- package/dist/admin/src/apis/usePipelineTemplateApi.d.ts +8 -0
- package/dist/admin/src/apis/useProviderApi.d.ts +16 -0
- package/dist/admin/src/apis/useRedeemApi.d.ts +5 -0
- package/dist/admin/src/apis/useSmsSendLogApi.d.ts +14 -0
- package/dist/admin/src/apis/useTaskApi.d.ts +66 -0
- package/dist/admin/src/apis/useUserApi.d.ts +17 -0
- package/dist/admin/src/apis/useVoiceApi.d.ts +15 -0
- package/dist/admin/src/client/client/client.gen.d.ts +2 -0
- package/dist/admin/src/client/client/index.d.ts +8 -0
- package/dist/admin/src/client/client/types.gen.d.ts +70 -0
- package/dist/admin/src/client/client/utils.gen.d.ts +31 -0
- package/dist/admin/src/client/client.gen.d.ts +5 -0
- package/dist/admin/src/client/core/auth.gen.d.ts +8 -0
- package/dist/admin/src/client/core/bodySerializer.gen.d.ts +21 -0
- package/dist/admin/src/client/core/params.gen.d.ts +27 -0
- package/dist/admin/src/client/core/pathSerializer.gen.d.ts +30 -0
- package/dist/admin/src/client/core/queryKeySerializer.gen.d.ts +9 -0
- package/dist/admin/src/client/core/serverSentEvents.gen.d.ts +23 -0
- package/dist/admin/src/client/core/types.gen.d.ts +32 -0
- package/dist/admin/src/client/core/utils.gen.d.ts +19 -0
- package/dist/admin/src/client/index.d.ts +2 -0
- package/dist/admin/src/client/sdk.gen.d.ts +265 -0
- package/dist/admin/src/client/types.gen.d.ts +4256 -0
- package/dist/admin/src/client/valibot.gen.d.ts +8292 -0
- package/dist/admin/src/components/ui/alert/index.d.ts +8 -0
- package/dist/admin/src/components/ui/alert-dialog/index.d.ts +9 -0
- package/dist/admin/src/components/ui/avatar/index.d.ts +9 -0
- package/dist/admin/src/components/ui/badge/index.d.ts +6 -0
- package/dist/admin/src/components/ui/breadcrumb/index.d.ts +7 -0
- package/dist/admin/src/components/ui/button/index.d.ts +7 -0
- package/dist/admin/src/components/ui/card/index.d.ts +6 -0
- package/dist/admin/src/components/ui/checkbox/index.d.ts +1 -0
- package/dist/admin/src/components/ui/collapsible/index.d.ts +3 -0
- package/dist/admin/src/components/ui/combobox/index.d.ts +9 -0
- package/dist/admin/src/components/ui/dialog/index.d.ts +9 -0
- package/dist/admin/src/components/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/admin/src/components/ui/filter-popover/index.d.ts +1 -0
- package/dist/admin/src/components/ui/form/index.d.ts +7 -0
- package/dist/admin/src/components/ui/form/injectionKeys.d.ts +2 -0
- package/dist/admin/src/components/ui/form/useFormField.d.ts +11 -0
- package/dist/admin/src/components/ui/input/index.d.ts +1 -0
- package/dist/admin/src/components/ui/label/index.d.ts +1 -0
- package/dist/admin/src/components/ui/popover/index.d.ts +4 -0
- package/dist/admin/src/components/ui/progress/index.d.ts +1 -0
- package/dist/admin/src/components/ui/select/index.d.ts +11 -0
- package/dist/admin/src/components/ui/separator/index.d.ts +1 -0
- package/dist/admin/src/components/ui/sheet/index.d.ts +13 -0
- package/dist/admin/src/components/ui/sidebar/index.d.ts +37 -0
- package/dist/admin/src/components/ui/sidebar/utils.d.ts +54 -0
- package/dist/admin/src/components/ui/skeleton/index.d.ts +1 -0
- package/dist/admin/src/components/ui/slider/index.d.ts +1 -0
- package/dist/admin/src/components/ui/switch/index.d.ts +1 -0
- package/dist/admin/src/components/ui/tabs/index.d.ts +4 -0
- package/dist/admin/src/components/ui/tags-input/index.d.ts +5 -0
- package/dist/admin/src/components/ui/textarea/index.d.ts +1 -0
- package/dist/admin/src/components/ui/tooltip/index.d.ts +4 -0
- package/dist/admin/src/composables/useApi.d.ts +21 -0
- package/dist/admin/src/composables/useAppStorage.d.ts +9 -0
- package/dist/admin/src/composables/useAssetUpload.d.ts +31 -0
- package/dist/admin/src/composables/useCharacterForm.d.ts +141 -0
- package/dist/admin/src/composables/useCharacterSettings.d.ts +27 -0
- package/dist/admin/src/composables/useCharacterTemplateForm.d.ts +47 -0
- package/dist/admin/src/composables/useCollectionTaskFilters.d.ts +12 -0
- package/dist/admin/src/composables/useFileUpload.d.ts +26 -0
- package/dist/admin/src/composables/useGpuTaskFilters.d.ts +11 -0
- package/dist/admin/src/composables/useMaterialFilters.d.ts +14 -0
- package/dist/admin/src/composables/useModelEvaluation.d.ts +22 -0
- package/dist/admin/src/composables/useModelEvaluationWebSocket.d.ts +111 -0
- package/dist/admin/src/composables/useModelSettings.d.ts +12 -0
- package/dist/admin/src/composables/usePageScrollLock.d.ts +6 -0
- package/dist/admin/src/composables/useTaskFilters.d.ts +11 -0
- package/dist/admin/src/composables/useTestGroundProviders.d.ts +51 -0
- package/dist/admin/src/constants/character.d.ts +4 -0
- package/dist/admin/src/constants/collection-task.d.ts +5 -0
- package/dist/admin/src/constants/config-previews.d.ts +8 -0
- package/dist/admin/src/constants/container.d.ts +1 -0
- package/dist/admin/src/constants/links.d.ts +7 -0
- package/dist/admin/src/constants/nav.d.ts +17 -0
- package/dist/admin/src/constants/providers.d.ts +17 -0
- package/dist/admin/src/constants/regions.d.ts +10 -0
- package/dist/admin/src/constants/test-ground-voices.d.ts +19 -0
- package/dist/admin/src/constants/ui.d.ts +4 -0
- package/dist/admin/src/constants/voice.d.ts +12 -0
- package/dist/admin/src/constants/volc.d.ts +135 -0
- package/dist/admin/src/lib/cos/constants.d.ts +6 -0
- package/dist/admin/src/lib/cos/useCosDownload.d.ts +39 -0
- package/dist/admin/src/lib/cos/useCosUpload.d.ts +47 -0
- package/dist/admin/src/lib/cos/useVideoInfoExtractor.d.ts +12 -0
- package/dist/admin/src/lib/cos/utils.d.ts +4 -0
- package/dist/admin/src/lib/utils.d.ts +49 -0
- package/dist/admin/src/main.d.ts +0 -0
- package/dist/admin/src/renderSystem/animation/utils/eventEmitter.d.ts +9 -0
- package/dist/admin/src/renderSystem/animation/utils/flameConverter.d.ts +18 -0
- package/dist/admin/src/renderSystem/audio/AnimationPlayer.d.ts +31 -0
- package/dist/admin/src/renderSystem/audio/StreamingAudioPlayer.d.ts +66 -0
- package/dist/admin/src/renderSystem/config/app-config.d.ts +39 -0
- package/dist/admin/src/renderSystem/config/constants.d.ts +3 -0
- package/dist/admin/src/renderSystem/config/sdk-config-loader.d.ts +5 -0
- package/dist/admin/src/renderSystem/core/Avatar.d.ts +8 -0
- package/dist/admin/src/renderSystem/core/AvatarController.d.ts +65 -0
- package/dist/admin/src/renderSystem/core/AvatarDownloader.d.ts +38 -0
- package/dist/admin/src/renderSystem/core/AvatarKit.d.ts +10 -0
- package/dist/admin/src/renderSystem/core/AvatarView.d.ts +67 -0
- package/dist/admin/src/renderSystem/generated/driveningress/v1/driveningress.d.ts +68 -0
- package/dist/admin/src/renderSystem/generated/driveningress/v2/driveningress.d.ts +3 -0
- package/dist/admin/src/renderSystem/generated/google/protobuf/struct.d.ts +74 -0
- package/dist/admin/src/renderSystem/generated/google/protobuf/timestamp.d.ts +27 -0
- package/dist/admin/src/renderSystem/renderer/RenderSystem.d.ts +1 -0
- package/dist/admin/src/renderSystem/renderer/covariance.d.ts +1 -0
- package/dist/admin/src/renderSystem/renderer/renderer.d.ts +7 -0
- package/dist/admin/src/renderSystem/renderer/sortSplats.d.ts +1 -0
- package/dist/admin/src/renderSystem/renderer/webgl/reorderData.d.ts +1 -0
- package/dist/admin/src/renderSystem/renderer/webgl/webglRenderer.d.ts +27 -0
- package/dist/admin/src/renderSystem/renderer/webgpu/webgpuRenderer.d.ts +26 -0
- package/dist/admin/src/renderSystem/types/character-settings.d.ts +18 -0
- package/dist/admin/src/renderSystem/types/character.d.ts +22 -0
- package/dist/admin/src/renderSystem/types/index.d.ts +62 -0
- package/dist/admin/src/renderSystem/utils/animation-interpolation.d.ts +7 -0
- package/dist/admin/src/renderSystem/utils/conversationId.d.ts +1 -0
- package/dist/admin/src/renderSystem/utils/error-utils.d.ts +3 -0
- package/dist/admin/src/renderSystem/utils/id-manager.d.ts +12 -0
- package/dist/admin/src/renderSystem/utils/logger.d.ts +14 -0
- package/dist/admin/src/renderSystem/wasm/avatarCoreAdapter.d.ts +101 -0
- package/dist/admin/src/renderSystem/wasm/avatarCoreMemory.d.ts +92 -0
- package/dist/admin/src/stores/providers.d.ts +336 -0
- package/dist/admin/src/stores/region.d.ts +19 -0
- package/dist/admin/src/stores/user.d.ts +112 -0
- package/dist/admin/src/types/character-settings.d.ts +18 -0
- package/dist/admin/src/types/character.d.ts +118 -0
- package/dist/admin/src/types/collection-task.d.ts +11 -0
- package/dist/admin/src/types/config.d.ts +36 -0
- package/dist/admin/src/types/doubao-voice.d.ts +42 -0
- package/dist/admin/src/types/error.d.ts +5 -0
- package/dist/admin/src/types/gpu-task.d.ts +58 -0
- package/dist/admin/src/types/model-settings.d.ts +41 -0
- package/dist/admin/src/types/task.d.ts +46 -0
- package/dist/admin/src/types/test-ground.d.ts +40 -0
- package/dist/admin/src/types/video-material.d.ts +130 -0
- package/dist/admin/src/types/voice.d.ts +58 -0
- package/dist/admin/src/utils/asset-config-loader.d.ts +10 -0
- package/dist/admin/src/utils/collection-task.d.ts +3 -0
- package/dist/admin/src/utils/error.d.ts +1 -0
- package/dist/admin/src/utils/gpu-task.d.ts +15 -0
- package/dist/admin/src/utils/hash.d.ts +20 -0
- package/dist/admin/src/utils/model-settings.d.ts +9 -0
- package/dist/admin/src/utils/monad.d.ts +13 -0
- package/dist/admin/src/utils/task.d.ts +8 -0
- package/dist/admin/unocss.config.d.ts +2 -0
- package/dist/admin/vite.config.d.ts +2 -0
- package/dist/admin/vue-macros.config.d.ts +2 -0
- package/dist/audio/StreamingAudioPlayer.d.ts +3 -2
- package/dist/config/constants.d.ts +4 -17
- package/dist/core/AvatarManager.d.ts +3 -0
- package/dist/{index-B7llDHtO.js → index-CubTNa__.js} +5398 -788
- package/dist/index.js +1 -1
- package/dist/renderer/webgpu/webgpuRenderer.d.ts +0 -1
- package/dist/utils/{cls-tracker.d.ts → posthog-tracker.d.ts} +4 -4
- package/package.json +3 -2
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
import { V1Provider } from '../client';
|
|
2
|
+
export interface VoicePlatformOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
export interface LlmPlatformOption {
|
|
7
|
+
label: string;
|
|
8
|
+
value: string;
|
|
9
|
+
}
|
|
10
|
+
export interface AsrPlatformOption {
|
|
11
|
+
label: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}
|
|
14
|
+
export interface VlmPlatformOption {
|
|
15
|
+
label: string;
|
|
16
|
+
value: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const useProvidersStore: import('pinia').StoreDefinition<"providers", Pick<{
|
|
19
|
+
allProviders: import('vue').Ref<{
|
|
20
|
+
id?: string | undefined;
|
|
21
|
+
name?: string | undefined;
|
|
22
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
23
|
+
apiUrl?: string | undefined;
|
|
24
|
+
apiKey?: string | undefined;
|
|
25
|
+
metadata?: {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
} | undefined;
|
|
28
|
+
createdAt?: string | undefined;
|
|
29
|
+
updatedAt?: string | undefined;
|
|
30
|
+
deletedAt?: string | undefined;
|
|
31
|
+
}[], V1Provider[] | {
|
|
32
|
+
id?: string | undefined;
|
|
33
|
+
name?: string | undefined;
|
|
34
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
35
|
+
apiUrl?: string | undefined;
|
|
36
|
+
apiKey?: string | undefined;
|
|
37
|
+
metadata?: {
|
|
38
|
+
[key: string]: string;
|
|
39
|
+
} | undefined;
|
|
40
|
+
createdAt?: string | undefined;
|
|
41
|
+
updatedAt?: string | undefined;
|
|
42
|
+
deletedAt?: string | undefined;
|
|
43
|
+
}[]>;
|
|
44
|
+
drivenProviders: import('vue').ComputedRef<{
|
|
45
|
+
id?: string | undefined;
|
|
46
|
+
name?: string | undefined;
|
|
47
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
48
|
+
apiUrl?: string | undefined;
|
|
49
|
+
apiKey?: string | undefined;
|
|
50
|
+
metadata?: {
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
} | undefined;
|
|
53
|
+
createdAt?: string | undefined;
|
|
54
|
+
updatedAt?: string | undefined;
|
|
55
|
+
deletedAt?: string | undefined;
|
|
56
|
+
}[]>;
|
|
57
|
+
ttsProviders: import('vue').ComputedRef<{
|
|
58
|
+
id?: string | undefined;
|
|
59
|
+
name?: string | undefined;
|
|
60
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
61
|
+
apiUrl?: string | undefined;
|
|
62
|
+
apiKey?: string | undefined;
|
|
63
|
+
metadata?: {
|
|
64
|
+
[key: string]: string;
|
|
65
|
+
} | undefined;
|
|
66
|
+
createdAt?: string | undefined;
|
|
67
|
+
updatedAt?: string | undefined;
|
|
68
|
+
deletedAt?: string | undefined;
|
|
69
|
+
}[]>;
|
|
70
|
+
llmProviders: import('vue').ComputedRef<{
|
|
71
|
+
id?: string | undefined;
|
|
72
|
+
name?: string | undefined;
|
|
73
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
74
|
+
apiUrl?: string | undefined;
|
|
75
|
+
apiKey?: string | undefined;
|
|
76
|
+
metadata?: {
|
|
77
|
+
[key: string]: string;
|
|
78
|
+
} | undefined;
|
|
79
|
+
createdAt?: string | undefined;
|
|
80
|
+
updatedAt?: string | undefined;
|
|
81
|
+
deletedAt?: string | undefined;
|
|
82
|
+
}[]>;
|
|
83
|
+
asrProviders: import('vue').ComputedRef<{
|
|
84
|
+
id?: string | undefined;
|
|
85
|
+
name?: string | undefined;
|
|
86
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
87
|
+
apiUrl?: string | undefined;
|
|
88
|
+
apiKey?: string | undefined;
|
|
89
|
+
metadata?: {
|
|
90
|
+
[key: string]: string;
|
|
91
|
+
} | undefined;
|
|
92
|
+
createdAt?: string | undefined;
|
|
93
|
+
updatedAt?: string | undefined;
|
|
94
|
+
deletedAt?: string | undefined;
|
|
95
|
+
}[]>;
|
|
96
|
+
vlmProviders: import('vue').ComputedRef<{
|
|
97
|
+
id?: string | undefined;
|
|
98
|
+
name?: string | undefined;
|
|
99
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
100
|
+
apiUrl?: string | undefined;
|
|
101
|
+
apiKey?: string | undefined;
|
|
102
|
+
metadata?: {
|
|
103
|
+
[key: string]: string;
|
|
104
|
+
} | undefined;
|
|
105
|
+
createdAt?: string | undefined;
|
|
106
|
+
updatedAt?: string | undefined;
|
|
107
|
+
deletedAt?: string | undefined;
|
|
108
|
+
}[]>;
|
|
109
|
+
voicePlatformOptions: import('vue').ComputedRef<VoicePlatformOption[]>;
|
|
110
|
+
llmPlatformOptions: import('vue').ComputedRef<LlmPlatformOption[]>;
|
|
111
|
+
asrPlatformOptions: import('vue').ComputedRef<AsrPlatformOption[]>;
|
|
112
|
+
vlmPlatformOptions: import('vue').ComputedRef<VlmPlatformOption[]>;
|
|
113
|
+
isLoadingProviders: import('vue').Ref<boolean, boolean>;
|
|
114
|
+
loadAllProviders: () => Promise<void>;
|
|
115
|
+
findProviderById: (id: string) => V1Provider | undefined;
|
|
116
|
+
findProviderByBaseUrl: (baseUrl: string) => V1Provider | undefined;
|
|
117
|
+
findTtsProviderById: (id: string) => V1Provider | undefined;
|
|
118
|
+
findLlmProviderById: (id: string) => V1Provider | undefined;
|
|
119
|
+
findAsrProviderById: (id: string) => V1Provider | undefined;
|
|
120
|
+
getProviderOptions: () => Promise<Array<{
|
|
121
|
+
value: string;
|
|
122
|
+
label: string;
|
|
123
|
+
}>>;
|
|
124
|
+
}, "allProviders" | "isLoadingProviders">, Pick<{
|
|
125
|
+
allProviders: import('vue').Ref<{
|
|
126
|
+
id?: string | undefined;
|
|
127
|
+
name?: string | undefined;
|
|
128
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
129
|
+
apiUrl?: string | undefined;
|
|
130
|
+
apiKey?: string | undefined;
|
|
131
|
+
metadata?: {
|
|
132
|
+
[key: string]: string;
|
|
133
|
+
} | undefined;
|
|
134
|
+
createdAt?: string | undefined;
|
|
135
|
+
updatedAt?: string | undefined;
|
|
136
|
+
deletedAt?: string | undefined;
|
|
137
|
+
}[], V1Provider[] | {
|
|
138
|
+
id?: string | undefined;
|
|
139
|
+
name?: string | undefined;
|
|
140
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
141
|
+
apiUrl?: string | undefined;
|
|
142
|
+
apiKey?: string | undefined;
|
|
143
|
+
metadata?: {
|
|
144
|
+
[key: string]: string;
|
|
145
|
+
} | undefined;
|
|
146
|
+
createdAt?: string | undefined;
|
|
147
|
+
updatedAt?: string | undefined;
|
|
148
|
+
deletedAt?: string | undefined;
|
|
149
|
+
}[]>;
|
|
150
|
+
drivenProviders: import('vue').ComputedRef<{
|
|
151
|
+
id?: string | undefined;
|
|
152
|
+
name?: string | undefined;
|
|
153
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
154
|
+
apiUrl?: string | undefined;
|
|
155
|
+
apiKey?: string | undefined;
|
|
156
|
+
metadata?: {
|
|
157
|
+
[key: string]: string;
|
|
158
|
+
} | undefined;
|
|
159
|
+
createdAt?: string | undefined;
|
|
160
|
+
updatedAt?: string | undefined;
|
|
161
|
+
deletedAt?: string | undefined;
|
|
162
|
+
}[]>;
|
|
163
|
+
ttsProviders: import('vue').ComputedRef<{
|
|
164
|
+
id?: string | undefined;
|
|
165
|
+
name?: string | undefined;
|
|
166
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
167
|
+
apiUrl?: string | undefined;
|
|
168
|
+
apiKey?: string | undefined;
|
|
169
|
+
metadata?: {
|
|
170
|
+
[key: string]: string;
|
|
171
|
+
} | undefined;
|
|
172
|
+
createdAt?: string | undefined;
|
|
173
|
+
updatedAt?: string | undefined;
|
|
174
|
+
deletedAt?: string | undefined;
|
|
175
|
+
}[]>;
|
|
176
|
+
llmProviders: import('vue').ComputedRef<{
|
|
177
|
+
id?: string | undefined;
|
|
178
|
+
name?: string | undefined;
|
|
179
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
180
|
+
apiUrl?: string | undefined;
|
|
181
|
+
apiKey?: string | undefined;
|
|
182
|
+
metadata?: {
|
|
183
|
+
[key: string]: string;
|
|
184
|
+
} | undefined;
|
|
185
|
+
createdAt?: string | undefined;
|
|
186
|
+
updatedAt?: string | undefined;
|
|
187
|
+
deletedAt?: string | undefined;
|
|
188
|
+
}[]>;
|
|
189
|
+
asrProviders: import('vue').ComputedRef<{
|
|
190
|
+
id?: string | undefined;
|
|
191
|
+
name?: string | undefined;
|
|
192
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
193
|
+
apiUrl?: string | undefined;
|
|
194
|
+
apiKey?: string | undefined;
|
|
195
|
+
metadata?: {
|
|
196
|
+
[key: string]: string;
|
|
197
|
+
} | undefined;
|
|
198
|
+
createdAt?: string | undefined;
|
|
199
|
+
updatedAt?: string | undefined;
|
|
200
|
+
deletedAt?: string | undefined;
|
|
201
|
+
}[]>;
|
|
202
|
+
vlmProviders: import('vue').ComputedRef<{
|
|
203
|
+
id?: string | undefined;
|
|
204
|
+
name?: string | undefined;
|
|
205
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
206
|
+
apiUrl?: string | undefined;
|
|
207
|
+
apiKey?: string | undefined;
|
|
208
|
+
metadata?: {
|
|
209
|
+
[key: string]: string;
|
|
210
|
+
} | undefined;
|
|
211
|
+
createdAt?: string | undefined;
|
|
212
|
+
updatedAt?: string | undefined;
|
|
213
|
+
deletedAt?: string | undefined;
|
|
214
|
+
}[]>;
|
|
215
|
+
voicePlatformOptions: import('vue').ComputedRef<VoicePlatformOption[]>;
|
|
216
|
+
llmPlatformOptions: import('vue').ComputedRef<LlmPlatformOption[]>;
|
|
217
|
+
asrPlatformOptions: import('vue').ComputedRef<AsrPlatformOption[]>;
|
|
218
|
+
vlmPlatformOptions: import('vue').ComputedRef<VlmPlatformOption[]>;
|
|
219
|
+
isLoadingProviders: import('vue').Ref<boolean, boolean>;
|
|
220
|
+
loadAllProviders: () => Promise<void>;
|
|
221
|
+
findProviderById: (id: string) => V1Provider | undefined;
|
|
222
|
+
findProviderByBaseUrl: (baseUrl: string) => V1Provider | undefined;
|
|
223
|
+
findTtsProviderById: (id: string) => V1Provider | undefined;
|
|
224
|
+
findLlmProviderById: (id: string) => V1Provider | undefined;
|
|
225
|
+
findAsrProviderById: (id: string) => V1Provider | undefined;
|
|
226
|
+
getProviderOptions: () => Promise<Array<{
|
|
227
|
+
value: string;
|
|
228
|
+
label: string;
|
|
229
|
+
}>>;
|
|
230
|
+
}, "drivenProviders" | "ttsProviders" | "llmProviders" | "asrProviders" | "vlmProviders" | "voicePlatformOptions" | "llmPlatformOptions" | "asrPlatformOptions" | "vlmPlatformOptions">, Pick<{
|
|
231
|
+
allProviders: import('vue').Ref<{
|
|
232
|
+
id?: string | undefined;
|
|
233
|
+
name?: string | undefined;
|
|
234
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
235
|
+
apiUrl?: string | undefined;
|
|
236
|
+
apiKey?: string | undefined;
|
|
237
|
+
metadata?: {
|
|
238
|
+
[key: string]: string;
|
|
239
|
+
} | undefined;
|
|
240
|
+
createdAt?: string | undefined;
|
|
241
|
+
updatedAt?: string | undefined;
|
|
242
|
+
deletedAt?: string | undefined;
|
|
243
|
+
}[], V1Provider[] | {
|
|
244
|
+
id?: string | undefined;
|
|
245
|
+
name?: string | undefined;
|
|
246
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
247
|
+
apiUrl?: string | undefined;
|
|
248
|
+
apiKey?: string | undefined;
|
|
249
|
+
metadata?: {
|
|
250
|
+
[key: string]: string;
|
|
251
|
+
} | undefined;
|
|
252
|
+
createdAt?: string | undefined;
|
|
253
|
+
updatedAt?: string | undefined;
|
|
254
|
+
deletedAt?: string | undefined;
|
|
255
|
+
}[]>;
|
|
256
|
+
drivenProviders: import('vue').ComputedRef<{
|
|
257
|
+
id?: string | undefined;
|
|
258
|
+
name?: string | undefined;
|
|
259
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
260
|
+
apiUrl?: string | undefined;
|
|
261
|
+
apiKey?: string | undefined;
|
|
262
|
+
metadata?: {
|
|
263
|
+
[key: string]: string;
|
|
264
|
+
} | undefined;
|
|
265
|
+
createdAt?: string | undefined;
|
|
266
|
+
updatedAt?: string | undefined;
|
|
267
|
+
deletedAt?: string | undefined;
|
|
268
|
+
}[]>;
|
|
269
|
+
ttsProviders: import('vue').ComputedRef<{
|
|
270
|
+
id?: string | undefined;
|
|
271
|
+
name?: string | undefined;
|
|
272
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
273
|
+
apiUrl?: string | undefined;
|
|
274
|
+
apiKey?: string | undefined;
|
|
275
|
+
metadata?: {
|
|
276
|
+
[key: string]: string;
|
|
277
|
+
} | undefined;
|
|
278
|
+
createdAt?: string | undefined;
|
|
279
|
+
updatedAt?: string | undefined;
|
|
280
|
+
deletedAt?: string | undefined;
|
|
281
|
+
}[]>;
|
|
282
|
+
llmProviders: import('vue').ComputedRef<{
|
|
283
|
+
id?: string | undefined;
|
|
284
|
+
name?: string | undefined;
|
|
285
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
286
|
+
apiUrl?: string | undefined;
|
|
287
|
+
apiKey?: string | undefined;
|
|
288
|
+
metadata?: {
|
|
289
|
+
[key: string]: string;
|
|
290
|
+
} | undefined;
|
|
291
|
+
createdAt?: string | undefined;
|
|
292
|
+
updatedAt?: string | undefined;
|
|
293
|
+
deletedAt?: string | undefined;
|
|
294
|
+
}[]>;
|
|
295
|
+
asrProviders: import('vue').ComputedRef<{
|
|
296
|
+
id?: string | undefined;
|
|
297
|
+
name?: string | undefined;
|
|
298
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
299
|
+
apiUrl?: string | undefined;
|
|
300
|
+
apiKey?: string | undefined;
|
|
301
|
+
metadata?: {
|
|
302
|
+
[key: string]: string;
|
|
303
|
+
} | undefined;
|
|
304
|
+
createdAt?: string | undefined;
|
|
305
|
+
updatedAt?: string | undefined;
|
|
306
|
+
deletedAt?: string | undefined;
|
|
307
|
+
}[]>;
|
|
308
|
+
vlmProviders: import('vue').ComputedRef<{
|
|
309
|
+
id?: string | undefined;
|
|
310
|
+
name?: string | undefined;
|
|
311
|
+
type?: import('../client').V1ProviderType | undefined;
|
|
312
|
+
apiUrl?: string | undefined;
|
|
313
|
+
apiKey?: string | undefined;
|
|
314
|
+
metadata?: {
|
|
315
|
+
[key: string]: string;
|
|
316
|
+
} | undefined;
|
|
317
|
+
createdAt?: string | undefined;
|
|
318
|
+
updatedAt?: string | undefined;
|
|
319
|
+
deletedAt?: string | undefined;
|
|
320
|
+
}[]>;
|
|
321
|
+
voicePlatformOptions: import('vue').ComputedRef<VoicePlatformOption[]>;
|
|
322
|
+
llmPlatformOptions: import('vue').ComputedRef<LlmPlatformOption[]>;
|
|
323
|
+
asrPlatformOptions: import('vue').ComputedRef<AsrPlatformOption[]>;
|
|
324
|
+
vlmPlatformOptions: import('vue').ComputedRef<VlmPlatformOption[]>;
|
|
325
|
+
isLoadingProviders: import('vue').Ref<boolean, boolean>;
|
|
326
|
+
loadAllProviders: () => Promise<void>;
|
|
327
|
+
findProviderById: (id: string) => V1Provider | undefined;
|
|
328
|
+
findProviderByBaseUrl: (baseUrl: string) => V1Provider | undefined;
|
|
329
|
+
findTtsProviderById: (id: string) => V1Provider | undefined;
|
|
330
|
+
findLlmProviderById: (id: string) => V1Provider | undefined;
|
|
331
|
+
findAsrProviderById: (id: string) => V1Provider | undefined;
|
|
332
|
+
getProviderOptions: () => Promise<Array<{
|
|
333
|
+
value: string;
|
|
334
|
+
label: string;
|
|
335
|
+
}>>;
|
|
336
|
+
}, "loadAllProviders" | "findProviderById" | "findProviderByBaseUrl" | "findTtsProviderById" | "findLlmProviderById" | "findAsrProviderById" | "getProviderOptions">>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const useRegionStore: import('pinia').StoreDefinition<"region", Pick<{
|
|
2
|
+
currentRegion: import('vue').ComputedRef<import('../constants/regions').Region>;
|
|
3
|
+
currentRegionKey: import('@vueuse/core').RemovableRef<string>;
|
|
4
|
+
regions: import('../constants/regions').Region[];
|
|
5
|
+
setRegion: (regionKey: string) => void;
|
|
6
|
+
getRegionByKey: (regionKey: string) => import('../constants/regions').Region | undefined;
|
|
7
|
+
}, "currentRegionKey" | "regions">, Pick<{
|
|
8
|
+
currentRegion: import('vue').ComputedRef<import('../constants/regions').Region>;
|
|
9
|
+
currentRegionKey: import('@vueuse/core').RemovableRef<string>;
|
|
10
|
+
regions: import('../constants/regions').Region[];
|
|
11
|
+
setRegion: (regionKey: string) => void;
|
|
12
|
+
getRegionByKey: (regionKey: string) => import('../constants/regions').Region | undefined;
|
|
13
|
+
}, "currentRegion">, Pick<{
|
|
14
|
+
currentRegion: import('vue').ComputedRef<import('../constants/regions').Region>;
|
|
15
|
+
currentRegionKey: import('@vueuse/core').RemovableRef<string>;
|
|
16
|
+
regions: import('../constants/regions').Region[];
|
|
17
|
+
setRegion: (regionKey: string) => void;
|
|
18
|
+
getRegionByKey: (regionKey: string) => import('../constants/regions').Region | undefined;
|
|
19
|
+
}, "setRegion" | "getRegionByKey">>;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { V1User } from '../client';
|
|
2
|
+
export interface User extends V1User {
|
|
3
|
+
avatar?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface LoginCredentials {
|
|
6
|
+
username: string;
|
|
7
|
+
password: string;
|
|
8
|
+
rememberMe?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const useUserStore: import('pinia').StoreDefinition<"user", Pick<{
|
|
11
|
+
isAuthenticated: import('vue').ComputedRef<boolean>;
|
|
12
|
+
storageToken: import('@vueuse/core').RemovableRef<string>;
|
|
13
|
+
user: import('vue').Ref<{
|
|
14
|
+
avatar?: string | undefined;
|
|
15
|
+
id?: string | undefined;
|
|
16
|
+
email?: string | undefined;
|
|
17
|
+
username?: string | undefined;
|
|
18
|
+
language?: import('../client').V1Language | undefined;
|
|
19
|
+
type?: import('../client').V1UserType | undefined;
|
|
20
|
+
phone?: string | undefined;
|
|
21
|
+
createdAt?: string | undefined;
|
|
22
|
+
updatedAt?: string | undefined;
|
|
23
|
+
deletedAt?: string | undefined;
|
|
24
|
+
} | undefined, User | {
|
|
25
|
+
avatar?: string | undefined;
|
|
26
|
+
id?: string | undefined;
|
|
27
|
+
email?: string | undefined;
|
|
28
|
+
username?: string | undefined;
|
|
29
|
+
language?: import('../client').V1Language | undefined;
|
|
30
|
+
type?: import('../client').V1UserType | undefined;
|
|
31
|
+
phone?: string | undefined;
|
|
32
|
+
createdAt?: string | undefined;
|
|
33
|
+
updatedAt?: string | undefined;
|
|
34
|
+
deletedAt?: string | undefined;
|
|
35
|
+
} | undefined>;
|
|
36
|
+
login: (credentials: LoginCredentials) => Promise<{
|
|
37
|
+
token: string;
|
|
38
|
+
user: V1User;
|
|
39
|
+
}>;
|
|
40
|
+
me: () => Promise<void>;
|
|
41
|
+
logout: () => Promise<void>;
|
|
42
|
+
clearCurrentRegionData: () => void;
|
|
43
|
+
isAuthenticatedInRegion: (regionKey: string) => boolean;
|
|
44
|
+
}, "user" | "storageToken">, Pick<{
|
|
45
|
+
isAuthenticated: import('vue').ComputedRef<boolean>;
|
|
46
|
+
storageToken: import('@vueuse/core').RemovableRef<string>;
|
|
47
|
+
user: import('vue').Ref<{
|
|
48
|
+
avatar?: string | undefined;
|
|
49
|
+
id?: string | undefined;
|
|
50
|
+
email?: string | undefined;
|
|
51
|
+
username?: string | undefined;
|
|
52
|
+
language?: import('../client').V1Language | undefined;
|
|
53
|
+
type?: import('../client').V1UserType | undefined;
|
|
54
|
+
phone?: string | undefined;
|
|
55
|
+
createdAt?: string | undefined;
|
|
56
|
+
updatedAt?: string | undefined;
|
|
57
|
+
deletedAt?: string | undefined;
|
|
58
|
+
} | undefined, User | {
|
|
59
|
+
avatar?: string | undefined;
|
|
60
|
+
id?: string | undefined;
|
|
61
|
+
email?: string | undefined;
|
|
62
|
+
username?: string | undefined;
|
|
63
|
+
language?: import('../client').V1Language | undefined;
|
|
64
|
+
type?: import('../client').V1UserType | undefined;
|
|
65
|
+
phone?: string | undefined;
|
|
66
|
+
createdAt?: string | undefined;
|
|
67
|
+
updatedAt?: string | undefined;
|
|
68
|
+
deletedAt?: string | undefined;
|
|
69
|
+
} | undefined>;
|
|
70
|
+
login: (credentials: LoginCredentials) => Promise<{
|
|
71
|
+
token: string;
|
|
72
|
+
user: V1User;
|
|
73
|
+
}>;
|
|
74
|
+
me: () => Promise<void>;
|
|
75
|
+
logout: () => Promise<void>;
|
|
76
|
+
clearCurrentRegionData: () => void;
|
|
77
|
+
isAuthenticatedInRegion: (regionKey: string) => boolean;
|
|
78
|
+
}, "isAuthenticated">, Pick<{
|
|
79
|
+
isAuthenticated: import('vue').ComputedRef<boolean>;
|
|
80
|
+
storageToken: import('@vueuse/core').RemovableRef<string>;
|
|
81
|
+
user: import('vue').Ref<{
|
|
82
|
+
avatar?: string | undefined;
|
|
83
|
+
id?: string | undefined;
|
|
84
|
+
email?: string | undefined;
|
|
85
|
+
username?: string | undefined;
|
|
86
|
+
language?: import('../client').V1Language | undefined;
|
|
87
|
+
type?: import('../client').V1UserType | undefined;
|
|
88
|
+
phone?: string | undefined;
|
|
89
|
+
createdAt?: string | undefined;
|
|
90
|
+
updatedAt?: string | undefined;
|
|
91
|
+
deletedAt?: string | undefined;
|
|
92
|
+
} | undefined, User | {
|
|
93
|
+
avatar?: string | undefined;
|
|
94
|
+
id?: string | undefined;
|
|
95
|
+
email?: string | undefined;
|
|
96
|
+
username?: string | undefined;
|
|
97
|
+
language?: import('../client').V1Language | undefined;
|
|
98
|
+
type?: import('../client').V1UserType | undefined;
|
|
99
|
+
phone?: string | undefined;
|
|
100
|
+
createdAt?: string | undefined;
|
|
101
|
+
updatedAt?: string | undefined;
|
|
102
|
+
deletedAt?: string | undefined;
|
|
103
|
+
} | undefined>;
|
|
104
|
+
login: (credentials: LoginCredentials) => Promise<{
|
|
105
|
+
token: string;
|
|
106
|
+
user: V1User;
|
|
107
|
+
}>;
|
|
108
|
+
me: () => Promise<void>;
|
|
109
|
+
logout: () => Promise<void>;
|
|
110
|
+
clearCurrentRegionData: () => void;
|
|
111
|
+
isAuthenticatedInRegion: (regionKey: string) => boolean;
|
|
112
|
+
}, "login" | "me" | "logout" | "clearCurrentRegionData" | "isAuthenticatedInRegion">>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface EyelidSettings {
|
|
2
|
+
auto_eyelid_adjustment: boolean;
|
|
3
|
+
enabled: boolean;
|
|
4
|
+
eyelid_threshold: number;
|
|
5
|
+
targets: number[];
|
|
6
|
+
}
|
|
7
|
+
export interface CameraSettings {
|
|
8
|
+
fovXRadians: number;
|
|
9
|
+
fovYRadians: number;
|
|
10
|
+
rotation: number;
|
|
11
|
+
translationX: number;
|
|
12
|
+
translationY: number;
|
|
13
|
+
translationZ: number;
|
|
14
|
+
}
|
|
15
|
+
export interface CharacterSettings {
|
|
16
|
+
eyefocus: EyelidSettings;
|
|
17
|
+
camera: CameraSettings;
|
|
18
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { InferOutput } from 'valibot';
|
|
2
|
+
export declare const voicePlatformOptions: readonly [{
|
|
3
|
+
readonly label: "VOLC";
|
|
4
|
+
readonly value: "volc";
|
|
5
|
+
}, {
|
|
6
|
+
readonly label: "ElevenLabs";
|
|
7
|
+
readonly value: "elevenlabs";
|
|
8
|
+
}, {
|
|
9
|
+
readonly label: "Fish Audio";
|
|
10
|
+
readonly value: "fish_audio";
|
|
11
|
+
}];
|
|
12
|
+
export declare const realtimePlatformOptions: readonly [{
|
|
13
|
+
readonly label: "OpenAI";
|
|
14
|
+
readonly value: "openai";
|
|
15
|
+
}, {
|
|
16
|
+
readonly label: "智谱";
|
|
17
|
+
readonly value: "zhipu";
|
|
18
|
+
}, {
|
|
19
|
+
readonly label: "MiniMax";
|
|
20
|
+
readonly value: "minimax";
|
|
21
|
+
}];
|
|
22
|
+
export declare const VoiceSettingsSchema: import('valibot').ObjectSchema<{
|
|
23
|
+
readonly speaker: import('valibot').StringSchema<undefined>;
|
|
24
|
+
readonly speechRate: import('valibot').OptionalSchema<import('valibot').NumberSchema<undefined>, 0>;
|
|
25
|
+
readonly pitchRate: import('valibot').OptionalSchema<import('valibot').NumberSchema<undefined>, 0>;
|
|
26
|
+
readonly cartesiaSpeed: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "normal">;
|
|
27
|
+
readonly fishaudioSpeed: import('valibot').OptionalSchema<import('valibot').NumberSchema<undefined>, 1>;
|
|
28
|
+
readonly fishaudioVolume: import('valibot').OptionalSchema<import('valibot').NumberSchema<undefined>, 0>;
|
|
29
|
+
}, undefined>;
|
|
30
|
+
export declare const BrainSettingsSchema: import('valibot').ObjectSchema<{
|
|
31
|
+
readonly model: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
32
|
+
readonly apiKey: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
33
|
+
readonly baseURL: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
34
|
+
}, undefined>;
|
|
35
|
+
export declare const EarSettingsSchema: import('valibot').ObjectSchema<{
|
|
36
|
+
readonly language: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
37
|
+
readonly prompt: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
38
|
+
}, undefined>;
|
|
39
|
+
export declare const RealtimeSettingsSchema: import('valibot').ObjectSchema<{
|
|
40
|
+
readonly voiceId: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
41
|
+
}, undefined>;
|
|
42
|
+
export declare const RedeemSchema: import('valibot').ObjectSchema<{
|
|
43
|
+
readonly characterId: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
44
|
+
readonly code: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
45
|
+
readonly enabled: import('valibot').OptionalSchema<import('valibot').BooleanSchema<undefined>, false>;
|
|
46
|
+
}, undefined>;
|
|
47
|
+
export declare const SceneEnumSchema: import('valibot').PicklistSchema<["MONOLOGUE", "DIALOGUE"], undefined>;
|
|
48
|
+
export declare const CharacterFormDataSchema: import('valibot').ObjectSchema<{
|
|
49
|
+
readonly id: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
50
|
+
readonly name: import('valibot').StringSchema<undefined>;
|
|
51
|
+
readonly description: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
52
|
+
readonly coverUrl: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
53
|
+
readonly backgroundUrl: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
54
|
+
readonly systemPrompt: import('valibot').StringSchema<undefined>;
|
|
55
|
+
readonly scene: import('valibot').ArraySchema<import('valibot').PicklistSchema<["MONOLOGUE", "DIALOGUE"], undefined>, undefined>;
|
|
56
|
+
readonly version: import('valibot').PicklistSchema<["0.9", "1.0", "1.1"], undefined>;
|
|
57
|
+
readonly modelFile: import('valibot').OptionalSchema<import('valibot').ArraySchema<import('valibot').FileSchema<undefined>, undefined>, readonly []>;
|
|
58
|
+
readonly drivenBaseUrl: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
59
|
+
readonly encoderStartFrame: import('valibot').OptionalSchema<import('valibot').SchemaWithPipe<readonly [import('valibot').NumberSchema<undefined>, import('valibot').IntegerAction<number, undefined>]>, 0>;
|
|
60
|
+
readonly styleNpy: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
61
|
+
readonly priority: import('valibot').SchemaWithPipe<readonly [import('valibot').NumberSchema<undefined>, import('valibot').IntegerAction<number, undefined>]>;
|
|
62
|
+
readonly assetGroupIds: import('valibot').OptionalSchema<import('valibot').ArraySchema<import('valibot').StringSchema<undefined>, undefined>, readonly []>;
|
|
63
|
+
readonly characterTemplateId: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
64
|
+
readonly modelSettings: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
65
|
+
readonly language: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
66
|
+
readonly clarityLevel: import('valibot').OptionalSchema<import('valibot').PicklistSchema<["sd", "hd", "uhd"], undefined>, "hd">;
|
|
67
|
+
readonly voice: import('valibot').ObjectSchema<{
|
|
68
|
+
readonly platform: import('valibot').StringSchema<undefined>;
|
|
69
|
+
readonly settings: import('valibot').ObjectSchema<{
|
|
70
|
+
readonly speaker: import('valibot').StringSchema<undefined>;
|
|
71
|
+
readonly speechRate: import('valibot').OptionalSchema<import('valibot').NumberSchema<undefined>, 0>;
|
|
72
|
+
readonly pitchRate: import('valibot').OptionalSchema<import('valibot').NumberSchema<undefined>, 0>;
|
|
73
|
+
readonly cartesiaSpeed: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "normal">;
|
|
74
|
+
readonly fishaudioSpeed: import('valibot').OptionalSchema<import('valibot').NumberSchema<undefined>, 1>;
|
|
75
|
+
readonly fishaudioVolume: import('valibot').OptionalSchema<import('valibot').NumberSchema<undefined>, 0>;
|
|
76
|
+
}, undefined>;
|
|
77
|
+
}, undefined>;
|
|
78
|
+
readonly brain: import('valibot').ObjectSchema<{
|
|
79
|
+
readonly platform: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
80
|
+
readonly settings: import('valibot').ObjectSchema<{
|
|
81
|
+
readonly model: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
82
|
+
readonly apiKey: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
83
|
+
readonly baseURL: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
84
|
+
}, undefined>;
|
|
85
|
+
}, undefined>;
|
|
86
|
+
readonly ear: import('valibot').ObjectSchema<{
|
|
87
|
+
readonly platform: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
88
|
+
readonly settings: import('valibot').ObjectSchema<{
|
|
89
|
+
readonly language: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
90
|
+
readonly prompt: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
91
|
+
}, undefined>;
|
|
92
|
+
}, undefined>;
|
|
93
|
+
readonly realtime: import('valibot').ObjectSchema<{
|
|
94
|
+
readonly platform: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
95
|
+
readonly settings: import('valibot').ObjectSchema<{
|
|
96
|
+
readonly voiceId: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
97
|
+
}, undefined>;
|
|
98
|
+
}, undefined>;
|
|
99
|
+
readonly mode: import('valibot').PicklistSchema<string[], undefined>;
|
|
100
|
+
readonly status: import('valibot').OptionalSchema<import('valibot').UnionSchema<[import('valibot').LiteralSchema<"TEST", undefined>, import('valibot').LiteralSchema<"PROD", undefined>, import('valibot').LiteralSchema<"OFFLINE", undefined>], undefined>, "OFFLINE">;
|
|
101
|
+
readonly enableRedeem: import('valibot').OptionalSchema<import('valibot').BooleanSchema<undefined>, false>;
|
|
102
|
+
readonly redeem: import('valibot').OptionalSchema<import('valibot').ObjectSchema<{
|
|
103
|
+
readonly characterId: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
104
|
+
readonly code: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, "">;
|
|
105
|
+
readonly enabled: import('valibot').OptionalSchema<import('valibot').BooleanSchema<undefined>, false>;
|
|
106
|
+
}, undefined>, undefined>;
|
|
107
|
+
}, undefined>;
|
|
108
|
+
export declare const LoginFormDataSchema: import('valibot').ObjectSchema<{
|
|
109
|
+
readonly username: import('valibot').StringSchema<undefined>;
|
|
110
|
+
readonly password: import('valibot').StringSchema<undefined>;
|
|
111
|
+
}, undefined>;
|
|
112
|
+
export type CharacterVoiceSettings = InferOutput<typeof VoiceSettingsSchema>;
|
|
113
|
+
export type CharacterBrainSettings = InferOutput<typeof BrainSettingsSchema>;
|
|
114
|
+
export type CharacterEarSettings = InferOutput<typeof EarSettingsSchema>;
|
|
115
|
+
export type RedeemData = InferOutput<typeof RedeemSchema>;
|
|
116
|
+
export type CharacterFormData = InferOutput<typeof CharacterFormDataSchema>;
|
|
117
|
+
export type LoginFormData = InferOutput<typeof LoginFormDataSchema>;
|
|
118
|
+
export type SceneEnum = InferOutput<typeof SceneEnumSchema>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { V1CollectionTaskStatus } from '../client';
|
|
2
|
+
export declare const COLLECTION_TASK_STATUS_OPTIONS: readonly [{
|
|
3
|
+
readonly value: V1CollectionTaskStatus;
|
|
4
|
+
readonly label: "待处理";
|
|
5
|
+
}, {
|
|
6
|
+
readonly value: V1CollectionTaskStatus;
|
|
7
|
+
readonly label: "已完成";
|
|
8
|
+
}, {
|
|
9
|
+
readonly value: V1CollectionTaskStatus;
|
|
10
|
+
readonly label: "失败";
|
|
11
|
+
}];
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface ConfigKV {
|
|
2
|
+
id: string;
|
|
3
|
+
key: string;
|
|
4
|
+
value: string;
|
|
5
|
+
description: string;
|
|
6
|
+
createdAt: string;
|
|
7
|
+
updatedAt: string;
|
|
8
|
+
deletedAt?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ConfigKVFormData {
|
|
11
|
+
key: string;
|
|
12
|
+
value: string;
|
|
13
|
+
description: string;
|
|
14
|
+
}
|
|
15
|
+
export interface CreateConfigKVRequest {
|
|
16
|
+
key: string;
|
|
17
|
+
value: string;
|
|
18
|
+
description: string;
|
|
19
|
+
}
|
|
20
|
+
export interface UpdateConfigKVRequest {
|
|
21
|
+
id: string;
|
|
22
|
+
key?: string;
|
|
23
|
+
value?: string;
|
|
24
|
+
description?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ListConfigKVsParams {
|
|
27
|
+
pageSize?: number;
|
|
28
|
+
pageToken?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface ListConfigKVsResponse {
|
|
31
|
+
configs: ConfigKV[];
|
|
32
|
+
pagination?: {
|
|
33
|
+
totalCount: number;
|
|
34
|
+
nextPageToken?: string;
|
|
35
|
+
};
|
|
36
|
+
}
|