Skip to content

Interface: SearchSortsMatch

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SearchSortsMatch

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

One sort that matched a search.

depth: number

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

Hierarchy depth — 0 is a root sort.


id: string

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

Sort identifier (UUID).


optional matchedLabels?: SortLabel[]

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

With by: 'label', the labels of the sort the query matched (its name, alternative or hidden labels), each with its language. Absent for a name search.


name: string

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

Sort name, or the committed namespaced name for a plugin-contributed sort.


optional pluginId?: string | null

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

The plugin that contributed this sort, when the match came from a marketplace install.


optional pluginLocalName?: string | null

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

The name the plugin author wrote, before namespacing — the form the query matched.