corrected dependency paths

This commit is contained in:
Ro 2019-11-23 08:40:51 -08:00
parent 6b11b10965
commit 5824f36e47
5 changed files with 10 additions and 10 deletions

View file

@ -1,4 +1,4 @@
import * as DataEvent from '../../tools/events/DataEvent'; import * as DataEvent from '../../../src/com/events/DataEvent';
const express = require('express'); const express = require('express');
const router = express.Router(); const router = express.Router();
const bCrypt = require('bcrypt-nodejs'); const bCrypt = require('bcrypt-nodejs');

View file

@ -1,13 +1,13 @@
import DateUtils from '../../../src/utils/DateUtils'; import DateUtils from '../../../src/com/utils/DateUtils';
import Pages from '../../content/Pages'; import Pages from '../../data/Pages';
import StringUtils from '../../../src/utils/StringUtils'; import StringUtils from '../../../src/com/utils/StringUtils';
import * as DataEvent from '../../../src/events/DataEvent'; import * as DataEvent from '../../../src/com/events/DataEvent';
import sanitize from 'sanitize-html'; import sanitize from 'sanitize-html';
import RightsManager, { import RightsManager, {
TASK_CREATE, TASK_CREATE,
TASK_UPDATE, TASK_UPDATE,
OBJECT_POST OBJECT_POST
} from '../../../src/utils/RightsManager'; } from '../../../src/com/utils/RightsManager';
const express = require('express'); const express = require('express');
const router = express.Router(); const router = express.Router();
const multer = require('multer'); const multer = require('multer');

View file

@ -1,4 +1,4 @@
import Pages from '../../control/Pages'; import Pages from '../../data/Pages';
const express = require('express'); const express = require('express');
const router = express.Router(); const router = express.Router();
const settings = require('../../../config/site-settings.json'); const settings = require('../../../config/site-settings.json');

View file

@ -1,4 +1,4 @@
import DateUtils from '../../../src/utils/DateUtils'; import DateUtils from '../../../src/com/utils/DateUtils';
var express = require('express'); var express = require('express');
var router = express.Router(); var router = express.Router();
var hljs = require('highlight.js/lib/highlight'); var hljs = require('highlight.js/lib/highlight');

View file

@ -1,5 +1,5 @@
import DataUtils, { REQUEST_TYPE_POST, CONTENT_TYPE_JSON } from '../../brain/utils/tools/DataUtils'; import DataUtils, { REQUEST_TYPE_POST, CONTENT_TYPE_JSON } from './utils/DataUtils';
import * as DataEvent from '../../brain/utils/events/DataEvent'; import * as DataEvent from './events/DataEvent';
//import DashManager from './controllers/DashManager'; //import DashManager from './controllers/DashManager';
//import DBUtils from '../../../../../brain/utils/tools/DBUtils'; //import DBUtils from '../../../../../brain/utils/tools/DBUtils';