Add linked provider types

cgen-c3fb0e9de16d401488fcfc80527341ad
This commit is contained in:
Builder.io 2025-09-30 08:28:54 +00:00
parent 701ccbc00f
commit 0faebc6207

View file

@ -17,6 +17,15 @@ import {
checkProfileComplete,
} from "@/lib/aethex-database-adapter";
type SupportedOAuthProvider = "github" | "google";
interface LinkedProvider {
provider: SupportedOAuthProvider;
identityId?: string;
linkedAt?: string;
lastSignInAt?: string;
}
interface AuthContextType {
user: User | null;
profile: AethexUserProfile | null;