code: function generateTypeDefs(models) {
  
      types = Object.assign({}, types, getCustomTypeDefs());
  
      _.forEach(models, (model) => {
          mapType(model);
          mapInputType(model);
      });
  
      return types;
  }
docs: building all models types & relationships