Skip to content

ApplicationActionContext

@blobs/sdk v0.1.0


@blobs/sdk / actions/application / ApplicationActionContext

Defined in: actions/application/types.ts:25

Extended ActionContext carrying an ApplicationsService.

Every application action receives this and uses it to perform the actual mutation, instead of reaching into the SDK singleton. Inject this into ActionManager.execute() as the second argument.

Extends

Properties

applicationsService

applicationsService: ApplicationsService

Defined in: actions/application/types.ts:26


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