context.weaverse.loadPage(...) by performing
the real Weaverse API fetch in Next server components/route handlers. It is
also assignable to WeaverseNextClient so it can be passed straight to
runWeaverseComponentLoaders and the renderer/runtime.
Extends: WeaverseNextClient
Properties
Commerce services passed to component loaders.
Type:
WeaverseNextComponentWeaverseNextComponentPropsRegistered component modules.Type:
WeaverseNextLoaderDataCurrently loaded page payload (set by loadPage).Type:
WeaverseNextFetchCustomPagesOptionsWeaverseNextCustomPageEntryFetch every published custom page, primarily for sitemap generation.Type:
WeaverseNextFetchOptionsFetch JSON with Next.js cache controls and the configured timeout.Type:
WeaverseNextLoadPageInputWeaverseNextLoaderDataResolve, fetch, and run component loaders for a Weaverse page.Type:
WeaverseNextRequestContextWeaverseNextThemeSettingsOptionsWeaverseNextThemeSettingsResponseLoad theme settings. Pass cache options (revalidate / tags) only — the
request context is the one the client was created with, so there is no
per-call context override. The parameter is typed broadly purely to stay
assignable to the base WeaverseNextClient.loadThemeSettings; any
non-cache fields are ignored.Request metadata associated with this client.
Compatibility alias for
commerce.storefront.Type:
SchemaTypeWeaverseNextThemeSchemaTheme schema used by the current project.