2.0.5 • Published 12 days ago

@thefirstspine/messaging-nest v2.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
12 days ago

📦 dependency-messaging-nest // @thefirstspine/messaging-nest

Built on top of https://github.com/thefirstspine/dependency-messaging|@thefirstspine/messaging. Provides Nest services & guard.

Install

npm i @thefirstspine/messaging-nest@latest

Configuration

The configuration is the same as https://github.com/thefirstspine/dependency-messaging|@thefirstspine/messaging module.

Documentation

MessagingService

Nest service to interact with thr TFS messaging net service.

sendMessage

Sends a message in a subject to the clients connected to the service.

Synopsis: async sendMessage(to: number[]|'*', subject: string|'*', message: any): Promise<IMessagingResponse>

Params:

  • to: number[]|'*' The list of the users that will receive the message. * is for all users.
  • subject: string|'*' The subject concerned by the message.
  • message: any The message to send.

How to use

Build

npm run build

Lint

npm run lint

Publish on NPM

npm publish

License

TFS Platform is NOT licensed. You are free to download, view, run the repository. You are NOT allowed to redistribute this project for both commercial and non-commercial use. Deal with it.

2.0.5

12 days ago

2.0.4

17 days ago

2.0.3

3 months ago

2.0.2

9 months ago

2.0.1

9 months ago

2.0.0

1 year ago

1.0.0

5 years ago

0.0.1

5 years ago