CRUDUI

Home > @polyspec/crudui-generator-core > History_2

History_2 interface

Records before earlier changes and records after undone changes, oldest first.

Signature:

export interface History<T> 

Properties

Property

Modifiers

Type

Description

entries

readonly

readonly T[]

Earlier records, at most HISTORY_LIMIT.

lastPath?

readonly

string

(Optional) Path of the last change when it was a value edit.

redoEntries

readonly

readonly T[]

Records that can be restored by redo, oldest first.