mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
e22d8e8680
refs https://github.com/TryGhost/Ghost/pull/17065 - This is a follow up cleanup work after introducing even mapper when working on collections refresh mechanism. - This module manages interception of the Model events and maps/dispatches Domain events that could later be used in different libraries. |
||
---|---|---|
.. | ||
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