30 lines
737 B
TypeScript
30 lines
737 B
TypeScript
import { Category } from "./category";
|
|
import { Club } from "./club";
|
|
import { Official } from "./official";
|
|
import { Tag } from "./tag";
|
|
import { TeamCategory } from "./team-category";
|
|
|
|
export interface Tournament {
|
|
id?: number;
|
|
name: string;
|
|
dateFrom: string;
|
|
dateTo?: string;
|
|
entryDeadline?: string;
|
|
entryOpenFrom?: string;
|
|
/**
|
|
* @deprecated use organizerName instead
|
|
*/
|
|
organizer?: Club;
|
|
organizerName?: string;
|
|
active: boolean;
|
|
city?: string;
|
|
onlyWithLicence: boolean;
|
|
entriesChecked?: boolean;
|
|
referee: Official | null;
|
|
deputyReferee: Official | null;
|
|
drawUrl: string | null;
|
|
notificationsSentAt?: Date | null;
|
|
'@type'?: string;
|
|
tags?: Tag[];
|
|
}
|