import { configureStore } from '@reduxjs/toolkit';
import announcementUpdate from './announcementUpdate';
import bannerReducer from './bannerSlice';
import calendarCreate from './calendarCreate';
import calendarUpdate from './calendarUpdate';
import discussionGeneralDetailUpdate from './discussionGeneralDetail';
import discussionUpdate from './discussionUpdate';
import divisionCreate from './divisionCreate';
import divisionUpdate from './divisionUpdate';
import dokumenUpdate from './dokumenUpdate';
import entitiesReducer from './entitiesSlice';
import filterSlice from './filterSlice';
import groupUpdate from './groupSlice';
import memberChoose from './memberChoose';
import memberUpdate from './memberSlice';
import notificationUpdate from './notificationSlice';
import positionUpdate from './positionSlice';
import projectUpdate from './projectUpdate';
import taskCreate from './taskCreate';
import taskUpdate from './taskUpdate';
import userReducer from './userSlice';
import groupChoose from './groupChoose';

const store = configureStore({
   reducer: {
      entities: entitiesReducer,
      banner: bannerReducer,
      user: userReducer,
      groupUpdate: groupUpdate,
      positionUpdate: positionUpdate,
      memberUpdate: memberUpdate,
      filterGroup: filterSlice,
      discussionGeneralDetailUpdate: discussionGeneralDetailUpdate,
      memberChoose: memberChoose,
      announcementUpdate: announcementUpdate,
      projectUpdate: projectUpdate,
      taskCreate: taskCreate,
      divisionUpdate: divisionUpdate,
      discussionUpdate: discussionUpdate,
      calendarUpdate: calendarUpdate,
      taskUpdate: taskUpdate,
      divisionCreate: divisionCreate,
      dokumenUpdate: dokumenUpdate,
      notificationUpdate: notificationUpdate,
      calendarCreate: calendarCreate,
      groupChoose: groupChoose,
   }
});

export default store;