Skip to content

Commit

Permalink
feat: Add locked property to User object in SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
iamjameswalters committed Jul 17, 2024
1 parent 2f0f36e commit a7a6435
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/mean-jars-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@clerk/backend": minor
---

Added a `locked` property to the User object in the SDK
2 changes: 2 additions & 0 deletions packages/backend/src/api/resources/User.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export class User {
readonly backupCodeEnabled: boolean,
readonly twoFactorEnabled: boolean,
readonly banned: boolean,
readonly locked: boolean,
readonly createdAt: number,
readonly updatedAt: number,
readonly imageUrl: string,
Expand Down Expand Up @@ -45,6 +46,7 @@ export class User {
data.backup_code_enabled,
data.two_factor_enabled,
data.banned,
data.locked,
data.created_at,
data.updated_at,
data.image_url,
Expand Down

0 comments on commit a7a6435

Please sign in to comment.