Skip to content

LivePreviewServerUrl

Defined in: packages/core/src/livePreview/types.ts:87

The { server } wrapper marking a resolver as server-executed.

An object, not a bare async function: at runtime a function returning a promise is still just a function, indistinguishable from the sync client resolver, and misrouting it would mean calling ctx.db in the browser.

TDoc extends Partial<VexDocument> = Partial<VexDocument>

server: (props) => string | Promise<string | undefined> | undefined

Defined in: packages/core/src/livePreview/types.ts:88

VexQueryCtx

TDoc

VexCallbackApi

Read-only VexCMS API — flat globals, populated relationships, access-aware reads. ctx above remains for a direct ctx.db probe.

string | Promise<string | undefined> | undefined