defaultConfig.ts•517 B
import { makePrismaConfigInternal, type PrismaConfigInternal } from './PrismaConfig'
/**
* All default values for the config shall be set here.
* Modules should not have to deal with missing config values and determining a default themselves as far as possible.
* => Consistent defaults and centralized top-level control of configuration via the CLI.
*/
export function defaultConfig(): PrismaConfigInternal {
return makePrismaConfigInternal({
loadedFromFile: null,
deprecatedPackageJson: null,
})
}