Ghost/ghost/offers/lib/domain/models
Fabien O'Carroll 1312943f5b Updated Offer to only change code once
no-issue

This simplifies the handling of updating redirects for a code, and
doesn't affect our application layer because we never have the need to
change a code twice.

In future this should be replaced with events at the domain level - so
that we do not have to track changed properties and instead a redirect
service can listen to events, which would be dispatched on a successful
save by the repository.
2021-10-08 13:02:22 +02:00
..
shared Moved ValueObject to domain/models/shared 2021-10-08 12:23:40 +02:00
Offer.js Updated Offer to only change code once 2021-10-08 13:02:22 +02:00
OfferAmount.js Moved errors to domain/errors 2021-10-08 12:31:11 +02:00
OfferCadence.js Moved errors to domain/errors 2021-10-08 12:31:11 +02:00
OfferCode.js Moved errors to domain/errors 2021-10-08 12:31:11 +02:00
OfferCurrency.js Moved errors to domain/errors 2021-10-08 12:31:11 +02:00
OfferDescription.js Allowed for OfferDescription to be null/empty 2021-10-08 12:40:57 +02:00
OfferDuration.js Moved errors to domain/errors 2021-10-08 12:31:11 +02:00
OfferName.js Moved errors to domain/errors 2021-10-08 12:31:11 +02:00
OfferTitle.js Moved errors to domain/errors 2021-10-08 12:31:11 +02:00
OfferType.js Moved errors to domain/errors 2021-10-08 12:31:11 +02:00