appNotifications module exposes the in-app notification feed for the authenticated user — read notifications, count unread ones, and mark them as read.
fetchNotifications
Fetches a paginated list of the user’s notifications.The number of notifications to return per page: a whole number from
1 to 100. Defaults to 5. A larger value is rejected with 400 app-notification/invalid-query, never lowered to 100.Promise<PaginatedResponse<UnifiedAppNotification>>
A notification is a discriminated union on a
type field, spanning system, entity/comment comments and replies, mentions, upvotes, reactions, reaction milestones, new-follow, connection-request, connection-accepted, space-membership-approved, space-member-added, event-invite, event-updated, event-cancelled, and reputation-grant. Each notification has id, type, isRead, metadata, and createdAt.countUnreadNotifications
Returns the number of unread notifications.Promise<{ count: number }>
markNotificationAsRead
Marks a single notification as read.Promise<void>
markAllNotificationsAsRead
Marks all the user’s notifications as read.Promise<void>
