// (C) 2021-2026 GoodData Corporation
import { createSlice } from "@reduxjs/toolkit";
import { catalogReducers } from "./catalogReducers.js";
import { catalogInitialState } from "./catalogState.js";
const catalogSlice = createSlice({
    name: "catalog",
    initialState: catalogInitialState,
    reducers: catalogReducers,
});
export const catalogSliceReducer = catalogSlice.reducer;
// Spread "fixes" TS2742 error
/**
 * @internal
 */
export const catalogActions = { ...catalogSlice.actions };
