Skip to content

Interface: SortFeatureEditResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SortFeatureEditResponse

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

What a feature-declaration edit changed, across the sort and its subsorts.

optional boundConstraintsUpdated?: number

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

How many bound constraints moved with the declaration.


optional cascadeSkipped?: string | null

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

Why a requested term cascade did not run.

Absent when none was asked for and when the one asked for ran. The declaration edit landed either way — this reports what the same request did NOT do. A governed cascade is also declined here when another writer changed a term it read before the commit (reasoninglayer#1249).


feature: string

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

The declaration that was edited, under the name it had.


optional renamedTo?: string | null

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

The name it took, for a rename. Absent for a removal or an amendment.


sort: SortDto

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

The subject sort as it now stands, declarations included.


optional stillDeclared?: number

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

How many of the edited sorts STILL declare the feature afterwards, because removing their own declaration put them back to inheriting an ancestor’s. For an amendment: how many sorts the amendment changed.


subsortsUpdated: string[]

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

Subsorts whose inherited declaration moved with it (UUIDs). For an amendment: the subsorts whose inherited copy was amended.


termsBinding: number

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

How many terms bind the feature.


termsBindingIsFloor: boolean

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

termsBinding is a floor, not a count — more terms bind it than were scanned.


termsUpdated: number

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

How many terms had the value moved or dropped. Zero without a cascade.