BeechCMS / @beechcms/client / BeechServerClientConfig
Interface: BeechServerClientConfig
Server client: reads and writes with one instance, authenticated with the secret key (beech_sk_…). Never ship it to a browser.
Extends
Properties
baseUrl
baseUrl:
string
Inherited from
fetch?
optionalfetch?: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Call Signature
(
input,init?):Promise<Response>
Parameters
input
URL | RequestInfo
init?
RequestInit
Returns
Promise<Response>
Call Signature
(
input,init?):Promise<Response>
Parameters
input
string | URL | Request
init?
RequestInit
Returns
Promise<Response>
Inherited from
headers?
optionalheaders?:Record<string,string> |Headers
Inherited from
schemaFingerprint?
optionalschemaFingerprint?: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
secretKey
secretKey:
string