async function baseLevelResolver(ids, objectType) {
  let input = {};
  input[objectType] = ids;
  let output = await biomedicalIdResolve(input);

  return ids.map(id => ({
    id: output[id].id.identifier,
    label: output[id].id.label,
    publication: [],
    api: "",
    source: "",
    predicate: "",
  }));
}
/**
 * Generic resolver for Query fields
 * @param {Array.<string>} ids ids (eg. ["NCBIGene:1017", "MONDO:0004976"])
 * @param {String} ObjectType object type of id (eg. AnatomicalEntity, BiologicalProcess)
 * @return {Object} object with basic fields populated (id, label) and empty values for publication, api, and source fields
 */
Generic resolver for Query fields
@param {Array.} ids ids
@param {String} ObjectType object type of id
@return {Object} object with basic fields populated (id, label) and empty values for publication, api, and source fields
Generic resolver for Query fields @param { Array . } ids ids @param { String } ObjectType object type of id @return { Object } object with basic fields populated ( id label ) and empty values for publication api and source fields
async function baseLevelResolver(ids, objectType) {
  let input = {};
  input[objectType] = ids;
  let output = await biomedicalIdResolve(input);
  return ids.map(id => ({
    id: output[id].id.identifier,
    label: output[id].id.label,
    publication: [],
    api: "",
    source: "",
    predicate: "",
  }));
}
async function baseLevelResolver ( ids , objectType ) { let input = { } ; input [ objectType ] = ids ; let output = await biomedicalIdResolve ( input ) ; return ids . map ( id => ( { id : output [ id ] . id . identifier , label : output [ id ] . id . label , publication : [ ] , api : "" , source : "" , predicate : "" , } ) ) ; }
Generic resolver for Query fields
 @param {Array.<string>} ids ids (eg.
Generic resolver for Query fields @param { Array . <string > } ids ids ( eg .