@prisma/param-graph-builder 7.4.0-integration-parameterization.11 → 7.4.0-integration-parameterization.13

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.
@@ -249,13 +249,9 @@ class DMMFTraverser {
249
249
  flags |= import_param_graph.EdgeFlag.Object;
250
250
  }
251
251
  if (inputObjectTypes.length === 1) {
252
- childNodeId = this.buildInputTypeNode(
253
- getTypeName(inputObjectTypes[0].type, inputObjectTypes[0].namespace)
254
- );
252
+ childNodeId = this.buildInputTypeNode(getTypeName(inputObjectTypes[0].type, inputObjectTypes[0].namespace));
255
253
  } else {
256
- childNodeId = this.buildUnionNode(
257
- inputObjectTypes.map((iot) => getTypeName(iot.type, iot.namespace))
258
- );
254
+ childNodeId = this.buildUnionNode(inputObjectTypes.map((iot) => getTypeName(iot.type, iot.namespace)));
259
255
  }
260
256
  }
261
257
  if (flags === 0) {
@@ -309,9 +305,7 @@ class DMMFTraverser {
309
305
  argsNodeId = this.buildInputNodeFromArgs(field.args);
310
306
  }
311
307
  if (field.outputType.location === "outputObjectTypes") {
312
- outputNodeId = this.buildOutputTypeNode(
313
- getTypeName(field.outputType.type, field.outputType.namespace)
314
- );
308
+ outputNodeId = this.buildOutputTypeNode(getTypeName(field.outputType.type, field.outputType.namespace));
315
309
  }
316
310
  if (argsNodeId === void 0 && outputNodeId === void 0) {
317
311
  return void 0;
@@ -226,13 +226,9 @@ class DMMFTraverser {
226
226
  flags |= EdgeFlag.Object;
227
227
  }
228
228
  if (inputObjectTypes.length === 1) {
229
- childNodeId = this.buildInputTypeNode(
230
- getTypeName(inputObjectTypes[0].type, inputObjectTypes[0].namespace)
231
- );
229
+ childNodeId = this.buildInputTypeNode(getTypeName(inputObjectTypes[0].type, inputObjectTypes[0].namespace));
232
230
  } else {
233
- childNodeId = this.buildUnionNode(
234
- inputObjectTypes.map((iot) => getTypeName(iot.type, iot.namespace))
235
- );
231
+ childNodeId = this.buildUnionNode(inputObjectTypes.map((iot) => getTypeName(iot.type, iot.namespace)));
236
232
  }
237
233
  }
238
234
  if (flags === 0) {
@@ -286,9 +282,7 @@ class DMMFTraverser {
286
282
  argsNodeId = this.buildInputNodeFromArgs(field.args);
287
283
  }
288
284
  if (field.outputType.location === "outputObjectTypes") {
289
- outputNodeId = this.buildOutputTypeNode(
290
- getTypeName(field.outputType.type, field.outputType.namespace)
291
- );
285
+ outputNodeId = this.buildOutputTypeNode(getTypeName(field.outputType.type, field.outputType.namespace));
292
286
  }
293
287
  if (argsNodeId === void 0 && outputNodeId === void 0) {
294
288
  return void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/param-graph-builder",
3
- "version": "7.4.0-integration-parameterization.11",
3
+ "version": "7.4.0-integration-parameterization.13",
4
4
  "description": "This package is intended for Prisma's internal use",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@prisma/dmmf": "7.4.0-integration-parameterization.11",
28
- "@prisma/param-graph": "7.4.0-integration-parameterization.11"
27
+ "@prisma/param-graph": "7.4.0-integration-parameterization.13",
28
+ "@prisma/dmmf": "7.4.0-integration-parameterization.13"
29
29
  },
30
30
  "files": [
31
31
  "dist"