Skip to content

Type Alias: PatchSortFeatureAmendment

@kortexya/reasoninglayer


@kortexya/reasoninglayer / PatchSortFeatureAmendment

PatchSortFeatureAmendment = PatchSortFeatureDescriptionAmendment | PatchSortFeatureIndexAmendment

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

Amend the description and/or the index directive of one feature declaration, in place.

This is the only way to return either field to silence: SortsClient.createSort and SortsClient.bulkCreateSorts read an absent value as keep and cannot clear. Per key, an ABSENT key keeps the stored value, null clears it, and a value replaces it. The amendment reaches every subsort’s inherited copy of the declaration and leaves its name, position, bound constraints and the terms alone. At least one of the two keys must be stated: the engine refuses an empty body with 400.