- 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 |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| api | ||
| components | ||
| hooks | ||
| pages | ||
| services | ||
| store | ||
| types | ||
| utils | ||
| index.ts | ||
| routes.test.tsx | ||
| routes.tsx | ||
| types.test.ts | ||