From 3395b5cd83f7295f763d03829442364a372a8ab4 Mon Sep 17 00:00:00 2001 From: Erik <7330807+robere2@users.noreply.github.com> Date: Sat, 2 Dec 2023 21:52:21 -0500 Subject: [PATCH] fix: `skills.json` schema top-level key changed to `skills` --- packages/schemas/src/schemas.ts | 2 +- .../src/schemas/hypixel/resources/skyblock/skills.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/schemas/src/schemas.ts b/packages/schemas/src/schemas.ts index 3896177e..df992512 100644 --- a/packages/schemas/src/schemas.ts +++ b/packages/schemas/src/schemas.ts @@ -60,7 +60,7 @@ export const HypixelSkyBlockSkills: SchemaData = { defName: "HypixelSkyBlockSkills", schemaPath: join(inDir, 'resources', 'skyblock', 'skills.json'), dtsOutDir: outDir, - postProcess: (input) => input.collections, + postProcess: (input) => input.skills, } export const HypixelAchievements: SchemaData = { diff --git a/packages/schemas/src/schemas/hypixel/resources/skyblock/skills.json b/packages/schemas/src/schemas/hypixel/resources/skyblock/skills.json index f49856d5..ced17b25 100644 --- a/packages/schemas/src/schemas/hypixel/resources/skyblock/skills.json +++ b/packages/schemas/src/schemas/hypixel/resources/skyblock/skills.json @@ -14,13 +14,13 @@ "version": { "type": "string" }, - "collections": { + "skills": { "$ref": "#/definitions/HypixelSkyBlockSkills" } }, "required": [ "success", - "collections" + "skills" ], "definitions": { "HypixelSkyBlockSkills": {