ShopService

db · /index·class

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');

FeatureFlagService ReviewService FeatureFlagOption FeatureFlagRef ResolvedCartLineTokens ResolvedProductCardTokens ResolvedShopTheme ShopBase

Metadata@nordcom/commerce-db@0.1.0Open in GitHub ↗

On this page