Add linked provider types
cgen-c3fb0e9de16d401488fcfc80527341ad
This commit is contained in:
parent
701ccbc00f
commit
0faebc6207
1 changed files with 9 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue