@prisma/client-generator-ts 7.2.0-integration-fix-enums-mapped-types-v7.1 → 7.2.0-integration-fix-sqlite-deadlock-fix.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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -2384,7 +2384,7 @@ var Enum = class {
|
|
|
2384
2384
|
toTS() {
|
|
2385
2385
|
const { type } = this;
|
|
2386
2386
|
const enumVariants = `{
|
|
2387
|
-
${(0, import_indent_string.default)(type.data.map((v) => `${v.key}: ${this.getValue(v.
|
|
2387
|
+
${(0, import_indent_string.default)(type.data.map((v) => `${v.key}: ${this.getValue(v.value)}`).join(",\n"), TAB_SIZE)}
|
|
2388
2388
|
} as const`;
|
|
2389
2389
|
const enumBody = this.isStrictEnum() ? `runtime.makeStrictEnum(${enumVariants})` : enumVariants;
|
|
2390
2390
|
return `export const ${type.name} = ${enumBody}
|
|
@@ -6406,7 +6406,7 @@ var import_internals7 = require("@prisma/internals");
|
|
|
6406
6406
|
var import_get_tsconfig = require("get-tsconfig");
|
|
6407
6407
|
|
|
6408
6408
|
// package.json
|
|
6409
|
-
var version = "7.2.0-integration-fix-
|
|
6409
|
+
var version = "7.2.0-integration-fix-sqlite-deadlock-fix.2";
|
|
6410
6410
|
|
|
6411
6411
|
// src/module-format.ts
|
|
6412
6412
|
function parseModuleFormat(format) {
|
package/dist/index.mjs
CHANGED
|
@@ -2374,7 +2374,7 @@ var Enum = class {
|
|
|
2374
2374
|
toTS() {
|
|
2375
2375
|
const { type } = this;
|
|
2376
2376
|
const enumVariants = `{
|
|
2377
|
-
${indent(type.data.map((v) => `${v.key}: ${this.getValue(v.
|
|
2377
|
+
${indent(type.data.map((v) => `${v.key}: ${this.getValue(v.value)}`).join(",\n"), TAB_SIZE)}
|
|
2378
2378
|
} as const`;
|
|
2379
2379
|
const enumBody = this.isStrictEnum() ? `runtime.makeStrictEnum(${enumVariants})` : enumVariants;
|
|
2380
2380
|
return `export const ${type.name} = ${enumBody}
|
|
@@ -6399,7 +6399,7 @@ import { parseEnvValue } from "@prisma/internals";
|
|
|
6399
6399
|
import { getTsconfig } from "get-tsconfig";
|
|
6400
6400
|
|
|
6401
6401
|
// package.json
|
|
6402
|
-
var version = "7.2.0-integration-fix-
|
|
6402
|
+
var version = "7.2.0-integration-fix-sqlite-deadlock-fix.2";
|
|
6403
6403
|
|
|
6404
6404
|
// src/module-format.ts
|
|
6405
6405
|
function parseModuleFormat(format) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-ts",
|
|
3
|
-
"version": "7.2.0-integration-fix-
|
|
3
|
+
"version": "7.2.0-integration-fix-sqlite-deadlock-fix.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.2.0-
|
|
28
|
+
"@prisma/engines-version": "7.2.0-2.e042035cb3c6e24bbedc3e886c89675fbd6145e1",
|
|
29
29
|
"fast-glob": "3.3.3",
|
|
30
30
|
"get-tsconfig": "4.10.0",
|
|
31
31
|
"indent-string": "4.0.0",
|
|
@@ -33,14 +33,14 @@
|
|
|
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.2.0-integration-fix-
|
|
37
|
-
"@prisma/debug": "7.2.0-integration-fix-
|
|
38
|
-
"@prisma/dmmf": "7.2.0-integration-fix-
|
|
39
|
-
"@prisma/fetch-engine": "7.2.0-integration-fix-
|
|
40
|
-
"@prisma/generator": "7.2.0-integration-fix-
|
|
41
|
-
"@prisma/
|
|
42
|
-
"@prisma/
|
|
43
|
-
"@prisma/
|
|
36
|
+
"@prisma/client-common": "7.2.0-integration-fix-sqlite-deadlock-fix.2",
|
|
37
|
+
"@prisma/debug": "7.2.0-integration-fix-sqlite-deadlock-fix.2",
|
|
38
|
+
"@prisma/dmmf": "7.2.0-integration-fix-sqlite-deadlock-fix.2",
|
|
39
|
+
"@prisma/fetch-engine": "7.2.0-integration-fix-sqlite-deadlock-fix.2",
|
|
40
|
+
"@prisma/generator": "7.2.0-integration-fix-sqlite-deadlock-fix.2",
|
|
41
|
+
"@prisma/internals": "7.2.0-integration-fix-sqlite-deadlock-fix.2",
|
|
42
|
+
"@prisma/ts-builders": "7.2.0-integration-fix-sqlite-deadlock-fix.2",
|
|
43
|
+
"@prisma/get-platform": "7.2.0-integration-fix-sqlite-deadlock-fix.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/pluralize": "0.0.33",
|