Skip to content

Commit 9cf5fad

Browse files
authored
Merge pull request #1 from constructive-io/main
upgrade spec — add Digital Assets
2 parents eb43717 + dab2631 commit 9cf5fad

75 files changed

Lines changed: 1090 additions & 5255 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/evaluator/__fixtures__/core-definitions.d.ts

Lines changed: 0 additions & 72 deletions
This file was deleted.

packages/evaluator/__fixtures__/core-definitions.js

Lines changed: 0 additions & 218 deletions
This file was deleted.

packages/evaluator/__fixtures__/core-definitions.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ import type { NodeDefinitionWithImpl } from '../src/types';
1818
* - value: any (the extracted value)
1919
*/
2020
export 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
*/
7777
export 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
*/
106106
export 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
*/
153153
export 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
*/
199199
export 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' }

packages/evaluator/__fixtures__/math-definitions.d.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)