@mikro-orm/core 6.2.10-dev.52 → 6.2.10-dev.53
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/types/Type.d.ts +1 -1
- package/typings.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/core",
|
|
3
|
-
"version": "6.2.10-dev.
|
|
3
|
+
"version": "6.2.10-dev.53",
|
|
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.2.10-dev.
|
|
67
|
+
"mikro-orm": "6.2.10-dev.53",
|
|
68
68
|
"reflect-metadata": "0.2.2"
|
|
69
69
|
}
|
|
70
70
|
}
|
package/types/Type.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export declare abstract class Type<JSType = string, DBType = JSType> {
|
|
|
59
59
|
* Gets the SQL declaration snippet for a field of this type.
|
|
60
60
|
*/
|
|
61
61
|
getColumnType(prop: EntityProperty, platform: Platform): string;
|
|
62
|
-
static getType<JSType, DBType = JSType
|
|
62
|
+
static getType<JSType, DBType = JSType, TypeClass extends Constructor<Type<JSType, DBType>> = Constructor<Type<JSType, DBType>>>(cls: TypeClass): InstanceType<TypeClass>;
|
|
63
63
|
/**
|
|
64
64
|
* Checks whether the argument is instance of `Type`.
|
|
65
65
|
*/
|
package/typings.d.ts
CHANGED
|
@@ -725,9 +725,9 @@ export interface LoadedReference<T> extends Reference<NonNullable<T>> {
|
|
|
725
725
|
$: NonNullable<T>;
|
|
726
726
|
get(): NonNullable<T>;
|
|
727
727
|
}
|
|
728
|
-
export interface LoadedScalarReference<T> extends ScalarReference<
|
|
729
|
-
$:
|
|
730
|
-
get():
|
|
728
|
+
export interface LoadedScalarReference<T> extends ScalarReference<T> {
|
|
729
|
+
$: T;
|
|
730
|
+
get(): T;
|
|
731
731
|
}
|
|
732
732
|
export interface LoadedCollection<T extends object> extends Collection<T> {
|
|
733
733
|
$: Collection<T>;
|