@@ -18,9 +18,9 @@ import type { NodeDefinitionWithImpl } from '../src/types';
1818 * - value: any (the extracted value)
1919 */
2020export const jsonSelectDef : NodeDefinitionWithImpl = {
21- context : 'core' ,
21+ context : 'js' ,
22+ name : 'select' ,
2223 category : 'json' ,
23- type : 'core/json/select' ,
2424 icon : 'circle' ,
2525 inputs : [
2626 { name : 'obj' , type : 'json' }
@@ -75,9 +75,9 @@ export const jsonSelectDef: NodeDefinitionWithImpl = {
7575 * - value: json (the constructed object)
7676 */
7777export const jsonObjectDef : NodeDefinitionWithImpl = {
78- context : 'core' ,
78+ context : 'js' ,
79+ name : 'object' ,
7980 category : 'json' ,
80- type : 'core/json/object' ,
8181 icon : 'braces' ,
8282 inputs : [ ] , // Dynamic inputs - any input name is valid
8383 outputs : [
@@ -104,9 +104,9 @@ export const jsonObjectDef: NodeDefinitionWithImpl = {
104104 * - error: json (the error if failed)
105105 */
106106export const flowGuardDef : NodeDefinitionWithImpl = {
107- context : 'core' ,
107+ context : 'js' ,
108+ name : 'guard' ,
108109 category : 'flow' ,
109- type : 'core/flow/guard' ,
110110 icon : 'zap' ,
111111 inputs : [
112112 { name : 'ok' , type : 'boolean' } ,
@@ -151,9 +151,9 @@ export const flowGuardDef: NodeDefinitionWithImpl = {
151151 * - value: string (the resulting string)
152152 */
153153export const stringTemplateDef : NodeDefinitionWithImpl = {
154- context : 'core' ,
154+ context : 'js' ,
155+ name : 'template' ,
155156 category : 'string' ,
156- type : 'core/string/template' ,
157157 icon : 'quote' ,
158158 inputs : [ ] , // Dynamic inputs based on template placeholders
159159 outputs : [
@@ -197,9 +197,9 @@ export const stringTemplateDef: NodeDefinitionWithImpl = {
197197 * - value: string (the resulting string)
198198 */
199199export const stringConcatDef : NodeDefinitionWithImpl = {
200- context : 'core' ,
200+ context : 'js' ,
201+ name : 'concat' ,
201202 category : 'string' ,
202- type : 'core/string/concat' ,
203203 icon : 'link' ,
204204 inputs : [
205205 { name : 'value' , type : 'string' }
0 commit comments