Home > fff-flavored-frontmatter > JSONFeedItem
JSONFeedItem type
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Type validation for toJSONFeedItem
function.
Signature:
typescript
type JSONFeedItem = {
[key: `_${string}`]: Record<string, unknown> | undefined;
[key: string]: unknown;
id: string;
url?: string;
external_url?: string;
title?: FFFFlavoredFrontmatter['title'];
content_html?: string;
content_text?: string;
summary?: FFFFlavoredFrontmatter['summary'];
image?: string;
banner_image?: string;
date_published?: string;
date_modified?: string;
authors?: FFFFlavoredFrontmatter['authors'];
tags?: FFFFlavoredFrontmatter['tags'];
language?: FFFFlavoredFrontmatter['lang'];
attachments?: JSONFeedItemAttachment[];
};
References: FFFFlavoredFrontmatter, JSONFeedItemAttachment