prostgles-server 2.0.181 → 2.0.184

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prostgles-server",
3
- "version": "2.0.181",
3
+ "version": "2.0.184",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "bluebird": "^3.7.2",
30
30
  "file-type": "^16.5.3",
31
31
  "pg-promise": "^10.11.1",
32
- "prostgles-types": "^1.5.156",
32
+ "prostgles-types": "^1.5.158",
33
33
  "sharp": "^0.30.5"
34
34
  },
35
35
  "devDependencies": {
@@ -1 +1 @@
1
- 49933
1
+ 10213
@@ -10,7 +10,7 @@
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
12
  "@types/node": "^14.14.16",
13
- "prostgles-client": "^1.5.154",
13
+ "prostgles-client": "^1.5.155",
14
14
  "prostgles-types": "^1.5.68",
15
15
  "socket.io-client": "^4.5.1"
16
16
  }
@@ -67,17 +67,17 @@
67
67
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
68
68
  },
69
69
  "node_modules/prostgles-client": {
70
- "version": "1.5.154",
71
- "resolved": "https://registry.npmjs.org/prostgles-client/-/prostgles-client-1.5.154.tgz",
72
- "integrity": "sha512-7qnyrV1nH1LvSIUVsNUQoTVSQXNl8v1ZFAF+RKosqa06lIalMVbKfQ7V5l3HfqZXRlD1XVXXhpl5k+MwPSzwbg==",
70
+ "version": "1.5.155",
71
+ "resolved": "https://registry.npmjs.org/prostgles-client/-/prostgles-client-1.5.155.tgz",
72
+ "integrity": "sha512-orBcUdhUN3Y2RUnNWPqlZEQ123UJIQQ59e3cx873Tx58UlKnSKzRiY2Gi9WVaUF4fW157Rvfay3Rsb0qRRgbeQ==",
73
73
  "dependencies": {
74
- "prostgles-types": "^1.5.156"
74
+ "prostgles-types": "^1.5.157"
75
75
  }
76
76
  },
77
77
  "node_modules/prostgles-types": {
78
- "version": "1.5.156",
79
- "resolved": "https://registry.npmjs.org/prostgles-types/-/prostgles-types-1.5.156.tgz",
80
- "integrity": "sha512-c3HCkBtIncye6viMEifvpIrkPB24s4wgtGMJ+cT0qegFNvZpmFtByApgRBwX9VUTGOG4twkXWdSEZl1oIsjdcQ=="
78
+ "version": "1.5.157",
79
+ "resolved": "https://registry.npmjs.org/prostgles-types/-/prostgles-types-1.5.157.tgz",
80
+ "integrity": "sha512-+EyjDatAoAFlEglsBH7wjzIQMixRgyJB/ST3/ibH2/+EOr6RQFzTt4maJUVborcUhlQCj7MKjl/ddYcbch6vTQ=="
81
81
  },
82
82
  "node_modules/socket.io-client": {
83
83
  "version": "4.5.1",
@@ -176,17 +176,17 @@
176
176
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
177
177
  },
178
178
  "prostgles-client": {
179
- "version": "1.5.154",
180
- "resolved": "https://registry.npmjs.org/prostgles-client/-/prostgles-client-1.5.154.tgz",
181
- "integrity": "sha512-7qnyrV1nH1LvSIUVsNUQoTVSQXNl8v1ZFAF+RKosqa06lIalMVbKfQ7V5l3HfqZXRlD1XVXXhpl5k+MwPSzwbg==",
179
+ "version": "1.5.155",
180
+ "resolved": "https://registry.npmjs.org/prostgles-client/-/prostgles-client-1.5.155.tgz",
181
+ "integrity": "sha512-orBcUdhUN3Y2RUnNWPqlZEQ123UJIQQ59e3cx873Tx58UlKnSKzRiY2Gi9WVaUF4fW157Rvfay3Rsb0qRRgbeQ==",
182
182
  "requires": {
183
- "prostgles-types": "^1.5.156"
183
+ "prostgles-types": "^1.5.157"
184
184
  }
185
185
  },
186
186
  "prostgles-types": {
187
- "version": "1.5.156",
188
- "resolved": "https://registry.npmjs.org/prostgles-types/-/prostgles-types-1.5.156.tgz",
189
- "integrity": "sha512-c3HCkBtIncye6viMEifvpIrkPB24s4wgtGMJ+cT0qegFNvZpmFtByApgRBwX9VUTGOG4twkXWdSEZl1oIsjdcQ=="
187
+ "version": "1.5.157",
188
+ "resolved": "https://registry.npmjs.org/prostgles-types/-/prostgles-types-1.5.157.tgz",
189
+ "integrity": "sha512-+EyjDatAoAFlEglsBH7wjzIQMixRgyJB/ST3/ibH2/+EOr6RQFzTt4maJUVborcUhlQCj7MKjl/ddYcbch6vTQ=="
190
190
  },
191
191
  "socket.io-client": {
192
192
  "version": "4.5.1",
@@ -13,7 +13,7 @@
13
13
  "license": "ISC",
14
14
  "dependencies": {
15
15
  "@types/node": "^14.14.16",
16
- "prostgles-client": "^1.5.154",
16
+ "prostgles-client": "^1.5.155",
17
17
  "prostgles-types": "^1.5.68",
18
18
  "socket.io-client": "^4.5.1"
19
19
  }
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "../..": {
23
23
  "name": "prostgles-server",
24
- "version": "2.0.180",
24
+ "version": "2.0.183",
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@aws-sdk/client-s3": "^3.95.0",
@@ -29,7 +29,7 @@
29
29
  "bluebird": "^3.7.2",
30
30
  "file-type": "^16.5.3",
31
31
  "pg-promise": "^10.11.1",
32
- "prostgles-types": "^1.5.156",
32
+ "prostgles-types": "^1.5.158",
33
33
  "sharp": "^0.30.5"
34
34
  },
35
35
  "devDependencies": {
@@ -1371,7 +1371,7 @@
1371
1371
  "bluebird": "^3.7.2",
1372
1372
  "file-type": "^16.5.3",
1373
1373
  "pg-promise": "^10.11.1",
1374
- "prostgles-types": "^1.5.156",
1374
+ "prostgles-types": "^1.5.158",
1375
1375
  "sharp": "^0.30.5",
1376
1376
  "typescript": "^4.7.3"
1377
1377
  }
@@ -1 +1 @@
1
- {"version":3,"file":"publishTypeCheck.d.ts","sourceRoot":"","sources":["publishTypeCheck.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB,YA2H5B,CAAA"}
1
+ {"version":3,"file":"publishTypeCheck.d.ts","sourceRoot":"","sources":["publishTypeCheck.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB,YAqI5B,CAAA"}
@@ -8,7 +8,10 @@ const testPublishTypes = () => {
8
8
  delete: "*",
9
9
  select: {
10
10
  fields: { h: 1, id: 1 },
11
- forcedFilter: { h: { $overlaps: ["23", "32"] } }
11
+ forcedFilter: { $and: [
12
+ { h: { $overlaps: ["23", "32"] } },
13
+ { $existsJoined: { items: { "h.$eq": [] } } }
14
+ ] }
12
15
  }
13
16
  },
14
17
  items3: "*"
@@ -19,11 +22,18 @@ const testPublishTypes = () => {
19
22
  delete: "*",
20
23
  select: {
21
24
  fields: { h: 1, id: 1 },
22
- forcedFilter: { h: { $overlaps: ["23", "32"] } }
25
+ forcedFilter: {
26
+ $and: [
27
+ { h: { $overlaps: ["23", "32"] } },
28
+ { $existsJoined: { items: { "h.$eq": [] } } }
29
+ ]
30
+ }
23
31
  }
24
32
  },
25
33
  items3: "*"
26
34
  };
35
+ const p123 = p11;
36
+ const p1234 = p1;
27
37
  const p12 = "*";
28
38
  const res = {
29
39
  shapes: "*",
@@ -10,7 +10,10 @@ export const testPublishTypes = () => {
10
10
  delete: "*",
11
11
  select: {
12
12
  fields: { h: 1, id: 1 },
13
- forcedFilter: { h: { $overlaps: ["23", "32"]} }
13
+ forcedFilter: { $and: [
14
+ { h: { $overlaps: ["23", "32"]} },
15
+ { $existsJoined: { items: { "h.$eq": [] } } }
16
+ ]}
14
17
  }
15
18
  },
16
19
  items3: "*"
@@ -22,11 +25,18 @@ export const testPublishTypes = () => {
22
25
  delete: "*",
23
26
  select: {
24
27
  fields: { h: 1, id: 1 },
25
- forcedFilter: { h: { $overlaps: ["23", "32"]} }
28
+ forcedFilter: {
29
+ $and: [
30
+ { h: { $overlaps: ["23", "32"]} },
31
+ { $existsJoined: { items: { "h.$eq": [] } } }
32
+ ]
33
+ }
26
34
  }
27
35
  },
28
36
  items3: "*"
29
37
  };
38
+ const p123: PublishFullyTyped<DBSchemaGenerated> = p11;
39
+ const p1234: PublishFullyTyped = p1;
30
40
 
31
41
  const p12: PublishFullyTyped = "*";
32
42