@prisma/client-generator-ts 7.3.0-integration-parameterization.14 → 7.3.0-integration-engines-7-3-0-19-feat-minor-fixes-on-qc-parameterization-c32a571f4d5d8fe47265c7a4515fcd51d88c7309.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/index.js +3 -13
- package/dist/index.mjs +3 -13
- package/package.json +10 -11
package/dist/TSClient/Args.d.ts
CHANGED
|
@@ -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
|
|
@@ -3831,8 +3830,7 @@ function clientConfig(context, options) {
|
|
|
3831
3830
|
target,
|
|
3832
3831
|
activeProvider,
|
|
3833
3832
|
moduleFormat,
|
|
3834
|
-
compilerBuild
|
|
3835
|
-
dmmf
|
|
3833
|
+
compilerBuild
|
|
3836
3834
|
} = options;
|
|
3837
3835
|
const config = {
|
|
3838
3836
|
previewFeatures: generator.previewFeatures,
|
|
@@ -3840,22 +3838,15 @@ function clientConfig(context, options) {
|
|
|
3840
3838
|
engineVersion: options.engineVersion,
|
|
3841
3839
|
activeProvider: options.activeProvider,
|
|
3842
3840
|
inlineSchema,
|
|
3843
|
-
runtimeDataModel: { models: {}, enums: {}, types: {} }
|
|
3844
|
-
parameterizationSchema: { s: [], e: [], i: [], o: [], r: {} }
|
|
3841
|
+
runtimeDataModel: { models: {}, enums: {}, types: {} }
|
|
3845
3842
|
};
|
|
3846
3843
|
return `
|
|
3847
3844
|
const config: runtime.GetPrismaClientConfig = ${JSON.stringify(config, null, 2)}
|
|
3848
3845
|
${buildRuntimeDataModel(context.dmmf.datamodel, runtimeName)}
|
|
3849
|
-
${buildParameterizationSchema(dmmf)}
|
|
3850
3846
|
${buildGetWasmModule({ runtimeBase, runtimeName, target, activeProvider, moduleFormat, compilerBuild })}
|
|
3851
3847
|
${buildDebugInitialization(edge)}
|
|
3852
3848
|
`;
|
|
3853
3849
|
}
|
|
3854
|
-
function buildParameterizationSchema(dmmf) {
|
|
3855
|
-
const paramGraph = (0, import_param_graph_builder.buildParamGraph)(dmmf);
|
|
3856
|
-
const paramGraphJson = JSON.stringify(JSON.stringify(paramGraph));
|
|
3857
|
-
return `config.parameterizationSchema = JSON.parse(${paramGraphJson})`;
|
|
3858
|
-
}
|
|
3859
3850
|
|
|
3860
3851
|
// src/TSClient/file-generators/ClientFile.ts
|
|
3861
3852
|
var ts7 = __toESM(require("@prisma/ts-builders"));
|
|
@@ -4486,7 +4477,6 @@ ${aggregateTypes.length > 1 ? aggregateTypes.slice(1).map((type) => {
|
|
|
4486
4477
|
name: field.name,
|
|
4487
4478
|
isNullable: false,
|
|
4488
4479
|
isRequired: false,
|
|
4489
|
-
isParameterizable: false,
|
|
4490
4480
|
inputTypes: [
|
|
4491
4481
|
{
|
|
4492
4482
|
isList: false,
|
|
@@ -6422,7 +6412,7 @@ var import_internals7 = require("@prisma/internals");
|
|
|
6422
6412
|
var import_get_tsconfig = require("get-tsconfig");
|
|
6423
6413
|
|
|
6424
6414
|
// package.json
|
|
6425
|
-
var version = "7.3.0-integration-parameterization.
|
|
6415
|
+
var version = "7.3.0-integration-engines-7-3-0-19-feat-minor-fixes-on-qc-parameterization-c32a571f4d5d8fe47265c7a4515fcd51d88c7309.1";
|
|
6426
6416
|
|
|
6427
6417
|
// src/module-format.ts
|
|
6428
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
|
|
@@ -3824,8 +3823,7 @@ function clientConfig(context, options) {
|
|
|
3824
3823
|
target,
|
|
3825
3824
|
activeProvider,
|
|
3826
3825
|
moduleFormat,
|
|
3827
|
-
compilerBuild
|
|
3828
|
-
dmmf
|
|
3826
|
+
compilerBuild
|
|
3829
3827
|
} = options;
|
|
3830
3828
|
const config = {
|
|
3831
3829
|
previewFeatures: generator.previewFeatures,
|
|
@@ -3833,22 +3831,15 @@ function clientConfig(context, options) {
|
|
|
3833
3831
|
engineVersion: options.engineVersion,
|
|
3834
3832
|
activeProvider: options.activeProvider,
|
|
3835
3833
|
inlineSchema,
|
|
3836
|
-
runtimeDataModel: { models: {}, enums: {}, types: {} }
|
|
3837
|
-
parameterizationSchema: { s: [], e: [], i: [], o: [], r: {} }
|
|
3834
|
+
runtimeDataModel: { models: {}, enums: {}, types: {} }
|
|
3838
3835
|
};
|
|
3839
3836
|
return `
|
|
3840
3837
|
const config: runtime.GetPrismaClientConfig = ${JSON.stringify(config, null, 2)}
|
|
3841
3838
|
${buildRuntimeDataModel(context.dmmf.datamodel, runtimeName)}
|
|
3842
|
-
${buildParameterizationSchema(dmmf)}
|
|
3843
3839
|
${buildGetWasmModule({ runtimeBase, runtimeName, target, activeProvider, moduleFormat, compilerBuild })}
|
|
3844
3840
|
${buildDebugInitialization(edge)}
|
|
3845
3841
|
`;
|
|
3846
3842
|
}
|
|
3847
|
-
function buildParameterizationSchema(dmmf) {
|
|
3848
|
-
const paramGraph = buildParamGraph(dmmf);
|
|
3849
|
-
const paramGraphJson = JSON.stringify(JSON.stringify(paramGraph));
|
|
3850
|
-
return `config.parameterizationSchema = JSON.parse(${paramGraphJson})`;
|
|
3851
|
-
}
|
|
3852
3843
|
|
|
3853
3844
|
// src/TSClient/file-generators/ClientFile.ts
|
|
3854
3845
|
import * as ts7 from "@prisma/ts-builders";
|
|
@@ -4479,7 +4470,6 @@ ${aggregateTypes.length > 1 ? aggregateTypes.slice(1).map((type) => {
|
|
|
4479
4470
|
name: field.name,
|
|
4480
4471
|
isNullable: false,
|
|
4481
4472
|
isRequired: false,
|
|
4482
|
-
isParameterizable: false,
|
|
4483
4473
|
inputTypes: [
|
|
4484
4474
|
{
|
|
4485
4475
|
isList: false,
|
|
@@ -6415,7 +6405,7 @@ import { parseEnvValue } from "@prisma/internals";
|
|
|
6415
6405
|
import { getTsconfig } from "get-tsconfig";
|
|
6416
6406
|
|
|
6417
6407
|
// package.json
|
|
6418
|
-
var version = "7.3.0-integration-parameterization.
|
|
6408
|
+
var version = "7.3.0-integration-engines-7-3-0-19-feat-minor-fixes-on-qc-parameterization-c32a571f4d5d8fe47265c7a4515fcd51d88c7309.1";
|
|
6419
6409
|
|
|
6420
6410
|
// src/module-format.ts
|
|
6421
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-parameterization.
|
|
3
|
+
"version": "7.3.0-integration-engines-7-3-0-19-feat-minor-fixes-on-qc-parameterization-c32a571f4d5d8fe47265c7a4515fcd51d88c7309.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-
|
|
28
|
+
"@prisma/engines-version": "7.3.0-19.feat-minor-fixes-on-qc-parameterization-c32a571f4d5d8fe47265c7a4515fcd51d88c7309",
|
|
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/
|
|
37
|
-
"@prisma/
|
|
38
|
-
"@prisma/
|
|
39
|
-
"@prisma/
|
|
40
|
-
"@prisma/
|
|
41
|
-
"@prisma/
|
|
42
|
-
"@prisma/
|
|
43
|
-
"@prisma/
|
|
44
|
-
"@prisma/ts-builders": "7.3.0-integration-parameterization.14"
|
|
36
|
+
"@prisma/fetch-engine": "7.3.0-integration-engines-7-3-0-19-feat-minor-fixes-on-qc-parameterization-c32a571f4d5d8fe47265c7a4515fcd51d88c7309.1",
|
|
37
|
+
"@prisma/debug": "7.3.0-integration-engines-7-3-0-19-feat-minor-fixes-on-qc-parameterization-c32a571f4d5d8fe47265c7a4515fcd51d88c7309.1",
|
|
38
|
+
"@prisma/dmmf": "7.3.0-integration-engines-7-3-0-19-feat-minor-fixes-on-qc-parameterization-c32a571f4d5d8fe47265c7a4515fcd51d88c7309.1",
|
|
39
|
+
"@prisma/generator": "7.3.0-integration-engines-7-3-0-19-feat-minor-fixes-on-qc-parameterization-c32a571f4d5d8fe47265c7a4515fcd51d88c7309.1",
|
|
40
|
+
"@prisma/client-common": "7.3.0-integration-engines-7-3-0-19-feat-minor-fixes-on-qc-parameterization-c32a571f4d5d8fe47265c7a4515fcd51d88c7309.1",
|
|
41
|
+
"@prisma/internals": "7.3.0-integration-engines-7-3-0-19-feat-minor-fixes-on-qc-parameterization-c32a571f4d5d8fe47265c7a4515fcd51d88c7309.1",
|
|
42
|
+
"@prisma/ts-builders": "7.3.0-integration-engines-7-3-0-19-feat-minor-fixes-on-qc-parameterization-c32a571f4d5d8fe47265c7a4515fcd51d88c7309.1",
|
|
43
|
+
"@prisma/get-platform": "7.3.0-integration-engines-7-3-0-19-feat-minor-fixes-on-qc-parameterization-c32a571f4d5d8fe47265c7a4515fcd51d88c7309.1"
|
|
45
44
|
},
|
|
46
45
|
"devDependencies": {
|
|
47
46
|
"@types/pluralize": "0.0.33",
|