@wxn0brp/db-core 0.3.1 → 0.3.2
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 +3 -2
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DeepPartial, NestedValue } from "./utils.js";
|
|
2
|
+
export type JSPrimitiveType = "string" | "number" | "boolean" | "bigint" | "symbol" | "undefined" | "function" | "object";
|
|
2
3
|
/** Logical Operators */
|
|
3
4
|
export type LogicalOperators<T = any> = {
|
|
4
5
|
/**
|
|
@@ -49,9 +50,9 @@ export type ComparisonOperators<T = any> = {
|
|
|
49
50
|
/** Type and Existence Operators with nested support */
|
|
50
51
|
export type TypeAndExistenceOperators<T = any> = {
|
|
51
52
|
/** "name" in { name: "John" } */
|
|
52
|
-
$exists?: NestedValue<T, boolean>;
|
|
53
|
+
$exists?: NestedValue<T, boolean, any>;
|
|
53
54
|
/** "name" == "string" in { name: "John" } */
|
|
54
|
-
$type?: NestedValue<T,
|
|
55
|
+
$type?: NestedValue<T, JSPrimitiveType, any>;
|
|
55
56
|
};
|
|
56
57
|
/** Array Operators with nested support */
|
|
57
58
|
export type ArrayOperators<T = any> = {
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = "0.3.
|
|
1
|
+
export const version = "0.3.2";
|