Skip to main content

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?

optional assignedToMe: boolean

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


eventTypes?

optional eventTypes: ActivityEventType[]

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


hasOpenState?

optional hasOpenState: boolean

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


kinds?

optional kinds: string[]

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


order?

optional order: ActivityOpenItemOrder

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


pageSize?

optional pageSize: number

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

Minimum

1

Maximum

200


pointPerson?

optional pointPerson: boolean

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


scope?

optional scope: 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