@mikro-orm/core 6.3.12-dev.4 → 6.3.12-dev.6
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 +2 -2
- package/typings.d.ts +10 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/core",
|
|
3
|
-
"version": "6.3.12-dev.
|
|
3
|
+
"version": "6.3.12-dev.6",
|
|
4
4
|
"description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.mjs",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"esprima": "4.0.1",
|
|
65
65
|
"fs-extra": "11.2.0",
|
|
66
66
|
"globby": "11.1.0",
|
|
67
|
-
"mikro-orm": "6.3.12-dev.
|
|
67
|
+
"mikro-orm": "6.3.12-dev.6",
|
|
68
68
|
"reflect-metadata": "0.2.2"
|
|
69
69
|
}
|
|
70
70
|
}
|
package/typings.d.ts
CHANGED
|
@@ -90,12 +90,12 @@ export type Scalar = boolean | number | string | bigint | symbol | Date | RegExp
|
|
|
90
90
|
};
|
|
91
91
|
export type ExpandScalar<T> = null | (T extends string ? T | RegExp : T extends Date ? Date | string : T extends bigint ? bigint | string | number : T);
|
|
92
92
|
export type OperatorMap<T> = {
|
|
93
|
-
$and?: ExpandQuery<T>[];
|
|
94
|
-
$or?: ExpandQuery<T>[];
|
|
95
|
-
$eq?: ExpandScalar<T> | ExpandScalar<T>[];
|
|
93
|
+
$and?: readonly ExpandQuery<T>[];
|
|
94
|
+
$or?: readonly ExpandQuery<T>[];
|
|
95
|
+
$eq?: ExpandScalar<T> | readonly ExpandScalar<T>[];
|
|
96
96
|
$ne?: ExpandScalar<T>;
|
|
97
|
-
$in?: ExpandScalar<T>[];
|
|
98
|
-
$nin?: ExpandScalar<T>[];
|
|
97
|
+
$in?: readonly ExpandScalar<T>[];
|
|
98
|
+
$nin?: readonly ExpandScalar<T>[];
|
|
99
99
|
$not?: ExpandQuery<T>;
|
|
100
100
|
$none?: ExpandQuery<T>;
|
|
101
101
|
$some?: ExpandQuery<T>;
|
|
@@ -108,13 +108,13 @@ export type OperatorMap<T> = {
|
|
|
108
108
|
$re?: string;
|
|
109
109
|
$ilike?: string;
|
|
110
110
|
$fulltext?: string;
|
|
111
|
-
$overlap?: string[] | string | object;
|
|
112
|
-
$contains?: string[] | string | object;
|
|
113
|
-
$contained?: string[] | string | object;
|
|
111
|
+
$overlap?: readonly string[] | string | object;
|
|
112
|
+
$contains?: readonly string[] | string | object;
|
|
113
|
+
$contained?: readonly string[] | string | object;
|
|
114
114
|
$exists?: boolean;
|
|
115
115
|
$hasKey?: string;
|
|
116
|
-
$hasKeys?: string[];
|
|
117
|
-
$hasSomeKeys?: string[];
|
|
116
|
+
$hasKeys?: readonly string[];
|
|
117
|
+
$hasSomeKeys?: readonly string[];
|
|
118
118
|
};
|
|
119
119
|
export type FilterItemValue<T> = T | ExpandScalar<T> | Primary<T>;
|
|
120
120
|
export type FilterValue<T> = OperatorMap<FilterItemValue<T>> | FilterItemValue<T> | FilterItemValue<T>[] | null;
|