BeechCMS / @beechcms/client / BeechClientBaseConfig
Interface: BeechClientBaseConfig
Options shared by the browser and the server client.
Extended by
Properties
baseUrl
baseUrl:
string
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>
headers?
optionalheaders?:Record<string,string> |Headers
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.