Update AuthContext interface to use AethexUserProfile

cgen-bc758836154244518b8b483bcfd71a14
This commit is contained in:
Builder.io 2025-08-06 00:29:51 +00:00
parent a9e512d7ff
commit 0bc380a1d1

View file

@ -8,13 +8,13 @@ import { aethexUserService, type AethexUserProfile } from '@/lib/aethex-database
interface AuthContextType {
user: User | null;
profile: UserProfile | null;
profile: AethexUserProfile | null;
session: Session | null;
loading: boolean;
signIn: (email: string, password: string) => Promise<void>;
signUp: (email: string, password: string, userData?: Partial<UserProfile>) => Promise<void>;
signUp: (email: string, password: string, userData?: Partial<AethexUserProfile>) => Promise<void>;
signOut: () => Promise<void>;
updateProfile: (updates: Partial<UserProfile>) => Promise<void>;
updateProfile: (updates: Partial<AethexUserProfile>) => Promise<void>;
}
const AuthContext = createContext<AuthContextType | undefined>(undefined);