Module restore
Expand description
Checked content-only historical restoration. The caller owns authorization and commit.
Structs§
- Content
Projection - Immutable semantic content backed by a flat private arena. Child indices are meaningful only inside this projection and are never CRDT object identities.
- History
MapEntries - History
MapField - History
MapOverlay - History
Restore Root - History
Restore Schema - History
Root Selector - Prepared
Content Restore
Enums§
- History
Membership - History
Restore Node - History
Root Pattern - Declarative family captures are nonempty UTF-8 strings without control characters.
Their byte length is in
1..=max_capture_bytes(maximum 256). Affixes are ASCII, at most 256 bytes each; the nonempty prefix contains.or:. Keys with the fixed affixes but invalid captures fail content validation. - Preserved
OnCreate - Restore
Error - Restore
Outcome - Restore
Value Type - Scalar
Type
Functions§
- apply_
prepared_ content_ restore - Apply to the live document’s pending transaction; the caller commits once. An unchanged target leaves no pending operations and needs no action entry. The host must refresh cached content object handles after a changed result.
- prepare_
content_ restore - Prepare exact content restoration without mutating or committing the input.
- prepare_
external_ content_ import - Prepare a content-only import from an independently owned document. Both exact frontiers must still match the reviewed values. Authorization, identity discontinuity, archive verification and the final commit belong to the caller. Source operations are used only in a disposable read model; the destination receives newly authored values through the ordinary checked restore writer.