Added description and type property for tiers admin api schema

Tiers admin api schema was missing description and type properties. `type` is stripped as we only allow editing `paid` tiers at the moment and it's not allowed to change the type of a tier via API.
This commit is contained in:
Rishabh 2022-03-15 19:02:44 +05:30
parent cbba5471a2
commit ee87c7f995
2 changed files with 5 additions and 5 deletions

View File

@ -57,7 +57,7 @@
"dependencies": {
"@sentry/node": "6.18.2",
"@tryghost/adapter-manager": "0.2.28",
"@tryghost/admin-api-schema": "2.11.0",
"@tryghost/admin-api-schema": "2.12.0",
"@tryghost/bookshelf-plugins": "0.3.11",
"@tryghost/bootstrap-socket": "0.2.17",
"@tryghost/color-utils": "0.1.10",

View File

@ -1732,10 +1732,10 @@
dependencies:
"@tryghost/errors" "^1.2.1"
"@tryghost/admin-api-schema@2.11.0":
version "2.11.0"
resolved "https://registry.yarnpkg.com/@tryghost/admin-api-schema/-/admin-api-schema-2.11.0.tgz#13e50b70a28bd6dfee01da46dbfbed1fc9a444f5"
integrity sha512-bY6qBFkB3i71Ci2lpnOgIFvxHnHYgDg/wK/fx2v7U6rXqO8wbtqo69GELyi7BaCS+Ji/CUBCsjuFWn2idh7u3A==
"@tryghost/admin-api-schema@2.12.0":
version "2.12.0"
resolved "https://registry.yarnpkg.com/@tryghost/admin-api-schema/-/admin-api-schema-2.12.0.tgz#5f4c6ea918d68300bcb6633a82c50d97143cf8a1"
integrity sha512-tA5zYZWrZfnlcXtQpDG6EfJM8YQVToIyEDGD4PZjoRMyN9lY/BrBU6MxBE9XEXWpZcaP+afZsJoLxQnxL1S8fQ==
dependencies:
"@tryghost/errors" "^0.2.10"
lodash "^4.17.11"