Skip to content

FeedPage

A page of a feed, plus the promoted sidecar.

promoted is present ONLY on the first page (a request with no next) — absent, not empty, on every page after it, so you can tell “we didn’t ask” from “nothing eligible”. It is never inside results and never affects next: the cursor is a position in the real feed.

Treat it as the eligible SET rather than a slot assignment — cache it and place those rows as often as you like while paging. @dropinnodex/react does this for you via promotedPosition / promotedRepeatEvery.

Type Parameter Default type
TCustom Record<string, unknown>
next: string | null;

Page.next


optional objects?: Record<string, DropInObject<TCustom>>;

Refs on this page, resolved, keyed by type:id. Absent when no activity on the page carries a ref; a ref with no stored object is simply missing from the map, so always fall back to the activity’s own custom.


optional promoted?: PromotedActivity<TCustom>[];

results: Activity<TCustom>[];

Page.results