code: function mapType(model) {
      types[model.modelName] = {
          generated: false,
          name: model.modelName,
          meta: {
              category: 'TYPE',
              fields: {}
          }
      };
  
      _.forEach(model.definition.properties, (property, key) => {
          mapProperty(model, property, model.modelName, key);
      });
  
      _.forEach(sharedRelations(model), (rel) => {
          mapRelation(rel, model.modelName, rel.name);
      });
  }
docs: Generates a definition for a single model type
  @param {*} model