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.
- check_
schema - Check a restore schema on its own, before a record exists: a schema that names no content selector, or that would rewrite the record’s own bookkeeping, is refused at registration rather than at the first restore.
- prepare_
content_ restore - Prepare exact content restoration without mutating or committing the input.