Interface FacetGroup

interface FacetGroup {
    dateFilter?: DateFilter;
    facetKey: string;
    facetSubType?: string;
    facetType: FacetType;
    initialValue?: FacetGroupSettingValue;
    isSelected?: boolean;
    open?: boolean;
    operator: FacetKeyOperator;
    possibleOperators?: string[];
    readOnly?: boolean;
    results: FacetListEntry[];
    subFilter?: FacetSubfilter;
    subscriptionFilter?: SubscriptionFilter;
    total?: number;
    visible?: boolean;
}

Properties

dateFilter?: DateFilter

Optional date filter

facetKey: string

Key of the facet. For facets of type TAG the facetKey contains the tag's UUID.

facetSubType?: string

Might contain additional information depending on the 'facetType'. For facetType FACTSHEETSUBTYPE: contains the selected Fact Sheet type. For facetType TAG: contains the facet key.

facetType: FacetType

The type of the facet results. Depending on the type of the results the facet is rendered differently. 'UNKNOWN' is set when the information from the BE is missing, for example when the Facet is generated on the fly (in the Bookmarks)

initialValue?: FacetGroupSettingValue

Facet is read-only

isSelected?: boolean
open?: boolean

Facet is open; default = true

The logical operation that is set for this facet.

possibleOperators?: string[]

List of operators the backend supports for this facet.

readOnly?: boolean

Facet is read-only

results: FacetListEntry[]

List of available entries.

subFilter?: FacetSubfilter

Subfilter applied to this facet.

subscriptionFilter?: SubscriptionFilter

Optional subscription filter

total?: number

Total number of available results (including the ones from results)

visible?: boolean

Facet is visible

Generated using TypeDoc