Skip to content

UserActionContext

@blobs/sdk v0.1.0


@blobs/sdk / actions/user / UserActionContext

Defined in: actions/user/types.ts:20

Extended ActionContext carrying a UsersService. Inject this into ActionManager.execute() so user actions can call into the service without depending on the global SDK singleton.

Extends

Properties

userId?

optional userId?: string

Defined in: actions/types.ts:49

User ID performing the action

Inherited from

ActionContext.userId


networkId?

optional networkId?: string

Defined in: actions/types.ts:51

Network/API context

Inherited from

ActionContext.networkId


metadata?

optional metadata?: Record<string, unknown>

Defined in: actions/types.ts:53

Additional metadata

Inherited from

ActionContext.metadata


usersService

usersService: UsersService

Defined in: actions/user/types.ts:21