0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00
ghost/test/unit
Hannah Wolfe de9864db30 Moved upload validation mw into api app
- Moved upload validation mw from shared to api as it is not shared (except within the API)
- Co-located the code with the upload middleware, as it's small and gives us a nice API of .upload.single and .upload.validation
- This file is only used in one part of the app, this updates the code structure to reflect this
- This is one of many similar changes needed to make it easier to refactor to the existing setup
2020-04-22 07:37:02 +01:00
..
adapters Refactored existing adapters to use adapter-manager 2020-04-05 21:13:47 +02:00
api Added custom json-string format to AJV validator 2020-04-17 11:56:20 +01:00
apps Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
config Refactored existing adapters to use adapter-manager 2020-04-05 21:13:47 +02:00
data 🐛 Fixed structured metadata for images 2020-04-17 13:51:55 +01:00
helpers Improved helper index, use glob to read directory 2020-04-10 13:08:41 +01:00
lib Switched to extracted @tryghost/mobiledoc-dom-renderer package 2020-04-08 18:27:12 +01:00
models Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
services Moved non-helper code out of helpers 2020-04-10 12:27:43 +01:00
web Moved upload validation mw into api app 2020-04-22 07:37:02 +01:00