Ghost/ghost/milestones
Aileen Nowak 513b7d1df4 Added MilestoneCreatedEvent using DomainEvents
no issue

- In preparation of using event emitting for Milestone achievements, we needed to add a dedicated `MilestoneCreatedEvent` to the `Milestone` entity.
- The event will be emitted using `DomainEvents` when a new milesteone is saved, which will allow us to listen to these events.
2023-02-15 14:28:57 +02:00
..
lib Added MilestoneCreatedEvent using DomainEvents 2023-02-15 14:28:57 +02:00
test Added MilestoneCreatedEvent using DomainEvents 2023-02-15 14:28:57 +02:00
.eslintrc.js Renamed milestone-emails to milestones 2023-02-15 10:43:05 +02:00
index.js Renamed milestone-emails to milestones 2023-02-15 10:43:05 +02:00
package.json Renamed milestone-emails to milestones 2023-02-15 10:43:05 +02:00
README.md Renamed milestone-emails to milestones 2023-02-15 10:43:05 +02:00

Milestones

Checking milestone defined milestone goals and sending events when achieved

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