Ghost/ghost/staff-service
Rishabh 4187f0da54 Updated staff service to trigger alerts via events
refs https://github.com/TryGhost/Team/issues/1865

- refactors staff service to listen to member and subscription events
- triggers email alerts based on events instead of directly calling the service
- removes staff service dependency for members api
2022-09-10 11:06:34 +05:30
..
lib Updated staff service to trigger alerts via events 2022-09-10 11:06:34 +05:30
test Updated staff service to trigger alerts via events 2022-09-10 11:06:34 +05:30
.eslintrc.js Added staff service to manage email alert notifications 2022-08-25 18:01:52 +05:30
index.js Added staff service to manage email alert notifications 2022-08-25 18:01:52 +05:30
package.json Added staff service to manage email alert notifications 2022-08-25 18:01:52 +05:30
README.md Added staff service to manage email alert notifications 2022-08-25 18:01:52 +05:30

Staff Service

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests