@jbrowse/core
Version:
JBrowse 2 core libraries used by plugins
19 lines (18 loc) • 718 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const PluggableElementBase_1 = __importDefault(require("./PluggableElementBase"));
class TextSearchAdapterType extends PluggableElementBase_1.default {
constructor(stuff) {
super(stuff);
this.description = stuff.description;
this.configSchema = stuff.configSchema;
this.getAdapterClass =
'getAdapterClass' in stuff
? stuff.getAdapterClass
: async () => stuff.AdapterClass;
}
}
exports.default = TextSearchAdapterType;