Interface GetElementSearch

interface GetElementSearch {
    all_count: number;
    data: ElementSearchHit[];
    "element-types"?: ElementTypeCount[];
    from: number;
    "hits-by-attributes": HitsByAttributes;
    "selected-type"?: string;
    to: number;
}

Hierarchy (View Summary)

Properties

all_count: number
"element-types"?: ElementTypeCount[]

Present only when the request was made with categorize: true. Full list of matching element types with per-type counts, sorted by count desc — drives the result tabs.

from: number
"hits-by-attributes": HitsByAttributes
"selected-type"?: string

Present only when the request was made with categorize: true. The element type id used to populate data; all_count reflects this type's total. Absent when there are no matches.

to: number