Skip to main content

Interface: ActivityOpenItemsResponse

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

The priority lane. Deliberately not paged, and it says so.

An earlier shape carried hasMore and nextCursor, and always set the cursor to null — advertising pages it could not deliver. The reason it could not is real: priority is recomputed on every read (kind weight, age, responsibility, all against the moment of the read), so a keyset over that ordering is unsound — the row a cursor pointed at can be in a different position by the next request, and offsets over a live queue skip and repeat.

So the promise is removed rather than faked. A work queue's honest answer is how many are open and how many you are seeing — "showing 50 of 143" — which is what a queue UI actually renders, and which asks the client to narrow rather than to walk.

truncated says the candidate scan hit its bound, so totalOpen is a floor rather than a total. That is a different fact from "there are more than a page", and conflating the two is how a badge starts under-reporting silently.

Properties

envelope

envelope: ActivityResponseEnvelope

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


items

items: ActivityOpenItemLine[]

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


pageSize

pageSize: number

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


totalOpen

totalOpen: number

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

Minimum

0


truncated?

optional truncated: boolean

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