@webda/postgres 2.1.4 → 2.2.0
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 +5 -4
- package/webda.module.json +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webda/postgres",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Implements Postgres on webda",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"postgres",
|
|
@@ -12,13 +12,14 @@
|
|
|
12
12
|
"typings": "lib/index.d.ts",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "webda build",
|
|
15
|
+
"build:watch": "webda build --watch",
|
|
15
16
|
"pretest": "npm run build",
|
|
16
17
|
"lint": "prettier --check src/**/*",
|
|
17
18
|
"lint:fix": "prettier --write src/**/*",
|
|
18
19
|
"test": "c8 mocha --recursive --exit --timeout=100000 src/**/*.spec.ts src/*.spec.ts"
|
|
19
20
|
},
|
|
20
21
|
"dependencies": {
|
|
21
|
-
"@webda/core": "^2.
|
|
22
|
+
"@webda/core": "^2.2.0",
|
|
22
23
|
"pg": "^8.7.1"
|
|
23
24
|
},
|
|
24
25
|
"files": [
|
|
@@ -47,11 +48,11 @@
|
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
50
|
"@types/node": "14.6.0",
|
|
50
|
-
"@webda/shell": "^2.
|
|
51
|
+
"@webda/shell": "^2.2.0"
|
|
51
52
|
},
|
|
52
53
|
"type": "module",
|
|
53
54
|
"engines": {
|
|
54
55
|
"node": ">=14.6.0"
|
|
55
56
|
},
|
|
56
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "e507a18418e927daed6ccb4814412c56c870d951"
|
|
57
58
|
}
|
package/webda.module.json
CHANGED
|
@@ -33,8 +33,18 @@
|
|
|
33
33
|
"strict": {
|
|
34
34
|
"type": "boolean",
|
|
35
35
|
"description": "Allow to load object that does not have the type data",
|
|
36
|
+
"default": false
|
|
37
|
+
},
|
|
38
|
+
"defaultModel": {
|
|
39
|
+
"type": "boolean",
|
|
40
|
+
"description": "When __type model not found, use the model If strict is setup this parameter is not used",
|
|
36
41
|
"default": true
|
|
37
42
|
},
|
|
43
|
+
"forceModel": {
|
|
44
|
+
"type": "boolean",
|
|
45
|
+
"description": "If set, Store will ignore the __type",
|
|
46
|
+
"default": false
|
|
47
|
+
},
|
|
38
48
|
"slowQueryThreshold": {
|
|
39
49
|
"type": "number",
|
|
40
50
|
"description": "Slow query threshold",
|