refactor(domain): name the managed metadata status and complete-or-unknown coverage once (#11459)

This commit is contained in:
morluto authored and GitHub committed 2026-11-16 04:41:46 +08:00
1 parent d068f164d3
commit ab65a96643
9 files changed
+35 -16

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
import { completeOrUnknownCoverageSchema } from "../coverage.js";
import { binaryMetadataArchitecture } from "../binaryMetadataArchitecture.js";
import { metadataReportSubjectFormat } from "../apple/machoTargetSelection.js";
import { z } from "zod";
@@ -57,7 +58,7 @@ export const rustBinarySummarySchema = z.strictObject({
export const rustBinaryViewContextSchema = z.strictObject({
source_coverage: z.strictObject({
auditable_metadata_available: z.boolean(),
embedded_records: z.enum(["complete", "unknown"]),
embedded_records: completeOrUnknownCoverageSchema,
runtime_dependencies: z.literal("unknown"),
}),
});