@prisma/client-generator-js 6.17.0 → 6.18.0-dev.10

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-16.c0aafc03b8ef6cdced8654b9a817999e02457d6a",
3079
+ "@prisma/engines-version": "6.18.0-2.ba2627112b75424f26505fb83167ce78db40fc57",
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-16.c0aafc03b8ef6cdced8654b9a817999e02457d6a",
3089
- "@prisma/query-engine-wasm": "6.17.0-16.c0aafc03b8ef6cdced8654b9a817999e02457d6a",
3088
+ "@prisma/query-compiler-wasm": "6.18.0-2.ba2627112b75424f26505fb83167ce78db40fc57",
3089
+ "@prisma/query-engine-wasm": "6.18.0-2.ba2627112b75424f26505fb83167ce78db40fc57",
3090
3090
  "@prisma/query-plan-executor": "workspace:*",
3091
3091
  "@prisma/ts-builders": "workspace:*",
3092
3092
  "@snaplet/copycat": "6.0.0",
@@ -3382,7 +3382,7 @@ function needsNamespace(field) {
3382
3382
  return true;
3383
3383
  }
3384
3384
  if (field.kind === "scalar") {
3385
- return field.type === "Json" || field.type === "Decimal";
3385
+ return field.type === "Json" || field.type === "Decimal" || field.type === "Bytes";
3386
3386
  }
3387
3387
  return false;
3388
3388
  }
@@ -3396,7 +3396,7 @@ var GraphQLScalarToJSTypeTable = {
3396
3396
  ID: "string",
3397
3397
  UUID: "string",
3398
3398
  Json: "JsonValue",
3399
- Bytes: "Uint8Array",
3399
+ Bytes: "Bytes",
3400
3400
  Decimal: ["Decimal", "DecimalJsLike", "number", "string"],
3401
3401
  BigInt: ["bigint", "number"]
3402
3402
  };
@@ -5537,6 +5537,7 @@ export const prismaVersion: PrismaVersion
5537
5537
  */
5538
5538
 
5539
5539
 
5540
+ export import Bytes = runtime.Bytes
5540
5541
  export import JsonObject = runtime.JsonObject
5541
5542
  export import JsonArray = runtime.JsonArray
5542
5543
  export import JsonValue = runtime.JsonValue
@@ -6956,7 +6957,7 @@ var import_ts_builders3 = require("@prisma/ts-builders");
6956
6957
  var import_internals9 = require("@prisma/internals");
6957
6958
  var ts15 = __toESM(require("@prisma/ts-builders"));
6958
6959
  var decimal = ts15.namedType("$runtime.Decimal");
6959
- var uint8Array = ts15.namedType("Uint8Array");
6960
+ var uint8Array = ts15.namedType("$runtime.Bytes");
6960
6961
  var date = ts15.namedType("Date");
6961
6962
  var inputJsonValue = ts15.namedType("$runtime.InputJsonObject");
6962
6963
  var jsonValue = ts15.namedType("$runtime.JsonValue");
@@ -7727,7 +7728,7 @@ var import_internals12 = require("@prisma/internals");
7727
7728
  var import_ts_pattern = require("ts-pattern");
7728
7729
 
7729
7730
  // package.json
7730
- var version = "6.17.0";
7731
+ var version = "6.18.0-dev.10";
7731
7732
 
7732
7733
  // src/resolvePrismaClient.ts
7733
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-16.c0aafc03b8ef6cdced8654b9a817999e02457d6a",
3074
+ "@prisma/engines-version": "6.18.0-2.ba2627112b75424f26505fb83167ce78db40fc57",
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-16.c0aafc03b8ef6cdced8654b9a817999e02457d6a",
3084
- "@prisma/query-engine-wasm": "6.17.0-16.c0aafc03b8ef6cdced8654b9a817999e02457d6a",
3083
+ "@prisma/query-compiler-wasm": "6.18.0-2.ba2627112b75424f26505fb83167ce78db40fc57",
3084
+ "@prisma/query-engine-wasm": "6.18.0-2.ba2627112b75424f26505fb83167ce78db40fc57",
3085
3085
  "@prisma/query-plan-executor": "workspace:*",
3086
3086
  "@prisma/ts-builders": "workspace:*",
3087
3087
  "@snaplet/copycat": "6.0.0",
@@ -3377,7 +3377,7 @@ function needsNamespace(field) {
3377
3377
  return true;
3378
3378
  }
3379
3379
  if (field.kind === "scalar") {
3380
- return field.type === "Json" || field.type === "Decimal";
3380
+ return field.type === "Json" || field.type === "Decimal" || field.type === "Bytes";
3381
3381
  }
3382
3382
  return false;
3383
3383
  }
@@ -3391,7 +3391,7 @@ var GraphQLScalarToJSTypeTable = {
3391
3391
  ID: "string",
3392
3392
  UUID: "string",
3393
3393
  Json: "JsonValue",
3394
- Bytes: "Uint8Array",
3394
+ Bytes: "Bytes",
3395
3395
  Decimal: ["Decimal", "DecimalJsLike", "number", "string"],
3396
3396
  BigInt: ["bigint", "number"]
3397
3397
  };
@@ -5535,6 +5535,7 @@ export const prismaVersion: PrismaVersion
5535
5535
  */
5536
5536
 
5537
5537
 
5538
+ export import Bytes = runtime.Bytes
5538
5539
  export import JsonObject = runtime.JsonObject
5539
5540
  export import JsonArray = runtime.JsonArray
5540
5541
  export import JsonValue = runtime.JsonValue
@@ -6954,7 +6955,7 @@ import { Writer as Writer2 } from "@prisma/ts-builders";
6954
6955
  import { isValidJsIdentifier as isValidJsIdentifier2 } from "@prisma/internals";
6955
6956
  import * as ts15 from "@prisma/ts-builders";
6956
6957
  var decimal = ts15.namedType("$runtime.Decimal");
6957
- var uint8Array = ts15.namedType("Uint8Array");
6958
+ var uint8Array = ts15.namedType("$runtime.Bytes");
6958
6959
  var date = ts15.namedType("Date");
6959
6960
  var inputJsonValue = ts15.namedType("$runtime.InputJsonObject");
6960
6961
  var jsonValue = ts15.namedType("$runtime.JsonValue");
@@ -7725,7 +7726,7 @@ import { ClientEngineType as ClientEngineType4, getClientEngineType as getClient
7725
7726
  import { match } from "ts-pattern";
7726
7727
 
7727
7728
  // package.json
7728
- var version = "6.17.0";
7729
+ var version = "6.18.0-dev.10";
7729
7730
 
7730
7731
  // src/resolvePrismaClient.ts
7731
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",
3
+ "version": "6.18.0-dev.10",
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-16.c0aafc03b8ef6cdced8654b9a817999e02457d6a",
28
+ "@prisma/engines-version": "6.18.0-2.ba2627112b75424f26505fb83167ce78db40fc57",
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",
37
- "@prisma/dmmf": "6.17.0",
38
- "@prisma/fetch-engine": "6.17.0",
39
- "@prisma/generator": "6.17.0",
40
- "@prisma/debug": "6.17.0",
41
- "@prisma/get-platform": "6.17.0",
42
- "@prisma/ts-builders": "6.17.0",
43
- "@prisma/internals": "6.17.0"
36
+ "@prisma/debug": "6.18.0-dev.10",
37
+ "@prisma/client-common": "6.18.0-dev.10",
38
+ "@prisma/dmmf": "6.18.0-dev.10",
39
+ "@prisma/generator": "6.18.0-dev.10",
40
+ "@prisma/fetch-engine": "6.18.0-dev.10",
41
+ "@prisma/ts-builders": "6.18.0-dev.10",
42
+ "@prisma/get-platform": "6.18.0-dev.10",
43
+ "@prisma/internals": "6.18.0-dev.10"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/pluralize": "0.0.33",