mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Export Offer from @tryghost/members-offers
This will allow us to implement the Repository outside of the package, as it needs access to the Entity factory to create instances.
This commit is contained in:
parent
00072a204f
commit
b64be18e74
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
const DomainEvents = require('@tryghost/domain-events');
|
||||
const OfferCodeChangeEvent = require('./domain/events/OfferCodeChangeEvent');
|
||||
const OfferCreatedEvent = require('./domain/events/OfferCreatedEvent');
|
||||
const Offer = require('./domain/models/Offer');
|
||||
const OfferRepository = require('./application/OfferRepository');
|
||||
const OffersAPI = require('./application/OffersAPI');
|
||||
|
||||
|
@ -74,6 +75,8 @@ class OffersModule {
|
|||
|
||||
static OfferRepository = OfferRepository;
|
||||
|
||||
static Offer = Offer;
|
||||
|
||||
static OffersAPI = OffersAPI;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue