UNPKG

typeorm-extension

Version:

A library to create/drop database, simple seeding data sets, ...

43 lines (42 loc) 892 B
import type { Seeder, SeederConstructor } from './type'; export declare class SeederEntity { /** * ID of the seeder. * * Indicates order of the executed seeders. */ id?: number; /** * Timestamp of the seeder. */ timestamp: number; /** * Name of the seeder (class name). */ name: string; /** * Instance of seeder constructor. */ instance?: Seeder; /** * File name of the seeder. */ fileName?: string; /** * File path of the seeder. */ filePath?: string; /** * Result of the executed seeder. */ result?: unknown; constructor(ctx: { id?: number; timestamp: number; name: string; constructor?: SeederConstructor; fileName?: string; filePath?: string; }); get trackExecution(): boolean | undefined; }