@prisma/client-generator-js 7.3.0-integration-engines-7-3-0-19-feat-minor-fixes-on-qc-parameterization-c32a571f4d5d8fe47265c7a4515fcd51d88c7309.2 → 7.4.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/TSClient/Args.d.ts +0 -1
- package/dist/TSClient/TSClient.d.ts +0 -1
- package/dist/index.js +3 -13
- package/dist/index.mjs +3 -13
- package/package.json +10 -11
package/dist/TSClient/Args.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ export declare class ArgsTypeBuilder {
|
|
|
23
23
|
isNullable: boolean;
|
|
24
24
|
isRequired: boolean;
|
|
25
25
|
inputTypes: DMMF.InputTypeRef[];
|
|
26
|
-
isParameterizable: boolean;
|
|
27
26
|
requiresOtherFields?: string[] | undefined;
|
|
28
27
|
deprecation?: DMMF.ReadonlyDeep<{
|
|
29
28
|
sinceVersion: string;
|
|
@@ -23,7 +23,6 @@ export declare class TSClient implements Generable {
|
|
|
23
23
|
protected readonly dmmf: DMMFHelper;
|
|
24
24
|
protected readonly genericsInfo: GenericArgsInfo;
|
|
25
25
|
constructor(options: TSClientOptions);
|
|
26
|
-
private buildParamGraphConfig;
|
|
27
26
|
toJS(): string;
|
|
28
27
|
toTS(): string;
|
|
29
28
|
toBrowserJS(): string;
|
package/dist/index.js
CHANGED
|
@@ -2483,7 +2483,7 @@ var package_default = {
|
|
|
2483
2483
|
"@prisma/dmmf": "workspace:*",
|
|
2484
2484
|
"@prisma/driver-adapter-utils": "workspace:*",
|
|
2485
2485
|
"@prisma/engines": "workspace:*",
|
|
2486
|
-
"@prisma/engines-version": "7.
|
|
2486
|
+
"@prisma/engines-version": "7.4.0-1.0940115552e3c2e6432bc074fc6216a2e18f339e",
|
|
2487
2487
|
"@prisma/fetch-engine": "workspace:*",
|
|
2488
2488
|
"@prisma/generator": "workspace:*",
|
|
2489
2489
|
"@prisma/generator-helper": "workspace:*",
|
|
@@ -2493,9 +2493,7 @@ var package_default = {
|
|
|
2493
2493
|
"@prisma/internals": "workspace:*",
|
|
2494
2494
|
"@prisma/json-protocol": "workspace:*",
|
|
2495
2495
|
"@prisma/migrate": "workspace:*",
|
|
2496
|
-
"@prisma/query-compiler-wasm": "7.
|
|
2497
|
-
"@prisma/param-graph": "workspace:*",
|
|
2498
|
-
"@prisma/param-graph-builder": "workspace:*",
|
|
2496
|
+
"@prisma/query-compiler-wasm": "7.4.0-1.0940115552e3c2e6432bc074fc6216a2e18f339e",
|
|
2499
2497
|
"@prisma/query-plan-executor": "workspace:*",
|
|
2500
2498
|
"@prisma/sqlcommenter": "workspace:*",
|
|
2501
2499
|
"@prisma/sqlcommenter-trace-context": "workspace:*",
|
|
@@ -3864,7 +3862,6 @@ ${aggregateTypes.length > 1 ? aggregateTypes.slice(1).map((type) => {
|
|
|
3864
3862
|
name: field.name,
|
|
3865
3863
|
isNullable: false,
|
|
3866
3864
|
isRequired: false,
|
|
3867
|
-
isParameterizable: false,
|
|
3868
3865
|
inputTypes: [
|
|
3869
3866
|
{
|
|
3870
3867
|
isList: false,
|
|
@@ -4338,7 +4335,6 @@ function fluentWrapperName(modelName) {
|
|
|
4338
4335
|
|
|
4339
4336
|
// src/TSClient/TSClient.ts
|
|
4340
4337
|
var import_dmmf = require("@prisma/dmmf");
|
|
4341
|
-
var import_param_graph_builder = require("@prisma/param-graph-builder");
|
|
4342
4338
|
var ts12 = __toESM(require("@prisma/ts-builders"));
|
|
4343
4339
|
var import_indent_string7 = __toESM(require("indent-string"));
|
|
4344
4340
|
|
|
@@ -5807,11 +5803,6 @@ var TSClient = class {
|
|
|
5807
5803
|
}
|
|
5808
5804
|
dmmf;
|
|
5809
5805
|
genericsInfo;
|
|
5810
|
-
buildParamGraphConfig() {
|
|
5811
|
-
const paramGraph = (0, import_param_graph_builder.buildParamGraph)(this.options.dmmf);
|
|
5812
|
-
const paramGraphJson = JSON.stringify(JSON.stringify(paramGraph));
|
|
5813
|
-
return `config.parameterizationSchema = JSON.parse(${paramGraphJson})`;
|
|
5814
|
-
}
|
|
5815
5806
|
toJS() {
|
|
5816
5807
|
const { edge, wasm, generator, datamodel: inlineSchema, runtimeName, reusedJs, compilerBuild } = this.options;
|
|
5817
5808
|
if (reusedJs) {
|
|
@@ -5845,7 +5836,6 @@ ${new Enum(
|
|
|
5845
5836
|
*/
|
|
5846
5837
|
const config = ${JSON.stringify(config, null, 2)}
|
|
5847
5838
|
${buildRuntimeDataModel(this.dmmf.datamodel, runtimeName)}
|
|
5848
|
-
${this.buildParamGraphConfig()}
|
|
5849
5839
|
${buildQueryCompilerWasmModule(wasm, runtimeName, compilerBuild)}
|
|
5850
5840
|
${buildDebugInitialization(edge)}
|
|
5851
5841
|
const PrismaClient = getPrismaClient(config)
|
|
@@ -6823,7 +6813,7 @@ var import_engines_version = require("@prisma/engines-version");
|
|
|
6823
6813
|
var import_internals9 = require("@prisma/internals");
|
|
6824
6814
|
|
|
6825
6815
|
// package.json
|
|
6826
|
-
var version = "7.
|
|
6816
|
+
var version = "7.4.0-dev.1";
|
|
6827
6817
|
|
|
6828
6818
|
// src/resolvePrismaClient.ts
|
|
6829
6819
|
var import_promises2 = __toESM(require("node:fs/promises"));
|
package/dist/index.mjs
CHANGED
|
@@ -2472,7 +2472,7 @@ var package_default = {
|
|
|
2472
2472
|
"@prisma/dmmf": "workspace:*",
|
|
2473
2473
|
"@prisma/driver-adapter-utils": "workspace:*",
|
|
2474
2474
|
"@prisma/engines": "workspace:*",
|
|
2475
|
-
"@prisma/engines-version": "7.
|
|
2475
|
+
"@prisma/engines-version": "7.4.0-1.0940115552e3c2e6432bc074fc6216a2e18f339e",
|
|
2476
2476
|
"@prisma/fetch-engine": "workspace:*",
|
|
2477
2477
|
"@prisma/generator": "workspace:*",
|
|
2478
2478
|
"@prisma/generator-helper": "workspace:*",
|
|
@@ -2482,9 +2482,7 @@ var package_default = {
|
|
|
2482
2482
|
"@prisma/internals": "workspace:*",
|
|
2483
2483
|
"@prisma/json-protocol": "workspace:*",
|
|
2484
2484
|
"@prisma/migrate": "workspace:*",
|
|
2485
|
-
"@prisma/query-compiler-wasm": "7.
|
|
2486
|
-
"@prisma/param-graph": "workspace:*",
|
|
2487
|
-
"@prisma/param-graph-builder": "workspace:*",
|
|
2485
|
+
"@prisma/query-compiler-wasm": "7.4.0-1.0940115552e3c2e6432bc074fc6216a2e18f339e",
|
|
2488
2486
|
"@prisma/query-plan-executor": "workspace:*",
|
|
2489
2487
|
"@prisma/sqlcommenter": "workspace:*",
|
|
2490
2488
|
"@prisma/sqlcommenter-trace-context": "workspace:*",
|
|
@@ -3853,7 +3851,6 @@ ${aggregateTypes.length > 1 ? aggregateTypes.slice(1).map((type) => {
|
|
|
3853
3851
|
name: field.name,
|
|
3854
3852
|
isNullable: false,
|
|
3855
3853
|
isRequired: false,
|
|
3856
|
-
isParameterizable: false,
|
|
3857
3854
|
inputTypes: [
|
|
3858
3855
|
{
|
|
3859
3856
|
isList: false,
|
|
@@ -4327,7 +4324,6 @@ function fluentWrapperName(modelName) {
|
|
|
4327
4324
|
|
|
4328
4325
|
// src/TSClient/TSClient.ts
|
|
4329
4326
|
import { datamodelEnumToSchemaEnum } from "@prisma/dmmf";
|
|
4330
|
-
import { buildParamGraph } from "@prisma/param-graph-builder";
|
|
4331
4327
|
import * as ts12 from "@prisma/ts-builders";
|
|
4332
4328
|
import indent7 from "indent-string";
|
|
4333
4329
|
|
|
@@ -5799,11 +5795,6 @@ var TSClient = class {
|
|
|
5799
5795
|
}
|
|
5800
5796
|
dmmf;
|
|
5801
5797
|
genericsInfo;
|
|
5802
|
-
buildParamGraphConfig() {
|
|
5803
|
-
const paramGraph = buildParamGraph(this.options.dmmf);
|
|
5804
|
-
const paramGraphJson = JSON.stringify(JSON.stringify(paramGraph));
|
|
5805
|
-
return `config.parameterizationSchema = JSON.parse(${paramGraphJson})`;
|
|
5806
|
-
}
|
|
5807
5798
|
toJS() {
|
|
5808
5799
|
const { edge, wasm, generator, datamodel: inlineSchema, runtimeName, reusedJs, compilerBuild } = this.options;
|
|
5809
5800
|
if (reusedJs) {
|
|
@@ -5837,7 +5828,6 @@ ${new Enum(
|
|
|
5837
5828
|
*/
|
|
5838
5829
|
const config = ${JSON.stringify(config, null, 2)}
|
|
5839
5830
|
${buildRuntimeDataModel(this.dmmf.datamodel, runtimeName)}
|
|
5840
|
-
${this.buildParamGraphConfig()}
|
|
5841
5831
|
${buildQueryCompilerWasmModule(wasm, runtimeName, compilerBuild)}
|
|
5842
5832
|
${buildDebugInitialization(edge)}
|
|
5843
5833
|
const PrismaClient = getPrismaClient(config)
|
|
@@ -6815,7 +6805,7 @@ import { enginesVersion } from "@prisma/engines-version";
|
|
|
6815
6805
|
import { parseEnvValue } from "@prisma/internals";
|
|
6816
6806
|
|
|
6817
6807
|
// package.json
|
|
6818
|
-
var version = "7.
|
|
6808
|
+
var version = "7.4.0-dev.1";
|
|
6819
6809
|
|
|
6820
6810
|
// src/resolvePrismaClient.ts
|
|
6821
6811
|
import fs2 from "node:fs/promises";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-js",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.4.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,22 +25,21 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@antfu/ni": "0.21.12",
|
|
28
|
-
"@prisma/engines-version": "7.
|
|
28
|
+
"@prisma/engines-version": "7.4.0-1.0940115552e3c2e6432bc074fc6216a2e18f339e",
|
|
29
29
|
"env-paths": "2.2.1",
|
|
30
30
|
"indent-string": "4.0.0",
|
|
31
31
|
"klona": "2.0.6",
|
|
32
32
|
"package-up": "5.0.0",
|
|
33
33
|
"pluralize": "8.0.0",
|
|
34
34
|
"ts-pattern": "5.6.2",
|
|
35
|
-
"@prisma/client-common": "7.
|
|
36
|
-
"@prisma/
|
|
37
|
-
"@prisma/
|
|
38
|
-
"@prisma/
|
|
39
|
-
"@prisma/
|
|
40
|
-
"@prisma/
|
|
41
|
-
"@prisma/
|
|
42
|
-
"@prisma/
|
|
43
|
-
"@prisma/ts-builders": "7.3.0-integration-engines-7-3-0-19-feat-minor-fixes-on-qc-parameterization-c32a571f4d5d8fe47265c7a4515fcd51d88c7309.2"
|
|
35
|
+
"@prisma/client-common": "7.4.0-dev.1",
|
|
36
|
+
"@prisma/debug": "7.4.0-dev.1",
|
|
37
|
+
"@prisma/dmmf": "7.4.0-dev.1",
|
|
38
|
+
"@prisma/fetch-engine": "7.4.0-dev.1",
|
|
39
|
+
"@prisma/generator": "7.4.0-dev.1",
|
|
40
|
+
"@prisma/ts-builders": "7.4.0-dev.1",
|
|
41
|
+
"@prisma/get-platform": "7.4.0-dev.1",
|
|
42
|
+
"@prisma/internals": "7.4.0-dev.1"
|
|
44
43
|
},
|
|
45
44
|
"devDependencies": {
|
|
46
45
|
"@types/pluralize": "0.0.33",
|