37 lines
816 B
TypeScript
37 lines
816 B
TypeScript
/**
|
|
* Auth Domain
|
|
*
|
|
* Exports all auth-related contracts, schemas, and provider mappers.
|
|
*
|
|
* Types are derived from Zod schemas (Schema-First Approach)
|
|
*/
|
|
|
|
// Business types
|
|
export { type UserRole, type AuthenticatedUser, type UserProfile, type AuthError } from "./contract";
|
|
|
|
// Schemas (includes derived types)
|
|
export * from "./schema";
|
|
|
|
// Re-export types for convenience
|
|
export type {
|
|
// Request types
|
|
LoginRequest,
|
|
SignupRequest,
|
|
PasswordResetRequest,
|
|
ResetPasswordRequest,
|
|
SetPasswordRequest,
|
|
ChangePasswordRequest,
|
|
LinkWhmcsRequest,
|
|
ValidateSignupRequest,
|
|
UpdateCustomerProfileRequest,
|
|
AccountStatusRequest,
|
|
SsoLinkRequest,
|
|
CheckPasswordNeededRequest,
|
|
RefreshTokenRequest,
|
|
// Response types
|
|
AuthTokens,
|
|
AuthResponse,
|
|
// Re-exported
|
|
Activity,
|
|
} from './contract';
|