Skip to content

Type Alias: PatchSortFeatureRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / PatchSortFeatureRequest

PatchSortFeatureRequest = PatchSortFeatureRename | PatchSortFeatureAmendment

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

Rename, or amend the description/index of, one feature declaration on a sort.

One body states ONE edit — a PatchSortFeatureRename (name, optional cascadeTerms) or a PatchSortFeatureAmendment (description and/or index, no cascadeTerms). The union makes the engine’s 400s for a rename combined with an amendment, for cascadeTerms on an amendment, and for an empty body compile errors.