Skip to main content

Interface: ActivityOneViewResponse

Defined in: packages/sdk/src/types/generated/activity_feed.ts:568

The one view: one stream of occurrences, some carrying open state.

Bounded, not paged — the priority lane's contract, inherited for the same reason: under priority the order is recomputed on every read, so a keyset over it is unsound, and a cursor whose meaning changed with the sort control is the exact class of control this surface keeps getting wrong.

totalOpen is the live count of open items matching the request's responsibility and kind filters — the number the retired attention tab used to carry. olderOpenCount counts those whose last activity lies before the window: the persistent line's "3 older items still need attention", which is what keeps an item opened three weeks ago from hiding because the reader is looking at the last two days. Both are bounded by the same candidate scan as the lane, and the stream itself by the state page and plain-half scan bounds, so truncated means totalOpen (and with it olderOpenCount) — or the stream — is a floor rather than a total.

Properties

envelope

envelope: ActivityResponseEnvelope

Defined in: packages/sdk/src/types/generated/activity_feed.ts:577


items

items: ActivityOccurrenceLine[]

Defined in: packages/sdk/src/types/generated/activity_feed.ts:569


olderOpenCount

olderOpenCount: number

Defined in: packages/sdk/src/types/generated/activity_feed.ts:573

Minimum

0


pageSize

pageSize: number

Defined in: packages/sdk/src/types/generated/activity_feed.ts:576


totalMatched?

optional totalMatched: number | null

Defined in: packages/sdk/src/types/generated/activity_feed.ts:574


totalOpen

totalOpen: number

Defined in: packages/sdk/src/types/generated/activity_feed.ts:571

Minimum

0


truncated?

optional truncated: boolean

Defined in: packages/sdk/src/types/generated/activity_feed.ts:575