2022-07-18 23:33:56 +12:00
|
|
|
import { Document } from "../document"
|
|
|
|
import { User } from "./user"
|
|
|
|
export interface UserGroup extends Document {
|
|
|
|
name: string
|
|
|
|
icon: string
|
|
|
|
color: string
|
|
|
|
users: User[]
|
2022-07-27 07:04:29 +12:00
|
|
|
apps: any[]
|
2022-07-18 23:33:56 +12:00
|
|
|
roles: UserGroupRoles
|
|
|
|
createdAt?: number
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface UserGroupRoles {
|
|
|
|
[key: string]: string
|
|
|
|
}
|