mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 12:53:13 +03:00
9ce0c92597
refs https://github.com/TryGhost/Arch/issues/41 - Having switch statement instead of lots of if/else is slightly more readable. Before adding 5 more event mappings it makes sense to cleanup before things get too messy :) |
||
---|---|---|
.. | ||
src | ||
test | ||
.eslintrc.js | ||
package.json | ||
README.md | ||
tsconfig.json |
Model To Domain Event Interceptor
Model event interceptor that maps legacy model events to Domain event
Usage
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests