import { combineReducers } from 'redux' ; import oneToMany from './oneToMany' ; import possibleValues , { getPossibleReferences as pvGetPossibleReferences , getPossibleReferenceValues as pvGetPossibleReferenceValues , } from './possibleValues' ; const defaultReducer = ( ) => null ; export default combineReducers ( { see https oneToMany : oneToMany || defaultReducer , possibleValues : possibleValues || defaultReducer , } ) ; export const getPossibleReferenceValues = ( state , props ) => pvGetPossibleReferenceValues ( state . possibleValues , props ) ; export const getPossibleReferences = pvGetPossibleReferences ;