MCPcopy
hub / github.com/seanprashad/leetcode-patterns / AuthContextValue

Interface AuthContextValue

src/components/layout/AuthContext.tsx:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import type { User } from "@supabase/supabase-js";
8
9interface AuthContextValue {
10 user: User | null;
11 loading: boolean;
12 signIn: () => Promise<void>;
13 signOut: () => Promise<void>;
14 syncNow: () => void;
15 syncVersion: number;
16}
17
18const AuthContext = createContext<AuthContextValue>({
19 user: null,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected