@bitloops/bl-transpiler
Version:
The one and only Bitloops Language transpiler
26 lines • 767 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BoundedContextModuleBuilder = void 0;
class BoundedContextModuleBuilder {
boundedContext;
module;
withBoundedContext(boundedContext) {
this.boundedContext = boundedContext;
return this;
}
withModule(module) {
this.module = module;
return this;
}
build() {
const boundedContextModule = {
boundedContextModule: {
boundedContextName: this.boundedContext,
moduleName: this.module,
},
};
return boundedContextModule;
}
}
exports.BoundedContextModuleBuilder = BoundedContextModuleBuilder;
//# sourceMappingURL=boundedContextModuleBuilder.js.map