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

49
node_modules/@mikro-orm/sql/plugin/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,49 @@
import {
type KyselyPlugin,
type PluginTransformQueryArgs,
type PluginTransformResultArgs,
type QueryResult,
type RootOperationNode,
type UnknownRow,
} from 'kysely';
import type { SqlEntityManager } from '../SqlEntityManager.js';
/** Configuration options for the MikroKyselyPlugin. */
export interface MikroKyselyPluginOptions {
/**
* Use database table names ('table') or entity names ('entity') in queries.
*
* @default 'table'
*/
tableNamingStrategy?: 'table' | 'entity';
/**
* Use database column names ('column') or property names ('property') in queries.
*
* @default 'column'
*/
columnNamingStrategy?: 'column' | 'property';
/**
* Automatically process entity `onCreate` hooks in INSERT queries.
*
* @default false
*/
processOnCreateHooks?: boolean;
/**
* Automatically process entity `onUpdate` hooks in UPDATE queries.
*
* @default false
*/
processOnUpdateHooks?: boolean;
/**
* Convert JavaScript values to database-compatible values (e.g., Date to timestamp, custom types).
*
* @default false
*/
convertValues?: boolean;
}
/** Kysely plugin that transforms queries and results to use MikroORM entity/property naming conventions. */
export declare class MikroKyselyPlugin implements KyselyPlugin {
#private;
constructor(em: SqlEntityManager, options?: MikroKyselyPluginOptions);
transformQuery(args: PluginTransformQueryArgs): RootOperationNode;
transformResult(args: PluginTransformResultArgs): Promise<QueryResult<UnknownRow>>;
}