An object representing a notification that a registry can send.

interface Notification<ItemT> {
    data?: ItemT;
    id?: string;
    type: NotificationTypes;
}

Type Parameters

  • ItemT

    The type of the item involved in the notification.

Properties

Properties

data?: ItemT

The item involved in the notification.

id?: string

The ID of the item involved in the notification.

The type of the notification.