File

projects/onto-search/src/lib/onto-search-facet/models/search-facet-model.ts

Description

Interface that determines the minimum properties of a single facet.

Properties

count
count: number
Type : number

Found results count

facetData
facetData: any
Type : any

Additional data of the facet. Can be used for further processing of the facet.

label
label: string
Type : string

Display label

selected
selected: boolean
Type : boolean

Facet selected status

export interface SearchFacetModel {
  /**
   * Display label
   */
  label: string,

  /**
   * Additional data of the facet. Can be used for further processing of the facet.
   */
  facetData?: any,

  /**
   * Found results count
   */
  count: number,

  /**
   * Facet selected status
   */
  selected: boolean
}

results matching ""

    No results matching ""