From 523199508a3505136bc93ba66a127708136708ec Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 30 Sep 2025 22:04:37 +0000 Subject: [PATCH] Expose all mock profiles cgen-41f1a1260873414d9fb0e499123b11b2 --- client/lib/mock-auth.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/lib/mock-auth.ts b/client/lib/mock-auth.ts index 2e555030..e500a6b3 100644 --- a/client/lib/mock-auth.ts +++ b/client/lib/mock-auth.ts @@ -238,6 +238,10 @@ class MockAuthService { return this.profiles.get(userId) || null; } + getAllProfiles(): MockProfile[] { + return Array.from(this.profiles.values()); + } + async updateProfile( userId: string, updates: Partial,