@prisma/client-generator-ts 7.5.0-dev.28 → 7.5.0-dev.29

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.js CHANGED
@@ -3713,7 +3713,9 @@ function getPrismaClientClassDocComment({ dmmf }) {
3713
3713
  Type-safe database client for TypeScript
3714
3714
  @example
3715
3715
  \`\`\`
3716
- const prisma = new PrismaClient()
3716
+ const prisma = new PrismaClient({
3717
+ adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
3718
+ })
3717
3719
  // Fetch zero or more ${(0, import_client_common11.capitalize)(example.plural)}
3718
3720
  const ${(0, import_client_common11.uncapitalize)(example.plural)} = await prisma.${(0, import_client_common11.uncapitalize)(example.model)}.findMany()
3719
3721
  \`\`\`
@@ -6430,7 +6432,7 @@ var import_internals7 = require("@prisma/internals");
6430
6432
  var import_get_tsconfig = require("get-tsconfig");
6431
6433
 
6432
6434
  // package.json
6433
- var version = "7.5.0-dev.28";
6435
+ var version = "7.5.0-dev.29";
6434
6436
 
6435
6437
  // src/module-format.ts
6436
6438
  function parseModuleFormat(format) {
package/dist/index.mjs CHANGED
@@ -3706,7 +3706,9 @@ function getPrismaClientClassDocComment({ dmmf }) {
3706
3706
  Type-safe database client for TypeScript
3707
3707
  @example
3708
3708
  \`\`\`
3709
- const prisma = new PrismaClient()
3709
+ const prisma = new PrismaClient({
3710
+ adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
3711
+ })
3710
3712
  // Fetch zero or more ${capitalize6(example.plural)}
3711
3713
  const ${uncapitalize4(example.plural)} = await prisma.${uncapitalize4(example.model)}.findMany()
3712
3714
  \`\`\`
@@ -6423,7 +6425,7 @@ import { parseEnvValue } from "@prisma/internals";
6423
6425
  import { getTsconfig } from "get-tsconfig";
6424
6426
 
6425
6427
  // package.json
6426
- var version = "7.5.0-dev.28";
6428
+ var version = "7.5.0-dev.29";
6427
6429
 
6428
6430
  // src/module-format.ts
6429
6431
  function parseModuleFormat(format) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-generator-ts",
3
- "version": "7.5.0-dev.28",
3
+ "version": "7.5.0-dev.29",
4
4
  "description": "This package is intended for Prisma's internal use",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -33,15 +33,15 @@
33
33
  "package-up": "5.0.0",
34
34
  "pluralize": "8.0.0",
35
35
  "ts-pattern": "5.6.2",
36
- "@prisma/client-common": "7.5.0-dev.28",
37
- "@prisma/fetch-engine": "7.5.0-dev.28",
38
- "@prisma/dmmf": "7.5.0-dev.28",
39
- "@prisma/get-platform": "7.5.0-dev.28",
40
- "@prisma/internals": "7.5.0-dev.28",
41
- "@prisma/generator": "7.5.0-dev.28",
42
- "@prisma/param-graph-builder": "7.5.0-dev.28",
43
- "@prisma/debug": "7.5.0-dev.28",
44
- "@prisma/ts-builders": "7.5.0-dev.28"
36
+ "@prisma/client-common": "7.5.0-dev.29",
37
+ "@prisma/dmmf": "7.5.0-dev.29",
38
+ "@prisma/debug": "7.5.0-dev.29",
39
+ "@prisma/fetch-engine": "7.5.0-dev.29",
40
+ "@prisma/get-platform": "7.5.0-dev.29",
41
+ "@prisma/generator": "7.5.0-dev.29",
42
+ "@prisma/param-graph-builder": "7.5.0-dev.29",
43
+ "@prisma/internals": "7.5.0-dev.29",
44
+ "@prisma/ts-builders": "7.5.0-dev.29"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/pluralize": "0.0.33"