prisma 6.5.0-integration-fix-improve-global-omit-api-performance-2.2 → 6.5.0-integration-feat-prisma-config-without-new-package.2
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/build/index.js +5 -5
- package/package.json +38 -12
- package/prisma-client/generator-build/index.js +13 -13
- package/prisma-client/package.json +1 -1
- package/prisma-client/runtime/binary.js +2 -2
- package/prisma-client/runtime/client.d.ts +44 -43
- package/prisma-client/runtime/client.js +2 -2
- package/prisma-client/runtime/edge-esm.js +2 -2
- package/prisma-client/runtime/edge.js +2 -2
- package/prisma-client/runtime/library.d.ts +44 -43
- package/prisma-client/runtime/library.js +2 -2
- package/prisma-client/runtime/react-native.d.ts +44 -43
- package/prisma-client/runtime/react-native.js +2 -2
- package/prisma-client/scripts/default-index.js +1 -1
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "6.5.0-integration-
|
2
|
+
"version": "6.5.0-integration-feat-prisma-config-without-new-package.2",
|
3
3
|
"name": "prisma",
|
4
4
|
"description": "Prisma is an open-source database toolkit. It includes a JavaScript/TypeScript ORM for Node.js, migrations and a modern GUI to view and edit the data in your database. You can use Prisma in new projects or add it to an existing one.",
|
5
5
|
"keywords": [
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"node": ">=18.18"
|
42
42
|
},
|
43
43
|
"prisma": {
|
44
|
-
"prismaCommit": "
|
44
|
+
"prismaCommit": "8c415e4751aab735986a303f99a68c1a725af5e4"
|
45
45
|
},
|
46
46
|
"files": [
|
47
47
|
"README.md",
|
@@ -68,6 +68,32 @@
|
|
68
68
|
"bin": {
|
69
69
|
"prisma": "build/index.js"
|
70
70
|
},
|
71
|
+
"types": "./dist/cli/src/types.d.ts",
|
72
|
+
"exports": {
|
73
|
+
"./package.json": "./package.json",
|
74
|
+
".": {
|
75
|
+
"require": {
|
76
|
+
"types": "./dist/cli/src/types.d.ts",
|
77
|
+
"default": "./build/types.js"
|
78
|
+
},
|
79
|
+
"import": {
|
80
|
+
"types": "./dist/cli/src/types.d.ts",
|
81
|
+
"default": "./build/types.js"
|
82
|
+
},
|
83
|
+
"default": "./build/types.js"
|
84
|
+
},
|
85
|
+
"./config": {
|
86
|
+
"require": {
|
87
|
+
"types": "./config.d.ts",
|
88
|
+
"default": "./config.js"
|
89
|
+
},
|
90
|
+
"import": {
|
91
|
+
"types": "./config.d.ts",
|
92
|
+
"default": "./config.js"
|
93
|
+
},
|
94
|
+
"default": "./config.js"
|
95
|
+
}
|
96
|
+
},
|
71
97
|
"devDependencies": {
|
72
98
|
"@antfu/ni": "0.21.12",
|
73
99
|
"@inquirer/prompts": "5.0.5",
|
@@ -112,20 +138,20 @@
|
|
112
138
|
"typescript": "5.4.5",
|
113
139
|
"xdg-app-paths": "8.3.0",
|
114
140
|
"zx": "7.2.3",
|
115
|
-
"@prisma/
|
116
|
-
"@prisma/
|
117
|
-
"@prisma/
|
118
|
-
"@prisma/
|
119
|
-
"@prisma/
|
120
|
-
"@prisma/generator-helper": "6.5.0-integration-
|
121
|
-
"@prisma/get-platform": "6.5.0-integration-
|
122
|
-
"@prisma/internals": "6.5.0-integration-
|
123
|
-
"@prisma/migrate": "6.5.0-integration-
|
141
|
+
"@prisma/client": "6.5.0-integration-feat-prisma-config-without-new-package.2",
|
142
|
+
"@prisma/adapter-libsql": "6.5.0-integration-feat-prisma-config-without-new-package.2",
|
143
|
+
"@prisma/config": "6.5.0-integration-feat-prisma-config-without-new-package.2",
|
144
|
+
"@prisma/fetch-engine": "6.5.0-integration-feat-prisma-config-without-new-package.2",
|
145
|
+
"@prisma/debug": "6.5.0-integration-feat-prisma-config-without-new-package.2",
|
146
|
+
"@prisma/generator-helper": "6.5.0-integration-feat-prisma-config-without-new-package.2",
|
147
|
+
"@prisma/get-platform": "6.5.0-integration-feat-prisma-config-without-new-package.2",
|
148
|
+
"@prisma/internals": "6.5.0-integration-feat-prisma-config-without-new-package.2",
|
149
|
+
"@prisma/migrate": "6.5.0-integration-feat-prisma-config-without-new-package.2"
|
124
150
|
},
|
125
151
|
"dependencies": {
|
126
152
|
"esbuild": ">=0.12 <1",
|
127
153
|
"esbuild-register": "3.6.0",
|
128
|
-
"@prisma/engines": "6.5.0-integration-
|
154
|
+
"@prisma/engines": "6.5.0-integration-feat-prisma-config-without-new-package.2"
|
129
155
|
},
|
130
156
|
"optionalDependencies": {
|
131
157
|
"fsevents": "2.3.3"
|
@@ -3058,7 +3058,7 @@ var require_package2 = __commonJS({
|
|
3058
3058
|
"package.json"(exports2, module2) {
|
3059
3059
|
module2.exports = {
|
3060
3060
|
name: "@prisma/client",
|
3061
|
-
version: "6.5.0-integration-
|
3061
|
+
version: "6.5.0-integration-feat-prisma-config-without-new-package.2",
|
3062
3062
|
description: "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
|
3063
3063
|
keywords: [
|
3064
3064
|
"ORM",
|
@@ -7139,7 +7139,7 @@ var ModelDelegate = class {
|
|
7139
7139
|
const nonAggregateActions = this.getNonAggregateActions(availableActions);
|
7140
7140
|
const groupByArgsName = getGroupByArgsName(name);
|
7141
7141
|
const countArgsName = getModelArgName(name, DMMF.ModelAction.count);
|
7142
|
-
const genericDelegateParams = [extArgsParam, genericParameter("
|
7142
|
+
const genericDelegateParams = [extArgsParam, genericParameter("ClientOptions").default(objectType())];
|
7143
7143
|
const excludedArgsForCount = ["select", "include", "distinct", "omit"];
|
7144
7144
|
if (this.context.isPreviewFeatureOn("relationJoins")) {
|
7145
7145
|
excludedArgsForCount.push("relationLoadStrategy");
|
@@ -7323,14 +7323,14 @@ function getReturnType({
|
|
7323
7323
|
return getFluentWrapper(modelName, getResultType(modelName, actionName));
|
7324
7324
|
}
|
7325
7325
|
function getFluentWrapper(modelName, resultType, nullType2 = neverType) {
|
7326
|
-
return namedType(fluentWrapperName(modelName)).addGenericArgument(resultType).addGenericArgument(nullType2).addGenericArgument(extArgsParam.toArgument()).addGenericArgument(namedType("
|
7326
|
+
return namedType(fluentWrapperName(modelName)).addGenericArgument(resultType).addGenericArgument(nullType2).addGenericArgument(extArgsParam.toArgument()).addGenericArgument(namedType("ClientOptions"));
|
7327
7327
|
}
|
7328
7328
|
function getResultType(modelName, actionName) {
|
7329
|
-
return namedType("$Result.GetResult").addGenericArgument(namedType(getPayloadName(modelName)).addGenericArgument(extArgsParam.toArgument())).addGenericArgument(namedType("T")).addGenericArgument(stringLiteral(actionName)).addGenericArgument(namedType("
|
7329
|
+
return namedType("$Result.GetResult").addGenericArgument(namedType(getPayloadName(modelName)).addGenericArgument(extArgsParam.toArgument())).addGenericArgument(namedType("T")).addGenericArgument(stringLiteral(actionName)).addGenericArgument(namedType("ClientOptions"));
|
7330
7330
|
}
|
7331
7331
|
function buildFluentWrapperDefinition(modelName, outputType, context) {
|
7332
7332
|
const definition = interfaceDeclaration(fluentWrapperName(modelName));
|
7333
|
-
definition.addGenericParameter(genericParameter("T")).addGenericParameter(genericParameter("Null").default(neverType)).addGenericParameter(extArgsParam).addGenericParameter(genericParameter("
|
7333
|
+
definition.addGenericParameter(genericParameter("T")).addGenericParameter(genericParameter("Null").default(neverType)).addGenericParameter(extArgsParam).addGenericParameter(genericParameter("ClientOptions").default(objectType())).extends(prismaPromise(namedType("T")));
|
7334
7334
|
definition.add(property(toStringTag, stringLiteral("PrismaPromise")).readonly());
|
7335
7335
|
definition.addMultiple(
|
7336
7336
|
outputType.fields.filter(
|
@@ -8613,7 +8613,7 @@ function clientTypeMapModelsDefinition(context) {
|
|
8613
8613
|
return property(modelName, entry);
|
8614
8614
|
})
|
8615
8615
|
);
|
8616
|
-
return objectType().add(property("
|
8616
|
+
return objectType().add(property("meta", meta)).add(property("model", model));
|
8617
8617
|
}
|
8618
8618
|
function clientTypeMapModelsResultDefinition(modelName, action) {
|
8619
8619
|
if (action === "count")
|
@@ -8677,11 +8677,11 @@ function clientTypeMapOthersDefinition(context) {
|
|
8677
8677
|
function clientTypeMapDefinition(context) {
|
8678
8678
|
const typeMap = `${stringify(clientTypeMapModelsDefinition(context))} & ${clientTypeMapOthersDefinition(context)}`;
|
8679
8679
|
return `
|
8680
|
-
interface TypeMapCb
|
8681
|
-
returns: Prisma.TypeMap<this['params']['extArgs'],
|
8680
|
+
interface TypeMapCb extends $Utils.Fn<{extArgs: $Extensions.InternalArgs, clientOptions: PrismaClientOptions }, $Utils.Record<string, any>> {
|
8681
|
+
returns: Prisma.TypeMap<this['params']['extArgs'], this['params']['clientOptions']>
|
8682
8682
|
}
|
8683
8683
|
|
8684
|
-
export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs,
|
8684
|
+
export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = ${typeMap}`;
|
8685
8685
|
}
|
8686
8686
|
function clientExtensionsDefinitions(context) {
|
8687
8687
|
const typeMap = clientTypeMapDefinition(context);
|
@@ -8694,9 +8694,9 @@ function clientExtensionsDefinitions(context) {
|
|
8694
8694
|
return [typeMap, stringify(define2)].join("\n");
|
8695
8695
|
}
|
8696
8696
|
function extendsPropertyDefinition() {
|
8697
|
-
const extendsDefinition = namedType("$Extensions.ExtendsHook").addGenericArgument(stringLiteral("extends")).addGenericArgument(namedType("Prisma.TypeMapCb")
|
8698
|
-
namedType("$Utils.Call").addGenericArgument(namedType("Prisma.TypeMapCb")
|
8699
|
-
);
|
8697
|
+
const extendsDefinition = namedType("$Extensions.ExtendsHook").addGenericArgument(stringLiteral("extends")).addGenericArgument(namedType("Prisma.TypeMapCb")).addGenericArgument(namedType("ExtArgs")).addGenericArgument(
|
8698
|
+
namedType("$Utils.Call").addGenericArgument(namedType("Prisma.TypeMapCb")).addGenericArgument(objectType().add(property("extArgs", namedType("ExtArgs"))))
|
8699
|
+
).addGenericArgument(namedType("ClientOptions"));
|
8700
8700
|
return stringify(property("$extends", extendsDefinition), { indentLevel: 1 });
|
8701
8701
|
}
|
8702
8702
|
function batchingTransactionDefinition(context) {
|
@@ -8909,7 +8909,7 @@ var PrismaClientClass = class {
|
|
8909
8909
|
export class PrismaClient<
|
8910
8910
|
ClientOptions extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions,
|
8911
8911
|
U = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never,
|
8912
|
-
ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs
|
8912
|
+
ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs
|
8913
8913
|
> {
|
8914
8914
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] }
|
8915
8915
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prisma/client",
|
3
|
-
"version": "6.5.0-integration-
|
3
|
+
"version": "6.5.0-integration-feat-prisma-config-without-new-package.2",
|
4
4
|
"description": "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
|
5
5
|
"keywords": [
|
6
6
|
"ORM",
|