Skip to content

Type Alias: BoundConstraintKindDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / BoundConstraintKindDto

BoundConstraintKindDto = "upper" | "lower" | "less_than" | "equal"

Defined in: src/types/sorts.ts:418

Which bound a BoundConstraintDto declares, as OSFQL CHECK ON writes it.

  • upper — target <= source_path.
  • lower — target >= source_path.
  • less_than — source_path < target.
  • equal — target == source_path.

A closed set since engine 430dc1ede4 (reasoninglayer#1247): POST /api/v1/sorts refuses any other value with a plain-text 422 that names the field and the allowed values, and writes nothing.

const kind: BoundConstraintKindDto = 'upper';