2018-10-05 00:50:45 +02:00
|
|
|
const shared = require('../shared');
|
|
|
|
const localUtils = require('./utils');
|
|
|
|
|
2018-10-03 20:45:42 +07:00
|
|
|
module.exports = {
|
2018-10-05 00:50:45 +02:00
|
|
|
get http() {
|
|
|
|
return shared.http;
|
|
|
|
},
|
|
|
|
|
|
|
|
// @TODO: transform
|
2018-10-03 20:45:42 +07:00
|
|
|
get session() {
|
|
|
|
return require('./session');
|
2018-10-05 00:50:45 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
get pages() {
|
|
|
|
return shared.pipeline(require('./pages'), localUtils);
|
2018-10-09 16:00:08 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
get roles() {
|
|
|
|
return shared.pipeline(require('./roles'), localUtils);
|
2018-10-12 17:55:20 +05:30
|
|
|
},
|
|
|
|
|
|
|
|
get slugs() {
|
|
|
|
return shared.pipeline(require('./slugs'), localUtils);
|
2018-10-12 00:22:38 +05:30
|
|
|
},
|
|
|
|
|
|
|
|
get webhooks() {
|
|
|
|
return shared.pipeline(require('./webhooks'), localUtils);
|
2018-10-10 16:34:16 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
get posts() {
|
|
|
|
return shared.pipeline(require('./posts'), localUtils);
|
2018-10-12 19:44:02 +02:00
|
|
|
},
|
|
|
|
|
2018-10-12 19:44:06 +02:00
|
|
|
get invites() {
|
|
|
|
return shared.pipeline(require('./invites'), localUtils);
|
|
|
|
},
|
|
|
|
|
2018-10-12 19:44:05 +02:00
|
|
|
get mail() {
|
|
|
|
return shared.pipeline(require('./mail'), localUtils);
|
|
|
|
},
|
|
|
|
|
2018-10-12 19:44:03 +02:00
|
|
|
get notifications() {
|
|
|
|
return shared.pipeline(require('./notifications'), localUtils);
|
|
|
|
},
|
|
|
|
|
2018-10-12 19:44:02 +02:00
|
|
|
get settings() {
|
|
|
|
return shared.pipeline(require('./settings'), localUtils);
|
2018-10-11 18:09:01 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
get subscribers() {
|
|
|
|
return shared.pipeline(require('./subscribers'), localUtils);
|
2018-10-12 22:41:39 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
get upload() {
|
|
|
|
return shared.pipeline(require('./upload'), localUtils);
|
2018-10-03 20:45:42 +07:00
|
|
|
}
|
|
|
|
};
|