Skip to content

Commit

Permalink
fix: skills.json schema top-level key changed to skills
Browse files Browse the repository at this point in the history
  • Loading branch information
robere2 committed Dec 3, 2023
1 parent edb5434 commit 3395b5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/schemas/src/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"version": {
"type": "string"
},
"collections": {
"skills": {
"$ref": "#/definitions/HypixelSkyBlockSkills"
}
},
"required": [
"success",
"collections"
"skills"
],
"definitions": {
"HypixelSkyBlockSkills": {
Expand Down

0 comments on commit 3395b5c

Please sign in to comment.