From 0faebc62075b554571743d3a2e1388aacda42567 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 30 Sep 2025 08:28:54 +0000 Subject: [PATCH] Add linked provider types cgen-c3fb0e9de16d401488fcfc80527341ad --- client/contexts/AuthContext.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/client/contexts/AuthContext.tsx b/client/contexts/AuthContext.tsx index e493f122..6b7a0316 100644 --- a/client/contexts/AuthContext.tsx +++ b/client/contexts/AuthContext.tsx @@ -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;