Ghost/ghost/member-attribution/index.js
Simon Backx 02168b41ce Improved dependency structure of member-attribution package
refs https://github.com/TryGhost/Ghost/pull/15266#discussion_r950337271

- Moved dependency building to the the service wrapper
- Don't listen for events inside the constructor
- Used a models option to pass around models to make constructors more readable
2022-08-22 11:36:24 +02:00

7 lines
233 B
JavaScript

module.exports = {
MemberAttributionService: require('./lib/service'),
EventHandler: require('./lib/event-handler'),
AttributionBuilder: require('./lib/attribution'),
UrlTranslator: require('./lib/url-translator')
};