import { getOtherKey } from '../helpers' ; import { getDynamicResolvers } from '../helpers' ; export default { Environments : getDynamicResolvers ( id => `environments.${ getOtherKey ( id ) }` , { cutoff : 0 } ) , EnvironmentsRatings : getDynamicResolvers ( id => `environments.${ id }` , { cutoff : 0 } ) } ;