CRUDUI

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

FormSnapshot interface

Stable subscription snapshot, changed only after a successful operation or view change.

Signature:

export interface FormSnapshot 

Properties

Property

Modifiers

Type

Description

buttons

readonly

ButtonVM[]

Evaluated form buttons for the current data.

canRedo

readonly

boolean

Whether redo can reapply a reverted change.

canUndo

readonly

boolean

Whether undo can restore an earlier record.

fields

readonly

NodeVM[]

Evaluated fields for the current data and view.

revision

readonly

number

Number of successful data updates.