Skip to main content

Variable: WIDGET_SLUGS

const WIDGET_SLUGS: readonly ["chat", "operator", "operator-tools", "chat-app"]

Defined in: packages/sdk/src/types/widget-domain-types.ts:27

Canonical embeddable-widget slugs. Mirrors the backend WidgetSlug enum (lib/models/glb/workspace_widget_domain_models.py); kept as a client-side const so UI can render one toggle per slug without a round-trip. Keep in sync with the backend registry — it is the source of truth the config API and the origin gate both validate against.