ActionState<T>
@blobs/sdk / actions/types / ActionState
Defined in: actions/types.ts:34
Snapshot of state captured before an action runs, used during undo.
BaseAction captures this automatically when canUndo is true,
by calling each action’s captureState() implementation.
Type Parameters
T
T = unknown
The shape of the captured undo state.
Properties
timestamp
timestamp:
number
Defined in: actions/types.ts:36
Timestamp when state was captured
data
data:
T
Defined in: actions/types.ts:38
The captured state data