feat : add games database

This commit is contained in:
GuillaumeSD
2024-02-22 00:26:07 +01:00
parent 4502651492
commit 2a74b62bae
16 changed files with 450 additions and 7 deletions

View File

@@ -2,5 +2,4 @@ export enum GameOrigin {
Pgn = "pgn",
ChessCom = "chesscom",
Lichess = "lichess",
Json = "json",
}

View File

@@ -14,3 +14,16 @@ export interface GameEval {
whiteAccuracy: number;
blackAccuracy: number;
}
export interface Game {
id: number;
pgn: string;
event?: string;
site?: string;
date?: string;
round?: string;
white?: string;
black?: string;
result?: string;
eval?: GameEval;
}