fix: 前端 Production 类型对齐最新后端计划

This commit is contained in:
GouJ committed 2026-09-26 20:20:51 +08:00
1 parent 407a97b81c
commit 6de0b56fd8
1 file changed
+11
+11
View File
@@ -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<string, unknown> }
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
}
/** 指定模型的最终输入查询回执;此接口不会生成图片或视频。 */