Interface: LiveRoute
Defined in: packages/core/src/compatibility.types.ts:18
One live route, ready for checkCompatibility: a pointer and whatever the store returned for
its hash. Build one per pointer in the manifest.
Example
import type { LiveRoute } from "@nubbin/core";
const live: LiveRoute[] = await Promise.all(
routes.map(async (pointer) => ({ pointer, artifact: await store.read(pointer.hash) })),
);
Properties
artifact
artifact:
Artifact|null
Defined in: packages/core/src/compatibility.types.ts:26
What store.read(pointer.hash) returned. Pass the null through rather than skipping the
route: an unresolvable hash is reported as its own kind of breakage.
pointer
pointer:
RoutePointer
Defined in: packages/core/src/compatibility.types.ts:20
The pointer as the store holds it — route and hash name the failure in the report.