ui-auth/dist/types.js
autocommit 55daa6ed6a chore: initial package split from monorepo
Package: @lilith/ui-auth
Split from: lilith/ui.git or lilith/build.git
Publish workflow: calls lilith/workflows/.forgejo/workflows/publish-npm.yml@main
2026-04-20 01:10:50 -07:00

17 lines
No EOL
702 B
JavaScript

/**
* Authentication UI Types
*
* Shared types for LoginForm, RegisterForm, and AuthModal components.
*
* Two integration modes:
* 1. Direct SSO: Provide ssoUrl, components make fetch calls directly
* 2. Provider-based: Provide authHandler, integrates with @lilith/auth-provider
*
* Type Design:
* - RegistrationRole: Role selected during registration ('user' | 'provider' | 'client')
* - UserRole: Permission level after account exists (matches @lilith/types UserRole enum values)
* - UserType: Business identity/function (matches @lilith/types UserType enum values)
* - User: Full user interface matching @lilith/auth-provider's User type
*/
export {};
//# sourceMappingURL=types.js.map