feat: improve tournament workflows and prune outdated docs

This commit is contained in:
dahyeon committed 2026-11-10 15:31:19 +09:00
1 parent da7b502936
commit 38a89b5374
53 files changed
+3308 -3276

No files matched your search

+18 -2
View File
@@ -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;