Skip to content
HomePagesHomePages template kit

SLOT_TYPE_DESCRIPTORS

The per-slot-type anchor: one entry per slot type declaring that type's type-specific Zod field shape and its fresh default runtime value.

The per-slot-type anchor: one entry per slot type declaring that type’s type-specific Zod field shape and its fresh default runtime value. SlotDef and defaultForSlotType are both derived from this table.

Import from @homepages/template-kit.

const SLOT_TYPE_DESCRIPTORS: Record<SlotType, SlotTypeDescriptor>