fix: 前端 Production 类型对齐最新后端计划
This commit is contained in:
1 parent
407a97b81c
commit
6de0b56fd8
1 file changed
+11
@@ -6,6 +6,7 @@ export type ProductionIssueCode =
|
|||||||
| 'invalid_generation_spec'
|
| 'invalid_generation_spec'
|
||||||
| 'missing_visual_style'
|
| 'missing_visual_style'
|
||||||
| 'missing_reference'
|
| 'missing_reference'
|
||||||
|
| 'missing_primary_keyframe'
|
||||||
| 'missing_identity'
|
| 'missing_identity'
|
||||||
| 'missing_identity_anchor'
|
| 'missing_identity_anchor'
|
||||||
| 'identity_unlocked'
|
| 'identity_unlocked'
|
||||||
@@ -439,8 +440,10 @@ export interface ProductionPipelineResult {
|
|||||||
/** 后端串联节点只有汇总数量,逐项失败信息保留在 errors。 */
|
/** 后端串联节点只有汇总数量,逐项失败信息保留在 errors。 */
|
||||||
export interface PipelineBatchResult {
|
export interface PipelineBatchResult {
|
||||||
total: number
|
total: number
|
||||||
|
targetCount?: number
|
||||||
generated: number
|
generated: number
|
||||||
skipped: number
|
skipped: number
|
||||||
|
blocked?: number
|
||||||
failed: number
|
failed: number
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -483,7 +486,14 @@ export interface ProductionPlanStage {
|
|||||||
/** 后端执行计划只读取资产,不触发模型生成。 */
|
/** 后端执行计划只读取资产,不触发模型生成。 */
|
||||||
export interface ProductionPlan {
|
export interface ProductionPlan {
|
||||||
projectId: string
|
projectId: string
|
||||||
|
providers: { image: string; video: string }
|
||||||
|
generationConfig?: { image?: Record<string, unknown> }
|
||||||
completed: boolean
|
completed: boolean
|
||||||
|
canStart: boolean
|
||||||
|
canAutoRun: boolean
|
||||||
|
entryReadiness?: { ready: boolean; reason?: string | null }
|
||||||
|
characterIdentity?: ProductionPlanStage
|
||||||
|
stableIdentityAnchors?: ProductionPlanStage
|
||||||
stage: ProductionStage
|
stage: ProductionStage
|
||||||
hasManualBlockers: boolean
|
hasManualBlockers: boolean
|
||||||
manualBlocked: number
|
manualBlocked: number
|
||||||
@@ -549,6 +559,7 @@ export interface PipelineKeyframeQualityResult {
|
|||||||
skipped: number
|
skipped: number
|
||||||
blocked: number
|
blocked: number
|
||||||
stalePrimaryKeyframe: number
|
stalePrimaryKeyframe: number
|
||||||
|
targetCount?: number
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 指定模型的最终输入查询回执;此接口不会生成图片或视频。 */
|
/** 指定模型的最终输入查询回执;此接口不会生成图片或视频。 */
|
||||||
|
|||||||
Reference in new issue
Block a user