Skip to main content

Interface: AllegroConfig

Defined in: types.ts:27

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:29
csrfToken?stringCSRF token embedded by the ClientController loader script.types.ts:31
debug?booleanEnable debug mode for verbose SDK logging and allegro:* event tracing.types.ts:37
pageData?Record<string, PageDataSource>Configurable page data source mappings. Merged over defaults.types.ts:33
tenant?TenantConfigTenant configuration embedded by the ClientController loader script.types.ts:35