add started & ended timestamps to game table

This commit is contained in:
Nathaniel Tampus
2023-04-05 21:50:34 +08:00
parent baebc04510
commit 3f851602ea
4 changed files with 27 additions and 12 deletions

2
types/index.d.ts vendored
View File

@@ -10,6 +10,8 @@ export interface Game {
unlisted?: boolean;
timeout?: number;
observers?: User[];
startedAt?: number;
endedAt?: number;
}
export interface User {