@prisma/client-generator-ts 6.15.0-dev.20 → 6.15.0-dev.21
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 +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -2803,7 +2803,7 @@ var DMMFHelper = class {
|
|
|
2803
2803
|
}
|
|
2804
2804
|
buildInputTypesMap() {
|
|
2805
2805
|
const result = /* @__PURE__ */ new Map();
|
|
2806
|
-
for (const type of this.inputObjectTypes.prisma) {
|
|
2806
|
+
for (const type of this.inputObjectTypes.prisma ?? []) {
|
|
2807
2807
|
result.set(fullyQualifiedName(type.name, "prisma"), type);
|
|
2808
2808
|
}
|
|
2809
2809
|
if (!this.inputObjectTypes.model) {
|
|
@@ -4068,7 +4068,7 @@ function createCommonInputTypeFiles(context) {
|
|
|
4068
4068
|
ts7.moduleImport(context.importFileName(`./enums`)).asNamespace("$Enums"),
|
|
4069
4069
|
ts7.moduleImport(context.importFileName(`./internal/prismaNamespace`)).asNamespace("Prisma").typeOnly()
|
|
4070
4070
|
].map((i) => ts7.stringify(i));
|
|
4071
|
-
const genericInputTypes = context.dmmf.inputObjectTypes.prisma
|
|
4071
|
+
const genericInputTypes = context.dmmf.inputObjectTypes.prisma?.filter((i) => !i.meta?.grouping)?.map((inputType) => new InputType(inputType, context).toTS()) ?? [];
|
|
4072
4072
|
return `${jsDocHeader3}
|
|
4073
4073
|
${imports.join("\n")}
|
|
4074
4074
|
|
|
@@ -6561,7 +6561,7 @@ var import_get_tsconfig = require("get-tsconfig");
|
|
|
6561
6561
|
var import_ts_pattern2 = require("ts-pattern");
|
|
6562
6562
|
|
|
6563
6563
|
// package.json
|
|
6564
|
-
var version = "6.15.0-dev.
|
|
6564
|
+
var version = "6.15.0-dev.21";
|
|
6565
6565
|
|
|
6566
6566
|
// src/module-format.ts
|
|
6567
6567
|
function parseModuleFormat(format) {
|
package/dist/index.mjs
CHANGED
|
@@ -2799,7 +2799,7 @@ var DMMFHelper = class {
|
|
|
2799
2799
|
}
|
|
2800
2800
|
buildInputTypesMap() {
|
|
2801
2801
|
const result = /* @__PURE__ */ new Map();
|
|
2802
|
-
for (const type of this.inputObjectTypes.prisma) {
|
|
2802
|
+
for (const type of this.inputObjectTypes.prisma ?? []) {
|
|
2803
2803
|
result.set(fullyQualifiedName(type.name, "prisma"), type);
|
|
2804
2804
|
}
|
|
2805
2805
|
if (!this.inputObjectTypes.model) {
|
|
@@ -4067,7 +4067,7 @@ function createCommonInputTypeFiles(context) {
|
|
|
4067
4067
|
ts7.moduleImport(context.importFileName(`./enums`)).asNamespace("$Enums"),
|
|
4068
4068
|
ts7.moduleImport(context.importFileName(`./internal/prismaNamespace`)).asNamespace("Prisma").typeOnly()
|
|
4069
4069
|
].map((i) => ts7.stringify(i));
|
|
4070
|
-
const genericInputTypes = context.dmmf.inputObjectTypes.prisma
|
|
4070
|
+
const genericInputTypes = context.dmmf.inputObjectTypes.prisma?.filter((i) => !i.meta?.grouping)?.map((inputType) => new InputType(inputType, context).toTS()) ?? [];
|
|
4071
4071
|
return `${jsDocHeader3}
|
|
4072
4072
|
${imports.join("\n")}
|
|
4073
4073
|
|
|
@@ -6560,7 +6560,7 @@ import { getTsconfig } from "get-tsconfig";
|
|
|
6560
6560
|
import { match as match2 } from "ts-pattern";
|
|
6561
6561
|
|
|
6562
6562
|
// package.json
|
|
6563
|
-
var version = "6.15.0-dev.
|
|
6563
|
+
var version = "6.15.0-dev.21";
|
|
6564
6564
|
|
|
6565
6565
|
// src/module-format.ts
|
|
6566
6566
|
function parseModuleFormat(format) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-ts",
|
|
3
|
-
"version": "6.15.0-dev.
|
|
3
|
+
"version": "6.15.0-dev.21",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"pkg-up": "3.1.0",
|
|
35
35
|
"pluralize": "8.0.0",
|
|
36
36
|
"ts-pattern": "5.6.2",
|
|
37
|
-
"@prisma/client-common": "6.15.0-dev.
|
|
38
|
-
"@prisma/
|
|
39
|
-
"@prisma/
|
|
40
|
-
"@prisma/
|
|
41
|
-
"@prisma/
|
|
42
|
-
"@prisma/
|
|
43
|
-
"@prisma/internals": "6.15.0-dev.
|
|
44
|
-
"@prisma/ts-builders": "6.15.0-dev.
|
|
37
|
+
"@prisma/client-common": "6.15.0-dev.21",
|
|
38
|
+
"@prisma/debug": "6.15.0-dev.21",
|
|
39
|
+
"@prisma/dmmf": "6.15.0-dev.21",
|
|
40
|
+
"@prisma/generator": "6.15.0-dev.21",
|
|
41
|
+
"@prisma/get-platform": "6.15.0-dev.21",
|
|
42
|
+
"@prisma/fetch-engine": "6.15.0-dev.21",
|
|
43
|
+
"@prisma/internals": "6.15.0-dev.21",
|
|
44
|
+
"@prisma/ts-builders": "6.15.0-dev.21"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/pluralize": "0.0.33",
|