Ghost/ghost/tiers/index.js
Fabien "egg" O'Carroll b14b74315f Exported Tier events from tiers package
These are required to be exported so that external code can subscribe to the
events.
2022-10-20 17:40:37 +07:00

17 lines
605 B
JavaScript

const TierActivatedEvent = require('./lib/TierActivatedEvent');
const TierArchivedEvent = require('./lib/TierArchivedEvent');
const TierCreatedEvent = require('./lib/TierCreatedEvent');
const TierNameChangeEvent = require('./lib/TierNameChangeEvent');
const TierPriceChangeEvent = require('./lib/TierPriceChangeEvent');
module.exports = {
Tier: require('./lib/Tier'),
TiersAPI: require('./lib/TiersAPI'),
InMemoryTierRepository: require('./lib/InMemoryTierRepository'),
TierActivatedEvent,
TierArchivedEvent,
TierCreatedEvent,
TierNameChangeEvent,
TierPriceChangeEvent
};