@daveyplate/better-auth-ui
Version:
Plug & play shadcn/ui components for better-auth
40 lines (38 loc) • 1.21 kB
text/typescript
export const authViewPaths = {
/** "accept-invitation" */
ACCEPT_INVITATION: "accept-invitation",
/** "api-keys" */
API_KEYS: "api-keys",
/** "callback" */
CALLBACK: "callback",
/** "email-otp" */
EMAIL_OTP: "email-otp",
/** "forgot-password" */
FORGOT_PASSWORD: "forgot-password",
/** "magic-link" */
MAGIC_LINK: "magic-link",
/** "members" */
MEMBERS: "members",
/** "organization" */
ORGANIZATION: "organization",
/** "organizations" */
ORGANIZATIONS: "organizations",
/** "recover-account" */
RECOVER_ACCOUNT: "recover-account",
/** "reset-password" */
RESET_PASSWORD: "reset-password",
/** "security" */
SECURITY: "security",
/** "settings" */
SETTINGS: "settings",
/** "sign-in" */
SIGN_IN: "sign-in",
/** "sign-out" */
SIGN_OUT: "sign-out",
/** "sign-up" */
SIGN_UP: "sign-up",
/** "two-factor" */
TWO_FACTOR: "two-factor"
}
export type AuthViewPaths = typeof authViewPaths
export type AuthView = keyof AuthViewPaths