Skip to content

Commit f905374

Browse files
committed
[CUB-5407] address feedback
1 parent 6daf4a6 commit f905374

File tree

6 files changed

+40
-0
lines changed

6 files changed

+40
-0
lines changed

dist/index.d.ts

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/workflow-step-template-schema.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/workflow-template-schema.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/schemata/definitions/step/command-handler.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ description: |
66
required: [do]
77
additionalProperties: false
88
properties:
9+
and:
10+
$ref: '#/definitions/script'
911
do:
1012
$ref: '#/definitions/workflow-template/actions'
13+
else:
14+
$ref: '#/definitions/workflow-template/actions'

src/workflow-step-template-schema.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3259,8 +3259,14 @@
32593259
],
32603260
"additionalProperties": false,
32613261
"properties": {
3262+
"and": {
3263+
"$ref": "#/definitions/script"
3264+
},
32623265
"do": {
32633266
"$ref": "#/definitions/workflow-template/actions"
3267+
},
3268+
"else": {
3269+
"$ref": "#/definitions/workflow-template/actions"
32643270
}
32653271
},
32663272
"markdownDescription": "A Command handler always consists of an [action](https://schema.laboperator.com/schemas/definitions/workflow-template/actions/).\n\n\nSee more: [Command Handler Schema](https://schema.laboperator.com/schemas/definitions/step/command-handler) "

src/workflow-template-schema.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,8 +1449,14 @@
14491449
],
14501450
"additionalProperties": false,
14511451
"properties": {
1452+
"and": {
1453+
"$ref": "#/definitions/script"
1454+
},
14521455
"do": {
14531456
"$ref": "#/definitions/workflow-template/actions"
1457+
},
1458+
"else": {
1459+
"$ref": "#/definitions/workflow-template/actions"
14541460
}
14551461
},
14561462
"markdownDescription": "A Command handler always consists of an [action](https://schema.laboperator.com/schemas/definitions/workflow-template/actions/).\n\n\nSee more: [Command Handler Schema](https://schema.laboperator.com/schemas/definitions/step/command-handler) "

0 commit comments

Comments
 (0)