@mikro-orm/core 6.4.1-dev.7 → 6.4.1-dev.8

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/core",
3
- "version": "6.4.1-dev.7",
3
+ "version": "6.4.1-dev.8",
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.4.1-dev.7",
67
+ "mikro-orm": "6.4.1-dev.8",
68
68
  "reflect-metadata": "0.2.2"
69
69
  }
70
70
  }
@@ -6,8 +6,8 @@ import type { EntityProperty } from '../typings';
6
6
  * or numbers (safe only for values up to `Number.MAX_SAFE_INTEGER`), or strings, depending on the `mode`.
7
7
  */
8
8
  export declare class BigIntType extends Type<string | bigint | number | null | undefined, string | null | undefined> {
9
- mode?: ("bigint" | "number" | "string") | undefined;
10
- constructor(mode?: ("bigint" | "number" | "string") | undefined);
9
+ mode?: "bigint" | "number" | "string" | undefined;
10
+ constructor(mode?: "bigint" | "number" | "string" | undefined);
11
11
  convertToDatabaseValue(value: string | bigint | null | undefined): string | null | undefined;
12
12
  convertToJSValue(value: string | bigint | null | undefined): bigint | number | string | null | undefined;
13
13
  toJSON(value: string | bigint | null | undefined): string | bigint | null | undefined;
@@ -5,8 +5,8 @@ import type { EntityProperty } from '../typings';
5
5
  * Type that maps an SQL DECIMAL to a JS string or number.
6
6
  */
7
7
  export declare class DecimalType extends Type<string | number, string> {
8
- mode?: ("number" | "string") | undefined;
9
- constructor(mode?: ("number" | "string") | undefined);
8
+ mode?: "number" | "string" | undefined;
9
+ constructor(mode?: "number" | "string" | undefined);
10
10
  convertToJSValue(value: string): number | string;
11
11
  compareValues(a: string, b: string): boolean;
12
12
  private format;