aboutsummaryrefslogtreecommitdiff
path: root/test-client/protocol.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test-client/protocol.ts')
-rw-r--r--test-client/protocol.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/test-client/protocol.ts b/test-client/protocol.ts
index 376ebd58..432f30e2 100644
--- a/test-client/protocol.ts
+++ b/test-client/protocol.ts
@@ -64,7 +64,7 @@ export type PacketC =
export type Menu =
{ menu: "book" }
- | { menu: "score" } & Score
+ | { menu: "score", data: Score }
export interface Score {
points: number,
@@ -75,6 +75,7 @@ export interface Score {
active_recipes: number,
passive_recipes: number,
instant_recipes: number,
+ stars: number,
}
export type Message =