Ghost/ghost/offers/lib/domain
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
..
errors Improved error messages for Offers API 2021-10-22 16:48:52 +02:00
events Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
models Added createdAt prop to Offers API request. (#19012) 2023-11-16 17:33:01 +07:00