mirror of
https://github.com/morluto/rea
synced 2026-10-27 14:42:18 -04:00
fix(reference): require exact optional JSON diagnostics at the source schema
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { jsonObjectSchema } from "../../domain/jsonValue.js";
|
||||
import type { JsonValue } from "../../domain/jsonValue.js";
|
||||
import { createEvidence } from "../../domain/evidence.js";
|
||||
import {
|
||||
readRuntimeReconciliationInput,
|
||||
@@ -73,7 +73,7 @@ export const JAVASCRIPT_APPLICATION_VERSION_COMPARISON_EXAMPLE = {
|
||||
};
|
||||
|
||||
/** Historical source inventory compared with inline application Evidence. */
|
||||
export const SOURCE_TO_BUNDLE_COMPARISON_EXAMPLE = jsonObjectSchema.parse({
|
||||
export const SOURCE_TO_BUNDLE_COMPARISON_EXAMPLE = {
|
||||
reference: createHistoricalSourceGraph({
|
||||
schema: "HistoricalSourceGraph",
|
||||
authority: "historical-reference",
|
||||
@@ -112,4 +112,4 @@ export const SOURCE_TO_BUNDLE_COMPARISON_EXAMPLE = jsonObjectSchema.parse({
|
||||
limitations: [],
|
||||
}),
|
||||
application: JAVASCRIPT_APPLICATION_EVIDENCE_EXAMPLE,
|
||||
});
|
||||
} satisfies Readonly<Record<string, JsonValue>>;
|
||||
|
||||
Reference in New Issue
Block a user