修复图标图集自动拆分降级
图集带背景原图和透明整图先写入项目资源与账号素材库并回填画布 自动拆分识别或持久化失败时保留图集并返回结构化警告 手动拆分限制图片尺寸、总像素和单次切片数量 同步共享契约、外部 OpenAPI、前端类型、设计文档和回归测试
This commit is contained in:
@@ -300,11 +300,17 @@ export type EditorIconSpritesheetIconResult = {
|
||||
asset?: EditorAssetSnapshot | null;
|
||||
};
|
||||
|
||||
export type EditorIconSpritesheetSliceWarning = {
|
||||
code: string;
|
||||
reason: string;
|
||||
};
|
||||
|
||||
export type EditorIconSpritesheetGenerationResult = {
|
||||
spritesheetImageSrc: string;
|
||||
spritesheetWidth: number;
|
||||
spritesheetHeight: number;
|
||||
iconImageSrcs: EditorIconSpritesheetIconResult[];
|
||||
sliceWarning?: EditorIconSpritesheetSliceWarning | null;
|
||||
prompt: string;
|
||||
actualPrompt?: string | null;
|
||||
model: string;
|
||||
|
||||
Reference in New Issue
Block a user