@prisma/config 6.20.0-integration-feat-prisma-7-config.2 → 6.20.0-integration-feat-prisma-7-config.3

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/index.d.ts CHANGED
@@ -212,7 +212,7 @@ export declare type PrismaConfig = {
212
212
  /**
213
213
  * The datasource URL configuration for the database connection.
214
214
  */
215
- datasource: Simplify<Datasource>;
215
+ datasource?: Simplify<Datasource>;
216
216
  /**
217
217
  * Experimental feature gates. Each experimental feature must be explicitly enabled.
218
218
  */
@@ -282,7 +282,7 @@ declare interface Queryable<Query, Result> extends AdapterInfo {
282
282
  }
283
283
 
284
284
  export declare type SchemaEngineConfigInternal = {
285
- datasource: Datasource;
285
+ datasource?: Datasource;
286
286
  };
287
287
 
288
288
  /**
package/dist/index.js CHANGED
@@ -453,7 +453,8 @@ if (false) {
453
453
  __testPrismaConfigInternal;
454
454
  }
455
455
  var PrismaConfigShape = import_effect2.Schema.Struct({
456
- datasource: DatasourceShape,
456
+ // @aqrln: datasource should be mandatory once we close https://linear.app/prisma-company/issue/TML-1545/remove-url-datasource-attribute-from-psl
457
+ datasource: import_effect2.Schema.optional(DatasourceShape),
457
458
  experimental: import_effect2.Schema.optional(ExperimentalConfigShape),
458
459
  schema: import_effect2.Schema.optional(import_effect2.Schema.String),
459
460
  studio: import_effect2.Schema.optional(PrismaStudioConfigShape),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/config",
3
- "version": "6.20.0-integration-feat-prisma-7-config.2",
3
+ "version": "6.20.0-integration-feat-prisma-7-config.3",
4
4
  "description": "Internal package used to define and read Prisma configuration files",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -20,8 +20,8 @@
20
20
  "devDependencies": {
21
21
  "dotenv": "17.2.3",
22
22
  "vitest": "3.2.4",
23
- "@prisma/driver-adapter-utils": "6.20.0-integration-feat-prisma-7-config.2",
24
- "@prisma/get-platform": "6.20.0-integration-feat-prisma-7-config.2"
23
+ "@prisma/driver-adapter-utils": "6.20.0-integration-feat-prisma-7-config.3",
24
+ "@prisma/get-platform": "6.20.0-integration-feat-prisma-7-config.3"
25
25
  },
26
26
  "files": [
27
27
  "dist"