getter = () => {
      const Constructor = require(fileNameOrConstructor);
      Constructor.prototype.type = type;
      return Constructor;
    }
Register a new [Relation]{@link Relation} type in AssetGraph

@static
@param  {Function | String} fileNameOrConstructor A Relation constructor or a file name that exports one
@param  {String} type A unique type for the relation