新增排除好友

This commit is contained in:
xuncha
2026-01-31 23:44:16 +08:00
parent b8120a5119
commit cffeeb26ec
7 changed files with 522 additions and 13 deletions

View File

@@ -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: {