Skip to content

Commit 5824e37

Browse files
committed
update: improve execution context
1 parent a46a52c commit 5824e37

File tree

47 files changed

+609
-514
lines changed

Some content is hidden

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

47 files changed

+609
-514
lines changed

dist/js/schema/job.json

Lines changed: 52 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,6 @@
220220
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
221221
"type": "boolean"
222222
},
223-
"context": {
224-
"type": "object"
225-
},
226223
"subtype": {
227224
"enum": [
228225
"input",
@@ -544,9 +541,6 @@
544541
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
545542
"type": "boolean"
546543
},
547-
"context": {
548-
"type": "object"
549-
},
550544
"mapFlowchartId": {
551545
"description": "corresponding map unit flowchart ID",
552546
"type": "string"
@@ -756,9 +750,6 @@
756750
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
757751
"type": "boolean"
758752
},
759-
"context": {
760-
"type": "object"
761-
},
762753
"input": {
763754
"description": "Input information for condition.",
764755
"type": "array",
@@ -979,9 +970,6 @@
979970
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
980971
"type": "boolean"
981972
},
982-
"context": {
983-
"type": "object"
984-
},
985973
"statement": {
986974
"type": "string",
987975
"description": "The statement to be evaluated"
@@ -1168,9 +1156,6 @@
11681156
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
11691157
"type": "boolean"
11701158
},
1171-
"context": {
1172-
"type": "object"
1173-
},
11741159
"application": {
11751160
"$schema": "http://json-schema.org/draft-07/schema#",
11761161
"title": "application schema (base)",
@@ -1597,6 +1582,32 @@
15971582
}
15981583
}
15991584
}
1585+
},
1586+
"context": {
1587+
"type": "array",
1588+
"items": {
1589+
"type": "object",
1590+
"required": [
1591+
"name",
1592+
"isEdited",
1593+
"data"
1594+
],
1595+
"properties": {
1596+
"name": {
1597+
"type": "string",
1598+
"tsType": "ContextProviderNameEnum"
1599+
},
1600+
"isEdited": {
1601+
"type": "boolean"
1602+
},
1603+
"data": {
1604+
"type": "object"
1605+
},
1606+
"extraData": {
1607+
"type": "object"
1608+
}
1609+
}
1610+
}
16001611
}
16011612
}
16021613
},
@@ -1776,9 +1787,6 @@
17761787
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
17771788
"type": "boolean"
17781789
},
1779-
"context": {
1780-
"type": "object"
1781-
},
17821790
"scope": {
17831791
"type": "string"
17841792
},
@@ -2002,9 +2010,6 @@
20022010
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
20032011
"type": "boolean"
20042012
},
2005-
"context": {
2006-
"type": "object"
2007-
},
20082013
"operation": {
20092014
"description": "Contains information about the operation used.",
20102015
"type": "string"
@@ -2524,9 +2529,6 @@
25242529
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
25252530
"type": "boolean"
25262531
},
2527-
"context": {
2528-
"type": "object"
2529-
},
25302532
"subtype": {
25312533
"enum": [
25322534
"input",
@@ -2848,9 +2850,6 @@
28482850
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
28492851
"type": "boolean"
28502852
},
2851-
"context": {
2852-
"type": "object"
2853-
},
28542853
"mapFlowchartId": {
28552854
"description": "corresponding map unit flowchart ID",
28562855
"type": "string"
@@ -3060,9 +3059,6 @@
30603059
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
30613060
"type": "boolean"
30623061
},
3063-
"context": {
3064-
"type": "object"
3065-
},
30663062
"input": {
30673063
"description": "Input information for condition.",
30683064
"type": "array",
@@ -3283,9 +3279,6 @@
32833279
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
32843280
"type": "boolean"
32853281
},
3286-
"context": {
3287-
"type": "object"
3288-
},
32893282
"statement": {
32903283
"type": "string",
32913284
"description": "The statement to be evaluated"
@@ -3472,9 +3465,6 @@
34723465
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
34733466
"type": "boolean"
34743467
},
3475-
"context": {
3476-
"type": "object"
3477-
},
34783468
"application": {
34793469
"$schema": "http://json-schema.org/draft-07/schema#",
34803470
"title": "application schema (base)",
@@ -3901,6 +3891,32 @@
39013891
}
39023892
}
39033893
}
3894+
},
3895+
"context": {
3896+
"type": "array",
3897+
"items": {
3898+
"type": "object",
3899+
"required": [
3900+
"name",
3901+
"isEdited",
3902+
"data"
3903+
],
3904+
"properties": {
3905+
"name": {
3906+
"type": "string",
3907+
"tsType": "ContextProviderNameEnum"
3908+
},
3909+
"isEdited": {
3910+
"type": "boolean"
3911+
},
3912+
"data": {
3913+
"type": "object"
3914+
},
3915+
"extraData": {
3916+
"type": "object"
3917+
}
3918+
}
3919+
}
39043920
}
39053921
}
39063922
},
@@ -4080,9 +4096,6 @@
40804096
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
40814097
"type": "boolean"
40824098
},
4083-
"context": {
4084-
"type": "object"
4085-
},
40864099
"scope": {
40874100
"type": "string"
40884101
},
@@ -4306,9 +4319,6 @@
43064319
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
43074320
"type": "boolean"
43084321
},
4309-
"context": {
4310-
"type": "object"
4311-
},
43124322
"operation": {
43134323
"description": "Contains information about the operation used.",
43144324
"type": "string"
@@ -4498,9 +4508,6 @@
44984508
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
44994509
"type": "boolean"
45004510
},
4501-
"context": {
4502-
"type": "object"
4503-
},
45044511
"workflowId": {
45054512
"description": "Id of workflow to run inside map",
45064513
"type": "string"
@@ -4721,9 +4728,6 @@
47214728
"enableRender": {
47224729
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
47234730
"type": "boolean"
4724-
},
4725-
"context": {
4726-
"type": "object"
47274731
}
47284732
}
47294733
}

0 commit comments

Comments
 (0)