summaryrefslogtreecommitdiff
path: root/frontend/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/api')
-rw-r--r--frontend/src/api/model.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/frontend/src/api/model.js b/frontend/src/api/model.js
index f5c3481b..54be5cf8 100644
--- a/frontend/src/api/model.js
+++ b/frontend/src/api/model.js
@@ -79,9 +79,14 @@ export type ApiPlayerTurnInfo = {
action: ApiAction,
hand: ApiHandCard[],
neighbourGuildCards: ApiTableCard[],
- message: string
+ message: string,
+ wonderBuildability: ApiWonderBuildability,
};
+export type ApiWonderBuildability = {
+ buildable: boolean
+}
+
export type ApiMoveType = "PLAY" | "PLAY_FREE" | "UPGRADE_WONDER" | "DISCARD" | "COPY_GUILD";
export type ApiProvider = "LEFT_NEIGHBOUR" | "RIGHT_NEIGHBOUR";
export type ApiResourceType = "WOOD" | "STONE" | "ORE" | "CLAY" | "GLASS" | "PAPYRUS" | "LOOM";
bgstack15