MCPcopy
hub / github.com/redpanda-data/console / FullscreenRouteNode

Interface FullscreenRouteNode

frontend/src/utils/fullscreen-routes.ts:36–41  ·  view source on GitHub ↗

* The slice of a TanStack route node this module reads. A built route exposes * `path`/`staticData` under `options`; a raw route definition exposes them at * the top level — we tolerate both. `children` is keyed by generated route name.

Source from the content-addressed store, hash-verified

34 * the top level — we tolerate both. `children` is keyed by generated route name.
35 */
36interface FullscreenRouteNode {
37 path?: string;
38 staticData?: StaticData;
39 options?: { path?: string; staticData?: StaticData };
40 children?: { [routeName: string]: FullscreenRouteNode };
41}
42
43const isRouteNode = (value: unknown): value is FullscreenRouteNode => typeof value === 'object' && value !== null;
44

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…