Types: LinkValue to PlatformSectionSettings
The types of @poltura/theme-sdk/elements, LinkValue to PlatformSectionSettings.
On this page
import { … } from '@poltura/theme-sdk/elements';LinkValue
The stored value of a link field: a bare URL or path, or the link with its options.
hrefrequiredstringWhere the link goes; empty for no link.
new_tabbooleanWhether the link opens in a new tab.
relreadonly ('nofollow' | 'sponsored' | 'ugc')[]Extra `rel` tokens the merchant chose.
labelstringThe link text, in the page language.
PlatformBlockSettings
The settings of a platform block type, as the merchant set them.
type PlatformBlockSettings<T extends PlatformBlockType> = PlatformBlockSettingsMap[T]PlatformBlockType
A block type the platform ships.
type PlatformBlockType = 'accordion' | 'accordion-item' | 'account' | 'account-header' | 'account-identity' | 'account-nav' | 'account-orders' | 'add-to-cart' | 'applied-filters' | 'auth-fields' | 'breadcrumb' | 'button' | 'button' | 'buy-buttons' | 'buy-now' | 'carousel' | 'cart' | 'cart-addons' | 'cart-checkout' | 'cart-continue' | 'cart-empty' | 'cart-heading' | 'cart-items' | 'cart-promo' | 'cart-recommendations' | 'cart-summary' | 'checkout-address' | 'checkout-brand' | 'checkout-breadcrumbs' | 'checkout-delivery-promise' | 'checkout-express' | 'checkout-faq' | 'checkout-faq-item' | 'checkout-gift' | 'checkout-gift-message' | 'checkout-note' | 'checkout-offers' | 'checkout-order-field' | 'checkout-order-fields' | 'checkout-payment' | 'checkout-shipping' | 'checkout-summary' | 'checkout-trust-badge' | 'collection' | 'collection-description' | 'collection-image' | 'collection-list' | 'collection-title' | 'column' | 'columns' | 'consent-accept-all' | 'consent-categories' | 'consent-description' | 'consent-links' | 'consent-preferences-intro' | 'consent-reject' | 'consent-settings' | 'consent-title' | 'contact-company-info' | 'contact-form' | 'contact-hero' | 'contact-social' | 'cookie-table' | 'copyright' | 'countdown' | 'countdown' | 'currency' | 'delivery-info' | 'divider' | 'email-signup' | 'faq-item' | 'filter-attribute' | 'filter-attribute' | 'filter-attributes' | 'filter-attributes' | 'filter-availability' | 'filter-availability' | 'filter-category' | 'filter-category' | 'filter-collection' | 'filter-collection' | 'filter-option' | 'filter-option' | 'filter-options' | 'filter-options' | 'filter-price' | 'filter-price' | 'filter-tags' | 'filter-tags' | 'filter-type' | 'filter-type' | 'filters' | 'grid' | 'heading' | 'heading' | 'icon' | 'image' | 'inventory' | 'language' | 'language-flag' | 'language-label' | 'language-message' | 'language-stay' | 'language-switch' | 'language-title' | 'link-card' | 'link-list' | 'list' | 'list-item' | 'logo' | 'mega-panel' | 'menu' | 'menu-button' | 'mini-cart-checkout' | 'mini-cart-express' | 'mini-cart-lines' | 'mini-cart-subtotal' | 'mini-cart-view' | 'newsletter' | 'newsletter-consent' | 'newsletter-email' | 'newsletter-submit' | 'order-offer' | 'pagination' | 'partner-logo' | 'password-form' | 'payment-icons' | 'price' | 'product' | 'product-addons' | 'product-card' | 'product-description' | 'product-details' | 'product-gallery' | 'product-grid' | 'product-guides' | 'product-highlights' | 'product-rating' | 'product-recommendations' | 'product-reviews' | 'product-reviews' | 'product-safety' | 'product-sku' | 'product-specs' | 'product-tabs' | 'product-title' | 'product-vendor' | 'product-warranty' | 'product-wishlist' | 'quantity' | 'quote' | 'result-count' | 'rich-text' | 'search' | 'search-categories' | 'search-collections' | 'search-empty' | 'search-pages' | 'search-popular' | 'search-products' | 'search-recent' | 'search-view-all' | 'social' | 'social-links' | 'sort' | 'spacer' | 'stack' | 'stat' | 'step' | 'store-branding' | 'tab' | 'tabs' | 'text' | 'text' | 'theme-toggle' | 'variant-picker' | 'video' | 'wallets' | 'wishlist'PlatformSectionSettings
The settings of a platform section type, as the merchant set them.
type PlatformSectionSettings<T extends PlatformSectionType> = PlatformSectionSettingsMap[T]