Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FacetConfig

Interface represents facet configuration.

Hierarchy

  • FacetConfig

Index

Properties

id: string

Id is used to identify Facets. This id has to be unique within one SfsApi.

labelPredicates?: string[]

Expected predicates for option labels. First to match is used in order of array elements. If none is provided or none match option id (its IRI) will be used.

predicate: string

Predicate represents predicate in RDF Triple used for querying facet options. This predicate will be applied to subject ?_id from SfsApiConfig.baseQuery and object will be the facet option.

For more variability, you can implement your class extending Facet.

Generated using TypeDoc