Skip to content

Commit 939df73

Browse files
authored
fix(types): Update OrganizationInvitationStatus according to latest API reference (#6753)
1 parent 82b84fe commit 939df73

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/strong-hounds-trade.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/backend': patch
3+
---
4+
5+
Remove `expired` from `OrganizationInvitationStatus` according to latest Backend API spec

packages/backend/src/api/resources/Enums.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export type OAuthStrategy = `oauth_${OAuthProvider}`;
2424
/**
2525
* @inline
2626
*/
27-
export type OrganizationInvitationStatus = 'pending' | 'accepted' | 'revoked' | 'expired';
27+
export type OrganizationInvitationStatus = 'pending' | 'accepted' | 'revoked';
2828

2929
export type OrganizationDomainVerificationStatus = 'unverified' | 'verified';
3030

0 commit comments

Comments
 (0)