mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 11:43:20 +00:00
refactor(coverage): give the complete/partial/unknown status one owner and ratchet local completeness enums (#11134)
* refactor(coverage): give the complete/partial/unknown status one owner and ratchet local completeness enums * fix(verify): count chained local completeness enums and exclude detail levels * fix(javascript): keep source-to-bundle coverage unknown when an input's coverage is unknown (#11162)
This commit is contained in:
1 parent
e22569f996
commit
1c90a0fcdb
21 files changed
+242
-33
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { coverageStatusSchema } from "../coverage.js";
|
||||
import { javascriptSourceRangeSchema } from "./javascriptSourceCoordinates.js";
|
||||
import { digestCanonicalValue } from "../canonicalDigest.js";
|
||||
import { z } from "zod";
|
||||
@@ -102,7 +103,7 @@ const inventoryShape = z.strictObject({
|
||||
unknowns: z.array(javaScriptRouteGapSchema),
|
||||
coverage: z.strictObject({
|
||||
scope: z.literal("provided-code-sources"),
|
||||
source_parsing: z.enum(["complete", "partial", "unknown"]),
|
||||
source_parsing: coverageStatusSchema,
|
||||
candidate_enumeration: z.enum(["complete", "partial"]),
|
||||
application_routes: z.literal("unknown"),
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user