Skip to content

Commit 9084759

Browse files
feat(types): Add legalAcceptedAt to UserResource type (#6517)
Co-authored-by: panteliselef <[email protected]>
1 parent e040597 commit 9084759

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/wild-loops-write.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/types': patch
3+
---
4+
5+
Add `legalAcceptedAt` to UserResource accessible by `Clerk.user` and `useUser()`.

packages/types/src/user.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export interface UserResource extends ClerkResource, CommercePaymentSourceMethod
9595
publicMetadata: UserPublicMetadata;
9696
unsafeMetadata: UserUnsafeMetadata;
9797
lastSignInAt: Date | null;
98+
legalAcceptedAt: Date | null;
9899
createOrganizationEnabled: boolean;
99100
createOrganizationsLimit: number | null;
100101
deleteSelfEnabled: boolean;

0 commit comments

Comments
 (0)