Ghost/ghost/offers/lib/domain/models
Fabien "egg" O'Carroll a97383f2de Moved Offer event logic into the Offer Entity
We do not want our Repositories to implement business logic like deciding which
events should be created. As that creates too tight of a coupling, and makes it
harder to swap out repositories in future. Instead they should only be concerned
with the storage, retrieval and hydration of Entities from the persistence engine.
2023-09-02 16:58:48 +07:00
..
shared Ensured correct usage of @tryghost/errors everywhere 2022-02-15 12:30:36 +00:00
Offer.js Moved Offer event logic into the Offer Entity 2023-09-02 16:58:48 +07:00
OfferAmount.js Updated offers setup to allow trial values 2022-08-11 11:04:39 +05:30
OfferCadence.js Added initial tests for Offers 2021-11-07 23:10:10 +02:00
OfferCode.js Added initial tests for Offers 2021-11-07 23:10:10 +02:00
OfferCurrency.js Added initial tests for Offers 2021-11-07 23:10:10 +02:00
OfferDescription.js Added initial tests for Offers 2021-11-07 23:10:10 +02:00
OfferDuration.js Updated offers setup to allow trial values 2022-08-11 11:04:39 +05:30
OfferName.js Ensured correct usage of @tryghost/errors everywhere 2022-02-15 12:30:36 +00:00
OfferStatus.js Ensured correct usage of @tryghost/errors everywhere 2022-02-15 12:30:36 +00:00
OfferTitle.js Added initial tests for Offers 2021-11-07 23:10:10 +02:00
OfferType.js Updated offers setup to allow trial values 2022-08-11 11:04:39 +05:30