JsonValue
●db · /index·type
JSON-serializable value accepted as a feature flag defaultValue, targeting rule output, or
option value. All flag storage uses this union — the Convex featureFlags table validates it
structurally (the migrated form of Mongo's Mixed).
Definition
string | number | boolean | null | JsonValue[] | \{\}
Example
import type { JsonValue } from '@nordcom/commerce-db';
const defaultValue: JsonValue = false;Related
FeatureFlagService ReviewService ShopService FeatureFlagOption FeatureFlagRef ResolvedCartLineTokens ResolvedProductCardTokens ResolvedShopTheme