Ghost/ghost/offers/lib/domain/models
Ronald Langeveld 2bd597fe0d
Added createdAt prop to Offers API request. (#19012)
refs https://github.com/TryGhost/Product/issues/4153

- We need use the `created_at` timestamp in the new AdminX offers. The
API doesn't return that value.
- With this change the API returns the created_at property so that we
can consume it.
---

<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖[[deprecated]](https://githubnext.com/copilot-for-prs-sunset)
Generated by Copilot at dc282af</samp>

This pull request adds a `createdAt` property to the offer domain model,
data transfer object, and repository. This allows tracking and auditing
the creation and modification of offers and offer codes in
`ghost/offers`.
2023-11-16 17:33:01 +07:00
..
shared Ensured correct usage of @tryghost/errors everywhere 2022-02-15 12:30:36 +00:00
Offer.js Added createdAt prop to Offers API request. (#19012) 2023-11-16 17:33:01 +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
OfferCreatedAt.js Added createdAt prop to Offers API request. (#19012) 2023-11-16 17:33:01 +07: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