@villedemontreal/workit-core
Version:
This package provides default and no-op implementations of the WorkIt types for client packages.
26 lines • 730 B
JavaScript
;
/*
* Copyright (c) 2025 Ville de Montreal. All rights reserved.
* Licensed under the MIT license.
* See LICENSE file in the project root for full license information.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.BasePlugin = void 0;
// TODO: add bpmn files and failures/success strategies as well
class BasePlugin {
constructor(packageName) {
this.packageName = packageName;
}
enable(ioc, logger, config) {
this._ioc = ioc;
this._logger = logger;
if (config)
this._config = config;
this.bind();
}
disable() {
this.unbind();
}
}
exports.BasePlugin = BasePlugin;
//# sourceMappingURL=basePlugin.js.map