Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/wild-loops-write.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@clerk/types': patch
---

feat(types): add legalAcceptedAt to UserResource
- Add legalAcceptedAt: Date | null to UserResource in packages/types/src/user.ts
- Aligns with existing User implementation and UserJSON (legal_accepted_at)
- Non-breaking addition for improved type completeness
1 change: 1 addition & 0 deletions packages/types/src/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export interface UserResource extends ClerkResource, CommercePaymentSourceMethod
publicMetadata: UserPublicMetadata;
unsafeMetadata: UserUnsafeMetadata;
lastSignInAt: Date | null;
legalAcceptedAt: Date | null;
createOrganizationEnabled: boolean;
createOrganizationsLimit: number | null;
deleteSelfEnabled: boolean;
Expand Down
Loading