Skip to main content

Interface: GeneratorArtifact

Defined in: packages/core/src/types.ts:166

Properties​

entities​

entities: Record<string, EntitySymbols>;

Defined in: packages/core/src/types.ts:168

Key === ${namespace}.${entity}.


exportFromRoot?​

optional exportFromRoot?: boolean;

Defined in: packages/core/src/types.ts:181

Whether the synthesized root barrel (<namespace>/index.ts) re-exports this generator's sub-tree. Default true. A generator whose output pulls in a heavy or environment-specific runtime (a UI framework) sets it to false, so importing the namespace root from a plain Node process stays free of that runtime; the sub-tree remains reachable from <namespace>/<generatorName>.


extra?​

optional extra?: unknown;

Defined in: packages/core/src/types.ts:183

Generator-defined; the consumer casts to the producer's published type.


peerDependencies?​

optional peerDependencies?: Record<string, string>;

Defined in: packages/core/src/types.ts:173

Package -> semver range the emitted code imports. Mode B: core aggregates per namespace (output-modes).