Skip to content

User

@blobs/sdk v0.1.0


@blobs/sdk / types/Users / User

Defined in: types/Users.ts:14

Authenticated user account record returned by the API.

Returned from AuthResponse, profile endpoints, and embedded as the subject of a session. Mirrors models.User on the Go backend.

Properties

id

id: string

Defined in: types/Users.ts:16

Stable UUID primary key for the user.


email

email: string

Defined in: types/Users.ts:18

Primary email address (used for login and notifications).


username

username: string

Defined in: types/Users.ts:20

Unique handle (used as an alternate login identifier).


role

role: string

Defined in: types/Users.ts:22

System-level role: typically admin, moderator, or user.


is_active

is_active: boolean

Defined in: types/Users.ts:24

Whether the account is enabled. Disabled accounts cannot log in.


email_verified

email_verified: boolean

Defined in: types/Users.ts:26

Whether the email address has been verified via the confirmation flow.


created_at

created_at: string

Defined in: types/Users.ts:28

ISO-8601 timestamp the user was created.


updated_at

updated_at: string

Defined in: types/Users.ts:30

ISO-8601 timestamp of the last update to the user record.