mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-24 23:06:51 +00:00
新增排除好友
This commit is contained in:
19
src/types/electron.d.ts
vendored
19
src/types/electron.d.ts
vendored
@@ -175,6 +175,25 @@ export interface ElectronAPI {
|
||||
}
|
||||
error?: string
|
||||
}>
|
||||
getExcludedUsernames: () => Promise<{
|
||||
success: boolean
|
||||
data?: string[]
|
||||
error?: string
|
||||
}>
|
||||
setExcludedUsernames: (usernames: string[]) => Promise<{
|
||||
success: boolean
|
||||
data?: string[]
|
||||
error?: string
|
||||
}>
|
||||
getExcludeCandidates: () => Promise<{
|
||||
success: boolean
|
||||
data?: Array<{
|
||||
username: string
|
||||
displayName: string
|
||||
avatarUrl?: string
|
||||
}>
|
||||
error?: string
|
||||
}>
|
||||
onProgress: (callback: (payload: { status: string; progress: number }) => void) => () => void
|
||||
}
|
||||
cache: {
|
||||
|
||||
Reference in New Issue
Block a user