Exported Tier events from tiers package
These are required to be exported so that external code can subscribe to the events.
This commit is contained in:
parent
5f928794c3
commit
b14b74315f
@ -1,5 +1,16 @@
|
|||||||
|
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 = {
|
module.exports = {
|
||||||
Tier: require('./lib/Tier'),
|
Tier: require('./lib/Tier'),
|
||||||
TiersAPI: require('./lib/TiersAPI'),
|
TiersAPI: require('./lib/TiersAPI'),
|
||||||
InMemoryTierRepository: require('./lib/InMemoryTierRepository')
|
InMemoryTierRepository: require('./lib/InMemoryTierRepository'),
|
||||||
|
TierActivatedEvent,
|
||||||
|
TierArchivedEvent,
|
||||||
|
TierCreatedEvent,
|
||||||
|
TierNameChangeEvent,
|
||||||
|
TierPriceChangeEvent
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user