feat: 形态图库补充身份母版追溯类型
This commit is contained in:
@@ -18,10 +18,17 @@ export interface SubjectImage {
|
|||||||
/** 详情查询才返回实际使用的 Prompt;列表不包含长文本。 */
|
/** 详情查询才返回实际使用的 Prompt;列表不包含长文本。 */
|
||||||
prompt?: string
|
prompt?: string
|
||||||
negativePrompt?: string | null
|
negativePrompt?: string | null
|
||||||
/** 详情保留生成追溯信息,可读取当时引用的身份母版 ID。 */
|
/** 形态图生成追溯信息,包含当时使用的 Identity Anchor ID。 */
|
||||||
rawJson?: string | null
|
rawJson?: string | null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** 当前主体 Identity 只暴露形态图库判断新旧母版所需的轻量信息。 */
|
||||||
|
export interface SubjectFormIdentitySummary {
|
||||||
|
id: string
|
||||||
|
isLocked: boolean
|
||||||
|
images: { id: string }[]
|
||||||
|
}
|
||||||
|
|
||||||
/** 正式 SubjectForm 及其所属主体、图片,不使用 checkpoint 的领域 formId。 */
|
/** 正式 SubjectForm 及其所属主体、图片,不使用 checkpoint 的领域 formId。 */
|
||||||
export interface SubjectFormAsset {
|
export interface SubjectFormAsset {
|
||||||
id: string
|
id: string
|
||||||
@@ -31,7 +38,14 @@ export interface SubjectFormAsset {
|
|||||||
appearancePrompt: string | null
|
appearancePrompt: string | null
|
||||||
generationPrompt: string | null
|
generationPrompt: string | null
|
||||||
isDefault: boolean
|
isDefault: boolean
|
||||||
subject: { id: string; projectId: string; ref: string; name: string; module: string }
|
subject: {
|
||||||
|
id: string
|
||||||
|
projectId: string
|
||||||
|
ref: string
|
||||||
|
name: string
|
||||||
|
module: string
|
||||||
|
identity?: SubjectFormIdentitySummary | null
|
||||||
|
}
|
||||||
images: SubjectImage[]
|
images: SubjectImage[]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user