This commit is contained in:
2026-02-06 20:03:56 +08:00
parent c383f9063d
commit c6435c6db5
2 changed files with 15 additions and 1 deletions

View File

@@ -81,6 +81,7 @@ export interface ElectronAPI {
// 基础视图控制
hideViews: () => Promise<{ success: boolean }>
showViews: () => Promise<{ success: boolean }>
warmUpViews: () => Promise<{ success: boolean; error?: string }>
switchTab: (tab: TabId) => Promise<{ success: boolean; currentTab?: TabId; error?: string }>
switchToView: (viewId: number) => Promise<{ success: boolean; currentViewId?: number; error?: string }>
getCurrentTab: () => Promise<TabId>