// (C) 2021-2026 GoodData Corporation
import { createSlice } from "@reduxjs/toolkit";
import { loadingReducers } from "./loadingReducers.js";
import { loadingInitialState } from "./loadingState.js";
const loadingSlice = createSlice({
    name: "loadingSlice",
    initialState: loadingInitialState,
    reducers: loadingReducers,
});
export const loadingSliceReducer = loadingSlice.reducer;
// Spread "fixes" TS2742 error
export const loadingActions = { ...loadingSlice.actions };
