feat: execute route and release recovery contracts
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { ROUTE_RUNTIME_CONTRACT } from "../../../src/contracts/route-runtime-contract.js";
|
||||
|
||||
type RouteId = keyof typeof ROUTE_RUNTIME_CONTRACT;
|
||||
|
||||
export const missingRuntime = {
|
||||
APP_HOME: true,
|
||||
} satisfies Record<RouteId, boolean>;
|
||||
|
||||
export const orphanRuntime = {
|
||||
...Object.fromEntries(
|
||||
Object.keys(ROUTE_RUNTIME_CONTRACT).map((routeId) => [routeId, true]),
|
||||
),
|
||||
ORPHAN_ROUTE: true,
|
||||
} satisfies Record<RouteId, boolean>;
|
||||
Reference in New Issue
Block a user