Added initial support for Offer status

refs https://github.com/TryGhost/Team/issues/1131

This updates the Offers Service to include the `status` of an Offer,
which will be either 'active' or 'archived'. It also allows setting the
`status` of an Offer to one of these two values when adding & editing
Offers.
This commit is contained in:
Fabien O'Carroll 2021-10-12 17:15:26 +02:00
parent a535cfdf16
commit dc3dad4524
2 changed files with 5 additions and 5 deletions

View File

@ -82,7 +82,7 @@
"@tryghost/members-api": "2.1.1",
"@tryghost/members-csv": "1.1.7",
"@tryghost/members-importer": "0.3.3",
"@tryghost/members-offers": "0.4.2",
"@tryghost/members-offers": "0.5.0",
"@tryghost/members-ssr": "1.0.14",
"@tryghost/metrics": "0.2.0",
"@tryghost/mw-session-from-token": "0.1.25",

View File

@ -1533,10 +1533,10 @@
"@tryghost/tpl" "^0.1.3"
moment-timezone "0.5.23"
"@tryghost/members-offers@0.4.2":
version "0.4.2"
resolved "https://registry.yarnpkg.com/@tryghost/members-offers/-/members-offers-0.4.2.tgz#2e53d218d5f30552db916b23565625d48183d65a"
integrity sha512-HWXgcjqhN8AoiqAtkAjWTtcuZbLyzFS3b1pKD1/jJu0IMtZUkxoFdV4Ix0PpJ1LaCyL0VUnCqWwIVlPOaAb0Kw==
"@tryghost/members-offers@0.5.0":
version "0.5.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-offers/-/members-offers-0.5.0.tgz#f42124b6319646e9c3ee17961939371097ae4f2b"
integrity sha512-Ixv2hLX8ka8VzR0AWPkeBR3GweetFh32zMJKR+j62dIiw439JJYaEmwMCoTbPZSI8Niy6bv/eVsZdjOvsoikIw==
dependencies:
"@tryghost/string" "^0.1.20"