import { configureStore } from '@reduxjs/toolkit';
import workflowReducer from './workflowSlice';
import serverSettingReducer from './serverSettingSlice';

export const store = configureStore({
  reducer: {
    workflow: workflowReducer,
    serverSetting: serverSettingReducer,
  },
});

export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch; 