rune-langium / codegen/src/export / TARGET_DESCRIPTORS
Variable: TARGET_DESCRIPTORS
ts
const TARGET_DESCRIPTORS: Record<Target, TargetDescriptor>;Defined in: packages/codegen/src/types.ts:424
Registry of all generator targets. The studio reads this to render the targets table; runGenerate reads it to pick the dispatch path. Keep in sync with the Target union — TS exhaustiveness check on Record<Target, ...> enforces this at compile time.
018 Phase 0 Task 0.3. Phases 1-3 add the missing emitter implementations; this registry is the contract those phases land against.