Global filters (#40)

This commit is contained in:
Timothy Armes
2023-07-05 17:27:53 +02:00
parent caaad4e229
commit 15ead0b877
11 changed files with 168 additions and 71 deletions
+11 -2
View File
@@ -1,12 +1,21 @@
import { LatLngLiteral } from "leaflet";
export enum TimeControl {
Classic = "Classic",
Rapid = "Rapid",
Blitz = "Blitz",
KO = "KO",
};
export interface Tournament {
_id: string;
town: string;
department: string;
tournament: string;
url: string;
time_control: string;
timeControl: TimeControl;
date: string;
coordinates: [number, number];
latLng: LatLngLiteral;
}
export type ScrollableElement = Window | HTMLElement;