@ecopex/ecopex-framework 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/routes/auto/handler.js +6 -6
package/package.json
CHANGED
package/routes/auto/handler.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const db = require('
|
|
2
|
-
const BCRYPT = require('
|
|
1
|
+
const db = require('../../libraries/knex');
|
|
2
|
+
const BCRYPT = require('../../libraries/bcrypt');
|
|
3
3
|
const bcrypt = new BCRYPT();
|
|
4
|
-
const i18n = require('
|
|
5
|
-
const { uploadFile } = require('
|
|
6
|
-
const { randomChars } = require('
|
|
7
|
-
const { get_all, get_by_primary_key, create_item, update_item, delete_item } = require('
|
|
4
|
+
const i18n = require('../../utils/i18n');
|
|
5
|
+
const { uploadFile } = require('../../libraries/upload');
|
|
6
|
+
const { randomChars } = require('../../libraries/controls');
|
|
7
|
+
const { get_all, get_by_primary_key, create_item, update_item, delete_item } = require('../../stores');
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Get all records with pagination, search, and join tables
|