Stone.js API
    Preparing search index...
    • Enable notifications on the application.

      The declarative half of the module's activation; notificationsBlueprint is the imperative half, and neither can do what the other cannot. With nothing configured, notifications go to the log and say so: reaching real people is a decision, so it is written down.

      Type Parameters

      • T extends ClassType = ClassType

      Parameters

      Returns ClassDecorator

      A class decorator.

      @Notifications({
      default: ['smtp', 'in-app'],
      channels: [{ name: 'smtp', driver: 'smtp', from: 'Noowow <no-reply@example.test>' }]
      })
      @StoneApp()
      export class Application {}