1
0
Fork 0
mirror of synced 2024-06-28 02:50:50 +12:00
budibase/packages/types/src/documents/global/userGroup.ts

20 lines
325 B
TypeScript
Raw Normal View History

2022-07-18 23:33:56 +12:00
import { Document } from "../document"
2022-07-18 23:33:56 +12:00
export interface UserGroup extends Document {
name: string
icon: string
color: string
users?: GroupUser[]
roles?: UserGroupRoles
2022-07-18 23:33:56 +12:00
createdAt?: number
}
export interface GroupUser {
2022-07-27 21:20:39 +12:00
_id: string
email: string
2022-07-27 21:20:39 +12:00
}
2022-07-18 23:33:56 +12:00
export interface UserGroupRoles {
[key: string]: string
}