@prisma/client-generator-ts 7.3.0-integration-aqrln-upskmmvouusz.1 → 7.3.0-integration-engines-7-3-0-15-parameterization-751774bd0247fad96ff209ca5a958e4a0f0f036a.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.
@@ -22,7 +22,6 @@ export declare class ArgsTypeBuilder {
22
22
  isNullable: boolean;
23
23
  isRequired: boolean;
24
24
  inputTypes: DMMF.InputTypeRef[];
25
- isParameterizable: boolean;
26
25
  requiresOtherFields?: string[] | undefined;
27
26
  deprecation?: DMMF.ReadonlyDeep<{
28
27
  sinceVersion: string;
package/dist/index.js CHANGED
@@ -2933,7 +2933,6 @@ ${modelExports(context).join("\n")}
2933
2933
  }
2934
2934
 
2935
2935
  // src/TSClient/file-generators/ClassFile.ts
2936
- var import_param_graph_builder = require("@prisma/param-graph-builder");
2937
2936
  var ts6 = __toESM(require("@prisma/ts-builders"));
2938
2937
 
2939
2938
  // src/utils/buildDebugInitialization.ts
@@ -3460,12 +3459,8 @@ function buildGetWasmModule({
3460
3459
  if (buildNonEdgeLoader) {
3461
3460
  wasmBindingsPath = `${wasmPathBase}.${extension}`;
3462
3461
  wasmModulePath = `${wasmPathBase}.wasm-base64.${extension}`;
3463
- const esmPreamble = moduleFormat === "esm" ? `import { createRequire as __createRequire } from 'node:module'
3464
- const __require = __createRequire(import.meta.url)
3465
-
3466
- ` : "";
3467
- const resolveCall = moduleFormat === "esm" ? `__require.resolve(${JSON.stringify(wasmBindingsPath)})` : `require.resolve(${JSON.stringify(wasmBindingsPath)})`;
3468
- return `${esmPreamble}async function decodeBase64AsWasm(wasmBase64: string): Promise<WebAssembly.Module> {
3462
+ return `
3463
+ async function decodeBase64AsWasm(wasmBase64: string): Promise<WebAssembly.Module> {
3469
3464
  const { Buffer } = await import('node:buffer')
3470
3465
  const wasmArray = Buffer.from(wasmBase64, 'base64')
3471
3466
  return new WebAssembly.Module(wasmArray)
@@ -3479,8 +3474,6 @@ config.compilerWasm = {
3479
3474
  return await decodeBase64AsWasm(wasm)
3480
3475
  },
3481
3476
 
3482
- getRuntimePath: () => ${resolveCall},
3483
-
3484
3477
  importName: ${JSON.stringify(`./${artifactName}.js`)}
3485
3478
  }`;
3486
3479
  }
@@ -3837,8 +3830,7 @@ function clientConfig(context, options) {
3837
3830
  target,
3838
3831
  activeProvider,
3839
3832
  moduleFormat,
3840
- compilerBuild,
3841
- dmmf
3833
+ compilerBuild
3842
3834
  } = options;
3843
3835
  const config = {
3844
3836
  previewFeatures: generator.previewFeatures,
@@ -3846,22 +3838,15 @@ function clientConfig(context, options) {
3846
3838
  engineVersion: options.engineVersion,
3847
3839
  activeProvider: options.activeProvider,
3848
3840
  inlineSchema,
3849
- runtimeDataModel: { models: {}, enums: {}, types: {} },
3850
- parameterizationSchema: { s: [], en: [], i: [], o: [], r: {} }
3841
+ runtimeDataModel: { models: {}, enums: {}, types: {} }
3851
3842
  };
3852
3843
  return `
3853
3844
  const config: runtime.GetPrismaClientConfig = ${JSON.stringify(config, null, 2)}
3854
3845
  ${buildRuntimeDataModel(context.dmmf.datamodel, runtimeName)}
3855
- ${buildParameterizationSchema(dmmf)}
3856
3846
  ${buildGetWasmModule({ runtimeBase, runtimeName, target, activeProvider, moduleFormat, compilerBuild })}
3857
3847
  ${buildDebugInitialization(edge)}
3858
3848
  `;
3859
3849
  }
3860
- function buildParameterizationSchema(dmmf) {
3861
- const paramGraph = (0, import_param_graph_builder.buildParamGraph)(dmmf);
3862
- const paramGraphJson = JSON.stringify(JSON.stringify(paramGraph));
3863
- return `config.parameterizationSchema = JSON.parse(${paramGraphJson})`;
3864
- }
3865
3850
 
3866
3851
  // src/TSClient/file-generators/ClientFile.ts
3867
3852
  var ts7 = __toESM(require("@prisma/ts-builders"));
@@ -4492,7 +4477,6 @@ ${aggregateTypes.length > 1 ? aggregateTypes.slice(1).map((type) => {
4492
4477
  name: field.name,
4493
4478
  isNullable: false,
4494
4479
  isRequired: false,
4495
- isParameterizable: false,
4496
4480
  inputTypes: [
4497
4481
  {
4498
4482
  isList: false,
@@ -6428,7 +6412,7 @@ var import_internals7 = require("@prisma/internals");
6428
6412
  var import_get_tsconfig = require("get-tsconfig");
6429
6413
 
6430
6414
  // package.json
6431
- var version = "7.3.0-integration-aqrln-upskmmvouusz.1";
6415
+ var version = "7.3.0-integration-engines-7-3-0-15-parameterization-751774bd0247fad96ff209ca5a958e4a0f0f036a.1";
6432
6416
 
6433
6417
  // src/module-format.ts
6434
6418
  function parseModuleFormat(format) {
package/dist/index.mjs CHANGED
@@ -2923,7 +2923,6 @@ ${modelExports(context).join("\n")}
2923
2923
  }
2924
2924
 
2925
2925
  // src/TSClient/file-generators/ClassFile.ts
2926
- import { buildParamGraph } from "@prisma/param-graph-builder";
2927
2926
  import * as ts6 from "@prisma/ts-builders";
2928
2927
 
2929
2928
  // src/utils/buildDebugInitialization.ts
@@ -3453,12 +3452,8 @@ function buildGetWasmModule({
3453
3452
  if (buildNonEdgeLoader) {
3454
3453
  wasmBindingsPath = `${wasmPathBase}.${extension}`;
3455
3454
  wasmModulePath = `${wasmPathBase}.wasm-base64.${extension}`;
3456
- const esmPreamble = moduleFormat === "esm" ? `import { createRequire as __createRequire } from 'node:module'
3457
- const __require = __createRequire(import.meta.url)
3458
-
3459
- ` : "";
3460
- const resolveCall = moduleFormat === "esm" ? `__require.resolve(${JSON.stringify(wasmBindingsPath)})` : `require.resolve(${JSON.stringify(wasmBindingsPath)})`;
3461
- return `${esmPreamble}async function decodeBase64AsWasm(wasmBase64: string): Promise<WebAssembly.Module> {
3455
+ return `
3456
+ async function decodeBase64AsWasm(wasmBase64: string): Promise<WebAssembly.Module> {
3462
3457
  const { Buffer } = await import('node:buffer')
3463
3458
  const wasmArray = Buffer.from(wasmBase64, 'base64')
3464
3459
  return new WebAssembly.Module(wasmArray)
@@ -3472,8 +3467,6 @@ config.compilerWasm = {
3472
3467
  return await decodeBase64AsWasm(wasm)
3473
3468
  },
3474
3469
 
3475
- getRuntimePath: () => ${resolveCall},
3476
-
3477
3470
  importName: ${JSON.stringify(`./${artifactName}.js`)}
3478
3471
  }`;
3479
3472
  }
@@ -3830,8 +3823,7 @@ function clientConfig(context, options) {
3830
3823
  target,
3831
3824
  activeProvider,
3832
3825
  moduleFormat,
3833
- compilerBuild,
3834
- dmmf
3826
+ compilerBuild
3835
3827
  } = options;
3836
3828
  const config = {
3837
3829
  previewFeatures: generator.previewFeatures,
@@ -3839,22 +3831,15 @@ function clientConfig(context, options) {
3839
3831
  engineVersion: options.engineVersion,
3840
3832
  activeProvider: options.activeProvider,
3841
3833
  inlineSchema,
3842
- runtimeDataModel: { models: {}, enums: {}, types: {} },
3843
- parameterizationSchema: { s: [], en: [], i: [], o: [], r: {} }
3834
+ runtimeDataModel: { models: {}, enums: {}, types: {} }
3844
3835
  };
3845
3836
  return `
3846
3837
  const config: runtime.GetPrismaClientConfig = ${JSON.stringify(config, null, 2)}
3847
3838
  ${buildRuntimeDataModel(context.dmmf.datamodel, runtimeName)}
3848
- ${buildParameterizationSchema(dmmf)}
3849
3839
  ${buildGetWasmModule({ runtimeBase, runtimeName, target, activeProvider, moduleFormat, compilerBuild })}
3850
3840
  ${buildDebugInitialization(edge)}
3851
3841
  `;
3852
3842
  }
3853
- function buildParameterizationSchema(dmmf) {
3854
- const paramGraph = buildParamGraph(dmmf);
3855
- const paramGraphJson = JSON.stringify(JSON.stringify(paramGraph));
3856
- return `config.parameterizationSchema = JSON.parse(${paramGraphJson})`;
3857
- }
3858
3843
 
3859
3844
  // src/TSClient/file-generators/ClientFile.ts
3860
3845
  import * as ts7 from "@prisma/ts-builders";
@@ -4485,7 +4470,6 @@ ${aggregateTypes.length > 1 ? aggregateTypes.slice(1).map((type) => {
4485
4470
  name: field.name,
4486
4471
  isNullable: false,
4487
4472
  isRequired: false,
4488
- isParameterizable: false,
4489
4473
  inputTypes: [
4490
4474
  {
4491
4475
  isList: false,
@@ -6421,7 +6405,7 @@ import { parseEnvValue } from "@prisma/internals";
6421
6405
  import { getTsconfig } from "get-tsconfig";
6422
6406
 
6423
6407
  // package.json
6424
- var version = "7.3.0-integration-aqrln-upskmmvouusz.1";
6408
+ var version = "7.3.0-integration-engines-7-3-0-15-parameterization-751774bd0247fad96ff209ca5a958e4a0f0f036a.1";
6425
6409
 
6426
6410
  // src/module-format.ts
6427
6411
  function parseModuleFormat(format) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-generator-ts",
3
- "version": "7.3.0-integration-aqrln-upskmmvouusz.1",
3
+ "version": "7.3.0-integration-engines-7-3-0-15-parameterization-751774bd0247fad96ff209ca5a958e4a0f0f036a.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": "7.3.0-13.parameterization-ffcc2ffa23a1cf2fa93cc75600377a7bcf8b3b08",
28
+ "@prisma/engines-version": "7.3.0-15.parameterization-751774bd0247fad96ff209ca5a958e4a0f0f036a",
29
29
  "fast-glob": "3.3.3",
30
30
  "get-tsconfig": "4.10.0",
31
31
  "indent-string": "4.0.0",
@@ -33,15 +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": "7.3.0-integration-aqrln-upskmmvouusz.1",
37
- "@prisma/debug": "7.3.0-integration-aqrln-upskmmvouusz.1",
38
- "@prisma/dmmf": "7.3.0-integration-aqrln-upskmmvouusz.1",
39
- "@prisma/fetch-engine": "7.3.0-integration-aqrln-upskmmvouusz.1",
40
- "@prisma/get-platform": "7.3.0-integration-aqrln-upskmmvouusz.1",
41
- "@prisma/generator": "7.3.0-integration-aqrln-upskmmvouusz.1",
42
- "@prisma/internals": "7.3.0-integration-aqrln-upskmmvouusz.1",
43
- "@prisma/param-graph-builder": "7.3.0-integration-aqrln-upskmmvouusz.1",
44
- "@prisma/ts-builders": "7.3.0-integration-aqrln-upskmmvouusz.1"
36
+ "@prisma/debug": "7.3.0-integration-engines-7-3-0-15-parameterization-751774bd0247fad96ff209ca5a958e4a0f0f036a.1",
37
+ "@prisma/client-common": "7.3.0-integration-engines-7-3-0-15-parameterization-751774bd0247fad96ff209ca5a958e4a0f0f036a.1",
38
+ "@prisma/fetch-engine": "7.3.0-integration-engines-7-3-0-15-parameterization-751774bd0247fad96ff209ca5a958e4a0f0f036a.1",
39
+ "@prisma/dmmf": "7.3.0-integration-engines-7-3-0-15-parameterization-751774bd0247fad96ff209ca5a958e4a0f0f036a.1",
40
+ "@prisma/generator": "7.3.0-integration-engines-7-3-0-15-parameterization-751774bd0247fad96ff209ca5a958e4a0f0f036a.1",
41
+ "@prisma/get-platform": "7.3.0-integration-engines-7-3-0-15-parameterization-751774bd0247fad96ff209ca5a958e4a0f0f036a.1",
42
+ "@prisma/internals": "7.3.0-integration-engines-7-3-0-15-parameterization-751774bd0247fad96ff209ca5a958e4a0f0f036a.1",
43
+ "@prisma/ts-builders": "7.3.0-integration-engines-7-3-0-15-parameterization-751774bd0247fad96ff209ca5a958e4a0f0f036a.1"
45
44
  },
46
45
  "devDependencies": {
47
46
  "@types/pluralize": "0.0.33",