5683204371
- Added slugs controller to v2 API - Added slugs tests to v2 API - Updated generic validation error message in shared validator to return validation error with sub-message
26 lines
509 B
JavaScript
26 lines
509 B
JavaScript
const shared = require('../shared');
|
|
const localUtils = require('./utils');
|
|
|
|
module.exports = {
|
|
get http() {
|
|
return shared.http;
|
|
},
|
|
|
|
// @TODO: transform
|
|
get session() {
|
|
return require('./session');
|
|
},
|
|
|
|
get pages() {
|
|
return shared.pipeline(require('./pages'), localUtils);
|
|
},
|
|
|
|
get roles() {
|
|
return shared.pipeline(require('./roles'), localUtils);
|
|
},
|
|
|
|
get slugs() {
|
|
return shared.pipeline(require('./slugs'), localUtils);
|
|
}
|
|
};
|