2022-05-21 08:16:29 +12:00
|
|
|
import { Document } from "../document"
|
|
|
|
|
|
|
|
export interface User extends Document {
|
2022-05-19 19:19:25 +12:00
|
|
|
roles: UserRoles
|
2022-05-21 08:16:29 +12:00
|
|
|
builder?: {
|
|
|
|
global: boolean
|
|
|
|
}
|
|
|
|
admin?: {
|
|
|
|
global: boolean
|
|
|
|
}
|
2022-05-24 09:14:44 +12:00
|
|
|
providerType?: string
|
|
|
|
tenantId: string
|
2022-05-19 19:19:25 +12:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface UserRoles {
|
|
|
|
[key: string]: string
|
|
|
|
}
|