@mikro-orm/mariadb 7.0.0-dev.94 → 7.0.0-dev.98

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.
@@ -1,9 +1,12 @@
1
- import { type AnyEntity, type Configuration, type ConnectionType, type LoggingOptions, type Transaction } from '@mikro-orm/core';
1
+ import { type AnyEntity, type Configuration, type ConnectionType, type LoggingOptions, type Transaction, type Constructor } from '@mikro-orm/core';
2
2
  import { MySqlDriver, type SqlEntityManager } from '@mikro-orm/mysql';
3
3
  import { MariaDbPlatform } from './MariaDbPlatform.js';
4
4
  import { MariaDbQueryBuilder } from './MariaDbQueryBuilder.js';
5
+ import { MariaDbMikroORM } from './MariaDbMikroORM.js';
5
6
  export declare class MariaDbDriver extends MySqlDriver {
6
7
  readonly platform: MariaDbPlatform;
7
8
  constructor(config: Configuration);
8
9
  createQueryBuilder<T extends AnyEntity<T>>(entityName: string, ctx?: Transaction, preferredConnectionType?: ConnectionType, convertCustomTypes?: boolean, loggerContext?: LoggingOptions, alias?: string, em?: SqlEntityManager): MariaDbQueryBuilder<T, any, any, any>;
10
+ /** @inheritDoc */
11
+ getORMClass(): Constructor<MariaDbMikroORM>;
9
12
  }
package/MariaDbDriver.js CHANGED
@@ -1,7 +1,8 @@
1
- import { QueryFlag } from '@mikro-orm/core';
1
+ import { QueryFlag, } from '@mikro-orm/core';
2
2
  import { MySqlDriver } from '@mikro-orm/mysql';
3
3
  import { MariaDbPlatform } from './MariaDbPlatform.js';
4
4
  import { MariaDbQueryBuilder } from './MariaDbQueryBuilder.js';
5
+ import { MariaDbMikroORM } from './MariaDbMikroORM.js';
5
6
  export class MariaDbDriver extends MySqlDriver {
6
7
  constructor(config) {
7
8
  super(config);
@@ -16,4 +17,8 @@ export class MariaDbDriver extends MySqlDriver {
16
17
  }
17
18
  return qb;
18
19
  }
20
+ /** @inheritDoc */
21
+ getORMClass() {
22
+ return MariaDbMikroORM;
23
+ }
19
24
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mikro-orm/mariadb",
3
3
  "type": "module",
4
- "version": "7.0.0-dev.94",
4
+ "version": "7.0.0-dev.98",
5
5
  "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.",
6
6
  "exports": {
7
7
  "./package.json": "./package.json",
@@ -50,14 +50,14 @@
50
50
  "access": "public"
51
51
  },
52
52
  "dependencies": {
53
- "@mikro-orm/mysql": "7.0.0-dev.94"
53
+ "@mikro-orm/mysql": "7.0.0-dev.98"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@mikro-orm/core": "^6.6.2",
57
57
  "kysely": "0.28.8"
58
58
  },
59
59
  "peerDependencies": {
60
- "@mikro-orm/core": "7.0.0-dev.94",
60
+ "@mikro-orm/core": "7.0.0-dev.98",
61
61
  "kysely": "*"
62
62
  }
63
63
  }