StatsBombLoadOptions
Defined in: packages/data-providers/src/statsbomb/load.ts:40
Extends
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
baseUrl? | readonly | string | Root to build open-data URLs against. Point it at a mirror, a proxy, or a pinned commit instead of master. | - | packages/data-providers/src/statsbomb/load.ts:45 |
fetch? | readonly | { (input, init?): Promise<Response>; (input, init?): Promise<Response>; } | Fetch implementation to use instead of the global one. Injecting is how this package's own tests avoid touching the network, and it's the hook for a Next.js caching wrapper or a Node agent with a proxy configured. | LoadOptions.fetch | packages/data-providers/src/fetch-json.ts:10 |
signal? | readonly | AbortSignal | Forwarded to the underlying request, so callers can cancel a slow load. | LoadOptions.signal | packages/data-providers/src/fetch-json.ts:12 |