Type Alias: ComponentsFor<TCatalog>
Documentation / @xmachines/play-catalog / ComponentsFor
type ComponentsFor<TCatalog> = { [K in keyof TCatalog]: unknown };Defined in: define-components.ts:10
Component map type enforcing catalog keys
Mapped type ensures components object has exactly catalog keys - no missing, no extra. This provides compile-time validation that framework components match the catalog schema.
Type Parameters
| Type Parameter |
|---|
TCatalog extends Record<string, z.ZodType> |