mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
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 changed files with 12 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue