quantum-api/lib/entity-transforms/components/type.js
function getType (str, typeLinks) {
  if (str in typeLinks) {
    return dom.create('a').class('qm-api-type-link').attr('href', typeLinks[str]).text(str)
  } else {
    return str
  }
}
function getType (str, typeLinks) {
  if (str in typeLinks) {
    return dom.create('a').class('qm-api-type-link').attr('href', typeLinks[str]).text(str)
  } else {
    return str
  }
}
function getType ( str , typeLinks ) { if ( str in typeLinks ) { return dom . create ( 'a' ) . class ( 'qm-api-type-link' ) . attr ( 'href' , typeLinks [ str ] ) . text ( str ) } else { return str } }
Lookup the type url from the availble type links
Lookup the type url from the availble type links