@coveo/headless
    Preparing search index...

    Interface DateFacetValue

    interface DateFacetValue {
        end: string;
        endInclusive: boolean;
        numberOfResults: number;
        start: string;
        state: FacetValueState;
    }
    Index

    Properties

    end: string

    The ending value for the date range, formatted as YYYY/MM/DD@HH:mm:ss or the Relative date format "period-amount-unit"

    endInclusive: boolean

    Whether or not the end value is included in the range.

    numberOfResults: number

    The number of results that have the facet value.

    start: string

    The starting value for the date range, formatted as YYYY/MM/DD@HH:mm:ss or the Relative date format "period-amount-unit"

    The state of the facet value, indicating whether it is filtering results (selected) or not (idle).