|
|
@@ -25,9 +25,11 @@ import { aclService as aclServiceSingletonInstance } from '../service/acl';
|
|
|
import AppService from '../service/app';
|
|
|
import AttachmentService from '../service/attachment';
|
|
|
import { configManager as configManagerSingletonInstance } from '../service/config-manager';
|
|
|
+import ExportService from '../service/export';
|
|
|
import { instanciate as instanciateExternalAccountService } from '../service/external-account';
|
|
|
import { FileUploader, getUploader } from '../service/file-uploader'; // eslint-disable-line no-unused-vars
|
|
|
import { G2GTransferPusherService, G2GTransferReceiverService } from '../service/g2g-transfer';
|
|
|
+import GrowiBridgeService from '../service/growi-bridge';
|
|
|
import { InstallerService } from '../service/installer';
|
|
|
import PageService from '../service/page';
|
|
|
import PageGrantService from '../service/page-grant';
|
|
|
@@ -683,14 +685,12 @@ Crowi.prototype.setupUserGroupService = async function() {
|
|
|
};
|
|
|
|
|
|
Crowi.prototype.setUpGrowiBridge = async function() {
|
|
|
- const GrowiBridgeService = require('../service/growi-bridge');
|
|
|
if (this.growiBridgeService == null) {
|
|
|
this.growiBridgeService = new GrowiBridgeService(this);
|
|
|
}
|
|
|
};
|
|
|
|
|
|
Crowi.prototype.setupExport = async function() {
|
|
|
- const ExportService = require('../service/export');
|
|
|
if (this.exportService == null) {
|
|
|
this.exportService = new ExportService(this);
|
|
|
}
|