summaryrefslogtreecommitdiff
path: root/src/api/models
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/models')
-rw-r--r--src/api/models/othello-game.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/api/models/othello-game.ts b/src/api/models/othello-game.ts
index 788fb5cba6..01c6ca6c00 100644
--- a/src/api/models/othello-game.ts
+++ b/src/api/models/othello-game.ts
@@ -25,7 +25,11 @@ export interface IGame {
is_started: boolean;
is_ended: boolean;
winner_id: mongo.ObjectID;
- logs: any[];
+ logs: Array<{
+ at: Date;
+ color: boolean;
+ pos: number;
+ }>;
settings: {
map: string[];
bw: string | number;