mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 07:51:55 +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.
24 lines
383 B
Markdown
24 lines
383 B
Markdown
# 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.
|
|
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
|
|
|