Interface: RecommendationItem
Defined in: types.ts:1004
One recommended article.
Field names are camelCase here and snake_case on the wire; the recommendations module is the only place that converts.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
imageUrl | string | null | - | types.ts:1010 |
pagePath | string | Root-relative path of the article, e.g. "/news/food/story-slug". | types.ts:1006 |
publishedAt | string | null | ISO 8601 publish timestamp, or null for undated articles. | types.ts:1012 |
score | number | Ranking score. Comparable within a strategy but not across them, so never sort a mixed list by it. | types.ts:1017 |
section | string | Content section, or "" when the catalog has none for this article. | types.ts:1009 |
strategy | string | Which rung of the serving ladder produced this item, e.g. "taste". | types.ts:1019 |
title | string | - | types.ts:1007 |