2018-10-05 01:50:45 +03:00
|
|
|
const shared = require('../shared');
|
|
|
|
const localUtils = require('./utils');
|
|
|
|
|
2018-10-03 16:45:42 +03:00
|
|
|
module.exports = {
|
2018-10-05 01:50:45 +03:00
|
|
|
get http() {
|
|
|
|
return shared.http;
|
|
|
|
},
|
|
|
|
|
2018-12-17 16:45:09 +03:00
|
|
|
get db() {
|
|
|
|
return shared.pipeline(require('./db'), localUtils);
|
|
|
|
},
|
|
|
|
|
2018-10-18 16:03:56 +03:00
|
|
|
get integrations() {
|
|
|
|
return shared.pipeline(require('./integrations'), localUtils);
|
|
|
|
},
|
|
|
|
|
2018-10-05 01:50:45 +03:00
|
|
|
// @TODO: transform
|
2018-10-03 16:45:42 +03:00
|
|
|
get session() {
|
|
|
|
return require('./session');
|
2018-10-05 01:50:45 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
get pages() {
|
|
|
|
return shared.pipeline(require('./pages'), localUtils);
|
2018-10-09 17:00:08 +03:00
|
|
|
},
|
|
|
|
|
2019-01-07 14:32:53 +03:00
|
|
|
get redirects() {
|
|
|
|
return shared.pipeline(require('./redirects'), localUtils);
|
|
|
|
},
|
|
|
|
|
2018-10-09 17:00:08 +03:00
|
|
|
get roles() {
|
|
|
|
return shared.pipeline(require('./roles'), localUtils);
|
2018-10-12 15:25:20 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
get slugs() {
|
|
|
|
return shared.pipeline(require('./slugs'), localUtils);
|
2018-10-11 21:52:38 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
get webhooks() {
|
|
|
|
return shared.pipeline(require('./webhooks'), localUtils);
|
2018-10-10 17:34:16 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
get posts() {
|
|
|
|
return shared.pipeline(require('./posts'), localUtils);
|
2018-10-12 20:44:02 +03:00
|
|
|
},
|
|
|
|
|
2018-10-12 20:44:06 +03:00
|
|
|
get invites() {
|
|
|
|
return shared.pipeline(require('./invites'), localUtils);
|
|
|
|
},
|
|
|
|
|
2018-10-12 20:44:05 +03:00
|
|
|
get mail() {
|
|
|
|
return shared.pipeline(require('./mail'), localUtils);
|
|
|
|
},
|
|
|
|
|
2018-10-12 20:44:03 +03:00
|
|
|
get notifications() {
|
|
|
|
return shared.pipeline(require('./notifications'), localUtils);
|
|
|
|
},
|
|
|
|
|
2018-10-12 20:44:02 +03:00
|
|
|
get settings() {
|
|
|
|
return shared.pipeline(require('./settings'), localUtils);
|
2018-10-11 19:09:01 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
get subscribers() {
|
|
|
|
return shared.pipeline(require('./subscribers'), localUtils);
|
2018-10-12 23:41:39 +03:00
|
|
|
},
|
|
|
|
|
2019-01-30 14:36:09 +03:00
|
|
|
get members() {
|
|
|
|
return shared.pipeline(require('./members'), localUtils);
|
|
|
|
},
|
|
|
|
|
2018-10-12 23:41:39 +03:00
|
|
|
get upload() {
|
|
|
|
return shared.pipeline(require('./upload'), localUtils);
|
2018-10-13 00:10:43 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
get tags() {
|
|
|
|
return shared.pipeline(require('./tags'), localUtils);
|
2018-10-13 00:27:30 +03:00
|
|
|
},
|
|
|
|
|
2019-01-03 22:30:35 +03:00
|
|
|
get tagsPublic() {
|
|
|
|
return shared.pipeline(require('./tags-public'), localUtils);
|
|
|
|
},
|
|
|
|
|
2018-10-13 00:27:30 +03:00
|
|
|
get users() {
|
|
|
|
return shared.pipeline(require('./users'), localUtils);
|
2018-10-17 19:15:43 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
get preview() {
|
|
|
|
return shared.pipeline(require('./preview'), localUtils);
|
2018-11-02 11:32:26 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
get oembed() {
|
|
|
|
return shared.pipeline(require('./oembed'), localUtils);
|
2018-11-07 01:20:43 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
get slack() {
|
|
|
|
return shared.pipeline(require('./slack'), localUtils);
|
2018-11-07 17:29:37 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
get authors() {
|
|
|
|
return shared.pipeline(require('./authors'), localUtils);
|
2018-12-04 06:57:36 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
get configuration() {
|
|
|
|
return shared.pipeline(require('./configuration'), localUtils);
|
2019-01-03 18:23:22 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
get publicSettings() {
|
|
|
|
return shared.pipeline(require('./settings-public'), localUtils);
|
2018-10-03 16:45:42 +03:00
|
|
|
}
|
|
|
|
};
|