mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
36 lines
575 B
JavaScript
36 lines
575 B
JavaScript
// @flow
|
|
|
|
export type Teams$TeamMemberActions = {
|
|
currentRole: string,
|
|
teamUserId: number,
|
|
disable: boolean
|
|
}
|
|
|
|
export type Teams$TeamMember = {
|
|
actions: Teams$TeamMemberActions,
|
|
created_at: string,
|
|
email: string,
|
|
id: number,
|
|
name: string,
|
|
role: string,
|
|
status: string
|
|
};
|
|
|
|
export type Teams$NewTeam = {
|
|
name: string,
|
|
description: string
|
|
};
|
|
|
|
export type Teams$Team = {
|
|
id: number,
|
|
name: string,
|
|
role: string,
|
|
members: number,
|
|
can_be_left: boolean,
|
|
user_team_id: number
|
|
};
|
|
|
|
export type Teams$CurrentTeam = {
|
|
id: number,
|
|
name: string
|
|
}
|