this repo has no description
at main 587 B view raw
1import { Node, NodeType } from "../structs/node"; 2import { NodeDefinition } from "./Nodes"; 3 4export let NodeShellCommand: NodeDefinition = { 5 os: 'any', 6 7 isSingle: true, 8 name: 'Shell Command', 9 typeId: 'shellcommand', 10 11 w: 200, 12 13 statics: [], 14 15 inputs: [ 16 { 17 name: "Flow", 18 type: NodeType.Flow, 19 }, 20 { 21 name: "Command", 22 type: NodeType.String, 23 }, 24 ], 25 26 outputs: [ 27 { 28 name: "Flow", 29 type: NodeType.Flow, 30 }, 31 { 32 name: "Output", 33 type: NodeType.String, 34 }, 35 ], 36 37 onStaticsUpdate: async ( _node: Node ) => {} 38};