UNPKG

search-client

Version:

Javascript library for executing searches in the Haive search-index via the SearchManager REST interface.

28 lines (27 loc) 746 B
import { ICategory } from "./ICategory"; /** * The Group-node is the top-level node for each of the category "trees". * It contains information about this group-node as well as a list of child-categories. */ export interface IGroup { /** * Sequential running number per group */ $id?: number; /** * The child categories for this group. */ categories: ICategory[]; /** * The displayName is what is expected to be presented as the group-name for the end-user. */ displayName: string; /** * Indicates whether or not this group-node should be expanded or not. */ expanded: boolean; /** * The internal name identifier for this group-node. */ name: string; }