@spatialwalk/avatarkit 1.0.0-beta.4 → 1.0.0-beta.40
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 +369 -2
- package/README.md +261 -283
- package/dist/StreamingAudioPlayer-hJgaKVC3.js +506 -0
- package/dist/animation/AnimationWebSocketClient.d.ts +9 -24
- package/dist/animation/utils/eventEmitter.d.ts +0 -4
- package/dist/animation/utils/flameConverter.d.ts +3 -11
- package/dist/audio/AnimationPlayer.d.ts +4 -32
- package/dist/audio/StreamingAudioPlayer.d.ts +12 -75
- package/dist/avatar_core_wasm-i0Ocpx6q.js +2693 -0
- package/dist/avatar_core_wasm.wasm +0 -0
- package/dist/config/app-config.d.ts +1 -6
- package/dist/config/constants.d.ts +10 -25
- package/dist/config/sdk-config-loader.d.ts +2 -9
- package/dist/core/Avatar.d.ts +0 -15
- package/dist/core/AvatarController.d.ts +35 -116
- package/dist/core/AvatarDownloader.d.ts +0 -95
- package/dist/core/AvatarManager.d.ts +10 -18
- package/dist/core/AvatarSDK.d.ts +21 -0
- package/dist/core/AvatarView.d.ts +28 -110
- package/dist/core/NetworkLayer.d.ts +1 -59
- package/dist/generated/common/v1/models.d.ts +29 -0
- package/dist/generated/driveningress/v1/driveningress.d.ts +1 -12
- package/dist/generated/driveningress/v2/driveningress.d.ts +81 -3
- package/dist/generated/google/protobuf/struct.d.ts +5 -39
- package/dist/generated/google/protobuf/timestamp.d.ts +1 -103
- package/dist/index-BxhQDfJ7.js +14340 -0
- package/dist/index.d.ts +1 -6
- package/dist/index.js +17 -18
- package/dist/playground/apps/web/src/api/auth.d.ts +3 -0
- package/dist/playground/apps/web/src/api/character.d.ts +13 -0
- package/dist/playground/apps/web/src/api/index.d.ts +3 -0
- package/dist/playground/apps/web/src/api/redeem.d.ts +3 -0
- package/dist/playground/apps/web/src/composables/useDebugDataCollector.d.ts +377 -0
- package/dist/playground/apps/web/src/composables/useRealtimeAvatar.d.ts +452 -0
- package/dist/playground/apps/web/src/composables/useSubtitle.d.ts +19 -0
- package/dist/playground/apps/web/src/composables/useVAD.d.ts +49 -0
- package/dist/playground/apps/web/src/composables/useVideoCapture.d.ts +57 -0
- package/dist/playground/apps/web/src/config/app-config.d.ts +29 -0
- package/dist/playground/apps/web/src/config/realtime-config.d.ts +47 -0
- package/dist/playground/apps/web/src/config/region-config.d.ts +13 -0
- package/dist/playground/apps/web/src/constants.d.ts +14 -0
- package/dist/playground/apps/web/src/libs/vad/manager.d.ts +37 -0
- package/dist/playground/apps/web/src/libs/vad/process.worklet.d.ts +22 -0
- package/dist/playground/apps/web/src/libs/vad/simpleVad.d.ts +35 -0
- package/dist/playground/apps/web/src/libs/vad/vad.d.ts +56 -0
- package/dist/playground/apps/web/src/libs/vad/wav.d.ts +1 -0
- package/dist/playground/apps/web/src/locales/index.d.ts +2 -0
- package/dist/playground/apps/web/src/main.d.ts +0 -0
- package/dist/playground/apps/web/src/modules/i18n.d.ts +3 -0
- package/dist/playground/apps/web/src/modules/pwa.d.ts +1 -0
- package/dist/playground/apps/web/src/realtime/RealtimeWebSocketClient.d.ts +18 -0
- package/dist/playground/apps/web/src/realtime/index.d.ts +1 -0
- package/dist/playground/apps/web/src/realtime/utils/eventEmitter.d.ts +9 -0
- package/dist/playground/apps/web/src/stores/call.d.ts +173 -0
- package/dist/playground/apps/web/src/stores/character.d.ts +188 -0
- package/dist/playground/apps/web/src/stores/pwa.d.ts +7 -0
- package/dist/playground/apps/web/src/stores/region.d.ts +14 -0
- package/dist/playground/apps/web/src/stores/user.d.ts +22 -0
- package/dist/playground/apps/web/src/stores/vad.d.ts +73 -0
- package/dist/playground/apps/web/src/types/avatar.d.ts +17 -0
- package/dist/playground/apps/web/src/types/character-settings.d.ts +18 -0
- package/dist/playground/apps/web/src/types/character.d.ts +34 -0
- package/dist/playground/apps/web/src/utils/animation-interpolation.d.ts +7 -0
- package/dist/playground/apps/web/src/utils/api-client.d.ts +7 -0
- package/dist/playground/apps/web/src/utils/api-error.d.ts +13 -0
- package/dist/playground/apps/web/src/utils/dynamic-resource-loader.d.ts +43 -0
- package/dist/playground/apps/web/src/utils/error-utils.d.ts +7 -0
- package/dist/playground/apps/web/src/utils/image-optimizer.d.ts +17 -0
- package/dist/playground/apps/web/src/utils/logger.d.ts +1 -0
- package/dist/playground/apps/web/src/utils/memory-tracker.d.ts +23 -0
- package/dist/playground/apps/web/src/utils/nanoid.d.ts +1 -0
- package/dist/playground/apps/web/src/utils/posthog-tracker.d.ts +74 -0
- package/dist/playground/apps/web/src/utils/resource-cache.d.ts +25 -0
- package/dist/playground/apps/web/src/utils/sdk-preinit.d.ts +3 -0
- package/dist/playground/apps/web/src/utils/toast.d.ts +31 -0
- package/dist/playground/apps/web/vite.config.d.ts +2 -0
- package/dist/playground/bump.config.d.ts +2 -0
- package/dist/playground/eslint.config.d.ts +2 -0
- package/dist/playground/generated/buf/validate/validate.d.ts +397 -0
- package/dist/playground/generated/console/v1/collection_task.d.ts +183 -0
- package/dist/playground/generated/console/v1/console.d.ts +162 -0
- package/dist/playground/generated/console/v1/instance_management.d.ts +131 -0
- package/dist/playground/generated/console/v1/material.d.ts +163 -0
- package/dist/playground/generated/console/v1/pipetemplate.d.ts +106 -0
- package/dist/playground/generated/console/v1/task.d.ts +280 -0
- package/dist/playground/generated/driveningress/v1/driveningress.d.ts +69 -0
- package/dist/playground/generated/driveningress/v2/driveningress.d.ts +78 -0
- package/dist/playground/generated/google/api/annotations.d.ts +1 -0
- package/dist/playground/generated/google/api/http.d.ts +47 -0
- package/dist/playground/generated/google/protobuf/any.d.ts +27 -0
- package/dist/playground/generated/google/protobuf/descriptor.d.ts +513 -0
- package/dist/playground/generated/google/protobuf/duration.d.ts +27 -0
- package/dist/playground/generated/google/protobuf/struct.d.ts +74 -0
- package/dist/playground/generated/google/protobuf/timestamp.d.ts +27 -0
- package/dist/playground/generated/jsonapi/v1/base.d.ts +108 -0
- package/dist/playground/generated/platform/v1/asset_groups.d.ts +199 -0
- package/dist/playground/generated/platform/v1/assets.d.ts +141 -0
- package/dist/playground/generated/platform/v1/auth.d.ts +79 -0
- package/dist/playground/generated/platform/v1/character.d.ts +378 -0
- package/dist/playground/generated/platform/v1/character_template.d.ts +124 -0
- package/dist/playground/generated/platform/v1/collection_task.d.ts +60 -0
- package/dist/playground/generated/platform/v1/configkv.d.ts +101 -0
- package/dist/playground/generated/platform/v1/console.d.ts +29 -0
- package/dist/playground/generated/platform/v1/instance_management.d.ts +131 -0
- package/dist/playground/generated/platform/v1/material.d.ts +27 -0
- package/dist/playground/generated/platform/v1/oss.d.ts +53 -0
- package/dist/playground/generated/platform/v1/pipetemplate.d.ts +106 -0
- package/dist/playground/generated/platform/v1/provider.d.ts +141 -0
- package/dist/playground/generated/platform/v1/redeem.d.ts +83 -0
- package/dist/playground/generated/platform/v1/task.d.ts +39 -0
- package/dist/playground/generated/platform/v1/user.d.ts +142 -0
- package/dist/playground/generated/platform/v1/voice.d.ts +141 -0
- package/dist/playground/generated/realtime/v1/auth.d.ts +77 -0
- package/dist/playground/generated/realtime/v1/customized.d.ts +60 -0
- package/dist/playground/generated/realtime/v1/messages.d.ts +156 -0
- package/dist/playground/generated/realtime/v1/realtime.d.ts +67 -0
- package/dist/playground/generated/realtime/v1/redeem.d.ts +44 -0
- package/dist/playground/generated/realtime/v1/user.d.ts +150 -0
- package/dist/playground/generated/realtime/v2/realtime.d.ts +70 -0
- package/dist/playground/packages/sdk/src/index.d.ts +1 -0
- package/dist/playground/packages/sdk/tsdown.config.d.ts +2 -0
- package/dist/playground/unocss.config.d.ts +3 -0
- package/dist/renderer/RenderSystem.d.ts +1 -79
- package/dist/renderer/covariance.d.ts +0 -12
- package/dist/renderer/renderer.d.ts +6 -2
- package/dist/renderer/sortSplats.d.ts +0 -11
- package/dist/renderer/webgl/reorderData.d.ts +0 -13
- package/dist/renderer/webgl/webglRenderer.d.ts +19 -42
- package/dist/renderer/webgpu/webgpuRenderer.d.ts +18 -31
- package/dist/types/character-settings.d.ts +0 -5
- package/dist/types/character.d.ts +3 -21
- package/dist/types/index.d.ts +72 -36
- package/dist/utils/animation-interpolation.d.ts +3 -13
- package/dist/utils/client-id.d.ts +1 -0
- package/dist/utils/conversationId.d.ts +1 -0
- package/dist/utils/error-utils.d.ts +1 -25
- package/dist/utils/heartbeat-manager.d.ts +18 -0
- package/dist/utils/id-manager.d.ts +38 -0
- package/dist/utils/logger.d.ts +5 -11
- package/dist/utils/posthog-tracker.d.ts +11 -0
- package/dist/utils/usage-tracker.d.ts +5 -0
- package/dist/vanilla/vite.config.d.ts +2 -0
- package/dist/wasm/avatarCoreAdapter.d.ts +11 -97
- package/dist/wasm/avatarCoreMemory.d.ts +5 -54
- package/dist/withJoi/admin/eslint.config.d.ts +2 -0
- package/dist/withJoi/admin/generated/buf/validate/validate.d.ts +397 -0
- package/dist/withJoi/admin/generated/common/v1/models.d.ts +29 -0
- package/dist/withJoi/admin/generated/console/v1/admin_app.d.ts +77 -0
- package/dist/withJoi/admin/generated/console/v1/admin_auth.d.ts +69 -0
- package/dist/withJoi/admin/generated/console/v1/admin_config.d.ts +157 -0
- package/dist/withJoi/admin/generated/console/v1/admin_user.d.ts +84 -0
- package/dist/withJoi/admin/generated/console/v1/admin_user_character.d.ts +107 -0
- package/dist/withJoi/admin/generated/console/v1/app.d.ts +116 -0
- package/dist/withJoi/admin/generated/console/v1/auth.d.ts +199 -0
- package/dist/withJoi/admin/generated/console/v1/character.d.ts +74 -0
- package/dist/withJoi/admin/generated/console/v1/collection_task.d.ts +183 -0
- package/dist/withJoi/admin/generated/console/v1/console.d.ts +163 -0
- package/dist/withJoi/admin/generated/console/v1/instance_management.d.ts +156 -0
- package/dist/withJoi/admin/generated/console/v1/material.d.ts +180 -0
- package/dist/withJoi/admin/generated/console/v1/pipetemplate.d.ts +106 -0
- package/dist/withJoi/admin/generated/console/v1/task.d.ts +292 -0
- package/dist/withJoi/admin/generated/console/v2/async_processing.d.ts +85 -0
- package/dist/withJoi/admin/generated/google/api/annotations.d.ts +1 -0
- package/dist/withJoi/admin/generated/google/api/http.d.ts +47 -0
- package/dist/withJoi/admin/generated/google/protobuf/any.d.ts +27 -0
- package/dist/withJoi/admin/generated/google/protobuf/descriptor.d.ts +552 -0
- package/dist/withJoi/admin/generated/google/protobuf/duration.d.ts +27 -0
- package/dist/withJoi/admin/generated/google/protobuf/empty.d.ts +25 -0
- package/dist/withJoi/admin/generated/google/protobuf/struct.d.ts +74 -0
- package/dist/withJoi/admin/generated/google/protobuf/timestamp.d.ts +27 -0
- package/dist/withJoi/admin/generated/jsonapi/v1/base.d.ts +108 -0
- package/dist/withJoi/admin/generated/platform/v1/asset_groups.d.ts +204 -0
- package/dist/withJoi/admin/generated/platform/v1/assets.d.ts +141 -0
- package/dist/withJoi/admin/generated/platform/v1/auth.d.ts +79 -0
- package/dist/withJoi/admin/generated/platform/v1/character.d.ts +382 -0
- package/dist/withJoi/admin/generated/platform/v1/character_template.d.ts +124 -0
- package/dist/withJoi/admin/generated/platform/v1/christmas_characters.d.ts +118 -0
- package/dist/withJoi/admin/generated/platform/v1/collection_task.d.ts +60 -0
- package/dist/withJoi/admin/generated/platform/v1/config.d.ts +130 -0
- package/dist/withJoi/admin/generated/platform/v1/configkv.d.ts +105 -0
- package/dist/withJoi/admin/generated/platform/v1/console.d.ts +29 -0
- package/dist/withJoi/admin/generated/platform/v1/instance_management.d.ts +156 -0
- package/dist/withJoi/admin/generated/platform/v1/joi_model_apply.d.ts +100 -0
- package/dist/withJoi/admin/generated/platform/v1/material.d.ts +29 -0
- package/dist/withJoi/admin/generated/platform/v1/model_evaluation.d.ts +57 -0
- package/dist/withJoi/admin/generated/platform/v1/oss.d.ts +53 -0
- package/dist/withJoi/admin/generated/platform/v1/pipetemplate.d.ts +106 -0
- package/dist/withJoi/admin/generated/platform/v1/provider.d.ts +141 -0
- package/dist/withJoi/admin/generated/platform/v1/redeem.d.ts +83 -0
- package/dist/withJoi/admin/generated/platform/v1/sms_send_log.d.ts +95 -0
- package/dist/withJoi/admin/generated/platform/v1/task.d.ts +39 -0
- package/dist/withJoi/admin/generated/platform/v1/user.d.ts +142 -0
- package/dist/withJoi/admin/generated/platform/v1/voice.d.ts +141 -0
- package/dist/withJoi/admin/generated/realtime/v1/auth.d.ts +77 -0
- package/dist/withJoi/admin/generated/realtime/v1/customized.d.ts +60 -0
- package/dist/withJoi/admin/generated/realtime/v1/messages.d.ts +156 -0
- package/dist/withJoi/admin/generated/realtime/v1/realtime.d.ts +67 -0
- package/dist/withJoi/admin/generated/realtime/v1/redeem.d.ts +44 -0
- package/dist/withJoi/admin/generated/realtime/v1/user.d.ts +150 -0
- package/dist/withJoi/admin/generated/realtime/v2/auth.d.ts +68 -0
- package/dist/withJoi/admin/generated/realtime/v2/callback.d.ts +56 -0
- package/dist/withJoi/admin/generated/realtime/v2/joi_avatar.d.ts +204 -0
- package/dist/withJoi/admin/generated/realtime/v2/model_apply.d.ts +138 -0
- package/dist/withJoi/admin/generated/realtime/v2/realtime.d.ts +70 -0
- package/dist/withJoi/admin/generated/realtime/v2/user.d.ts +96 -0
- package/dist/withJoi/admin/openapi-ts.config.d.ts +8 -0
- package/dist/withJoi/admin/src/apis/useAssetApi.d.ts +17 -0
- package/dist/withJoi/admin/src/apis/useAssetGroupApi.d.ts +26 -0
- package/dist/withJoi/admin/src/apis/useCharacterApi.d.ts +21 -0
- package/dist/withJoi/admin/src/apis/useCharacterTemplateApi.d.ts +20 -0
- package/dist/withJoi/admin/src/apis/useChristmasCharactersApi.d.ts +40 -0
- package/dist/withJoi/admin/src/apis/useCollectionTaskApi.d.ts +64 -0
- package/dist/withJoi/admin/src/apis/useConfigApi.d.ts +16 -0
- package/dist/withJoi/admin/src/apis/useConsoleApi.d.ts +24 -0
- package/dist/withJoi/admin/src/apis/useInstanceManagementApi.d.ts +19 -0
- package/dist/withJoi/admin/src/apis/useJoiModelApplyApi.d.ts +11 -0
- package/dist/withJoi/admin/src/apis/useMaterialApi.d.ts +1 -0
- package/dist/withJoi/admin/src/apis/useOssApi.d.ts +15 -0
- package/dist/withJoi/admin/src/apis/usePipelineTemplateApi.d.ts +8 -0
- package/dist/withJoi/admin/src/apis/useProviderApi.d.ts +16 -0
- package/dist/withJoi/admin/src/apis/useRedeemApi.d.ts +5 -0
- package/dist/withJoi/admin/src/apis/useSmsSendLogApi.d.ts +14 -0
- package/dist/withJoi/admin/src/apis/useTaskApi.d.ts +66 -0
- package/dist/withJoi/admin/src/apis/useUserApi.d.ts +17 -0
- package/dist/withJoi/admin/src/apis/useVoiceApi.d.ts +15 -0
- package/dist/withJoi/admin/src/client/client/client.gen.d.ts +2 -0
- package/dist/withJoi/admin/src/client/client/index.d.ts +8 -0
- package/dist/withJoi/admin/src/client/client/types.gen.d.ts +70 -0
- package/dist/withJoi/admin/src/client/client/utils.gen.d.ts +31 -0
- package/dist/withJoi/admin/src/client/client.gen.d.ts +5 -0
- package/dist/withJoi/admin/src/client/core/auth.gen.d.ts +8 -0
- package/dist/withJoi/admin/src/client/core/bodySerializer.gen.d.ts +21 -0
- package/dist/withJoi/admin/src/client/core/params.gen.d.ts +27 -0
- package/dist/withJoi/admin/src/client/core/pathSerializer.gen.d.ts +30 -0
- package/dist/withJoi/admin/src/client/core/queryKeySerializer.gen.d.ts +9 -0
- package/dist/withJoi/admin/src/client/core/serverSentEvents.gen.d.ts +23 -0
- package/dist/withJoi/admin/src/client/core/types.gen.d.ts +32 -0
- package/dist/withJoi/admin/src/client/core/utils.gen.d.ts +19 -0
- package/dist/withJoi/admin/src/client/index.d.ts +2 -0
- package/dist/withJoi/admin/src/client/sdk.gen.d.ts +245 -0
- package/dist/withJoi/admin/src/client/types.gen.d.ts +4009 -0
- package/dist/withJoi/admin/src/client/valibot.gen.d.ts +7814 -0
- package/dist/withJoi/admin/src/components/ui/alert/index.d.ts +8 -0
- package/dist/withJoi/admin/src/components/ui/alert-dialog/index.d.ts +9 -0
- package/dist/withJoi/admin/src/components/ui/avatar/index.d.ts +9 -0
- package/dist/withJoi/admin/src/components/ui/badge/index.d.ts +6 -0
- package/dist/withJoi/admin/src/components/ui/breadcrumb/index.d.ts +7 -0
- package/dist/withJoi/admin/src/components/ui/button/index.d.ts +7 -0
- package/dist/withJoi/admin/src/components/ui/card/index.d.ts +6 -0
- package/dist/withJoi/admin/src/components/ui/checkbox/index.d.ts +1 -0
- package/dist/withJoi/admin/src/components/ui/collapsible/index.d.ts +3 -0
- package/dist/withJoi/admin/src/components/ui/combobox/index.d.ts +9 -0
- package/dist/withJoi/admin/src/components/ui/dialog/index.d.ts +9 -0
- package/dist/withJoi/admin/src/components/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/withJoi/admin/src/components/ui/filter-popover/index.d.ts +1 -0
- package/dist/withJoi/admin/src/components/ui/form/index.d.ts +7 -0
- package/dist/withJoi/admin/src/components/ui/form/injectionKeys.d.ts +2 -0
- package/dist/withJoi/admin/src/components/ui/form/useFormField.d.ts +11 -0
- package/dist/withJoi/admin/src/components/ui/input/index.d.ts +1 -0
- package/dist/withJoi/admin/src/components/ui/label/index.d.ts +1 -0
- package/dist/withJoi/admin/src/components/ui/popover/index.d.ts +4 -0
- package/dist/withJoi/admin/src/components/ui/progress/index.d.ts +1 -0
- package/dist/withJoi/admin/src/components/ui/select/index.d.ts +11 -0
- package/dist/withJoi/admin/src/components/ui/separator/index.d.ts +1 -0
- package/dist/withJoi/admin/src/components/ui/sheet/index.d.ts +13 -0
- package/dist/withJoi/admin/src/components/ui/sidebar/index.d.ts +37 -0
- package/dist/withJoi/admin/src/components/ui/sidebar/utils.d.ts +54 -0
- package/dist/withJoi/admin/src/components/ui/skeleton/index.d.ts +1 -0
- package/dist/withJoi/admin/src/components/ui/slider/index.d.ts +1 -0
- package/dist/withJoi/admin/src/components/ui/switch/index.d.ts +1 -0
- package/dist/withJoi/admin/src/components/ui/tabs/index.d.ts +4 -0
- package/dist/withJoi/admin/src/components/ui/tags-input/index.d.ts +5 -0
- package/dist/withJoi/admin/src/components/ui/textarea/index.d.ts +1 -0
- package/dist/withJoi/admin/src/components/ui/tooltip/index.d.ts +4 -0
- package/dist/withJoi/admin/src/composables/useApi.d.ts +21 -0
- package/dist/withJoi/admin/src/composables/useAppStorage.d.ts +9 -0
- package/dist/withJoi/admin/src/composables/useAssetUpload.d.ts +31 -0
- package/dist/withJoi/admin/src/composables/useCharacterForm.d.ts +139 -0
- package/dist/withJoi/admin/src/composables/useCharacterSettings.d.ts +27 -0
- package/dist/withJoi/admin/src/composables/useCharacterTemplateForm.d.ts +47 -0
- package/dist/withJoi/admin/src/composables/useCollectionTaskFilters.d.ts +12 -0
- package/dist/withJoi/admin/src/composables/useFileUpload.d.ts +26 -0
- package/dist/withJoi/admin/src/composables/useMaterialFilters.d.ts +14 -0
- package/dist/withJoi/admin/src/composables/useModelEvaluation.d.ts +11 -0
- package/dist/withJoi/admin/src/composables/useModelEvaluationWebSocket.d.ts +111 -0
- package/dist/withJoi/admin/src/composables/useModelSettings.d.ts +12 -0
- package/dist/withJoi/admin/src/composables/usePageScrollLock.d.ts +6 -0
- package/dist/withJoi/admin/src/composables/useTaskFilters.d.ts +11 -0
- package/dist/withJoi/admin/src/constants/character.d.ts +4 -0
- package/dist/withJoi/admin/src/constants/collection-task.d.ts +5 -0
- package/dist/withJoi/admin/src/constants/config-previews.d.ts +8 -0
- package/dist/withJoi/admin/src/constants/container.d.ts +1 -0
- package/dist/withJoi/admin/src/constants/links.d.ts +5 -0
- package/dist/withJoi/admin/src/constants/nav.d.ts +17 -0
- package/dist/withJoi/admin/src/constants/providers.d.ts +17 -0
- package/dist/withJoi/admin/src/constants/regions.d.ts +10 -0
- package/dist/withJoi/admin/src/constants/test-ground-voices.d.ts +19 -0
- package/dist/withJoi/admin/src/constants/ui.d.ts +4 -0
- package/dist/withJoi/admin/src/constants/voice.d.ts +12 -0
- package/dist/withJoi/admin/src/constants/volc.d.ts +135 -0
- package/dist/withJoi/admin/src/lib/cos/constants.d.ts +6 -0
- package/dist/withJoi/admin/src/lib/cos/useCosDownload.d.ts +39 -0
- package/dist/withJoi/admin/src/lib/cos/useCosUpload.d.ts +47 -0
- package/dist/withJoi/admin/src/lib/cos/useVideoInfoExtractor.d.ts +12 -0
- package/dist/withJoi/admin/src/lib/cos/utils.d.ts +4 -0
- package/dist/withJoi/admin/src/lib/utils.d.ts +49 -0
- package/dist/withJoi/admin/src/main.d.ts +0 -0
- package/dist/withJoi/admin/src/renderSystem/animation/utils/eventEmitter.d.ts +9 -0
- package/dist/withJoi/admin/src/renderSystem/animation/utils/flameConverter.d.ts +18 -0
- package/dist/withJoi/admin/src/renderSystem/audio/AnimationPlayer.d.ts +29 -0
- package/dist/withJoi/admin/src/renderSystem/audio/StreamingAudioPlayer.d.ts +57 -0
- package/dist/withJoi/admin/src/renderSystem/config/app-config.d.ts +39 -0
- package/dist/withJoi/admin/src/renderSystem/config/constants.d.ts +3 -0
- package/dist/withJoi/admin/src/renderSystem/config/sdk-config-loader.d.ts +5 -0
- package/dist/withJoi/admin/src/renderSystem/core/Avatar.d.ts +8 -0
- package/dist/withJoi/admin/src/renderSystem/core/AvatarController.d.ts +60 -0
- package/dist/withJoi/admin/src/renderSystem/core/AvatarDownloader.d.ts +38 -0
- package/dist/withJoi/admin/src/renderSystem/core/AvatarKit.d.ts +9 -0
- package/dist/withJoi/admin/src/renderSystem/core/AvatarView.d.ts +64 -0
- package/dist/withJoi/admin/src/renderSystem/generated/driveningress/v1/driveningress.d.ts +68 -0
- package/dist/withJoi/admin/src/renderSystem/generated/driveningress/v2/driveningress.d.ts +3 -0
- package/dist/withJoi/admin/src/renderSystem/generated/google/protobuf/struct.d.ts +74 -0
- package/dist/withJoi/admin/src/renderSystem/generated/google/protobuf/timestamp.d.ts +27 -0
- package/dist/withJoi/admin/src/renderSystem/renderer/RenderSystem.d.ts +1 -0
- package/dist/withJoi/admin/src/renderSystem/renderer/covariance.d.ts +1 -0
- package/dist/withJoi/admin/src/renderSystem/renderer/renderer.d.ts +7 -0
- package/dist/withJoi/admin/src/renderSystem/renderer/sortSplats.d.ts +1 -0
- package/dist/withJoi/admin/src/renderSystem/renderer/webgl/reorderData.d.ts +1 -0
- package/dist/withJoi/admin/src/renderSystem/renderer/webgl/webglRenderer.d.ts +27 -0
- package/dist/withJoi/admin/src/renderSystem/renderer/webgpu/webgpuRenderer.d.ts +27 -0
- package/dist/withJoi/admin/src/renderSystem/types/character-settings.d.ts +18 -0
- package/dist/withJoi/admin/src/renderSystem/types/character.d.ts +22 -0
- package/dist/withJoi/admin/src/renderSystem/types/index.d.ts +62 -0
- package/dist/withJoi/admin/src/renderSystem/utils/animation-interpolation.d.ts +7 -0
- package/dist/withJoi/admin/src/renderSystem/utils/conversationId.d.ts +1 -0
- package/dist/withJoi/admin/src/renderSystem/utils/error-utils.d.ts +3 -0
- package/dist/withJoi/admin/src/renderSystem/utils/id-manager.d.ts +12 -0
- package/dist/withJoi/admin/src/renderSystem/utils/logger.d.ts +14 -0
- package/dist/withJoi/admin/src/renderSystem/wasm/avatarCoreAdapter.d.ts +101 -0
- package/dist/withJoi/admin/src/renderSystem/wasm/avatarCoreMemory.d.ts +92 -0
- package/dist/withJoi/admin/src/stores/providers.d.ts +336 -0
- package/dist/withJoi/admin/src/stores/region.d.ts +19 -0
- package/dist/withJoi/admin/src/stores/user.d.ts +112 -0
- package/dist/withJoi/admin/src/types/character-settings.d.ts +18 -0
- package/dist/withJoi/admin/src/types/character.d.ts +117 -0
- package/dist/withJoi/admin/src/types/collection-task.d.ts +11 -0
- package/dist/withJoi/admin/src/types/config.d.ts +36 -0
- package/dist/withJoi/admin/src/types/doubao-voice.d.ts +42 -0
- package/dist/withJoi/admin/src/types/error.d.ts +5 -0
- package/dist/withJoi/admin/src/types/model-settings.d.ts +41 -0
- package/dist/withJoi/admin/src/types/task.d.ts +45 -0
- package/dist/withJoi/admin/src/types/test-ground.d.ts +36 -0
- package/dist/withJoi/admin/src/types/video-material.d.ts +130 -0
- package/dist/withJoi/admin/src/types/voice.d.ts +58 -0
- package/dist/withJoi/admin/src/utils/collection-task.d.ts +3 -0
- package/dist/withJoi/admin/src/utils/error.d.ts +1 -0
- package/dist/withJoi/admin/src/utils/hash.d.ts +20 -0
- package/dist/withJoi/admin/src/utils/model-settings.d.ts +9 -0
- package/dist/withJoi/admin/src/utils/monad.d.ts +13 -0
- package/dist/withJoi/admin/src/utils/task.d.ts +8 -0
- package/dist/withJoi/admin/unocss.config.d.ts +2 -0
- package/dist/withJoi/admin/vite.config.d.ts +2 -0
- package/dist/withJoi/admin/vue-macros.config.d.ts +2 -0
- package/dist/withJoi/bump.config.d.ts +2 -0
- package/dist/withJoi/eslint.config.d.ts +2 -0
- package/dist/withJoi/generated/buf/validate/validate.d.ts +397 -0
- package/dist/withJoi/generated/common/v1/models.d.ts +29 -0
- package/dist/withJoi/generated/console/v1/admin_app.d.ts +77 -0
- package/dist/withJoi/generated/console/v1/admin_auth.d.ts +69 -0
- package/dist/withJoi/generated/console/v1/admin_config.d.ts +157 -0
- package/dist/withJoi/generated/console/v1/admin_user.d.ts +84 -0
- package/dist/withJoi/generated/console/v1/admin_user_character.d.ts +107 -0
- package/dist/withJoi/generated/console/v1/app.d.ts +116 -0
- package/dist/withJoi/generated/console/v1/auth.d.ts +199 -0
- package/dist/withJoi/generated/console/v1/character.d.ts +74 -0
- package/dist/withJoi/generated/console/v1/collection_task.d.ts +183 -0
- package/dist/withJoi/generated/console/v1/console.d.ts +163 -0
- package/dist/withJoi/generated/console/v1/instance_management.d.ts +156 -0
- package/dist/withJoi/generated/console/v1/material.d.ts +180 -0
- package/dist/withJoi/generated/console/v1/pipetemplate.d.ts +106 -0
- package/dist/withJoi/generated/console/v1/task.d.ts +292 -0
- package/dist/withJoi/generated/console/v2/async_processing.d.ts +85 -0
- package/dist/withJoi/generated/driveningress/v1/driveningress.d.ts +69 -0
- package/dist/withJoi/generated/driveningress/v2/driveningress.d.ts +159 -0
- package/dist/withJoi/generated/google/api/annotations.d.ts +1 -0
- package/dist/withJoi/generated/google/api/http.d.ts +47 -0
- package/dist/withJoi/generated/google/protobuf/any.d.ts +27 -0
- package/dist/withJoi/generated/google/protobuf/descriptor.d.ts +552 -0
- package/dist/withJoi/generated/google/protobuf/duration.d.ts +27 -0
- package/dist/withJoi/generated/google/protobuf/empty.d.ts +25 -0
- package/dist/withJoi/generated/google/protobuf/struct.d.ts +74 -0
- package/dist/withJoi/generated/google/protobuf/timestamp.d.ts +27 -0
- package/dist/withJoi/generated/jsonapi/v1/base.d.ts +108 -0
- package/dist/withJoi/generated/platform/v1/asset_groups.d.ts +204 -0
- package/dist/withJoi/generated/platform/v1/assets.d.ts +141 -0
- package/dist/withJoi/generated/platform/v1/auth.d.ts +79 -0
- package/dist/withJoi/generated/platform/v1/character.d.ts +382 -0
- package/dist/withJoi/generated/platform/v1/character_template.d.ts +124 -0
- package/dist/withJoi/generated/platform/v1/christmas_characters.d.ts +118 -0
- package/dist/withJoi/generated/platform/v1/collection_task.d.ts +60 -0
- package/dist/withJoi/generated/platform/v1/configkv.d.ts +105 -0
- package/dist/withJoi/generated/platform/v1/console.d.ts +29 -0
- package/dist/withJoi/generated/platform/v1/instance_management.d.ts +156 -0
- package/dist/withJoi/generated/platform/v1/joi_model_apply.d.ts +100 -0
- package/dist/withJoi/generated/platform/v1/material.d.ts +29 -0
- package/dist/withJoi/generated/platform/v1/model_evaluation.d.ts +100 -0
- package/dist/withJoi/generated/platform/v1/oss.d.ts +53 -0
- package/dist/withJoi/generated/platform/v1/pipetemplate.d.ts +106 -0
- package/dist/withJoi/generated/platform/v1/provider.d.ts +141 -0
- package/dist/withJoi/generated/platform/v1/redeem.d.ts +83 -0
- package/dist/withJoi/generated/platform/v1/sms_send_log.d.ts +95 -0
- package/dist/withJoi/generated/platform/v1/task.d.ts +39 -0
- package/dist/withJoi/generated/platform/v1/user.d.ts +142 -0
- package/dist/withJoi/generated/platform/v1/voice.d.ts +141 -0
- package/dist/withJoi/generated/realtime/v1/auth.d.ts +77 -0
- package/dist/withJoi/generated/realtime/v1/customized.d.ts +60 -0
- package/dist/withJoi/generated/realtime/v1/messages.d.ts +156 -0
- package/dist/withJoi/generated/realtime/v1/realtime.d.ts +67 -0
- package/dist/withJoi/generated/realtime/v1/redeem.d.ts +44 -0
- package/dist/withJoi/generated/realtime/v1/user.d.ts +151 -0
- package/dist/withJoi/generated/realtime/v2/auth.d.ts +84 -0
- package/dist/withJoi/generated/realtime/v2/callback.d.ts +56 -0
- package/dist/withJoi/generated/realtime/v2/christmas.d.ts +146 -0
- package/dist/withJoi/generated/realtime/v2/joi_avatar.d.ts +198 -0
- package/dist/withJoi/generated/realtime/v2/model_apply.d.ts +194 -0
- package/dist/withJoi/generated/realtime/v2/realtime.d.ts +140 -0
- package/dist/withJoi/generated/realtime/v2/user.d.ts +96 -0
- package/dist/withJoi/generated/shared-proto/syncdb/v1/syncdb.d.ts +54 -0
- package/dist/withJoi/generated/syncdb/v1/syncdb.d.ts +54 -0
- package/dist/withJoi/legacy/unocss.shared.d.ts +3 -0
- package/dist/withJoi/openapi-ts.config.d.ts +8 -0
- package/dist/withJoi/packages/sdk/src/index.d.ts +1 -0
- package/dist/withJoi/packages/sdk/tsdown.config.d.ts +2 -0
- package/dist/withJoi/src/api/appearance.d.ts +5 -0
- package/dist/withJoi/src/api/auth.d.ts +7 -0
- package/dist/withJoi/src/api/character.d.ts +20 -0
- package/dist/withJoi/src/api/index.d.ts +8 -0
- package/dist/withJoi/src/api/joi-avatar.d.ts +26 -0
- package/dist/withJoi/src/api/model-apply.d.ts +21 -0
- package/dist/withJoi/src/api/oss.d.ts +13 -0
- package/dist/withJoi/src/api/provider.d.ts +11 -0
- package/dist/withJoi/src/api/redeem.d.ts +3 -0
- package/dist/withJoi/src/api/user.d.ts +9 -0
- package/dist/withJoi/src/audio/AnimationPlayer.d.ts +22 -0
- package/dist/withJoi/src/audio/StreamingAudioPlayer.d.ts +58 -0
- package/dist/withJoi/src/client/client/client.gen.d.ts +2 -0
- package/dist/withJoi/src/client/client/index.d.ts +8 -0
- package/dist/withJoi/src/client/client/types.gen.d.ts +70 -0
- package/dist/withJoi/src/client/client/utils.gen.d.ts +31 -0
- package/dist/withJoi/src/client/client.gen.d.ts +5 -0
- package/dist/withJoi/src/client/core/auth.gen.d.ts +8 -0
- package/dist/withJoi/src/client/core/bodySerializer.gen.d.ts +21 -0
- package/dist/withJoi/src/client/core/params.gen.d.ts +27 -0
- package/dist/withJoi/src/client/core/pathSerializer.gen.d.ts +30 -0
- package/dist/withJoi/src/client/core/queryKeySerializer.gen.d.ts +9 -0
- package/dist/withJoi/src/client/core/serverSentEvents.gen.d.ts +23 -0
- package/dist/withJoi/src/client/core/types.gen.d.ts +32 -0
- package/dist/withJoi/src/client/core/utils.gen.d.ts +19 -0
- package/dist/withJoi/src/client/index.d.ts +2 -0
- package/dist/withJoi/src/client/sdk.gen.d.ts +303 -0
- package/dist/withJoi/src/client/types.gen.d.ts +4988 -0
- package/dist/withJoi/src/client/valibot.gen.d.ts +10015 -0
- package/dist/withJoi/src/components/ui/avatar/index.d.ts +9 -0
- package/dist/withJoi/src/components/ui/badge/index.d.ts +6 -0
- package/dist/withJoi/src/components/ui/button/index.d.ts +7 -0
- package/dist/withJoi/src/components/ui/popover/index.d.ts +4 -0
- package/dist/withJoi/src/components/ui/select/index.d.ts +11 -0
- package/dist/withJoi/src/composables/useCameraConfig.d.ts +48 -0
- package/dist/withJoi/src/composables/useDebugDataCollector.d.ts +377 -0
- package/dist/withJoi/src/composables/usePreviewWebSocketManager.d.ts +25 -0
- package/dist/withJoi/src/composables/useRealtimeAvatar.d.ts +462 -0
- package/dist/withJoi/src/composables/useSubtitle.d.ts +19 -0
- package/dist/withJoi/src/composables/useVAD.d.ts +49 -0
- package/dist/withJoi/src/composables/useVideoCapture.d.ts +57 -0
- package/dist/withJoi/src/config/app-config.d.ts +29 -0
- package/dist/withJoi/src/config/realtime-config.d.ts +46 -0
- package/dist/withJoi/src/config/region-config.d.ts +15 -0
- package/dist/withJoi/src/constants.d.ts +22 -0
- package/dist/withJoi/src/lib/utils.d.ts +2 -0
- package/dist/withJoi/src/libs/vad/manager.d.ts +37 -0
- package/dist/withJoi/src/libs/vad/process.worklet.d.ts +22 -0
- package/dist/withJoi/src/libs/vad/simpleVad.d.ts +35 -0
- package/dist/withJoi/src/libs/vad/vad.d.ts +56 -0
- package/dist/withJoi/src/libs/vad/wav.d.ts +1 -0
- package/dist/withJoi/src/locales/index.d.ts +2 -0
- package/dist/withJoi/src/main.d.ts +0 -0
- package/dist/withJoi/src/modules/i18n.d.ts +3 -0
- package/dist/withJoi/src/modules/pwa.d.ts +1 -0
- package/dist/withJoi/src/realtime/PreviewWebSocketClient.d.ts +18 -0
- package/dist/withJoi/src/realtime/RealtimeSyncManager.d.ts +34 -0
- package/dist/withJoi/src/realtime/RealtimeWebSocketClient.d.ts +18 -0
- package/dist/withJoi/src/realtime/index.d.ts +3 -0
- package/dist/withJoi/src/realtime/types.d.ts +29 -0
- package/dist/withJoi/src/realtime/utils/audioDebug.d.ts +3 -0
- package/dist/withJoi/src/realtime/utils/audioUtils.d.ts +11 -0
- package/dist/withJoi/src/realtime/utils/eventEmitter.d.ts +9 -0
- package/dist/withJoi/src/renderer/RenderSystem.d.ts +34 -0
- package/dist/withJoi/src/renderer/covariance.d.ts +1 -0
- package/dist/withJoi/src/renderer/renderer.d.ts +7 -0
- package/dist/withJoi/src/renderer/sortSplats.d.ts +1 -0
- package/dist/withJoi/src/renderer/webgl/reorderData.d.ts +1 -0
- package/dist/withJoi/src/renderer/webgl/webglRenderer.d.ts +27 -0
- package/dist/withJoi/src/renderer/webgpu/webgpuRenderer.d.ts +26 -0
- package/dist/withJoi/src/stores/call.d.ts +176 -0
- package/dist/withJoi/src/stores/character.d.ts +188 -0
- package/dist/withJoi/src/stores/config.d.ts +59 -0
- package/dist/withJoi/src/stores/pwa.d.ts +7 -0
- package/dist/withJoi/src/stores/region.d.ts +14 -0
- package/dist/withJoi/src/stores/user.d.ts +52 -0
- package/dist/withJoi/src/stores/vad.d.ts +73 -0
- package/dist/withJoi/src/types/appearance.d.ts +30 -0
- package/dist/withJoi/src/types/avatar.d.ts +17 -0
- package/dist/withJoi/src/types/character-settings.d.ts +18 -0
- package/dist/withJoi/src/types/character.d.ts +34 -0
- package/dist/withJoi/src/types/doubao-voice.d.ts +42 -0
- package/dist/withJoi/src/utils/animation-interpolation.d.ts +7 -0
- package/dist/withJoi/src/utils/api-client.d.ts +7 -0
- package/dist/withJoi/src/utils/api-error.d.ts +13 -0
- package/dist/withJoi/src/utils/avatar-converter.d.ts +1 -0
- package/dist/withJoi/src/utils/error-utils.d.ts +3 -0
- package/dist/withJoi/src/utils/hash.d.ts +5 -0
- package/dist/withJoi/src/utils/helpers.d.ts +15 -0
- package/dist/withJoi/src/utils/image-optimizer.d.ts +17 -0
- package/dist/withJoi/src/utils/logger.d.ts +1 -0
- package/dist/withJoi/src/utils/memory-tracker.d.ts +23 -0
- package/dist/withJoi/src/utils/model-settings-utils.d.ts +29 -0
- package/dist/withJoi/src/utils/nanoid.d.ts +1 -0
- package/dist/withJoi/src/utils/posthog-tracker.d.ts +74 -0
- package/dist/withJoi/src/utils/postprocess-sdk-converter.d.ts +4 -0
- package/dist/withJoi/src/utils/postprocess-transform.d.ts +25 -0
- package/dist/withJoi/src/utils/r2-upload.d.ts +8 -0
- package/dist/withJoi/src/utils/resource-cache.d.ts +25 -0
- package/dist/withJoi/src/utils/sdk-preinit.d.ts +3 -0
- package/dist/withJoi/src/utils/toast.d.ts +30 -0
- package/dist/withJoi/src/wasm/avatarCoreAdapter.d.ts +101 -0
- package/dist/withJoi/src/wasm/avatarCoreMemory.d.ts +72 -0
- package/dist/withJoi/unocss.config.d.ts +2 -0
- package/dist/withJoi/vite.config.d.ts +2 -0
- package/package.json +15 -13
- package/dist/StreamingAudioPlayer-L87IFoao.js +0 -319
- package/dist/StreamingAudioPlayer-L87IFoao.js.map +0 -1
- package/dist/animation/AnimationWebSocketClient.d.ts.map +0 -1
- package/dist/animation/utils/eventEmitter.d.ts.map +0 -1
- package/dist/animation/utils/flameConverter.d.ts.map +0 -1
- package/dist/audio/AnimationPlayer.d.ts.map +0 -1
- package/dist/audio/StreamingAudioPlayer.d.ts.map +0 -1
- package/dist/avatar_core_wasm-D4eEi7Eh.js +0 -1666
- package/dist/avatar_core_wasm-D4eEi7Eh.js.map +0 -1
- package/dist/config/app-config.d.ts.map +0 -1
- package/dist/config/constants.d.ts.map +0 -1
- package/dist/config/sdk-config-loader.d.ts.map +0 -1
- package/dist/core/Avatar.d.ts.map +0 -1
- package/dist/core/AvatarController.d.ts.map +0 -1
- package/dist/core/AvatarDownloader.d.ts.map +0 -1
- package/dist/core/AvatarKit.d.ts +0 -66
- package/dist/core/AvatarKit.d.ts.map +0 -1
- package/dist/core/AvatarManager.d.ts.map +0 -1
- package/dist/core/AvatarView.d.ts.map +0 -1
- package/dist/core/NetworkLayer.d.ts.map +0 -1
- package/dist/generated/driveningress/v1/driveningress.d.ts.map +0 -1
- package/dist/generated/driveningress/v2/driveningress.d.ts.map +0 -1
- package/dist/generated/google/protobuf/struct.d.ts.map +0 -1
- package/dist/generated/google/protobuf/timestamp.d.ts.map +0 -1
- package/dist/index-BDxVrKwm.js +0 -5942
- package/dist/index-BDxVrKwm.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/renderer/RenderSystem.d.ts.map +0 -1
- package/dist/renderer/covariance.d.ts.map +0 -1
- package/dist/renderer/renderer.d.ts.map +0 -1
- package/dist/renderer/sortSplats.d.ts.map +0 -1
- package/dist/renderer/webgl/reorderData.d.ts.map +0 -1
- package/dist/renderer/webgl/webglRenderer.d.ts.map +0 -1
- package/dist/renderer/webgpu/webgpuRenderer.d.ts.map +0 -1
- package/dist/types/character-settings.d.ts.map +0 -1
- package/dist/types/character.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/utils/animation-interpolation.d.ts.map +0 -1
- package/dist/utils/cls-tracker.d.ts +0 -17
- package/dist/utils/cls-tracker.d.ts.map +0 -1
- package/dist/utils/error-utils.d.ts.map +0 -1
- package/dist/utils/logger.d.ts.map +0 -1
- package/dist/utils/reqId.d.ts +0 -20
- package/dist/utils/reqId.d.ts.map +0 -1
- package/dist/wasm/avatarCoreAdapter.d.ts.map +0 -1
- package/dist/wasm/avatarCoreMemory.d.ts.map +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export { default as Alert } from './Alert.vue';
|
|
3
|
+
export { default as AlertDescription } from './AlertDescription.vue';
|
|
4
|
+
export { default as AlertTitle } from './AlertTitle.vue';
|
|
5
|
+
export declare const alertVariants: (props?: ({
|
|
6
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
+
export type AlertVariants = VariantProps<typeof alertVariants>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as AlertDialog } from './AlertDialog.vue';
|
|
2
|
+
export { default as AlertDialogAction } from './AlertDialogAction.vue';
|
|
3
|
+
export { default as AlertDialogCancel } from './AlertDialogCancel.vue';
|
|
4
|
+
export { default as AlertDialogContent } from './AlertDialogContent.vue';
|
|
5
|
+
export { default as AlertDialogDescription } from './AlertDialogDescription.vue';
|
|
6
|
+
export { default as AlertDialogFooter } from './AlertDialogFooter.vue';
|
|
7
|
+
export { default as AlertDialogHeader } from './AlertDialogHeader.vue';
|
|
8
|
+
export { default as AlertDialogTitle } from './AlertDialogTitle.vue';
|
|
9
|
+
export { default as AlertDialogTrigger } from './AlertDialogTrigger.vue';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export { default as Avatar } from './Avatar.vue';
|
|
3
|
+
export { default as AvatarFallback } from './AvatarFallback.vue';
|
|
4
|
+
export { default as AvatarImage } from './AvatarImage.vue';
|
|
5
|
+
export declare const avatarVariant: (props?: ({
|
|
6
|
+
size?: "base" | "sm" | "lg" | null | undefined;
|
|
7
|
+
shape?: "circle" | "square" | null | undefined;
|
|
8
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
+
export type AvatarVariants = VariantProps<typeof avatarVariant>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export { default as Badge } from './Badge.vue';
|
|
3
|
+
export declare const badgeVariants: (props?: ({
|
|
4
|
+
variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
export type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as Breadcrumb } from './Breadcrumb.vue';
|
|
2
|
+
export { default as BreadcrumbEllipsis } from './BreadcrumbEllipsis.vue';
|
|
3
|
+
export { default as BreadcrumbItem } from './BreadcrumbItem.vue';
|
|
4
|
+
export { default as BreadcrumbLink } from './BreadcrumbLink.vue';
|
|
5
|
+
export { default as BreadcrumbList } from './BreadcrumbList.vue';
|
|
6
|
+
export { default as BreadcrumbPage } from './BreadcrumbPage.vue';
|
|
7
|
+
export { default as BreadcrumbSeparator } from './BreadcrumbSeparator.vue';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export { default as Button } from './Button.vue';
|
|
3
|
+
export declare const buttonVariants: (props?: ({
|
|
4
|
+
variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | "gradient" | null | undefined;
|
|
5
|
+
size?: "default" | "icon" | "sm" | "lg" | "xs" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as Card } from './Card.vue';
|
|
2
|
+
export { default as CardContent } from './CardContent.vue';
|
|
3
|
+
export { default as CardDescription } from './CardDescription.vue';
|
|
4
|
+
export { default as CardFooter } from './CardFooter.vue';
|
|
5
|
+
export { default as CardHeader } from './CardHeader.vue';
|
|
6
|
+
export { default as CardTitle } from './CardTitle.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Checkbox } from './Checkbox.vue';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as Combobox } from './Combobox.vue';
|
|
2
|
+
export { default as ComboboxAnchor } from './ComboboxAnchor.vue';
|
|
3
|
+
export { default as ComboboxEmpty } from './ComboboxEmpty.vue';
|
|
4
|
+
export { default as ComboboxGroup } from './ComboboxGroup.vue';
|
|
5
|
+
export { default as ComboboxInput } from './ComboboxInput.vue';
|
|
6
|
+
export { default as ComboboxItem } from './ComboboxItem.vue';
|
|
7
|
+
export { default as ComboboxList } from './ComboboxList.vue';
|
|
8
|
+
export { default as ComboboxSeparator } from './ComboboxSeparator.vue';
|
|
9
|
+
export { ComboboxCancel, ComboboxItemIndicator, ComboboxTrigger } from 'reka-ui';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as Dialog } from './Dialog.vue';
|
|
2
|
+
export { default as DialogClose } from './DialogClose.vue';
|
|
3
|
+
export { default as DialogContent } from './DialogContent.vue';
|
|
4
|
+
export { default as DialogDescription } from './DialogDescription.vue';
|
|
5
|
+
export { default as DialogFooter } from './DialogFooter.vue';
|
|
6
|
+
export { default as DialogHeader } from './DialogHeader.vue';
|
|
7
|
+
export { default as DialogScrollContent } from './DialogScrollContent.vue';
|
|
8
|
+
export { default as DialogTitle } from './DialogTitle.vue';
|
|
9
|
+
export { default as DialogTrigger } from './DialogTrigger.vue';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { default as DropdownMenu } from './DropdownMenu.vue';
|
|
2
|
+
export { default as DropdownMenuCheckboxItem } from './DropdownMenuCheckboxItem.vue';
|
|
3
|
+
export { default as DropdownMenuContent } from './DropdownMenuContent.vue';
|
|
4
|
+
export { default as DropdownMenuGroup } from './DropdownMenuGroup.vue';
|
|
5
|
+
export { default as DropdownMenuItem } from './DropdownMenuItem.vue';
|
|
6
|
+
export { default as DropdownMenuLabel } from './DropdownMenuLabel.vue';
|
|
7
|
+
export { default as DropdownMenuRadioGroup } from './DropdownMenuRadioGroup.vue';
|
|
8
|
+
export { default as DropdownMenuRadioItem } from './DropdownMenuRadioItem.vue';
|
|
9
|
+
export { default as DropdownMenuSeparator } from './DropdownMenuSeparator.vue';
|
|
10
|
+
export { default as DropdownMenuShortcut } from './DropdownMenuShortcut.vue';
|
|
11
|
+
export { default as DropdownMenuSub } from './DropdownMenuSub.vue';
|
|
12
|
+
export { default as DropdownMenuSubContent } from './DropdownMenuSubContent.vue';
|
|
13
|
+
export { default as DropdownMenuSubTrigger } from './DropdownMenuSubTrigger.vue';
|
|
14
|
+
export { default as DropdownMenuTrigger } from './DropdownMenuTrigger.vue';
|
|
15
|
+
export { DropdownMenuPortal } from 'reka-ui';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FilterPopover } from './FilterPopover.vue';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as FormControl } from './FormControl.vue';
|
|
2
|
+
export { default as FormDescription } from './FormDescription.vue';
|
|
3
|
+
export { default as FormItem } from './FormItem.vue';
|
|
4
|
+
export { default as FormLabel } from './FormLabel.vue';
|
|
5
|
+
export { default as FormMessage } from './FormMessage.vue';
|
|
6
|
+
export { FORM_ITEM_INJECTION_KEY } from './injectionKeys';
|
|
7
|
+
export { Form, Field as FormField, FieldArray as FormFieldArray } from 'vee-validate';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare function useFormField(): {
|
|
2
|
+
valid: import('vue').ComputedRef<boolean>;
|
|
3
|
+
isDirty: import('vue').ComputedRef<boolean>;
|
|
4
|
+
isTouched: import('vue').ComputedRef<boolean>;
|
|
5
|
+
error: import('vue').ComputedRef<string>;
|
|
6
|
+
id: string | undefined;
|
|
7
|
+
name: import('vue').MaybeRef<string>;
|
|
8
|
+
formItemId: string;
|
|
9
|
+
formDescriptionId: string;
|
|
10
|
+
formMessageId: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Input } from './Input.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Label } from './Label.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Progress } from './Progress.vue';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { default as Select } from './Select.vue';
|
|
2
|
+
export { default as SelectContent } from './SelectContent.vue';
|
|
3
|
+
export { default as SelectGroup } from './SelectGroup.vue';
|
|
4
|
+
export { default as SelectItem } from './SelectItem.vue';
|
|
5
|
+
export { default as SelectItemText } from './SelectItemText.vue';
|
|
6
|
+
export { default as SelectLabel } from './SelectLabel.vue';
|
|
7
|
+
export { default as SelectScrollDownButton } from './SelectScrollDownButton.vue';
|
|
8
|
+
export { default as SelectScrollUpButton } from './SelectScrollUpButton.vue';
|
|
9
|
+
export { default as SelectSeparator } from './SelectSeparator.vue';
|
|
10
|
+
export { default as SelectTrigger } from './SelectTrigger.vue';
|
|
11
|
+
export { default as SelectValue } from './SelectValue.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Separator } from './Separator.vue';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export { default as Sheet } from './Sheet.vue';
|
|
3
|
+
export { default as SheetClose } from './SheetClose.vue';
|
|
4
|
+
export { default as SheetContent } from './SheetContent.vue';
|
|
5
|
+
export { default as SheetDescription } from './SheetDescription.vue';
|
|
6
|
+
export { default as SheetFooter } from './SheetFooter.vue';
|
|
7
|
+
export { default as SheetHeader } from './SheetHeader.vue';
|
|
8
|
+
export { default as SheetTitle } from './SheetTitle.vue';
|
|
9
|
+
export { default as SheetTrigger } from './SheetTrigger.vue';
|
|
10
|
+
export declare const sheetVariants: (props?: ({
|
|
11
|
+
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
12
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
13
|
+
export type SheetVariants = VariantProps<typeof sheetVariants>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
export interface SidebarProps {
|
|
4
|
+
side?: 'left' | 'right';
|
|
5
|
+
variant?: 'sidebar' | 'floating' | 'inset';
|
|
6
|
+
collapsible?: 'offcanvas' | 'icon' | 'none';
|
|
7
|
+
class?: HTMLAttributes['class'];
|
|
8
|
+
}
|
|
9
|
+
export { default as Sidebar } from './Sidebar.vue';
|
|
10
|
+
export { default as SidebarContent } from './SidebarContent.vue';
|
|
11
|
+
export { default as SidebarFooter } from './SidebarFooter.vue';
|
|
12
|
+
export { default as SidebarGroup } from './SidebarGroup.vue';
|
|
13
|
+
export { default as SidebarGroupAction } from './SidebarGroupAction.vue';
|
|
14
|
+
export { default as SidebarGroupContent } from './SidebarGroupContent.vue';
|
|
15
|
+
export { default as SidebarGroupLabel } from './SidebarGroupLabel.vue';
|
|
16
|
+
export { default as SidebarHeader } from './SidebarHeader.vue';
|
|
17
|
+
export { default as SidebarInput } from './SidebarInput.vue';
|
|
18
|
+
export { default as SidebarInset } from './SidebarInset.vue';
|
|
19
|
+
export { default as SidebarMenu } from './SidebarMenu.vue';
|
|
20
|
+
export { default as SidebarMenuAction } from './SidebarMenuAction.vue';
|
|
21
|
+
export { default as SidebarMenuBadge } from './SidebarMenuBadge.vue';
|
|
22
|
+
export { default as SidebarMenuButton } from './SidebarMenuButton.vue';
|
|
23
|
+
export { default as SidebarMenuItem } from './SidebarMenuItem.vue';
|
|
24
|
+
export { default as SidebarMenuSkeleton } from './SidebarMenuSkeleton.vue';
|
|
25
|
+
export { default as SidebarMenuSub } from './SidebarMenuSub.vue';
|
|
26
|
+
export { default as SidebarMenuSubButton } from './SidebarMenuSubButton.vue';
|
|
27
|
+
export { default as SidebarMenuSubItem } from './SidebarMenuSubItem.vue';
|
|
28
|
+
export { default as SidebarProvider } from './SidebarProvider.vue';
|
|
29
|
+
export { default as SidebarRail } from './SidebarRail.vue';
|
|
30
|
+
export { default as SidebarSeparator } from './SidebarSeparator.vue';
|
|
31
|
+
export { default as SidebarTrigger } from './SidebarTrigger.vue';
|
|
32
|
+
export { useSidebar } from './utils';
|
|
33
|
+
export declare const sidebarMenuButtonVariants: (props?: ({
|
|
34
|
+
variant?: "default" | "outline" | null | undefined;
|
|
35
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
36
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
37
|
+
export type SidebarMenuButtonVariants = VariantProps<typeof sidebarMenuButtonVariants>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
export declare const SIDEBAR_WIDTH = "16rem";
|
|
3
|
+
export declare const SIDEBAR_WIDTH_MOBILE = "18rem";
|
|
4
|
+
export declare const SIDEBAR_WIDTH_ICON = "3rem";
|
|
5
|
+
export declare const SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
6
|
+
export declare const useSidebar: <T extends {
|
|
7
|
+
state: ComputedRef<"expanded" | "collapsed">;
|
|
8
|
+
open: Ref<boolean>;
|
|
9
|
+
setOpen: (value: boolean) => void;
|
|
10
|
+
isMobile: Ref<boolean>;
|
|
11
|
+
openMobile: Ref<boolean>;
|
|
12
|
+
setOpenMobile: (value: boolean) => void;
|
|
13
|
+
toggleSidebar: () => void;
|
|
14
|
+
} | null | undefined = {
|
|
15
|
+
state: ComputedRef<"expanded" | "collapsed">;
|
|
16
|
+
open: Ref<boolean>;
|
|
17
|
+
setOpen: (value: boolean) => void;
|
|
18
|
+
isMobile: Ref<boolean>;
|
|
19
|
+
openMobile: Ref<boolean>;
|
|
20
|
+
setOpenMobile: (value: boolean) => void;
|
|
21
|
+
toggleSidebar: () => void;
|
|
22
|
+
}>(fallback?: T | undefined) => T extends null ? {
|
|
23
|
+
state: ComputedRef<"expanded" | "collapsed">;
|
|
24
|
+
open: Ref<boolean>;
|
|
25
|
+
setOpen: (value: boolean) => void;
|
|
26
|
+
isMobile: Ref<boolean>;
|
|
27
|
+
openMobile: Ref<boolean>;
|
|
28
|
+
setOpenMobile: (value: boolean) => void;
|
|
29
|
+
toggleSidebar: () => void;
|
|
30
|
+
} | null : {
|
|
31
|
+
state: ComputedRef<"expanded" | "collapsed">;
|
|
32
|
+
open: Ref<boolean>;
|
|
33
|
+
setOpen: (value: boolean) => void;
|
|
34
|
+
isMobile: Ref<boolean>;
|
|
35
|
+
openMobile: Ref<boolean>;
|
|
36
|
+
setOpenMobile: (value: boolean) => void;
|
|
37
|
+
toggleSidebar: () => void;
|
|
38
|
+
}, provideSidebarContext: (contextValue: {
|
|
39
|
+
state: ComputedRef<"expanded" | "collapsed">;
|
|
40
|
+
open: Ref<boolean>;
|
|
41
|
+
setOpen: (value: boolean) => void;
|
|
42
|
+
isMobile: Ref<boolean>;
|
|
43
|
+
openMobile: Ref<boolean>;
|
|
44
|
+
setOpenMobile: (value: boolean) => void;
|
|
45
|
+
toggleSidebar: () => void;
|
|
46
|
+
}) => {
|
|
47
|
+
state: ComputedRef<"expanded" | "collapsed">;
|
|
48
|
+
open: Ref<boolean>;
|
|
49
|
+
setOpen: (value: boolean) => void;
|
|
50
|
+
isMobile: Ref<boolean>;
|
|
51
|
+
openMobile: Ref<boolean>;
|
|
52
|
+
setOpenMobile: (value: boolean) => void;
|
|
53
|
+
toggleSidebar: () => void;
|
|
54
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Skeleton } from './Skeleton.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Slider } from './Slider.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Switch } from './Switch.vue';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as TagsInput } from './TagsInput.vue';
|
|
2
|
+
export { default as TagsInputInput } from './TagsInputInput.vue';
|
|
3
|
+
export { default as TagsInputItem } from './TagsInputItem.vue';
|
|
4
|
+
export { default as TagsInputItemDelete } from './TagsInputItemDelete.vue';
|
|
5
|
+
export { default as TagsInputItemText } from './TagsInputItemText.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Textarea } from './Textarea.vue';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { Options } from '../client/sdk.gen';
|
|
3
|
+
import { Result } from '../utils/monad';
|
|
4
|
+
export interface ApiResponse<T> {
|
|
5
|
+
data: T;
|
|
6
|
+
isLoading: Ref<boolean>;
|
|
7
|
+
}
|
|
8
|
+
export interface PaginationOptions {
|
|
9
|
+
pageSize?: number;
|
|
10
|
+
pageToken?: string;
|
|
11
|
+
}
|
|
12
|
+
type DeepRequired<T> = {
|
|
13
|
+
[P in keyof T]-?: T[P] extends object ? DeepRequired<T[P]> : T[P];
|
|
14
|
+
};
|
|
15
|
+
export declare function doRequest<TApiResponse, TOptions extends Options, TData = DeepRequired<NonNullable<TApiResponse extends {
|
|
16
|
+
data: infer U;
|
|
17
|
+
} ? U : never>>>(apiFn: (params: TOptions) => Promise<TApiResponse>, params?: TOptions, options?: {
|
|
18
|
+
pagination?: PaginationOptions;
|
|
19
|
+
}): Promise<Result<ApiResponse<TData>>>;
|
|
20
|
+
export declare const useApi: typeof doRequest;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RemovableRef, UseStorageOptions } from '@vueuse/core';
|
|
2
|
+
|
|
3
|
+
export declare function getCachedLocalStorage<T>(key: string, defaultValue: T, options?: UseStorageOptions<T>): RemovableRef<T>;
|
|
4
|
+
|
|
5
|
+
export declare function getCachedSessionStorage<T>(key: string, defaultValue: T, options?: UseStorageOptions<T>): RemovableRef<T>;
|
|
6
|
+
|
|
7
|
+
export declare function clearStorageCache(key: string, type?: 'local' | 'session'): void;
|
|
8
|
+
|
|
9
|
+
export declare function clearAllStorageCache(): void;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { V1Asset } from '../client';
|
|
3
|
+
export interface FileUploadOptions {
|
|
4
|
+
maxSize?: number;
|
|
5
|
+
allowedTypes?: string[];
|
|
6
|
+
validateFileName?: (filename: string) => boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface UploadedFileInfo {
|
|
9
|
+
file: File;
|
|
10
|
+
preview?: string;
|
|
11
|
+
base64?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export declare function useAssetUpload(options?: FileUploadOptions): {
|
|
15
|
+
uploadedFiles: Ref<File[], File[]>;
|
|
16
|
+
fileInfo: Ref<UploadedFileInfo | null, UploadedFileInfo | null>;
|
|
17
|
+
isProcessing: Ref<boolean, boolean>;
|
|
18
|
+
hasFile: import('vue').ComputedRef<boolean>;
|
|
19
|
+
currentFile: import('vue').ComputedRef<File>;
|
|
20
|
+
isImage: import('vue').ComputedRef<boolean>;
|
|
21
|
+
formattedFileSize: import('vue').ComputedRef<any>;
|
|
22
|
+
handleFileChange: (files: File[]) => Promise<void>;
|
|
23
|
+
populateAssetForm: (formData: Ref<V1Asset>) => void;
|
|
24
|
+
clearFiles: () => void;
|
|
25
|
+
getFileDataForSubmit: () => string | undefined;
|
|
26
|
+
validateFile: (file: File) => {
|
|
27
|
+
isValid: boolean;
|
|
28
|
+
errorMessage?: string;
|
|
29
|
+
};
|
|
30
|
+
createPreviewUrl: (file: File) => string | undefined;
|
|
31
|
+
};
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare function useCharacterForm(): {
|
|
4
|
+
formData: Ref<{
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
coverUrl: string;
|
|
9
|
+
backgroundUrl: string;
|
|
10
|
+
systemPrompt: string;
|
|
11
|
+
scene: ("MONOLOGUE" | "DIALOGUE")[];
|
|
12
|
+
version: "0.9" | "1.0" | "1.1";
|
|
13
|
+
modelFile: File[];
|
|
14
|
+
drivenBaseUrl: string;
|
|
15
|
+
encoderStartFrame: number;
|
|
16
|
+
styleNpy: string;
|
|
17
|
+
priority: number;
|
|
18
|
+
assetGroupIds: string[];
|
|
19
|
+
characterTemplateId: string;
|
|
20
|
+
modelSettings: string;
|
|
21
|
+
language: string;
|
|
22
|
+
voice: {
|
|
23
|
+
platform: string;
|
|
24
|
+
settings: {
|
|
25
|
+
speaker: string;
|
|
26
|
+
speechRate: number;
|
|
27
|
+
pitchRate: number;
|
|
28
|
+
cartesiaSpeed: string;
|
|
29
|
+
fishaudioSpeed: number;
|
|
30
|
+
fishaudioVolume: number;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
brain: {
|
|
34
|
+
platform: string;
|
|
35
|
+
settings: {
|
|
36
|
+
model: string;
|
|
37
|
+
apiKey: string;
|
|
38
|
+
baseURL: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
ear: {
|
|
42
|
+
platform: string;
|
|
43
|
+
settings: {
|
|
44
|
+
language: string;
|
|
45
|
+
prompt: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
realtime: {
|
|
49
|
+
platform: string;
|
|
50
|
+
settings: {
|
|
51
|
+
voiceId: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
mode: string;
|
|
55
|
+
status: "PROD" | "TEST" | "OFFLINE";
|
|
56
|
+
enableRedeem: boolean;
|
|
57
|
+
redeem?: {
|
|
58
|
+
characterId: string;
|
|
59
|
+
code: string;
|
|
60
|
+
enabled: boolean;
|
|
61
|
+
} | undefined;
|
|
62
|
+
}, {
|
|
63
|
+
id: string;
|
|
64
|
+
name: string;
|
|
65
|
+
description: string;
|
|
66
|
+
coverUrl: string;
|
|
67
|
+
backgroundUrl: string;
|
|
68
|
+
systemPrompt: string;
|
|
69
|
+
scene: ("MONOLOGUE" | "DIALOGUE")[];
|
|
70
|
+
version: "0.9" | "1.0" | "1.1";
|
|
71
|
+
modelFile: File[];
|
|
72
|
+
drivenBaseUrl: string;
|
|
73
|
+
encoderStartFrame: number;
|
|
74
|
+
styleNpy: string;
|
|
75
|
+
priority: number;
|
|
76
|
+
assetGroupIds: string[];
|
|
77
|
+
characterTemplateId: string;
|
|
78
|
+
modelSettings: string;
|
|
79
|
+
language: string;
|
|
80
|
+
voice: {
|
|
81
|
+
platform: string;
|
|
82
|
+
settings: {
|
|
83
|
+
speaker: string;
|
|
84
|
+
speechRate: number;
|
|
85
|
+
pitchRate: number;
|
|
86
|
+
cartesiaSpeed: string;
|
|
87
|
+
fishaudioSpeed: number;
|
|
88
|
+
fishaudioVolume: number;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
brain: {
|
|
92
|
+
platform: string;
|
|
93
|
+
settings: {
|
|
94
|
+
model: string;
|
|
95
|
+
apiKey: string;
|
|
96
|
+
baseURL: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
ear: {
|
|
100
|
+
platform: string;
|
|
101
|
+
settings: {
|
|
102
|
+
language: string;
|
|
103
|
+
prompt: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
realtime: {
|
|
107
|
+
platform: string;
|
|
108
|
+
settings: {
|
|
109
|
+
voiceId: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
mode: string;
|
|
113
|
+
status: "PROD" | "TEST" | "OFFLINE";
|
|
114
|
+
enableRedeem: boolean;
|
|
115
|
+
redeem?: {
|
|
116
|
+
characterId: string;
|
|
117
|
+
code: string;
|
|
118
|
+
enabled: boolean;
|
|
119
|
+
} | undefined;
|
|
120
|
+
}>;
|
|
121
|
+
isSubmitting: Ref<boolean, boolean>;
|
|
122
|
+
isLoading: Ref<boolean, boolean>;
|
|
123
|
+
isNew: import('vue').ComputedRef<boolean>;
|
|
124
|
+
templateId: import('vue').ComputedRef<string>;
|
|
125
|
+
isCreatingFromTemplate: import('vue').ComputedRef<boolean>;
|
|
126
|
+
sourceTemplateName: Ref<string, string>;
|
|
127
|
+
loadTemplate: () => Promise<{
|
|
128
|
+
modelSettings?: Record<string, any>;
|
|
129
|
+
characterSettings?: Record<string, any>;
|
|
130
|
+
modelInfo?: Record<string, any>;
|
|
131
|
+
shapeNpy?: string;
|
|
132
|
+
styleNpy?: string;
|
|
133
|
+
modelSettingsJson?: string;
|
|
134
|
+
}>;
|
|
135
|
+
submitForm: (additionalData: Record<string, any>) => Promise<boolean>;
|
|
136
|
+
handleBack: () => void;
|
|
137
|
+
updateDrivenBaseUrl: (url: string) => void;
|
|
138
|
+
initializeFormData: () => Promise<void>;
|
|
139
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { CameraSettings, CharacterSettings } from '../renderSystem/types/character-settings';
|
|
3
|
+
import { CharacterSettings as AdminCharacterSettings } from '../types/character-settings';
|
|
4
|
+
|
|
5
|
+
export declare function createDefaultCameraConfig(): CameraSettings;
|
|
6
|
+
|
|
7
|
+
export declare function isValidCameraConfig(camera: any): boolean;
|
|
8
|
+
|
|
9
|
+
export declare function convertCameraSettingsToModelConfig(camera: CameraSettings | undefined, precision?: number): {
|
|
10
|
+
fovX: number;
|
|
11
|
+
fovY: number;
|
|
12
|
+
translationX: number;
|
|
13
|
+
translationY: number;
|
|
14
|
+
translationZ: number;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export declare function loadCharacterSettings(characterTemplateId: string | undefined): Promise<CharacterSettings>;
|
|
18
|
+
|
|
19
|
+
export declare function useCharacterSettings(): {
|
|
20
|
+
characterSettings: Ref<AdminCharacterSettings, AdminCharacterSettings>;
|
|
21
|
+
characterJson: Ref<string, string>;
|
|
22
|
+
defaultCharacterSettings: AdminCharacterSettings;
|
|
23
|
+
loadFromJson: (jsonString: string) => void;
|
|
24
|
+
loadFromObject: (settings: AdminCharacterSettings | Record<string, any> | null | undefined) => void;
|
|
25
|
+
resetToDefaults: () => void;
|
|
26
|
+
getJsonString: () => string;
|
|
27
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
interface CharacterTemplateFormData {
|
|
3
|
+
id?: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
systemPrompt: string;
|
|
7
|
+
priority: number;
|
|
8
|
+
brain: {
|
|
9
|
+
platform: string;
|
|
10
|
+
settings: {
|
|
11
|
+
model: string;
|
|
12
|
+
apiKey?: string;
|
|
13
|
+
baseURL?: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
voice: {
|
|
17
|
+
platform: string;
|
|
18
|
+
settings: {
|
|
19
|
+
speaker: string;
|
|
20
|
+
pitchRate: number;
|
|
21
|
+
speechRate: number;
|
|
22
|
+
cartesiaSpeed?: string;
|
|
23
|
+
fishaudioSpeed?: number;
|
|
24
|
+
fishaudioVolume?: number;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
ear: {
|
|
28
|
+
platform: string;
|
|
29
|
+
settings: {
|
|
30
|
+
language: string;
|
|
31
|
+
prompt: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
drivenProviderId?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export declare function useCharacterTemplateForm(): {
|
|
38
|
+
formData: Ref<CharacterTemplateFormData, CharacterTemplateFormData>;
|
|
39
|
+
isSubmitting: Ref<boolean, boolean>;
|
|
40
|
+
isLoading: Ref<boolean, boolean>;
|
|
41
|
+
isNew: import('vue').ComputedRef<boolean>;
|
|
42
|
+
templateId: import('vue').ComputedRef<string>;
|
|
43
|
+
loadTemplate: () => Promise<import('../client').V1CharacterTemplate>;
|
|
44
|
+
submitForm: () => Promise<boolean>;
|
|
45
|
+
handleBack: () => void;
|
|
46
|
+
};
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { V1CollectionTaskStatus } from '../client';
|
|
2
|
+
export declare function useCollectionTaskFilters(): {
|
|
3
|
+
statusFilter: import('@vueuse/core').RemovableRef<V1CollectionTaskStatus[]>;
|
|
4
|
+
nameSearch: import('@vueuse/core').RemovableRef<string>;
|
|
5
|
+
creatorSearch: import('@vueuse/core').RemovableRef<string>;
|
|
6
|
+
timeRangeStart: import('@vueuse/core').RemovableRef<string | undefined>;
|
|
7
|
+
timeRangeEnd: import('@vueuse/core').RemovableRef<string | undefined>;
|
|
8
|
+
expiresTimeRangeStart: import('@vueuse/core').RemovableRef<string | undefined>;
|
|
9
|
+
expiresTimeRangeEnd: import('@vueuse/core').RemovableRef<string | undefined>;
|
|
10
|
+
getStatusNumbers: () => number[];
|
|
11
|
+
formatDateForApi: (dateString?: string) => string | undefined;
|
|
12
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { FileValidationResult } from '../types/model-settings';
|
|
3
|
+
|
|
4
|
+
export declare function useFileUpload(): {
|
|
5
|
+
shapeFiles: Ref<File[], File[]>;
|
|
6
|
+
styleFiles: Ref<File[], File[]>;
|
|
7
|
+
shapeFile: import('vue').ComputedRef<File>;
|
|
8
|
+
styleFile: import('vue').ComputedRef<File>;
|
|
9
|
+
areFilesReady: import('vue').ComputedRef<boolean>;
|
|
10
|
+
handleShapeFileChange: () => void;
|
|
11
|
+
handleStyleFileChange: () => void;
|
|
12
|
+
clearShapeFile: () => void;
|
|
13
|
+
clearStyleFile: () => void;
|
|
14
|
+
clearAllFiles: () => void;
|
|
15
|
+
getFilesAsBase64: () => Promise<{
|
|
16
|
+
shapeNpy: string;
|
|
17
|
+
styleNpy: string;
|
|
18
|
+
} | null>;
|
|
19
|
+
validateShapeFile: (file: File) => FileValidationResult;
|
|
20
|
+
validateStyleFile: (file: File) => FileValidationResult;
|
|
21
|
+
base64ToFile: (base64: string, filename: string, mimeType?: string) => File;
|
|
22
|
+
loadFromBase64: (data: {
|
|
23
|
+
shapeNpy?: string;
|
|
24
|
+
styleNpy?: string;
|
|
25
|
+
}) => void;
|
|
26
|
+
};
|