@toa.io/norm 1.0.0-alpha.32 → 1.0.0-alpha.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toa.io/norm",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.33",
|
|
4
4
|
"description": "Toa declarations normalization and validation",
|
|
5
5
|
"author": "temich <tema.gurtovoy@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/toa-io/toa#readme",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@toa.io/core": "1.0.0-alpha.
|
|
24
|
-
"@toa.io/generic": "1.0.0-alpha.
|
|
25
|
-
"@toa.io/schema": "1.0.0-alpha.
|
|
26
|
-
"@toa.io/schemas": "1.0.0-alpha.
|
|
27
|
-
"@toa.io/yaml": "1.0.0-alpha.
|
|
23
|
+
"@toa.io/core": "1.0.0-alpha.33",
|
|
24
|
+
"@toa.io/generic": "1.0.0-alpha.33",
|
|
25
|
+
"@toa.io/schema": "1.0.0-alpha.33",
|
|
26
|
+
"@toa.io/schemas": "1.0.0-alpha.33",
|
|
27
|
+
"@toa.io/yaml": "1.0.0-alpha.33"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "ef81cea49d8f8b3b248adaba62d4548bbeb39f80"
|
|
30
30
|
}
|
|
@@ -4,7 +4,7 @@ const operations = (component) => {
|
|
|
4
4
|
if (component.operations === undefined) return
|
|
5
5
|
|
|
6
6
|
for (const [endpoint, operation] of Object.entries(component.operations)) {
|
|
7
|
-
if (operation.
|
|
7
|
+
if (operation.scope === 'none')
|
|
8
8
|
operation.query = false
|
|
9
9
|
|
|
10
10
|
if (operation.bindings === undefined) operation.bindings = component.bindings
|
|
@@ -125,7 +125,7 @@ properties:
|
|
|
125
125
|
type:
|
|
126
126
|
enum: [transition, observation, assignment, computation, effect]
|
|
127
127
|
scope:
|
|
128
|
-
enum: [object, objects, changeset, none]
|
|
128
|
+
enum: [object, objects, changeset, stream, none]
|
|
129
129
|
concurrency:
|
|
130
130
|
enum: [none, retry]
|
|
131
131
|
forward:
|
|
@@ -174,7 +174,7 @@ properties:
|
|
|
174
174
|
then:
|
|
175
175
|
properties:
|
|
176
176
|
scope:
|
|
177
|
-
enum: [object, objects, none]
|
|
177
|
+
enum: [object, objects, stream, none]
|
|
178
178
|
query:
|
|
179
179
|
not:
|
|
180
180
|
const: false
|
|
@@ -205,11 +205,8 @@ properties:
|
|
|
205
205
|
then:
|
|
206
206
|
properties:
|
|
207
207
|
scope:
|
|
208
|
-
const: none
|
|
209
208
|
default: none
|
|
210
|
-
|
|
211
|
-
const: false
|
|
212
|
-
default: false
|
|
209
|
+
enum: [object, objects, stream, none]
|
|
213
210
|
additionalProperties: false
|
|
214
211
|
additionalProperties: false
|
|
215
212
|
|