langium-zod / generateDomainSchemas
Function: generateDomainSchemas()
ts
function generateDomainSchemas(config): string;Defined in: api.ts:258
Programmatic entry point for the domain target. Runs the same extract pipeline as generateZodSchemas, then emits the domain surface (read interfaces + toDomain projection + field-precise write accessors). Writes to config.domainOutputPath when set.
Parameters
| Parameter | Type |
|---|---|
config | ZodGeneratorConfig |
Returns
string