managarten/packages/shared-auth/src
Till JS 28bf9e5adb fix(shared-auth): add explicit AuthServiceInterface to fix TS inference truncation
TypeScript's ReturnType<> inference truncates large object literals,
showing only ~27 of 37 methods. This caused 5 apps to skip type-check
because verifyTwoFactor, signInWithPasskey, sendMagicLink, etc. were
invisible to consumers.

Fix: Define explicit AuthServiceInterface with all 37 methods and use
it as the return type of createAuthService(). This ensures all methods
are visible regardless of object literal size.

Verified: chat/web and presi/web now pass svelte-check for auth methods.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 03:15:29 +01:00
..
adapters fix(shared-auth): add UUID fallback for HTTP contexts 2025-12-05 04:26:34 +01:00
clients feat(contacts): integrate contacts into Todo and Calendar apps 2025-12-11 18:14:35 +01:00
core fix(shared-auth): add explicit AuthServiceInterface to fix TS inference truncation 2026-03-28 03:15:29 +01:00
events feat(auth): add session expired banner when token refresh fails 2026-03-24 21:24:28 +01:00
interceptors refactor(shared-auth): single fetch interceptor for multiple URLs 2026-03-24 20:26:03 +01:00
types fix(shared-auth): add explicit AuthServiceInterface to fix TS inference truncation 2026-03-28 03:15:29 +01:00
index.ts feat(auth): add session expired banner when token refresh fails 2026-03-24 21:24:28 +01:00