Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FacetsResponse<T>

Facet Result

Type parameters

Hierarchy

  • Page<T>
    • FacetsResponse

Index

Constructors

constructor

  • new FacetsResponse(key: string, resourceType: HalResourceConstructor<T>, data?: any): FacetsResponse

Properties

Optional _facets

_facets: Record<string, FacetCount[]>

Facet Metadata

Optional _links

_links: Map<string, HalLink>

Optional page

Pagination Metadata

Methods

getFacets

getItems

  • getItems(): T[]

Protected performActionWithoutResourceResponse

  • performActionWithoutResourceResponse(name: string, params: any, data: any, method?: POST | PATCH | PUT): Promise<void>

toJSON

  • toJSON(): any

toJson

  • toJson(): any

Generated using TypeDoc