diff --git a/src/core/ApiSchemas.ts b/src/core/ApiSchemas.ts index 0afad490b..5d0d35fd4 100644 --- a/src/core/ApiSchemas.ts +++ b/src/core/ApiSchemas.ts @@ -1,7 +1,7 @@ import { z } from "zod"; import { base64urlToUuid } from "./Base64"; import { BigIntStringSchema, PlayerStatsSchema } from "./StatsSchemas"; -import { Difficulty, GameMapType, GameMode, GameType } from "./game/Game"; +import { Difficulty, GameMode, GameType } from "./game/Game"; export const RefreshResponseSchema = z.object({ token: z.string(), @@ -99,7 +99,7 @@ export const PlayerGameSchema = z.object({ start: z.iso.datetime(), mode: z.enum(GameMode), type: z.enum(GameType), - map: z.enum(GameMapType), + map: z.string(), difficulty: z.enum(Difficulty), clientId: z.string().optional(), });