Skip to main content
Version: 1.x

CompiledCommandRoute

CompiledCommandRoute​

Executable command route produced from the internal tree.

Signature
interface CompiledCommandRoute {
id: string;
key: string;
kind: Exclude<CommandTreeNodeKind, 'root' | 'group'>;
token: string;
route: string[];
category: string | null;
definitionPath: string;
relativePath: string;
nodeId: string;
middlewares: string[];
}

id​

property
string

key​

property
string

kind​

property
Exclude<CommandTreeNodeKind, 'root' | 'group'>

token​

property
string

route​

property
string[]

category​

property
string | null

definitionPath​

property
string

relativePath​

property
string

nodeId​

property
string

middlewares​

property
string[]