Interface: SearchSortsMatch
@kortexya/reasoninglayer / SearchSortsMatch
Interface: SearchSortsMatch
Section titled “Interface: SearchSortsMatch”Defined in: src/types/sorts.ts:2087
One sort that matched a search.
Properties
Section titled “Properties”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).
matchedLabels?
Section titled “matchedLabels?”
optionalmatchedLabels?: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.
pluginId?
Section titled “pluginId?”
optionalpluginId?:string|null
Defined in: src/types/sorts.ts:2095
The plugin that contributed this sort, when the match came from a marketplace install.
pluginLocalName?
Section titled “pluginLocalName?”
optionalpluginLocalName?:string|null
Defined in: src/types/sorts.ts:2097
The name the plugin author wrote, before namespacing — the form the query matched.