1.0.0 • Published 12 months ago

@benhepburn/adonis-notifications v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
12 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'
1.0.0

12 months ago

0.6.3

12 months ago

0.5.0

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.1

1 year ago

0.4.6

1 year ago

0.4.5

2 years ago

0.4.4

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.3.9

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.8

2 years ago

0.3.7

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.1.0

2 years ago