@prisma/client-generator-ts 7.4.1 → 7.4.2
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 +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -3709,7 +3709,9 @@ function getPrismaClientClassDocComment({ dmmf }) {
|
|
|
3709
3709
|
Type-safe database client for TypeScript
|
|
3710
3710
|
@example
|
|
3711
3711
|
\`\`\`
|
|
3712
|
-
const prisma = new PrismaClient(
|
|
3712
|
+
const prisma = new PrismaClient({
|
|
3713
|
+
adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
3714
|
+
})
|
|
3713
3715
|
// Fetch zero or more ${(0, import_client_common11.capitalize)(example.plural)}
|
|
3714
3716
|
const ${(0, import_client_common11.uncapitalize)(example.plural)} = await prisma.${(0, import_client_common11.uncapitalize)(example.model)}.findMany()
|
|
3715
3717
|
\`\`\`
|
|
@@ -6425,7 +6427,7 @@ var import_internals7 = require("@prisma/internals");
|
|
|
6425
6427
|
var import_get_tsconfig = require("get-tsconfig");
|
|
6426
6428
|
|
|
6427
6429
|
// package.json
|
|
6428
|
-
var version = "7.4.
|
|
6430
|
+
var version = "7.4.2";
|
|
6429
6431
|
|
|
6430
6432
|
// src/module-format.ts
|
|
6431
6433
|
function parseModuleFormat(format) {
|
package/dist/index.mjs
CHANGED
|
@@ -3702,7 +3702,9 @@ function getPrismaClientClassDocComment({ dmmf }) {
|
|
|
3702
3702
|
Type-safe database client for TypeScript
|
|
3703
3703
|
@example
|
|
3704
3704
|
\`\`\`
|
|
3705
|
-
const prisma = new PrismaClient(
|
|
3705
|
+
const prisma = new PrismaClient({
|
|
3706
|
+
adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
3707
|
+
})
|
|
3706
3708
|
// Fetch zero or more ${capitalize6(example.plural)}
|
|
3707
3709
|
const ${uncapitalize4(example.plural)} = await prisma.${uncapitalize4(example.model)}.findMany()
|
|
3708
3710
|
\`\`\`
|
|
@@ -6418,7 +6420,7 @@ import { parseEnvValue } from "@prisma/internals";
|
|
|
6418
6420
|
import { getTsconfig } from "get-tsconfig";
|
|
6419
6421
|
|
|
6420
6422
|
// package.json
|
|
6421
|
-
var version = "7.4.
|
|
6423
|
+
var version = "7.4.2";
|
|
6422
6424
|
|
|
6423
6425
|
// src/module-format.ts
|
|
6424
6426
|
function parseModuleFormat(format) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-ts",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.2",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@antfu/ni": "0.21.12",
|
|
28
|
-
"@prisma/engines-version": "7.5.0-
|
|
28
|
+
"@prisma/engines-version": "7.5.0-10.94a226be1cf2967af2541cca5529f0f7ba866919",
|
|
29
29
|
"fast-glob": "3.3.3",
|
|
30
30
|
"get-tsconfig": "4.10.0",
|
|
31
31
|
"indent-string": "4.0.0",
|
|
@@ -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.4.
|
|
37
|
-
"@prisma/
|
|
38
|
-
"@prisma/
|
|
39
|
-
"@prisma/generator": "7.4.
|
|
40
|
-
"@prisma/
|
|
41
|
-
"@prisma/internals": "7.4.
|
|
42
|
-
"@prisma/
|
|
43
|
-
"@prisma/param-graph-builder": "7.4.
|
|
44
|
-
"@prisma/ts-builders": "7.4.
|
|
36
|
+
"@prisma/client-common": "7.4.2",
|
|
37
|
+
"@prisma/dmmf": "7.4.2",
|
|
38
|
+
"@prisma/fetch-engine": "7.4.2",
|
|
39
|
+
"@prisma/generator": "7.4.2",
|
|
40
|
+
"@prisma/get-platform": "7.4.2",
|
|
41
|
+
"@prisma/internals": "7.4.2",
|
|
42
|
+
"@prisma/debug": "7.4.2",
|
|
43
|
+
"@prisma/param-graph-builder": "7.4.2",
|
|
44
|
+
"@prisma/ts-builders": "7.4.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/pluralize": "0.0.33",
|