mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-08-18 12:07:01 +08:00
feat: 实现 AI 日报历史资产化
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
export type ReportAssetStatus = 'ready' | 'missing'
|
||||
|
||||
export interface GeneratedReportRecord {
|
||||
id: string
|
||||
contactId: string
|
||||
contactName: string
|
||||
contactAvatar?: string
|
||||
dateRange: string
|
||||
messageCount: number
|
||||
generatedAt: string
|
||||
reportDate: string
|
||||
htmlPath?: string
|
||||
pngPath?: string
|
||||
jsonPath?: string
|
||||
htmlStatus: ReportAssetStatus
|
||||
pngStatus: ReportAssetStatus
|
||||
generatedImage?: string
|
||||
}
|
||||
|
||||
export interface SaveGeneratedReportRequest {
|
||||
contactId: string
|
||||
contactName: string
|
||||
contactAvatar?: string
|
||||
dateRange: string
|
||||
messageCount: number
|
||||
generatedAt: string
|
||||
generatedImage?: string
|
||||
htmlPath?: string
|
||||
pngPath?: string
|
||||
}
|
||||
|
||||
export interface ReportHistoryResult {
|
||||
success: boolean
|
||||
reports?: GeneratedReportRecord[]
|
||||
error?: string
|
||||
}
|
||||
|
||||
export interface SaveGeneratedReportResult {
|
||||
success: boolean
|
||||
record?: GeneratedReportRecord
|
||||
error?: string
|
||||
}
|
||||
Reference in New Issue
Block a user