The date facet set action creators.

interface DateFacetSetActionCreators {
    deselectAllDateFacetValues(
        facetId: string,
    ): { payload: string; type: string };
    registerDateFacet(
        payload: RegisterDateFacetActionCreatorPayload,
    ): { payload: RegisterDateFacetActionCreatorPayload; type: string };
    toggleExcludeDateFacetValue(
        payload: ToggleSelectDateFacetValueActionCreatorPayload,
    ): {
        payload: ToggleSelectDateFacetValueActionCreatorPayload;
        type: string;
    };
    toggleSelectDateFacetValue(
        payload: ToggleSelectDateFacetValueActionCreatorPayload,
    ): {
        payload: ToggleSelectDateFacetValueActionCreatorPayload;
        type: string;
    };
    updateDateFacetSortCriterion(
        payload: UpdateDateFacetSortCriterionActionCreatorPayload,
    ): {
        payload: UpdateDateFacetSortCriterionActionCreatorPayload;
        type: string;
    };
    updateDateFacetValues(
        payload: UpdateDateFacetValuesActionCreatorPayload,
    ): { payload: UpdateDateFacetValuesActionCreatorPayload; type: string };
}

Methods

  • Deselects all values of a date facet.

    Parameters

    • facetId: string

      The unique identifier of the facet (e.g., "1").

    Returns { payload: string; type: string }

    A dispatchable action.