not-node 6.3.80 → 6.3.81
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/src/const.js +3 -0
- package/src/manifest/const.js +17 -0
package/package.json
CHANGED
package/src/const.js
CHANGED
|
@@ -4,10 +4,13 @@ const DEFAULT_PATH_MODULES = "./modules";
|
|
|
4
4
|
const DEFAULT_PATH_WS = "./ws";
|
|
5
5
|
const DEFAULT_PATH_DB_DUMPS = "../../db.dumps";
|
|
6
6
|
|
|
7
|
+
const ACTION_DATA_TYPES = require("./manifest/const").ACTION_DATA_TYPES;
|
|
8
|
+
|
|
7
9
|
module.exports = {
|
|
8
10
|
DEFAULT_PATH_WS,
|
|
9
11
|
DEFAULT_PATH_MODULES,
|
|
10
12
|
DEFAULT_PATH_STATIC,
|
|
11
13
|
DEFAULT_PATH_TMP,
|
|
12
14
|
DEFAULT_PATH_DB_DUMPS,
|
|
15
|
+
ACTION_DATA_TYPES,
|
|
13
16
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const ACTION_DATA_TYPE_DATA = "data";
|
|
2
|
+
const ACTION_DATA_TYPE_PAGER = "pager";
|
|
3
|
+
const ACTION_DATA_TYPE_SORTER = "sorter";
|
|
4
|
+
const ACTION_DATA_TYPE_FILTER = "filter";
|
|
5
|
+
const ACTION_DATA_TYPE_SEARCH = "search";
|
|
6
|
+
const ACTION_DATA_TYPE_RETURN = "return";
|
|
7
|
+
|
|
8
|
+
const ACTION_DATA_TYPES = Object.freeze({
|
|
9
|
+
DATA: ACTION_DATA_TYPE_DATA,
|
|
10
|
+
PAGER: ACTION_DATA_TYPE_PAGER,
|
|
11
|
+
SORTER: ACTION_DATA_TYPE_SORTER,
|
|
12
|
+
FILTER: ACTION_DATA_TYPE_FILTER,
|
|
13
|
+
SEARCH: ACTION_DATA_TYPE_SEARCH,
|
|
14
|
+
RETURN: ACTION_DATA_TYPE_RETURN,
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
module.exports.ACTION_DATA_TYPES = ACTION_DATA_TYPES;
|