RouteShape

tcmts.cli.help.RouteShape · #2iuimtto · type

What tcm reads of a route definition: its description, parameters and child routes.

import type { ParamShape } from "#codebase/tcmts/cli/help";

export interface RouteShape {
  name: string;
  description?: string;
  phases: { model: { params: Record<string, ParamShape> }; routes: RouteShape[] }[];
}

uses

used by