UNPKG

leds-spark-lib

Version:

Biblioteca de geração de código

17 lines (16 loc) 507 B
import { expandToStringWithNL } from "../../../../../../models/model.js"; import fs from "fs"; import path from "path"; export function generate(model, target_folder) { fs.writeFileSync(path.join(target_folder, `ValueObject.cs`), generateValueObject(model)); } function generateValueObject(model) { return expandToStringWithNL ` namespace ${model.configuration?.name}.Domain.Security.Shared.ValueObjects { public abstract class ValueObject { } }`; } //# sourceMappingURL=generate.js.map