Skip to content

Commit a61aeba

Browse files
committed
evaluation schema - convert scalar values to async values
1 parent eeac5f0 commit a61aeba

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jsonscript",
3-
"version": "0.1.3",
3+
"version": "0.2.0",
44
"description": "Platform independent asynchronous and concurrent scripting language using JSON format",
55
"main": "index.js",
66
"scripts": {

schema/evaluate.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,13 @@
294294
"$ref": "#"
295295
}
296296
}
297+
},
298+
{
299+
"then": {
300+
"title": "scalar values",
301+
"description": "convert scalar values to asynchronouse values",
302+
"valueToAsync": true
303+
}
297304
}
298305
]
299306
},

schema/evaluate.json.dot

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@
4343
"description": "queues items so that the next items is executed only after the previous asynchronous value receives data",
4444
"itemsSerial": { "$ref": "#" }
4545
}
46+
},
47+
{
48+
"then": {
49+
"title": "scalar values",
50+
"description": "convert scalar values to asynchronouse values",
51+
"valueToAsync": true
52+
}
4653
}
4754
]
4855
},

0 commit comments

Comments
 (0)