import { SourceChildNodes } from "./SourceChildNodes"; import { SourceConnection } from "./SourceConnection"; export interface RootNode { /** Uniquely identifies node. */ id: string; /** Identifies node to user & is unique relative to module. */ name: string; /** User-provided description of the node. */ description: string; /** List of child nodes and their properties. */ childNodes: SourceChildNodes; /** Connections between child nodes. */ childConnections: Array; /** TODO: Should be in graph representation only. */ errors?: { [code: string]: true }; }