Identifiable
●db · /index·type
Marks an entity as having a URL-safe handle slug. Types that satisfy this contract can be
passed to slug-based lookup and routing utilities.
Properties
PROPTYPEDESCRIPTION
handle
string
Example
import type { Identifiable } from '@nordcom/commerce-db';
function slugPath(entity: Identifiable): string {
return `/${entity.handle}/`;
}Related
FeatureFlagService ReviewService ShopService FeatureFlagOption FeatureFlagRef ResolvedCartLineTokens ResolvedProductCardTokens ResolvedShopTheme
FontFamilyKey
Union of valid keys. A resolved theme's typography.fontFamily / headingFamily is always one of these after narrows unrecognized values, so the storefront loader
IdentityBase
Document shape for an OAuth provider link attached to a user. Stores the provider name, the providerscoped identity ID, optional token fields, and the token exp