@bitloops/bl-transpiler
Version:
The one and only Bitloops Language transpiler
14 lines • 709 B
JavaScript
import { BoundedContextModuleBuilder } from './boundedContextModuleBuilder.js';
import { WordsWithSpacesBuilder } from './wordsWithSpacesBuilder.js';
export class BoundedContextModuleBuilderDirector {
builder;
constructor() {
this.builder = new BoundedContextModuleBuilder();
}
buildBoundedContextModule({ boundedContextName, moduleName, }) {
const boundedContext = new WordsWithSpacesBuilder().withName(boundedContextName).build();
const module = new WordsWithSpacesBuilder().withName(moduleName).build();
return this.builder.withBoundedContext(boundedContext).withModule(module).build();
}
}
//# sourceMappingURL=boundedContextModuleBuilderDirector.js.map