Add task block back into node library (#1319)
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
|||||||
DownloadIcon,
|
DownloadIcon,
|
||||||
EnvelopeClosedIcon,
|
EnvelopeClosedIcon,
|
||||||
FileIcon,
|
FileIcon,
|
||||||
|
ListBulletIcon,
|
||||||
LockOpen1Icon,
|
LockOpen1Icon,
|
||||||
PlusIcon,
|
PlusIcon,
|
||||||
StopwatchIcon,
|
StopwatchIcon,
|
||||||
@@ -48,6 +49,12 @@ const nodeLibraryItems: Array<{
|
|||||||
title: "Validation Block",
|
title: "Validation Block",
|
||||||
description: "Validate the state of the workflow or terminate",
|
description: "Validate the state of the workflow or terminate",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
nodeType: "task",
|
||||||
|
icon: <ListBulletIcon className="size-6" />,
|
||||||
|
title: "Task Block",
|
||||||
|
description: "Takes actions or extracts information",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
nodeType: "textPrompt",
|
nodeType: "textPrompt",
|
||||||
icon: <CursorTextIcon className="size-6" />,
|
icon: <CursorTextIcon className="size-6" />,
|
||||||
@@ -60,13 +67,6 @@ const nodeLibraryItems: Array<{
|
|||||||
title: "Send Email Block",
|
title: "Send Email Block",
|
||||||
description: "Sends an email",
|
description: "Sends an email",
|
||||||
},
|
},
|
||||||
// legacy
|
|
||||||
// {
|
|
||||||
// nodeType: "task",
|
|
||||||
// icon: <ListBulletIcon className="size-6" />,
|
|
||||||
// title: "Task Block",
|
|
||||||
// description: "Takes actions or extracts information",
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
nodeType: "loop",
|
nodeType: "loop",
|
||||||
icon: <UpdateIcon className="size-6" />,
|
icon: <UpdateIcon className="size-6" />,
|
||||||
|
|||||||
Reference in New Issue
Block a user