mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:01:08 +02:00
fix(apps): use explicit AuthServiceInterface in all 21 auth stores, re-enable type-check
Replace ReturnType<typeof initializeWebAuth>['authService'] with the explicit AuthServiceInterface in all 21 web app auth stores. This ensures svelte-check sees all 37 auth methods instead of TS inferring a truncated type (~27 methods visible). Re-enabled type-check in 5 apps that were skipping it: - chat/web: svelte-kit sync && svelte-check --threshold error - clock/web: svelte-kit sync && svelte-check --threshold error - context/web: svelte-kit sync && svelte-check --threshold error - presi/web: svelte-kit sync && svelte-check --threshold error - picture/mobile: tsc --noEmit Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
5a9949f735
commit
79080d6654
24 changed files with 37 additions and 37 deletions
|
|
@ -32,7 +32,7 @@ function getBackendUrl(): string {
|
|||
}
|
||||
|
||||
// Lazy initialization to avoid SSR issues with localStorage
|
||||
let _authService: ReturnType<typeof initializeWebAuth>['authService'] | null = null;
|
||||
let _authService: AuthServiceInterface | null = null;
|
||||
let _tokenManager: ReturnType<typeof initializeWebAuth>['tokenManager'] | null = null;
|
||||
|
||||
function getAuthService() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue