MCPcopy Create free account
hub / github.com/bsoc-bitbyte/busify / AuthStore

Interface AuthStore

frontend/src/store/authStore.tsx:3–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import {create} from 'zustand';
2
3interface 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
12interface User {
13 id: number;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected