feat(export): fast accurate content session counts on cards
This commit is contained in:
1 parent
f0f70def8c
commit
b6878aefd6
7 files changed
+721
-5
No files matched your search
@@ -970,6 +970,19 @@ function registerIpcHandlers() {
|
||||
return chatService.getSessionMessageCounts(sessionIds)
|
||||
})
|
||||
|
||||
ipcMain.handle('chat:getExportContentSessionCounts', async (_, options?: {
|
||||
triggerRefresh?: boolean
|
||||
forceRefresh?: boolean
|
||||
}) => {
|
||||
return chatService.getExportContentSessionCounts(options)
|
||||
})
|
||||
|
||||
ipcMain.handle('chat:refreshExportContentSessionCounts', async (_, options?: {
|
||||
forceRefresh?: boolean
|
||||
}) => {
|
||||
return chatService.refreshExportContentSessionCounts(options)
|
||||
})
|
||||
|
||||
ipcMain.handle('chat:enrichSessionsContactInfo', async (_, usernames: string[]) => {
|
||||
return chatService.enrichSessionsContactInfo(usernames)
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user