Interface: AllegroConfig
Defined in: types.ts:43
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:45 |
csrfToken? | string | CSRF token embedded by the ClientController loader script. | types.ts:47 |
debug? | boolean | Enable debug mode for verbose SDK logging and allegro:* event tracing. | types.ts:53 |
pageData? | Record<string, PageDataSource> | Configurable page data source mappings. Merged over defaults. | types.ts:49 |
tenant? | TenantConfig | Tenant configuration embedded by the ClientController loader script. | types.ts:51 |