| 1 | import {create} from 'zustand'; |
| 2 | |
| 3 | interface AuthStore { |
| 4 | isAuth: boolean; |
| 5 | user: User | null; |
| 6 | isloading: boolean; |
| 7 | setIsAuth: (isAuth: boolean) => void; |
| 8 | setUser: (user: User | null) => void; |
| 9 | setIsLoading: (isloading: boolean) => void; |
| 10 | } |
| 11 | |
| 12 | interface User { |
| 13 | id: number; |
nothing calls this directly
no outgoing calls
no test coverage detected