import { combineReducers } from "redux";
import { routerReducer } from "react-router-redux";

import app from "./nodes/app/reducer";
import auth from "./nodes/auth/reducer";
import components from "./nodes/components/reducer";
import entities from "./nodes/entities/reducer";
import errors500 from "./nodes/errors500/reducer";
import notifications from "./nodes/notifications/reducer";
import osquery from "./nodes/osquery/reducer";
import redirectLocation from "./nodes/redirectLocation/reducer";
import version from "./nodes/version/reducer";

export default combineReducers({
  app,
  auth,
  components,
  entities,
  errors500,
  notifications,
  osquery,
  redirectLocation,
  routing: routerReducer,
  version,
});
