@wxn0brp/db-core 0.10.3 → 0.10.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.
- package/dist/types/searchOpts.d.ts +8 -4
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -31,11 +31,11 @@ export type ComparisonOperators<T = any> = {
|
|
|
31
31
|
/** 5 between [min, max] */
|
|
32
32
|
$between?: NestedValue<T, [number, number], number>;
|
|
33
33
|
/** 2 in [1, 2, 3] */
|
|
34
|
-
$in?:
|
|
34
|
+
$in?: {
|
|
35
35
|
[K in keyof T]?: T[K] extends any[] ? T[K] : T[K][];
|
|
36
36
|
};
|
|
37
37
|
/** 5 not in [1, 2, 3] */
|
|
38
|
-
$nin?:
|
|
38
|
+
$nin?: {
|
|
39
39
|
[K in keyof T]?: T[K] extends any[] ? T[K] : T[K][];
|
|
40
40
|
};
|
|
41
41
|
/** id > 4 */
|
|
@@ -57,9 +57,13 @@ export type TypeAndExistenceOperators<T = any> = {
|
|
|
57
57
|
/** Array Operators with nested support */
|
|
58
58
|
export type ArrayOperators<T = any> = {
|
|
59
59
|
/** [1, 2, 3] includes 2 */
|
|
60
|
-
$arrinc?:
|
|
60
|
+
$arrinc?: {
|
|
61
|
+
[K in keyof T]?: T[K] extends any[] ? T[K][number][] : T[K][];
|
|
62
|
+
};
|
|
61
63
|
/** [1, 2, 3] array includes all elements e.g. [1, 2] */
|
|
62
|
-
$arrincall?:
|
|
64
|
+
$arrincall?: {
|
|
65
|
+
[K in keyof T]?: T[K] extends any[] ? T[K][number][] : T[K][];
|
|
66
|
+
};
|
|
63
67
|
/** [1, 2, 3] has size 3 */
|
|
64
68
|
$size?: NestedValue<T, number>;
|
|
65
69
|
};
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = "0.10.
|
|
1
|
+
export const version = "0.10.4";
|