Ghost/ghost/collections
Naz 58a18d37ea Introduced PostEvent classes to make event handling less generic
refs https://github.com/TryGhost/Team/issues/3169

- When handling a single generic event the code becomes riddled with if statements to detect correct "data" that is being passed with the event. Switching to have a domain event per model event helps solving this problem and makes code more readable.
2023-06-27 12:52:10 +07:00
..
src Introduced PostEvent classes to make event handling less generic 2023-06-27 12:52:10 +07:00
test Introduced PostEvent classes to make event handling less generic 2023-06-27 12:52:10 +07:00
.eslintrc.js Update eslint and c8 to support using TS interfaces 2023-06-01 14:25:49 +07:00
package.json Added model event to domain event bridge 2023-06-27 12:52:10 +07:00
README.md
tsconfig.json Updated collections package to use .d.ts for external lib types 2023-05-24 12:47:20 -04:00

Collections

Manages everything to do with Collections

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