CommandTreeNode
CommandTreeNode
Internal tree node representing either a filesystem command or a hierarchical container.
Signature
interface CommandTreeNode {
id: string;
source: CommandTreeNodeSource;
kind: CommandTreeNodeKind;
token: string;
route: string[];
category: string | null;
parentId: string | null;
childIds: string[];
directoryPath: string;
definitionPath: string | null;
relativePath: string;
shorthand: boolean;
executable: boolean;
}
id
property
stringsource
property
kind
property
token
property
stringroute
property
string[]category
property
string | nullparentId
property
string | nullchildIds
property
string[]directoryPath
property
stringdefinitionPath
property
string | nullrelativePath
property
stringshorthand
property
booleanexecutable
property
boolean