export type SourceNodeCode = { /** * Code for constructing a dynamic / unstructured code node. When a source * node has __create__ defined, all other entries except __cleanup__ will be * ignored. */ __create__?: string; /** * Code for initializing structured code node. Ignored when __create__ is * present. */ __init__?: string; /** * Code for tearing down code node. (Mostly before recompilation.) */ __cleanup__?: string; } & { /** * Function bodies associated with each input port of code nodes with * structured code. */ [input: string]: string; };