The category facet set action creators.

interface CategoryFacetSetActionCreators {
    deselectAllCategoryFacetValues(
        facetId: string,
    ): { payload: string; type: string };
    registerCategoryFacet(
        payload: RegisterCategoryFacetActionCreatorPayload,
    ): { payload: RegisterCategoryFacetActionCreatorPayload; type: string };
    toggleSelectCategoryFacetValue(
        payload: ToggleSelectCategoryFacetValueActionCreatorPayload,
    ): {
        payload: ToggleSelectCategoryFacetValueActionCreatorPayload;
        type: string;
    };
    updateCategoryFacetBasePath(
        payload: UpdateCategoryFacetBasePathActionCreatorPayload,
    ): {
        payload: UpdateCategoryFacetBasePathActionCreatorPayload;
        type: string;
    };
    updateCategoryFacetNumberOfValues(
        payload: UpdateCategoryFacetNumberOfValuesActionCreatorPayload,
    ): {
        payload: UpdateCategoryFacetNumberOfValuesActionCreatorPayload;
        type: string;
    };
    updateCategoryFacetSortCriterion(
        payload: UpdateCategoryFacetSortCriterionActionCreatorPayload,
    ): {
        payload: UpdateCategoryFacetSortCriterionActionCreatorPayload;
        type: string;
    };
    updateFacetAutoSelection(
        payload: UpdateFacetAutoSelectionActionCreatorPayload,
    ): { payload: UpdateFacetAutoSelectionActionCreatorPayload; type: string };
}

Methods

  • Deselects all values of a category facet.

    Parameters

    • facetId: string

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

    Returns { payload: string; type: string }

    A dispatchable action.