mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
Clubs page
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user