-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.d.ts
62 lines (55 loc) · 973 Bytes
/
types.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
interface Player {
name: string;
}
interface Team {
name: string;
}
interface GameScore {
id: string;
player: Player;
score: number;
}
interface TeamScore {
id: string;
team: Team;
score: number;
}
interface LeaderboardScore {
id: number;
created_at: string;
level: number;
score: number;
time_taken: number;
no_of_moves: number;
meeting_id: string;
}
interface Score {
failed_puzzle: any;
puzzle_is_complete: any;
stake_amount: string;
multiplier: string;
id: number;
created_at: string;
level: number;
score: number;
time_taken: number;
no_of_moves: number;
eth_address: string;
ens_username: string;
picture: string;
}
interface Participant {
displayName: string;
walletAddress: string | null;
}
interface Score {
id: number;
created_at: string;
level: number;
score: number;
time_taken: number;
no_of_moves: number;
meeting_id: string;
participants: Participant[];
picture: string;
}