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 } /** 指定模型的最终输入查询回执;此接口不会生成图片或视频。 */