create singleplayer game record rest endpoints

This commit is contained in:
Evan
2024-12-06 17:02:12 -08:00
parent cd09c0a1d6
commit 60ccf2ba36
2 changed files with 70 additions and 2 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ const IntentSchema = z.union([
BuildUnitIntentSchema,
]);
const TurnSchema = z.object({
export const TurnSchema = z.object({
turnNumber: z.number(),
gameID: z.string(),
intents: z.array(IntentSchema)