Add create and show page for competition
This commit is contained in:
parent
1485f3daf5
commit
744308d0cb
10 changed files with 151 additions and 72 deletions
24
resources/js/types/index.d.ts
vendored
24
resources/js/types/index.d.ts
vendored
|
@ -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[];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue