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