Skip to main content

Interface: AllegroConfig

Defined in: types.ts:33

Configuration passed to createAllegroSDK.

You typically don't construct this yourself — it is embedded in the loader script generated by the platform and injected into the page automatically.

Properties

PropertyTypeDescriptionDefined in
apiBaseUrlstringBase URL for API calls. Derived from the script tag's src attribute.types.ts:35
csrfToken?stringCSRF token embedded by the ClientController loader script.types.ts:37
debug?booleanEnable debug mode for verbose SDK logging and allegro:* event tracing.types.ts:43
pageData?Record<string, PageDataSource>Configurable page data source mappings. Merged over defaults.types.ts:39
tenant?TenantConfigTenant configuration embedded by the ClientController loader script.types.ts:41