mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-25 07:16:51 +00:00
fix:修复了清除缓存功能的缺失
This commit is contained in:
5
src/types/electron.d.ts
vendored
5
src/types/electron.d.ts
vendored
@@ -148,6 +148,11 @@ export interface ElectronAPI {
|
||||
}>
|
||||
onProgress: (callback: (payload: { status: string; progress: number }) => void) => () => void
|
||||
}
|
||||
cache: {
|
||||
clearAnalytics: () => Promise<{ success: boolean; error?: string }>
|
||||
clearImages: () => Promise<{ success: boolean; error?: string }>
|
||||
clearAll: () => Promise<{ success: boolean; error?: string }>
|
||||
}
|
||||
groupAnalytics: {
|
||||
getGroupChats: () => Promise<{
|
||||
success: boolean
|
||||
|
||||
Reference in New Issue
Block a user