Skip to content

langium-zod / DomainGenerationOptions

Interface: DomainGenerationOptions ​

Defined in: emitters/domain.ts:44

Properties ​

PropertyTypeDescriptionDefined in
normalizations?Record<string, NormalizationConfig>Additive read-only normalizations: each entry appends a canonical alias field to every kind that maps to a source field via from, reusing the source field's projected tsType and readExpr. No setter is emitted for alias fields.emitters/domain.ts:55
overlays?DomainOverlayConfig-emitters/domain.ts:49
projection?ProjectionConfigReuses the Zod projection for defaults.strip + per-type fields.emitters/domain.ts:46
stripInternals?booleanDrop $-internal metadata fields ($container, $cstNode, …).emitters/domain.ts:48

Released under the MIT License.