Class Notification

A System Notifications dispatcher. This can be used to create system notifications that will appear on the Admin app. System administrators will be notified of system notifications, so use them appropriately.

Example usage:

await new Notification().Dispatch({
message: 'Something went wrong with my script number 2.',
level: LogLevel.ERROR,
context: {
failingIntegration: 'my-script-number-2',
}
});

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Dispatches a notification.

    Parameters

    Returns Promise<any>

    The system notification that was created.

Generated using TypeDoc