server/models/helpers/component-from-model.js
function(forModel) {
      let model = {
        model: app.models[forModel],
        prop: app.models[forModel].definition.properties,
        settings: app.models[forModel].settings,
        meta: app.models[forModel].settings.zlMeta,
        ns: ''
      };
      if (model.meta && model.meta['Namespace']) {
        model.ns = model.meta['Namespace'];
      }
      return model;
    }
function(forModel) {
      let model = {
        model: app.models[forModel],
        prop: app.models[forModel].definition.properties,
        settings: app.models[forModel].settings,
        meta: app.models[forModel].settings.zlMeta,
        ns: ''
      };
      if (model.meta && model.meta['Namespace']) {
        model.ns = model.meta['Namespace'];
      }
      return model;
    }
get infomation about a model