Add team creation stubs
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export interface CheckTeamNameResponse {
|
||||
type: "check_team_name_res";
|
||||
status: number; // Anything other than 4 is success
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import { Id } from "../model/base";
|
||||
import { Team } from "../model/team";
|
||||
|
||||
export interface CreateTeamResponse {
|
||||
type: "create_team_res";
|
||||
status: number; // 0 is success, 1 is failure
|
||||
teamId: Id<Team>;
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
import { CheckTeamNameResponse } from "./checkTeamName";
|
||||
import { CreateTeamResponse } from "./createTeam";
|
||||
import { DiscoverProfileResponse } from "./discoverProfile";
|
||||
import { GenericResponse } from "./generic";
|
||||
import { JoinAutoTeamResponse } from "./joinAutoTeam";
|
||||
@@ -24,6 +26,8 @@ import { UpdateStoryClearNumResponse } from "./updateStoryClearNum";
|
||||
import { UnlockProfileResponse } from "./unlockProfile";
|
||||
|
||||
export type Response =
|
||||
| CheckTeamNameResponse
|
||||
| CreateTeamResponse
|
||||
| DiscoverProfileResponse
|
||||
| GenericResponse
|
||||
| JoinAutoTeamResponse
|
||||
|
||||
Reference in New Issue
Block a user