Skip to main content

@lcap/nasl-unified-frontend-generator > RouteIR

RouteIR type

Signature:

type RouteIR = {
accumulativePath: string;
thisLevelPath: string;
elementMangledName?: string;
elementTemplate: ComponentIR;
children?: RouteIR[];
authConfig?: AuthConfig;
kind: 'normal';
lazy?: boolean;
} | {
accumulativePath: string;
thisLevelPath: string;
redirect: string;
kind: 'redirect';
};

References: ComponentIR, RouteIR