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
| Property | Type | Description | Defined in |
|---|---|---|---|
apiBaseUrl | string | Base URL for API calls. Derived from the script tag's src attribute. | types.ts:29 |
csrfToken? | string | CSRF token embedded by the ClientController loader script. | types.ts:31 |
debug? | boolean | Enable 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? | TenantConfig | Tenant configuration embedded by the ClientController loader script. | types.ts:35 |