From 35be25dbd647690ecb005344ae49f398b23bc04c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Sat, 19 Sep 2026 13:02:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E9=BD=90=20model3d=20=E5=A5=91?= =?UTF-8?q?=E7=BA=A6=E5=9C=A8=20packages/shared=20=E7=9A=84=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增 packages/shared/src/contracts/model3d/index.ts 聚合 ts-rs 生成的 3D 生成契约类型 contracts/index.ts 增加 export type * from './model3d' src/index.ts 增加 export type * from './contracts/model3d' --- packages/shared/src/contracts/index.ts | 1 + packages/shared/src/contracts/model3d/index.ts | 18 ++++++++++++++++++ packages/shared/src/index.ts | 1 + 3 files changed, 20 insertions(+) create mode 100644 packages/shared/src/contracts/model3d/index.ts diff --git a/packages/shared/src/contracts/index.ts b/packages/shared/src/contracts/index.ts index c2c2e38c3..11551d74c 100644 --- a/packages/shared/src/contracts/index.ts +++ b/packages/shared/src/contracts/index.ts @@ -3,3 +3,4 @@ export type * from './editorAudio'; export * from './gameCreationApp'; export * from './hostBridge'; export type * from './hyper3d'; +export type * from './model3d'; diff --git a/packages/shared/src/contracts/model3d/index.ts b/packages/shared/src/contracts/model3d/index.ts new file mode 100644 index 000000000..0c042c42d --- /dev/null +++ b/packages/shared/src/contracts/model3d/index.ts @@ -0,0 +1,18 @@ +export type * from './common/Model3dCompression'; +export type * from './common/Model3dExportOrientation'; +export type * from './common/Model3dGeometryQuality'; +export type * from './common/Model3dInputOrientation'; +export type * from './common/Model3dModelVersion'; +export type * from './common/Model3dOutputFormat'; +export type * from './common/Model3dTaskStatus'; +export type * from './common/Model3dTextureAlignment'; +export type * from './common/Model3dTextureQuality'; +export type * from './common/Model3dTextureVersion'; +export type * from './image-to-model/Model3dImageToModelRequest'; +export type * from './multiview-to-model/Model3dMultiviewInputs'; +export type * from './multiview-to-model/Model3dMultiviewToModelRequest'; +export type * from './text-to-model/Model3dArtifact'; +export type * from './text-to-model/Model3dGenerationJob'; +export type * from './text-to-model/Model3dGenerationResult'; +export type * from './text-to-model/Model3dGenerationSubmission'; +export type * from './text-to-model/Model3dTextToModelRequest'; diff --git a/packages/shared/src/index.ts b/packages/shared/src/index.ts index ab3e62fd0..8c76a7861 100644 --- a/packages/shared/src/index.ts +++ b/packages/shared/src/index.ts @@ -5,6 +5,7 @@ export type * from './contracts/editorAudio'; export * from './contracts/editorScene'; export * from './contracts/externalGeneration'; export type * from './contracts/hyper3d'; +export type * from './contracts/model3d'; export * from './contracts/runtime'; export * from './http'; export * from './llm/narrativeLanguage';