Add create and show page for competition

This commit is contained in:
unurled 2025-07-03 20:18:53 +02:00
parent 1485f3daf5
commit 744308d0cb
10 changed files with 151 additions and 72 deletions

View file

@ -44,3 +44,27 @@ export interface Permission {
description: string;
is_wildcard: boolean;
}
export enum Status {
DRAFT = 'draft',
PUBLIC = 'public',
PRIVATE = 'private',
}
export interface Tournament {
id: number;
name: string;
description?: string;
start_date: string;
status: Status;
location?: string;
max_teams: number;
current_scheduling_mode_id?: number;
owner: string;
created_at: string;
updated_at: string;
teams: object[];
fields: object[];
matches: object[];
break_periods: object[];
}