Files
rea/src/cli/javascriptRouteDelivery.ts
T
morluto 5cf7133f82 refactor(javascript)!: consolidate renderer and route ownership
Remove the derived package renderer property from new application graphs. Use renderer_declarations for source fields and package loads edges for the selected candidate; previously retained Evidence remains readable.
2026-10-27 09:05:24 +08:00

20 lines
619 B
TypeScript

import { z } from "incur";
import { analysisEvidenceDeliveryOptions } from "./analysisEvidenceDelivery.js";
export const javascriptRouteDeliveryOptions = {
...analysisEvidenceDeliveryOptions,
view: z
.string()
.optional()
.describe(
"JSON javascript-routes view; requires --detail summary and --evidence_output",
),
};
export const webBundleDeliveryOptions = {
...javascriptRouteDeliveryOptions,
view: javascriptRouteDeliveryOptions.view.describe(
"JSON web-bundle (endpoints, inferences, summary) or javascript-routes view; requires --detail summary and --evidence_output",
),
};