ShopService
Read service for the shops tenant roots. Extends the generic Service base with shop-specific
queries (domain lookup, collaborator listing) on the deployed db/shops Convex functions. The
credential masking is structural — the public shop row physically carries no secret; only the
sensitiveData path joins the split-out shopCredentials table and re-taints the secrets after
they cross the HTTP boundary.
Signature
Example
import { Shop } from '@nordcom/commerce-db';
const shop = await Shop.findByDomain('acme.myshopify.com');Related
FeatureFlagService ReviewService FeatureFlagOption FeatureFlagRef ResolvedCartLineTokens ResolvedProductCardTokens ResolvedShopTheme ShopBase
ShopCollaborator
Canonical join row relating a shop to one collaborating user. Deembedded from the prior shape that nested the full UserBase document inside the array: a collabo
ShopThemeTokens
Authored, alloptional theme overrides stored on the shop record (ShopBase.theme). A DeepPartial of : a shop may set any subset of tokens at any depth, and every