js-bao-wss-client / NotificationEvent
Interface: NotificationEvent
Real-time mirror of a durable in-app notification.
Emitted over the notification event channel (client.on("notification", ...)) when the signed-in user receives an in-app notification while connected. The durable inbox row is the source of truth — fetch it (and older rows) via client.notifications.list().
Properties
body
body:
string
createdAt
createdAt:
string
deepLink?
optionaldeepLink?:string
iconUrl?
optionaliconUrl?:string
notificationId
notificationId:
string
sourceRef?
optionalsourceRef?:string
title
title:
string
type
type:
"notification"