feat: Implement AuthService for user registration with detailed field error handling and updated user roles.

This commit is contained in:
pradeepkumar
2025-12-22 11:53:53 +05:30
parent de32edb7ab
commit 5c6ab92056
6 changed files with 447 additions and 74 deletions

16
src/services/index.ts Normal file
View File

@@ -0,0 +1,16 @@
// API Client
export { default as api } from './api';
export type { ApiResponse, ApiErrorResponse } from './api';
// Services
export { authService, AuthService } from './auth.service';
export type {
RegisterRequest,
LoginRequest,
AuthUser,
AuthResponse,
ForgotPasswordRequest,
ResetPasswordRequest,
VerifyEmailRequest,
MessageResponse,
} from './auth.service';