Skip to content

registerBuiltinSlotTypes

registerBuiltinSlotTypes(registry): void

Register all built-in slot types on the given registry.

Built-in types cover the core surface types:

  • banner → BannerSlot (full-width top/bottom)
  • modal → ModalSlot (overlay dialog, optional/blocking)
  • in_page → InPageSlot (card/embed in page flow)
  • toast → ToastSlot (ephemeral notification)
  • button → ButtonSlot (nav bar / CTA button)
  • full_page → FullPageSlot (dedicated managed page)
  • email/sms/push → channel previews (static out-of-band mocks)

Additional specialized types registered as in_page variants:

  • quota_meter → QuotaMeterSlot (usage meter + upgrade CTA)

PlacementTypeRegistry

void