prisma 6.3.0-dev.16 → 6.3.0-dev.18
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/build/prisma_schema_build_bg.wasm +0 -0
- package/package.json +10 -10
- package/prisma-client/generator-build/index.js +31 -18
- package/prisma-client/package.json +3 -3
- package/prisma-client/runtime/binary.js +78 -78
- package/prisma-client/runtime/edge-esm.js +16 -16
- package/prisma-client/runtime/edge.js +16 -16
- package/prisma-client/runtime/library.d.ts +28 -12
- package/prisma-client/runtime/library.js +64 -62
- package/prisma-client/runtime/query_engine_bg.mysql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.postgresql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.sqlite.js +2 -2
- package/prisma-client/runtime/react-native.d.ts +28 -12
- package/prisma-client/runtime/react-native.js +27 -27
- package/prisma-client/scripts/default-index.js +3 -3
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "6.3.0-dev.
|
|
2
|
+
"version": "6.3.0-dev.18",
|
|
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": "62a1a23e5298ba4323b4b8c326402a47412244fd"
|
|
45
45
|
},
|
|
46
46
|
"files": [
|
|
47
47
|
"README.md",
|
|
@@ -108,16 +108,16 @@
|
|
|
108
108
|
"typescript": "5.4.5",
|
|
109
109
|
"xdg-app-paths": "8.3.0",
|
|
110
110
|
"zx": "7.2.3",
|
|
111
|
-
"@prisma/client": "6.3.0-dev.
|
|
112
|
-
"@prisma/debug": "6.3.0-dev.
|
|
113
|
-
"@prisma/
|
|
114
|
-
"@prisma/
|
|
115
|
-
"@prisma/
|
|
116
|
-
"@prisma/
|
|
117
|
-
"@prisma/migrate": "6.3.0-dev.
|
|
111
|
+
"@prisma/client": "6.3.0-dev.18",
|
|
112
|
+
"@prisma/debug": "6.3.0-dev.18",
|
|
113
|
+
"@prisma/generator-helper": "6.3.0-dev.18",
|
|
114
|
+
"@prisma/get-platform": "6.3.0-dev.18",
|
|
115
|
+
"@prisma/internals": "6.3.0-dev.18",
|
|
116
|
+
"@prisma/fetch-engine": "6.3.0-dev.18",
|
|
117
|
+
"@prisma/migrate": "6.3.0-dev.18"
|
|
118
118
|
},
|
|
119
119
|
"dependencies": {
|
|
120
|
-
"@prisma/engines": "6.3.0-dev.
|
|
120
|
+
"@prisma/engines": "6.3.0-dev.18"
|
|
121
121
|
},
|
|
122
122
|
"optionalDependencies": {
|
|
123
123
|
"fsevents": "2.3.3"
|
|
@@ -33,18 +33,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/@prisma+engines-version@6.3.0-
|
|
36
|
+
// ../../node_modules/.pnpm/@prisma+engines-version@6.3.0-16.eb5bc5493ac383a8fe3c3e7fabfc93e4d44ca21e/node_modules/@prisma/engines-version/package.json
|
|
37
37
|
var require_package = __commonJS({
|
|
38
|
-
"../../node_modules/.pnpm/@prisma+engines-version@6.3.0-
|
|
38
|
+
"../../node_modules/.pnpm/@prisma+engines-version@6.3.0-16.eb5bc5493ac383a8fe3c3e7fabfc93e4d44ca21e/node_modules/@prisma/engines-version/package.json"(exports2, module2) {
|
|
39
39
|
module2.exports = {
|
|
40
40
|
name: "@prisma/engines-version",
|
|
41
|
-
version: "6.3.0-
|
|
41
|
+
version: "6.3.0-16.eb5bc5493ac383a8fe3c3e7fabfc93e4d44ca21e",
|
|
42
42
|
main: "index.js",
|
|
43
43
|
types: "index.d.ts",
|
|
44
44
|
license: "Apache-2.0",
|
|
45
45
|
author: "Tim Suchanek <suchanek@prisma.io>",
|
|
46
46
|
prisma: {
|
|
47
|
-
enginesVersion: "
|
|
47
|
+
enginesVersion: "eb5bc5493ac383a8fe3c3e7fabfc93e4d44ca21e"
|
|
48
48
|
},
|
|
49
49
|
repository: {
|
|
50
50
|
type: "git",
|
|
@@ -66,9 +66,9 @@ var require_package = __commonJS({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
|
|
69
|
-
// ../../node_modules/.pnpm/@prisma+engines-version@6.3.0-
|
|
69
|
+
// ../../node_modules/.pnpm/@prisma+engines-version@6.3.0-16.eb5bc5493ac383a8fe3c3e7fabfc93e4d44ca21e/node_modules/@prisma/engines-version/index.js
|
|
70
70
|
var require_engines_version = __commonJS({
|
|
71
|
-
"../../node_modules/.pnpm/@prisma+engines-version@6.3.0-
|
|
71
|
+
"../../node_modules/.pnpm/@prisma+engines-version@6.3.0-16.eb5bc5493ac383a8fe3c3e7fabfc93e4d44ca21e/node_modules/@prisma/engines-version/index.js"(exports2) {
|
|
72
72
|
"use strict";
|
|
73
73
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
74
74
|
exports2.enginesVersion = void 0;
|
|
@@ -3946,7 +3946,7 @@ var require_package2 = __commonJS({
|
|
|
3946
3946
|
"package.json"(exports2, module2) {
|
|
3947
3947
|
module2.exports = {
|
|
3948
3948
|
name: "@prisma/client",
|
|
3949
|
-
version: "6.3.0-dev.
|
|
3949
|
+
version: "6.3.0-dev.18",
|
|
3950
3950
|
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.",
|
|
3951
3951
|
keywords: [
|
|
3952
3952
|
"ORM",
|
|
@@ -4145,7 +4145,7 @@ var require_package2 = __commonJS({
|
|
|
4145
4145
|
"@prisma/debug": "workspace:*",
|
|
4146
4146
|
"@prisma/driver-adapter-utils": "workspace:*",
|
|
4147
4147
|
"@prisma/engines": "workspace:*",
|
|
4148
|
-
"@prisma/engines-version": "6.3.0-
|
|
4148
|
+
"@prisma/engines-version": "6.3.0-16.eb5bc5493ac383a8fe3c3e7fabfc93e4d44ca21e",
|
|
4149
4149
|
"@prisma/fetch-engine": "workspace:*",
|
|
4150
4150
|
"@prisma/generator-helper": "workspace:*",
|
|
4151
4151
|
"@prisma/get-platform": "workspace:*",
|
|
@@ -4154,7 +4154,7 @@ var require_package2 = __commonJS({
|
|
|
4154
4154
|
"@prisma/migrate": "workspace:*",
|
|
4155
4155
|
"@prisma/mini-proxy": "0.9.5",
|
|
4156
4156
|
"@prisma/pg-worker": "workspace:*",
|
|
4157
|
-
"@prisma/query-engine-wasm": "6.3.0-
|
|
4157
|
+
"@prisma/query-engine-wasm": "6.3.0-16.eb5bc5493ac383a8fe3c3e7fabfc93e4d44ca21e",
|
|
4158
4158
|
"@snaplet/copycat": "0.17.3",
|
|
4159
4159
|
"@swc-node/register": "1.10.9",
|
|
4160
4160
|
"@swc/core": "1.10.1",
|
|
@@ -5283,6 +5283,8 @@ function getClientEngineType(generatorConfig) {
|
|
|
5283
5283
|
return "library" /* Library */;
|
|
5284
5284
|
} else if (generatorConfig?.config.engineType === "binary" /* Binary */) {
|
|
5285
5285
|
return "binary" /* Binary */;
|
|
5286
|
+
} else if (generatorConfig?.config.engineType === "client" /* Client */) {
|
|
5287
|
+
return "client" /* Client */;
|
|
5286
5288
|
} else {
|
|
5287
5289
|
return DEFAULT_CLIENT_ENGINE_TYPE;
|
|
5288
5290
|
}
|
|
@@ -5293,6 +5295,8 @@ function getEngineTypeFromEnvVar() {
|
|
|
5293
5295
|
return "library" /* Library */;
|
|
5294
5296
|
} else if (engineType === "binary" /* Binary */) {
|
|
5295
5297
|
return "binary" /* Binary */;
|
|
5298
|
+
} else if (engineType === "client" /* Client */) {
|
|
5299
|
+
return "client" /* Client */;
|
|
5296
5300
|
} else {
|
|
5297
5301
|
return void 0;
|
|
5298
5302
|
}
|
|
@@ -8754,7 +8758,8 @@ const {
|
|
|
8754
8758
|
warnOnce,
|
|
8755
8759
|
defineDmmfProperty,
|
|
8756
8760
|
Public,
|
|
8757
|
-
getRuntime
|
|
8761
|
+
getRuntime,
|
|
8762
|
+
createParam,
|
|
8758
8763
|
} = require('${runtimeBase}/${runtimeNameJs}.js')
|
|
8759
8764
|
`}
|
|
8760
8765
|
|
|
@@ -8872,7 +8877,7 @@ export import Decimal = runtime.Decimal
|
|
|
8872
8877
|
export type DecimalJsLike = runtime.DecimalJsLike
|
|
8873
8878
|
|
|
8874
8879
|
/**
|
|
8875
|
-
* Metrics
|
|
8880
|
+
* Metrics
|
|
8876
8881
|
*/
|
|
8877
8882
|
export type Metrics = runtime.Metrics
|
|
8878
8883
|
export type Metric<T> = runtime.Metric<T>
|
|
@@ -8897,7 +8902,7 @@ export type PrismaVersion = {
|
|
|
8897
8902
|
client: string
|
|
8898
8903
|
}
|
|
8899
8904
|
|
|
8900
|
-
export const prismaVersion: PrismaVersion
|
|
8905
|
+
export const prismaVersion: PrismaVersion
|
|
8901
8906
|
|
|
8902
8907
|
/**
|
|
8903
8908
|
* Utility Types
|
|
@@ -8913,7 +8918,7 @@ export import InputJsonValue = runtime.InputJsonValue
|
|
|
8913
8918
|
|
|
8914
8919
|
/**
|
|
8915
8920
|
* Types of the values used to represent different kinds of \`null\` values when working with JSON fields.
|
|
8916
|
-
*
|
|
8921
|
+
*
|
|
8917
8922
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
8918
8923
|
*/
|
|
8919
8924
|
namespace NullTypes {
|
|
@@ -8926,21 +8931,21 @@ ${buildNullClass("AnyNull")}
|
|
|
8926
8931
|
|
|
8927
8932
|
/**
|
|
8928
8933
|
* Helper for filtering JSON entries that have \`null\` on the database (empty on the db)
|
|
8929
|
-
*
|
|
8934
|
+
*
|
|
8930
8935
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
8931
8936
|
*/
|
|
8932
8937
|
export const DbNull: NullTypes.DbNull
|
|
8933
8938
|
|
|
8934
8939
|
/**
|
|
8935
8940
|
* Helper for filtering JSON entries that have JSON \`null\` values (not empty on the db)
|
|
8936
|
-
*
|
|
8941
|
+
*
|
|
8937
8942
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
8938
8943
|
*/
|
|
8939
8944
|
export const JsonNull: NullTypes.JsonNull
|
|
8940
8945
|
|
|
8941
8946
|
/**
|
|
8942
8947
|
* Helper for filtering JSON entries that are \`Prisma.DbNull\` or \`Prisma.JsonNull\`
|
|
8943
|
-
*
|
|
8948
|
+
*
|
|
8944
8949
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
8945
8950
|
*/
|
|
8946
8951
|
export const AnyNull: NullTypes.AnyNull
|
|
@@ -9245,9 +9250,9 @@ type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRe
|
|
|
9245
9250
|
function buildNullClass(name) {
|
|
9246
9251
|
const source = `/**
|
|
9247
9252
|
* Type of \`Prisma.${name}\`.
|
|
9248
|
-
*
|
|
9253
|
+
*
|
|
9249
9254
|
* You cannot use other instances of this class. Please use the \`Prisma.${name}\` value.
|
|
9250
|
-
*
|
|
9255
|
+
*
|
|
9251
9256
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
9252
9257
|
*/
|
|
9253
9258
|
class ${name} {
|
|
@@ -11014,6 +11019,14 @@ function getNodeRuntimeName(engineType) {
|
|
|
11014
11019
|
if (engineType === "library" /* Library */) {
|
|
11015
11020
|
return "library";
|
|
11016
11021
|
}
|
|
11022
|
+
if (engineType === "client" /* Client */) {
|
|
11023
|
+
if (!process.env.PRISMA_UNSTABLE_CLIENT_ENGINE_TYPE) {
|
|
11024
|
+
throw new Error(
|
|
11025
|
+
'Unstable Feature: engineType="client" is in a proof of concept phase and not ready to be used publicly yet!'
|
|
11026
|
+
);
|
|
11027
|
+
}
|
|
11028
|
+
return "library";
|
|
11029
|
+
}
|
|
11017
11030
|
assertNever(engineType, "Unknown engine type");
|
|
11018
11031
|
}
|
|
11019
11032
|
async function copyRuntimeFiles({ from, to, runtimeName, sourceMaps }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client",
|
|
3
|
-
"version": "6.3.0-dev.
|
|
3
|
+
"version": "6.3.0-dev.18",
|
|
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",
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
"@prisma/debug": "workspace:*",
|
|
200
200
|
"@prisma/driver-adapter-utils": "workspace:*",
|
|
201
201
|
"@prisma/engines": "workspace:*",
|
|
202
|
-
"@prisma/engines-version": "6.3.0-
|
|
202
|
+
"@prisma/engines-version": "6.3.0-16.eb5bc5493ac383a8fe3c3e7fabfc93e4d44ca21e",
|
|
203
203
|
"@prisma/fetch-engine": "workspace:*",
|
|
204
204
|
"@prisma/generator-helper": "workspace:*",
|
|
205
205
|
"@prisma/get-platform": "workspace:*",
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
"@prisma/migrate": "workspace:*",
|
|
209
209
|
"@prisma/mini-proxy": "0.9.5",
|
|
210
210
|
"@prisma/pg-worker": "workspace:*",
|
|
211
|
-
"@prisma/query-engine-wasm": "6.3.0-
|
|
211
|
+
"@prisma/query-engine-wasm": "6.3.0-16.eb5bc5493ac383a8fe3c3e7fabfc93e4d44ca21e",
|
|
212
212
|
"@snaplet/copycat": "0.17.3",
|
|
213
213
|
"@swc-node/register": "1.10.9",
|
|
214
214
|
"@swc/core": "1.10.1",
|