feat: 补充注释

This commit is contained in:
2026-04-26 01:13:38 +08:00
parent e26e2f5491
commit 4c58f409e9
23 changed files with 206 additions and 95 deletions
+3 -3
View File
@@ -64,7 +64,7 @@ export interface IImageHistoryItem {
hostedImageUrl: string | null;
/** 上游返回的修订提示词,可能为空 */
revisedPrompt: string | null;
/** 失败原因或图床归档提示 */
/** 面向前端的本地泛化错误提示,不包含上游或内部服务细节 */
errorMessage: string | null;
/** 记录创建时间,ISO 字符串 */
createdAt: string;
@@ -76,9 +76,9 @@ export interface IImageHistoryItem {
export interface IImageHistoryDetail extends IImageHistoryItem {
/** 图片 MIME 类型,可能为空 */
imageMimeType: string | null;
/** 完整上游生图接口返回结果 */
/** 内部响应不向前端透出,当前固定为 null */
upstreamResponse: unknown;
/** 完整 Lsky 图床上传接口返回结果 */
/** 内部图床响应不向前端透出,当前固定为 null */
hostedResponse: unknown;
}