-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
22ba62b
commit 7c130f6
Showing
18 changed files
with
70 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Publish Package to npmjs | ||
on: | ||
release: | ||
types: [created] | ||
jobs: | ||
npm-publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: npm ci | ||
- run: npm run publish:npm | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
import { Injectable } from "@nestjs/common"; | ||
import { INestjsNotifyChannel } from "../../interfaces"; | ||
import { IFirebaseCloudMessagingChannel } from "./firebase-cloud-messaging-channel.interface"; | ||
import { Injectable } from '@nestjs/common'; | ||
import { INestjsNotifyChannel } from '../../interfaces'; | ||
import { IFirebaseCloudMessagingChannel } from './firebase-cloud-messaging-channel.interface'; | ||
|
||
@Injectable() | ||
export class FirebaseCloudMessagingChannel implements INestjsNotifyChannel { | ||
constructor() { | ||
// | ||
} | ||
|
||
public async send(notification: IFirebaseCloudMessagingChannel): Promise<any> { | ||
public async send( | ||
notification: IFirebaseCloudMessagingChannel, | ||
): Promise<any> { | ||
return Promise.resolve(undefined); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export const NESTJS_NOTIFY_OPTIONS = 'NESTJS_NOTIFY_OPTIONS'; | ||
export const NESTJS_NOTIFY_OPTIONS = 'NESTJS_NOTIFY_OPTIONS'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export * from './nestjs-notify.interface'; | ||
export * from './nestjs-notify-module.interface'; | ||
export * from './nestjs-notify-channel.interface' | ||
export * from './nestjs-notify-channel.interface'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
{ | ||
"name": "nestjs-notify", | ||
"name": "@sinuos/nestjs-notification", | ||
"version": "0.0.0", | ||
"description": "", | ||
"author": "", | ||
"description": "NestJS notification based on channel", | ||
"license": "MIT", | ||
"keywords": [ | ||
"nest", | ||
|
@@ -70,9 +69,18 @@ | |
"lint-staged": { | ||
"**/*": "pretty-quick --staged" | ||
}, | ||
"author": { | ||
"name": "Houssene Dao", | ||
"email": "[email protected]", | ||
"url": "https://twitter.com/houssenedao" | ||
}, | ||
"homepage": "https://github.com/sinuoslabs/nestjs-notification#readme", | ||
"bugs": { | ||
"url": "https://github.com/sinuoslabs/nestjs-notification/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/themartiangeeks/nestjs-notify" | ||
"url": "https://github.com/sinuoslabs/nestjs-notification" | ||
}, | ||
"jest": { | ||
"moduleFileExtensions": [ | ||
|