veza/apps/web/src/features/auth
senke 8d74de447d scalability: replace direct auth API calls with authApi service
- Replaced imports in VerifyEmailPage.tsx (verifyEmail, resendVerificationEmail → authApi.verifyEmail, authApi.resendVerification)
- Replaced imports in useUsernameAvailability.ts (checkUsernameAvailability → authApi.checkUsername with response.available extraction)
- Replaced imports in usePasswordReset.ts (requestPasswordReset, resetPassword → authApi.requestPasswordReset, authApi.resetPassword)
- Replaced imports in RegisterPage.tsx (resendVerificationEmail → authApi.resendVerification)
- All function calls updated to use authApi methods with proper request object wrapping
- Test files still use direct imports (acceptable - tests can use implementation details)
- AuthContext.tsx uses services/authService (legacy service, separate from features/auth/services/authService)
- No TypeScript errors related to authApi
- Action 6.1.1.8 complete
2026-01-15 20:40:46 +01:00
..
__tests__ incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
api incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
components security: add pre-validation to RegisterForm and LoginForm 2026-01-15 20:11:22 +01:00
hooks scalability: replace direct auth API calls with authApi service 2026-01-15 20:40:46 +01:00
pages scalability: replace direct auth API calls with authApi service 2026-01-15 20:40:46 +01:00
services api-contracts: replace ApiError interface with Zod-inferred type 2026-01-15 17:03:35 +01:00
store state-ownership: remove _refreshUserPromise field from authStore 2026-01-15 18:11:41 +01:00
types api-contracts: update feature-specific auth types to use generated types 2026-01-15 17:13:43 +01:00
utils incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
index.ts [INT-AUTH-002] Remove duplicate auth store - migrate to features/auth/store/authStore.ts 2025-12-26 09:11:46 +01:00
routes.test.tsx refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
routes.tsx refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
types.test.ts refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00