Theme Shop Blog Posts Block
amerta / payload-types / ThemeShopBlogPostsBlock
Interface: ThemeShopBlogPostsBlock
Defined in: payload-types.ts:2033
This interface was referenced by Config's JSON-Schema
via the definition "ThemeShopBlogPostsBlock".
Properties
blockName?
optionalblockName:string|null
Defined in: payload-types.ts:2112
blockType
blockType:
"themeShopBlogPosts"
Defined in: payload-types.ts:2113
buttonPrimary?
optionalbuttonPrimary: {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:2046
appearance?
optionalappearance:"default"|"link"|"outline"|"destructive"|"ghost"|"secondary"|null
Choose how the link should be rendered.
label?
optionallabel:string|null
newTab?
optionalnewTab:boolean|null
reference?
optionalreference: {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?
optionalsize:"default"|"sm"|"lg"|"xs"|null
Choose how the link size.
type?
optionaltype:"custom"|"reference"|null
url?
optionalurl:string|null
use {locale} to insert the current locale code into the URL
category?
optionalcategory:string|Category|null
Defined in: payload-types.ts:2041
Select the category to limit posts from
description?
optionaldescription:string|null
Defined in: payload-types.ts:2106
hideOnFrontend?
optionalhideOnFrontend:boolean|null
Defined in: payload-types.ts:2037
Toggle to hide this section from the live website.
id?
optionalid:string|null
Defined in: payload-types.ts:2111
limit?
optionallimit:number|null
Defined in: payload-types.ts:2110
Number of posts to show
title
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; }; }
Defined in: payload-types.ts:2091
Use Bold for 'Dimmed' text and Italic for 'Serif' text.
Index Signature
[k: string]: unknown
root
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; }
root.children
children: {[
k:string]:unknown;type:any;version:number; }[]
Index Signature
[k: string]: unknown
root.direction
direction:
"rtl"|"ltr"|null
root.format
format:
""|"center"|"left"|"start"|"right"|"end"|"justify"
root.indent
indent:
number
root.type
type:
string
root.version
version:
number
type?
optionaltype:"featured"|"latest"|null
Defined in: payload-types.ts:2045
Choose to display featured posts or the latest posts