Nullable
●db · /index·type
Adds null to a type to represent an explicitly absent value, distinct from undefined which
TypeScript uses for optional properties. Use when a field can be cleared to a known empty state.
Definition
type Nullable = T | null;T | null
Example
import type { Nullable } from '@nordcom/commerce-db';
const avatar: Nullable<string> = user.avatar ?? null;Related
FeatureFlagService ReviewService ShopService FeatureFlagOption FeatureFlagRef ResolvedCartLineTokens ResolvedProductCardTokens ResolvedShopTheme
LimitFilters
Union of pagination shapes accepted by service query methods. Callers may pass either a plain limit cap or a forward/backward cursor pair (first/last) — both ar
OnlineShop
Clientsafe shop shape returned by all ShopService read methods; safe to pass to Client Components or server actions. Historically this stripped the hydrated Mon