DeltaBaseConfig
API reference for DeltaBaseConfig
Interface: DeltaBaseConfig
Section titled “Interface: DeltaBaseConfig”Configuration options for the DeltaBase client.
Properties
Section titled “Properties”apiKey?
Section titled “apiKey?”
optionalapiKey:string
API key for authentication with the Delta-Base platform. Required for all API operations. You can obtain this from your Delta-Base dashboard.
baseUrl?
Section titled “baseUrl?”
optionalbaseUrl:string
Base URL of the Delta-Base API. For production use the default URL. For local development, specify your local server address.
Default
Section titled “Default”'http://localhost:8787'fetch()?
Section titled “fetch()?”
optionalfetch: {(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.
Call Signature
Section titled “Call Signature”(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”URL | RequestInfo
RequestInit
Returns
Section titled “Returns”Promise<Response>
Call Signature
Section titled “Call Signature”(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
headers?
Section titled “headers?”
optionalheaders:Record<string,string>
Custom headers to include with all requests. Useful for internal service authentication or other custom headers.