@prisma/config 6.4.0-dev.46 → 6.4.0-dev.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PrismaConfig.d.ts +26 -24
- package/dist/PrismaConfig.js +34 -29
- package/dist/defaultConfig.d.ts +2 -2
- package/dist/defaultConfig.js +22189 -7
- package/dist/defaultTestConfig.d.ts +2 -2
- package/dist/defaultTestConfig.js +22189 -7
- package/dist/defineConfig.d.ts +6 -6
- package/dist/defineConfig.js +22234 -54
- package/dist/index.d.ts +1 -1
- package/dist/index.js +80 -79
- package/dist/loadConfigFromFile.d.ts +2 -2
- package/dist/loadConfigFromFile.js +31 -28
- package/package.json +3 -3
package/dist/defineConfig.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { DriverAdapter as QueryableDriverAdapter } from '@prisma/driver-adapter-utils';
|
|
2
|
-
import type {
|
|
3
|
-
export type {
|
|
2
|
+
import type { PrismaConfigInternal, PrismaSchemaConfigShape } from './PrismaConfig';
|
|
3
|
+
export type { PrismaConfigInternal };
|
|
4
4
|
/**
|
|
5
|
-
* Define the configuration for the Prisma Development Kit.
|
|
5
|
+
* Define the input configuration for the Prisma Development Kit.
|
|
6
6
|
*/
|
|
7
|
-
export type
|
|
7
|
+
export type PrismaConfig<Env> = {
|
|
8
8
|
/**
|
|
9
9
|
* Whether to enable experimental features.
|
|
10
10
|
* Currently, every feature is considered experimental.
|
|
@@ -13,7 +13,7 @@ export type PrismaConfigInput<Env> = {
|
|
|
13
13
|
/**
|
|
14
14
|
* The location of the Prisma schema file(s).
|
|
15
15
|
*/
|
|
16
|
-
schema?:
|
|
16
|
+
schema?: PrismaSchemaConfigShape;
|
|
17
17
|
/**
|
|
18
18
|
* The configuration for the Prisma Studio.
|
|
19
19
|
*/
|
|
@@ -29,4 +29,4 @@ export type PrismaConfigInput<Env> = {
|
|
|
29
29
|
/**
|
|
30
30
|
* Define the configuration for the Prisma Development Kit.
|
|
31
31
|
*/
|
|
32
|
-
export declare function defineConfig<Env>(configInput:
|
|
32
|
+
export declare function defineConfig<Env>(configInput: PrismaConfig<Env>): PrismaConfigInternal<Env>;
|