@coveo/headless-react
    Preparing search index...

    Interface StaticFilterSetActionCreators

    The static filter set action creators.

    interface StaticFilterSetActionCreators {
        deselectAllStaticFilterValues(
            id: string,
        ): { payload: string; type: string };
        registerStaticFilter(
            payload: RegisterStaticFilterActionCreatorPayload,
        ): { payload: RegisterStaticFilterActionCreatorPayload; type: string };
        toggleExcludeStaticFilterValue(
            payload: ToggleSelectStaticFilterValueActionCreatorPayload,
        ): {
            payload: ToggleSelectStaticFilterValueActionCreatorPayload;
            type: string;
        };
        toggleSelectStaticFilterValue(
            payload: ToggleSelectStaticFilterValueActionCreatorPayload,
        ): {
            payload: ToggleSelectStaticFilterValueActionCreatorPayload;
            type: string;
        };
    }
    Index

    Methods

    • Deselects all values of a filter.

      Parameters

      • id: string

        The unique identifier of the static filter (e.g., "abc").

      Returns { payload: string; type: string }

      A dispatchable action.