@prisma/client-generator-ts 6.20.0-integration-next.14 → 6.20.0-integration-next.16
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 +8 -10
- package/dist/index.mjs +8 -10
- package/dist/utils/runtimeImport.d.ts +1 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -5611,7 +5611,7 @@ export type BatchPayload = {
|
|
|
5611
5611
|
${clientExtensionsDefinitions()}
|
|
5612
5612
|
export type DefaultPrismaClient = PrismaClient
|
|
5613
5613
|
export type ErrorFormat = 'pretty' | 'colorless' | 'minimal'
|
|
5614
|
-
${ts19.stringify(ts19.moduleExport(buildClientOptions(context
|
|
5614
|
+
${ts19.stringify(ts19.moduleExport(buildClientOptions(context)))}
|
|
5615
5615
|
${ts19.stringify(globalOmitConfig(context.dmmf))}
|
|
5616
5616
|
|
|
5617
5617
|
/* Types for Logging */
|
|
@@ -5687,7 +5687,7 @@ function clientExtensionsDefinitions() {
|
|
|
5687
5687
|
);
|
|
5688
5688
|
return ts19.stringify(define);
|
|
5689
5689
|
}
|
|
5690
|
-
function buildClientOptions(context
|
|
5690
|
+
function buildClientOptions(context) {
|
|
5691
5691
|
const clientOptions = ts19.interfaceDeclaration("PrismaClientOptions").add(
|
|
5692
5692
|
ts19.property("errorFormat", ts19.namedType("ErrorFormat")).optional().setDocComment(ts19.docComment('@default "colorless"'))
|
|
5693
5693
|
).add(
|
|
@@ -5727,13 +5727,11 @@ function buildClientOptions(context, options) {
|
|
|
5727
5727
|
timeout ?= 5000
|
|
5728
5728
|
`)
|
|
5729
5729
|
);
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
ts19.
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
);
|
|
5736
|
-
}
|
|
5730
|
+
clientOptions.add(
|
|
5731
|
+
ts19.property("adapter", ts19.namedType("runtime.SqlDriverAdapterFactory")).optional().setDocComment(
|
|
5732
|
+
ts19.docComment("Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`")
|
|
5733
|
+
)
|
|
5734
|
+
);
|
|
5737
5735
|
clientOptions.add(
|
|
5738
5736
|
ts19.property("accelerateUrl", ts19.stringType).optional().setDocComment(
|
|
5739
5737
|
ts19.docComment(
|
|
@@ -6381,7 +6379,7 @@ var import_internals7 = require("@prisma/internals");
|
|
|
6381
6379
|
var import_get_tsconfig = require("get-tsconfig");
|
|
6382
6380
|
|
|
6383
6381
|
// package.json
|
|
6384
|
-
var version = "6.20.0-integration-next.
|
|
6382
|
+
var version = "6.20.0-integration-next.16";
|
|
6385
6383
|
|
|
6386
6384
|
// src/module-format.ts
|
|
6387
6385
|
function parseModuleFormat(format) {
|
package/dist/index.mjs
CHANGED
|
@@ -5604,7 +5604,7 @@ export type BatchPayload = {
|
|
|
5604
5604
|
${clientExtensionsDefinitions()}
|
|
5605
5605
|
export type DefaultPrismaClient = PrismaClient
|
|
5606
5606
|
export type ErrorFormat = 'pretty' | 'colorless' | 'minimal'
|
|
5607
|
-
${ts19.stringify(ts19.moduleExport(buildClientOptions(context
|
|
5607
|
+
${ts19.stringify(ts19.moduleExport(buildClientOptions(context)))}
|
|
5608
5608
|
${ts19.stringify(globalOmitConfig(context.dmmf))}
|
|
5609
5609
|
|
|
5610
5610
|
/* Types for Logging */
|
|
@@ -5680,7 +5680,7 @@ function clientExtensionsDefinitions() {
|
|
|
5680
5680
|
);
|
|
5681
5681
|
return ts19.stringify(define);
|
|
5682
5682
|
}
|
|
5683
|
-
function buildClientOptions(context
|
|
5683
|
+
function buildClientOptions(context) {
|
|
5684
5684
|
const clientOptions = ts19.interfaceDeclaration("PrismaClientOptions").add(
|
|
5685
5685
|
ts19.property("errorFormat", ts19.namedType("ErrorFormat")).optional().setDocComment(ts19.docComment('@default "colorless"'))
|
|
5686
5686
|
).add(
|
|
@@ -5720,13 +5720,11 @@ function buildClientOptions(context, options) {
|
|
|
5720
5720
|
timeout ?= 5000
|
|
5721
5721
|
`)
|
|
5722
5722
|
);
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
ts19.
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
);
|
|
5729
|
-
}
|
|
5723
|
+
clientOptions.add(
|
|
5724
|
+
ts19.property("adapter", ts19.namedType("runtime.SqlDriverAdapterFactory")).optional().setDocComment(
|
|
5725
|
+
ts19.docComment("Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`")
|
|
5726
|
+
)
|
|
5727
|
+
);
|
|
5730
5728
|
clientOptions.add(
|
|
5731
5729
|
ts19.property("accelerateUrl", ts19.stringType).optional().setDocComment(
|
|
5732
5730
|
ts19.docComment(
|
|
@@ -6374,7 +6372,7 @@ import { parseEnvValue } from "@prisma/internals";
|
|
|
6374
6372
|
import { getTsconfig } from "get-tsconfig";
|
|
6375
6373
|
|
|
6376
6374
|
// package.json
|
|
6377
|
-
var version = "6.20.0-integration-next.
|
|
6375
|
+
var version = "6.20.0-integration-next.16";
|
|
6378
6376
|
|
|
6379
6377
|
// src/module-format.ts
|
|
6380
6378
|
function parseModuleFormat(format) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as ts from '@prisma/ts-builders';
|
|
2
|
-
type RuntimeExport = keyof typeof import('@prisma/client/runtime/
|
|
2
|
+
type RuntimeExport = keyof typeof import('@prisma/client/runtime/client') & string;
|
|
3
3
|
export declare function runtimeImportedType(name: RuntimeExport): ts.NamedType;
|
|
4
4
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-ts",
|
|
3
|
-
"version": "6.20.0-integration-next.
|
|
3
|
+
"version": "6.20.0-integration-next.16",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -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.20.0-integration-next.
|
|
37
|
-
"@prisma/
|
|
38
|
-
"@prisma/
|
|
39
|
-
"@prisma/
|
|
40
|
-
"@prisma/get-platform": "6.20.0-integration-next.
|
|
41
|
-
"@prisma/
|
|
42
|
-
"@prisma/
|
|
43
|
-
"@prisma/ts-builders": "6.20.0-integration-next.
|
|
36
|
+
"@prisma/client-common": "6.20.0-integration-next.16",
|
|
37
|
+
"@prisma/dmmf": "6.20.0-integration-next.16",
|
|
38
|
+
"@prisma/generator": "6.20.0-integration-next.16",
|
|
39
|
+
"@prisma/debug": "6.20.0-integration-next.16",
|
|
40
|
+
"@prisma/get-platform": "6.20.0-integration-next.16",
|
|
41
|
+
"@prisma/fetch-engine": "6.20.0-integration-next.16",
|
|
42
|
+
"@prisma/internals": "6.20.0-integration-next.16",
|
|
43
|
+
"@prisma/ts-builders": "6.20.0-integration-next.16"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/pluralize": "0.0.33",
|