@prisma/client-generator-js 6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.11 → 6.18.0-dev.1

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
@@ -3076,7 +3076,7 @@ var package_default = {
3076
3076
  "@prisma/dmmf": "workspace:*",
3077
3077
  "@prisma/driver-adapter-utils": "workspace:*",
3078
3078
  "@prisma/engines": "workspace:*",
3079
- "@prisma/engines-version": "6.17.0-10.297c68f876201799d7f27bcfc636364632386d0a",
3079
+ "@prisma/engines-version": "6.17.0-16.c0aafc03b8ef6cdced8654b9a817999e02457d6a",
3080
3080
  "@prisma/fetch-engine": "workspace:*",
3081
3081
  "@prisma/generator": "workspace:*",
3082
3082
  "@prisma/generator-helper": "workspace:*",
@@ -3085,8 +3085,8 @@ var package_default = {
3085
3085
  "@prisma/internals": "workspace:*",
3086
3086
  "@prisma/migrate": "workspace:*",
3087
3087
  "@prisma/mini-proxy": "0.9.5",
3088
- "@prisma/query-compiler-wasm": "6.17.0-10.297c68f876201799d7f27bcfc636364632386d0a",
3089
- "@prisma/query-engine-wasm": "6.17.0-10.297c68f876201799d7f27bcfc636364632386d0a",
3088
+ "@prisma/query-compiler-wasm": "6.17.0-16.c0aafc03b8ef6cdced8654b9a817999e02457d6a",
3089
+ "@prisma/query-engine-wasm": "6.17.0-16.c0aafc03b8ef6cdced8654b9a817999e02457d6a",
3090
3090
  "@prisma/query-plan-executor": "workspace:*",
3091
3091
  "@prisma/ts-builders": "workspace:*",
3092
3092
  "@snaplet/copycat": "6.0.0",
@@ -3104,6 +3104,7 @@ var package_default = {
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,9 +3140,6 @@ 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
3145
  typescript: ">=5.1.0"
@@ -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.data.map((v) => `${v.key}: ${this.getValueJS(v.value)}`).join(",\n"), TAB_SIZE)}
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.data.map((v) => `${v.key}: ${this.getValueTS(v.value)}`).join(",\n"), TAB_SIZE)}
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}]
@@ -3383,7 +3382,7 @@ function needsNamespace(field) {
3383
3382
  return true;
3384
3383
  }
3385
3384
  if (field.kind === "scalar") {
3386
- return field.type === "Json" || field.type === "Decimal";
3385
+ return field.type === "Json" || field.type === "Decimal" || field.type === "Bytes";
3387
3386
  }
3388
3387
  return false;
3389
3388
  }
@@ -3397,7 +3396,7 @@ var GraphQLScalarToJSTypeTable = {
3397
3396
  ID: "string",
3398
3397
  UUID: "string",
3399
3398
  Json: "JsonValue",
3400
- Bytes: "Uint8Array",
3399
+ Bytes: "Bytes",
3401
3400
  Decimal: ["Decimal", "DecimalJsLike", "number", "string"],
3402
3401
  BigInt: ["bigint", "number"]
3403
3402
  };
@@ -5360,10 +5359,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
5360
5359
  ${browser ? `
5361
5360
  const {
5362
5361
  Decimal,
5363
- DbNull,
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
- DbNull,
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 = 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
  `;
@@ -5540,6 +5537,7 @@ export const prismaVersion: PrismaVersion
5540
5537
  */
5541
5538
 
5542
5539
 
5540
+ export import Bytes = runtime.Bytes
5543
5541
  export import JsonObject = runtime.JsonObject
5544
5542
  export import JsonArray = runtime.JsonArray
5545
5543
  export import JsonValue = runtime.JsonValue
@@ -6633,16 +6631,13 @@ ${buildRequirePath(edge)}
6633
6631
  /**
6634
6632
  * Enums
6635
6633
  */
6636
- ${this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum((0, import_dmmf.datamodelSchemaEnumToSchemaEnum)(type), true).toJS()).join("\n\n")}
6634
+ ${this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(type, true).toJS()).join("\n\n")}
6637
6635
  ${this.dmmf.datamodel.enums.map((datamodelEnum) => new Enum((0, import_dmmf.datamodelEnumToSchemaEnum)(datamodelEnum), false).toJS()).join("\n\n")}
6638
6636
 
6639
6637
  ${new Enum(
6640
6638
  {
6641
6639
  name: "ModelName",
6642
- data: this.dmmf.mappings.modelOperations.map((m) => ({
6643
- key: m.model,
6644
- value: m.model
6645
- }))
6640
+ values: this.dmmf.mappings.modelOperations.map((m) => m.model)
6646
6641
  },
6647
6642
  true
6648
6643
  ).toJS()}
@@ -6689,9 +6684,7 @@ ${buildNFTAnnotations(edge || !copyEngine, clientEngineType, binaryTargets, rela
6689
6684
  }
6690
6685
  return acc;
6691
6686
  }, []);
6692
- const prismaEnums = this.dmmf.schema.enumTypes.prisma?.map(
6693
- (type) => new Enum((0, import_dmmf.datamodelSchemaEnumToSchemaEnum)(type), true).toTS()
6694
- );
6687
+ const prismaEnums = this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(type, true).toTS());
6695
6688
  const modelEnums = [];
6696
6689
  const modelEnumsAliases = [];
6697
6690
  for (const datamodelEnum of this.dmmf.datamodel.enums) {
@@ -6733,10 +6726,7 @@ ${(0, import_indent_string8.default)(
6733
6726
  ${new Enum(
6734
6727
  {
6735
6728
  name: "ModelName",
6736
- data: this.dmmf.mappings.modelOperations.map((m) => ({
6737
- key: m.model,
6738
- value: m.model
6739
- }))
6729
+ values: this.dmmf.mappings.modelOperations.map((m) => m.model)
6740
6730
  },
6741
6731
  true
6742
6732
  ).toTS()}
@@ -6820,16 +6810,13 @@ export const dmmf: runtime.BaseDMMF
6820
6810
  * Enums
6821
6811
  */
6822
6812
 
6823
- ${this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum((0, import_dmmf.datamodelSchemaEnumToSchemaEnum)(type), true).toJS()).join("\n\n")}
6824
- ${this.dmmf.schema.enumTypes.model?.map((type) => new Enum((0, import_dmmf.datamodelSchemaEnumToSchemaEnum)(type), false).toJS()).join("\n\n") ?? ""}
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") ?? ""}
6825
6815
 
6826
6816
  ${new Enum(
6827
6817
  {
6828
6818
  name: "ModelName",
6829
- data: this.dmmf.mappings.modelOperations.map((m) => ({
6830
- key: m.model,
6831
- value: m.model
6832
- }))
6819
+ values: this.dmmf.mappings.modelOperations.map((m) => m.model)
6833
6820
  },
6834
6821
  true
6835
6822
  ).toJS()}
@@ -6970,7 +6957,7 @@ var import_ts_builders3 = require("@prisma/ts-builders");
6970
6957
  var import_internals9 = require("@prisma/internals");
6971
6958
  var ts15 = __toESM(require("@prisma/ts-builders"));
6972
6959
  var decimal = ts15.namedType("$runtime.Decimal");
6973
- var uint8Array = ts15.namedType("Uint8Array");
6960
+ var uint8Array = ts15.namedType("$runtime.Bytes");
6974
6961
  var date = ts15.namedType("Date");
6975
6962
  var inputJsonValue = ts15.namedType("$runtime.InputJsonObject");
6976
6963
  var jsonValue = ts15.namedType("$runtime.JsonValue");
@@ -7270,10 +7257,7 @@ async function buildClient({
7270
7257
  ".": exportsMapDefault
7271
7258
  },
7272
7259
  version: clientVersion,
7273
- sideEffects: false,
7274
- dependencies: {
7275
- "@prisma/client-runtime-utils": clientVersion
7276
- }
7260
+ sideEffects: false
7277
7261
  };
7278
7262
  const fileMap = {};
7279
7263
  fileMap["index.js"] = JS(nodeClient);
@@ -7744,7 +7728,7 @@ var import_internals12 = require("@prisma/internals");
7744
7728
  var import_ts_pattern = require("ts-pattern");
7745
7729
 
7746
7730
  // package.json
7747
- var version = "6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.11";
7731
+ var version = "6.18.0-dev.1";
7748
7732
 
7749
7733
  // src/resolvePrismaClient.ts
7750
7734
  var import_promises3 = __toESM(require("node:fs/promises"));
package/dist/index.mjs CHANGED
@@ -3071,7 +3071,7 @@ var package_default = {
3071
3071
  "@prisma/dmmf": "workspace:*",
3072
3072
  "@prisma/driver-adapter-utils": "workspace:*",
3073
3073
  "@prisma/engines": "workspace:*",
3074
- "@prisma/engines-version": "6.17.0-10.297c68f876201799d7f27bcfc636364632386d0a",
3074
+ "@prisma/engines-version": "6.17.0-16.c0aafc03b8ef6cdced8654b9a817999e02457d6a",
3075
3075
  "@prisma/fetch-engine": "workspace:*",
3076
3076
  "@prisma/generator": "workspace:*",
3077
3077
  "@prisma/generator-helper": "workspace:*",
@@ -3080,8 +3080,8 @@ var package_default = {
3080
3080
  "@prisma/internals": "workspace:*",
3081
3081
  "@prisma/migrate": "workspace:*",
3082
3082
  "@prisma/mini-proxy": "0.9.5",
3083
- "@prisma/query-compiler-wasm": "6.17.0-10.297c68f876201799d7f27bcfc636364632386d0a",
3084
- "@prisma/query-engine-wasm": "6.17.0-10.297c68f876201799d7f27bcfc636364632386d0a",
3083
+ "@prisma/query-compiler-wasm": "6.17.0-16.c0aafc03b8ef6cdced8654b9a817999e02457d6a",
3084
+ "@prisma/query-engine-wasm": "6.17.0-16.c0aafc03b8ef6cdced8654b9a817999e02457d6a",
3085
3085
  "@prisma/query-plan-executor": "workspace:*",
3086
3086
  "@prisma/ts-builders": "workspace:*",
3087
3087
  "@snaplet/copycat": "6.0.0",
@@ -3099,6 +3099,7 @@ var package_default = {
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,9 +3135,6 @@ 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
3140
  typescript: ">=5.1.0"
@@ -3183,7 +3182,7 @@ var Enum = class {
3183
3182
  toJS() {
3184
3183
  const { type } = this;
3185
3184
  const enumVariants = `{
3186
- ${indent(type.data.map((v) => `${v.key}: ${this.getValueJS(v.value)}`).join(",\n"), TAB_SIZE)}
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.data.map((v) => `${v.key}: ${this.getValueTS(v.value)}`).join(",\n"), TAB_SIZE)}
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}]
@@ -3378,7 +3377,7 @@ function needsNamespace(field) {
3378
3377
  return true;
3379
3378
  }
3380
3379
  if (field.kind === "scalar") {
3381
- return field.type === "Json" || field.type === "Decimal";
3380
+ return field.type === "Json" || field.type === "Decimal" || field.type === "Bytes";
3382
3381
  }
3383
3382
  return false;
3384
3383
  }
@@ -3392,7 +3391,7 @@ var GraphQLScalarToJSTypeTable = {
3392
3391
  ID: "string",
3393
3392
  UUID: "string",
3394
3393
  Json: "JsonValue",
3395
- Bytes: "Uint8Array",
3394
+ Bytes: "Bytes",
3396
3395
  Decimal: ["Decimal", "DecimalJsLike", "number", "string"],
3397
3396
  BigInt: ["bigint", "number"]
3398
3397
  };
@@ -4920,7 +4919,7 @@ function fluentWrapperName(modelName) {
4920
4919
  }
4921
4920
 
4922
4921
  // src/TSClient/TSClient.ts
4923
- import { datamodelEnumToSchemaEnum, datamodelSchemaEnumToSchemaEnum } from "@prisma/dmmf";
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
- DbNull,
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
- DbNull,
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 = 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
  `;
@@ -5538,6 +5535,7 @@ export const prismaVersion: PrismaVersion
5538
5535
  */
5539
5536
 
5540
5537
 
5538
+ export import Bytes = runtime.Bytes
5541
5539
  export import JsonObject = runtime.JsonObject
5542
5540
  export import JsonArray = runtime.JsonArray
5543
5541
  export import JsonValue = runtime.JsonValue
@@ -6631,16 +6629,13 @@ ${buildRequirePath(edge)}
6631
6629
  /**
6632
6630
  * Enums
6633
6631
  */
6634
- ${this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(datamodelSchemaEnumToSchemaEnum(type), true).toJS()).join("\n\n")}
6632
+ ${this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(type, true).toJS()).join("\n\n")}
6635
6633
  ${this.dmmf.datamodel.enums.map((datamodelEnum) => new Enum(datamodelEnumToSchemaEnum(datamodelEnum), false).toJS()).join("\n\n")}
6636
6634
 
6637
6635
  ${new Enum(
6638
6636
  {
6639
6637
  name: "ModelName",
6640
- data: this.dmmf.mappings.modelOperations.map((m) => ({
6641
- key: m.model,
6642
- value: m.model
6643
- }))
6638
+ values: this.dmmf.mappings.modelOperations.map((m) => m.model)
6644
6639
  },
6645
6640
  true
6646
6641
  ).toJS()}
@@ -6687,9 +6682,7 @@ ${buildNFTAnnotations(edge || !copyEngine, clientEngineType, binaryTargets, rela
6687
6682
  }
6688
6683
  return acc;
6689
6684
  }, []);
6690
- const prismaEnums = this.dmmf.schema.enumTypes.prisma?.map(
6691
- (type) => new Enum(datamodelSchemaEnumToSchemaEnum(type), true).toTS()
6692
- );
6685
+ const prismaEnums = this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(type, true).toTS());
6693
6686
  const modelEnums = [];
6694
6687
  const modelEnumsAliases = [];
6695
6688
  for (const datamodelEnum of this.dmmf.datamodel.enums) {
@@ -6731,10 +6724,7 @@ ${indent8(
6731
6724
  ${new Enum(
6732
6725
  {
6733
6726
  name: "ModelName",
6734
- data: this.dmmf.mappings.modelOperations.map((m) => ({
6735
- key: m.model,
6736
- value: m.model
6737
- }))
6727
+ values: this.dmmf.mappings.modelOperations.map((m) => m.model)
6738
6728
  },
6739
6729
  true
6740
6730
  ).toTS()}
@@ -6818,16 +6808,13 @@ export const dmmf: runtime.BaseDMMF
6818
6808
  * Enums
6819
6809
  */
6820
6810
 
6821
- ${this.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(datamodelSchemaEnumToSchemaEnum(type), true).toJS()).join("\n\n")}
6822
- ${this.dmmf.schema.enumTypes.model?.map((type) => new Enum(datamodelSchemaEnumToSchemaEnum(type), false).toJS()).join("\n\n") ?? ""}
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") ?? ""}
6823
6813
 
6824
6814
  ${new Enum(
6825
6815
  {
6826
6816
  name: "ModelName",
6827
- data: this.dmmf.mappings.modelOperations.map((m) => ({
6828
- key: m.model,
6829
- value: m.model
6830
- }))
6817
+ values: this.dmmf.mappings.modelOperations.map((m) => m.model)
6831
6818
  },
6832
6819
  true
6833
6820
  ).toJS()}
@@ -6968,7 +6955,7 @@ import { Writer as Writer2 } from "@prisma/ts-builders";
6968
6955
  import { isValidJsIdentifier as isValidJsIdentifier2 } from "@prisma/internals";
6969
6956
  import * as ts15 from "@prisma/ts-builders";
6970
6957
  var decimal = ts15.namedType("$runtime.Decimal");
6971
- var uint8Array = ts15.namedType("Uint8Array");
6958
+ var uint8Array = ts15.namedType("$runtime.Bytes");
6972
6959
  var date = ts15.namedType("Date");
6973
6960
  var inputJsonValue = ts15.namedType("$runtime.InputJsonObject");
6974
6961
  var jsonValue = ts15.namedType("$runtime.JsonValue");
@@ -7268,10 +7255,7 @@ async function buildClient({
7268
7255
  ".": exportsMapDefault
7269
7256
  },
7270
7257
  version: clientVersion,
7271
- sideEffects: false,
7272
- dependencies: {
7273
- "@prisma/client-runtime-utils": clientVersion
7274
- }
7258
+ sideEffects: false
7275
7259
  };
7276
7260
  const fileMap = {};
7277
7261
  fileMap["index.js"] = JS(nodeClient);
@@ -7742,7 +7726,7 @@ import { ClientEngineType as ClientEngineType4, getClientEngineType as getClient
7742
7726
  import { match } from "ts-pattern";
7743
7727
 
7744
7728
  // package.json
7745
- var version = "6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.11";
7729
+ var version = "6.18.0-dev.1";
7746
7730
 
7747
7731
  // src/resolvePrismaClient.ts
7748
7732
  import fs2 from "node:fs/promises";
@@ -2,6 +2,7 @@ import type * as DMMF from '@prisma/dmmf';
2
2
  export declare const needNamespace: {
3
3
  Json: string;
4
4
  Decimal: string;
5
+ Bytes: string;
5
6
  };
6
7
  export declare function needsNamespace(field: DMMF.Field): boolean;
7
8
  export declare const GraphQLScalarToJSTypeTable: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-generator-js",
3
- "version": "6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.11",
3
+ "version": "6.18.0-dev.1",
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.17.0-10.297c68f876201799d7f27bcfc636364632386d0a",
28
+ "@prisma/engines-version": "6.17.0-16.c0aafc03b8ef6cdced8654b9a817999e02457d6a",
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.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.11",
37
- "@prisma/debug": "6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.11",
38
- "@prisma/fetch-engine": "6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.11",
39
- "@prisma/generator": "6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.11",
40
- "@prisma/dmmf": "6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.11",
41
- "@prisma/get-platform": "6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.11",
42
- "@prisma/internals": "6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.11",
43
- "@prisma/ts-builders": "6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.11"
36
+ "@prisma/client-common": "6.18.0-dev.1",
37
+ "@prisma/debug": "6.18.0-dev.1",
38
+ "@prisma/dmmf": "6.18.0-dev.1",
39
+ "@prisma/fetch-engine": "6.18.0-dev.1",
40
+ "@prisma/generator": "6.18.0-dev.1",
41
+ "@prisma/get-platform": "6.18.0-dev.1",
42
+ "@prisma/internals": "6.18.0-dev.1",
43
+ "@prisma/ts-builders": "6.18.0-dev.1"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/pluralize": "0.0.33",