mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +03:00
c37de311ea
- The data/validation module is made up of several loosely related things with lots of dependencies - Separating out the various components makes it possible to see what's what, and importantly what has complex dependencies - validator + validate probably go togetheri in an external module, the other two files should probably have their own homes in related areas of ghost e.g. schema -> data/schema/validate.js
9 lines
248 B
JavaScript
9 lines
248 B
JavaScript
module.exports = {
|
|
validate: require('./validate'),
|
|
validator: require('./validator'),
|
|
|
|
// These two things are dependent on validator, not related
|
|
validatePassword: require('./password'),
|
|
validateSchema: require('./schema')
|
|
};
|