@samply/lens
    Preparing search index...

    Type Alias LensOptions

    type LensOptions = {
        autoUpdateQueryInUrl?: boolean;
        chartOptions?: ChartOptions;
        facetCount?: FacetCountOptions;
        language?: string;
        negotiateOptions?: NegotiateOptions;
        resultSummaryOptions?: ResultSummaryOptions;
        siteMappings?: { [key: string]: string };
        sitesToQuery?: string[];
        spotUrl?: string;
        tableOptions?: TableOptions;
        texts?: Texts;
    }
    Index

    Properties

    autoUpdateQueryInUrl?: boolean

    Whether to automatically update the query in the URL when it changes (default: true)

    chartOptions?: ChartOptions
    facetCount?: FacetCountOptions

    If set, fetch and display facet counts (number of results per discrete value) in the catalogue.

    language?: string

    Two letter language code of the application language

    negotiateOptions?: NegotiateOptions
    resultSummaryOptions?: ResultSummaryOptions
    siteMappings?: { [key: string]: string }
    sitesToQuery?: string[]

    List of sites to query used by querySpot function and facet counts. If not set no sites are sent to Spot and Spot determines the sites to query.

    spotUrl?: string

    URL of the Spot API endpoint used by querySpot function and facet counts.

    tableOptions?: TableOptions
    texts?: Texts

    Allows to customize texts and add new translations