@budibase/server 1.3.13 → 1.3.15

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.
Files changed (189) hide show
  1. package/builder/assets/{index.fb22f106.js → index.3953692d.js} +166 -165
  2. package/builder/assets/{index.e50bda9f.css → index.a70e216a.css} +1 -1
  3. package/builder/index.html +2 -2
  4. package/coverage/clover.xml +90 -68
  5. package/coverage/coverage-final.json +7 -7
  6. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  7. package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/backup.js.html +8 -5
  10. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/component.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/index.html +7 -7
  15. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  21. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  23. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  24. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  25. package/coverage/lcov-report/api/controllers/row/index.html +1 -1
  26. package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
  33. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  35. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  39. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  40. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  42. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  43. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  44. package/coverage/lcov-report/api/index.html +1 -1
  45. package/coverage/lcov-report/api/index.js.html +1 -1
  46. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  47. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  48. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/index.html +1 -1
  57. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/utils/index.html +1 -1
  71. package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  74. package/coverage/lcov-report/automations/actions.js.html +1 -1
  75. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  76. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  77. package/coverage/lcov-report/automations/index.html +24 -24
  78. package/coverage/lcov-report/automations/index.js.html +18 -9
  79. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  80. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  81. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  82. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  83. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/index.html +1 -1
  86. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  95. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  96. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  97. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  98. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  99. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  100. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  101. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  102. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  103. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  104. package/coverage/lcov-report/automations/triggers.js.html +126 -24
  105. package/coverage/lcov-report/constants/index.html +1 -1
  106. package/coverage/lcov-report/constants/index.js.html +1 -1
  107. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  108. package/coverage/lcov-report/constants/screens.js.html +1 -1
  109. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  110. package/coverage/lcov-report/db/index.html +1 -1
  111. package/coverage/lcov-report/db/index.js.html +1 -1
  112. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  113. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  114. package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
  115. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  116. package/coverage/lcov-report/db/newid.js.html +1 -1
  117. package/coverage/lcov-report/db/utils.js.html +5 -5
  118. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  119. package/coverage/lcov-report/events/index.html +1 -1
  120. package/coverage/lcov-report/events/index.js.html +1 -1
  121. package/coverage/lcov-report/events/utils.js.html +1 -1
  122. package/coverage/lcov-report/index.html +34 -34
  123. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  124. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  125. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  126. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  127. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  128. package/coverage/lcov-report/middleware/index.html +1 -1
  129. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  130. package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
  131. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  132. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  133. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  134. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  135. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  136. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  137. package/coverage/lcov-report/utilities/global.js.html +1 -1
  138. package/coverage/lcov-report/utilities/index.html +19 -19
  139. package/coverage/lcov-report/utilities/index.js.html +40 -16
  140. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  141. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  142. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  143. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  144. package/coverage/lcov-report/utilities/rowProcessor/index.html +5 -5
  145. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
  146. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +4 -4
  147. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  148. package/coverage/lcov-report/utilities/security.js.html +1 -1
  149. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  150. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  151. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +6 -3
  152. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  153. package/coverage/lcov-report/utilities/users.js.html +1 -1
  154. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  155. package/coverage/lcov.info +167 -127
  156. package/dist/api/controllers/application.js +1 -5
  157. package/dist/api/controllers/backup.js +2 -1
  158. package/dist/api/controllers/deploy/index.js +17 -2
  159. package/dist/api/controllers/row/ExternalRequest.js +1 -1
  160. package/dist/automations/index.js +10 -5
  161. package/dist/automations/triggers.js +39 -5
  162. package/dist/automations/utils.js +16 -7
  163. package/dist/environment.js +2 -2
  164. package/dist/integrations/rest.js +16 -1
  165. package/dist/package.json +6 -6
  166. package/dist/threads/automation.js +6 -0
  167. package/dist/tsconfig.build.tsbuildinfo +1 -1
  168. package/dist/utilities/fileSystem/index.js +16 -7
  169. package/dist/utilities/index.js +8 -0
  170. package/dist/utilities/rowProcessor/utils.js +1 -1
  171. package/dist/utilities/usageQuota/rows.js +2 -1
  172. package/package.json +7 -7
  173. package/src/api/controllers/application.ts +1 -5
  174. package/src/api/controllers/backup.js +2 -1
  175. package/src/api/controllers/deploy/index.ts +17 -4
  176. package/src/api/controllers/row/ExternalRequest.ts +1 -1
  177. package/src/api/routes/tests/query.spec.js +3 -3
  178. package/src/automations/index.js +6 -3
  179. package/src/automations/triggers.js +44 -10
  180. package/src/automations/utils.ts +21 -9
  181. package/src/definitions/datasource.ts +1 -0
  182. package/src/environment.js +2 -2
  183. package/src/integrations/rest.ts +14 -1
  184. package/src/integrations/tests/rest.spec.js +38 -3
  185. package/src/threads/automation.ts +6 -0
  186. package/src/utilities/fileSystem/index.js +15 -7
  187. package/src/utilities/index.js +8 -0
  188. package/src/utilities/rowProcessor/utils.js +1 -1
  189. package/src/utilities/usageQuota/rows.js +2 -1
@@ -10,10 +10,10 @@
10
10
  href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
11
11
  rel="stylesheet"
12
12
  />
13
- <script type="module" crossorigin src="/builder/assets/index.fb22f106.js"></script>
13
+ <script type="module" crossorigin src="/builder/assets/index.3953692d.js"></script>
14
14
  <link rel="modulepreload" href="/builder/assets/vendor.67dbd8fa.js">
15
15
  <link rel="stylesheet" href="/builder/assets/vendor.5e1fe644.css">
16
- <link rel="stylesheet" href="/builder/assets/index.e50bda9f.css">
16
+ <link rel="stylesheet" href="/builder/assets/index.a70e216a.css">
17
17
  </head>
18
18
  <body id="app">
19
19
 
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1662971467929" clover="3.2.0">
3
- <project timestamp="1662971467929" name="All files">
4
- <metrics statements="4140" coveredstatements="3035" conditionals="1744" coveredconditionals="963" methods="611" coveredmethods="432" elements="6495" coveredelements="4430" complexity="0" loc="4140" ncloc="4140" packages="22" files="126" classes="126"/>
2
+ <coverage generated="1662994225639" clover="3.2.0">
3
+ <project timestamp="1662994225639" name="All files">
4
+ <metrics statements="4162" coveredstatements="3052" conditionals="1754" coveredconditionals="967" methods="615" coveredmethods="436" elements="6531" coveredelements="4455" complexity="0" loc="4162" ncloc="4162" packages="22" files="126" classes="126"/>
5
5
  <package name="api">
6
6
  <metrics statements="35" coveredstatements="34" conditionals="5" coveredconditionals="2" methods="4" coveredmethods="4"/>
7
7
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
@@ -44,7 +44,7 @@
44
44
  </file>
45
45
  </package>
46
46
  <package name="api.controllers">
47
- <metrics statements="966" coveredstatements="698" conditionals="286" coveredconditionals="135" methods="139" coveredmethods="94"/>
47
+ <metrics statements="967" coveredstatements="699" conditionals="286" coveredconditionals="135" methods="139" coveredmethods="94"/>
48
48
  <file name="apikeys.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/apikeys.js">
49
49
  <metrics statements="24" coveredstatements="24" conditionals="4" coveredconditionals="2" methods="4" coveredmethods="4"/>
50
50
  <line num="1" count="28" type="stmt"/>
@@ -238,21 +238,22 @@
238
238
  <line num="284" count="2" type="stmt"/>
239
239
  </file>
240
240
  <file name="backup.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/backup.js">
241
- <metrics statements="14" coveredstatements="14" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
241
+ <metrics statements="15" coveredstatements="15" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
242
242
  <line num="1" count="28" type="stmt"/>
243
243
  <line num="2" count="28" type="stmt"/>
244
244
  <line num="3" count="28" type="stmt"/>
245
- <line num="5" count="28" type="stmt"/>
246
- <line num="6" count="1" type="stmt"/>
245
+ <line num="4" count="28" type="stmt"/>
246
+ <line num="6" count="28" type="stmt"/>
247
247
  <line num="7" count="1" type="stmt"/>
248
248
  <line num="8" count="1" type="stmt"/>
249
249
  <line num="9" count="1" type="stmt"/>
250
250
  <line num="10" count="1" type="stmt"/>
251
251
  <line num="11" count="1" type="stmt"/>
252
- <line num="13" count="1" type="stmt"/>
252
+ <line num="12" count="1" type="stmt"/>
253
253
  <line num="14" count="1" type="stmt"/>
254
254
  <line num="15" count="1" type="stmt"/>
255
255
  <line num="16" count="1" type="stmt"/>
256
+ <line num="17" count="1" type="stmt"/>
256
257
  </file>
257
258
  <file name="cloud.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/cloud.js">
258
259
  <metrics statements="54" coveredstatements="10" conditionals="23" coveredconditionals="0" methods="8" coveredmethods="0"/>
@@ -2628,7 +2629,7 @@
2628
2629
  </file>
2629
2630
  </package>
2630
2631
  <package name="automations">
2631
- <metrics statements="172" coveredstatements="130" conditionals="70" coveredconditionals="47" methods="21" coveredmethods="13"/>
2632
+ <metrics statements="189" coveredstatements="143" conditionals="76" coveredconditionals="50" methods="24" coveredmethods="16"/>
2632
2633
  <file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
2633
2634
  <metrics statements="24" coveredstatements="24" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
2634
2635
  <line num="1" count="45" type="stmt"/>
@@ -2751,7 +2752,7 @@
2751
2752
  <line num="59" count="45" type="stmt"/>
2752
2753
  </file>
2753
2754
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/index.js">
2754
- <metrics statements="14" coveredstatements="12" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="2"/>
2755
+ <metrics statements="16" coveredstatements="14" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="2"/>
2755
2756
  <line num="1" count="44" type="stmt"/>
2756
2757
  <line num="2" count="44" type="stmt"/>
2757
2758
  <line num="3" count="44" type="stmt"/>
@@ -2759,16 +2760,18 @@
2759
2760
  <line num="9" count="44" type="stmt"/>
2760
2761
  <line num="11" count="32" type="stmt"/>
2761
2762
  <line num="12" count="8" type="stmt"/>
2762
- <line num="16" count="44" type="stmt"/>
2763
- <line num="17" count="0" type="stmt"/>
2764
- <line num="20" count="44" type="stmt"/>
2765
- <line num="21" count="0" type="stmt"/>
2766
- <line num="24" count="44" type="stmt"/>
2767
- <line num="25" count="44" type="stmt"/>
2768
- <line num="26" count="44" type="stmt"/>
2763
+ <line num="15" count="32" type="stmt"/>
2764
+ <line num="16" count="32" type="stmt"/>
2765
+ <line num="19" count="44" type="stmt"/>
2766
+ <line num="20" count="0" type="stmt"/>
2767
+ <line num="23" count="44" type="stmt"/>
2768
+ <line num="24" count="0" type="stmt"/>
2769
+ <line num="27" count="44" type="stmt"/>
2770
+ <line num="28" count="44" type="stmt"/>
2771
+ <line num="29" count="44" type="stmt"/>
2769
2772
  </file>
2770
2773
  <file name="triggers.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggers.js">
2771
- <metrics statements="46" coveredstatements="44" conditionals="27" coveredconditionals="22" methods="8" coveredmethods="8"/>
2774
+ <metrics statements="61" coveredstatements="55" conditionals="33" coveredconditionals="25" methods="11" coveredmethods="11"/>
2772
2775
  <line num="1" count="45" type="stmt"/>
2773
2776
  <line num="2" count="45" type="stmt"/>
2774
2777
  <line num="3" count="45" type="stmt"/>
@@ -2779,42 +2782,57 @@
2779
2782
  <line num="9" count="45" type="stmt"/>
2780
2783
  <line num="10" count="45" type="stmt"/>
2781
2784
  <line num="11" count="45" type="stmt"/>
2782
- <line num="13" count="45" type="stmt"/>
2785
+ <line num="12" count="45" type="stmt"/>
2783
2786
  <line num="14" count="45" type="stmt"/>
2784
- <line num="20" count="17" type="cond" truecount="1" falsecount="1"/>
2785
- <line num="21" count="0" type="stmt"/>
2786
- <line num="24" count="17" type="stmt"/>
2787
- <line num="25" count="17" type="stmt"/>
2788
- <line num="26" count="17" type="stmt"/>
2789
- <line num="31" count="17" type="stmt"/>
2790
- <line num="32" count="4" type="stmt"/>
2791
- <line num="34" count="4" type="stmt"/>
2792
- <line num="35" count="4" type="cond" truecount="2" falsecount="0"/>
2793
- <line num="38" count="17" type="stmt"/>
2794
- <line num="39" count="4" type="stmt"/>
2795
- <line num="40" count="4" type="cond" truecount="1" falsecount="1"/>
2787
+ <line num="15" count="45" type="stmt"/>
2788
+ <line num="21" count="23" type="stmt"/>
2789
+ <line num="22" count="23" type="stmt"/>
2790
+ <line num="25" count="23" type="stmt"/>
2791
+ <line num="29" count="17" type="cond" truecount="1" falsecount="1"/>
2792
+ <line num="30" count="0" type="stmt"/>
2793
+ <line num="33" count="17" type="stmt"/>
2794
+ <line num="34" count="17" type="stmt"/>
2795
+ <line num="37" count="17" type="stmt"/>
2796
+ <line num="38" count="4" type="stmt"/>
2797
+ <line num="39" count="4" type="cond" truecount="2" falsecount="0"/>
2798
+ <line num="42" count="17" type="stmt"/>
2799
+ <line num="43" count="4" type="stmt"/>
2796
2800
  <line num="44" count="4" type="cond" truecount="1" falsecount="1"/>
2797
- <line num="49" count="0" type="stmt"/>
2798
- <line num="51" count="4" type="cond" truecount="1" falsecount="1"/>
2799
- <line num="55" count="4" type="stmt"/>
2800
- <line num="61" count="45" type="stmt"/>
2801
- <line num="66" count="7" type="stmt"/>
2802
- <line num="69" count="45" type="stmt"/>
2803
- <line num="74" count="4" type="stmt"/>
2804
- <line num="77" count="45" type="stmt"/>
2805
- <line num="82" count="6" type="stmt"/>
2806
- <line num="85" count="45" type="stmt"/>
2807
- <line num="90" count="6" type="cond" truecount="2" falsecount="0"/>
2808
- <line num="98" count="1" type="stmt"/>
2809
- <line num="99" count="1" type="stmt"/>
2810
- <line num="100" count="1" type="cond" truecount="1" falsecount="1"/>
2811
- <line num="101" count="1" type="stmt"/>
2801
+ <line num="48" count="4" type="cond" truecount="1" falsecount="1"/>
2802
+ <line num="53" count="0" type="stmt"/>
2803
+ <line num="55" count="4" type="cond" truecount="1" falsecount="1"/>
2804
+ <line num="59" count="4" type="stmt"/>
2805
+ <line num="65" count="45" type="stmt"/>
2806
+ <line num="70" count="7" type="stmt"/>
2807
+ <line num="73" count="45" type="stmt"/>
2808
+ <line num="78" count="4" type="stmt"/>
2809
+ <line num="81" count="45" type="stmt"/>
2810
+ <line num="86" count="6" type="stmt"/>
2811
+ <line num="89" count="45" type="stmt"/>
2812
+ <line num="94" count="6" type="cond" truecount="2" falsecount="0"/>
2813
+ <line num="102" count="1" type="stmt"/>
2812
2814
  <line num="103" count="1" type="stmt"/>
2813
- <line num="105" count="6" type="stmt"/>
2814
- <line num="106" count="6" type="cond" truecount="2" falsecount="0"/>
2815
- <line num="107" count="2" type="stmt"/>
2816
- <line num="109" count="4" type="stmt"/>
2817
- <line num="113" count="45" type="stmt"/>
2815
+ <line num="104" count="1" type="cond" truecount="1" falsecount="1"/>
2816
+ <line num="105" count="1" type="stmt"/>
2817
+ <line num="107" count="1" type="stmt"/>
2818
+ <line num="109" count="6" type="stmt"/>
2819
+ <line num="110" count="6" type="cond" truecount="2" falsecount="0"/>
2820
+ <line num="111" count="2" type="stmt"/>
2821
+ <line num="113" count="4" type="stmt"/>
2822
+ <line num="117" count="45" type="stmt"/>
2823
+ <line num="120" count="32" type="cond" truecount="3" falsecount="1"/>
2824
+ <line num="121" count="0" type="stmt"/>
2825
+ <line num="125" count="32" type="stmt"/>
2826
+ <line num="126" count="32" type="stmt"/>
2827
+ <line num="127" count="6" type="stmt"/>
2828
+ <line num="128" count="6" type="stmt"/>
2829
+ <line num="129" count="6" type="stmt"/>
2830
+ <line num="130" count="6" type="stmt"/>
2831
+ <line num="131" count="0" type="cond" truecount="0" falsecount="2"/>
2832
+ <line num="132" count="0" type="stmt"/>
2833
+ <line num="139" count="0" type="stmt"/>
2834
+ <line num="142" count="6" type="stmt"/>
2835
+ <line num="147" count="45" type="stmt"/>
2818
2836
  </file>
2819
2837
  </package>
2820
2838
  <package name="automations.steps">
@@ -3267,9 +3285,9 @@
3267
3285
  <line num="83" count="59" type="stmt"/>
3268
3286
  <line num="84" count="59" type="stmt"/>
3269
3287
  <line num="86" count="59" type="stmt"/>
3270
- <line num="101" count="875" type="cond" truecount="2" falsecount="0"/>
3271
- <line num="102" count="858" type="stmt"/>
3272
- <line num="104" count="875" type="stmt"/>
3288
+ <line num="101" count="881" type="cond" truecount="2" falsecount="0"/>
3289
+ <line num="102" count="864" type="stmt"/>
3290
+ <line num="104" count="881" type="stmt"/>
3273
3291
  <line num="111" count="59" type="stmt"/>
3274
3292
  <line num="116" count="59" type="cond" truecount="0" falsecount="2"/>
3275
3293
  <line num="117" count="271" type="stmt"/>
@@ -3296,7 +3314,7 @@
3296
3314
  <line num="191" count="1" type="stmt"/>
3297
3315
  <line num="193" count="2" type="stmt"/>
3298
3316
  <line num="199" count="59" type="cond" truecount="0" falsecount="2"/>
3299
- <line num="200" count="274" type="stmt"/>
3317
+ <line num="200" count="280" type="stmt"/>
3300
3318
  <line num="207" count="59" type="stmt"/>
3301
3319
  <line num="208" count="27" type="stmt"/>
3302
3320
  <line num="222" count="59" type="stmt"/>
@@ -3928,7 +3946,7 @@
3928
3946
  </file>
3929
3947
  </package>
3930
3948
  <package name="utilities">
3931
- <metrics statements="351" coveredstatements="255" conditionals="150" coveredconditionals="91" methods="68" coveredmethods="48"/>
3949
+ <metrics statements="355" coveredstatements="258" conditionals="152" coveredconditionals="92" methods="69" coveredmethods="49"/>
3932
3950
  <file name="budibaseDir.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/budibaseDir.js">
3933
3951
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
3934
3952
  <line num="1" count="46" type="stmt"/>
@@ -4089,7 +4107,7 @@
4089
4107
  <line num="119" count="0" type="stmt"/>
4090
4108
  </file>
4091
4109
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/index.js">
4092
- <metrics statements="76" coveredstatements="62" conditionals="30" coveredconditionals="16" methods="16" coveredmethods="15"/>
4110
+ <metrics statements="80" coveredstatements="65" conditionals="32" coveredconditionals="17" methods="17" coveredmethods="16"/>
4093
4111
  <line num="1" count="49" type="stmt"/>
4094
4112
  <line num="2" count="49" type="stmt"/>
4095
4113
  <line num="3" count="49" type="stmt"/>
@@ -4154,18 +4172,22 @@
4154
4172
  <line num="141" count="1" type="stmt"/>
4155
4173
  <line num="142" count="1" type="stmt"/>
4156
4174
  <line num="147" count="49" type="stmt"/>
4157
- <line num="148" count="36" type="stmt"/>
4158
- <line num="149" count="36" type="stmt"/>
4159
- <line num="150" count="36" type="stmt"/>
4160
- <line num="151" count="36" type="cond" truecount="2" falsecount="0"/>
4161
- <line num="152" count="36" type="cond" truecount="1" falsecount="1"/>
4175
+ <line num="148" count="38" type="stmt"/>
4176
+ <line num="149" count="38" type="stmt"/>
4177
+ <line num="150" count="38" type="stmt"/>
4178
+ <line num="151" count="38" type="cond" truecount="2" falsecount="0"/>
4179
+ <line num="152" count="38" type="cond" truecount="1" falsecount="1"/>
4162
4180
  <line num="153" count="0" type="stmt"/>
4163
- <line num="155" count="36" type="cond" truecount="3" falsecount="1"/>
4181
+ <line num="155" count="38" type="cond" truecount="3" falsecount="1"/>
4164
4182
  <line num="158" count="49" type="stmt"/>
4165
4183
  <line num="159" count="1" type="stmt"/>
4166
4184
  <line num="160" count="1" type="cond" truecount="2" falsecount="2"/>
4167
4185
  <line num="161" count="0" type="stmt"/>
4168
4186
  <line num="163" count="1" type="stmt"/>
4187
+ <line num="166" count="49" type="stmt"/>
4188
+ <line num="167" count="1" type="cond" truecount="1" falsecount="1"/>
4189
+ <line num="168" count="0" type="stmt"/>
4190
+ <line num="170" count="1" type="stmt"/>
4169
4191
  </file>
4170
4192
  <file name="scriptRunner.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/scriptRunner.js">
4171
4193
  <metrics statements="13" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
@@ -4356,7 +4378,7 @@
4356
4378
  </file>
4357
4379
  </package>
4358
4380
  <package name="utilities.rowProcessor">
4359
- <metrics statements="173" coveredstatements="100" conditionals="143" coveredconditionals="65" methods="23" coveredmethods="12"/>
4381
+ <metrics statements="173" coveredstatements="100" conditionals="145" coveredconditionals="65" methods="23" coveredmethods="12"/>
4360
4382
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/index.js">
4361
4383
  <metrics statements="130" coveredstatements="79" conditionals="101" coveredconditionals="47" methods="20" coveredmethods="10"/>
4362
4384
  <line num="1" count="45" type="stmt"/>
@@ -4491,7 +4513,7 @@
4491
4513
  <line num="340" count="0" type="stmt"/>
4492
4514
  </file>
4493
4515
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/utils.js">
4494
- <metrics statements="43" coveredstatements="21" conditionals="42" coveredconditionals="18" methods="3" coveredmethods="2"/>
4516
+ <metrics statements="43" coveredstatements="21" conditionals="44" coveredconditionals="18" methods="3" coveredmethods="2"/>
4495
4517
  <line num="6" count="45" type="stmt"/>
4496
4518
  <line num="7" count="45" type="stmt"/>
4497
4519
  <line num="13" count="45" type="stmt"/>
@@ -4528,7 +4550,7 @@
4528
4550
  <line num="75" count="0" type="stmt"/>
4529
4551
  <line num="76" count="0" type="cond" truecount="0" falsecount="2"/>
4530
4552
  <line num="77" count="0" type="stmt"/>
4531
- <line num="79" count="0" type="cond" truecount="0" falsecount="2"/>
4553
+ <line num="79" count="0" type="cond" truecount="0" falsecount="4"/>
4532
4554
  <line num="80" count="0" type="stmt"/>
4533
4555
  <line num="84" count="0" type="stmt"/>
4534
4556
  <line num="85" count="0" type="stmt"/>
@@ -4574,8 +4596,8 @@
4574
4596
  <line num="64" count="30" type="stmt"/>
4575
4597
  <line num="65" count="30" type="stmt"/>
4576
4598
  <line num="67" count="0" type="stmt"/>
4577
- <line num="75" count="28" type="stmt"/>
4578
- <line num="78" count="27" type="stmt"/>
4599
+ <line num="76" count="28" type="stmt"/>
4600
+ <line num="79" count="27" type="stmt"/>
4579
4601
  </file>
4580
4602
  <file name="usageQuoteReset.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/usageQuota/usageQuoteReset.js">
4581
4603
  <metrics statements="5" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>