-
Notifications
You must be signed in to change notification settings - Fork 284
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
feat(backend): organization_domain webhook event types #4819
base: main
Are you sure you want to change the base?
feat(backend): organization_domain webhook event types #4819
Conversation
🦋 Changeset detectedLatest commit: 52cc866 The changes in this PR will be included in the next version bump. This PR includes changesets to release 11 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Adds the types for Organization Domain webhook events
c45d6d7
to
7adce55
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution @ijxy! The changes looks good to me
Awesome! What's the deal with all the failing CI integration tests? Is that an upstream issue or a problem related to this patch? |
Adds the types for Organization Domain webhook events
Description
Fixes #4818
To align with the rest of the JSON resources in
@clerk/backend
, I have copied theOrganizationDomainJSON
andOrganizationDomainVerificationJSON
types from@clerk/types
.Worth mentioning that the JSON type has
affiliation_email_address
andverification
as nullable, whereas the webhook docs don't. I have assumed that the code is correct and kept the nullable fields.Note: The relationship between
@clerk/backend
and@clerk/types
seems a bit strange in that all(?) the JSON resources appear to be defined identically in both independently. I assume that there is a reason for this so I have not refactored it.Checklist
pnpm test
runs as expected.pnpm build
runs as expected.Type of change