spec-controller 0.1.232 → 0.1.233
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/cli.js +5 -3
- package/dist/spec-reconciliation.schema.json +11 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -11656,7 +11656,7 @@ function evidenceObligationsOf(evidenceObligations2) {
|
|
|
11656
11656
|
return evidenceObligations2.filter((obligation) => !obligation.pending);
|
|
11657
11657
|
}
|
|
11658
11658
|
function pendingItemsOf(scenario) {
|
|
11659
|
-
return scenario.evidenceObligations.filter((obligation) => obligation.pending).map((obligation) => ({ qualityCheckKind: obligation.qualityCheckKind }));
|
|
11659
|
+
return scenario.evidenceObligations.filter((obligation) => obligation.pending).map((obligation) => ({ qualityCheckKind: obligation.qualityCheckKind ?? null }));
|
|
11660
11660
|
}
|
|
11661
11661
|
function evidenceOfRunResult(result) {
|
|
11662
11662
|
if (result === "inconclusive")
|
|
@@ -32108,7 +32108,8 @@ function resultOf(o) {
|
|
|
32108
32108
|
return o.status === void 0 ? "" : ` \u2014 ${coreMessage(RESULT_MESSAGE[o.status])}`;
|
|
32109
32109
|
}
|
|
32110
32110
|
function renderPendingItem(item) {
|
|
32111
|
-
|
|
32111
|
+
const kind = item.qualityCheckKind;
|
|
32112
|
+
return kind === void 0 || kind === null ? coreMessage(CoreMessage.PendingItem) : coreMessage(CoreMessage.PendingItemFor, { qualityCheckKind: kind });
|
|
32112
32113
|
}
|
|
32113
32114
|
function renderFileGroup(group) {
|
|
32114
32115
|
const remarks = group.remarks.flatMap((remark) => remarkHeadlineOf(remark, reportedName) ?? []);
|
|
@@ -32943,7 +32944,8 @@ var init_inputShapes = __esm({
|
|
|
32943
32944
|
fields: {
|
|
32944
32945
|
qualityCheckReconciliations: {
|
|
32945
32946
|
list: { fields: { evidenceObligation: { fields: { qualityCheckKind: "anything" }, required: ["qualityCheckKind"] } } }
|
|
32946
|
-
}
|
|
32947
|
+
},
|
|
32948
|
+
pendingItems: { list: { fields: { qualityCheckKind: "anything" }, required: ["qualityCheckKind"] } }
|
|
32947
32949
|
}
|
|
32948
32950
|
}
|
|
32949
32951
|
},
|
|
@@ -1092,9 +1092,19 @@
|
|
|
1092
1092
|
"type": "object",
|
|
1093
1093
|
"properties": {
|
|
1094
1094
|
"qualityCheckKind": {
|
|
1095
|
-
"
|
|
1095
|
+
"anyOf": [
|
|
1096
|
+
{
|
|
1097
|
+
"$ref": "#/definitions/QualityCheckKind"
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"type": "null"
|
|
1101
|
+
}
|
|
1102
|
+
]
|
|
1096
1103
|
}
|
|
1097
1104
|
},
|
|
1105
|
+
"required": [
|
|
1106
|
+
"qualityCheckKind"
|
|
1107
|
+
],
|
|
1098
1108
|
"additionalProperties": false
|
|
1099
1109
|
}
|
|
1100
1110
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spec-controller",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.233",
|
|
4
4
|
"description": "Reconcile the behaviour your scenarios name against the evidence that actually ran — the deterministic `balance` CLI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"reconciliation",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"fast-xml-parser": "^5.11.2",
|
|
27
27
|
"ts-json-schema-generator": "^2.9.0",
|
|
28
28
|
"yaml": "^2.9.0",
|
|
29
|
-
"@3f-consulting/spec-controller-core": "0.1.
|
|
29
|
+
"@3f-consulting/spec-controller-core": "0.1.233"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|