@prisma/client-generator-js 6.18.0-integration-next.11 → 6.18.0
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 +28 -43
- package/dist/index.mjs +29 -44
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -2992,7 +2992,7 @@ var package_default = {
|
|
|
2992
2992
|
},
|
|
2993
2993
|
license: "Apache-2.0",
|
|
2994
2994
|
engines: {
|
|
2995
|
-
node: "
|
|
2995
|
+
node: ">=18.18"
|
|
2996
2996
|
},
|
|
2997
2997
|
homepage: "https://www.prisma.io",
|
|
2998
2998
|
repository: {
|
|
@@ -3099,11 +3099,12 @@ var package_default = {
|
|
|
3099
3099
|
"@types/jest": "29.5.14",
|
|
3100
3100
|
"@types/js-levenshtein": "1.1.3",
|
|
3101
3101
|
"@types/mssql": "9.1.8",
|
|
3102
|
-
"@types/node": "
|
|
3102
|
+
"@types/node": "18.19.76",
|
|
3103
3103
|
"@types/pg": "8.11.11",
|
|
3104
3104
|
arg: "5.0.2",
|
|
3105
3105
|
benchmark: "2.1.4",
|
|
3106
3106
|
"cookie-es": "2.0.0",
|
|
3107
|
+
"decimal.js": "10.5.0",
|
|
3107
3108
|
execa: "8.0.1",
|
|
3108
3109
|
"expect-type": "1.2.2",
|
|
3109
3110
|
"fs-extra": "11.3.0",
|
|
@@ -3128,6 +3129,7 @@ var package_default = {
|
|
|
3128
3129
|
"simple-statistics": "7.8.8",
|
|
3129
3130
|
"sort-keys": "5.1.0",
|
|
3130
3131
|
"source-map-support": "0.5.21",
|
|
3132
|
+
"sql-template-tag": "5.2.1",
|
|
3131
3133
|
"stacktrace-parser": "0.1.11",
|
|
3132
3134
|
"strip-ansi": "7.1.0",
|
|
3133
3135
|
"strip-indent": "4.0.0",
|
|
@@ -3138,12 +3140,9 @@ var package_default = {
|
|
|
3138
3140
|
undici: "7.4.0",
|
|
3139
3141
|
zx: "8.4.1"
|
|
3140
3142
|
},
|
|
3141
|
-
dependencies: {
|
|
3142
|
-
"@prisma/client-runtime-utils": "workspace:*"
|
|
3143
|
-
},
|
|
3144
3143
|
peerDependencies: {
|
|
3145
3144
|
prisma: "*",
|
|
3146
|
-
typescript: ">=5.
|
|
3145
|
+
typescript: ">=5.1.0"
|
|
3147
3146
|
},
|
|
3148
3147
|
peerDependenciesMeta: {
|
|
3149
3148
|
prisma: {
|
|
@@ -3188,7 +3187,7 @@ var Enum = class {
|
|
|
3188
3187
|
toJS() {
|
|
3189
3188
|
const { type } = this;
|
|
3190
3189
|
const enumVariants = `{
|
|
3191
|
-
${(0, import_indent_string.default)(type.
|
|
3190
|
+
${(0, import_indent_string.default)(type.values.map((v) => `${v}: ${this.getValueJS(v)}`).join(",\n"), TAB_SIZE)}
|
|
3192
3191
|
}`;
|
|
3193
3192
|
const enumBody = this.isStrictEnum() ? `makeStrictEnum(${enumVariants})` : enumVariants;
|
|
3194
3193
|
return this.useNamespace ? `exports.Prisma.${type.name} = ${enumBody};` : `exports.${type.name} = exports.$Enums.${type.name} = ${enumBody};`;
|
|
@@ -3199,7 +3198,7 @@ ${(0, import_indent_string.default)(type.data.map((v) => `${v.key}: ${this.getVa
|
|
|
3199
3198
|
toTS() {
|
|
3200
3199
|
const { type } = this;
|
|
3201
3200
|
return `export const ${type.name}: {
|
|
3202
|
-
${(0, import_indent_string.default)(type.
|
|
3201
|
+
${(0, import_indent_string.default)(type.values.map((v) => `${v}: ${this.getValueTS(v)}`).join(",\n"), TAB_SIZE)}
|
|
3203
3202
|
};
|
|
3204
3203
|
|
|
3205
3204
|
export type ${type.name} = (typeof ${type.name})[keyof typeof ${type.name}]
|
|
@@ -5360,10 +5359,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5360
5359
|
${browser ? `
|
|
5361
5360
|
const {
|
|
5362
5361
|
Decimal,
|
|
5363
|
-
|
|
5364
|
-
JsonNull,
|
|
5365
|
-
AnyNull,
|
|
5366
|
-
NullTypes,
|
|
5362
|
+
objectEnumValues,
|
|
5367
5363
|
makeStrictEnum,
|
|
5368
5364
|
Public,
|
|
5369
5365
|
getRuntime,
|
|
@@ -5384,10 +5380,7 @@ const {
|
|
|
5384
5380
|
skip,
|
|
5385
5381
|
Decimal,
|
|
5386
5382
|
Debug,
|
|
5387
|
-
|
|
5388
|
-
JsonNull,
|
|
5389
|
-
AnyNull,
|
|
5390
|
-
NullTypes,
|
|
5383
|
+
objectEnumValues,
|
|
5391
5384
|
makeStrictEnum,
|
|
5392
5385
|
Extensions,
|
|
5393
5386
|
warnOnce,
|
|
@@ -5437,11 +5430,15 @@ Prisma.defineExtension = ${notSupportOnBrowser("Extensions.defineExtension", bro
|
|
|
5437
5430
|
/**
|
|
5438
5431
|
* Shorthand utilities for JSON filtering
|
|
5439
5432
|
*/
|
|
5440
|
-
Prisma.DbNull = DbNull
|
|
5441
|
-
Prisma.JsonNull = JsonNull
|
|
5442
|
-
Prisma.AnyNull = AnyNull
|
|
5433
|
+
Prisma.DbNull = objectEnumValues.instances.DbNull
|
|
5434
|
+
Prisma.JsonNull = objectEnumValues.instances.JsonNull
|
|
5435
|
+
Prisma.AnyNull = objectEnumValues.instances.AnyNull
|
|
5443
5436
|
|
|
5444
|
-
Prisma.NullTypes =
|
|
5437
|
+
Prisma.NullTypes = {
|
|
5438
|
+
DbNull: objectEnumValues.classes.DbNull,
|
|
5439
|
+
JsonNull: objectEnumValues.classes.JsonNull,
|
|
5440
|
+
AnyNull: objectEnumValues.classes.AnyNull
|
|
5441
|
+
}
|
|
5445
5442
|
|
|
5446
5443
|
${buildPrismaSkipJs(generator.previewFeatures)}
|
|
5447
5444
|
`;
|
|
@@ -6507,6 +6504,8 @@ export type TransactionClient = Omit<Prisma.DefaultPrismaClient, runtime.ITXClie
|
|
|
6507
6504
|
buildClientOptions() {
|
|
6508
6505
|
const clientOptions = ts11.interfaceDeclaration("PrismaClientOptions").add(
|
|
6509
6506
|
ts11.property("datasources", ts11.namedType("Datasources")).optional().setDocComment(ts11.docComment("Overwrites the datasource url from your schema.prisma file"))
|
|
6507
|
+
).add(
|
|
6508
|
+
ts11.property("datasourceUrl", ts11.stringType).optional().setDocComment(ts11.docComment("Overwrites the datasource url from your schema.prisma file"))
|
|
6510
6509
|
).add(
|
|
6511
6510
|
ts11.property("errorFormat", ts11.namedType("ErrorFormat")).optional().setDocComment(ts11.docComment('@default "colorless"'))
|
|
6512
6511
|
).add(
|
|
@@ -6632,16 +6631,13 @@ ${buildRequirePath(edge)}
|
|
|
6632
6631
|
/**
|
|
6633
6632
|
* Enums
|
|
6634
6633
|
*/
|
|
6635
|
-
${this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(
|
|
6634
|
+
${this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(type, true).toJS()).join("\n\n")}
|
|
6636
6635
|
${this.dmmf.datamodel.enums.map((datamodelEnum) => new Enum((0, import_dmmf.datamodelEnumToSchemaEnum)(datamodelEnum), false).toJS()).join("\n\n")}
|
|
6637
6636
|
|
|
6638
6637
|
${new Enum(
|
|
6639
6638
|
{
|
|
6640
6639
|
name: "ModelName",
|
|
6641
|
-
|
|
6642
|
-
key: m.model,
|
|
6643
|
-
value: m.model
|
|
6644
|
-
}))
|
|
6640
|
+
values: this.dmmf.mappings.modelOperations.map((m) => m.model)
|
|
6645
6641
|
},
|
|
6646
6642
|
true
|
|
6647
6643
|
).toJS()}
|
|
@@ -6688,9 +6684,7 @@ ${buildNFTAnnotations(edge || !copyEngine, clientEngineType, binaryTargets, rela
|
|
|
6688
6684
|
}
|
|
6689
6685
|
return acc;
|
|
6690
6686
|
}, []);
|
|
6691
|
-
const prismaEnums = this.dmmf.schema.enumTypes.prisma?.map(
|
|
6692
|
-
(type) => new Enum((0, import_dmmf.datamodelSchemaEnumToSchemaEnum)(type), true).toTS()
|
|
6693
|
-
);
|
|
6687
|
+
const prismaEnums = this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(type, true).toTS());
|
|
6694
6688
|
const modelEnums = [];
|
|
6695
6689
|
const modelEnumsAliases = [];
|
|
6696
6690
|
for (const datamodelEnum of this.dmmf.datamodel.enums) {
|
|
@@ -6732,10 +6726,7 @@ ${(0, import_indent_string8.default)(
|
|
|
6732
6726
|
${new Enum(
|
|
6733
6727
|
{
|
|
6734
6728
|
name: "ModelName",
|
|
6735
|
-
|
|
6736
|
-
key: m.model,
|
|
6737
|
-
value: m.model
|
|
6738
|
-
}))
|
|
6729
|
+
values: this.dmmf.mappings.modelOperations.map((m) => m.model)
|
|
6739
6730
|
},
|
|
6740
6731
|
true
|
|
6741
6732
|
).toTS()}
|
|
@@ -6819,16 +6810,13 @@ export const dmmf: runtime.BaseDMMF
|
|
|
6819
6810
|
* Enums
|
|
6820
6811
|
*/
|
|
6821
6812
|
|
|
6822
|
-
${this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(
|
|
6823
|
-
${this.dmmf.schema.enumTypes.model?.map((type) => new Enum(
|
|
6813
|
+
${this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(type, true).toJS()).join("\n\n")}
|
|
6814
|
+
${this.dmmf.schema.enumTypes.model?.map((type) => new Enum(type, false).toJS()).join("\n\n") ?? ""}
|
|
6824
6815
|
|
|
6825
6816
|
${new Enum(
|
|
6826
6817
|
{
|
|
6827
6818
|
name: "ModelName",
|
|
6828
|
-
|
|
6829
|
-
key: m.model,
|
|
6830
|
-
value: m.model
|
|
6831
|
-
}))
|
|
6819
|
+
values: this.dmmf.mappings.modelOperations.map((m) => m.model)
|
|
6832
6820
|
},
|
|
6833
6821
|
true
|
|
6834
6822
|
).toJS()}
|
|
@@ -7269,10 +7257,7 @@ async function buildClient({
|
|
|
7269
7257
|
".": exportsMapDefault
|
|
7270
7258
|
},
|
|
7271
7259
|
version: clientVersion,
|
|
7272
|
-
sideEffects: false
|
|
7273
|
-
dependencies: {
|
|
7274
|
-
"@prisma/client-runtime-utils": clientVersion
|
|
7275
|
-
}
|
|
7260
|
+
sideEffects: false
|
|
7276
7261
|
};
|
|
7277
7262
|
const fileMap = {};
|
|
7278
7263
|
fileMap["index.js"] = JS(nodeClient);
|
|
@@ -7743,7 +7728,7 @@ var import_internals12 = require("@prisma/internals");
|
|
|
7743
7728
|
var import_ts_pattern = require("ts-pattern");
|
|
7744
7729
|
|
|
7745
7730
|
// package.json
|
|
7746
|
-
var version = "6.18.0
|
|
7731
|
+
var version = "6.18.0";
|
|
7747
7732
|
|
|
7748
7733
|
// src/resolvePrismaClient.ts
|
|
7749
7734
|
var import_promises3 = __toESM(require("node:fs/promises"));
|
package/dist/index.mjs
CHANGED
|
@@ -2987,7 +2987,7 @@ var package_default = {
|
|
|
2987
2987
|
},
|
|
2988
2988
|
license: "Apache-2.0",
|
|
2989
2989
|
engines: {
|
|
2990
|
-
node: "
|
|
2990
|
+
node: ">=18.18"
|
|
2991
2991
|
},
|
|
2992
2992
|
homepage: "https://www.prisma.io",
|
|
2993
2993
|
repository: {
|
|
@@ -3094,11 +3094,12 @@ var package_default = {
|
|
|
3094
3094
|
"@types/jest": "29.5.14",
|
|
3095
3095
|
"@types/js-levenshtein": "1.1.3",
|
|
3096
3096
|
"@types/mssql": "9.1.8",
|
|
3097
|
-
"@types/node": "
|
|
3097
|
+
"@types/node": "18.19.76",
|
|
3098
3098
|
"@types/pg": "8.11.11",
|
|
3099
3099
|
arg: "5.0.2",
|
|
3100
3100
|
benchmark: "2.1.4",
|
|
3101
3101
|
"cookie-es": "2.0.0",
|
|
3102
|
+
"decimal.js": "10.5.0",
|
|
3102
3103
|
execa: "8.0.1",
|
|
3103
3104
|
"expect-type": "1.2.2",
|
|
3104
3105
|
"fs-extra": "11.3.0",
|
|
@@ -3123,6 +3124,7 @@ var package_default = {
|
|
|
3123
3124
|
"simple-statistics": "7.8.8",
|
|
3124
3125
|
"sort-keys": "5.1.0",
|
|
3125
3126
|
"source-map-support": "0.5.21",
|
|
3127
|
+
"sql-template-tag": "5.2.1",
|
|
3126
3128
|
"stacktrace-parser": "0.1.11",
|
|
3127
3129
|
"strip-ansi": "7.1.0",
|
|
3128
3130
|
"strip-indent": "4.0.0",
|
|
@@ -3133,12 +3135,9 @@ var package_default = {
|
|
|
3133
3135
|
undici: "7.4.0",
|
|
3134
3136
|
zx: "8.4.1"
|
|
3135
3137
|
},
|
|
3136
|
-
dependencies: {
|
|
3137
|
-
"@prisma/client-runtime-utils": "workspace:*"
|
|
3138
|
-
},
|
|
3139
3138
|
peerDependencies: {
|
|
3140
3139
|
prisma: "*",
|
|
3141
|
-
typescript: ">=5.
|
|
3140
|
+
typescript: ">=5.1.0"
|
|
3142
3141
|
},
|
|
3143
3142
|
peerDependenciesMeta: {
|
|
3144
3143
|
prisma: {
|
|
@@ -3183,7 +3182,7 @@ var Enum = class {
|
|
|
3183
3182
|
toJS() {
|
|
3184
3183
|
const { type } = this;
|
|
3185
3184
|
const enumVariants = `{
|
|
3186
|
-
${indent(type.
|
|
3185
|
+
${indent(type.values.map((v) => `${v}: ${this.getValueJS(v)}`).join(",\n"), TAB_SIZE)}
|
|
3187
3186
|
}`;
|
|
3188
3187
|
const enumBody = this.isStrictEnum() ? `makeStrictEnum(${enumVariants})` : enumVariants;
|
|
3189
3188
|
return this.useNamespace ? `exports.Prisma.${type.name} = ${enumBody};` : `exports.${type.name} = exports.$Enums.${type.name} = ${enumBody};`;
|
|
@@ -3194,7 +3193,7 @@ ${indent(type.data.map((v) => `${v.key}: ${this.getValueJS(v.value)}`).join(",\n
|
|
|
3194
3193
|
toTS() {
|
|
3195
3194
|
const { type } = this;
|
|
3196
3195
|
return `export const ${type.name}: {
|
|
3197
|
-
${indent(type.
|
|
3196
|
+
${indent(type.values.map((v) => `${v}: ${this.getValueTS(v)}`).join(",\n"), TAB_SIZE)}
|
|
3198
3197
|
};
|
|
3199
3198
|
|
|
3200
3199
|
export type ${type.name} = (typeof ${type.name})[keyof typeof ${type.name}]
|
|
@@ -4920,7 +4919,7 @@ function fluentWrapperName(modelName) {
|
|
|
4920
4919
|
}
|
|
4921
4920
|
|
|
4922
4921
|
// src/TSClient/TSClient.ts
|
|
4923
|
-
import { datamodelEnumToSchemaEnum
|
|
4922
|
+
import { datamodelEnumToSchemaEnum } from "@prisma/dmmf";
|
|
4924
4923
|
import { ClientEngineType as ClientEngineType2, getClientEngineType, pathToPosix as pathToPosix3 } from "@prisma/internals";
|
|
4925
4924
|
import * as ts12 from "@prisma/ts-builders";
|
|
4926
4925
|
import ciInfo from "ci-info";
|
|
@@ -5358,10 +5357,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5358
5357
|
${browser ? `
|
|
5359
5358
|
const {
|
|
5360
5359
|
Decimal,
|
|
5361
|
-
|
|
5362
|
-
JsonNull,
|
|
5363
|
-
AnyNull,
|
|
5364
|
-
NullTypes,
|
|
5360
|
+
objectEnumValues,
|
|
5365
5361
|
makeStrictEnum,
|
|
5366
5362
|
Public,
|
|
5367
5363
|
getRuntime,
|
|
@@ -5382,10 +5378,7 @@ const {
|
|
|
5382
5378
|
skip,
|
|
5383
5379
|
Decimal,
|
|
5384
5380
|
Debug,
|
|
5385
|
-
|
|
5386
|
-
JsonNull,
|
|
5387
|
-
AnyNull,
|
|
5388
|
-
NullTypes,
|
|
5381
|
+
objectEnumValues,
|
|
5389
5382
|
makeStrictEnum,
|
|
5390
5383
|
Extensions,
|
|
5391
5384
|
warnOnce,
|
|
@@ -5435,11 +5428,15 @@ Prisma.defineExtension = ${notSupportOnBrowser("Extensions.defineExtension", bro
|
|
|
5435
5428
|
/**
|
|
5436
5429
|
* Shorthand utilities for JSON filtering
|
|
5437
5430
|
*/
|
|
5438
|
-
Prisma.DbNull = DbNull
|
|
5439
|
-
Prisma.JsonNull = JsonNull
|
|
5440
|
-
Prisma.AnyNull = AnyNull
|
|
5431
|
+
Prisma.DbNull = objectEnumValues.instances.DbNull
|
|
5432
|
+
Prisma.JsonNull = objectEnumValues.instances.JsonNull
|
|
5433
|
+
Prisma.AnyNull = objectEnumValues.instances.AnyNull
|
|
5441
5434
|
|
|
5442
|
-
Prisma.NullTypes =
|
|
5435
|
+
Prisma.NullTypes = {
|
|
5436
|
+
DbNull: objectEnumValues.classes.DbNull,
|
|
5437
|
+
JsonNull: objectEnumValues.classes.JsonNull,
|
|
5438
|
+
AnyNull: objectEnumValues.classes.AnyNull
|
|
5439
|
+
}
|
|
5443
5440
|
|
|
5444
5441
|
${buildPrismaSkipJs(generator.previewFeatures)}
|
|
5445
5442
|
`;
|
|
@@ -6505,6 +6502,8 @@ export type TransactionClient = Omit<Prisma.DefaultPrismaClient, runtime.ITXClie
|
|
|
6505
6502
|
buildClientOptions() {
|
|
6506
6503
|
const clientOptions = ts11.interfaceDeclaration("PrismaClientOptions").add(
|
|
6507
6504
|
ts11.property("datasources", ts11.namedType("Datasources")).optional().setDocComment(ts11.docComment("Overwrites the datasource url from your schema.prisma file"))
|
|
6505
|
+
).add(
|
|
6506
|
+
ts11.property("datasourceUrl", ts11.stringType).optional().setDocComment(ts11.docComment("Overwrites the datasource url from your schema.prisma file"))
|
|
6508
6507
|
).add(
|
|
6509
6508
|
ts11.property("errorFormat", ts11.namedType("ErrorFormat")).optional().setDocComment(ts11.docComment('@default "colorless"'))
|
|
6510
6509
|
).add(
|
|
@@ -6630,16 +6629,13 @@ ${buildRequirePath(edge)}
|
|
|
6630
6629
|
/**
|
|
6631
6630
|
* Enums
|
|
6632
6631
|
*/
|
|
6633
|
-
${this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(
|
|
6632
|
+
${this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(type, true).toJS()).join("\n\n")}
|
|
6634
6633
|
${this.dmmf.datamodel.enums.map((datamodelEnum) => new Enum(datamodelEnumToSchemaEnum(datamodelEnum), false).toJS()).join("\n\n")}
|
|
6635
6634
|
|
|
6636
6635
|
${new Enum(
|
|
6637
6636
|
{
|
|
6638
6637
|
name: "ModelName",
|
|
6639
|
-
|
|
6640
|
-
key: m.model,
|
|
6641
|
-
value: m.model
|
|
6642
|
-
}))
|
|
6638
|
+
values: this.dmmf.mappings.modelOperations.map((m) => m.model)
|
|
6643
6639
|
},
|
|
6644
6640
|
true
|
|
6645
6641
|
).toJS()}
|
|
@@ -6686,9 +6682,7 @@ ${buildNFTAnnotations(edge || !copyEngine, clientEngineType, binaryTargets, rela
|
|
|
6686
6682
|
}
|
|
6687
6683
|
return acc;
|
|
6688
6684
|
}, []);
|
|
6689
|
-
const prismaEnums = this.dmmf.schema.enumTypes.prisma?.map(
|
|
6690
|
-
(type) => new Enum(datamodelSchemaEnumToSchemaEnum(type), true).toTS()
|
|
6691
|
-
);
|
|
6685
|
+
const prismaEnums = this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(type, true).toTS());
|
|
6692
6686
|
const modelEnums = [];
|
|
6693
6687
|
const modelEnumsAliases = [];
|
|
6694
6688
|
for (const datamodelEnum of this.dmmf.datamodel.enums) {
|
|
@@ -6730,10 +6724,7 @@ ${indent8(
|
|
|
6730
6724
|
${new Enum(
|
|
6731
6725
|
{
|
|
6732
6726
|
name: "ModelName",
|
|
6733
|
-
|
|
6734
|
-
key: m.model,
|
|
6735
|
-
value: m.model
|
|
6736
|
-
}))
|
|
6727
|
+
values: this.dmmf.mappings.modelOperations.map((m) => m.model)
|
|
6737
6728
|
},
|
|
6738
6729
|
true
|
|
6739
6730
|
).toTS()}
|
|
@@ -6817,16 +6808,13 @@ export const dmmf: runtime.BaseDMMF
|
|
|
6817
6808
|
* Enums
|
|
6818
6809
|
*/
|
|
6819
6810
|
|
|
6820
|
-
${this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(
|
|
6821
|
-
${this.dmmf.schema.enumTypes.model?.map((type) => new Enum(
|
|
6811
|
+
${this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(type, true).toJS()).join("\n\n")}
|
|
6812
|
+
${this.dmmf.schema.enumTypes.model?.map((type) => new Enum(type, false).toJS()).join("\n\n") ?? ""}
|
|
6822
6813
|
|
|
6823
6814
|
${new Enum(
|
|
6824
6815
|
{
|
|
6825
6816
|
name: "ModelName",
|
|
6826
|
-
|
|
6827
|
-
key: m.model,
|
|
6828
|
-
value: m.model
|
|
6829
|
-
}))
|
|
6817
|
+
values: this.dmmf.mappings.modelOperations.map((m) => m.model)
|
|
6830
6818
|
},
|
|
6831
6819
|
true
|
|
6832
6820
|
).toJS()}
|
|
@@ -7267,10 +7255,7 @@ async function buildClient({
|
|
|
7267
7255
|
".": exportsMapDefault
|
|
7268
7256
|
},
|
|
7269
7257
|
version: clientVersion,
|
|
7270
|
-
sideEffects: false
|
|
7271
|
-
dependencies: {
|
|
7272
|
-
"@prisma/client-runtime-utils": clientVersion
|
|
7273
|
-
}
|
|
7258
|
+
sideEffects: false
|
|
7274
7259
|
};
|
|
7275
7260
|
const fileMap = {};
|
|
7276
7261
|
fileMap["index.js"] = JS(nodeClient);
|
|
@@ -7741,7 +7726,7 @@ import { ClientEngineType as ClientEngineType4, getClientEngineType as getClient
|
|
|
7741
7726
|
import { match } from "ts-pattern";
|
|
7742
7727
|
|
|
7743
7728
|
// package.json
|
|
7744
|
-
var version = "6.18.0
|
|
7729
|
+
var version = "6.18.0";
|
|
7745
7730
|
|
|
7746
7731
|
// src/resolvePrismaClient.ts
|
|
7747
7732
|
import fs2 from "node:fs/promises";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-js",
|
|
3
|
-
"version": "6.18.0
|
|
3
|
+
"version": "6.18.0",
|
|
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,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/debug": "6.18.0
|
|
37
|
-
"@prisma/
|
|
38
|
-
"@prisma/
|
|
39
|
-
"@prisma/
|
|
40
|
-
"@prisma/
|
|
41
|
-
"@prisma/
|
|
42
|
-
"@prisma/
|
|
43
|
-
"@prisma/
|
|
36
|
+
"@prisma/debug": "6.18.0",
|
|
37
|
+
"@prisma/client-common": "6.18.0",
|
|
38
|
+
"@prisma/fetch-engine": "6.18.0",
|
|
39
|
+
"@prisma/dmmf": "6.18.0",
|
|
40
|
+
"@prisma/generator": "6.18.0",
|
|
41
|
+
"@prisma/get-platform": "6.18.0",
|
|
42
|
+
"@prisma/ts-builders": "6.18.0",
|
|
43
|
+
"@prisma/internals": "6.18.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/pluralize": "0.0.33",
|