octokit / plugin-enterprise-cloud.js

Octokit plugin for GitHub Enterprise Cloud REST APIs
MIT License
7 stars 10 forks source link

[BUG]: missing route /orgs/:org/repos #595

Open helaili opened 21 hours ago

helaili commented 21 hours ago

What happened?

The /orgs/{org}/repos route accepts an additional internal repository visibility on top of public and internal. The generated typescript type is currently public | private | undefined and doesn't allow internal.

Versions

@octokit/plugin-enterprise-cloud: 13.0.0 Node: v20.11.0

Relevant log output

Code of Conduct

github-actions[bot] commented 21 hours ago

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

wolfy1339 commented 11 hours ago

there aren't any types exported for the GHEC methods yet.

The types that are used are for GitHub.com

See #565 for an attempt at adding types