feat: improve tournament workflows and prune outdated docs
This commit is contained in:
1 parent
da7b502936
commit
38a89b5374
53 files changed
+3308
-3276
No files matched your search
@@ -101,7 +101,23 @@ export interface MatchDetailResponse {
|
||||
updatedAt: IsoDateTime;
|
||||
}
|
||||
|
||||
export type MatchSummaryResponse = MatchDetailResponse;
|
||||
export type MatchHistoryResult =
|
||||
| {
|
||||
type: "score";
|
||||
teamAWins: number;
|
||||
teamBWins: number;
|
||||
winnerTeamName?: string;
|
||||
}
|
||||
| { type: "winners"; teamNames: string[] }
|
||||
| {
|
||||
type: "decision";
|
||||
decision: "walkover" | "forfeit" | "administrative" | "draw";
|
||||
winnerTeamName?: string;
|
||||
};
|
||||
|
||||
export interface MatchSummaryResponse extends MatchDetailResponse {
|
||||
historyResult?: MatchHistoryResult;
|
||||
}
|
||||
|
||||
export interface TeamTournamentCodeView {
|
||||
gameSlotId: GameSlotId;
|
||||
@@ -123,7 +139,7 @@ export interface TeamCompetitionViewResponse {
|
||||
}
|
||||
|
||||
export interface MatchListResponse {
|
||||
matches: MatchDetailResponse[];
|
||||
matches: MatchSummaryResponse[];
|
||||
total: number;
|
||||
page: number;
|
||||
limit: number;
|
||||
|
||||
Reference in new issue
Block a user