UNPKG

@better-auth-ui/core

Version:

Authentication components and data utilities for [Better Auth](https://better-auth.com), available for React and Solid.

25 lines (23 loc) 670 B
/** * Path segments under `/organization/...` contributed by `organizationPlugin`. * * Read at runtime via `useAuthPlugin(organizationPlugin).viewPaths.organization`. */ export interface OrganizationViewPaths { /** * Path segment for organization profile and danger zone * @default "settings" */ settings: string /** * Path segment for members and invitations * @default "people" */ people: string /** Team management. @default "teams" */ teams: string /** Dynamic role management. @default "roles" */ roles: string } /** Valid organization management tab / route key. */ export type OrganizationView = keyof OrganizationViewPaths