-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathindex.js
40 lines (38 loc) · 1.61 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
var WidgetAPI = require('./widget.js');
var ImportStreamAPI = require('./importStream.js');
var HooksAPI = require('./hooks.js');
var NotificationAPI = require('./notification.js');
var PageAPI = require('./page.js');
var ErrorsAPI = require('./errors.js');
var ModelContextAPI = require('./modelContext.js');
var UploadAPI = require('./upload.js');
var ThemesAPI = require('./themes.js');
var CryptoAPI = require('./crypto.js');
var ContentTypeAPI = require('./contentType.js');
var PermissionsAPI = require('./permissions.js');
var SearchAPI = require('./search.js');
var ExportAPI = require('./export.js');
var DocsplitAPI = require('./docsplit.js');
var ErrorReporterAPI = require('./reporter.js');
var InternationalizationAPI = require('./i18n.js');
var AuditAPI = require('./audit.js');
module.exports = function(hatch) {
hatch.widget = new WidgetAPI(hatch);
hatch.importStream = new ImportStreamAPI(hatch);
hatch.hooks = new HooksAPI(hatch);
hatch.notification = new NotificationAPI(hatch);
hatch.page = new PageAPI(hatch);
hatch.errors = new ErrorsAPI(hatch);
hatch.modelContext = new ModelContextAPI(hatch);
hatch.upload = new UploadAPI(hatch);
hatch.themes = new ThemesAPI(hatch);
hatch.crypto = new CryptoAPI(hatch);
hatch.contentType = new ContentTypeAPI(hatch);
hatch.permissions = new PermissionsAPI(hatch);
hatch.search = new SearchAPI(hatch);
hatch.exportData = new ExportAPI(hatch);
hatch.docsplit = new DocsplitAPI(hatch);
hatch.errorReporter = new ErrorReporterAPI(hatch);
hatch.i18n = new InternationalizationAPI(hatch);
hatch.audit = new AuditAPI(hatch);
};