Notification<T>: {
    data?: T;
    id: number;
    limeobject?: LimeObject;
    read?: Date;
    timestamp: Date;
    type?: NotificationType;
}

A Notification object

Type Parameters

  • T = unknown

Type declaration

  • Optional data?: T

    Data attached to the notification

  • id: number

    The notification id

  • Optional limeobject?: LimeObject

    LimeObject that the notification is attached to

  • Optional read?: Date

    Date when the notification was marked as read

  • timestamp: Date

    Date when the notification was created

  • Optional type?: NotificationType

    Type of notification