Skip to content

Interface: SortReparentResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SortReparentResponse

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

The answer to a sort move: the moved sort as it now stands, and the report.

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.

SortReparentReport.changed


inheritanceChanges: InheritedFeatureChangeDto[]

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

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

SortReparentReport.inheritanceChanges


parents: string[]

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

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

SortReparentReport.parents


previousParents: string[]

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

Its parents before the move (UUIDs).

SortReparentReport.previousParents


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.

SortReparentReport.rulesNamingMovedSorts


sort: SortDto

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

The moved sort as it now stands. Its id and whole record are kept.


sortId: string

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

The moved sort (UUID).

SortReparentReport.sortId


subsortsMoved: string[]

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

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

SortReparentReport.subsortsMoved


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.

SortReparentReport.termsOfMovedSorts