refactor(firmware): group layered source and verification (#878)

This commit is contained in:
ysopwnable
2026-10-07 14:44:52 +08:00
committed by GitHub
parent c371d6e1e9
commit 507e8b3c7b
24 changed files with 66 additions and 43 deletions
@@ -1,6 +1,6 @@
import { z } from "zod";
import { digestSchema } from "./digests.js";
import { jsonValueSchema } from "./jsonValue.js";
import { digestSchema } from "../digests.js";
import { jsonValueSchema } from "../jsonValue.js";
const bytes = z.number().int().min(0).max(Number.MAX_SAFE_INTEGER);
const range = z.strictObject({ offset: bytes, length: bytes.positive() });