@methodus/server
Version:
Server components for @methodus workflow
19 lines • 589 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const log_1 = require("../log");
let ServerConfig = class ServerConfig {
constructor(type, options) {
this.type = type;
this.options = options;
if (options) {
this.onStart = options.onStart;
}
}
};
ServerConfig = tslib_1.__decorate([
log_1.LogClass(log_1.logger),
tslib_1.__metadata("design:paramtypes", [String, Object])
], ServerConfig);
exports.ServerConfig = ServerConfig;
//# sourceMappingURL=server-config.js.map