interface Node { key: string outs: Record } interface Entry { name: string stages: Node["key"][] } interface Connection { nodeKey: Node["key"] weight: number } const DEFAULT_NODE = { applicationSubmittedNode: { key: "Application submitted", outs: {}, }, } as const export { DEFAULT_NODE } export type { Node, Entry, Connection }