StoresynkConfig
StoresynkConfig =
BaseStoresynkConfig
Defined in: @storesynk/react/dist/config.d.ts:21
Store configuration - same arrangement as @storesynk/next: the two
credentials come from environment variables (the ecosystem-standard
SHOPIFY_STORE_DOMAIN + SHOPIFY_STOREFRONT_ACCESS_TOKEN, or the explicit
STORESYNK_STORE_DOMAIN/STORESYNK_PUBLIC_TOKEN overrides) and EVERYTHING
ELSE (locale, customer accounts, pixels, cart) is set programmatically via
configureStoresynk({...}) in a root storesynk.config.ts, imported for
its side effect at the top of the app’s root module.
Env access is guarded for non-Node runtimes (Cloudflare Workers without
nodejs_compat has no process) - there, pass domain/token to
configureStoresynk explicitly.
This is the one shared StoresynkConfig (see @storesynk/core) - the same
shape the Astro integration, the Next bindings, and the no-build
data-storesynk-config JSON block use. The app metafield namespace is NOT
here: it’s hard-coded for now (see APP_NAMESPACE below), injected by
getConfig, not user-configurable.