Skip to main content
Request-safe client returned by the root-entry createWeaverseNextClient. Holds the registry/config plus the currently loaded page data and is passed to component loaders as weaverse.

Properties

Commerce services passed to component loaders.
WeaverseNextComponent<WeaverseNextComponentProps<unknown>>[]
required
Type: WeaverseNextComponentWeaverseNextComponentPropsRegistered component modules.
WeaverseNextLoaderData | null
required
Type: WeaverseNextLoaderDataCurrently loaded page payload (set by loadPage).
Record<string, unknown>
required
Data-connector context handed to the React renderer.
(input: WeaverseNextLoadPageInput) => Promise<WeaverseNextLoaderData | null>
required
Type: WeaverseNextLoadPageInputWeaverseNextLoaderDataLoad a page and return its serialized renderer payload.
(context: WeaverseNextRequestContext) => Promise<unknown>
required
Type: WeaverseNextRequestContextLoad the project’s theme settings.
string
required
Active Weaverse project identifier.
Request metadata associated with this client.
Compatibility alias for commerce.storefront.
SchemaType | WeaverseNextThemeSchema
Type: SchemaTypeWeaverseNextThemeSchemaTheme schema used by the current project.
Record<string, unknown>
required
Theme settings with schema defaults applied.