@prisma/client-generator-ts 7.8.0-dev.10 → 7.8.0-dev.12
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 +17 -1
- package/dist/index.mjs +17 -1
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -5745,6 +5745,22 @@ function buildClientOptions(context) {
|
|
|
5745
5745
|
`)
|
|
5746
5746
|
);
|
|
5747
5747
|
}
|
|
5748
|
+
otherOptions.add(
|
|
5749
|
+
ts19.property("queryPlanCacheMaxSize", ts19.numberType).optional().setDocComment(ts19.docComment`
|
|
5750
|
+
Optional maximum size for the query plan cache. If not provided, a default size will be used.
|
|
5751
|
+
A value of \`0\` can be used to disable the cache entirely. A higher cache size can improve
|
|
5752
|
+
performance for applications that execute a large number of unique queries, while a smaller
|
|
5753
|
+
cache size can reduce memory usage.
|
|
5754
|
+
|
|
5755
|
+
@example
|
|
5756
|
+
\`\`\`
|
|
5757
|
+
const prisma = new PrismaClient({
|
|
5758
|
+
adapter,
|
|
5759
|
+
queryPlanCacheMaxSize: 100,
|
|
5760
|
+
})
|
|
5761
|
+
\`\`\`
|
|
5762
|
+
`)
|
|
5763
|
+
);
|
|
5748
5764
|
const prismaClientOptions = ts19.intersectionType([mutuallyExclusiveOptions, otherOptions]);
|
|
5749
5765
|
return ts19.typeDeclaration("PrismaClientOptions", prismaClientOptions);
|
|
5750
5766
|
}
|
|
@@ -6382,7 +6398,7 @@ var import_internals7 = require("@prisma/internals");
|
|
|
6382
6398
|
var import_get_tsconfig = require("get-tsconfig");
|
|
6383
6399
|
|
|
6384
6400
|
// package.json
|
|
6385
|
-
var version = "7.8.0-dev.
|
|
6401
|
+
var version = "7.8.0-dev.12";
|
|
6386
6402
|
|
|
6387
6403
|
// src/module-format.ts
|
|
6388
6404
|
function parseModuleFormat(format) {
|
package/dist/index.mjs
CHANGED
|
@@ -5739,6 +5739,22 @@ function buildClientOptions(context) {
|
|
|
5739
5739
|
`)
|
|
5740
5740
|
);
|
|
5741
5741
|
}
|
|
5742
|
+
otherOptions.add(
|
|
5743
|
+
ts19.property("queryPlanCacheMaxSize", ts19.numberType).optional().setDocComment(ts19.docComment`
|
|
5744
|
+
Optional maximum size for the query plan cache. If not provided, a default size will be used.
|
|
5745
|
+
A value of \`0\` can be used to disable the cache entirely. A higher cache size can improve
|
|
5746
|
+
performance for applications that execute a large number of unique queries, while a smaller
|
|
5747
|
+
cache size can reduce memory usage.
|
|
5748
|
+
|
|
5749
|
+
@example
|
|
5750
|
+
\`\`\`
|
|
5751
|
+
const prisma = new PrismaClient({
|
|
5752
|
+
adapter,
|
|
5753
|
+
queryPlanCacheMaxSize: 100,
|
|
5754
|
+
})
|
|
5755
|
+
\`\`\`
|
|
5756
|
+
`)
|
|
5757
|
+
);
|
|
5742
5758
|
const prismaClientOptions = ts19.intersectionType([mutuallyExclusiveOptions, otherOptions]);
|
|
5743
5759
|
return ts19.typeDeclaration("PrismaClientOptions", prismaClientOptions);
|
|
5744
5760
|
}
|
|
@@ -6376,7 +6392,7 @@ import { parseEnvValue } from "@prisma/internals";
|
|
|
6376
6392
|
import { getTsconfig } from "get-tsconfig";
|
|
6377
6393
|
|
|
6378
6394
|
// package.json
|
|
6379
|
-
var version = "7.8.0-dev.
|
|
6395
|
+
var version = "7.8.0-dev.12";
|
|
6380
6396
|
|
|
6381
6397
|
// src/module-format.ts
|
|
6382
6398
|
function parseModuleFormat(format) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-ts",
|
|
3
|
-
"version": "7.8.0-dev.
|
|
3
|
+
"version": "7.8.0-dev.12",
|
|
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.8.0-
|
|
28
|
+
"@prisma/engines-version": "7.8.0-6.3c6e192761c0362d496ed980de936e2f3cebcd3a",
|
|
29
29
|
"fast-glob": "3.3.3",
|
|
30
30
|
"get-tsconfig": "4.10.0",
|
|
31
31
|
"indent-string": "4.0.0",
|
|
@@ -33,15 +33,15 @@
|
|
|
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.8.0-dev.
|
|
37
|
-
"@prisma/debug": "7.8.0-dev.
|
|
38
|
-
"@prisma/
|
|
39
|
-
"@prisma/
|
|
40
|
-
"@prisma/
|
|
41
|
-
"@prisma/
|
|
42
|
-
"@prisma/
|
|
43
|
-
"@prisma/
|
|
44
|
-
"@prisma/
|
|
36
|
+
"@prisma/client-common": "7.8.0-dev.12",
|
|
37
|
+
"@prisma/debug": "7.8.0-dev.12",
|
|
38
|
+
"@prisma/generator": "7.8.0-dev.12",
|
|
39
|
+
"@prisma/get-platform": "7.8.0-dev.12",
|
|
40
|
+
"@prisma/fetch-engine": "7.8.0-dev.12",
|
|
41
|
+
"@prisma/dmmf": "7.8.0-dev.12",
|
|
42
|
+
"@prisma/param-graph-builder": "7.8.0-dev.12",
|
|
43
|
+
"@prisma/internals": "7.8.0-dev.12",
|
|
44
|
+
"@prisma/ts-builders": "7.8.0-dev.12"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/pluralize": "0.0.33"
|