1
0
Fork 0
mirror of synced 2024-06-30 12:00:31 +12:00
budibase/packages/types/src/documents/global/user.ts

21 lines
329 B
TypeScript
Raw Normal View History

2022-05-21 08:16:29 +12:00
import { Document } from "../document"
export interface User extends Document {
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-25 07:01:13 +12:00
email: string
password?: string
status?: string
}
export interface UserRoles {
[key: string]: string
}