@prisma/client-generator-js 6.19.0-integration-next.9 → 6.19.0-integration-next.11

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 CHANGED
@@ -3040,7 +3040,7 @@ var package_default = {
3040
3040
  "@prisma/dmmf": "workspace:*",
3041
3041
  "@prisma/driver-adapter-utils": "workspace:*",
3042
3042
  "@prisma/engines": "workspace:*",
3043
- "@prisma/engines-version": "6.19.0-18.next-5d7e37b62b9e0963f1a714ab97b814e0fe4835a0",
3043
+ "@prisma/engines-version": "6.19.0-21.next-3ab778d6c5a8df0d39fd88ffd67461d3395af732",
3044
3044
  "@prisma/fetch-engine": "workspace:*",
3045
3045
  "@prisma/generator": "workspace:*",
3046
3046
  "@prisma/generator-helper": "workspace:*",
@@ -3048,8 +3048,8 @@ var package_default = {
3048
3048
  "@prisma/instrumentation": "workspace:*",
3049
3049
  "@prisma/internals": "workspace:*",
3050
3050
  "@prisma/migrate": "workspace:*",
3051
- "@prisma/query-compiler-wasm": "6.19.0-18.next-5d7e37b62b9e0963f1a714ab97b814e0fe4835a0",
3052
- "@prisma/query-engine-wasm": "6.19.0-18.next-5d7e37b62b9e0963f1a714ab97b814e0fe4835a0",
3051
+ "@prisma/query-compiler-wasm": "6.19.0-21.next-3ab778d6c5a8df0d39fd88ffd67461d3395af732",
3052
+ "@prisma/query-engine-wasm": "6.19.0-21.next-3ab778d6c5a8df0d39fd88ffd67461d3395af732",
3053
3053
  "@prisma/query-plan-executor": "workspace:*",
3054
3054
  "@prisma/ts-builders": "workspace:*",
3055
3055
  "@snaplet/copycat": "6.0.0",
@@ -5456,14 +5456,6 @@ export import Decimal = runtime.Decimal
5456
5456
 
5457
5457
  export type DecimalJsLike = runtime.DecimalJsLike
5458
5458
 
5459
- /**
5460
- * Metrics
5461
- */
5462
- export type Metrics = runtime.Metrics
5463
- export type Metric<T> = runtime.Metric<T>
5464
- export type MetricHistogram = runtime.MetricHistogram
5465
- export type MetricHistogramBucket = runtime.MetricHistogramBucket
5466
-
5467
5459
  /**
5468
5460
  * Extensions
5469
5461
  */
@@ -5963,9 +5955,6 @@ var import_indent_string7 = __toESM(require("indent-string"));
5963
5955
 
5964
5956
  // src/utils/runtimeImport.ts
5965
5957
  var ts9 = __toESM(require("@prisma/ts-builders"));
5966
- function runtimeImport(name) {
5967
- return name;
5968
- }
5969
5958
  function runtimeImportedType(name) {
5970
5959
  return ts9.namedType(`runtime.${name}`);
5971
5960
  }
@@ -6234,24 +6223,6 @@ function queryRawTypedDefinition(context) {
6234
6223
  ).setReturnType(prismaPromise(ts11.array(param.toArgument())));
6235
6224
  return ts11.stringify(method3, { indentLevel: 1, newLine: "leading" });
6236
6225
  }
6237
- function metricDefinition(context) {
6238
- if (!context.isPreviewFeatureOn("metrics")) {
6239
- return "";
6240
- }
6241
- const property11 = ts11.property("$metrics", ts11.namedType(`runtime.${runtimeImport("MetricsClient")}`)).setDocComment(
6242
- ts11.docComment`
6243
- Gives access to the client metrics in json or prometheus format.
6244
-
6245
- @example
6246
- \`\`\`
6247
- const metrics = await prisma.$metrics.json()
6248
- // or
6249
- const metrics = await prisma.$metrics.prometheus()
6250
- \`\`\`
6251
- `
6252
- ).readonly();
6253
- return ts11.stringify(property11, { indentLevel: 1, newLine: "leading" });
6254
- }
6255
6226
  function runCommandRawDefinition(context) {
6256
6227
  if (!context.dmmf.mappings.otherOperations.write.includes("runCommandRaw")) {
6257
6228
  return "";
@@ -6344,7 +6315,6 @@ ${[
6344
6315
  batchingTransactionDefinition(this.context),
6345
6316
  interactiveTransactionDefinition(this.context),
6346
6317
  runCommandRawDefinition(this.context),
6347
- metricDefinition(this.context),
6348
6318
  extendsPropertyDefinition()
6349
6319
  ].filter((d) => d !== null).join("\n").trim()}
6350
6320
 
@@ -7626,7 +7596,7 @@ var import_internals12 = require("@prisma/internals");
7626
7596
  var import_ts_pattern = require("ts-pattern");
7627
7597
 
7628
7598
  // package.json
7629
- var version = "6.19.0-integration-next.9";
7599
+ var version = "6.19.0-integration-next.11";
7630
7600
 
7631
7601
  // src/resolvePrismaClient.ts
7632
7602
  var import_promises3 = __toESM(require("node:fs/promises"));
package/dist/index.mjs CHANGED
@@ -3035,7 +3035,7 @@ var package_default = {
3035
3035
  "@prisma/dmmf": "workspace:*",
3036
3036
  "@prisma/driver-adapter-utils": "workspace:*",
3037
3037
  "@prisma/engines": "workspace:*",
3038
- "@prisma/engines-version": "6.19.0-18.next-5d7e37b62b9e0963f1a714ab97b814e0fe4835a0",
3038
+ "@prisma/engines-version": "6.19.0-21.next-3ab778d6c5a8df0d39fd88ffd67461d3395af732",
3039
3039
  "@prisma/fetch-engine": "workspace:*",
3040
3040
  "@prisma/generator": "workspace:*",
3041
3041
  "@prisma/generator-helper": "workspace:*",
@@ -3043,8 +3043,8 @@ var package_default = {
3043
3043
  "@prisma/instrumentation": "workspace:*",
3044
3044
  "@prisma/internals": "workspace:*",
3045
3045
  "@prisma/migrate": "workspace:*",
3046
- "@prisma/query-compiler-wasm": "6.19.0-18.next-5d7e37b62b9e0963f1a714ab97b814e0fe4835a0",
3047
- "@prisma/query-engine-wasm": "6.19.0-18.next-5d7e37b62b9e0963f1a714ab97b814e0fe4835a0",
3046
+ "@prisma/query-compiler-wasm": "6.19.0-21.next-3ab778d6c5a8df0d39fd88ffd67461d3395af732",
3047
+ "@prisma/query-engine-wasm": "6.19.0-21.next-3ab778d6c5a8df0d39fd88ffd67461d3395af732",
3048
3048
  "@prisma/query-plan-executor": "workspace:*",
3049
3049
  "@prisma/ts-builders": "workspace:*",
3050
3050
  "@snaplet/copycat": "6.0.0",
@@ -5454,14 +5454,6 @@ export import Decimal = runtime.Decimal
5454
5454
 
5455
5455
  export type DecimalJsLike = runtime.DecimalJsLike
5456
5456
 
5457
- /**
5458
- * Metrics
5459
- */
5460
- export type Metrics = runtime.Metrics
5461
- export type Metric<T> = runtime.Metric<T>
5462
- export type MetricHistogram = runtime.MetricHistogram
5463
- export type MetricHistogramBucket = runtime.MetricHistogramBucket
5464
-
5465
5457
  /**
5466
5458
  * Extensions
5467
5459
  */
@@ -5961,9 +5953,6 @@ import indent7 from "indent-string";
5961
5953
 
5962
5954
  // src/utils/runtimeImport.ts
5963
5955
  import * as ts9 from "@prisma/ts-builders";
5964
- function runtimeImport(name) {
5965
- return name;
5966
- }
5967
5956
  function runtimeImportedType(name) {
5968
5957
  return ts9.namedType(`runtime.${name}`);
5969
5958
  }
@@ -6232,24 +6221,6 @@ function queryRawTypedDefinition(context) {
6232
6221
  ).setReturnType(prismaPromise(ts11.array(param.toArgument())));
6233
6222
  return ts11.stringify(method3, { indentLevel: 1, newLine: "leading" });
6234
6223
  }
6235
- function metricDefinition(context) {
6236
- if (!context.isPreviewFeatureOn("metrics")) {
6237
- return "";
6238
- }
6239
- const property11 = ts11.property("$metrics", ts11.namedType(`runtime.${runtimeImport("MetricsClient")}`)).setDocComment(
6240
- ts11.docComment`
6241
- Gives access to the client metrics in json or prometheus format.
6242
-
6243
- @example
6244
- \`\`\`
6245
- const metrics = await prisma.$metrics.json()
6246
- // or
6247
- const metrics = await prisma.$metrics.prometheus()
6248
- \`\`\`
6249
- `
6250
- ).readonly();
6251
- return ts11.stringify(property11, { indentLevel: 1, newLine: "leading" });
6252
- }
6253
6224
  function runCommandRawDefinition(context) {
6254
6225
  if (!context.dmmf.mappings.otherOperations.write.includes("runCommandRaw")) {
6255
6226
  return "";
@@ -6342,7 +6313,6 @@ ${[
6342
6313
  batchingTransactionDefinition(this.context),
6343
6314
  interactiveTransactionDefinition(this.context),
6344
6315
  runCommandRawDefinition(this.context),
6345
- metricDefinition(this.context),
6346
6316
  extendsPropertyDefinition()
6347
6317
  ].filter((d) => d !== null).join("\n").trim()}
6348
6318
 
@@ -7624,7 +7594,7 @@ import { ClientEngineType as ClientEngineType4, getClientEngineType as getClient
7624
7594
  import { match } from "ts-pattern";
7625
7595
 
7626
7596
  // package.json
7627
- var version = "6.19.0-integration-next.9";
7597
+ var version = "6.19.0-integration-next.11";
7628
7598
 
7629
7599
  // src/resolvePrismaClient.ts
7630
7600
  import fs2 from "node:fs/promises";
@@ -1,11 +1,4 @@
1
1
  import * as ts from '@prisma/ts-builders';
2
2
  type RuntimeExport = keyof typeof import('@prisma/client/runtime/library') & string;
3
- /**
4
- * Helps to ensure that when we want to refer to a type or value, imported from runtime Module
5
- * we are referring to the name, that is actually exported
6
- *
7
- * @param name imported name
8
- */
9
- export declare function runtimeImport(name: RuntimeExport): string;
10
3
  export declare function runtimeImportedType(name: RuntimeExport): ts.NamedType;
11
4
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-generator-js",
3
- "version": "6.19.0-integration-next.9",
3
+ "version": "6.19.0-integration-next.11",
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.19.0-18.next-5d7e37b62b9e0963f1a714ab97b814e0fe4835a0",
28
+ "@prisma/engines-version": "6.19.0-21.next-3ab778d6c5a8df0d39fd88ffd67461d3395af732",
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
  "package-up": "5.0.0",
34
34
  "pluralize": "8.0.0",
35
35
  "ts-pattern": "5.6.2",
36
- "@prisma/client-common": "6.19.0-integration-next.9",
37
- "@prisma/dmmf": "6.19.0-integration-next.9",
38
- "@prisma/fetch-engine": "6.19.0-integration-next.9",
39
- "@prisma/generator": "6.19.0-integration-next.9",
40
- "@prisma/get-platform": "6.19.0-integration-next.9",
41
- "@prisma/ts-builders": "6.19.0-integration-next.9",
42
- "@prisma/internals": "6.19.0-integration-next.9",
43
- "@prisma/debug": "6.19.0-integration-next.9"
36
+ "@prisma/client-common": "6.19.0-integration-next.11",
37
+ "@prisma/fetch-engine": "6.19.0-integration-next.11",
38
+ "@prisma/debug": "6.19.0-integration-next.11",
39
+ "@prisma/generator": "6.19.0-integration-next.11",
40
+ "@prisma/dmmf": "6.19.0-integration-next.11",
41
+ "@prisma/get-platform": "6.19.0-integration-next.11",
42
+ "@prisma/ts-builders": "6.19.0-integration-next.11",
43
+ "@prisma/internals": "6.19.0-integration-next.11"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/pluralize": "0.0.33",