Ghost/ghost/offers/lib
Fabien O'Carroll 9f7a922415 Added support for "repeating" duration Offers
refs https://github.com/TryGhost/Team/issues/1083

We combine the duration and duration_in_months into a single value
object which can be validated together, meaning we will never have
properties which are out of sync (e.g. forever durations with 2 months).
2021-10-08 12:10:36 +02:00
..
domain/models Added support for "repeating" duration Offers 2021-10-08 12:10:36 +02:00
events Used Value Objects to validate outside of Offer factory 2021-10-07 16:46:08 +02:00
shared Used Value Objects to validate outside of Offer factory 2021-10-07 16:46:08 +02:00
errors.js Added support for "once" and "forever" Offer duration 2021-10-07 17:13:23 +02:00
OfferMapper.js Added support for "repeating" duration Offers 2021-10-08 12:10:36 +02:00
OfferRepository.js Added support for "repeating" duration Offers 2021-10-08 12:10:36 +02:00
OffersAPI.js Used Value Objects to validate outside of Offer factory 2021-10-07 16:46:08 +02:00
UniqueChecker.js Used Value Objects to validate outside of Offer factory 2021-10-07 16:46:08 +02:00