Clubs page

This commit is contained in:
Timothy Armes
2023-10-09 19:06:24 +02:00
committed by Owen Rees
parent 5b2218966f
commit ed68a9280b
11 changed files with 458 additions and 1 deletions
+21 -1
View File
@@ -16,7 +16,17 @@ export type TournamentData = {
coordinates: [number, number];
entry_method: "manual" | "auto";
pending: boolean;
status: Status
status: Status;
};
export type ClubData = {
_id: ObjectId;
name: string;
url?: string;
address?: string;
email?: string;
website?: string;
coordinates: [number, number];
};
export enum TimeControl {
@@ -41,6 +51,16 @@ export type Tournament = {
status: Status;
};
export type Club = {
id: string;
name: string;
url?: string;
address?: string;
email?: string;
website?: string;
latLng: LatLngLiteral;
};
export type ResponseMessage = {
isSuccessful: boolean;
message: string;