feat(frontend): Add organization creation, deletion, add better-auth organization plugin
This commit is contained in:
6
legalconsenthub/utils/auth-types.ts
Normal file
6
legalconsenthub/utils/auth-types.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import type { auth } from '../server/utils/auth'
|
||||
import type { authClient } from './auth-client'
|
||||
|
||||
export type Session = typeof auth.$Infer.Session
|
||||
export type ActiveOrganization = typeof authClient.$Infer.ActiveOrganization
|
||||
export type Invitation = typeof authClient.$Infer.Invitation
|
||||
Reference in New Issue
Block a user