Skip to main content

@backstage/plugin-notifications-node

Home > @backstage/plugin-notifications-node

Node.js library for the notifications plugin.

Classes

ClassDescription
DefaultNotificationService

Interfaces

InterfaceDescription
NotificationProcessor

Notification processors are used to modify the notification parameters or sending the notifications to external systems.

Notification modules should utilize the notificationsProcessingExtensionPoint to add new processors to the system.

Notification processing flow:

1. New notification send request is received 2. For all notification processors registered, processOptions function is called to process the notification options 3. Notification recipients are resolved from the options 4. For each recipient, preProcess function is called to pre-process the notification 5. Notification is saved to the database and sent to the Backstage UI 6. For each recipient, postProcess function is called to post-process the notification

NotificationService
NotificationsProcessingExtensionPoint

Variables

VariableDescription
notificationService
notificationsProcessingExtensionPoint

Type Aliases

Type AliasDescription
NotificationRecipients
NotificationSendOptions
NotificationServiceOptions