Skip to content
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

Export each webhook event type #1170

Open
Jiralite opened this issue Dec 18, 2024 · 0 comments
Open

Export each webhook event type #1170

Jiralite opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels

Comments

@Jiralite
Copy link
Member

Jiralite commented Dec 18, 2024

Issue description

APIWebhookEventBase is intentionally not exported, but it is not possible to get each webhook event type individually. It is only possible to get a union of them all via APIWebhookEvent, which makes it difficult to, for example, type a parameter of a function as a specific webhook event type.

Code sample

No response

Package version

main

Runtime

Node.js

Runtime version

N/A

Priority this issue should have

Low (slightly annoying)

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

No branches or pull requests

2 participants