Ghost/ghost/offers/lib/domain
Fabien O'Carroll ff2da8a417 Added and emitted events for Offer Created
refs https://github.com/TryGhost/Team/issues/1166

Since we removed the creation of coupons from the Offers module, we must
emit events so that the Payments module can handle creating Coupons when
Offers are created.

We also export the events from the module so that they can be listened
to by the Payments module.

We also export other internals of the module so that the types can be
used.
2021-10-21 15:40:55 +02:00
..
errors Added concept of OfferStatus to domain model 2021-10-12 15:27:27 +02:00
events Added and emitted events for Offer Created 2021-10-21 15:40:55 +02:00
models Removed stripe_coupon_id handling from Offers 2021-10-21 15:40:55 +02:00