mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-25 07:16:51 +00:00
feat(counts): unify contacts and export tab counters
This commit is contained in:
10
src/types/electron.d.ts
vendored
10
src/types/electron.d.ts
vendored
@@ -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