Files
My-KOPKB/fe/src/modules/auth/index.ts
T
2026-07-12 10:03:31 +08:00

34 lines
736 B
TypeScript

export { authPublicRoutes } from './routes'
export { authMenu } from './menu'
export {
login,
logout,
register,
sendVerificationEmail,
requestForgotPassword,
resetPassword,
fetchCurrentUser,
getAuthErrorMessage,
getRegisterErrorMessage,
getForgotPasswordErrorMessage,
getResetPasswordErrorMessage,
resolvePostLoginRoute,
resolvePostAuthRoute,
isAccountPending,
isEmailVerified,
} from './services/auth.service'
export type {
LoginCredentials,
LoginResponse,
RegisterCredentials,
RegisterResponse,
ResendVerificationResponse,
ForgotPasswordPayload,
ForgotPasswordResponse,
ResetPasswordPayload,
ResetPasswordResponse,
SessionResponse,
AuthUser,
AuthRole,
} from './types/auth.types'