@mikro-orm/core 6.3.14-dev.0 → 6.3.14-dev.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/core",
3
- "version": "6.3.14-dev.0",
3
+ "version": "6.3.14-dev.2",
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.14-dev.0",
67
+ "mikro-orm": "6.3.14-dev.2",
68
68
  "reflect-metadata": "0.2.2"
69
69
  }
70
70
  }
package/typings.d.ts CHANGED
@@ -535,6 +535,8 @@ export interface GenerateOptions {
535
535
  takeTables?: (RegExp | string)[];
536
536
  skipTables?: (RegExp | string)[];
537
537
  skipColumns?: Dictionary<(RegExp | string)[]>;
538
+ forceUndefined?: boolean;
539
+ undefinedDefaults?: boolean;
538
540
  bidirectionalRelations?: boolean;
539
541
  identifiedReferences?: boolean;
540
542
  entitySchema?: boolean;
@@ -102,6 +102,8 @@ export declare class Configuration<D extends IDatabaseDriver = IDatabaseDriver,
102
102
  prefixMode: "absolute";
103
103
  };
104
104
  entityGenerator: {
105
+ forceUndefined: true;
106
+ undefinedDefaults: false;
105
107
  bidirectionalRelations: false;
106
108
  identifiedReferences: false;
107
109
  scalarTypeInDecorator: false;
@@ -96,6 +96,8 @@ class Configuration {
96
96
  prefixMode: 'absolute',
97
97
  },
98
98
  entityGenerator: {
99
+ forceUndefined: true,
100
+ undefinedDefaults: false,
99
101
  bidirectionalRelations: false,
100
102
  identifiedReferences: false,
101
103
  scalarTypeInDecorator: false,