DocumentationTypesInterfaces

Theme Shop Collection Archive Block

amerta


amerta / payload-types / ThemeShopCollectionArchiveBlock

Interface: ThemeShopCollectionArchiveBlock

Defined in: payload-types.ts:1876

This interface was referenced by Config's JSON-Schema via the definition "ThemeShopCollectionArchiveBlock".

Properties

blockName?

optional blockName: string | null

Defined in: payload-types.ts:1951


blockType

blockType: "themeShopCollectionArchive"

Defined in: payload-types.ts:1952


buttonPrimary?

optional buttonPrimary: { appearance?: "default" | "link" | "outline" | "destructive" | "ghost" | "secondary" | null; label?: string | null; newTab?: boolean | null; reference?: { relationTo: "pages"; value: string | Page; } | { relationTo: "posts"; value: string | Post; } | { relationTo: "categories"; value: string | Category; } | { relationTo: "products"; value: string | Product; } | { relationTo: "collections"; value: string | Collection; } | { relationTo: "product-brands"; value: string | ProductBrand; } | null; size?: "default" | "sm" | "lg" | "xs" | null; type?: "custom" | "reference" | null; url?: string | null; }

Defined in: payload-types.ts:1885

appearance?

optional appearance: "default" | "link" | "outline" | "destructive" | "ghost" | "secondary" | null

Choose how the link should be rendered.

label?

optional label: string | null

newTab?

optional newTab: boolean | null

reference?

optional reference: { relationTo: "pages"; value: string | Page; } | { relationTo: "posts"; value: string | Post; } | { relationTo: "categories"; value: string | Category; } | { relationTo: "products"; value: string | Product; } | { relationTo: "collections"; value: string | Collection; } | { relationTo: "product-brands"; value: string | ProductBrand; } | null

size?

optional size: "default" | "sm" | "lg" | "xs" | null

Choose how the link size.

type?

optional type: "custom" | "reference" | null

url?

optional url: string | null

use {locale} to insert the current locale code into the URL


collectionObj?

optional collectionObj: string | Collection | null

Defined in: payload-types.ts:1884

Select the collection to display products from


description?

optional description: string | null

Defined in: payload-types.ts:1945


hideOnFrontend?

optional hideOnFrontend: boolean | null

Defined in: payload-types.ts:1880

Toggle to hide this section from the live website.


id?

optional id: string | null

Defined in: payload-types.ts:1950


limit?

optional limit: number | null

Defined in: payload-types.ts:1949

Number of products to show


title?

optional title: {[k: string]: unknown; root: { children: {[k: string]: unknown; type: any; version: number; }[]; direction: "rtl" | "ltr" | null; format: "" | "center" | "left" | "start" | "right" | "end" | "justify"; indent: number; type: string; version: number; }; } | null

Defined in: payload-types.ts:1930

Use Bold for 'Dimmed' text and Italic for 'Serif' text.