RecordTouch
type RecordTouch = { affected?: string[]; blockId: string; from?: number; scope: "text" | "marks" | "props" | "children"; to?: number;};Defined in: ledger-conflict.ts:34
One region of the document a record touches, keyed by block id.
text— a character range[from, to)of a block’s inline content was replaced.marks— a character range[from, to)of a block had a mark toggled.props— a block’stype/attrschanged.children— a parent’s child list changed (insert/remove/move/split/join).affectedlists ids that left/entered that parent, so an edit to a block another record deleted or moved is detectable as a conflict.