Skip to main content

Module edits

Module edits 

Expand description

When a generic field edit asks for confirmation.

Every door decides it the same way, from the edit alone: no app code is needed to read a field edit. Only removing an item of a collection asks, as a delete verb does, unless the record publishes that collection’s removals as quiet. Setting, splicing, adding, moving and an outbox’s settle and forget ask nothing.

Enums§

EditStep
One step of a field edit’s path, as the decision reads it.

Constants§

FIELD_EDIT_TAG
The tag a published field edit carries.
QUIET_REMOVAL_TAG
The tag prefix naming one collection, by its dotted path from the edit’s root (* for an item), whose removals ask nothing.

Functions§

dotted
path as the dotted pattern QUIET_REMOVAL_TAG names collections by.
field_edit_asks
Whether the field edit op (its JSON name) at path asks for confirmation before it runs, where quiet names the collections whose removals ask nothing.