0.4.6 • Published 11 months ago

@benhepburn/adonis-notifications v0.4.6

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

AdonisJS Notifications

This package creates a notifications service for use in AdonisJS v6 applications.

Install

Install the package:

npm install @benhepburn/adonis-notifications

or

pnpm install @benhepburn/adonis-notifications

or

yarn add @benhepburn/adonis-notifications

Then, configure the package for Adonis:

node ace configure @benhepburn/adonis-notifications

Configuration

Set the channel you wish to use for each notification type in config/notifications.ts.

Existing channels

Creating a channel

  1. Set up a new AdonisJS package and add @benhepburn/adonis-notifications to the peer and dev dependencies.
  2. Create a new class extending NotificationChannel and implement required members

Imports:

import { Notification, NotificationChannel } from '@benhepburn/adonis-notifications'
0.4.6

11 months ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.3.9

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.3.6

1 year ago

0.3.5

1 year ago

0.3.8

1 year ago

0.3.7

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.1.0

1 year ago