@mdbase-dev/connect-protocol 0.1.0-beta.159 → 0.1.0-beta.161
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.
|
@@ -312,6 +312,10 @@ export declare const CONNECT_PROBLEM_CATALOG: {
|
|
|
312
312
|
readonly category: "authorization";
|
|
313
313
|
readonly recovery: "reauthorize";
|
|
314
314
|
};
|
|
315
|
+
readonly mutation_abandoned: {
|
|
316
|
+
readonly category: "conflict";
|
|
317
|
+
readonly recovery: "none";
|
|
318
|
+
};
|
|
315
319
|
readonly mutation_recovery_expired: {
|
|
316
320
|
readonly category: "compatibility";
|
|
317
321
|
readonly recovery: "none";
|
|
@@ -665,6 +669,10 @@ export interface ConnectProblemDetailsByCode {
|
|
|
665
669
|
"manifest_load_failed": undefined;
|
|
666
670
|
"manifest_required": undefined;
|
|
667
671
|
"missing_grant_key": undefined;
|
|
672
|
+
"mutation_abandoned": {
|
|
673
|
+
"request_id": string;
|
|
674
|
+
"application": string;
|
|
675
|
+
};
|
|
668
676
|
"mutation_recovery_expired": undefined;
|
|
669
677
|
"mutation_request_conflict": {
|
|
670
678
|
"request_id": string;
|
|
@@ -1202,6 +1210,12 @@ export interface ConnectProblemByCode {
|
|
|
1202
1210
|
recovery: "reauthorize";
|
|
1203
1211
|
details?: never;
|
|
1204
1212
|
};
|
|
1213
|
+
"mutation_abandoned": ConnectProblemBase & {
|
|
1214
|
+
code: "mutation_abandoned";
|
|
1215
|
+
category: "conflict";
|
|
1216
|
+
recovery: "none";
|
|
1217
|
+
details: ConnectProblemDetailsByCode["mutation_abandoned"];
|
|
1218
|
+
};
|
|
1205
1219
|
"mutation_recovery_expired": ConnectProblemBase & {
|
|
1206
1220
|
code: "mutation_recovery_expired";
|
|
1207
1221
|
category: "compatibility";
|
|
@@ -79,6 +79,7 @@ export const CONNECT_PROBLEM_CATALOG = {
|
|
|
79
79
|
"manifest_load_failed": { category: "availability", recovery: "retry" },
|
|
80
80
|
"manifest_required": { category: "validation", recovery: "fix_request" },
|
|
81
81
|
"missing_grant_key": { category: "authorization", recovery: "reauthorize" },
|
|
82
|
+
"mutation_abandoned": { category: "conflict", recovery: "none" },
|
|
82
83
|
"mutation_recovery_expired": { category: "compatibility", recovery: "none" },
|
|
83
84
|
"mutation_request_conflict": { category: "conflict", recovery: "resolve_conflict" },
|
|
84
85
|
"no_pending_mutation": { category: "conflict", recovery: "refresh" },
|
|
@@ -430,6 +431,21 @@ const CONNECT_PROBLEM_DETAIL_SCHEMAS = {
|
|
|
430
431
|
}
|
|
431
432
|
}
|
|
432
433
|
},
|
|
434
|
+
"mutation_abandoned": {
|
|
435
|
+
"type": "object",
|
|
436
|
+
"required": [
|
|
437
|
+
"request_id",
|
|
438
|
+
"application"
|
|
439
|
+
],
|
|
440
|
+
"properties": {
|
|
441
|
+
"request_id": {
|
|
442
|
+
"type": "string"
|
|
443
|
+
},
|
|
444
|
+
"application": {
|
|
445
|
+
"type": "string"
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
},
|
|
433
449
|
"mutation_request_conflict": {
|
|
434
450
|
"type": "object",
|
|
435
451
|
"required": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mdbase-dev/connect-protocol",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.161",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,6 +47,6 @@
|
|
|
47
47
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
48
48
|
},
|
|
49
49
|
"mdbaseRelease": {
|
|
50
|
-
"commit": "
|
|
50
|
+
"commit": "a87dd0a22e0d2b02e537c0d4e2d3ee8e39546fdd"
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -3448,6 +3448,63 @@
|
|
|
3448
3448
|
}
|
|
3449
3449
|
}
|
|
3450
3450
|
},
|
|
3451
|
+
{
|
|
3452
|
+
"type": "object",
|
|
3453
|
+
"additionalProperties": false,
|
|
3454
|
+
"required": [
|
|
3455
|
+
"problem_version",
|
|
3456
|
+
"code",
|
|
3457
|
+
"category",
|
|
3458
|
+
"recovery",
|
|
3459
|
+
"message",
|
|
3460
|
+
"details"
|
|
3461
|
+
],
|
|
3462
|
+
"properties": {
|
|
3463
|
+
"problem_version": {
|
|
3464
|
+
"const": 1
|
|
3465
|
+
},
|
|
3466
|
+
"code": {
|
|
3467
|
+
"const": "mutation_abandoned"
|
|
3468
|
+
},
|
|
3469
|
+
"category": {
|
|
3470
|
+
"const": "conflict"
|
|
3471
|
+
},
|
|
3472
|
+
"recovery": {
|
|
3473
|
+
"const": "none"
|
|
3474
|
+
},
|
|
3475
|
+
"message": {
|
|
3476
|
+
"type": "string",
|
|
3477
|
+
"minLength": 1
|
|
3478
|
+
},
|
|
3479
|
+
"operation_outcome": {
|
|
3480
|
+
"enum": [
|
|
3481
|
+
"not_sent",
|
|
3482
|
+
"rejected",
|
|
3483
|
+
"unknown"
|
|
3484
|
+
]
|
|
3485
|
+
},
|
|
3486
|
+
"trace_id": {
|
|
3487
|
+
"type": "string",
|
|
3488
|
+
"minLength": 1
|
|
3489
|
+
},
|
|
3490
|
+
"details": {
|
|
3491
|
+
"type": "object",
|
|
3492
|
+
"additionalProperties": false,
|
|
3493
|
+
"required": [
|
|
3494
|
+
"request_id",
|
|
3495
|
+
"application"
|
|
3496
|
+
],
|
|
3497
|
+
"properties": {
|
|
3498
|
+
"request_id": {
|
|
3499
|
+
"type": "string"
|
|
3500
|
+
},
|
|
3501
|
+
"application": {
|
|
3502
|
+
"type": "string"
|
|
3503
|
+
}
|
|
3504
|
+
}
|
|
3505
|
+
}
|
|
3506
|
+
}
|
|
3507
|
+
},
|
|
3451
3508
|
{
|
|
3452
3509
|
"type": "object",
|
|
3453
3510
|
"additionalProperties": false,
|
|
@@ -271,6 +271,17 @@
|
|
|
271
271
|
"manifest_load_failed": { "category": "availability", "recovery": "retry" },
|
|
272
272
|
"manifest_required": { "category": "validation", "recovery": "fix_request" },
|
|
273
273
|
"missing_grant_key": { "category": "authorization", "recovery": "reauthorize" },
|
|
274
|
+
"mutation_abandoned": {
|
|
275
|
+
"category": "conflict",
|
|
276
|
+
"recovery": "none",
|
|
277
|
+
"details": {
|
|
278
|
+
"required": ["request_id", "application"],
|
|
279
|
+
"properties": {
|
|
280
|
+
"request_id": { "type": "string" },
|
|
281
|
+
"application": { "type": "string" }
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
},
|
|
274
285
|
"mutation_recovery_expired": { "category": "compatibility", "recovery": "none" },
|
|
275
286
|
"mutation_request_conflict": {
|
|
276
287
|
"category": "conflict",
|