@bitloops/bl-transpiler
Version:
The one and only Bitloops Language transpiler
22 lines • 584 B
JavaScript
export 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;
}
}
//# sourceMappingURL=boundedContextModuleBuilder.js.map