/**
 * pages reducer
 */
import * as reducer from "./reducers"
import reducerFromMap from "@racletteCore/lib/reducerFromMap"
import { applicationState } from "@racletteCore/store/state"
import interactionLinksEffects from "./effects"
const reducerMap = {
  init: () => applicationState.interactionLinks,
  projectInit: reducer.projectInit,
  "interactionLinks/add": reducer.interactionLinksAdd,
  "interactionLinks/set": reducer.interactionLinksSet,
  "interactionLinks/update": reducer.interactionLinksUpdate,
}

const interactionLinksReducers = reducerFromMap(reducerMap)

export { interactionLinksEffects, interactionLinksReducers }
