@prisma/query-plan-executor 7.5.0-dev.29 → 7.5.0-dev.30
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.d.ts +6 -6
- package/dist/index.js +3 -3
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -3333,14 +3333,14 @@ declare type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) e
|
|
|
3333
3333
|
declare type UnofficialStatusCode = -1;
|
|
3334
3334
|
|
|
3335
3335
|
declare type ValidationError = {
|
|
3336
|
-
|
|
3336
|
+
errorIdentifier: 'RELATION_VIOLATION';
|
|
3337
3337
|
context: {
|
|
3338
3338
|
relation: string;
|
|
3339
3339
|
modelA: string;
|
|
3340
3340
|
modelB: string;
|
|
3341
3341
|
};
|
|
3342
3342
|
} | {
|
|
3343
|
-
|
|
3343
|
+
errorIdentifier: 'MISSING_RELATED_RECORD';
|
|
3344
3344
|
context: {
|
|
3345
3345
|
model: string;
|
|
3346
3346
|
relation: string;
|
|
@@ -3349,24 +3349,24 @@ declare type ValidationError = {
|
|
|
3349
3349
|
neededFor?: string;
|
|
3350
3350
|
};
|
|
3351
3351
|
} | {
|
|
3352
|
-
|
|
3352
|
+
errorIdentifier: 'MISSING_RECORD';
|
|
3353
3353
|
context: {
|
|
3354
3354
|
operation: string;
|
|
3355
3355
|
};
|
|
3356
3356
|
} | {
|
|
3357
|
-
|
|
3357
|
+
errorIdentifier: 'INCOMPLETE_CONNECT_INPUT';
|
|
3358
3358
|
context: {
|
|
3359
3359
|
expectedRows: number;
|
|
3360
3360
|
};
|
|
3361
3361
|
} | {
|
|
3362
|
-
|
|
3362
|
+
errorIdentifier: 'INCOMPLETE_CONNECT_OUTPUT';
|
|
3363
3363
|
context: {
|
|
3364
3364
|
expectedRows: number;
|
|
3365
3365
|
relation: string;
|
|
3366
3366
|
relationType: string;
|
|
3367
3367
|
};
|
|
3368
3368
|
} | {
|
|
3369
|
-
|
|
3369
|
+
errorIdentifier: 'RECORDS_NOT_CONNECTED';
|
|
3370
3370
|
context: {
|
|
3371
3371
|
relation: string;
|
|
3372
3372
|
parent: string;
|
package/dist/index.js
CHANGED
|
@@ -101325,7 +101325,7 @@ __export(index_exports, {
|
|
|
101325
101325
|
module.exports = __toCommonJS(index_exports);
|
|
101326
101326
|
|
|
101327
101327
|
// package.json
|
|
101328
|
-
var version = "7.5.0-dev.
|
|
101328
|
+
var version = "7.5.0-dev.30";
|
|
101329
101329
|
|
|
101330
101330
|
// ../../node_modules/.pnpm/temporal-polyfill@0.3.0/node_modules/temporal-polyfill/chunks/internal.js
|
|
101331
101331
|
function clampProp(e2, n2, t2, o2, r2) {
|
|
@@ -110947,7 +110947,7 @@ function doesSatisfyRule(data, rule) {
|
|
|
110947
110947
|
}
|
|
110948
110948
|
}
|
|
110949
110949
|
function renderMessage(data, error44) {
|
|
110950
|
-
switch (error44.
|
|
110950
|
+
switch (error44.errorIdentifier) {
|
|
110951
110951
|
case "RELATION_VIOLATION":
|
|
110952
110952
|
return `The change you are trying to make would violate the required relation '${error44.context.relation}' between the \`${error44.context.modelA}\` and \`${error44.context.modelB}\` models.`;
|
|
110953
110953
|
case "MISSING_RECORD":
|
|
@@ -110967,7 +110967,7 @@ function renderMessage(data, error44) {
|
|
|
110967
110967
|
}
|
|
110968
110968
|
}
|
|
110969
110969
|
function getErrorCode2(error44) {
|
|
110970
|
-
switch (error44.
|
|
110970
|
+
switch (error44.errorIdentifier) {
|
|
110971
110971
|
case "RELATION_VIOLATION":
|
|
110972
110972
|
return "P2014";
|
|
110973
110973
|
case "RECORDS_NOT_CONNECTED":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/query-plan-executor",
|
|
3
|
-
"version": "7.5.0-dev.
|
|
3
|
+
"version": "7.5.0-dev.30",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"hono": "4.11.7",
|
|
20
20
|
"temporal-polyfill": "0.3.0",
|
|
21
21
|
"zod": "4.1.3",
|
|
22
|
-
"@prisma/adapter-
|
|
23
|
-
"@prisma/adapter-
|
|
24
|
-
"@prisma/
|
|
25
|
-
"@prisma/adapter-pg": "7.5.0-dev.
|
|
26
|
-
"@prisma/
|
|
22
|
+
"@prisma/adapter-mariadb": "7.5.0-dev.30",
|
|
23
|
+
"@prisma/adapter-mssql": "7.5.0-dev.30",
|
|
24
|
+
"@prisma/driver-adapter-utils": "7.5.0-dev.30",
|
|
25
|
+
"@prisma/adapter-pg": "7.5.0-dev.30",
|
|
26
|
+
"@prisma/client-engine-runtime": "7.5.0-dev.30"
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
|
29
29
|
"dist"
|