diff --git a/scripts/nodes/library/booleanLiteral.js b/scripts/nodes/library/booleanLiteral.js deleted file mode 100644 index 8e5d111..0000000 --- a/scripts/nodes/library/booleanLiteral.js +++ /dev/null @@ -1,26 +0,0 @@ -import { createNodeModule } from "../nodeTypes.js"; - -/** - * Constant boolean literal. - */ -export const booleanLiteralNode = createNodeModule( - { - id: "boolean_literal", - title: "Boolean", - category: "Values", - description: "Constant boolean literal.", - searchTags: ["boolean", "literal", "true", "false"], - inputs: [], - outputs: [ - { id: "value", name: "Value", direction: "output", kind: "boolean" }, - ], - properties: [ - { key: "value", label: "Value", type: "boolean", defaultValue: true }, - ], - }, - { - evaluateValue: ({ node, formatLiteral }) => { - return formatLiteral("boolean", node.properties.value ?? true); - }, - } -); diff --git a/scripts/nodes/library/colorLiteral.js b/scripts/nodes/library/colorLiteral.js deleted file mode 100644 index 3575399..0000000 --- a/scripts/nodes/library/colorLiteral.js +++ /dev/null @@ -1,26 +0,0 @@ -import { createNodeModule } from "../nodeTypes.js"; - -/** - * Constant color literal. - */ -export const colorLiteralNode = createNodeModule( - { - id: "color_literal", - title: "Color", - category: "Values", - description: "Constant color literal (0-15).", - searchTags: ["color", "literal", "constant", "value"], - inputs: [], - outputs: [ - { id: "value", name: "Value", direction: "output", kind: "color" }, - ], - properties: [ - { key: "value", label: "Color", type: "number", defaultValue: 7 }, - ], - }, - { - evaluateValue: ({ node, formatLiteral }) => { - return formatLiteral("number", node.properties.value ?? 7); - }, - } -); diff --git a/scripts/nodes/library/numberLiteral.js b/scripts/nodes/library/numberLiteral.js deleted file mode 100644 index a8a7b9b..0000000 --- a/scripts/nodes/library/numberLiteral.js +++ /dev/null @@ -1,26 +0,0 @@ -import { createNodeModule } from "../nodeTypes.js"; - -/** - * Constant numeric literal. - */ -export const numberLiteralNode = createNodeModule( - { - id: "number_literal", - title: "Number", - category: "Values", - description: "Constant numeric literal.", - searchTags: ["number", "literal", "constant", "value"], - inputs: [], - outputs: [ - { id: "value", name: "Value", direction: "output", kind: "number" }, - ], - properties: [ - { key: "value", label: "Number", type: "number", defaultValue: 0 }, - ], - }, - { - evaluateValue: ({ node, formatLiteral }) => { - return formatLiteral("number", node.properties.value ?? 0); - }, - } -); diff --git a/scripts/nodes/library/stringLiteral.js b/scripts/nodes/library/stringLiteral.js deleted file mode 100644 index 555df75..0000000 --- a/scripts/nodes/library/stringLiteral.js +++ /dev/null @@ -1,26 +0,0 @@ -import { createNodeModule } from "../nodeTypes.js"; - -/** - * Constant string literal. - */ -export const stringLiteralNode = createNodeModule( - { - id: "string_literal", - title: "String", - category: "Values", - description: "Constant string literal.", - searchTags: ["string", "literal", "text", "value"], - inputs: [], - outputs: [ - { id: "value", name: "Value", direction: "output", kind: "string" }, - ], - properties: [ - { key: "value", label: "Text", type: "string", defaultValue: "hello" }, - ], - }, - { - evaluateValue: ({ node, formatLiteral }) => { - return formatLiteral("string", node.properties.value ?? ""); - }, - } -);