app/lib/services/index.js
function IndexService(opts) {
  util.applyProperties(this, opts);
  if (this.project) {
    this.metadataHelper = new MetadataHelper({ sfdcClient : this.project.sfdcClient });
    this.sfdcClient = this.project.sfdcClient;
  } else if (this.sfdcClient) {
    this.metadataHelper = new MetadataHelper({ sfdcClient : this.sfdcClient });
  }
}
function IndexService(opts) {
  util.applyProperties(this, opts);
  if (this.project) {
    this.metadataHelper = new MetadataHelper({ sfdcClient : this.project.sfdcClient });
    this.sfdcClient = this.project.sfdcClient;
  } else if (this.sfdcClient) {
    this.metadataHelper = new MetadataHelper({ sfdcClient : this.sfdcClient });
  }
}
function IndexService ( opts ) { util . applyProperties ( this , opts ) ; if ( this . project ) { this . metadataHelper = new MetadataHelper ( { sfdcClient : this . project . sfdcClient } ) ; this . sfdcClient = this . project . sfdcClient ; } else if ( this . sfdcClient ) { this . metadataHelper = new MetadataHelper ( { sfdcClient : this . sfdcClient } ) ; } }
Service to get an index of an org's metadata
@param {Object} project - project instance (optional)
@param {Object} sfdcClient - client instance (optional)
Service to get an index of an org s metadata