IUndoEntry
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
An entry on undo stack contains patches required
export interface IUndoEntry<T extends IDashboardCommand = IDashboardCommand>
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
T | (ALPHA) Dashboard command that has initiated the state changes. | ||
Patch[] | (ALPHA) Patches to apply in order to redo the undone changes. | ||
Patch[] | (ALPHA) Patches to apply in order to undo the changes. |
Property details
IUndoEntry.cmdpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Dashboard command that has initiated the state changes.
cmd: T;
IUndoEntry.redoPatchespropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Patches to apply in order to redo the undone changes.
redoPatches: Patch[];
IUndoEntry.undoPatchespropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Patches to apply in order to undo the changes.
undoPatches: Patch[];