this repo has no description
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 h: 120,
13
14 statics: [],
15
16 inputs: [
17 {
18 name: "Flow",
19 type: NodeType.Flow,
20 },
21 {
22 name: "Command",
23 type: NodeType.String,
24 },
25 ],
26
27 outputs: [
28 {
29 name: "Flow",
30 type: NodeType.Flow,
31 },
32 {
33 name: "Output",
34 type: NodeType.String,
35 },
36 ],
37
38 onStaticsUpdate: async ( _node: Node ) => {}
39};