FeatureFlagOption
●db · /index·interface
One selectable option in a feature flag's options list. Pairs a human-readable label with a
JSON-safe value to support enum-style flags in the admin UI.
Properties
PROPTYPEDESCRIPTION
label
string
value
Example
import type { FeatureFlagOption } from '@nordcom/commerce-db';
const opt: FeatureFlagOption = { label: 'Blue', value: 'blue' };Related
FeatureFlagService ReviewService ShopService FeatureFlagRef ResolvedCartLineTokens ResolvedProductCardTokens ResolvedShopTheme ShopBase
FeatureFlagKind
Discriminator for a feature flag's intent. behavior flags toggle application logic; section flags gate whether a pershop page section renders. Absent (undefined
FeatureFlagRef
Embedded reference in a shop's featureFlags array. The Convexbacked seam always resolves the shopFeatureFlags join, so flag arrives as the full FeatureFlagBase