Skip to content
1 min read · 151 words

Interface: OrderingRepair

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

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:286
detailstringDescription of the concrete timeline or primitive change.src/batteries/validation/types.ts:281
strategy"reorder" | "insert-alternation-filler" | "fill-required-metadata"Safe repair strategy used by mutate mode.src/batteries/validation/types.ts:279
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:284
violationBlockingOrderingViolationThe blocking violation this repair addressed.src/batteries/validation/types.ts:277