Developers
Start building
Themes/Theme SDK/Modules/content/Types: Article to GuidesView

Types: Article to GuidesView

The types of @poltura/theme-sdk/content, Article to GuidesView.

On this page
import { … } from '@poltura/theme-sdk/content';

Article

The blog post a post page shows, with its body and related posts.

idrequiredstring

The post's id.

titlerequiredstring

The post's title.

excerptrequiredstring | null

A one-paragraph summary, or null.

hrefrequiredstring

The post's page.

publishedAtrequiredstring | null

When the post was published, as an ISO 8601 string, or null.

coverrequiredMediaImageRef | null

The cover image, or null.

categoryrequiredArticleCategory | null

The post's category, or null for a post right under the blog.

markdownrequiredstring

The post's body in Markdown; render it with `Markdown`.

publishedLabelrequiredstring | null

The 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.

idrequiredstring

The category's id.

namerequiredstring

The category's name.

descriptionrequiredstring | null

A short description, or null.

hrefrequiredstring

The category's page.

ArticlePage

One page of blog posts: the blog's landing page or a category's.

categoryrequiredArticleCategory | null

The 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.

pagerequirednumber

The page number, from 1.

pageCountrequirednumber

How many pages the list has.

pageHrefrequired(page: number) => string

The address of another page of the same list.

ArticleSummary

A blog post as cards and lists show it, without its body.

idrequiredstring

The post's id.

titlerequiredstring

The post's title.

excerptrequiredstring | null

A one-paragraph summary, or null.

hrefrequiredstring

The post's page.

publishedAtrequiredstring | null

When the post was published, as an ISO 8601 string, or null.

coverrequiredMediaImageRef | null

The cover image, or null.

categoryrequiredArticleCategory | null

The post's category, or null for a post right under the blog.

ContactPageTexts

The fixed wording of the contact page, in the page language.

callToActionrequiredstring

The call to action under the heading.

followUsrequiredstring

The heading of the social profiles card.

followUsDescriptionrequiredstring

The line under that heading.

ContactPageView

Everything the contact page shows: the store's contact details, company, bank account and social links.

titlerequiredstring

The page heading in the page language.

subtitlerequiredstring

The line under the heading in the page language.

contactrequiredStoreContact

How shoppers reach the store.

companyrequiredStoreCompany | null

The company behind the store, or null.

bankAccountrequiredBankAccount | null

The account bank transfers go to, or null.

socialLinksrequiredreadonly SocialLink[]

The store's social profiles.

textsrequiredContactPageTexts

The page's fixed wording.

ContentHeading

A heading inside a long text, listed in the "On this page" box.

idrequiredstring

The heading's anchor id, so `#id` jumps to it.

textrequiredstring

The heading text.

FaqGroup

A group of FAQ items under one heading.

idrequiredstring

The group's id.

titlerequiredstring

The group's heading.

itemsrequiredreadonly FaqItem[]

Its questions, in the merchant's order.

FaqItem

One question and its answer on the FAQ page.

idrequiredstring

The item's id.

questionrequiredstring

The question.

answerrequiredstring

The 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.

idrequiredstring

The guide's id.

titlerequiredstring

The guide's title.

excerptrequiredstring | null

A one-paragraph summary, or null.

bodyrequiredstring

The guide's body in Markdown; render it with `Markdown`.

hrefrequiredstring | null

The guide's own page, or null for a guide that has none.

publishedAtrequiredstring | null

When 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.

idrequiredstring

The attachment's id.

kindrequiredGuideAttachmentKind

Whether it is a file or a link.

titlerequiredstring

The attachment's title.

descriptionrequiredstring | null

A short description, or null.

urlrequiredstring

Where the file downloads from or the link goes.

mimeTyperequiredstring | null

The file's MIME type, or null for a link.

sizeBytesrequirednumber | null

The file size in bytes, or null for a link.

versionrequiredstring | null

The version the file is for, or null.

platformrequiredstring | null

The operating system the file is for, or null.

architecturerequiredstring | null

The processor architecture the file is for, or null.

languagerequiredstring | null

The language the file is in: a language code such as `hu`, `multi` for several languages, or null.

checksumrequiredstring | null

The 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.

idrequiredstring

The category's id.

namerequiredstring

The category's name.

descriptionrequiredstring | null

A short description, or null.

hrefrequiredstring

The category's page.

GuidePage

The guide a guide page shows, with its category, headings and related guides.

idrequiredstring

The guide's id.

titlerequiredstring

The guide's title.

excerptrequiredstring | null

A one-paragraph summary, or null.

bodyrequiredstring

The guide's body in Markdown; render it with `Markdown`.

hrefrequiredstring | null

The guide's own page, or null for a guide that has none.

publishedAtrequiredstring | null

When the guide was published, as an ISO 8601 string, or null.

attachmentsrequiredreadonly GuideAttachment[]

Files and links attached to the guide.

categoryrequiredGuideCategory | null

The 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 | null

The 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.

Last updated