Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
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