Showing
1 changed file
with
7 additions
and
4 deletions
... | @@ -29,13 +29,16 @@ export interface Vector { | ... | @@ -29,13 +29,16 @@ export interface Vector { |
29 | 29 | ||
30 | export type Role = "drawer" | "guesser" | "winner" | "spectator"; | 30 | export type Role = "drawer" | "guesser" | "winner" | "spectator"; |
31 | 31 | ||
32 | +export interface RoleData { | ||
33 | + username: string; | ||
34 | + nickname: string; | ||
35 | + role: Role; | ||
36 | +} | ||
37 | + | ||
32 | export interface RoundData { | 38 | export interface RoundData { |
33 | round: number; | 39 | round: number; |
34 | duration: number; | 40 | duration: number; |
35 | - roles: { | 41 | + roles: RoleData[]; |
36 | - username: string; | ||
37 | - role: Role; | ||
38 | - }[]; | ||
39 | }; | 42 | }; |
40 | 43 | ||
41 | export interface BrushData { | 44 | export interface BrushData { | ... | ... |
-
Please register or login to post a comment