Lime Web Components API Documentation - v7.10.0
    Preparing search index...

    Type Alias NotificationBundle<T>Beta

    Notifications about the same LimeObject, grouped by the server.

    A bundle holds the newest notifications about its object, and counts that cover all of them. When count.total is larger than the number of notifications, the rest are in the object's activity feed.

    type NotificationBundle<T = unknown> = {
        count: NotificationBundleCount;
        followed: boolean;
        id: string;
        limeobject?: LimeObject;
        notifications: Notification<T>[];
    }

    Type Parameters

    • T = unknown
    Index

    Properties

    Counts over all of the bundle's notifications, not only the loaded ones.

    followed: boolean

    Whether the current user follows the bundle's object.

    id: string

    Identifies the bundle across requests: "<limetype>-<id>" of its object, or "notification-<id>" for a notification without an object. This is the form that feed items use.

    limeobject?: LimeObject

    The LimeObject the bundle is about. Absent when there is none.

    notifications: Notification<T>[]

    The newest notifications in the bundle, newest first.