Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/fff/src/utils.ts>JSONFeedItem

๐ŸŒŸ The Flexible & Functional Frontmatter Solution.
Latest
type alias JSONFeedItem
import { type JSONFeedItem } from "https://deno.land/x/fff@v1.2.1/src/utils.ts";

Type validation for toJSONFeedItem function.

definition: { [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[]; }