mirror of
https://github.com/fabrice404/olympics-calendar.git
synced 2025-12-25 14:39:10 +00:00
33 lines
485 B
TypeScript
33 lines
485 B
TypeScript
export interface Competitor {
|
|
noc: string;
|
|
name: string;
|
|
}
|
|
|
|
export interface Event {
|
|
UID: string;
|
|
DTSTAMP: string;
|
|
DTSTART: string;
|
|
DTEND: string;
|
|
SUMMARY: string;
|
|
DESCRIPTION: string;
|
|
LOCATION: string;
|
|
|
|
_COMPETITORS: Competitor[];
|
|
_GENDER: string;
|
|
_MEDAL: boolean;
|
|
_NOCS: string[];
|
|
_SPORT: string;
|
|
_UNITNAME: string;
|
|
}
|
|
|
|
export interface Sport {
|
|
key: string;
|
|
name: string;
|
|
NOCS: string[];
|
|
}
|
|
|
|
export interface NOC {
|
|
icon: string;
|
|
name: string;
|
|
}
|