diff --git a/types/admin/adminTournamentTypes.ts b/types/admin/adminTournamentTypes.ts index 57683c7cd..0e8b524f9 100644 --- a/types/admin/adminTournamentTypes.ts +++ b/types/admin/adminTournamentTypes.ts @@ -2,7 +2,7 @@ export interface ITournament { tournamentId: number; title: string; contents: string; - status: string; // 'NO_SHOW' | 'WALK_OVER' | 'NO_PARTY' | 'DONE' | 'SCORE_DONE' + status: 'BEFORE' | 'READY' | 'LIVE' | 'END'; type: 'CUSTOM' | 'MASTER' | 'ROOKIE'; winnerIntraId: string; winnerImageUrl: string; @@ -16,3 +16,12 @@ export interface ITournamentTable { totalPage: number; currentPage: number; } + +export interface ITournamentEditInfo { + tournamentId: number | null; + title: string; + contents: string; + type: 'CUSTOM' | 'MASTER' | 'ROOKIE' | null; + startTime: Date; + endTime: Date; +}