修复画布快速编辑回写与原图元数据
快速编辑回到原图面板流程,避免新建生成器占位 提交快速编辑时传入目标图层并在后端成功后回写画布 快速编辑生成输入记录原图引用,图片信息可展示原图来源 同步前后端测试与图片画布文档记忆
This commit is contained in:
@@ -196,6 +196,7 @@ export type EditorImageEditInput = {
|
||||
assetFolderId?: string | null;
|
||||
assetLabel?: string | null;
|
||||
sourceResourceId?: string | null;
|
||||
targetLayerId?: string | null;
|
||||
canvasCompletion?: EditorCanvasGenerationCompletionInput | null;
|
||||
};
|
||||
|
||||
@@ -910,6 +911,7 @@ export async function editEditorImage(input: EditorImageEditInput) {
|
||||
...(input.sourceResourceId
|
||||
? { sourceResourceId: input.sourceResourceId }
|
||||
: {}),
|
||||
...(input.targetLayerId ? { targetLayerId: input.targetLayerId } : {}),
|
||||
...(input.canvasCompletion
|
||||
? { canvasCompletion: input.canvasCompletion }
|
||||
: {}),
|
||||
|
||||
Reference in New Issue
Block a user