UNPKG

typeorm-extension

Version:

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

27 lines (26 loc) 712 B
import type { TSConfig } from '../../utils/tsconfig'; export type DataSourceOptionsBuildContext = { /** * Data source file name without extension * * Default: data-source */ dataSourceName?: string; /** * Directory where to find dataSource + config * * Default: process.cwd() */ directory?: string; /** * Directory path to the tsconfig.json file * * Default: process.cwd() + path.sep + tsconfig.json */ tsconfig?: string | TSConfig; /** * This option indicates if file paths should be preserved, * and treated as if the just-in-time compilation environment is detected. */ preserveFilePaths?: boolean; };