Skip to content

BeechCMS


BeechCMS / @beechcms/client / BeechBrowserClientConfig

Interface: BeechBrowserClientConfig ​

Browser client: read-only, authenticated with the publishable key (beech_pk_…).

Extends ​

Properties ​

baseUrl ​

baseUrl: string

Inherited from ​

BeechClientBaseConfig.baseUrl


fetch? ​

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

Call Signature ​

(input, init?): Promise<Response>

MDN Reference

Parameters ​
input ​

URL | RequestInfo

init? ​

RequestInit

Returns ​

Promise<Response>

Call Signature ​

(input, init?): Promise<Response>

MDN Reference

Parameters ​
input ​

string | URL | Request

init? ​

RequestInit

Returns ​

Promise<Response>

Inherited from ​

BeechClientBaseConfig.fetch


headers? ​

optional headers?: Record<string, string> | Headers

Inherited from ​

BeechClientBaseConfig.headers


publishableKey ​

publishableKey: string


schemaFingerprint? ​

optional schemaFingerprint?: string

SCHEMA_FINGERPRINT exported by beech types generate. When set, a response whose X-Schema-Revision differs returns a 409 schema_drift problem instead of data typed against a stale schema.

Inherited from ​

BeechClientBaseConfig.schemaFingerprint