feat: add open app route (#3899)

This commit is contained in:
Peng Xiao authored and GitHub committed 2023-08-29 22:40:25 +00:00
1 parent 71b195d9a9
commit 800f3c3cb6
29 files changed
+485 -103

No files matched your search

+4 -2
View File
@@ -173,7 +173,6 @@ export type UIHandlers = {
handleMinimizeApp: () => Promise<any>;
handleMaximizeApp: () => Promise<any>;
handleCloseApp: () => Promise<any>;
handleFinishLogin: () => Promise<void>;
getGoogleOauthCode: () => Promise<any>;
};
@@ -267,7 +266,10 @@ export interface WorkspaceEvents {
}
export interface UIEvents {
onFinishLogin: (fn: () => void) => () => void;
onStartLogin: (fn: (options: { email: string }) => void) => () => void;
onFinishLogin: (
fn: (result: { success: boolean; email: string }) => void
) => () => void;
}
export interface EventMap {