0.0.8 • Published 3 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
3 years ago
0.0.8-alpha.341
3 years ago
0.0.8-alpha.333
3 years ago
0.0.7
3 years ago
0.0.7-alpha.307
3 years ago
0.0.6
3 years ago
0.0.6-alpha.210
3 years ago
0.0.5-alpha.201
3 years ago
0.0.5
3 years ago
0.0.5-alpha.132
3 years ago
0.0.4
3 years ago
0.0.4-alpha.96
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.2-alpha.56
3 years ago
0.0.2-alpha.36
3 years ago
0.0.2-alpha.26
3 years ago
0.0.1
3 years ago