From 03e0244561c7e015eb17f22e2120499ab34a0d33 Mon Sep 17 00:00:00 2001
From: hit-cxf <2024111082@stu.hit.edu.cn>
Date: Tue, 07 Apr 2026 16:08:12 +0800
Subject: [PATCH] 修复前端构建报错
---
aigc-director/aigc-claw/frontend/components/stages/types.ts | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/aigc-director/aigc-claw/frontend/components/stages/types.ts b/aigc-director/aigc-claw/frontend/components/stages/types.ts
index 95e0e5d..b1ab15d 100644
--- a/aigc-director/aigc-claw/frontend/components/stages/types.ts
+++ b/aigc-director/aigc-claw/frontend/components/stages/types.ts
@@ -27,6 +27,8 @@
videoSound?: string;
videoShotType?: string;
onVideoParamsChange?: (params: { videoSound?: string; videoShotType?: string }) => void;
+ /** 用于组件访问其他阶段的数据 */
+ artifacts?: Record<string, any>;
/** 参考图阶段的 artifact(仅 VideoStage 使用,用于检查依赖) */
referenceArtifact?: any;
/** 剧本阶段的 artifact(用于获取剧集标题) */
--
Gitblit v1.8.0