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

18 lines
275 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
}
export interface UserRoles {
[key: string]: string
}