mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
markers only show for scheduled games
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { Dispatch, MutableRefObject, SetStateAction } from "react";
|
||||
|
||||
import { LatLngLiteral } from "leaflet";
|
||||
import { ObjectId } from "mongodb";
|
||||
|
||||
type Status = "scheduled" | "ongoing" | "finished";
|
||||
|
||||
export type TournamentData = {
|
||||
_id: ObjectId;
|
||||
town: string;
|
||||
@@ -16,6 +16,7 @@ export type TournamentData = {
|
||||
coordinates: [number, number];
|
||||
entry_method: "manual" | "auto";
|
||||
pending: boolean;
|
||||
status: Status
|
||||
};
|
||||
|
||||
export enum TimeControl {
|
||||
@@ -37,6 +38,7 @@ export type Tournament = {
|
||||
latLng: LatLngLiteral;
|
||||
norm: boolean;
|
||||
pending: boolean;
|
||||
status: Status;
|
||||
};
|
||||
|
||||
export type ResponseMessage = {
|
||||
|
||||
Reference in New Issue
Block a user