Interface: ActivityOneViewRequest
Defined in: packages/sdk/src/types/generated/activity_feed.ts:534
The one view's request: one stream of occurrences, some carrying open state.
docs/projects/active/activity-spine.md § "Rendering", as amended by
GRA-8354: the two lanes were two questions about the same occurrences, split
because they are two tables. The one view reads both tables in one response
— the event log for what happened, the open-items projection for what is
still owed — and open state becomes a property of an occurrence rather
than a partition of the surface.
The window is on the event axis, and stays there. For events it means
"what happened in this period"; for open items it means nothing — an item
opened three weeks ago still needs attention today. So the window filters
the occurrences, and open items whose own activity lies before it are never
silently hidden: the response counts them in olderOpenCount for the
persistent line the surface renders ("3 older items still need attention").
No cursor, deliberately — the same contract as the priority lane.
Priority is recomputed on every read, so a keyset over that ordering is
unsound, and the sort control must not silently change what paging means.
The response carries totalOpen and the way to see more is to narrow
(window, types, kinds, the responsibility filters), not to walk.
Properties
assignedToMe?
optionalassignedToMe:boolean
Defined in: packages/sdk/src/types/generated/activity_feed.ts:541
eventTypes?
optionaleventTypes:ActivityEventType[]
Defined in: packages/sdk/src/types/generated/activity_feed.ts:536
hasOpenState?
optionalhasOpenState:boolean
Defined in: packages/sdk/src/types/generated/activity_feed.ts:540
kinds?
optionalkinds:string[]
Defined in: packages/sdk/src/types/generated/activity_feed.ts:537
order?
optionalorder:ActivityOpenItemOrder
Defined in: packages/sdk/src/types/generated/activity_feed.ts:539
pageSize?
optionalpageSize:number
Defined in: packages/sdk/src/types/generated/activity_feed.ts:547
Minimum
1
Maximum
200
pointPerson?
optionalpointPerson:boolean
Defined in: packages/sdk/src/types/generated/activity_feed.ts:542
scope?
optionalscope:ActivityQueryScope
Defined in: packages/sdk/src/types/generated/activity_feed.ts:538
window
window:
ActivityWindow
Defined in: packages/sdk/src/types/generated/activity_feed.ts:535