feat : add games database
This commit is contained in:
@@ -2,5 +2,4 @@ export enum GameOrigin {
|
||||
Pgn = "pgn",
|
||||
ChessCom = "chesscom",
|
||||
Lichess = "lichess",
|
||||
Json = "json",
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user