diff --git a/packages/schemas/source/api/items/strict.ts b/packages/schemas/source/api/items/strict.ts index fdc0a50..fdd1978 100644 --- a/packages/schemas/source/api/items/strict.ts +++ b/packages/schemas/source/api/items/strict.ts @@ -18,6 +18,7 @@ import { UPPER_SNAKE_CASE_REGEX } from '../bazaar/common' import { apiResponseSchema } from '../../common' import { skinSchema } from './common' +import { EasterRabbit } from '../../enums/easter' const statsSchemaStrict = z .preprocess( @@ -478,6 +479,12 @@ export const itemsResponseSchemaStrict = apiResponseSchema type: z.literal('DUNGEON_TIER'), }) .strict(), + z + .object({ + rabbit: z.nativeEnum(EasterRabbit), + type: z.literal('EASTER_RABBIT'), + }) + .strict(), z .object({ level: z.number().int().min(1), diff --git a/packages/schemas/source/enums/easter.ts b/packages/schemas/source/enums/easter.ts new file mode 100644 index 0000000..328dbb1 --- /dev/null +++ b/packages/schemas/source/enums/easter.ts @@ -0,0 +1,3 @@ +export enum EasterRabbit { + ZORRO = 'ZORRO', +}