@villedemontreal/workit-core
Version:
This package provides default and no-op implementations of the WorkIt types for client packages.
21 lines • 629 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.plugin = void 0;
const basePlugin_1 = require("./basePlugin");
class SimpleModulePlugin extends basePlugin_1.BasePlugin {
constructor(name) {
super(`@villemontreal/plugin-${name}`);
this._name = name;
}
get moduleName() {
return this._name;
}
bind() {
this._ioc.bindTask(SimpleModulePlugin, 'test', { bpmnProcessId: 'MON_BPMN' });
}
unbind() {
this._ioc.unbind('test');
}
}
exports.plugin = new SimpleModulePlugin('simple-module');
//# sourceMappingURL=simplePlugin.js.map