node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

35
server/node_modules/umzug/lib/storage/mongodb.d.ts generated vendored Normal file
View File

@@ -0,0 +1,35 @@
import type { UmzugStorage } from './contract';
type AnyObject = Record<string, any>;
export type MongoDBConnectionOptions = {
/**
A connection to target database established with MongoDB Driver
*/
readonly connection: AnyObject;
/**
The name of the migration collection in MongoDB
@default 'migrations'
*/
readonly collectionName?: string;
};
export type MongoDBCollectionOptions = {
/**
A reference to a MongoDB Driver collection
*/
readonly collection: AnyObject;
};
export type MongoDBStorageConstructorOptions = MongoDBConnectionOptions | MongoDBCollectionOptions;
export declare class MongoDBStorage implements UmzugStorage {
readonly collection: AnyObject;
readonly connection: any;
readonly collectionName: string;
constructor(options: MongoDBStorageConstructorOptions);
logMigration({ name: migrationName }: {
name: string;
}): Promise<void>;
unlogMigration({ name: migrationName }: {
name: string;
}): Promise<void>;
executed(): Promise<string[]>;
}
export {};