langium-zod / ZodSchemaGeneratorServices
Type Alias: ZodSchemaGeneratorServices
ts
type ZodSchemaGeneratorServices = {
shared: {
ZodSchemaGenerator: ZodSchemaGenerator;
};
};Defined in: di.ts:131
Langium DI service container shape for the langium-zod extension.
Declares the shared.ZodSchemaGenerator slot so that TypeScript can type-check service access and module contributions without requiring a full Langium service registry at compile time.
Remarks
Pass this type as a generic parameter to Langium's inject() or module utilities if you need to type-check that your service container exposes ZodSchemaGenerator as a shared service.
See
Properties
| Property | Type | Defined in |
|---|---|---|
shared | { ZodSchemaGenerator: ZodSchemaGenerator; } | di.ts:132 |
shared.ZodSchemaGenerator | ZodSchemaGenerator | di.ts:133 |