@conduitplatform/grpc-sdk 0.16.0-alpha.25 → 0.16.0-alpha.29
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/dist/types/db.d.ts +3 -1
- package/package.json +4 -6
package/dist/types/db.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
type documentKeys<T> = keyof T;
|
|
2
2
|
type documentValues<T> = T[keyof T];
|
|
3
|
-
type operators = '$eq' | '$ne' | '$gt' | '$gte' | '$lt' | '$lte' | '$regex' | '$options' | '$like' | '$ilike';
|
|
3
|
+
type operators = '$eq' | '$ne' | '$gt' | '$gte' | '$lt' | '$lte' | '$regex' | '$options' | '$like' | '$ilike' | '$exists';
|
|
4
4
|
type arrayOperators = '$in' | '$nin';
|
|
5
5
|
type conditionOperators = '$or' | '$and';
|
|
6
6
|
type simpleQuery<T> = {
|
|
7
7
|
[key in documentKeys<T>]?: documentValues<T> | mixedQuery<T>;
|
|
8
8
|
};
|
|
9
9
|
type mixedQuery<T> = {
|
|
10
|
+
$exists: boolean;
|
|
11
|
+
} | {
|
|
10
12
|
[key in operators]?: documentValues<T>;
|
|
11
13
|
} | {
|
|
12
14
|
[key in arrayOperators]?: documentValues<T>[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@conduitplatform/grpc-sdk",
|
|
3
|
-
"version": "0.16.0-alpha.
|
|
3
|
+
"version": "0.16.0-alpha.29",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"engines": {
|
|
@@ -18,12 +18,11 @@
|
|
|
18
18
|
"@grpc/grpc-js": "^1.9.7",
|
|
19
19
|
"@grpc/proto-loader": "^0.7.6",
|
|
20
20
|
"@types/google-protobuf": "^3.15.6",
|
|
21
|
-
"@types/ioredis": "^5.0.0",
|
|
22
21
|
"@types/lodash": "^4.14.200",
|
|
23
22
|
"abort-controller-x": "^0.4.1",
|
|
24
23
|
"convict": "^6.2.4",
|
|
25
24
|
"express": "^4.18.2",
|
|
26
|
-
"fast-jwt": "^
|
|
25
|
+
"fast-jwt": "^3.3.0",
|
|
27
26
|
"fs-extra": "^11.1.1",
|
|
28
27
|
"ioredis": "^5.3.2",
|
|
29
28
|
"lodash": "^4.17.21",
|
|
@@ -47,13 +46,12 @@
|
|
|
47
46
|
"directory": "libraries/grpc-sdk"
|
|
48
47
|
},
|
|
49
48
|
"devDependencies": {
|
|
50
|
-
"@types/convict": "^6.1.
|
|
49
|
+
"@types/convict": "^6.1.6",
|
|
51
50
|
"@types/express": "^4.17.17",
|
|
52
51
|
"@types/fs-extra": "^11.0.2",
|
|
53
52
|
"@types/google-protobuf": "^3.15.6",
|
|
54
|
-
"@types/ioredis": "^5.0.0",
|
|
55
53
|
"@types/lodash": "^4.14.200",
|
|
56
|
-
"@types/node": "
|
|
54
|
+
"@types/node": "20.8.10",
|
|
57
55
|
"copyfiles": "^2.4.1",
|
|
58
56
|
"rimraf": "^5.0.5",
|
|
59
57
|
"ts-proto": "^1.160.0",
|