@wocart/storefront / astro / resolvePreviewStore
Function: resolvePreviewStore()
resolvePreviewStore(
draft,options):Promise<ResolvedStore>
The store an editor's draft previews: its theme settings and text edits
over the saved ones, conversion tracking off, in the language the draft
asks for when the store serves it — else the primary. pathname is the
route the draft previews (draft.path), else the home page.
Parameters
draft
options
Omit<StoreRequestOptions, "embedded">
Returns
Promise<ResolvedStore>