Interface CategorizedSearchResult

interface CategorizedSearchResult {
    allCount: number;
    data: ElementSearchHit[];
    from: number;
    selectedType?: string;
    tabs: ElementTypeCount[];
    to: number;
}

Properties

allCount: number

Total count for selectedType — use for the active tab's pagination.

Results of selectedType only.

from: number
selectedType?: string

Element type id used to populate data; undefined when there are no matches.

Full tab list: every matching element type with its count badge.

to: number