ActivityNotificationsRequest
@gravity-rail/sdk / ActivityNotificationsRequest
Interface: ActivityNotificationsRequest
The global feed: notification-worthy occurrences, newest first.
This is the account mount's feed, not a second one. The rows are compiled
from the same :func:~lib.db.activities.feed_predicates.event_visibility_clause
the account feed uses, narrowed to the
:func:~lib.activity.notifications.notification_worthy_types — the types
whose outcome is not ok. "This workspace" is the same query with
scope.workspaceUuids=[current]; "All" omits it. There is no second
authorization path: a workspace UUID the caller cannot see stays in the
narrowing, so the query returns nothing rather than widening.
The window is required, unlike the count's. A traversal has to have fixed bounds: a cursor is bound to the request that issued it, and a window resolved from "now" on each page would move underneath a page-two request. The client names the span once and pages through it.
Properties
cursor?
optionalcursor:string|null
eventTypes?
optionaleventTypes:ActivityEventType[]
includeDismissed?
optionalincludeDismissed:boolean
pageSize?
optionalpageSize:number
Minimum
1
Maximum
200
scope?
optionalscope:ActivityQueryScope
window
window:
ActivityWindow