1 parent d58831e commit cbc84b2Copy full SHA for cbc84b2
1 file changed
web/src/store/useStore.ts
@@ -17,6 +17,7 @@ interface AppState {
17
user: User | null;
18
userConfig: UserConfig;
19
isAuthLoading: boolean;
20
+ slots: Slot[];
21
22
// Actions
23
setSelectedGroup: (group: string) => void;
@@ -25,9 +26,9 @@ interface AppState {
25
26
setError: (error: string | null) => void;
27
28
// User Actions
- initAuth: () => void;
29
+ initAuth: () => Promise<void>;
30
signInWithGoogle: () => Promise<void>;
- updateUserConfig: (config: Partial<UserConfig>) => void;
31
+ updateUserConfig: (config: Partial<UserConfig>) => Promise<void>;
32
addSlot: (slot: Slot) => Promise<void>;
33
updateSlot: (slot: Slot) => Promise<void>;
34
deleteSlot: (id: string) => Promise<void>;
0 commit comments