Skip to content
1 min read · 156 words

Interface: OrderingRepair ​

Defined in: src/batteries/validation/types.ts:541

One safe mutation applied while repairing a blocking violation.

Properties ​

PropertyTypeDescriptionDefined in
blockerId?string'reorder' only: id of the primitive the target was moved to sort immediately before.src/batteries/validation/types.ts:567
detailstringDescription of the concrete timeline or primitive change.src/batteries/validation/types.ts:562
strategy| "reorder" | "insert-alternation-filler" | "fill-required-metadata" | "renumber-colliding-ids" | "reorder-adjacent"Safe repair strategy used by mutate mode.src/batteries/validation/types.ts:545
targetId?string'reorder' only: id of the primitive that was moved. Typed so the applying middleware never has to parse detail's prose to recover what it already computed.src/batteries/validation/types.ts:565
violationBlockingOrderingViolationThe blocking violation this repair addressed.src/batteries/validation/types.ts:543