Fixed errors

This commit is contained in:
Saifeddine ALOUI
2024-01-10 21:22:17 +01:00
parent 244744b645
commit c14208104b
23 changed files with 1700 additions and 47 deletions

View File

@ -0,0 +1,23 @@
import {
defineNode,
TextInputInterface,
NodeInterface
} from "baklavajs";
export const TaskDispatcherNode = defineNode({
type: "Task",
title: "Task",
description: {
},
inputs: {
description: () => new TextInputInterface("Description", ""),
},
outputs: {
result: () => new NodeInterface("Result")
},
calculate({ description }) {
return { result: description };
}
});