Skip to content

Commit

Permalink
[Feat] 관리자 토너먼트 수정 인터페이스 타입 추가 #1112
Browse files Browse the repository at this point in the history
  • Loading branch information
greatSweetMango committed Nov 29, 2023
1 parent 8dc51e6 commit e610f29
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion types/admin/adminTournamentTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}

0 comments on commit e610f29

Please sign in to comment.