feat: add limited round-robin scheduling

This commit is contained in:
dahyeon committed 2026-06-19 01:13:50 -07:00
1 parent 24983aeb09
commit 658592973e
15 files changed
+403 -63

No files matched your search

+4
View File
@@ -142,6 +142,7 @@ export type TournamentCodeSlotState = TournamentCodeState | 'pending';
export interface TournamentCodeSlotView {
gameNumber: number;
roundNumber?: number;
teamAIndex: number;
teamBIndex: number;
code: string | null;
@@ -219,6 +220,7 @@ export interface ApiMatchScheduleItem {
export interface ApiMatchGameAssignment {
gameNumber: number;
roundNumber?: number;
teamAIndex: number;
teamBIndex: number;
}
@@ -243,6 +245,7 @@ export interface ApiMatch {
maxParticipants: number;
gameCount: number;
gameMode: MatchGameMode;
roundRobinMaxRounds?: number;
gameSchedule?: ApiMatchGameAssignment[];
tournamentCodes?: TournamentCodeSlotView[];
hostUserId?: string;
@@ -371,6 +374,7 @@ export interface MatchMutationRequest {
maxParticipants?: number;
gameCount?: number;
gameMode?: MatchGameMode;
roundRobinMaxRounds?: number;
prizes?: string[];
notices?: string[];
schedule?: ApiMatchScheduleItem[];