mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-06-14 11:49:02 +08:00
feat: 新增批量管理,支持批量删除和合并
This commit is contained in:
Vendored
+9
-1
@@ -165,6 +165,15 @@ interface ChatApi {
|
||||
newMessageCount: number
|
||||
error?: string
|
||||
}>
|
||||
exportSessionsToTempFiles: (sessionIds: string[]) => Promise<{
|
||||
success: boolean
|
||||
tempFiles: string[]
|
||||
error?: string
|
||||
}>
|
||||
cleanupTempExportFiles: (filePaths: string[]) => Promise<{
|
||||
success: boolean
|
||||
error?: string
|
||||
}>
|
||||
}
|
||||
|
||||
interface Api {
|
||||
@@ -193,7 +202,6 @@ interface MergeApi {
|
||||
checkConflicts: (filePaths: string[]) => Promise<ConflictCheckResult>
|
||||
mergeFiles: (params: MergeParams) => Promise<MergeResult>
|
||||
clearCache: (filePath?: string) => Promise<boolean>
|
||||
onParseProgress: (callback: (data: { filePath: string; progress: ImportProgress }) => void) => () => void
|
||||
}
|
||||
|
||||
// AI 相关类型
|
||||
|
||||
Reference in New Issue
Block a user