Initial commit - Event Planner application

This commit is contained in:
mberlin
2026-03-18 14:55:56 -03:00
commit 86d779eb4d
7548 changed files with 1006324 additions and 0 deletions

21
node_modules/@mikro-orm/postgresql/PostgreSqlDriver.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
import { EntityManagerType } from '@mikro-orm/core';
import { AbstractSqlDriver } from '@mikro-orm/sql';
import { PostgreSqlConnection } from './PostgreSqlConnection.js';
import { PostgreSqlPlatform } from './PostgreSqlPlatform.js';
import { PostgreSqlMikroORM } from './PostgreSqlMikroORM.js';
import { PostgreSqlEntityManager } from './PostgreSqlEntityManager.js';
/** Database driver for PostgreSQL. */
export class PostgreSqlDriver extends AbstractSqlDriver {
[EntityManagerType];
constructor(config) {
super(config, new PostgreSqlPlatform(), PostgreSqlConnection, ['kysely', 'pg']);
}
createEntityManager(useContext) {
const EntityManagerClass = this.config.get('entityManager', PostgreSqlEntityManager);
return new EntityManagerClass(this.config, this, this.metadata, useContext);
}
/** @inheritDoc */
getORMClass() {
return PostgreSqlMikroORM;
}
}