@budibase/server 1.0.140 → 1.0.141
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/builder/assets/{index.9e026a51.js → index.ac01847e.js} +1 -1
- package/builder/index.html +1 -1
- package/coverage/clover.xml +52 -47
- package/coverage/coverage-final.json +1 -1
- package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
- package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +1 -1
- package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +1 -1
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query/index.html +1 -1
- package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
- package/coverage/lcov-report/api/controllers/user.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
- package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
- package/coverage/lcov-report/api/index.html +1 -1
- package/coverage/lcov-report/api/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
- package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/routes/auth.js.html +1 -1
- package/coverage/lcov-report/api/routes/automation.js.html +1 -1
- package/coverage/lcov-report/api/routes/backup.js.html +1 -1
- package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
- package/coverage/lcov-report/api/routes/component.js.html +1 -1
- package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
- package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
- package/coverage/lcov-report/api/routes/dev.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +1 -1
- package/coverage/lcov-report/api/routes/integration.js.html +1 -1
- package/coverage/lcov-report/api/routes/layout.js.html +1 -1
- package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
- package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
- package/coverage/lcov-report/api/routes/permission.js.html +1 -1
- package/coverage/lcov-report/api/routes/query.js.html +1 -1
- package/coverage/lcov-report/api/routes/role.js.html +1 -1
- package/coverage/lcov-report/api/routes/routing.js.html +1 -1
- package/coverage/lcov-report/api/routes/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.js.html +1 -1
- package/coverage/lcov-report/api/routes/table.js.html +1 -1
- package/coverage/lcov-report/api/routes/templates.js.html +1 -1
- package/coverage/lcov-report/api/routes/user.js.html +1 -1
- package/coverage/lcov-report/api/routes/utils/index.html +1 -1
- package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
- package/coverage/lcov-report/api/routes/view.js.html +1 -1
- package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/actions.js.html +1 -1
- package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
- package/coverage/lcov-report/automations/bullboard.js.html +1 -1
- package/coverage/lcov-report/automations/index.html +1 -1
- package/coverage/lcov-report/automations/index.js.html +1 -1
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +1 -1
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
- package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/triggers.js.html +1 -1
- package/coverage/lcov-report/constants/index.html +1 -1
- package/coverage/lcov-report/constants/index.js.html +1 -1
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +1 -1
- package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
- package/coverage/lcov-report/db/index.html +1 -1
- package/coverage/lcov-report/db/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
- package/coverage/lcov-report/db/newid.js.html +1 -1
- package/coverage/lcov-report/db/utils.js.html +1 -1
- package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
- package/coverage/lcov-report/events/index.html +1 -1
- package/coverage/lcov-report/events/index.js.html +1 -1
- package/coverage/lcov-report/events/utils.js.html +1 -1
- package/coverage/lcov-report/index.html +19 -19
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
- package/coverage/lcov-report/middleware/builder.js.html +1 -1
- package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
- package/coverage/lcov-report/middleware/index.html +1 -1
- package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
- package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
- package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/utils.js.html +1 -1
- package/coverage/lcov-report/threads/automation.js.html +56 -14
- package/coverage/lcov-report/threads/index.html +19 -19
- package/coverage/lcov-report/threads/query.js.html +1 -1
- package/coverage/lcov-report/threads/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
- package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
- package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
- package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
- package/coverage/lcov-report/utilities/global.js.html +1 -1
- package/coverage/lcov-report/utilities/index.html +1 -1
- package/coverage/lcov-report/utilities/index.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
- package/coverage/lcov-report/utilities/security.js.html +1 -1
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
- package/coverage/lcov.info +79 -70
- package/dist/package.json +5 -5
- package/dist/threads/automation.js +14 -3
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/src/threads/automation.js +17 -3
|
@@ -280,7 +280,7 @@ exports.CURRENTLY_SUPPORTED_LEVELS = CURRENTLY_SUPPORTED_LEVELS
|
|
|
280
280
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
281
281
|
Code coverage generated by
|
|
282
282
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
283
|
-
at Wed May 04 2022
|
|
283
|
+
at Wed May 04 2022 13:13:50 GMT+0000 (Coordinated Universal Time)
|
|
284
284
|
</div>
|
|
285
285
|
<script src="../prettify.js"></script>
|
|
286
286
|
<script>
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
92
92
|
Code coverage generated by
|
|
93
93
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
94
|
-
at Wed May 04 2022
|
|
94
|
+
at Wed May 04 2022 13:13:50 GMT+0000 (Coordinated Universal Time)
|
|
95
95
|
</div>
|
|
96
96
|
<script src="../prettify.js"></script>
|
|
97
97
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at Wed May 04 2022
|
|
119
|
+
at Wed May 04 2022 13:13:50 GMT+0000 (Coordinated Universal Time)
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -307,7 +307,7 @@ exports.getUniqueRows = async appIds => {
|
|
|
307
307
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
308
308
|
Code coverage generated by
|
|
309
309
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
310
|
-
at Wed May 04 2022
|
|
310
|
+
at Wed May 04 2022 13:13:50 GMT+0000 (Coordinated Universal Time)
|
|
311
311
|
</div>
|
|
312
312
|
<script src="../../prettify.js"></script>
|
|
313
313
|
<script>
|
|
@@ -124,7 +124,7 @@ function <span class="fstat-no" title="function not covered" >resetQuotasIfRequi
|
|
|
124
124
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
125
125
|
Code coverage generated by
|
|
126
126
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
127
|
-
at Wed May 04 2022
|
|
127
|
+
at Wed May 04 2022 13:13:50 GMT+0000 (Coordinated Universal Time)
|
|
128
128
|
</div>
|
|
129
129
|
<script src="../../prettify.js"></script>
|
|
130
130
|
<script>
|
|
@@ -142,7 +142,7 @@ exports.getFullUser = async (ctx, userId) => {
|
|
|
142
142
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
143
143
|
Code coverage generated by
|
|
144
144
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
145
|
-
at Wed May 04 2022
|
|
145
|
+
at Wed May 04 2022 13:13:50 GMT+0000 (Coordinated Universal Time)
|
|
146
146
|
</div>
|
|
147
147
|
<script src="../prettify.js"></script>
|
|
148
148
|
<script>
|
|
@@ -487,7 +487,7 @@ exports.readGlobalUser = <span class="fstat-no" title="function not covered" >as
|
|
|
487
487
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
488
488
|
Code coverage generated by
|
|
489
489
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
490
|
-
at Wed May 04 2022
|
|
490
|
+
at Wed May 04 2022 13:13:50 GMT+0000 (Coordinated Universal Time)
|
|
491
491
|
</div>
|
|
492
492
|
<script src="../prettify.js"></script>
|
|
493
493
|
<script>
|
package/coverage/lcov.info
CHANGED
|
@@ -6532,10 +6532,11 @@ FN:63,(anonymous_3)
|
|
|
6532
6532
|
FN:72,(anonymous_4)
|
|
6533
6533
|
FN:81,(anonymous_5)
|
|
6534
6534
|
FN:99,(anonymous_6)
|
|
6535
|
-
FN:
|
|
6536
|
-
FN:
|
|
6537
|
-
FN:
|
|
6538
|
-
|
|
6535
|
+
FN:213,(anonymous_7)
|
|
6536
|
+
FN:249,(anonymous_8)
|
|
6537
|
+
FN:314,(anonymous_9)
|
|
6538
|
+
FN:316,(anonymous_10)
|
|
6539
|
+
FNF:11
|
|
6539
6540
|
FNH:9
|
|
6540
6541
|
FNDA:6,(anonymous_0)
|
|
6541
6542
|
FNDA:6,(anonymous_1)
|
|
@@ -6544,9 +6545,10 @@ FNDA:6,(anonymous_3)
|
|
|
6544
6545
|
FNDA:11,(anonymous_4)
|
|
6545
6546
|
FNDA:0,(anonymous_5)
|
|
6546
6547
|
FNDA:6,(anonymous_6)
|
|
6547
|
-
FNDA:
|
|
6548
|
-
FNDA:
|
|
6548
|
+
FNDA:0,(anonymous_7)
|
|
6549
|
+
FNDA:5,(anonymous_8)
|
|
6549
6550
|
FNDA:6,(anonymous_9)
|
|
6551
|
+
FNDA:6,(anonymous_10)
|
|
6550
6552
|
DA:1,3
|
|
6551
6553
|
DA:2,3
|
|
6552
6554
|
DA:3,3
|
|
@@ -6635,57 +6637,62 @@ DA:177,0
|
|
|
6635
6637
|
DA:178,0
|
|
6636
6638
|
DA:186,0
|
|
6637
6639
|
DA:187,0
|
|
6638
|
-
DA:
|
|
6639
|
-
DA:
|
|
6640
|
+
DA:194,0
|
|
6641
|
+
DA:198,0
|
|
6642
|
+
DA:202,0
|
|
6640
6643
|
DA:203,0
|
|
6641
6644
|
DA:204,0
|
|
6642
|
-
DA:
|
|
6645
|
+
DA:207,0
|
|
6643
6646
|
DA:208,0
|
|
6644
|
-
DA:
|
|
6645
|
-
DA:
|
|
6646
|
-
DA:
|
|
6647
|
-
DA:218,0
|
|
6648
|
-
DA:223,5
|
|
6649
|
-
DA:224,0
|
|
6647
|
+
DA:211,0
|
|
6648
|
+
DA:214,0
|
|
6649
|
+
DA:220,0
|
|
6650
6650
|
DA:225,0
|
|
6651
|
-
DA:
|
|
6652
|
-
DA:230,
|
|
6653
|
-
DA:231,
|
|
6654
|
-
DA:232,
|
|
6655
|
-
DA:
|
|
6656
|
-
DA:
|
|
6657
|
-
DA:
|
|
6651
|
+
DA:226,0
|
|
6652
|
+
DA:230,0
|
|
6653
|
+
DA:231,0
|
|
6654
|
+
DA:232,0
|
|
6655
|
+
DA:237,5
|
|
6656
|
+
DA:238,0
|
|
6657
|
+
DA:239,0
|
|
6658
6658
|
DA:243,5
|
|
6659
|
+
DA:244,5
|
|
6660
|
+
DA:245,5
|
|
6659
6661
|
DA:246,5
|
|
6660
|
-
DA:
|
|
6661
|
-
DA:
|
|
6662
|
-
DA:
|
|
6663
|
-
DA:254,5
|
|
6664
|
-
DA:255,0
|
|
6662
|
+
DA:248,5
|
|
6663
|
+
DA:249,5
|
|
6664
|
+
DA:250,5
|
|
6665
6665
|
DA:257,5
|
|
6666
|
-
DA:
|
|
6666
|
+
DA:260,5
|
|
6667
|
+
DA:261,0
|
|
6668
|
+
DA:262,0
|
|
6667
6669
|
DA:266,0
|
|
6668
6670
|
DA:268,5
|
|
6669
6671
|
DA:269,0
|
|
6670
|
-
DA:
|
|
6671
|
-
DA:271,0
|
|
6672
|
-
DA:272,0
|
|
6673
|
-
DA:273,0
|
|
6674
|
-
DA:278,5
|
|
6672
|
+
DA:271,5
|
|
6675
6673
|
DA:279,0
|
|
6674
|
+
DA:280,0
|
|
6675
|
+
DA:282,5
|
|
6676
|
+
DA:283,0
|
|
6676
6677
|
DA:284,0
|
|
6677
|
-
DA:
|
|
6678
|
-
DA:
|
|
6679
|
-
DA:
|
|
6680
|
-
DA:
|
|
6681
|
-
DA:
|
|
6682
|
-
DA:
|
|
6683
|
-
DA:
|
|
6684
|
-
DA:
|
|
6685
|
-
DA:
|
|
6686
|
-
DA:
|
|
6687
|
-
DA:
|
|
6688
|
-
|
|
6678
|
+
DA:285,0
|
|
6679
|
+
DA:286,0
|
|
6680
|
+
DA:287,0
|
|
6681
|
+
DA:292,5
|
|
6682
|
+
DA:293,0
|
|
6683
|
+
DA:298,0
|
|
6684
|
+
DA:305,0
|
|
6685
|
+
DA:306,0
|
|
6686
|
+
DA:310,6
|
|
6687
|
+
DA:314,3
|
|
6688
|
+
DA:315,6
|
|
6689
|
+
DA:316,6
|
|
6690
|
+
DA:317,6
|
|
6691
|
+
DA:321,6
|
|
6692
|
+
DA:322,6
|
|
6693
|
+
DA:323,6
|
|
6694
|
+
DA:325,0
|
|
6695
|
+
LF:143
|
|
6689
6696
|
LH:82
|
|
6690
6697
|
BRDA:26,0,0,0
|
|
6691
6698
|
BRDA:28,1,0,4
|
|
@@ -6724,33 +6731,35 @@ BRDA:177,16,0,0
|
|
|
6724
6731
|
BRDA:177,16,1,0
|
|
6725
6732
|
BRDA:186,17,0,0
|
|
6726
6733
|
BRDA:186,17,1,0
|
|
6727
|
-
BRDA:
|
|
6728
|
-
BRDA:
|
|
6729
|
-
BRDA:
|
|
6730
|
-
BRDA:
|
|
6734
|
+
BRDA:194,18,0,0
|
|
6735
|
+
BRDA:194,18,1,0
|
|
6736
|
+
BRDA:195,19,0,0
|
|
6737
|
+
BRDA:195,19,1,0
|
|
6731
6738
|
BRDA:208,20,0,0
|
|
6732
6739
|
BRDA:208,20,1,0
|
|
6733
|
-
BRDA:
|
|
6734
|
-
BRDA:
|
|
6735
|
-
BRDA:
|
|
6736
|
-
BRDA:
|
|
6737
|
-
BRDA:
|
|
6738
|
-
BRDA:
|
|
6739
|
-
BRDA:
|
|
6740
|
-
BRDA:
|
|
6741
|
-
BRDA:
|
|
6742
|
-
BRDA:
|
|
6743
|
-
BRDA:
|
|
6744
|
-
BRDA:
|
|
6745
|
-
BRDA:268,27,0,
|
|
6746
|
-
BRDA:268,27,1,
|
|
6747
|
-
BRDA:
|
|
6748
|
-
BRDA:
|
|
6749
|
-
BRDA:
|
|
6750
|
-
BRDA:
|
|
6751
|
-
BRDA:
|
|
6752
|
-
BRDA:
|
|
6753
|
-
|
|
6740
|
+
BRDA:225,21,0,0
|
|
6741
|
+
BRDA:225,21,1,0
|
|
6742
|
+
BRDA:237,22,0,0
|
|
6743
|
+
BRDA:237,22,1,5
|
|
6744
|
+
BRDA:248,23,0,5
|
|
6745
|
+
BRDA:248,23,1,0
|
|
6746
|
+
BRDA:260,24,0,0
|
|
6747
|
+
BRDA:260,24,1,5
|
|
6748
|
+
BRDA:260,25,0,5
|
|
6749
|
+
BRDA:260,25,1,0
|
|
6750
|
+
BRDA:268,26,0,0
|
|
6751
|
+
BRDA:268,26,1,5
|
|
6752
|
+
BRDA:268,27,0,5
|
|
6753
|
+
BRDA:268,27,1,0
|
|
6754
|
+
BRDA:282,28,0,0
|
|
6755
|
+
BRDA:282,28,1,5
|
|
6756
|
+
BRDA:284,29,0,0
|
|
6757
|
+
BRDA:284,29,1,0
|
|
6758
|
+
BRDA:292,30,0,0
|
|
6759
|
+
BRDA:292,30,1,5
|
|
6760
|
+
BRDA:292,31,0,5
|
|
6761
|
+
BRDA:292,31,1,5
|
|
6762
|
+
BRF:65
|
|
6754
6763
|
BRH:21
|
|
6755
6764
|
end_of_record
|
|
6756
6765
|
TN:
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/server",
|
|
3
3
|
"email": "hi@budibase.com",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.140",
|
|
5
5
|
"description": "Budibase Web Server",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
"license": "GPL-3.0",
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@apidevtools/swagger-parser": "^10.0.3",
|
|
71
|
-
"@budibase/backend-core": "^1.0.
|
|
72
|
-
"@budibase/client": "^1.0.
|
|
73
|
-
"@budibase/pro": "1.0.
|
|
74
|
-
"@budibase/string-templates": "^1.0.
|
|
71
|
+
"@budibase/backend-core": "^1.0.140",
|
|
72
|
+
"@budibase/client": "^1.0.140",
|
|
73
|
+
"@budibase/pro": "1.0.140",
|
|
74
|
+
"@budibase/string-templates": "^1.0.140",
|
|
75
75
|
"@bull-board/api": "^3.7.0",
|
|
76
76
|
"@bull-board/koa": "^3.7.0",
|
|
77
77
|
"@elastic/elasticsearch": "7.10.0",
|
|
@@ -95,7 +95,7 @@ class Orchestrator {
|
|
|
95
95
|
this._context.steps.splice(loopStepNumber, 0, Object.assign(Object.assign({}, output), { success: result.success, status: result.status }));
|
|
96
96
|
}
|
|
97
97
|
execute() {
|
|
98
|
-
var _a;
|
|
98
|
+
var _a, _b;
|
|
99
99
|
return __awaiter(this, void 0, void 0, function* () {
|
|
100
100
|
let automation = this._automation;
|
|
101
101
|
const app = yield this.getApp();
|
|
@@ -178,8 +178,19 @@ class Orchestrator {
|
|
|
178
178
|
loopStep = null;
|
|
179
179
|
break;
|
|
180
180
|
}
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
let isFailure = false;
|
|
182
|
+
if (typeof ((_a = this._context.steps[loopStepNumber]) === null || _a === void 0 ? void 0 : _a.currentItem) === "object") {
|
|
183
|
+
isFailure = Object.keys(this._context.steps[loopStepNumber].currentItem).some(value => {
|
|
184
|
+
return (this._context.steps[loopStepNumber].currentItem[value] ===
|
|
185
|
+
loopStep.inputs.failure);
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
isFailure =
|
|
190
|
+
((_b = this._context.steps[loopStepNumber]) === null || _b === void 0 ? void 0 : _b.currentItem) ===
|
|
191
|
+
loopStep.inputs.failure;
|
|
192
|
+
}
|
|
193
|
+
if (isFailure) {
|
|
183
194
|
this.updateContextAndOutput(loopStepNumber, step, tempOutput, {
|
|
184
195
|
status: AutomationErrors.FAILURE_CONDITION,
|
|
185
196
|
success: false,
|