@prisma/client-generator-js 6.12.0-dev.4 → 6.12.0-dev.40
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 +35 -31
- package/dist/index.mjs +42 -38
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -4157,7 +4157,7 @@ function getMappings(mappings, datamodel) {
|
|
|
4157
4157
|
return model.fields.some((f) => f.kind !== "object");
|
|
4158
4158
|
}).map((mapping) => ({
|
|
4159
4159
|
model: mapping.model,
|
|
4160
|
-
plural: (0, import_pluralize.default)((0, import_client_common.
|
|
4160
|
+
plural: (0, import_pluralize.default)((0, import_client_common.uncapitalize)(mapping.model)),
|
|
4161
4161
|
// TODO not needed anymore
|
|
4162
4162
|
findUnique: mapping.findUnique || mapping.findSingle,
|
|
4163
4163
|
findUniqueOrThrow: mapping.findUniqueOrThrow,
|
|
@@ -4341,6 +4341,10 @@ var package_default = {
|
|
|
4341
4341
|
},
|
|
4342
4342
|
"./runtime/client": {
|
|
4343
4343
|
types: "./runtime/client.d.ts",
|
|
4344
|
+
node: {
|
|
4345
|
+
require: "./runtime/client.js",
|
|
4346
|
+
default: "./runtime/client.js"
|
|
4347
|
+
},
|
|
4344
4348
|
require: "./runtime/client.js",
|
|
4345
4349
|
import: "./runtime/client.mjs",
|
|
4346
4350
|
default: "./runtime/client.mjs"
|
|
@@ -4434,7 +4438,6 @@ var package_default = {
|
|
|
4434
4438
|
files: [
|
|
4435
4439
|
"README.md",
|
|
4436
4440
|
"runtime",
|
|
4437
|
-
"!runtime/*.map",
|
|
4438
4441
|
"scripts",
|
|
4439
4442
|
"generator-build",
|
|
4440
4443
|
"edge.js",
|
|
@@ -4489,7 +4492,7 @@ var package_default = {
|
|
|
4489
4492
|
"@prisma/dmmf": "workspace:*",
|
|
4490
4493
|
"@prisma/driver-adapter-utils": "workspace:*",
|
|
4491
4494
|
"@prisma/engines": "workspace:*",
|
|
4492
|
-
"@prisma/engines-version": "6.
|
|
4495
|
+
"@prisma/engines-version": "6.12.0-15.8047c96bbd92db98a2abc7c9323ce77c02c89dbc",
|
|
4493
4496
|
"@prisma/fetch-engine": "workspace:*",
|
|
4494
4497
|
"@prisma/generator": "workspace:*",
|
|
4495
4498
|
"@prisma/generator-helper": "workspace:*",
|
|
@@ -4498,8 +4501,8 @@ var package_default = {
|
|
|
4498
4501
|
"@prisma/internals": "workspace:*",
|
|
4499
4502
|
"@prisma/migrate": "workspace:*",
|
|
4500
4503
|
"@prisma/mini-proxy": "0.9.5",
|
|
4501
|
-
"@prisma/query-compiler-wasm": "6.
|
|
4502
|
-
"@prisma/query-engine-wasm": "6.
|
|
4504
|
+
"@prisma/query-compiler-wasm": "6.12.0-15.8047c96bbd92db98a2abc7c9323ce77c02c89dbc",
|
|
4505
|
+
"@prisma/query-engine-wasm": "6.12.0-15.8047c96bbd92db98a2abc7c9323ce77c02c89dbc",
|
|
4503
4506
|
"@prisma/ts-builders": "workspace:*",
|
|
4504
4507
|
"@snaplet/copycat": "6.0.0",
|
|
4505
4508
|
"@swc-node/register": "1.10.9",
|
|
@@ -4515,8 +4518,9 @@ var package_default = {
|
|
|
4515
4518
|
"@types/pg": "8.11.11",
|
|
4516
4519
|
arg: "5.0.2",
|
|
4517
4520
|
benchmark: "2.1.4",
|
|
4521
|
+
"cookie-es": "2.0.0",
|
|
4518
4522
|
"decimal.js": "10.5.0",
|
|
4519
|
-
esbuild: "0.25.
|
|
4523
|
+
esbuild: "0.25.5",
|
|
4520
4524
|
execa: "5.1.1",
|
|
4521
4525
|
"expect-type": "1.2.0",
|
|
4522
4526
|
"fs-extra": "11.3.0",
|
|
@@ -4532,7 +4536,7 @@ var package_default = {
|
|
|
4532
4536
|
kleur: "4.1.5",
|
|
4533
4537
|
klona: "2.0.6",
|
|
4534
4538
|
mariadb: "3.4.0",
|
|
4535
|
-
memfs: "4.17.
|
|
4539
|
+
memfs: "4.17.2",
|
|
4536
4540
|
mssql: "11.0.1",
|
|
4537
4541
|
"new-github-issue-url": "0.2.1",
|
|
4538
4542
|
"p-retry": "4.6.2",
|
|
@@ -5026,7 +5030,7 @@ const ${ctx.singular} = await ${ctx.method}({
|
|
|
5026
5030
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to create many ${ctx.plural}.
|
|
5027
5031
|
@example
|
|
5028
5032
|
// Create many ${ctx.plural}
|
|
5029
|
-
const ${(0, import_client_common4.
|
|
5033
|
+
const ${(0, import_client_common4.uncapitalize)(ctx.mapping.model)} = await ${ctx.method}({
|
|
5030
5034
|
data: [
|
|
5031
5035
|
// ... provide data here
|
|
5032
5036
|
]
|
|
@@ -5040,7 +5044,7 @@ const ${(0, import_client_common4.lowerCase)(ctx.mapping.model)} = await ${ctx.m
|
|
|
5040
5044
|
body: (ctx) => {
|
|
5041
5045
|
const onlySelect = ctx.firstScalar ? `
|
|
5042
5046
|
// Create many ${ctx.plural} and only return the \`${ctx.firstScalar.name}\`
|
|
5043
|
-
const ${(0, import_client_common4.
|
|
5047
|
+
const ${(0, import_client_common4.uncapitalize)(ctx.mapping.model)}With${(0, import_client_common4.capitalize)(ctx.firstScalar.name)}Only = await ${ctx.method}({
|
|
5044
5048
|
select: { ${ctx.firstScalar.name}: true },
|
|
5045
5049
|
data: [
|
|
5046
5050
|
// ... provide data here
|
|
@@ -5050,7 +5054,7 @@ const ${(0, import_client_common4.lowerCase)(ctx.mapping.model)}With${(0, import
|
|
|
5050
5054
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to create many ${ctx.plural}.
|
|
5051
5055
|
@example
|
|
5052
5056
|
// Create many ${ctx.plural}
|
|
5053
|
-
const ${(0, import_client_common4.
|
|
5057
|
+
const ${(0, import_client_common4.uncapitalize)(ctx.mapping.model)} = await ${ctx.method}({
|
|
5054
5058
|
data: [
|
|
5055
5059
|
// ... provide data here
|
|
5056
5060
|
]
|
|
@@ -5068,7 +5072,7 @@ ${undefinedNote}
|
|
|
5068
5072
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to find a ${ctx.singular}
|
|
5069
5073
|
@example
|
|
5070
5074
|
// Get one ${ctx.singular}
|
|
5071
|
-
const ${(0, import_client_common4.
|
|
5075
|
+
const ${(0, import_client_common4.uncapitalize)(ctx.mapping.model)} = await ${ctx.method}({
|
|
5072
5076
|
where: {
|
|
5073
5077
|
// ... provide filter here
|
|
5074
5078
|
}
|
|
@@ -5083,7 +5087,7 @@ if no matches were found.
|
|
|
5083
5087
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to find a ${ctx.singular}
|
|
5084
5088
|
@example
|
|
5085
5089
|
// Get one ${ctx.singular}
|
|
5086
|
-
const ${(0, import_client_common4.
|
|
5090
|
+
const ${(0, import_client_common4.uncapitalize)(ctx.mapping.model)} = await ${ctx.method}({
|
|
5087
5091
|
where: {
|
|
5088
5092
|
// ... provide filter here
|
|
5089
5093
|
}
|
|
@@ -5098,7 +5102,7 @@ ${undefinedNote}
|
|
|
5098
5102
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to find a ${ctx.singular}
|
|
5099
5103
|
@example
|
|
5100
5104
|
// Get one ${ctx.singular}
|
|
5101
|
-
const ${(0, import_client_common4.
|
|
5105
|
+
const ${(0, import_client_common4.uncapitalize)(ctx.mapping.model)} = await ${ctx.method}({
|
|
5102
5106
|
where: {
|
|
5103
5107
|
// ... provide filter here
|
|
5104
5108
|
}
|
|
@@ -5119,7 +5123,7 @@ ${undefinedNote}
|
|
|
5119
5123
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to find a ${ctx.singular}
|
|
5120
5124
|
@example
|
|
5121
5125
|
// Get one ${ctx.singular}
|
|
5122
|
-
const ${(0, import_client_common4.
|
|
5126
|
+
const ${(0, import_client_common4.uncapitalize)(ctx.mapping.model)} = await ${ctx.method}({
|
|
5123
5127
|
where: {
|
|
5124
5128
|
// ... provide filter here
|
|
5125
5129
|
}
|
|
@@ -5137,7 +5141,7 @@ const ${(0, import_client_common4.lowerCase)(ctx.mapping.model)} = await ${ctx.m
|
|
|
5137
5141
|
body: (ctx) => {
|
|
5138
5142
|
const onlySelect = ctx.firstScalar ? `
|
|
5139
5143
|
// Only select the \`${ctx.firstScalar.name}\`
|
|
5140
|
-
const ${(0, import_client_common4.
|
|
5144
|
+
const ${(0, import_client_common4.uncapitalize)(ctx.mapping.model)}With${(0, import_client_common4.capitalize)(ctx.firstScalar.name)}Only = await ${ctx.method}({ select: { ${ctx.firstScalar.name}: true } })` : "";
|
|
5141
5145
|
return `Find zero or more ${ctx.plural} that matches the filter.
|
|
5142
5146
|
${undefinedNote}
|
|
5143
5147
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to filter and select certain fields only.
|
|
@@ -5163,7 +5167,7 @@ ${onlySelect}
|
|
|
5163
5167
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to update one ${ctx.singular}.
|
|
5164
5168
|
@example
|
|
5165
5169
|
// Update one ${ctx.singular}
|
|
5166
|
-
const ${(0, import_client_common4.
|
|
5170
|
+
const ${(0, import_client_common4.uncapitalize)(ctx.mapping.model)} = await ${ctx.method}({
|
|
5167
5171
|
where: {
|
|
5168
5172
|
// ... provide filter here
|
|
5169
5173
|
},
|
|
@@ -5182,7 +5186,7 @@ const ${(0, import_client_common4.lowerCase)(ctx.mapping.model)} = await ${ctx.m
|
|
|
5182
5186
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to update or create a ${ctx.singular}.
|
|
5183
5187
|
@example
|
|
5184
5188
|
// Update or create a ${ctx.singular}
|
|
5185
|
-
const ${(0, import_client_common4.
|
|
5189
|
+
const ${(0, import_client_common4.uncapitalize)(ctx.mapping.model)} = await ${ctx.method}({
|
|
5186
5190
|
create: {
|
|
5187
5191
|
// ... data to create a ${ctx.singular}
|
|
5188
5192
|
},
|
|
@@ -5276,7 +5280,7 @@ ${undefinedNote}
|
|
|
5276
5280
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to update one or more rows.
|
|
5277
5281
|
@example
|
|
5278
5282
|
// Update many ${ctx.plural}
|
|
5279
|
-
const ${(0, import_client_common4.
|
|
5283
|
+
const ${(0, import_client_common4.uncapitalize)(ctx.mapping.model)} = await ${ctx.method}({
|
|
5280
5284
|
where: {
|
|
5281
5285
|
// ... provide filter here
|
|
5282
5286
|
},
|
|
@@ -5295,7 +5299,7 @@ const ${(0, import_client_common4.lowerCase)(ctx.mapping.model)} = await ${ctx.m
|
|
|
5295
5299
|
body: (ctx) => {
|
|
5296
5300
|
const onlySelect = ctx.firstScalar ? `
|
|
5297
5301
|
// Update zero or more ${ctx.plural} and only return the \`${ctx.firstScalar.name}\`
|
|
5298
|
-
const ${(0, import_client_common4.
|
|
5302
|
+
const ${(0, import_client_common4.uncapitalize)(ctx.mapping.model)}With${(0, import_client_common4.capitalize)(ctx.firstScalar.name)}Only = await ${ctx.method}({
|
|
5299
5303
|
select: { ${ctx.firstScalar.name}: true },
|
|
5300
5304
|
where: {
|
|
5301
5305
|
// ... provide filter here
|
|
@@ -5308,7 +5312,7 @@ const ${(0, import_client_common4.lowerCase)(ctx.mapping.model)}With${(0, import
|
|
|
5308
5312
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to update many ${ctx.plural}.
|
|
5309
5313
|
@example
|
|
5310
5314
|
// Update many ${ctx.plural}
|
|
5311
|
-
const ${(0, import_client_common4.
|
|
5315
|
+
const ${(0, import_client_common4.uncapitalize)(ctx.mapping.model)} = await ${ctx.method}({
|
|
5312
5316
|
where: {
|
|
5313
5317
|
// ... provide filter here
|
|
5314
5318
|
},
|
|
@@ -5346,7 +5350,7 @@ const { count } = await ${ctx.method}({
|
|
|
5346
5350
|
body: (ctx) => `Perform aggregation operations on a ${ctx.singular}.
|
|
5347
5351
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Select which aggregations you would like to apply.
|
|
5348
5352
|
@example
|
|
5349
|
-
const ${(0, import_client_common4.
|
|
5353
|
+
const ${(0, import_client_common4.uncapitalize)(ctx.mapping.model)} = await ${ctx.method}({
|
|
5350
5354
|
pipeline: [
|
|
5351
5355
|
{ $match: { status: "registered" } },
|
|
5352
5356
|
{ $group: { _id: "$country", total: { $sum: 1 } } }
|
|
@@ -5361,7 +5365,7 @@ const ${(0, import_client_common4.lowerCase)(ctx.mapping.model)} = await ${ctx.m
|
|
|
5361
5365
|
body: (ctx) => `Find zero or more ${ctx.plural} that matches the filter.
|
|
5362
5366
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Select which filters you would like to apply.
|
|
5363
5367
|
@example
|
|
5364
|
-
const ${(0, import_client_common4.
|
|
5368
|
+
const ${(0, import_client_common4.uncapitalize)(ctx.mapping.model)} = await ${ctx.method}({
|
|
5365
5369
|
filter: { age: { $gt: 25 } }
|
|
5366
5370
|
})`,
|
|
5367
5371
|
fields: {
|
|
@@ -5377,7 +5381,7 @@ function getMethodJSDocBody(action, mapping, model) {
|
|
|
5377
5381
|
singular: (0, import_client_common5.capitalize)(mapping.model),
|
|
5378
5382
|
plural: (0, import_client_common5.capitalize)(mapping.plural),
|
|
5379
5383
|
firstScalar: model.fields.find((f) => f.kind === "scalar"),
|
|
5380
|
-
method: `prisma.${(0, import_client_common5.
|
|
5384
|
+
method: `prisma.${(0, import_client_common5.uncapitalize)(mapping.model)}.${action}`,
|
|
5381
5385
|
action,
|
|
5382
5386
|
mapping,
|
|
5383
5387
|
model
|
|
@@ -5592,7 +5596,7 @@ function buildModelPayload(model, context) {
|
|
|
5592
5596
|
scalars.add(buildModelOutputProperty(field, context.dmmf));
|
|
5593
5597
|
}
|
|
5594
5598
|
}
|
|
5595
|
-
const scalarsType = isComposite ? scalars : ts5.namedType("$Extensions.GetPayloadResult").addGenericArgument(scalars).addGenericArgument(ts5.namedType("ExtArgs").subKey("result").subKey((0, import_client_common6.
|
|
5599
|
+
const scalarsType = isComposite ? scalars : ts5.namedType("$Extensions.GetPayloadResult").addGenericArgument(scalars).addGenericArgument(ts5.namedType("ExtArgs").subKey("result").subKey((0, import_client_common6.uncapitalize)(model.name)));
|
|
5596
5600
|
const payloadTypeDeclaration = ts5.typeDeclaration(
|
|
5597
5601
|
getPayloadName(model.name, false),
|
|
5598
5602
|
ts5.objectType().add(ts5.property("name", ts5.stringLiteral(model.name))).add(ts5.property("objects", objects)).add(ts5.property("scalars", scalarsType)).add(ts5.property("composites", composites))
|
|
@@ -5638,7 +5642,7 @@ function buildSelectType({
|
|
|
5638
5642
|
return buildExport(typeName, selectType);
|
|
5639
5643
|
}
|
|
5640
5644
|
function modelResultExtensionsType(modelName) {
|
|
5641
|
-
return extArgsParam.toArgument().subKey("result").subKey((0, import_client_common7.
|
|
5645
|
+
return extArgsParam.toArgument().subKey("result").subKey((0, import_client_common7.uncapitalize)(modelName));
|
|
5642
5646
|
}
|
|
5643
5647
|
function buildScalarSelectType({ modelName, fields, context }) {
|
|
5644
5648
|
const object = buildSelectOrIncludeObject(
|
|
@@ -7418,7 +7422,7 @@ function globalOmitConfig(dmmf) {
|
|
|
7418
7422
|
const objectType9 = ts10.objectType().addMultiple(
|
|
7419
7423
|
dmmf.datamodel.models.map((model) => {
|
|
7420
7424
|
const type = ts10.namedType(getOmitName(model.name));
|
|
7421
|
-
return ts10.property((0, import_client_common11.
|
|
7425
|
+
return ts10.property((0, import_client_common11.uncapitalize)(model.name), type).optional();
|
|
7422
7426
|
})
|
|
7423
7427
|
);
|
|
7424
7428
|
return ts10.moduleExport(ts10.typeDeclaration("GlobalOmitConfig", objectType9));
|
|
@@ -7431,7 +7435,7 @@ function clientTypeMapModelsDefinition(context) {
|
|
|
7431
7435
|
if (modelNames.length === 0) {
|
|
7432
7436
|
meta.add(ts11.property("modelProps", ts11.neverType));
|
|
7433
7437
|
} else {
|
|
7434
|
-
meta.add(ts11.property("modelProps", ts11.unionType(modelNames.map((name) => ts11.stringLiteral((0, import_client_common12.
|
|
7438
|
+
meta.add(ts11.property("modelProps", ts11.unionType(modelNames.map((name) => ts11.stringLiteral((0, import_client_common12.uncapitalize)(name))))));
|
|
7435
7439
|
}
|
|
7436
7440
|
const isolationLevel = context.dmmf.hasEnumInNamespace("TransactionIsolationLevel", "prisma") ? ts11.namedType("Prisma.TransactionIsolationLevel") : ts11.neverType;
|
|
7437
7441
|
meta.add(ts11.property("txIsolationLevel", isolationLevel));
|
|
@@ -7741,7 +7745,7 @@ var PrismaClientClass = class {
|
|
|
7741
7745
|
* \`\`\`
|
|
7742
7746
|
* const prisma = new PrismaClient()
|
|
7743
7747
|
* // Fetch zero or more ${capitalize2(example.plural)}
|
|
7744
|
-
* const ${(0, import_client_common12.
|
|
7748
|
+
* const ${(0, import_client_common12.uncapitalize)(example.plural)} = await prisma.${(0, import_client_common12.uncapitalize)(example.model)}.findMany()
|
|
7745
7749
|
* \`\`\`
|
|
7746
7750
|
*
|
|
7747
7751
|
*
|
|
@@ -7794,7 +7798,7 @@ ${[
|
|
|
7794
7798
|
|
|
7795
7799
|
${(0, import_indent_string7.default)(
|
|
7796
7800
|
dmmf.mappings.modelOperations.filter((m) => m.findMany).map((m) => {
|
|
7797
|
-
let methodName = (0, import_client_common12.
|
|
7801
|
+
let methodName = (0, import_client_common12.uncapitalize)(m.model);
|
|
7798
7802
|
if (methodName === "constructor") {
|
|
7799
7803
|
methodName = '["constructor"]';
|
|
7800
7804
|
}
|
|
@@ -7804,7 +7808,7 @@ ${[
|
|
|
7804
7808
|
* Example usage:
|
|
7805
7809
|
* \`\`\`ts
|
|
7806
7810
|
* // Fetch zero or more ${capitalize2(m.plural)}
|
|
7807
|
-
* const ${(0, import_client_common12.
|
|
7811
|
+
* const ${(0, import_client_common12.uncapitalize)(m.plural)} = await prisma.${methodName}.findMany()
|
|
7808
7812
|
* \`\`\`
|
|
7809
7813
|
*/
|
|
7810
7814
|
get ${methodName}(): Prisma.${m.model}Delegate<${generics.join(", ")}>;`;
|
|
@@ -9128,7 +9132,7 @@ var import_internals12 = require("@prisma/internals");
|
|
|
9128
9132
|
var import_ts_pattern = require("ts-pattern");
|
|
9129
9133
|
|
|
9130
9134
|
// package.json
|
|
9131
|
-
var version = "6.12.0-dev.
|
|
9135
|
+
var version = "6.12.0-dev.40";
|
|
9132
9136
|
|
|
9133
9137
|
// src/resolvePrismaClient.ts
|
|
9134
9138
|
var import_promises2 = __toESM(require("node:fs/promises"));
|
package/dist/index.mjs
CHANGED
|
@@ -4129,7 +4129,7 @@ var require_execa = __commonJS({
|
|
|
4129
4129
|
});
|
|
4130
4130
|
|
|
4131
4131
|
// src/externalToInternalDmmf.ts
|
|
4132
|
-
import { capitalize,
|
|
4132
|
+
import { capitalize, uncapitalize } from "@prisma/client-common";
|
|
4133
4133
|
import pluralize from "pluralize";
|
|
4134
4134
|
function externalToInternalDmmf(document) {
|
|
4135
4135
|
return {
|
|
@@ -4146,7 +4146,7 @@ function getMappings(mappings, datamodel) {
|
|
|
4146
4146
|
return model.fields.some((f) => f.kind !== "object");
|
|
4147
4147
|
}).map((mapping) => ({
|
|
4148
4148
|
model: mapping.model,
|
|
4149
|
-
plural: pluralize(
|
|
4149
|
+
plural: pluralize(uncapitalize(mapping.model)),
|
|
4150
4150
|
// TODO not needed anymore
|
|
4151
4151
|
findUnique: mapping.findUnique || mapping.findSingle,
|
|
4152
4152
|
findUniqueOrThrow: mapping.findUniqueOrThrow,
|
|
@@ -4336,6 +4336,10 @@ var package_default = {
|
|
|
4336
4336
|
},
|
|
4337
4337
|
"./runtime/client": {
|
|
4338
4338
|
types: "./runtime/client.d.ts",
|
|
4339
|
+
node: {
|
|
4340
|
+
require: "./runtime/client.js",
|
|
4341
|
+
default: "./runtime/client.js"
|
|
4342
|
+
},
|
|
4339
4343
|
require: "./runtime/client.js",
|
|
4340
4344
|
import: "./runtime/client.mjs",
|
|
4341
4345
|
default: "./runtime/client.mjs"
|
|
@@ -4429,7 +4433,6 @@ var package_default = {
|
|
|
4429
4433
|
files: [
|
|
4430
4434
|
"README.md",
|
|
4431
4435
|
"runtime",
|
|
4432
|
-
"!runtime/*.map",
|
|
4433
4436
|
"scripts",
|
|
4434
4437
|
"generator-build",
|
|
4435
4438
|
"edge.js",
|
|
@@ -4484,7 +4487,7 @@ var package_default = {
|
|
|
4484
4487
|
"@prisma/dmmf": "workspace:*",
|
|
4485
4488
|
"@prisma/driver-adapter-utils": "workspace:*",
|
|
4486
4489
|
"@prisma/engines": "workspace:*",
|
|
4487
|
-
"@prisma/engines-version": "6.
|
|
4490
|
+
"@prisma/engines-version": "6.12.0-15.8047c96bbd92db98a2abc7c9323ce77c02c89dbc",
|
|
4488
4491
|
"@prisma/fetch-engine": "workspace:*",
|
|
4489
4492
|
"@prisma/generator": "workspace:*",
|
|
4490
4493
|
"@prisma/generator-helper": "workspace:*",
|
|
@@ -4493,8 +4496,8 @@ var package_default = {
|
|
|
4493
4496
|
"@prisma/internals": "workspace:*",
|
|
4494
4497
|
"@prisma/migrate": "workspace:*",
|
|
4495
4498
|
"@prisma/mini-proxy": "0.9.5",
|
|
4496
|
-
"@prisma/query-compiler-wasm": "6.
|
|
4497
|
-
"@prisma/query-engine-wasm": "6.
|
|
4499
|
+
"@prisma/query-compiler-wasm": "6.12.0-15.8047c96bbd92db98a2abc7c9323ce77c02c89dbc",
|
|
4500
|
+
"@prisma/query-engine-wasm": "6.12.0-15.8047c96bbd92db98a2abc7c9323ce77c02c89dbc",
|
|
4498
4501
|
"@prisma/ts-builders": "workspace:*",
|
|
4499
4502
|
"@snaplet/copycat": "6.0.0",
|
|
4500
4503
|
"@swc-node/register": "1.10.9",
|
|
@@ -4510,8 +4513,9 @@ var package_default = {
|
|
|
4510
4513
|
"@types/pg": "8.11.11",
|
|
4511
4514
|
arg: "5.0.2",
|
|
4512
4515
|
benchmark: "2.1.4",
|
|
4516
|
+
"cookie-es": "2.0.0",
|
|
4513
4517
|
"decimal.js": "10.5.0",
|
|
4514
|
-
esbuild: "0.25.
|
|
4518
|
+
esbuild: "0.25.5",
|
|
4515
4519
|
execa: "5.1.1",
|
|
4516
4520
|
"expect-type": "1.2.0",
|
|
4517
4521
|
"fs-extra": "11.3.0",
|
|
@@ -4527,7 +4531,7 @@ var package_default = {
|
|
|
4527
4531
|
kleur: "4.1.5",
|
|
4528
4532
|
klona: "2.0.6",
|
|
4529
4533
|
mariadb: "3.4.0",
|
|
4530
|
-
memfs: "4.17.
|
|
4534
|
+
memfs: "4.17.2",
|
|
4531
4535
|
mssql: "11.0.1",
|
|
4532
4536
|
"new-github-issue-url": "0.2.1",
|
|
4533
4537
|
"p-retry": "4.6.2",
|
|
@@ -4944,11 +4948,11 @@ import { klona } from "klona";
|
|
|
4944
4948
|
import * as ts3 from "@prisma/ts-builders";
|
|
4945
4949
|
|
|
4946
4950
|
// src/TSClient/helpers.ts
|
|
4947
|
-
import { capitalize as capitalize4,
|
|
4951
|
+
import { capitalize as capitalize4, uncapitalize as uncapitalize3 } from "@prisma/client-common";
|
|
4948
4952
|
import pluralize2 from "pluralize";
|
|
4949
4953
|
|
|
4950
4954
|
// src/TSClient/jsdoc.ts
|
|
4951
|
-
import { capitalize as capitalize3,
|
|
4955
|
+
import { capitalize as capitalize3, uncapitalize as uncapitalize2 } from "@prisma/client-common";
|
|
4952
4956
|
var Docs = {
|
|
4953
4957
|
cursor: `{@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}`,
|
|
4954
4958
|
pagination: `{@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}`,
|
|
@@ -5021,7 +5025,7 @@ const ${ctx.singular} = await ${ctx.method}({
|
|
|
5021
5025
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to create many ${ctx.plural}.
|
|
5022
5026
|
@example
|
|
5023
5027
|
// Create many ${ctx.plural}
|
|
5024
|
-
const ${
|
|
5028
|
+
const ${uncapitalize2(ctx.mapping.model)} = await ${ctx.method}({
|
|
5025
5029
|
data: [
|
|
5026
5030
|
// ... provide data here
|
|
5027
5031
|
]
|
|
@@ -5035,7 +5039,7 @@ const ${lowerCase2(ctx.mapping.model)} = await ${ctx.method}({
|
|
|
5035
5039
|
body: (ctx) => {
|
|
5036
5040
|
const onlySelect = ctx.firstScalar ? `
|
|
5037
5041
|
// Create many ${ctx.plural} and only return the \`${ctx.firstScalar.name}\`
|
|
5038
|
-
const ${
|
|
5042
|
+
const ${uncapitalize2(ctx.mapping.model)}With${capitalize3(ctx.firstScalar.name)}Only = await ${ctx.method}({
|
|
5039
5043
|
select: { ${ctx.firstScalar.name}: true },
|
|
5040
5044
|
data: [
|
|
5041
5045
|
// ... provide data here
|
|
@@ -5045,7 +5049,7 @@ const ${lowerCase2(ctx.mapping.model)}With${capitalize3(ctx.firstScalar.name)}On
|
|
|
5045
5049
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to create many ${ctx.plural}.
|
|
5046
5050
|
@example
|
|
5047
5051
|
// Create many ${ctx.plural}
|
|
5048
|
-
const ${
|
|
5052
|
+
const ${uncapitalize2(ctx.mapping.model)} = await ${ctx.method}({
|
|
5049
5053
|
data: [
|
|
5050
5054
|
// ... provide data here
|
|
5051
5055
|
]
|
|
@@ -5063,7 +5067,7 @@ ${undefinedNote}
|
|
|
5063
5067
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to find a ${ctx.singular}
|
|
5064
5068
|
@example
|
|
5065
5069
|
// Get one ${ctx.singular}
|
|
5066
|
-
const ${
|
|
5070
|
+
const ${uncapitalize2(ctx.mapping.model)} = await ${ctx.method}({
|
|
5067
5071
|
where: {
|
|
5068
5072
|
// ... provide filter here
|
|
5069
5073
|
}
|
|
@@ -5078,7 +5082,7 @@ if no matches were found.
|
|
|
5078
5082
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to find a ${ctx.singular}
|
|
5079
5083
|
@example
|
|
5080
5084
|
// Get one ${ctx.singular}
|
|
5081
|
-
const ${
|
|
5085
|
+
const ${uncapitalize2(ctx.mapping.model)} = await ${ctx.method}({
|
|
5082
5086
|
where: {
|
|
5083
5087
|
// ... provide filter here
|
|
5084
5088
|
}
|
|
@@ -5093,7 +5097,7 @@ ${undefinedNote}
|
|
|
5093
5097
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to find a ${ctx.singular}
|
|
5094
5098
|
@example
|
|
5095
5099
|
// Get one ${ctx.singular}
|
|
5096
|
-
const ${
|
|
5100
|
+
const ${uncapitalize2(ctx.mapping.model)} = await ${ctx.method}({
|
|
5097
5101
|
where: {
|
|
5098
5102
|
// ... provide filter here
|
|
5099
5103
|
}
|
|
@@ -5114,7 +5118,7 @@ ${undefinedNote}
|
|
|
5114
5118
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to find a ${ctx.singular}
|
|
5115
5119
|
@example
|
|
5116
5120
|
// Get one ${ctx.singular}
|
|
5117
|
-
const ${
|
|
5121
|
+
const ${uncapitalize2(ctx.mapping.model)} = await ${ctx.method}({
|
|
5118
5122
|
where: {
|
|
5119
5123
|
// ... provide filter here
|
|
5120
5124
|
}
|
|
@@ -5132,7 +5136,7 @@ const ${lowerCase2(ctx.mapping.model)} = await ${ctx.method}({
|
|
|
5132
5136
|
body: (ctx) => {
|
|
5133
5137
|
const onlySelect = ctx.firstScalar ? `
|
|
5134
5138
|
// Only select the \`${ctx.firstScalar.name}\`
|
|
5135
|
-
const ${
|
|
5139
|
+
const ${uncapitalize2(ctx.mapping.model)}With${capitalize3(ctx.firstScalar.name)}Only = await ${ctx.method}({ select: { ${ctx.firstScalar.name}: true } })` : "";
|
|
5136
5140
|
return `Find zero or more ${ctx.plural} that matches the filter.
|
|
5137
5141
|
${undefinedNote}
|
|
5138
5142
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to filter and select certain fields only.
|
|
@@ -5158,7 +5162,7 @@ ${onlySelect}
|
|
|
5158
5162
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to update one ${ctx.singular}.
|
|
5159
5163
|
@example
|
|
5160
5164
|
// Update one ${ctx.singular}
|
|
5161
|
-
const ${
|
|
5165
|
+
const ${uncapitalize2(ctx.mapping.model)} = await ${ctx.method}({
|
|
5162
5166
|
where: {
|
|
5163
5167
|
// ... provide filter here
|
|
5164
5168
|
},
|
|
@@ -5177,7 +5181,7 @@ const ${lowerCase2(ctx.mapping.model)} = await ${ctx.method}({
|
|
|
5177
5181
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to update or create a ${ctx.singular}.
|
|
5178
5182
|
@example
|
|
5179
5183
|
// Update or create a ${ctx.singular}
|
|
5180
|
-
const ${
|
|
5184
|
+
const ${uncapitalize2(ctx.mapping.model)} = await ${ctx.method}({
|
|
5181
5185
|
create: {
|
|
5182
5186
|
// ... data to create a ${ctx.singular}
|
|
5183
5187
|
},
|
|
@@ -5271,7 +5275,7 @@ ${undefinedNote}
|
|
|
5271
5275
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to update one or more rows.
|
|
5272
5276
|
@example
|
|
5273
5277
|
// Update many ${ctx.plural}
|
|
5274
|
-
const ${
|
|
5278
|
+
const ${uncapitalize2(ctx.mapping.model)} = await ${ctx.method}({
|
|
5275
5279
|
where: {
|
|
5276
5280
|
// ... provide filter here
|
|
5277
5281
|
},
|
|
@@ -5290,7 +5294,7 @@ const ${lowerCase2(ctx.mapping.model)} = await ${ctx.method}({
|
|
|
5290
5294
|
body: (ctx) => {
|
|
5291
5295
|
const onlySelect = ctx.firstScalar ? `
|
|
5292
5296
|
// Update zero or more ${ctx.plural} and only return the \`${ctx.firstScalar.name}\`
|
|
5293
|
-
const ${
|
|
5297
|
+
const ${uncapitalize2(ctx.mapping.model)}With${capitalize3(ctx.firstScalar.name)}Only = await ${ctx.method}({
|
|
5294
5298
|
select: { ${ctx.firstScalar.name}: true },
|
|
5295
5299
|
where: {
|
|
5296
5300
|
// ... provide filter here
|
|
@@ -5303,7 +5307,7 @@ const ${lowerCase2(ctx.mapping.model)}With${capitalize3(ctx.firstScalar.name)}On
|
|
|
5303
5307
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to update many ${ctx.plural}.
|
|
5304
5308
|
@example
|
|
5305
5309
|
// Update many ${ctx.plural}
|
|
5306
|
-
const ${
|
|
5310
|
+
const ${uncapitalize2(ctx.mapping.model)} = await ${ctx.method}({
|
|
5307
5311
|
where: {
|
|
5308
5312
|
// ... provide filter here
|
|
5309
5313
|
},
|
|
@@ -5341,7 +5345,7 @@ const { count } = await ${ctx.method}({
|
|
|
5341
5345
|
body: (ctx) => `Perform aggregation operations on a ${ctx.singular}.
|
|
5342
5346
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Select which aggregations you would like to apply.
|
|
5343
5347
|
@example
|
|
5344
|
-
const ${
|
|
5348
|
+
const ${uncapitalize2(ctx.mapping.model)} = await ${ctx.method}({
|
|
5345
5349
|
pipeline: [
|
|
5346
5350
|
{ $match: { status: "registered" } },
|
|
5347
5351
|
{ $group: { _id: "$country", total: { $sum: 1 } } }
|
|
@@ -5356,7 +5360,7 @@ const ${lowerCase2(ctx.mapping.model)} = await ${ctx.method}({
|
|
|
5356
5360
|
body: (ctx) => `Find zero or more ${ctx.plural} that matches the filter.
|
|
5357
5361
|
@param {${getModelArgName(ctx.model.name, ctx.action)}} args - Select which filters you would like to apply.
|
|
5358
5362
|
@example
|
|
5359
|
-
const ${
|
|
5363
|
+
const ${uncapitalize2(ctx.mapping.model)} = await ${ctx.method}({
|
|
5360
5364
|
filter: { age: { $gt: 25 } }
|
|
5361
5365
|
})`,
|
|
5362
5366
|
fields: {
|
|
@@ -5372,7 +5376,7 @@ function getMethodJSDocBody(action, mapping, model) {
|
|
|
5372
5376
|
singular: capitalize4(mapping.model),
|
|
5373
5377
|
plural: capitalize4(mapping.plural),
|
|
5374
5378
|
firstScalar: model.fields.find((f) => f.kind === "scalar"),
|
|
5375
|
-
method: `prisma.${
|
|
5379
|
+
method: `prisma.${uncapitalize3(mapping.model)}.${action}`,
|
|
5376
5380
|
action,
|
|
5377
5381
|
mapping,
|
|
5378
5382
|
model
|
|
@@ -5569,7 +5573,7 @@ function enumTypeName(ref) {
|
|
|
5569
5573
|
}
|
|
5570
5574
|
|
|
5571
5575
|
// src/TSClient/Payload.ts
|
|
5572
|
-
import {
|
|
5576
|
+
import { uncapitalize as uncapitalize4 } from "@prisma/client-common";
|
|
5573
5577
|
import * as ts5 from "@prisma/ts-builders";
|
|
5574
5578
|
function buildModelPayload(model, context) {
|
|
5575
5579
|
const isComposite = context.dmmf.isComposite(model.name);
|
|
@@ -5587,7 +5591,7 @@ function buildModelPayload(model, context) {
|
|
|
5587
5591
|
scalars.add(buildModelOutputProperty(field, context.dmmf));
|
|
5588
5592
|
}
|
|
5589
5593
|
}
|
|
5590
|
-
const scalarsType = isComposite ? scalars : ts5.namedType("$Extensions.GetPayloadResult").addGenericArgument(scalars).addGenericArgument(ts5.namedType("ExtArgs").subKey("result").subKey(
|
|
5594
|
+
const scalarsType = isComposite ? scalars : ts5.namedType("$Extensions.GetPayloadResult").addGenericArgument(scalars).addGenericArgument(ts5.namedType("ExtArgs").subKey("result").subKey(uncapitalize4(model.name)));
|
|
5591
5595
|
const payloadTypeDeclaration = ts5.typeDeclaration(
|
|
5592
5596
|
getPayloadName(model.name, false),
|
|
5593
5597
|
ts5.objectType().add(ts5.property("name", ts5.stringLiteral(model.name))).add(ts5.property("objects", objects)).add(ts5.property("scalars", scalarsType)).add(ts5.property("composites", composites))
|
|
@@ -5599,7 +5603,7 @@ function buildModelPayload(model, context) {
|
|
|
5599
5603
|
}
|
|
5600
5604
|
|
|
5601
5605
|
// src/TSClient/SelectIncludeOmit.ts
|
|
5602
|
-
import {
|
|
5606
|
+
import { uncapitalize as uncapitalize5 } from "@prisma/client-common";
|
|
5603
5607
|
import * as ts6 from "@prisma/ts-builders";
|
|
5604
5608
|
function buildIncludeType({
|
|
5605
5609
|
modelName,
|
|
@@ -5633,7 +5637,7 @@ function buildSelectType({
|
|
|
5633
5637
|
return buildExport(typeName, selectType);
|
|
5634
5638
|
}
|
|
5635
5639
|
function modelResultExtensionsType(modelName) {
|
|
5636
|
-
return extArgsParam.toArgument().subKey("result").subKey(
|
|
5640
|
+
return extArgsParam.toArgument().subKey("result").subKey(uncapitalize5(modelName));
|
|
5637
5641
|
}
|
|
5638
5642
|
function buildScalarSelectType({ modelName, fields, context }) {
|
|
5639
5643
|
const object = buildSelectOrIncludeObject(
|
|
@@ -7381,7 +7385,7 @@ var GenerateContext = class {
|
|
|
7381
7385
|
};
|
|
7382
7386
|
|
|
7383
7387
|
// src/TSClient/PrismaClient.ts
|
|
7384
|
-
import {
|
|
7388
|
+
import { uncapitalize as uncapitalize7 } from "@prisma/client-common";
|
|
7385
7389
|
import { assertNever as assertNever2 } from "@prisma/internals";
|
|
7386
7390
|
import * as ts11 from "@prisma/ts-builders";
|
|
7387
7391
|
import indent7 from "indent-string";
|
|
@@ -7410,13 +7414,13 @@ ${indent6(sources.map((s) => `${s.name}?: Datasource`).join("\n"), 2)}
|
|
|
7410
7414
|
};
|
|
7411
7415
|
|
|
7412
7416
|
// src/TSClient/globalOmit.ts
|
|
7413
|
-
import {
|
|
7417
|
+
import { uncapitalize as uncapitalize6 } from "@prisma/client-common";
|
|
7414
7418
|
import * as ts10 from "@prisma/ts-builders";
|
|
7415
7419
|
function globalOmitConfig(dmmf) {
|
|
7416
7420
|
const objectType9 = ts10.objectType().addMultiple(
|
|
7417
7421
|
dmmf.datamodel.models.map((model) => {
|
|
7418
7422
|
const type = ts10.namedType(getOmitName(model.name));
|
|
7419
|
-
return ts10.property(
|
|
7423
|
+
return ts10.property(uncapitalize6(model.name), type).optional();
|
|
7420
7424
|
})
|
|
7421
7425
|
);
|
|
7422
7426
|
return ts10.moduleExport(ts10.typeDeclaration("GlobalOmitConfig", objectType9));
|
|
@@ -7429,7 +7433,7 @@ function clientTypeMapModelsDefinition(context) {
|
|
|
7429
7433
|
if (modelNames.length === 0) {
|
|
7430
7434
|
meta.add(ts11.property("modelProps", ts11.neverType));
|
|
7431
7435
|
} else {
|
|
7432
|
-
meta.add(ts11.property("modelProps", ts11.unionType(modelNames.map((name) => ts11.stringLiteral(
|
|
7436
|
+
meta.add(ts11.property("modelProps", ts11.unionType(modelNames.map((name) => ts11.stringLiteral(uncapitalize7(name))))));
|
|
7433
7437
|
}
|
|
7434
7438
|
const isolationLevel = context.dmmf.hasEnumInNamespace("TransactionIsolationLevel", "prisma") ? ts11.namedType("Prisma.TransactionIsolationLevel") : ts11.neverType;
|
|
7435
7439
|
meta.add(ts11.property("txIsolationLevel", isolationLevel));
|
|
@@ -7739,7 +7743,7 @@ var PrismaClientClass = class {
|
|
|
7739
7743
|
* \`\`\`
|
|
7740
7744
|
* const prisma = new PrismaClient()
|
|
7741
7745
|
* // Fetch zero or more ${capitalize2(example.plural)}
|
|
7742
|
-
* const ${
|
|
7746
|
+
* const ${uncapitalize7(example.plural)} = await prisma.${uncapitalize7(example.model)}.findMany()
|
|
7743
7747
|
* \`\`\`
|
|
7744
7748
|
*
|
|
7745
7749
|
*
|
|
@@ -7792,7 +7796,7 @@ ${[
|
|
|
7792
7796
|
|
|
7793
7797
|
${indent7(
|
|
7794
7798
|
dmmf.mappings.modelOperations.filter((m) => m.findMany).map((m) => {
|
|
7795
|
-
let methodName =
|
|
7799
|
+
let methodName = uncapitalize7(m.model);
|
|
7796
7800
|
if (methodName === "constructor") {
|
|
7797
7801
|
methodName = '["constructor"]';
|
|
7798
7802
|
}
|
|
@@ -7802,7 +7806,7 @@ ${[
|
|
|
7802
7806
|
* Example usage:
|
|
7803
7807
|
* \`\`\`ts
|
|
7804
7808
|
* // Fetch zero or more ${capitalize2(m.plural)}
|
|
7805
|
-
* const ${
|
|
7809
|
+
* const ${uncapitalize7(m.plural)} = await prisma.${methodName}.findMany()
|
|
7806
7810
|
* \`\`\`
|
|
7807
7811
|
*/
|
|
7808
7812
|
get ${methodName}(): Prisma.${m.model}Delegate<${generics.join(", ")}>;`;
|
|
@@ -9126,7 +9130,7 @@ import { ClientEngineType as ClientEngineType4, getClientEngineType as getClient
|
|
|
9126
9130
|
import { match } from "ts-pattern";
|
|
9127
9131
|
|
|
9128
9132
|
// package.json
|
|
9129
|
-
var version = "6.12.0-dev.
|
|
9133
|
+
var version = "6.12.0-dev.40";
|
|
9130
9134
|
|
|
9131
9135
|
// src/resolvePrismaClient.ts
|
|
9132
9136
|
var import_execa = __toESM(require_execa());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-js",
|
|
3
|
-
"version": "6.12.0-dev.
|
|
3
|
+
"version": "6.12.0-dev.40",
|
|
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": "6.
|
|
28
|
+
"@prisma/engines-version": "6.12.0-15.8047c96bbd92db98a2abc7c9323ce77c02c89dbc",
|
|
29
29
|
"ci-info": "4.2.0",
|
|
30
30
|
"env-paths": "2.2.1",
|
|
31
31
|
"indent-string": "4.0.0",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"pkg-up": "3.1.0",
|
|
34
34
|
"pluralize": "8.0.0",
|
|
35
35
|
"ts-pattern": "5.6.2",
|
|
36
|
-
"@prisma/
|
|
37
|
-
"@prisma/
|
|
38
|
-
"@prisma/
|
|
39
|
-
"@prisma/
|
|
40
|
-
"@prisma/
|
|
41
|
-
"@prisma/get-platform": "6.12.0-dev.
|
|
42
|
-
"@prisma/
|
|
43
|
-
"@prisma/ts-builders": "6.12.0-dev.
|
|
36
|
+
"@prisma/debug": "6.12.0-dev.40",
|
|
37
|
+
"@prisma/dmmf": "6.12.0-dev.40",
|
|
38
|
+
"@prisma/fetch-engine": "6.12.0-dev.40",
|
|
39
|
+
"@prisma/generator": "6.12.0-dev.40",
|
|
40
|
+
"@prisma/client-common": "6.12.0-dev.40",
|
|
41
|
+
"@prisma/get-platform": "6.12.0-dev.40",
|
|
42
|
+
"@prisma/internals": "6.12.0-dev.40",
|
|
43
|
+
"@prisma/ts-builders": "6.12.0-dev.40"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/pluralize": "0.0.33",
|