2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Ghost/test
naz 071bf8edb5
Extracted Admin API JSON schemas into @tryghost/admin-api-schema (#12237)
closes https://github.com/TryGhost/Ghost/issues/10628

- JSON Schemas were extracted into a separate module to allow other clients to reuse them (for example documentation). Having them in a separate package also slims down the amount of code needed to be maintained in the core.
- Updated canary API input validators to use admin-api-schema module
- Removed canary schemas that moved into admin-api-schema package
- Updated v2 API input validators to use admin-api-schema package
- Removed v2 schemas that moved into admin-api-schema package
- Updated tests to contain needed information in apiConfig to pick up correct validation
- Added @tryghost/admin-api-schema package dependency
2020-09-30 16:25:12 +13:00
..
api-acceptance Disabled changing webhook's integration_id through PUT API 2020-09-24 16:24:02 +12:00
frontend-acceptance 🎨 New Google AMP template (#11986) 2020-07-06 17:09:24 +01:00
regression 🐛 Fixed CSV import json-schema email validation (#12239) 2020-09-29 12:51:35 +01:00
unit Extracted Admin API JSON schemas into @tryghost/admin-api-schema (#12237) 2020-09-30 16:25:12 +13:00
utils 🐛 Fixed CSV import json-schema email validation (#12239) 2020-09-29 12:51:35 +01:00
.eslintignore Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.json Fixed linting error 2020-04-17 11:32:29 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00