summary refs log tree commit diff
path: root/rtc/src/models/Team.ts
blob: 795c82d28a89100a3bdd67bb4525114ef934250a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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,
}