feat(counts): unify contacts and export tab counters
This commit is contained in:
1 parent
794a306f89
commit
da7d354436
8 files changed
+222
-136
No files matched your search
Vendored
+10
@@ -89,6 +89,16 @@ export interface ElectronAPI {
|
||||
}
|
||||
error?: string
|
||||
}>
|
||||
getContactTypeCounts: () => Promise<{
|
||||
success: boolean
|
||||
counts?: {
|
||||
private: number
|
||||
group: number
|
||||
official: number
|
||||
former_friend: number
|
||||
}
|
||||
error?: string
|
||||
}>
|
||||
getSessionMessageCounts: (sessionIds: string[]) => Promise<{
|
||||
success: boolean
|
||||
counts?: Record<string, number>
|
||||
|
||||
Reference in new issue
Block a user