Skip to content

Interface: SortReparentReport

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SortReparentReport

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

What a sort move changed.

The body of PUT /api/v1/sorts/{id}/parents without the moved sort, and the sortReparent of an OSFQL ALTER SORT … PARENTS (…) response.

changed: boolean

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

false when the requested parents already were the parents of the sort, and nothing was written.


inheritanceChanges: InheritedFeatureChangeDto[]

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

The sorts whose inherited declarations changed, with what each gained, lost and had replaced.


parents: string[]

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

Its parents now (UUIDs) — exactly what SortsClient.getParents answers.


previousParents: string[]

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

Its parents before the move (UUIDs).


rulesNamingMovedSorts: SortReferencingRuleDto[]

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

The rules that name the sort or a subsort that moved. Which terms they apply to follows the new ancestors.


sortId: string

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

The moved sort (UUID).


subsortsMoved: string[]

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

The subsorts that moved with the sort (UUIDs): every descendant, whose ancestor set changed too.


termsOfMovedSorts: number

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

How many data terms are typed with the sort or a subsort that moved — the terms whose sort now has different ancestors.

Counted the way SortDeletePreviewResponse.termsHeld is counted: a floor, exact when no rule has a pattern of these sorts.