Skip to content

Type Alias: SortStatusDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SortStatusDto

SortStatusDto = { type: "Active"; } | { reason: string; replacement?: string | null; type: "Deprecated"; } | { submittedBy?: string | null; type: "Proposed"; }

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

Lifecycle status of a sort. Tagged union discriminated by "type".

Deprecated and Proposed variants carry additional metadata.