PitchKit
API Reference@pitchkit/data-providersmetricaInterfaces

MetricaLoadOptions

Defined in: packages/data-providers/src/metrica/load.ts:35

Extends

Extended by

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
baseUrl?readonlystringOverride for a mirror or a local copy of the repository's data dir.-packages/data-providers/src/metrica/load.ts:37
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.fetchpackages/data-providers/src/fetch-json.ts:10
signal?readonlyAbortSignalForwarded to the underlying request, so callers can cancel a slow load.LoadOptions.signalpackages/data-providers/src/fetch-json.ts:12

On this page