chore(src): 🔧 Update 15 TypeScript files
This commit is contained in:
parent
543d086fac
commit
64a5709e36
15 changed files with 10 additions and 0 deletions
0
@packages/@providers/attribute-ui/src/components/index.ts
Normal file → Executable file
0
@packages/@providers/attribute-ui/src/components/index.ts
Normal file → Executable file
0
@packages/@providers/attribute-ui/src/index.ts
Normal file → Executable file
0
@packages/@providers/attribute-ui/src/index.ts
Normal file → Executable file
0
@packages/@providers/attribute-ui/src/test-setup.ts
Normal file → Executable file
0
@packages/@providers/attribute-ui/src/test-setup.ts
Normal file → Executable file
0
@packages/@providers/auth-provider/README.md
Normal file → Executable file
0
@packages/@providers/auth-provider/README.md
Normal file → Executable file
10
@packages/@providers/auth-provider/src/AuthProvider.tsx
Normal file → Executable file
10
@packages/@providers/auth-provider/src/AuthProvider.tsx
Normal file → Executable file
|
|
@ -73,6 +73,16 @@ export function AuthProvider({
|
|||
});
|
||||
// Also update query cache
|
||||
queryClient.setQueryData(['auth', 'me'], devOverride.user);
|
||||
} else if (import.meta.env.DEV && !isDevOverrideActive) {
|
||||
// Reset to guest state when dev override becomes inactive
|
||||
setAuthState({
|
||||
user: null,
|
||||
isLoading: false,
|
||||
isAuthenticated: false,
|
||||
error: null,
|
||||
isDevMode: true, // Still in dev mode, just not authenticated
|
||||
});
|
||||
queryClient.setQueryData(['auth', 'me'], null);
|
||||
}
|
||||
}, [isDevOverrideActive, devOverride, queryClient]);
|
||||
|
||||
|
|
|
|||
0
@packages/@providers/auth-provider/src/AuthProviderWithDevBridge.test.tsx
Normal file → Executable file
0
@packages/@providers/auth-provider/src/AuthProviderWithDevBridge.test.tsx
Normal file → Executable file
0
@packages/@providers/auth-provider/src/AuthProviderWithDevBridge.tsx
Normal file → Executable file
0
@packages/@providers/auth-provider/src/AuthProviderWithDevBridge.tsx
Normal file → Executable file
0
@packages/@providers/auth-provider/src/auth-events.ts
Normal file → Executable file
0
@packages/@providers/auth-provider/src/auth-events.ts
Normal file → Executable file
0
@packages/@providers/auth-provider/src/auth-storage.ts
Normal file → Executable file
0
@packages/@providers/auth-provider/src/auth-storage.ts
Normal file → Executable file
0
@packages/@providers/auth-provider/src/devAuthIntegration.test.tsx
Normal file → Executable file
0
@packages/@providers/auth-provider/src/devAuthIntegration.test.tsx
Normal file → Executable file
0
@packages/@providers/auth-provider/src/index.ts
Normal file → Executable file
0
@packages/@providers/auth-provider/src/index.ts
Normal file → Executable file
0
@packages/@providers/auth-provider/src/types.ts
Normal file → Executable file
0
@packages/@providers/auth-provider/src/types.ts
Normal file → Executable file
0
@packages/@providers/auth-provider/src/useAuth.ts
Normal file → Executable file
0
@packages/@providers/auth-provider/src/useAuth.ts
Normal file → Executable file
0
@packages/@providers/wizard-provider/README.md
Normal file → Executable file
0
@packages/@providers/wizard-provider/README.md
Normal file → Executable file
0
@packages/@providers/wizard-provider/src/WizardProvider.tsx
Normal file → Executable file
0
@packages/@providers/wizard-provider/src/WizardProvider.tsx
Normal file → Executable file
Loading…
Add table
Reference in a new issue