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.
383 B
383 B
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