ChemPare Documentation - v0.0.0
    Preparing search index...

    Interface FacetItem

    Represents a single facet item used for filtering and navigation. Contains facet metadata and URL information for filtering purposes.

    interface FacetItem {
        name: string;
        count: number;
        fieldName: string;
        facetUrlName: string | number;
        fieldValue: string;
        url: string;
    }
    Index

    Properties

    name: string

    Display name of the facet

    count: number

    Number of items with this facet value

    fieldName: string

    Name of the field this facet represents

    facetUrlName: string | number

    URL-friendly name for the facet

    fieldValue: string

    Value of the facet field

    url: string

    Complete URL for filtering by this facet