Skip to content

DeltaBaseConfig

API reference for DeltaBaseConfig

@delta-base/server


Configuration options for the DeltaBase client.

optional apiKey: string

API key for authentication with the Delta-Base platform. Required for all API operations. You can obtain this from your Delta-Base dashboard.


optional baseUrl: string

Base URL of the Delta-Base API. For production use the default URL. For local development, specify your local server address.

'http://localhost:8787'

optional fetch: {(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

Custom fetch function to use for HTTP requests. Useful for service bindings in Cloudflare Workers. When provided, this will be used instead of the global fetch.

(input, init?): Promise<Response>

MDN Reference

URL | RequestInfo

RequestInit

Promise<Response>

(input, init?): Promise<Response>

MDN Reference

string | URL | Request

RequestInit

Promise<Response>


optional headers: Record<string, string>

Custom headers to include with all requests. Useful for internal service authentication or other custom headers.