Witness.before
property · packages/entity/src/bounds.ts:624
readonly before: Option.Option<Row>The row before the write, encoded as stored; none for a create.
Entity / foldkit-entity
interface · packages/entity/src/bounds.ts:622
interface Witness {
readonly before: Option.Option<Row>
readonly input: Row
readonly after: Row
readonly invariant: string
readonly message: string
readonly path: ReadonlyArray<string>
}A row before, an input and the row after, concrete, that break a rule: what a refusal shows.
Witness.beforeproperty · packages/entity/src/bounds.ts:624
readonly before: Option.Option<Row>The row before the write, encoded as stored; none for a create.
Witness.inputproperty · packages/entity/src/bounds.ts:625
readonly input: RowWitness.afterproperty · packages/entity/src/bounds.ts:626
readonly after: RowWitness.invariantproperty · packages/entity/src/bounds.ts:628
readonly invariant: stringThe rule it breaks: its id, what it says, and the members a form shows it beside.
Witness.messageproperty · packages/entity/src/bounds.ts:629
readonly message: stringWitness.pathproperty · packages/entity/src/bounds.ts:630
readonly path: ReadonlyArray<string>