Skip to content

RemoteSourceOptions

RemoteSourceOptions = object

Defined in: sources.ts:83

Options for remoteSource.

optional fetch?: typeof fetch

Defined in: sources.ts:91

Custom fetch. Defaults to globalThis.fetch.


optional headers?: Record<string, string>

Defined in: sources.ts:87

Headers merged into the request.


optional timeoutMs?: number

Defined in: sources.ts:89

Timeout in ms. Defaults to 5000.


url: string

Defined in: sources.ts:85

URL returning a JSON object of string values.