Skip to main content

ActivityNotificationCountRequest

@gravity-rail/sdk


@gravity-rail/sdk / ActivityNotificationCountRequest

Interface: ActivityNotificationCountRequest

What the bell renders: how many notification-worthy rows are unread.

No cursor and no page: this is a snapshot, and the way to see more is to open the feed. window defaults to the server's recent lookback (:data:~lib.activity.notifications.DEFAULT_NOTIFICATION_LOOKBACK) because read state starts empty when this table ships — an all-time count would report months of already-handled work as new. A supplied window must be ABSOLUTE: this endpoint issues no drill, so it never needs the per-workspace clock a drill basis names.

Properties​

eventTypes?​

optional eventTypes: ActivityEventType[]


scope?​

optional scope: ActivityQueryScope


window?​

optional window: ActivityWindow | null