mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
22 lines
398 B
TypeScript
22 lines
398 B
TypeScript
import { LatLngLiteral } from "leaflet";
|
|
|
|
export enum TimeControl {
|
|
Classic = "Classic",
|
|
Rapid = "Rapid",
|
|
Blitz = "Blitz",
|
|
Other = "Other",
|
|
};
|
|
|
|
export interface Tournament {
|
|
_id: string;
|
|
town: string;
|
|
department: string;
|
|
tournament: string;
|
|
url: string;
|
|
timeControl: TimeControl;
|
|
date: string;
|
|
latLng: LatLngLiteral;
|
|
}
|
|
|
|
export type ScrollableElement = Window | HTMLElement;
|