Skip to content

Support TypeScript #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
grant opened this issue Jul 17, 2024 · 2 comments
Open

Support TypeScript #56

grant opened this issue Jul 17, 2024 · 2 comments

Comments

@grant
Copy link

grant commented Jul 17, 2024

If you need a different binding, contact us!

Can you show us how to make API request in TS?

Example code:

from cloudsmith_api import (
    ApiClient,
    EntitlementsApi,
    RepositoryToken,
    RepositoryTokenRequest,
)

npm = typing.cast(
  RepositoryToken,
  entitlements.entitlements_create(
    owner="testowner", repo="repo-name", show_tokens=True, data=req
  ),
)
@jackgibson1
Copy link
Contributor

Hey @grant, thanks for opening an issue and apologies it's taken us until now to get back to you.

I had a quick chat with the engineering team, and we've agreed that this would be a great addition. I've created a ticket to track the work, which will be scheduled into an upcoming sprint (we can't guarantee an exact time frame!). The team will get back to you on this issue when it has been completed.

If you have any other issues or suggestions, please free to reach out. Thanks!

@grant
Copy link
Author

grant commented Dec 5, 2024

Sounds good Jack!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants