Hiyve Components - v1.0.0
    Preparing search index...

    Interface NotificationStreamEvent

    An event on the per-user notifications SSE stream.

    interface NotificationStreamEvent {
        id?: string;
        kind: "updated" | "removed" | "snapshot" | "added" | "resync";
        notification?: CloudNotification;
        notifications?: CloudNotification[];
    }
    Index

    Properties

    id?: string

    For removed: the notification id.

    kind: "updated" | "removed" | "snapshot" | "added" | "resync"
    notification?: CloudNotification

    For added / updated: the notification.

    notifications?: CloudNotification[]

    For snapshot: the recipient's current visible notifications.