You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do plan on getting to this, just not tonight or tomorrow - busy busy. PRs are welcome though, but adding types should be straightforward enough. It's a bummer Hypixel doesn't keep theirs up to date, the initial api.ts was generated from their swagger.json, I pulled the most recent swagger.json - no changes.
Sorry about all the notifs lol
I would do it all myself, but I've never contributed to a project before.
I opened it in github.dev and made a single change to test, but it said something about me not having write permissions and told me to "fork" it and I gave up
Yes - you would fork, there's a little button at the top right that says fork - then you can make your changes, push them up, and when you're ready you can go to the pull requests tab on my copy of the repository and create a pull request. GitHub should helpfully suggest your fork.
Another alternative is making the changes and generating a patch file - basically if you do git diff > my.patch (or whatever the Windows equivalent is) and upload that it would be a head start.
(as a quick crash course, api.ts is generated from their swagger.json using dtsgen and augmented types are my type annotations to "augment" and add more intellisense/type resolution)
Activity
zikeji commentedon Feb 18, 2026
I got an email for each of these 🙃.
I do plan on getting to this, just not tonight or tomorrow - busy busy. PRs are welcome though, but adding types should be straightforward enough. It's a bummer Hypixel doesn't keep theirs up to date, the initial api.ts was generated from their swagger.json, I pulled the most recent swagger.json - no changes.
Jforjo commentedon Feb 18, 2026
Sorry about all the notifs lol
I would do it all myself, but I've never contributed to a project before.
I opened it in github.dev and made a single change to test, but it said something about me not having write permissions and told me to "fork" it and I gave up
zikeji commentedon Feb 18, 2026
Yes - you would fork, there's a little button at the top right that says fork - then you can make your changes, push them up, and when you're ready you can go to the pull requests tab on my copy of the repository and create a pull request. GitHub should helpfully suggest your fork.
Another alternative is making the changes and generating a patch file - basically if you do
git diff > my.patch(or whatever the Windows equivalent is) and upload that it would be a head start.Jforjo commentedon Feb 18, 2026
OK, that was rather easy, thanks!
Here's the PR: #474
Jforjo commentedon Feb 18, 2026
However, I believe a "garden.ts" file is missing in "src > types > skyblock" as there is an endpoint for the garden: https://api.hypixel.net/#tag/SkyBlock/paths/~1v2~1skyblock~1garden/get
zikeji commentedon Feb 18, 2026
src/methods/skyblock/garden.tsis the client logic, that returns the SkyBlockGardenResponse:node-hypixel/src/types/AugmentedTypes.ts
Line 259 in 594aa22
Which ultimately returns the type from their documentation, since I never augmented it / explored it.
node-hypixel/src/types/api.ts
Lines 325 to 487 in 594aa22
(as a quick crash course, api.ts is generated from their swagger.json using dtsgen and augmented types are my type annotations to "augment" and add more intellisense/type resolution)
zikeji-s-semantic-releaser commentedon Aug 24, 2026
🎉 This issue has been resolved in version 4.1.11 🎉
The release is available on:
Your semantic-release bot 📦🚀