Type Alias: SortLabelInput
@kortexya/reasoninglayer / SortLabelInput
Type Alias: SortLabelInput
Section titled “Type Alias: SortLabelInput”SortLabelInput =
string| {language?:string|null;value:string; }
Defined in: src/types/sorts.ts:488
A label as a request may give it: a SortLabel, or a bare string for a label with no language.
Remarks
Section titled “Remarks”The SDK always sends the object form: a bare string becomes
{"value": "...", "language": null} on the wire. The engine refuses a
language that is not a well-formed BCP 47 tag with 400.