Types: Article to GuidesView
The types of @poltura/theme-sdk/content, Article to GuidesView.
Ezen az oldalon
import { … } from '@poltura/theme-sdk/content';Article
The blog post a post page shows, with its body and related posts.
idrequiredstringThe post's id.
titlerequiredstringThe post's title.
excerptrequiredstring | nullA one-paragraph summary, or null.
hrefrequiredstringThe post's page.
publishedAtrequiredstring | nullWhen the post was published, as an ISO 8601 string, or null.
coverrequiredMediaImageRef | nullThe cover image, or null.
categoryrequiredArticleCategory | nullThe post's category, or null for a post right under the blog.
markdownrequiredstringThe post's body in Markdown; render it with `Markdown`.
publishedLabelrequiredstring | nullThe publication date in the page language, such as `12 March 2026`, or null.
headingsrequiredreadonly ContentHeading[]The body's headings, for an "On this page" box.
relatedrequiredreadonly ArticleSummary[]Other posts to read next.
ArticleCategory
A blog category.
idrequiredstringThe category's id.
namerequiredstringThe category's name.
descriptionrequiredstring | nullA short description, or null.
hrefrequiredstringThe category's page.
ArticlePage
One page of blog posts: the blog's landing page or a category's.
categoryrequiredArticleCategory | nullThe category the page shows, or null on the blog's landing page.
categoriesrequiredreadonly ArticleCategory[]Every category, on the landing page; empty on a category page.
articlesrequiredreadonly ArticleSummary[]The posts of this page, newest first.
pagerequirednumberThe page number, from 1.
pageCountrequirednumberHow many pages the list has.
pageHrefrequired(page: number) => stringThe address of another page of the same list.
ArticleSummary
A blog post as cards and lists show it, without its body.
idrequiredstringThe post's id.
titlerequiredstringThe post's title.
excerptrequiredstring | nullA one-paragraph summary, or null.
hrefrequiredstringThe post's page.
publishedAtrequiredstring | nullWhen the post was published, as an ISO 8601 string, or null.
coverrequiredMediaImageRef | nullThe cover image, or null.
categoryrequiredArticleCategory | nullThe post's category, or null for a post right under the blog.
ContactPageTexts
The fixed wording of the contact page, in the page language.
callToActionrequiredstringThe call to action under the heading.
followUsrequiredstringThe heading of the social profiles card.
followUsDescriptionrequiredstringThe line under that heading.
ContactPageView
Everything the contact page shows: the store's contact details, company, bank account and social links.
titlerequiredstringThe page heading in the page language.
subtitlerequiredstringThe line under the heading in the page language.
contactrequiredStoreContactHow shoppers reach the store.
companyrequiredStoreCompany | nullThe company behind the store, or null.
bankAccountrequiredBankAccount | nullThe account bank transfers go to, or null.
socialLinksrequiredreadonly SocialLink[]The store's social profiles.
textsrequiredContactPageTextsThe page's fixed wording.
ContentHeading
A heading inside a long text, listed in the "On this page" box.
idrequiredstringThe heading's anchor id, so `#id` jumps to it.
textrequiredstringThe heading text.
FaqGroup
A group of FAQ items under one heading.
idrequiredstringThe group's id.
titlerequiredstringThe group's heading.
itemsrequiredreadonly FaqItem[]Its questions, in the merchant's order.
FaqItem
One question and its answer on the FAQ page.
idrequiredstringThe item's id.
questionrequiredstringThe question.
answerrequiredstringThe answer in Markdown; render it with `Markdown`.
Guide
A how-to guide the merchant wrote, shown on its own page and on the products it belongs to.
idrequiredstringThe guide's id.
titlerequiredstringThe guide's title.
excerptrequiredstring | nullA one-paragraph summary, or null.
bodyrequiredstringThe guide's body in Markdown; render it with `Markdown`.
hrefrequiredstring | nullThe guide's own page, or null for a guide that has none.
publishedAtrequiredstring | nullWhen the guide was published, as an ISO 8601 string, or null.
attachmentsrequiredreadonly GuideAttachment[]Files and links attached to the guide.
GuideAttachment
A file or link attached to a guide, such as a manual or a driver.
idrequiredstringThe attachment's id.
kindrequiredGuideAttachmentKindWhether it is a file or a link.
titlerequiredstringThe attachment's title.
descriptionrequiredstring | nullA short description, or null.
urlrequiredstringWhere the file downloads from or the link goes.
mimeTyperequiredstring | nullThe file's MIME type, or null for a link.
sizeBytesrequirednumber | nullThe file size in bytes, or null for a link.
versionrequiredstring | nullThe version the file is for, or null.
platformrequiredstring | nullThe operating system the file is for, or null.
architecturerequiredstring | nullThe processor architecture the file is for, or null.
languagerequiredstring | nullThe language the file is in: a language code such as `hu`, `multi` for several languages, or null.
checksumrequiredstring | nullThe file's SHA-256 checksum, or null.
GuideAttachmentKind
Whether a guide attachment is a file to download or a link to follow.
type GuideAttachmentKind = 'file' | 'link'GuideCategory
A guide category of the help centre.
idrequiredstringThe category's id.
namerequiredstringThe category's name.
descriptionrequiredstring | nullA short description, or null.
hrefrequiredstringThe category's page.
GuidePage
The guide a guide page shows, with its category, headings and related guides.
idrequiredstringThe guide's id.
titlerequiredstringThe guide's title.
excerptrequiredstring | nullA one-paragraph summary, or null.
bodyrequiredstringThe guide's body in Markdown; render it with `Markdown`.
hrefrequiredstring | nullThe guide's own page, or null for a guide that has none.
publishedAtrequiredstring | nullWhen the guide was published, as an ISO 8601 string, or null.
attachmentsrequiredreadonly GuideAttachment[]Files and links attached to the guide.
categoryrequiredGuideCategory | nullThe guide's category, or null for a guide right under the help centre.
headingsrequiredreadonly ContentHeading[]The body's headings, for an "On this page" box.
relatedrequiredreadonly Guide[]Other guides to read next.
GuidesView
The guides a help centre page lists: every category on the landing page, or one category's guides.
categoryrequiredGuideCategory | nullThe category the page shows, or null on the help centre's landing page.
categoriesrequiredreadonly GuideCategory[]Every category, on the landing page; empty on a category page.
guidesrequiredreadonly Guide[]The guides the page lists.