0.0.8 • Published 4 years ago
@corejam/notify v0.0.8
@corejam/notify
This package can be used to provide notification (mail, sms, push) functionality through the corejam servers context object.
For example in your resolver:
Mutation: {
myMutation: async (_obj: any, args: any, { notify }: MergedServerContext) => {
await notify.sendMail({to: "mail@mail.com"})
notify.sendSMS() //Coming soon
notify.pushNotification() //Coming soon
}
Please view the .env.sample for the correct env variables required for mail setup.
Currently we support the following mail transports:
AMAZON SES
Getting Started
0.0.8
4 years ago
0.0.8-alpha.341
4 years ago
0.0.8-alpha.333
4 years ago
0.0.7
4 years ago
0.0.7-alpha.307
4 years ago
0.0.6
4 years ago
0.0.6-alpha.210
4 years ago
0.0.5-alpha.201
4 years ago
0.0.5
4 years ago
0.0.5-alpha.132
4 years ago
0.0.4
4 years ago
0.0.4-alpha.96
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago
0.0.2-alpha.56
4 years ago
0.0.2-alpha.36
4 years ago
0.0.2-alpha.26
4 years ago
0.0.1
4 years ago