@wxn0brp/vql-client 0.2.3 → 0.2.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.
Files changed (2) hide show
  1. package/dist/vql.d.ts +7 -1
  2. package/package.json +14 -1
package/dist/vql.d.ts CHANGED
@@ -25,6 +25,10 @@ export type ComparisonOperators<T = any> = {
25
25
  ], number>;
26
26
  $in?: Partial<Record<keyof T, T[keyof T][]>>;
27
27
  $nin?: Partial<Record<keyof T, T[keyof T][]>>;
28
+ $idGt?: PartialOfType<T, string | number>;
29
+ $idLt?: PartialOfType<T, string | number>;
30
+ $idGte?: PartialOfType<T, string | number>;
31
+ $idLte?: PartialOfType<T, string | number>;
28
32
  };
29
33
  export type TypeAndExistenceOperators<T = any> = {
30
34
  $exists?: PartialOfType<T, boolean, any>;
@@ -52,13 +56,15 @@ export type ArrayUpdater<T = any> = {
52
56
  $pullall?: PartialOfType<T, any>;
53
57
  };
54
58
  export type ObjectUpdater<T = any> = {
55
- $merge?: PartialOfType<T, any[]>;
59
+ $merge?: PartialOfType<T, any>;
60
+ $deepMerge?: PartialOfType<T, any>;
56
61
  };
57
62
  export type ValueUpdater<T = any> = {
58
63
  $inc?: PartialOfType<T, number>;
59
64
  $dec?: PartialOfType<T, number>;
60
65
  $unset?: PartialOfType<T, any>;
61
66
  $rename?: PartialOfType<T, any>;
67
+ $set?: PartialOfType<T, any>;
62
68
  };
63
69
  export type UpdaterArg<T = any> = ArrayUpdater<T> & ObjectUpdater<T> & ValueUpdater<T> & Arg<T>;
64
70
  export type Arg<T = any> = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wxn0brp/vql-client",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "description": "VQL Client",
@@ -9,6 +9,19 @@
9
9
  "type": "git",
10
10
  "url": "https://github.com/wxn0brP/VQL-client.git"
11
11
  },
12
+ "keywords": [
13
+ "vql",
14
+ "valthera",
15
+ "database",
16
+ "orm",
17
+ "api",
18
+ "crud",
19
+ "nosql",
20
+ "query",
21
+ "db",
22
+ "query-language",
23
+ "client"
24
+ ],
12
25
  "author": "wxn0brP",
13
26
  "license": "MIT",
14
27
  "type": "module",