mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-08-18 20:19:09 +08:00
fix: 完善 AI 日报详情状态与解析容错
This commit is contained in:
@@ -95,6 +95,18 @@ export interface GroupReportExportResult {
|
||||
htmlPath?: string
|
||||
pngPath?: string
|
||||
imageDataUrl?: string
|
||||
exportTimings?: {
|
||||
html?: {
|
||||
startedAt: string
|
||||
endedAt: string
|
||||
duration: number
|
||||
}
|
||||
png?: {
|
||||
startedAt: string
|
||||
endedAt: string
|
||||
duration: number
|
||||
}
|
||||
}
|
||||
warnings?: string[]
|
||||
error?: string
|
||||
}
|
||||
|
||||
@@ -15,6 +15,28 @@ export interface GeneratedReportRecord {
|
||||
htmlStatus: ReportAssetStatus
|
||||
pngStatus: ReportAssetStatus
|
||||
generatedImage?: string
|
||||
imageSize?: {
|
||||
width: number
|
||||
height: number
|
||||
}
|
||||
duration?: number
|
||||
modelName?: string
|
||||
tokenUsage?: {
|
||||
input?: number
|
||||
output?: number
|
||||
total?: number
|
||||
estimated?: boolean
|
||||
}
|
||||
fileSize?: {
|
||||
html?: number
|
||||
png?: number
|
||||
}
|
||||
generationLogs?: {
|
||||
label: string
|
||||
startedAt: string
|
||||
endedAt: string
|
||||
duration: number
|
||||
}[]
|
||||
}
|
||||
|
||||
export interface SaveGeneratedReportRequest {
|
||||
@@ -27,6 +49,20 @@ export interface SaveGeneratedReportRequest {
|
||||
generatedImage?: string
|
||||
htmlPath?: string
|
||||
pngPath?: string
|
||||
duration?: number
|
||||
modelName?: string
|
||||
tokenUsage?: {
|
||||
input?: number
|
||||
output?: number
|
||||
total?: number
|
||||
estimated?: boolean
|
||||
}
|
||||
generationLogs?: {
|
||||
label: string
|
||||
startedAt: string
|
||||
endedAt: string
|
||||
duration: number
|
||||
}[]
|
||||
}
|
||||
|
||||
export interface ReportHistoryResult {
|
||||
|
||||
Reference in New Issue
Block a user