29 lines
570 B
TypeScript
29 lines
570 B
TypeScript
/**
|
|
* Auth Module - Main entry point
|
|
*/
|
|
|
|
// Types
|
|
export * from './types';
|
|
|
|
// Services
|
|
export { authApi } from './services/auth.api';
|
|
|
|
// Stores
|
|
export { useAuthStore, useUser, useTenant, useIsAuthenticated, useAuthLoading, useAuthError } from './stores/auth.store';
|
|
|
|
// Hooks
|
|
export {
|
|
authKeys,
|
|
useLogin,
|
|
useRegister,
|
|
useLogout,
|
|
useRequestPasswordReset,
|
|
useResetPassword,
|
|
useChangePassword,
|
|
useSessions,
|
|
useRevokeSession,
|
|
} from './hooks/useAuth';
|
|
|
|
// Pages
|
|
export { LoginPage, RegisterPage, ForgotPasswordPage, ResetPasswordPage } from './pages';
|