mirror of
https://github.com/fabrice404/olympics-calendar.git
synced 2025-12-15 15:49:45 +00:00
42 lines
632 B
TypeScript
42 lines
632 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;
|
|
}
|
|
|
|
export interface Medal {
|
|
color: "gold" | "silver" | "bronze";
|
|
name: string;
|
|
noc: string;
|
|
sport: string;
|
|
unit: string;
|
|
date: string;
|
|
}
|