// (C) 2024-2026 GoodData Corporation
const setAllAutomationsCount = (state, action) => {
    state.allAutomationsCount = action.payload;
};
const setAutomationsInitialized = (state) => {
    state.isInitialized = true;
};
const setUserAutomations = (state, action) => {
    state.userAutomations = action.payload;
};
const setAutomationsLoading = (state, action) => {
    state.isLoading = action.payload;
};
const setAutomationsError = (state, action) => {
    state.error = action.payload;
};
export const automationsReducers = {
    setAutomationsInitialized,
    setAllAutomationsCount,
    setUserAutomations,
    setAutomationsLoading,
    setAutomationsError,
};
