CfEnvelope
Defined in: utils.ts:31
The { success, errors, result } envelope Cloudflare wraps every JSON response in.
Type Parameters
Section titled “Type Parameters”T
Properties
Section titled “Properties”errors
Section titled “errors”errors:
unknown[]
Defined in: utils.ts:35
The errors Cloudflare reports, empty on success.
result
Section titled “result”result:
T
Defined in: utils.ts:37
The payload of the call.
success
Section titled “success”success:
boolean
Defined in: utils.ts:33
Whether Cloudflare reports the call as successful.