Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SimpleActionContext

Simplified version of action context.

Hierarchy

  • SimpleActionContext

Index

Properties

actionName: string

Action name

args: readonly any[]

Array of action arguments.

data: Record<symbol, any>

Custom data for the action context to be set by middlewares, an object. Symbols must be used as keys to avoid name clashing between middlewares.

parentContext?: SimpleActionContext

Parent action context, if any.

rootContext: SimpleActionContext

Root action context, or itself if the root.

target: AnyModel

Action target model instance.

Action type, sync or async.

Generated using TypeDoc