From 6de0b56fd802e5fbd11a142be314de7fdf08271d Mon Sep 17 00:00:00 2001 From: GouJ Date: Sat, 26 Sep 2026 20:20:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=89=8D=E7=AB=AF=20Production=20?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=AF=B9=E9=BD=90=E6=9C=80=E6=96=B0=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/production/types.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/features/production/types.ts b/src/features/production/types.ts index c1454d9..55e8142 100644 --- a/src/features/production/types.ts +++ b/src/features/production/types.ts @@ -6,6 +6,7 @@ export type ProductionIssueCode = | 'invalid_generation_spec' | 'missing_visual_style' | 'missing_reference' + | 'missing_primary_keyframe' | 'missing_identity' | 'missing_identity_anchor' | 'identity_unlocked' @@ -439,8 +440,10 @@ export interface ProductionPipelineResult { /** 后端串联节点只有汇总数量,逐项失败信息保留在 errors。 */ export interface PipelineBatchResult { total: number + targetCount?: number generated: number skipped: number + blocked?: number failed: number } @@ -483,7 +486,14 @@ export interface ProductionPlanStage { /** 后端执行计划只读取资产,不触发模型生成。 */ export interface ProductionPlan { projectId: string + providers: { image: string; video: string } + generationConfig?: { image?: Record } completed: boolean + canStart: boolean + canAutoRun: boolean + entryReadiness?: { ready: boolean; reason?: string | null } + characterIdentity?: ProductionPlanStage + stableIdentityAnchors?: ProductionPlanStage stage: ProductionStage hasManualBlockers: boolean manualBlocked: number @@ -549,6 +559,7 @@ export interface PipelineKeyframeQualityResult { skipped: number blocked: number stalePrimaryKeyframe: number + targetCount?: number } /** 指定模型的最终输入查询回执;此接口不会生成图片或视频。 */