mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-05-03 11:41:17 +08:00
feat: 新增复读分析
This commit is contained in:
2
electron/preload/index.d.ts
vendored
2
electron/preload/index.d.ts
vendored
@@ -7,6 +7,7 @@ import type {
|
||||
DailyActivity,
|
||||
MessageType,
|
||||
ImportProgress,
|
||||
RepeatAnalysis,
|
||||
} from '../../src/types/chat'
|
||||
|
||||
interface TimeFilter {
|
||||
@@ -33,6 +34,7 @@ interface ChatApi {
|
||||
getDbDirectory: () => Promise<string | null>
|
||||
getSupportedFormats: () => Promise<Array<{ name: string; platform: string }>>
|
||||
onImportProgress: (callback: (progress: ImportProgress) => void) => () => void
|
||||
getRepeatAnalysis: (sessionId: string, filter?: TimeFilter) => Promise<RepeatAnalysis>
|
||||
}
|
||||
|
||||
interface Api {
|
||||
|
||||
Reference in New Issue
Block a user