Skip to content

feeds-native.ts#

View Markdown

Source

3 documented symbols. Read the signatures first, then expand each item for parameters, return types, and examples.

3 symbols 1 functions 1 interfaces 1 modules 1 parameters 4 members 1 returns

Reference#

interfaceFeedChannelExtrasChannel fields the formats emit when the standard has a matching slot.

Channel fields the formats emit when the standard has a matching slot.

Signature

export interface FeedChannelExtras

View source

Members

Properties
NameTypeDescription
faviconoptional string
imageoptional string
languageoptional string
modulefeeds-nativeBridges the resolved feed inputs onto generateFeedBodies. The TypeScript renderer this replaces was a second implementa…

Bridges the resolved feed inputs onto generateFeedBodies.

The TypeScript renderer this replaces was a second implementation of ox_content_ssg::generate_feeds, kept in step only by a parity test. The two had already drifted once (#1074, six item fields missing on the Rust side) and the sibling date parser drifted far enough to be wrong on live input (#1068). One implementation cannot drift.

View source

fnnativeItem(item: FeedEntry): Record<string, unknown>FeedEntry carries the date already parsed into UTC components; the native side…

FeedEntry carries the date already parsed into UTC components; the native side takes the string. Every component survives the round trip, so this is the same instant the TypeScript renderer would have formatted.

Signature

function nativeItem(item: FeedEntry): Record<string, unknown>

View source

Parameters

  • item FeedEntry

Returns

Record<string, unknown>