TargetingRule
●db · /index·interface
One rule in a feature flag's targeting configuration. rule names the evaluator registered in
the platform, params supplies its inputs, and value is the override returned when the rule
matches the requesting context.
Properties
Example
import type { TargetingRule } from '@nordcom/commerce-db';
const rule: TargetingRule = { rule: 'shopDomain', params: { domain: 'acme.com' }, value: true };Related
FeatureFlagService ReviewService ShopService FeatureFlagOption FeatureFlagRef ResolvedCartLineTokens ResolvedProductCardTokens ResolvedShopTheme
StripeCommerceProvider
Auth configuration shape for the Stripe commerce integration. Currently a placeholder — the authentication object will gain Stripespecific fields as that integr
ThemeBranding
Resolved primary/secondary brand accents fed to . null means the shop has no branding, in which case the accent fanout and the chrome literals are skipped (page