diff options
Diffstat (limited to 'rtc/src/models/Team.ts')
-rw-r--r-- | rtc/src/models/Team.ts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/rtc/src/models/Team.ts b/rtc/src/models/Team.ts new file mode 100644 index 00000000..795c82d2 --- /dev/null +++ b/rtc/src/models/Team.ts @@ -0,0 +1,17 @@ +export interface Team { + icon: string | null; + id: string; + members: { + membership_state: number; + permissions: string[]; + team_id: string; + user_id: string; + }[]; + name: string; + owner_user_id: string; +} + +export enum TeamMemberState { + INVITED = 1, + ACCEPTED = 2, +} |