0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/unit/models
Hannah Wolfe d3cc85c920
Moved schema validator into the schema module
- This is a really specific piece of code related to validating models against our internal schema.js format
- This doesn't make sense without a schema.js file
- It does depend on the internal validator and validate tools - but those are used elsewhere too, and can reasonably be moved out of the codebase
- I don't see schema.js moving out of the codebase any time soon. We can move the validator but it would be a class that requires schema via DI
- For now my focus is on getting the data/validation tooling separated and making clear sense
- Improving data/schema can come later :)
2021-06-15 11:54:34 +01:00
..
base
plugins
api-key_spec.js
integration_spec.js
invite_spec.js
member_spec.js
permission_spec.js
post_spec.js 🐛 Fixed __GHOST_URL__ appearing in sitemaps (#12787) 2021-03-18 17:16:37 +00:00
session_spec.js
settings_spec.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
single-use-token_spec.js 🐛 Added multiple use grace period to tokens (#12519) 2021-01-18 17:03:41 +00:00
tag_spec.js
user_spec.js Moved schema validator into the schema module 2021-06-15 11:54:34 +01:00