feat(auth): complete sqlite auth and client invitations
This commit is contained in:
+14
-2
@@ -4,10 +4,22 @@ export type UserRole = (typeof userRoles)[number];
|
||||
|
||||
export type SetupStatus = "pending" | "completed";
|
||||
|
||||
export const portalInvitationStatuses = ["pending", "accepted", "revoked", "expired"] as const;
|
||||
|
||||
export type PortalInvitationStatus = (typeof portalInvitationStatuses)[number];
|
||||
|
||||
export type AuthAuditEventType =
|
||||
| "setup_started"
|
||||
| "setup_completed"
|
||||
| "setup_failed"
|
||||
| "registration_rejected"
|
||||
| "login_succeeded"
|
||||
| "login_failed"
|
||||
| "logout_succeeded";
|
||||
|
||||
| "logout_succeeded"
|
||||
| "invitation_created"
|
||||
| "invitation_revoked"
|
||||
| "invitation_expired"
|
||||
| "invitation_accepted"
|
||||
| "invitation_accept_failed"
|
||||
| "client_access_disabled"
|
||||
| "client_access_enabled";
|
||||
|
||||
Reference in New Issue
Block a user