외부호출 노드들
This commit is contained in:
@@ -19,6 +19,9 @@ import { AggregateProperties } from "./properties/AggregateProperties";
|
||||
import { RestAPISourceProperties } from "./properties/RestAPISourceProperties";
|
||||
import { CommentProperties } from "./properties/CommentProperties";
|
||||
import { LogProperties } from "./properties/LogProperties";
|
||||
import { EmailActionProperties } from "./properties/EmailActionProperties";
|
||||
import { ScriptActionProperties } from "./properties/ScriptActionProperties";
|
||||
import { HttpRequestActionProperties } from "./properties/HttpRequestActionProperties";
|
||||
import type { NodeType } from "@/types/node-editor";
|
||||
|
||||
export function PropertiesPanel() {
|
||||
@@ -131,6 +134,15 @@ function NodePropertiesRenderer({ node }: { node: any }) {
|
||||
case "log":
|
||||
return <LogProperties nodeId={node.id} data={node.data} />;
|
||||
|
||||
case "emailAction":
|
||||
return <EmailActionProperties nodeId={node.id} data={node.data} />;
|
||||
|
||||
case "scriptAction":
|
||||
return <ScriptActionProperties nodeId={node.id} data={node.data} />;
|
||||
|
||||
case "httpRequestAction":
|
||||
return <HttpRequestActionProperties nodeId={node.id} data={node.data} />;
|
||||
|
||||
default:
|
||||
return (
|
||||
<div className="p-4">
|
||||
@@ -165,6 +177,9 @@ function getNodeTypeLabel(type: NodeType): string {
|
||||
updateAction: "UPDATE 액션",
|
||||
deleteAction: "DELETE 액션",
|
||||
upsertAction: "UPSERT 액션",
|
||||
emailAction: "메일 발송",
|
||||
scriptAction: "스크립트 실행",
|
||||
httpRequestAction: "HTTP 요청",
|
||||
comment: "주석",
|
||||
log: "로그",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user