Wocart

@wocart/storefront v3.1.0


@wocart/storefront / server / PreviewRequestOptions

Interface: PreviewRequestOptions

Properties

maxBytes?

optional maxBytes?: number

The largest body accepted, in bytes; 1 MB by default.


now?

optional now?: number

Seconds since the epoch; defaults to now.


publicKey?

optional publicKey?: string | JsonWebKey

The deployment's preview public key (a JWK); absent: preview is off and every request answers 404.


theme

theme: string

This theme's key.