interface NotificationsReadMessage

Sent by the notification service to every socket of a user who opened their notifications, which marks them all read. WSProvider zeroes the bell's count, in the other tabs and devices too.

Properties

type: "notifications_read"

Usage

import { type NotificationsReadMessage } from "shared/ws.ts";