@budibase/server 2.0.34-alpha.0 → 2.0.34-alpha.10

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 (194) hide show
  1. package/__mocks__/node-fetch.ts +12 -2
  2. package/builder/assets/{index.d09d1931.js → index.02132811.js} +113 -113
  3. package/builder/index.html +1 -1
  4. package/coverage/clover.xml +430 -500
  5. package/coverage/coverage-final.json +49 -51
  6. package/coverage/lcov-report/api/controllers/apikeys.js.html +6 -6
  7. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/cloud.js.html +13 -13
  9. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/dev.js.html +20 -20
  11. package/coverage/lcov-report/api/controllers/index.html +9 -24
  12. package/coverage/lcov-report/api/controllers/integration.js.html +4 -4
  13. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/metadata.js.html +9 -9
  15. package/coverage/lcov-report/api/controllers/migrations.js.html +4 -4
  16. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  18. package/coverage/lcov-report/api/controllers/query/validation.js.html +4 -4
  19. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/routing.js.html +9 -9
  21. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/row/index.html +1 -1
  23. package/coverage/lcov-report/api/controllers/row/internal.js.html +2 -2
  24. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  25. package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
  26. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  31. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/templates.js.html +6 -6
  33. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  35. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  36. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  39. package/coverage/lcov-report/api/index.html +1 -1
  40. package/coverage/lcov-report/api/index.js.html +26 -26
  41. package/coverage/lcov-report/api/routes/analytics.js.html +7 -7
  42. package/coverage/lcov-report/api/routes/apikeys.js.html +8 -8
  43. package/coverage/lcov-report/api/routes/automation.js.html +11 -11
  44. package/coverage/lcov-report/api/routes/cloud.js.html +8 -8
  45. package/coverage/lcov-report/api/routes/component.js.html +8 -8
  46. package/coverage/lcov-report/api/routes/datasource.js.html +9 -9
  47. package/coverage/lcov-report/api/routes/deploy.js.html +8 -8
  48. package/coverage/lcov-report/api/routes/dev.js.html +13 -13
  49. package/coverage/lcov-report/api/routes/index.html +5 -20
  50. package/coverage/lcov-report/api/routes/integration.js.html +8 -8
  51. package/coverage/lcov-report/api/routes/layout.js.html +8 -8
  52. package/coverage/lcov-report/api/routes/metadata.js.html +9 -9
  53. package/coverage/lcov-report/api/routes/migrations.js.html +7 -7
  54. package/coverage/lcov-report/api/routes/permission.js.html +9 -9
  55. package/coverage/lcov-report/api/routes/query.js.html +10 -10
  56. package/coverage/lcov-report/api/routes/role.js.html +9 -9
  57. package/coverage/lcov-report/api/routes/routing.js.html +8 -8
  58. package/coverage/lcov-report/api/routes/screen.js.html +9 -9
  59. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/table.js.html +10 -10
  61. package/coverage/lcov-report/api/routes/templates.js.html +8 -8
  62. package/coverage/lcov-report/api/routes/user.js.html +8 -8
  63. package/coverage/lcov-report/api/routes/utils/index.html +1 -1
  64. package/coverage/lcov-report/api/routes/utils/validators.js.html +45 -45
  65. package/coverage/lcov-report/api/routes/view.js.html +10 -10
  66. package/coverage/lcov-report/automations/actions.js.html +1 -1
  67. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  68. package/coverage/lcov-report/automations/bullboard.js.html +25 -10
  69. package/coverage/lcov-report/automations/index.html +18 -18
  70. package/coverage/lcov-report/automations/index.js.html +4 -4
  71. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  72. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  73. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  74. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  75. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  76. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  77. package/coverage/lcov-report/automations/steps/index.html +15 -15
  78. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  79. package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
  80. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  81. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  82. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  83. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/utils.js.html +10 -10
  87. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  88. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  89. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  90. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  91. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  92. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  93. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  94. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  95. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  96. package/coverage/lcov-report/automations/triggers.js.html +27 -27
  97. package/coverage/lcov-report/constants/index.html +5 -5
  98. package/coverage/lcov-report/constants/index.js.html +4 -16
  99. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  100. package/coverage/lcov-report/constants/screens.js.html +1 -1
  101. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  102. package/coverage/lcov-report/db/index.html +1 -1
  103. package/coverage/lcov-report/db/index.js.html +1 -1
  104. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  105. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  106. package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
  107. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  108. package/coverage/lcov-report/db/newid.js.html +1 -1
  109. package/coverage/lcov-report/db/utils.js.html +2 -2
  110. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  111. package/coverage/lcov-report/events/index.html +1 -1
  112. package/coverage/lcov-report/events/index.js.html +2 -2
  113. package/coverage/lcov-report/events/utils.js.html +1 -1
  114. package/coverage/lcov-report/index.html +52 -52
  115. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  116. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  117. package/coverage/lcov-report/middleware/appInfo.js.html +5 -5
  118. package/coverage/lcov-report/middleware/builder.js.html +9 -9
  119. package/coverage/lcov-report/middleware/currentapp.js.html +14 -14
  120. package/coverage/lcov-report/middleware/index.html +1 -1
  121. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  122. package/coverage/lcov-report/middleware/publicApi.js.html +5 -5
  123. package/coverage/lcov-report/middleware/resourceId.js.html +22 -22
  124. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  125. package/coverage/lcov-report/middleware/utils.js.html +3 -3
  126. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  127. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  128. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  129. package/coverage/lcov-report/utilities/global.js.html +1 -1
  130. package/coverage/lcov-report/utilities/index.html +20 -20
  131. package/coverage/lcov-report/utilities/index.js.html +2 -2
  132. package/coverage/lcov-report/utilities/plugins.js.html +1 -1
  133. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  134. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  135. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  136. package/coverage/lcov-report/utilities/routing/index.js.html +6 -6
  137. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  138. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
  139. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  140. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  141. package/coverage/lcov-report/utilities/security.js.html +1 -1
  142. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  143. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  144. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  145. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  146. package/coverage/lcov-report/utilities/users.js.html +1 -1
  147. package/coverage/lcov-report/utilities/workerRequests.js.html +46 -46
  148. package/coverage/lcov.info +498 -601
  149. package/dist/api/controllers/row/index.js +34 -80
  150. package/dist/api/controllers/row/internal.js +1 -1
  151. package/dist/api/controllers/static/index.js +1 -0
  152. package/dist/api/controllers/static/templates/BudibaseApp.svelte +11 -0
  153. package/dist/api/controllers/webhook.js +88 -89
  154. package/dist/api/routes/utils/validators.js +2 -2
  155. package/dist/api/routes/webhook.js +39 -11
  156. package/dist/app.js +2 -82
  157. package/dist/automations/bullboard.js +7 -2
  158. package/dist/automations/triggers.js +2 -2
  159. package/dist/automations/utils.js +5 -37
  160. package/dist/constants/index.js +0 -3
  161. package/dist/migrations/index.js +2 -1
  162. package/dist/package.json +6 -6
  163. package/dist/sdk/app/automations/index.js +29 -0
  164. package/dist/sdk/app/automations/webhook.js +54 -0
  165. package/dist/sdk/app/backups/imports.js +29 -1
  166. package/dist/sdk/index.js +2 -0
  167. package/dist/startup.js +152 -0
  168. package/dist/tests/utilities/TestConfiguration.js +8 -0
  169. package/dist/tsconfig.build.tsbuildinfo +1 -1
  170. package/package.json +7 -7
  171. package/src/api/controllers/row/index.ts +42 -80
  172. package/src/api/controllers/row/internal.js +1 -1
  173. package/src/api/controllers/static/index.ts +2 -0
  174. package/src/api/controllers/static/templates/BudibaseApp.svelte +11 -0
  175. package/src/api/controllers/{webhook.js → webhook.ts} +33 -48
  176. package/src/api/routes/utils/validators.js +2 -2
  177. package/src/api/routes/{webhook.js → webhook.ts} +7 -6
  178. package/src/app.ts +3 -106
  179. package/src/automations/bullboard.js +6 -1
  180. package/src/automations/triggers.js +2 -2
  181. package/src/automations/utils.ts +12 -20
  182. package/src/constants/index.js +0 -4
  183. package/src/definitions/automations.ts +1 -6
  184. package/src/migrations/functions/tests/syncQuotas.spec.js +1 -3
  185. package/src/migrations/functions/tests/userEmailViewCasing.spec.js +6 -4
  186. package/src/migrations/index.ts +1 -0
  187. package/src/sdk/app/automations/index.ts +5 -0
  188. package/src/sdk/app/automations/webhook.ts +43 -0
  189. package/src/sdk/app/backups/imports.ts +43 -6
  190. package/src/sdk/index.ts +2 -0
  191. package/src/startup.ts +138 -0
  192. package/src/tests/utilities/TestConfiguration.js +7 -0
  193. package/coverage/lcov-report/api/controllers/webhook.js.html +0 -424
  194. package/coverage/lcov-report/api/routes/webhook.js.html +0 -163
@@ -1,29 +1,29 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1666697367645" clover="3.2.0">
3
- <project timestamp="1666697367645" name="All files">
4
- <metrics statements="4071" coveredstatements="2938" conditionals="1746" coveredconditionals="955" methods="607" coveredmethods="415" elements="6424" coveredelements="4308" complexity="0" loc="4071" ncloc="4071" packages="22" files="121" classes="121"/>
2
+ <coverage generated="1667214531015" clover="3.2.0">
3
+ <project timestamp="1667214531015" name="All files">
4
+ <metrics statements="4007" coveredstatements="2885" conditionals="1739" coveredconditionals="955" methods="600" coveredmethods="411" elements="6346" coveredelements="4251" complexity="0" loc="4007" ncloc="4007" packages="22" files="119" classes="119"/>
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">
8
8
  <metrics statements="35" coveredstatements="34" conditionals="5" coveredconditionals="2" methods="4" coveredmethods="4"/>
9
- <line num="1" count="28" type="stmt"/>
10
- <line num="6" count="28" type="stmt"/>
11
- <line num="7" count="28" type="stmt"/>
12
- <line num="8" count="28" type="stmt"/>
13
- <line num="9" count="28" type="stmt"/>
14
- <line num="10" count="28" type="stmt"/>
15
- <line num="11" count="28" type="stmt"/>
16
- <line num="12" count="28" type="stmt"/>
17
- <line num="13" count="28" type="stmt"/>
18
- <line num="14" count="28" type="stmt"/>
19
- <line num="15" count="28" type="stmt"/>
20
- <line num="17" count="28" type="stmt"/>
21
- <line num="19" count="28" type="stmt"/>
22
- <line num="20" count="28" type="stmt"/>
23
- <line num="22" count="28" type="stmt"/>
9
+ <line num="1" count="44" type="stmt"/>
10
+ <line num="6" count="44" type="stmt"/>
11
+ <line num="7" count="44" type="stmt"/>
12
+ <line num="8" count="44" type="stmt"/>
13
+ <line num="9" count="44" type="stmt"/>
14
+ <line num="10" count="44" type="stmt"/>
15
+ <line num="11" count="44" type="stmt"/>
16
+ <line num="12" count="44" type="stmt"/>
17
+ <line num="13" count="44" type="stmt"/>
18
+ <line num="14" count="44" type="stmt"/>
19
+ <line num="15" count="44" type="stmt"/>
20
+ <line num="17" count="44" type="stmt"/>
21
+ <line num="19" count="44" type="stmt"/>
22
+ <line num="20" count="44" type="stmt"/>
23
+ <line num="22" count="44" type="stmt"/>
24
24
  <line num="36" count="238" type="stmt"/>
25
25
  <line num="40" count="238" type="stmt"/>
26
- <line num="62" count="28" type="stmt"/>
26
+ <line num="62" count="44" type="stmt"/>
27
27
  <line num="63" count="236" type="stmt"/>
28
28
  <line num="64" count="236" type="stmt"/>
29
29
  <line num="66" count="37" type="cond" truecount="1" falsecount="2"/>
@@ -32,24 +32,24 @@
32
32
  <line num="74" count="37" type="stmt"/>
33
33
  <line num="76" count="37" type="cond" truecount="1" falsecount="1"/>
34
34
  <line num="77" count="0" type="stmt"/>
35
- <line num="83" count="28" type="stmt"/>
36
- <line num="84" count="812" type="stmt"/>
37
- <line num="85" count="812" type="stmt"/>
38
- <line num="88" count="28" type="stmt"/>
39
- <line num="89" count="28" type="stmt"/>
40
- <line num="92" count="28" type="stmt"/>
41
- <line num="93" count="28" type="stmt"/>
42
- <line num="95" count="28" type="stmt"/>
43
- <line num="96" count="28" type="stmt"/>
35
+ <line num="83" count="44" type="stmt"/>
36
+ <line num="84" count="1276" type="stmt"/>
37
+ <line num="85" count="1276" type="stmt"/>
38
+ <line num="88" count="44" type="stmt"/>
39
+ <line num="89" count="44" type="stmt"/>
40
+ <line num="92" count="44" type="stmt"/>
41
+ <line num="93" count="44" type="stmt"/>
42
+ <line num="95" count="44" type="stmt"/>
43
+ <line num="96" count="44" type="stmt"/>
44
44
  </file>
45
45
  </package>
46
46
  <package name="api.controllers">
47
- <metrics statements="883" coveredstatements="614" conditionals="278" coveredconditionals="124" methods="134" coveredmethods="85"/>
47
+ <metrics statements="824" coveredstatements="560" conditionals="268" coveredconditionals="120" methods="127" coveredmethods="78"/>
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
- <line num="1" count="28" type="stmt"/>
51
- <line num="2" count="28" type="stmt"/>
52
- <line num="4" count="28" type="stmt"/>
50
+ <line num="1" count="44" type="stmt"/>
51
+ <line num="2" count="44" type="stmt"/>
52
+ <line num="4" count="44" type="stmt"/>
53
53
  <line num="7" count="2" type="stmt"/>
54
54
  <line num="8" count="2" type="stmt"/>
55
55
  <line num="9" count="2" type="stmt"/>
@@ -57,11 +57,11 @@
57
57
  <line num="20" count="1" type="stmt"/>
58
58
  <line num="21" count="1" type="stmt"/>
59
59
  <line num="22" count="1" type="stmt"/>
60
- <line num="25" count="28" type="stmt"/>
60
+ <line num="25" count="44" type="stmt"/>
61
61
  <line num="26" count="1" type="stmt"/>
62
62
  <line num="27" count="1" type="stmt"/>
63
63
  <line num="28" count="1" type="cond" truecount="1" falsecount="1"/>
64
- <line num="35" count="28" type="stmt"/>
64
+ <line num="35" count="44" type="stmt"/>
65
65
  <line num="36" count="1" type="stmt"/>
66
66
  <line num="37" count="1" type="stmt"/>
67
67
  <line num="39" count="1" type="stmt"/>
@@ -208,20 +208,20 @@
208
208
  </file>
209
209
  <file name="cloud.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/cloud.js">
210
210
  <metrics statements="55" coveredstatements="12" conditionals="25" coveredconditionals="0" methods="10" coveredmethods="0"/>
211
- <line num="1" count="28" type="stmt"/>
212
- <line num="2" count="28" type="stmt"/>
213
- <line num="3" count="28" type="stmt"/>
214
- <line num="4" count="28" type="stmt"/>
215
- <line num="5" count="28" type="stmt"/>
216
- <line num="6" count="28" type="stmt"/>
217
- <line num="7" count="28" type="stmt"/>
218
- <line num="8" count="28" type="stmt"/>
219
- <line num="9" count="28" type="stmt"/>
211
+ <line num="1" count="44" type="stmt"/>
212
+ <line num="2" count="44" type="stmt"/>
213
+ <line num="3" count="44" type="stmt"/>
214
+ <line num="4" count="44" type="stmt"/>
215
+ <line num="5" count="44" type="stmt"/>
216
+ <line num="6" count="44" type="stmt"/>
217
+ <line num="7" count="44" type="stmt"/>
218
+ <line num="8" count="44" type="stmt"/>
219
+ <line num="9" count="44" type="stmt"/>
220
220
  <line num="12" count="0" type="stmt"/>
221
221
  <line num="25" count="0" type="stmt"/>
222
222
  <line num="29" count="0" type="stmt"/>
223
223
  <line num="34" count="0" type="stmt"/>
224
- <line num="37" count="28" type="stmt"/>
224
+ <line num="37" count="44" type="stmt"/>
225
225
  <line num="38" count="0" type="cond" truecount="0" falsecount="4"/>
226
226
  <line num="39" count="0" type="stmt"/>
227
227
  <line num="41" count="0" type="stmt"/>
@@ -238,9 +238,9 @@
238
238
  <line num="61" count="0" type="stmt"/>
239
239
  <line num="63" count="0" type="stmt"/>
240
240
  <line num="64" count="0" type="stmt"/>
241
- <line num="67" count="28" type="stmt"/>
241
+ <line num="67" count="44" type="stmt"/>
242
242
  <line num="68" count="0" type="stmt"/>
243
- <line num="73" count="28" type="stmt"/>
243
+ <line num="73" count="44" type="stmt"/>
244
244
  <line num="74" count="0" type="cond" truecount="0" falsecount="4"/>
245
245
  <line num="75" count="0" type="stmt"/>
246
246
  <line num="77" count="0" type="stmt"/>
@@ -413,16 +413,16 @@
413
413
  </file>
414
414
  <file name="dev.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/dev.js">
415
415
  <metrics statements="70" coveredstatements="42" conditionals="17" coveredconditionals="5" methods="10" coveredmethods="5"/>
416
- <line num="1" count="28" type="stmt"/>
417
- <line num="2" count="28" type="stmt"/>
418
- <line num="3" count="28" type="stmt"/>
419
- <line num="4" count="28" type="stmt"/>
420
- <line num="5" count="28" type="stmt"/>
421
- <line num="6" count="28" type="stmt"/>
422
- <line num="7" count="28" type="stmt"/>
423
- <line num="8" count="28" type="stmt"/>
424
- <line num="9" count="28" type="stmt"/>
425
- <line num="10" count="28" type="stmt"/>
416
+ <line num="1" count="44" type="stmt"/>
417
+ <line num="2" count="44" type="stmt"/>
418
+ <line num="3" count="44" type="stmt"/>
419
+ <line num="4" count="44" type="stmt"/>
420
+ <line num="5" count="44" type="stmt"/>
421
+ <line num="6" count="44" type="stmt"/>
422
+ <line num="7" count="44" type="stmt"/>
423
+ <line num="8" count="44" type="stmt"/>
424
+ <line num="9" count="44" type="stmt"/>
425
+ <line num="10" count="44" type="stmt"/>
426
426
  <line num="13" count="0" type="stmt"/>
427
427
  <line num="14" count="0" type="cond" truecount="0" falsecount="2"/>
428
428
  <line num="15" count="0" type="stmt"/>
@@ -438,22 +438,22 @@
438
438
  <line num="43" count="0" type="cond" truecount="0" falsecount="2"/>
439
439
  <line num="44" count="0" type="stmt"/>
440
440
  <line num="46" count="0" type="stmt"/>
441
- <line num="49" count="28" type="stmt"/>
442
- <line num="50" count="56" type="stmt"/>
441
+ <line num="49" count="44" type="stmt"/>
442
+ <line num="50" count="88" type="stmt"/>
443
443
  <line num="51" count="0" type="stmt"/>
444
- <line num="55" count="28" type="stmt"/>
445
- <line num="56" count="56" type="stmt"/>
444
+ <line num="55" count="44" type="stmt"/>
445
+ <line num="56" count="88" type="stmt"/>
446
446
  <line num="57" count="0" type="stmt"/>
447
- <line num="61" count="28" type="stmt"/>
448
- <line num="62" count="56" type="stmt"/>
447
+ <line num="61" count="44" type="stmt"/>
448
+ <line num="62" count="88" type="stmt"/>
449
449
  <line num="63" count="0" type="stmt"/>
450
- <line num="67" count="28" type="stmt"/>
450
+ <line num="67" count="44" type="stmt"/>
451
451
  <line num="68" count="0" type="stmt"/>
452
452
  <line num="69" count="0" type="stmt"/>
453
453
  <line num="70" count="0" type="stmt"/>
454
454
  <line num="72" count="0" type="stmt"/>
455
455
  <line num="74" count="0" type="stmt"/>
456
- <line num="79" count="28" type="stmt"/>
456
+ <line num="79" count="44" type="stmt"/>
457
457
  <line num="80" count="1" type="stmt"/>
458
458
  <line num="81" count="1" type="stmt"/>
459
459
  <line num="84" count="1" type="stmt"/>
@@ -479,19 +479,19 @@
479
479
  <line num="121" count="1" type="stmt"/>
480
480
  <line num="123" count="0" type="stmt"/>
481
481
  <line num="125" count="1" type="stmt"/>
482
- <line num="129" count="28" type="stmt"/>
482
+ <line num="129" count="44" type="stmt"/>
483
483
  <line num="130" count="1" type="stmt"/>
484
484
  <line num="131" count="1" type="stmt"/>
485
485
  <line num="134" count="1" type="stmt"/>
486
486
  </file>
487
487
  <file name="integration.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/integration.js">
488
488
  <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
489
- <line num="1" count="28" type="stmt"/>
490
- <line num="3" count="28" type="stmt"/>
489
+ <line num="1" count="44" type="stmt"/>
490
+ <line num="3" count="44" type="stmt"/>
491
491
  <line num="4" count="1" type="stmt"/>
492
492
  <line num="5" count="1" type="stmt"/>
493
493
  <line num="7" count="1" type="stmt"/>
494
- <line num="10" count="28" type="stmt"/>
494
+ <line num="10" count="44" type="stmt"/>
495
495
  <line num="11" count="1" type="stmt"/>
496
496
  <line num="12" count="1" type="stmt"/>
497
497
  <line num="13" count="1" type="stmt"/>
@@ -529,22 +529,22 @@
529
529
  </file>
530
530
  <file name="metadata.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/metadata.js">
531
531
  <metrics statements="24" coveredstatements="21" conditionals="4" coveredconditionals="2" methods="4" coveredmethods="3"/>
532
- <line num="1" count="28" type="stmt"/>
533
- <line num="2" count="28" type="stmt"/>
534
- <line num="3" count="28" type="stmt"/>
535
- <line num="4" count="28" type="stmt"/>
536
- <line num="6" count="28" type="stmt"/>
532
+ <line num="1" count="44" type="stmt"/>
533
+ <line num="2" count="44" type="stmt"/>
534
+ <line num="3" count="44" type="stmt"/>
535
+ <line num="4" count="44" type="stmt"/>
536
+ <line num="6" count="44" type="stmt"/>
537
537
  <line num="7" count="0" type="stmt"/>
538
- <line num="12" count="28" type="stmt"/>
538
+ <line num="12" count="44" type="stmt"/>
539
539
  <line num="13" count="1" type="stmt"/>
540
540
  <line num="14" count="1" type="cond" truecount="1" falsecount="1"/>
541
541
  <line num="15" count="0" type="stmt"/>
542
542
  <line num="17" count="1" type="stmt"/>
543
- <line num="20" count="28" type="stmt"/>
543
+ <line num="20" count="44" type="stmt"/>
544
544
  <line num="21" count="1" type="stmt"/>
545
545
  <line num="22" count="1" type="stmt"/>
546
546
  <line num="23" count="1" type="stmt"/>
547
- <line num="28" count="28" type="stmt"/>
547
+ <line num="28" count="44" type="stmt"/>
548
548
  <line num="29" count="3" type="stmt"/>
549
549
  <line num="30" count="3" type="stmt"/>
550
550
  <line num="31" count="3" type="stmt"/>
@@ -556,12 +556,12 @@
556
556
  </file>
557
557
  <file name="migrations.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/migrations.js">
558
558
  <metrics statements="8" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
559
- <line num="1" count="28" type="stmt"/>
560
- <line num="3" count="28" type="stmt"/>
559
+ <line num="1" count="44" type="stmt"/>
560
+ <line num="3" count="44" type="stmt"/>
561
561
  <line num="4" count="0" type="stmt"/>
562
562
  <line num="6" count="0" type="stmt"/>
563
563
  <line num="7" count="0" type="stmt"/>
564
- <line num="10" count="28" type="stmt"/>
564
+ <line num="10" count="44" type="stmt"/>
565
565
  <line num="11" count="0" type="stmt"/>
566
566
  <line num="12" count="0" type="stmt"/>
567
567
  </file>
@@ -712,22 +712,22 @@
712
712
  </file>
713
713
  <file name="routing.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/routing.js">
714
714
  <metrics statements="49" coveredstatements="44" conditionals="14" coveredconditionals="9" methods="7" coveredmethods="7"/>
715
- <line num="1" count="28" type="stmt"/>
716
- <line num="5" count="28" type="stmt"/>
717
- <line num="7" count="28" type="stmt"/>
715
+ <line num="1" count="44" type="stmt"/>
716
+ <line num="5" count="44" type="stmt"/>
717
+ <line num="7" count="44" type="stmt"/>
718
718
  <line num="10" count="3" type="stmt"/>
719
- <line num="13" count="28" type="stmt"/>
719
+ <line num="13" count="44" type="stmt"/>
720
720
  <line num="14" count="6" type="cond" truecount="1" falsecount="1"/>
721
721
  <line num="15" count="0" type="stmt"/>
722
722
  <line num="18" count="6" type="stmt"/>
723
- <line num="21" count="28" type="stmt"/>
723
+ <line num="21" count="44" type="stmt"/>
724
724
  <line num="22" count="6" type="stmt"/>
725
725
  <line num="23" count="6" type="cond" truecount="2" falsecount="0"/>
726
726
  <line num="24" count="3" type="stmt"/>
727
727
  <line num="28" count="6" type="cond" truecount="2" falsecount="0"/>
728
728
  <line num="29" count="3" type="stmt"/>
729
729
  <line num="33" count="6" type="stmt"/>
730
- <line num="36" count="28" type="stmt"/>
730
+ <line num="36" count="44" type="stmt"/>
731
731
  <line num="37" count="6" type="stmt"/>
732
732
  <line num="46" count="3" type="stmt"/>
733
733
  <line num="47" count="3" type="stmt"/>
@@ -736,9 +736,9 @@
736
736
  <line num="51" count="6" type="stmt"/>
737
737
  <line num="52" count="6" type="stmt"/>
738
738
  <line num="55" count="3" type="stmt"/>
739
- <line num="58" count="28" type="stmt"/>
739
+ <line num="58" count="44" type="stmt"/>
740
740
  <line num="59" count="1" type="stmt"/>
741
- <line num="62" count="28" type="stmt"/>
741
+ <line num="62" count="44" type="stmt"/>
742
742
  <line num="63" count="2" type="stmt"/>
743
743
  <line num="64" count="2" type="stmt"/>
744
744
  <line num="65" count="2" type="stmt"/>
@@ -774,11 +774,11 @@
774
774
  </file>
775
775
  <file name="templates.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/templates.js">
776
776
  <metrics statements="16" coveredstatements="13" conditionals="6" coveredconditionals="4" methods="1" coveredmethods="1"/>
777
- <line num="1" count="28" type="stmt"/>
778
- <line num="2" count="28" type="stmt"/>
779
- <line num="3" count="28" type="stmt"/>
780
- <line num="7" count="28" type="stmt"/>
781
- <line num="9" count="28" type="stmt"/>
777
+ <line num="1" count="44" type="stmt"/>
778
+ <line num="2" count="44" type="stmt"/>
779
+ <line num="3" count="44" type="stmt"/>
780
+ <line num="7" count="44" type="stmt"/>
781
+ <line num="9" count="44" type="stmt"/>
782
782
  <line num="10" count="1" type="stmt"/>
783
783
  <line num="12" count="1" type="stmt"/>
784
784
  <line num="13" count="1" type="stmt"/>
@@ -914,68 +914,6 @@
914
914
  <line num="231" count="0" type="stmt"/>
915
915
  <line num="233" count="0" type="stmt"/>
916
916
  </file>
917
- <file name="webhook.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/webhook.js">
918
- <metrics statements="59" coveredstatements="54" conditionals="10" coveredconditionals="4" methods="7" coveredmethods="7"/>
919
- <line num="1" count="45" type="stmt"/>
920
- <line num="2" count="45" type="stmt"/>
921
- <line num="3" count="45" type="stmt"/>
922
- <line num="4" count="45" type="stmt"/>
923
- <line num="5" count="45" type="stmt"/>
924
- <line num="6" count="45" type="stmt"/>
925
- <line num="7" count="45" type="stmt"/>
926
- <line num="9" count="45" type="stmt"/>
927
- <line num="12" count="1" type="stmt"/>
928
- <line num="13" count="1" type="stmt"/>
929
- <line num="14" count="1" type="stmt"/>
930
- <line num="20" count="45" type="stmt"/>
931
- <line num="22" count="45" type="stmt"/>
932
- <line num="23" count="2" type="stmt"/>
933
- <line num="24" count="2" type="stmt"/>
934
- <line num="29" count="2" type="stmt"/>
935
- <line num="32" count="45" type="stmt"/>
936
- <line num="33" count="10" type="stmt"/>
937
- <line num="34" count="10" type="stmt"/>
938
- <line num="35" count="10" type="stmt"/>
939
- <line num="38" count="10" type="cond" truecount="1" falsecount="1"/>
940
- <line num="39" count="0" type="stmt"/>
941
- <line num="41" count="10" type="stmt"/>
942
- <line num="43" count="10" type="stmt"/>
943
- <line num="44" count="10" type="stmt"/>
944
- <line num="45" count="10" type="stmt"/>
945
- <line num="51" count="45" type="stmt"/>
946
- <line num="52" count="1" type="stmt"/>
947
- <line num="53" count="1" type="stmt"/>
948
- <line num="56" count="45" type="stmt"/>
949
- <line num="57" count="1" type="stmt"/>
950
- <line num="58" count="1" type="stmt"/>
951
- <line num="59" count="1" type="stmt"/>
952
- <line num="60" count="1" type="stmt"/>
953
- <line num="62" count="1" type="cond" truecount="1" falsecount="1"/>
954
- <line num="63" count="1" type="stmt"/>
955
- <line num="64" count="1" type="stmt"/>
956
- <line num="65" count="1" type="stmt"/>
957
- <line num="67" count="1" type="stmt"/>
958
- <line num="70" count="1" type="stmt"/>
959
- <line num="71" count="1" type="stmt"/>
960
- <line num="76" count="1" type="stmt"/>
961
- <line num="78" count="1" type="stmt"/>
962
- <line num="81" count="45" type="stmt"/>
963
- <line num="82" count="1" type="stmt"/>
964
- <line num="83" count="1" type="stmt"/>
965
- <line num="84" count="1" type="stmt"/>
966
- <line num="85" count="1" type="stmt"/>
967
- <line num="86" count="1" type="stmt"/>
968
- <line num="88" count="1" type="cond" truecount="1" falsecount="1"/>
969
- <line num="89" count="0" type="stmt"/>
970
- <line num="91" count="1" type="stmt"/>
971
- <line num="92" count="1" type="cond" truecount="1" falsecount="1"/>
972
- <line num="95" count="1" type="stmt"/>
973
- <line num="101" count="1" type="stmt"/>
974
- <line num="102" count="1" type="stmt"/>
975
- <line num="106" count="0" type="cond" truecount="0" falsecount="2"/>
976
- <line num="107" count="0" type="stmt"/>
977
- <line num="108" count="0" type="stmt"/>
978
- </file>
979
917
  </package>
980
918
  <package name="api.controllers.query">
981
919
  <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
@@ -985,11 +923,11 @@
985
923
  <line num="2" count="45" type="stmt"/>
986
924
  <line num="4" count="45" type="stmt"/>
987
925
  <line num="6" count="45" type="stmt"/>
988
- <line num="7" count="37" type="stmt"/>
926
+ <line num="7" count="53" type="stmt"/>
989
927
  <line num="28" count="45" type="stmt"/>
990
- <line num="30" count="28" type="stmt"/>
928
+ <line num="30" count="44" type="stmt"/>
991
929
  <line num="33" count="45" type="stmt"/>
992
- <line num="35" count="28" type="stmt"/>
930
+ <line num="35" count="44" type="stmt"/>
993
931
  </file>
994
932
  </package>
995
933
  <package name="api.controllers.row">
@@ -2226,189 +2164,189 @@
2226
2164
  </file>
2227
2165
  </package>
2228
2166
  <package name="api.routes">
2229
- <metrics statements="179" coveredstatements="172" conditionals="4" coveredconditionals="2" methods="1" coveredmethods="1"/>
2167
+ <metrics statements="171" coveredstatements="164" conditionals="4" coveredconditionals="2" methods="1" coveredmethods="1"/>
2230
2168
  <file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/analytics.js">
2231
2169
  <metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2232
- <line num="1" count="28" type="stmt"/>
2233
- <line num="2" count="28" type="stmt"/>
2234
- <line num="4" count="28" type="stmt"/>
2235
- <line num="6" count="28" type="stmt"/>
2236
- <line num="7" count="28" type="stmt"/>
2237
- <line num="9" count="28" type="stmt"/>
2170
+ <line num="1" count="44" type="stmt"/>
2171
+ <line num="2" count="44" type="stmt"/>
2172
+ <line num="4" count="44" type="stmt"/>
2173
+ <line num="6" count="44" type="stmt"/>
2174
+ <line num="7" count="44" type="stmt"/>
2175
+ <line num="9" count="44" type="stmt"/>
2238
2176
  </file>
2239
2177
  <file name="apikeys.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/apikeys.js">
2240
2178
  <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2241
- <line num="1" count="28" type="stmt"/>
2242
- <line num="2" count="28" type="stmt"/>
2243
- <line num="3" count="28" type="stmt"/>
2244
- <line num="4" count="28" type="stmt"/>
2245
- <line num="6" count="28" type="stmt"/>
2246
- <line num="8" count="28" type="stmt"/>
2247
- <line num="12" count="28" type="stmt"/>
2179
+ <line num="1" count="44" type="stmt"/>
2180
+ <line num="2" count="44" type="stmt"/>
2181
+ <line num="3" count="44" type="stmt"/>
2182
+ <line num="4" count="44" type="stmt"/>
2183
+ <line num="6" count="44" type="stmt"/>
2184
+ <line num="8" count="44" type="stmt"/>
2185
+ <line num="12" count="44" type="stmt"/>
2248
2186
  </file>
2249
2187
  <file name="automation.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/automation.js">
2250
2188
  <metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2251
- <line num="1" count="28" type="stmt"/>
2252
- <line num="2" count="28" type="stmt"/>
2253
- <line num="3" count="28" type="stmt"/>
2254
- <line num="8" count="28" type="stmt"/>
2255
- <line num="9" count="28" type="stmt"/>
2256
- <line num="13" count="28" type="stmt"/>
2257
- <line num="14" count="28" type="stmt"/>
2258
- <line num="16" count="28" type="stmt"/>
2259
- <line num="18" count="28" type="stmt"/>
2260
- <line num="85" count="28" type="stmt"/>
2189
+ <line num="1" count="44" type="stmt"/>
2190
+ <line num="2" count="44" type="stmt"/>
2191
+ <line num="3" count="44" type="stmt"/>
2192
+ <line num="8" count="44" type="stmt"/>
2193
+ <line num="9" count="44" type="stmt"/>
2194
+ <line num="13" count="44" type="stmt"/>
2195
+ <line num="14" count="44" type="stmt"/>
2196
+ <line num="16" count="44" type="stmt"/>
2197
+ <line num="18" count="44" type="stmt"/>
2198
+ <line num="85" count="44" type="stmt"/>
2261
2199
  </file>
2262
2200
  <file name="cloud.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/cloud.js">
2263
2201
  <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2264
- <line num="1" count="28" type="stmt"/>
2265
- <line num="2" count="28" type="stmt"/>
2266
- <line num="3" count="28" type="stmt"/>
2267
- <line num="4" count="28" type="stmt"/>
2268
- <line num="6" count="28" type="stmt"/>
2269
- <line num="8" count="28" type="stmt"/>
2270
- <line num="14" count="28" type="stmt"/>
2202
+ <line num="1" count="44" type="stmt"/>
2203
+ <line num="2" count="44" type="stmt"/>
2204
+ <line num="3" count="44" type="stmt"/>
2205
+ <line num="4" count="44" type="stmt"/>
2206
+ <line num="6" count="44" type="stmt"/>
2207
+ <line num="8" count="44" type="stmt"/>
2208
+ <line num="14" count="44" type="stmt"/>
2271
2209
  </file>
2272
2210
  <file name="component.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/component.js">
2273
2211
  <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2274
- <line num="1" count="28" type="stmt"/>
2275
- <line num="2" count="28" type="stmt"/>
2276
- <line num="3" count="28" type="stmt"/>
2277
- <line num="4" count="28" type="stmt"/>
2278
- <line num="6" count="28" type="stmt"/>
2279
- <line num="8" count="28" type="stmt"/>
2280
- <line num="14" count="28" type="stmt"/>
2212
+ <line num="1" count="44" type="stmt"/>
2213
+ <line num="2" count="44" type="stmt"/>
2214
+ <line num="3" count="44" type="stmt"/>
2215
+ <line num="4" count="44" type="stmt"/>
2216
+ <line num="6" count="44" type="stmt"/>
2217
+ <line num="8" count="44" type="stmt"/>
2218
+ <line num="14" count="44" type="stmt"/>
2281
2219
  </file>
2282
2220
  <file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/datasource.js">
2283
2221
  <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2284
- <line num="1" count="28" type="stmt"/>
2285
- <line num="2" count="28" type="stmt"/>
2286
- <line num="3" count="28" type="stmt"/>
2287
- <line num="8" count="28" type="stmt"/>
2288
- <line num="12" count="28" type="stmt"/>
2289
- <line num="14" count="28" type="stmt"/>
2290
- <line num="16" count="28" type="stmt"/>
2291
- <line num="51" count="28" type="stmt"/>
2222
+ <line num="1" count="44" type="stmt"/>
2223
+ <line num="2" count="44" type="stmt"/>
2224
+ <line num="3" count="44" type="stmt"/>
2225
+ <line num="8" count="44" type="stmt"/>
2226
+ <line num="12" count="44" type="stmt"/>
2227
+ <line num="14" count="44" type="stmt"/>
2228
+ <line num="16" count="44" type="stmt"/>
2229
+ <line num="51" count="44" type="stmt"/>
2292
2230
  </file>
2293
2231
  <file name="deploy.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/deploy.js">
2294
2232
  <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2295
- <line num="1" count="28" type="stmt"/>
2296
- <line num="2" count="28" type="stmt"/>
2297
- <line num="3" count="28" type="stmt"/>
2298
- <line num="4" count="28" type="stmt"/>
2299
- <line num="6" count="28" type="stmt"/>
2300
- <line num="8" count="28" type="stmt"/>
2301
- <line num="17" count="28" type="stmt"/>
2233
+ <line num="1" count="44" type="stmt"/>
2234
+ <line num="2" count="44" type="stmt"/>
2235
+ <line num="3" count="44" type="stmt"/>
2236
+ <line num="4" count="44" type="stmt"/>
2237
+ <line num="6" count="44" type="stmt"/>
2238
+ <line num="8" count="44" type="stmt"/>
2239
+ <line num="17" count="44" type="stmt"/>
2302
2240
  </file>
2303
2241
  <file name="dev.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/dev.js">
2304
2242
  <metrics statements="12" coveredstatements="12" conditionals="4" coveredconditionals="2" methods="1" coveredmethods="1"/>
2305
- <line num="1" count="28" type="stmt"/>
2306
- <line num="2" count="28" type="stmt"/>
2307
- <line num="3" count="28" type="stmt"/>
2308
- <line num="4" count="28" type="stmt"/>
2309
- <line num="5" count="28" type="stmt"/>
2310
- <line num="7" count="28" type="stmt"/>
2311
- <line num="10" count="56" type="stmt"/>
2312
- <line num="16" count="28" type="cond" truecount="2" falsecount="2"/>
2313
- <line num="17" count="28" type="stmt"/>
2314
- <line num="18" count="28" type="stmt"/>
2315
- <line num="21" count="28" type="stmt"/>
2316
- <line num="26" count="28" type="stmt"/>
2243
+ <line num="1" count="44" type="stmt"/>
2244
+ <line num="2" count="44" type="stmt"/>
2245
+ <line num="3" count="44" type="stmt"/>
2246
+ <line num="4" count="44" type="stmt"/>
2247
+ <line num="5" count="44" type="stmt"/>
2248
+ <line num="7" count="44" type="stmt"/>
2249
+ <line num="10" count="88" type="stmt"/>
2250
+ <line num="16" count="44" type="cond" truecount="2" falsecount="2"/>
2251
+ <line num="17" count="44" type="stmt"/>
2252
+ <line num="18" count="44" type="stmt"/>
2253
+ <line num="21" count="44" type="stmt"/>
2254
+ <line num="26" count="44" type="stmt"/>
2317
2255
  </file>
2318
2256
  <file name="integration.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/integration.js">
2319
2257
  <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2320
- <line num="1" count="28" type="stmt"/>
2321
- <line num="2" count="28" type="stmt"/>
2322
- <line num="3" count="28" type="stmt"/>
2323
- <line num="4" count="28" type="stmt"/>
2324
- <line num="6" count="28" type="stmt"/>
2325
- <line num="8" count="28" type="stmt"/>
2326
- <line num="12" count="28" type="stmt"/>
2258
+ <line num="1" count="44" type="stmt"/>
2259
+ <line num="2" count="44" type="stmt"/>
2260
+ <line num="3" count="44" type="stmt"/>
2261
+ <line num="4" count="44" type="stmt"/>
2262
+ <line num="6" count="44" type="stmt"/>
2263
+ <line num="8" count="44" type="stmt"/>
2264
+ <line num="12" count="44" type="stmt"/>
2327
2265
  </file>
2328
2266
  <file name="layout.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/layout.js">
2329
2267
  <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2330
- <line num="1" count="28" type="stmt"/>
2331
- <line num="2" count="28" type="stmt"/>
2332
- <line num="3" count="28" type="stmt"/>
2333
- <line num="4" count="28" type="stmt"/>
2334
- <line num="6" count="28" type="stmt"/>
2335
- <line num="8" count="28" type="stmt"/>
2336
- <line num="16" count="28" type="stmt"/>
2268
+ <line num="1" count="44" type="stmt"/>
2269
+ <line num="2" count="44" type="stmt"/>
2270
+ <line num="3" count="44" type="stmt"/>
2271
+ <line num="4" count="44" type="stmt"/>
2272
+ <line num="6" count="44" type="stmt"/>
2273
+ <line num="8" count="44" type="stmt"/>
2274
+ <line num="16" count="44" type="stmt"/>
2337
2275
  </file>
2338
2276
  <file name="metadata.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/metadata.js">
2339
2277
  <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2340
- <line num="1" count="28" type="stmt"/>
2341
- <line num="2" count="28" type="stmt"/>
2342
- <line num="6" count="28" type="stmt"/>
2343
- <line num="7" count="28" type="stmt"/>
2344
- <line num="8" count="28" type="stmt"/>
2345
- <line num="10" count="28" type="stmt"/>
2346
- <line num="12" count="28" type="stmt"/>
2347
- <line num="38" count="28" type="stmt"/>
2278
+ <line num="1" count="44" type="stmt"/>
2279
+ <line num="2" count="44" type="stmt"/>
2280
+ <line num="6" count="44" type="stmt"/>
2281
+ <line num="7" count="44" type="stmt"/>
2282
+ <line num="8" count="44" type="stmt"/>
2283
+ <line num="10" count="44" type="stmt"/>
2284
+ <line num="12" count="44" type="stmt"/>
2285
+ <line num="38" count="44" type="stmt"/>
2348
2286
  </file>
2349
2287
  <file name="migrations.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/migrations.js">
2350
2288
  <metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2351
- <line num="1" count="28" type="stmt"/>
2352
- <line num="2" count="28" type="stmt"/>
2353
- <line num="3" count="28" type="stmt"/>
2354
- <line num="4" count="28" type="stmt"/>
2355
- <line num="6" count="28" type="stmt"/>
2356
- <line num="14" count="28" type="stmt"/>
2289
+ <line num="1" count="44" type="stmt"/>
2290
+ <line num="2" count="44" type="stmt"/>
2291
+ <line num="3" count="44" type="stmt"/>
2292
+ <line num="4" count="44" type="stmt"/>
2293
+ <line num="6" count="44" type="stmt"/>
2294
+ <line num="14" count="44" type="stmt"/>
2357
2295
  </file>
2358
2296
  <file name="permission.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/permission.js">
2359
2297
  <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2360
- <line num="1" count="28" type="stmt"/>
2361
- <line num="2" count="28" type="stmt"/>
2362
- <line num="3" count="28" type="stmt"/>
2363
- <line num="4" count="28" type="stmt"/>
2364
- <line num="5" count="28" type="stmt"/>
2365
- <line num="7" count="28" type="stmt"/>
2366
- <line num="9" count="28" type="stmt"/>
2367
- <line num="33" count="28" type="stmt"/>
2298
+ <line num="1" count="44" type="stmt"/>
2299
+ <line num="2" count="44" type="stmt"/>
2300
+ <line num="3" count="44" type="stmt"/>
2301
+ <line num="4" count="44" type="stmt"/>
2302
+ <line num="5" count="44" type="stmt"/>
2303
+ <line num="7" count="44" type="stmt"/>
2304
+ <line num="9" count="44" type="stmt"/>
2305
+ <line num="33" count="44" type="stmt"/>
2368
2306
  </file>
2369
2307
  <file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/query.js">
2370
2308
  <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2371
- <line num="1" count="28" type="stmt"/>
2372
- <line num="2" count="28" type="stmt"/>
2373
- <line num="3" count="28" type="stmt"/>
2374
- <line num="8" count="28" type="stmt"/>
2375
- <line num="13" count="28" type="stmt"/>
2376
- <line num="17" count="28" type="stmt"/>
2377
- <line num="19" count="28" type="stmt"/>
2378
- <line num="21" count="28" type="stmt"/>
2379
- <line num="64" count="28" type="stmt"/>
2309
+ <line num="1" count="44" type="stmt"/>
2310
+ <line num="2" count="44" type="stmt"/>
2311
+ <line num="3" count="44" type="stmt"/>
2312
+ <line num="8" count="44" type="stmt"/>
2313
+ <line num="13" count="44" type="stmt"/>
2314
+ <line num="17" count="44" type="stmt"/>
2315
+ <line num="19" count="44" type="stmt"/>
2316
+ <line num="21" count="44" type="stmt"/>
2317
+ <line num="64" count="44" type="stmt"/>
2380
2318
  </file>
2381
2319
  <file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/role.js">
2382
2320
  <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2383
- <line num="1" count="28" type="stmt"/>
2384
- <line num="2" count="28" type="stmt"/>
2385
- <line num="3" count="28" type="stmt"/>
2386
- <line num="4" count="28" type="stmt"/>
2387
- <line num="5" count="28" type="stmt"/>
2388
- <line num="7" count="28" type="stmt"/>
2389
- <line num="9" count="28" type="stmt"/>
2390
- <line num="15" count="28" type="stmt"/>
2321
+ <line num="1" count="44" type="stmt"/>
2322
+ <line num="2" count="44" type="stmt"/>
2323
+ <line num="3" count="44" type="stmt"/>
2324
+ <line num="4" count="44" type="stmt"/>
2325
+ <line num="5" count="44" type="stmt"/>
2326
+ <line num="7" count="44" type="stmt"/>
2327
+ <line num="9" count="44" type="stmt"/>
2328
+ <line num="15" count="44" type="stmt"/>
2391
2329
  </file>
2392
2330
  <file name="routing.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/routing.js">
2393
2331
  <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2394
- <line num="1" count="28" type="stmt"/>
2395
- <line num="2" count="28" type="stmt"/>
2396
- <line num="3" count="28" type="stmt"/>
2397
- <line num="4" count="28" type="stmt"/>
2398
- <line num="6" count="28" type="stmt"/>
2399
- <line num="8" count="28" type="stmt"/>
2400
- <line num="14" count="28" type="stmt"/>
2332
+ <line num="1" count="44" type="stmt"/>
2333
+ <line num="2" count="44" type="stmt"/>
2334
+ <line num="3" count="44" type="stmt"/>
2335
+ <line num="4" count="44" type="stmt"/>
2336
+ <line num="6" count="44" type="stmt"/>
2337
+ <line num="8" count="44" type="stmt"/>
2338
+ <line num="14" count="44" type="stmt"/>
2401
2339
  </file>
2402
2340
  <file name="screen.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/screen.js">
2403
2341
  <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2404
- <line num="1" count="28" type="stmt"/>
2405
- <line num="2" count="28" type="stmt"/>
2406
- <line num="3" count="28" type="stmt"/>
2407
- <line num="4" count="28" type="stmt"/>
2408
- <line num="5" count="28" type="stmt"/>
2409
- <line num="7" count="28" type="stmt"/>
2410
- <line num="9" count="28" type="stmt"/>
2411
- <line num="18" count="28" type="stmt"/>
2342
+ <line num="1" count="44" type="stmt"/>
2343
+ <line num="2" count="44" type="stmt"/>
2344
+ <line num="3" count="44" type="stmt"/>
2345
+ <line num="4" count="44" type="stmt"/>
2346
+ <line num="5" count="44" type="stmt"/>
2347
+ <line num="7" count="44" type="stmt"/>
2348
+ <line num="9" count="44" type="stmt"/>
2349
+ <line num="18" count="44" type="stmt"/>
2412
2350
  </file>
2413
2351
  <file name="script.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/script.js">
2414
2352
  <metrics statements="7" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
@@ -2422,110 +2360,99 @@
2422
2360
  </file>
2423
2361
  <file name="table.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/table.js">
2424
2362
  <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2425
- <line num="1" count="28" type="stmt"/>
2426
- <line num="2" count="28" type="stmt"/>
2427
- <line num="3" count="28" type="stmt"/>
2428
- <line num="4" count="28" type="stmt"/>
2429
- <line num="9" count="28" type="stmt"/>
2430
- <line num="10" count="28" type="stmt"/>
2431
- <line num="12" count="28" type="stmt"/>
2432
- <line num="14" count="28" type="stmt"/>
2433
- <line num="196" count="28" type="stmt"/>
2363
+ <line num="1" count="44" type="stmt"/>
2364
+ <line num="2" count="44" type="stmt"/>
2365
+ <line num="3" count="44" type="stmt"/>
2366
+ <line num="4" count="44" type="stmt"/>
2367
+ <line num="9" count="44" type="stmt"/>
2368
+ <line num="10" count="44" type="stmt"/>
2369
+ <line num="12" count="44" type="stmt"/>
2370
+ <line num="14" count="44" type="stmt"/>
2371
+ <line num="196" count="44" type="stmt"/>
2434
2372
  </file>
2435
2373
  <file name="templates.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/templates.js">
2436
2374
  <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2437
- <line num="1" count="28" type="stmt"/>
2438
- <line num="2" count="28" type="stmt"/>
2439
- <line num="3" count="28" type="stmt"/>
2440
- <line num="4" count="28" type="stmt"/>
2441
- <line num="6" count="28" type="stmt"/>
2442
- <line num="8" count="28" type="stmt"/>
2443
- <line num="16" count="28" type="stmt"/>
2375
+ <line num="1" count="44" type="stmt"/>
2376
+ <line num="2" count="44" type="stmt"/>
2377
+ <line num="3" count="44" type="stmt"/>
2378
+ <line num="4" count="44" type="stmt"/>
2379
+ <line num="6" count="44" type="stmt"/>
2380
+ <line num="8" count="44" type="stmt"/>
2381
+ <line num="16" count="44" type="stmt"/>
2444
2382
  </file>
2445
2383
  <file name="user.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/user.js">
2446
2384
  <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2447
- <line num="1" count="28" type="stmt"/>
2448
- <line num="2" count="28" type="stmt"/>
2449
- <line num="3" count="28" type="stmt"/>
2450
- <line num="7" count="28" type="stmt"/>
2451
- <line num="9" count="28" type="stmt"/>
2452
- <line num="11" count="28" type="stmt"/>
2453
- <line num="53" count="28" type="stmt"/>
2385
+ <line num="1" count="44" type="stmt"/>
2386
+ <line num="2" count="44" type="stmt"/>
2387
+ <line num="3" count="44" type="stmt"/>
2388
+ <line num="7" count="44" type="stmt"/>
2389
+ <line num="9" count="44" type="stmt"/>
2390
+ <line num="11" count="44" type="stmt"/>
2391
+ <line num="53" count="44" type="stmt"/>
2454
2392
  </file>
2455
2393
  <file name="view.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/view.js">
2456
2394
  <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2457
- <line num="1" count="28" type="stmt"/>
2458
- <line num="2" count="28" type="stmt"/>
2459
- <line num="3" count="28" type="stmt"/>
2460
- <line num="4" count="28" type="stmt"/>
2461
- <line num="5" count="28" type="stmt"/>
2462
- <line num="10" count="28" type="stmt"/>
2463
- <line num="12" count="28" type="stmt"/>
2464
- <line num="14" count="28" type="stmt"/>
2465
- <line num="31" count="28" type="stmt"/>
2466
- </file>
2467
- <file name="webhook.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/webhook.js">
2468
- <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2469
- <line num="1" count="28" type="stmt"/>
2470
- <line num="2" count="28" type="stmt"/>
2471
- <line num="3" count="28" type="stmt"/>
2472
- <line num="4" count="28" type="stmt"/>
2473
- <line num="5" count="28" type="stmt"/>
2474
- <line num="7" count="28" type="stmt"/>
2475
- <line num="9" count="28" type="stmt"/>
2476
- <line num="26" count="28" type="stmt"/>
2395
+ <line num="1" count="44" type="stmt"/>
2396
+ <line num="2" count="44" type="stmt"/>
2397
+ <line num="3" count="44" type="stmt"/>
2398
+ <line num="4" count="44" type="stmt"/>
2399
+ <line num="5" count="44" type="stmt"/>
2400
+ <line num="10" count="44" type="stmt"/>
2401
+ <line num="12" count="44" type="stmt"/>
2402
+ <line num="14" count="44" type="stmt"/>
2403
+ <line num="31" count="44" type="stmt"/>
2477
2404
  </file>
2478
2405
  </package>
2479
2406
  <package name="api.routes.utils">
2480
2407
  <metrics statements="42" coveredstatements="42" conditionals="8" coveredconditionals="7" methods="14" coveredmethods="14"/>
2481
2408
  <file name="validators.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/utils/validators.js">
2482
2409
  <metrics statements="42" coveredstatements="42" conditionals="8" coveredconditionals="7" methods="14" coveredmethods="14"/>
2483
- <line num="1" count="28" type="stmt"/>
2484
- <line num="2" count="28" type="stmt"/>
2485
- <line num="3" count="28" type="stmt"/>
2486
- <line num="7" count="28" type="stmt"/>
2487
- <line num="8" count="28" type="stmt"/>
2488
- <line num="10" count="28" type="stmt"/>
2489
- <line num="11" count="28" type="stmt"/>
2490
- <line num="12" count="28" type="stmt"/>
2491
- <line num="13" count="28" type="stmt"/>
2492
- <line num="15" count="28" type="stmt"/>
2493
- <line num="17" count="84" type="stmt"/>
2494
- <line num="29" count="28" type="stmt"/>
2495
- <line num="31" count="112" type="stmt"/>
2496
- <line num="36" count="28" type="stmt"/>
2497
- <line num="38" count="28" type="stmt"/>
2498
- <line num="52" count="84" type="stmt"/>
2499
- <line num="67" count="28" type="stmt"/>
2500
- <line num="69" count="28" type="stmt"/>
2501
- <line num="81" count="28" type="stmt"/>
2502
- <line num="82" count="28" type="stmt"/>
2503
- <line num="99" count="28" type="stmt"/>
2504
- <line num="101" count="28" type="stmt"/>
2505
- <line num="120" count="28" type="stmt"/>
2506
- <line num="122" count="28" type="stmt"/>
2507
- <line num="135" count="28" type="stmt"/>
2508
- <line num="136" count="28" type="stmt"/>
2509
- <line num="138" count="28" type="stmt"/>
2510
- <line num="151" count="28" type="stmt"/>
2511
- <line num="152" count="56" type="stmt"/>
2512
- <line num="154" count="56" type="stmt"/>
2513
- <line num="161" count="28" type="stmt"/>
2514
- <line num="163" count="28" type="stmt"/>
2515
- <line num="186" count="112" type="stmt"/>
2516
- <line num="199" count="28" type="cond" truecount="0" falsecount="1"/>
2517
- <line num="201" count="56" type="stmt"/>
2518
- <line num="213" count="28" type="cond" truecount="1" falsecount="0"/>
2519
- <line num="215" count="112" type="stmt"/>
2520
- <line num="224" count="112" type="stmt"/>
2521
- <line num="227" count="112" type="cond" truecount="2" falsecount="0"/>
2522
- <line num="228" count="84" type="stmt"/>
2523
- <line num="230" count="28" type="stmt"/>
2524
- <line num="233" count="112" type="stmt"/>
2410
+ <line num="1" count="44" type="stmt"/>
2411
+ <line num="2" count="44" type="stmt"/>
2412
+ <line num="6" count="44" type="stmt"/>
2413
+ <line num="7" count="44" type="stmt"/>
2414
+ <line num="8" count="44" type="stmt"/>
2415
+ <line num="10" count="44" type="stmt"/>
2416
+ <line num="11" count="44" type="stmt"/>
2417
+ <line num="12" count="44" type="stmt"/>
2418
+ <line num="13" count="44" type="stmt"/>
2419
+ <line num="15" count="44" type="stmt"/>
2420
+ <line num="17" count="132" type="stmt"/>
2421
+ <line num="29" count="44" type="stmt"/>
2422
+ <line num="31" count="176" type="stmt"/>
2423
+ <line num="36" count="44" type="stmt"/>
2424
+ <line num="38" count="44" type="stmt"/>
2425
+ <line num="52" count="132" type="stmt"/>
2426
+ <line num="67" count="44" type="stmt"/>
2427
+ <line num="69" count="44" type="stmt"/>
2428
+ <line num="81" count="44" type="stmt"/>
2429
+ <line num="82" count="44" type="stmt"/>
2430
+ <line num="99" count="44" type="stmt"/>
2431
+ <line num="101" count="44" type="stmt"/>
2432
+ <line num="120" count="44" type="stmt"/>
2433
+ <line num="122" count="44" type="stmt"/>
2434
+ <line num="135" count="44" type="stmt"/>
2435
+ <line num="136" count="44" type="stmt"/>
2436
+ <line num="138" count="44" type="stmt"/>
2437
+ <line num="151" count="44" type="stmt"/>
2438
+ <line num="152" count="88" type="stmt"/>
2439
+ <line num="154" count="88" type="stmt"/>
2440
+ <line num="161" count="44" type="stmt"/>
2441
+ <line num="163" count="44" type="stmt"/>
2442
+ <line num="186" count="176" type="stmt"/>
2443
+ <line num="199" count="44" type="cond" truecount="0" falsecount="1"/>
2444
+ <line num="201" count="88" type="stmt"/>
2445
+ <line num="213" count="44" type="cond" truecount="1" falsecount="0"/>
2446
+ <line num="215" count="176" type="stmt"/>
2447
+ <line num="224" count="176" type="stmt"/>
2448
+ <line num="227" count="176" type="cond" truecount="2" falsecount="0"/>
2449
+ <line num="228" count="132" type="stmt"/>
2450
+ <line num="230" count="44" type="stmt"/>
2451
+ <line num="233" count="176" type="stmt"/>
2525
2452
  </file>
2526
2453
  </package>
2527
2454
  <package name="automations">
2528
- <metrics statements="172" coveredstatements="135" conditionals="68" coveredconditionals="47" methods="22" coveredmethods="16"/>
2455
+ <metrics statements="176" coveredstatements="136" conditionals="71" coveredconditionals="48" methods="22" coveredmethods="16"/>
2529
2456
  <file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
2530
2457
  <metrics statements="24" coveredstatements="24" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
2531
2458
  <line num="1" count="45" type="stmt"/>
@@ -2609,26 +2536,30 @@
2609
2536
  <line num="114" count="0" type="stmt"/>
2610
2537
  </file>
2611
2538
  <file name="bullboard.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/bullboard.js">
2612
- <metrics statements="19" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
2539
+ <metrics statements="23" coveredstatements="11" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
2613
2540
  <line num="1" count="45" type="stmt"/>
2614
2541
  <line num="2" count="45" type="stmt"/>
2615
2542
  <line num="3" count="45" type="stmt"/>
2616
2543
  <line num="4" count="45" type="stmt"/>
2617
2544
  <line num="5" count="45" type="stmt"/>
2618
- <line num="7" count="45" type="stmt"/>
2619
- <line num="12" count="45" type="stmt"/>
2620
- <line num="14" count="45" type="stmt"/>
2621
- <line num="16" count="0" type="stmt"/>
2545
+ <line num="6" count="45" type="stmt"/>
2546
+ <line num="8" count="45" type="stmt"/>
2547
+ <line num="13" count="45" type="stmt"/>
2548
+ <line num="15" count="45" type="stmt"/>
2622
2549
  <line num="17" count="0" type="stmt"/>
2623
2550
  <line num="18" count="0" type="stmt"/>
2624
- <line num="19" count="0" type="stmt"/>
2551
+ <line num="19" count="0" type="cond" truecount="0" falsecount="2"/>
2625
2552
  <line num="20" count="0" type="stmt"/>
2626
2553
  <line num="22" count="0" type="stmt"/>
2627
- <line num="26" count="0" type="stmt"/>
2554
+ <line num="23" count="0" type="stmt"/>
2555
+ <line num="24" count="0" type="stmt"/>
2556
+ <line num="25" count="0" type="stmt"/>
2628
2557
  <line num="27" count="0" type="stmt"/>
2629
- <line num="30" count="45" type="stmt"/>
2630
2558
  <line num="31" count="0" type="stmt"/>
2631
- <line num="34" count="45" type="stmt"/>
2559
+ <line num="32" count="0" type="stmt"/>
2560
+ <line num="35" count="45" type="stmt"/>
2561
+ <line num="36" count="0" type="stmt"/>
2562
+ <line num="39" count="45" type="stmt"/>
2632
2563
  </file>
2633
2564
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/index.js">
2634
2565
  <metrics statements="16" coveredstatements="14" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="2"/>
@@ -2637,10 +2568,10 @@
2637
2568
  <line num="3" count="44" type="stmt"/>
2638
2569
  <line num="4" count="44" type="stmt"/>
2639
2570
  <line num="9" count="44" type="stmt"/>
2640
- <line num="11" count="31" type="stmt"/>
2571
+ <line num="11" count="45" type="stmt"/>
2641
2572
  <line num="12" count="7" type="stmt"/>
2642
- <line num="15" count="31" type="stmt"/>
2643
- <line num="16" count="31" type="stmt"/>
2573
+ <line num="15" count="45" type="stmt"/>
2574
+ <line num="16" count="45" type="stmt"/>
2644
2575
  <line num="19" count="44" type="stmt"/>
2645
2576
  <line num="20" count="0" type="stmt"/>
2646
2577
  <line num="23" count="44" type="stmt"/>
@@ -2650,20 +2581,20 @@
2650
2581
  <line num="29" count="44" type="stmt"/>
2651
2582
  </file>
2652
2583
  <file name="triggers.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggers.js">
2653
- <metrics statements="61" coveredstatements="55" conditionals="33" coveredconditionals="25" methods="11" coveredmethods="11"/>
2654
- <line num="1" count="45" type="stmt"/>
2655
- <line num="2" count="45" type="stmt"/>
2656
- <line num="3" count="45" type="stmt"/>
2657
- <line num="4" count="45" type="stmt"/>
2658
- <line num="5" count="45" type="stmt"/>
2659
- <line num="7" count="45" type="stmt"/>
2660
- <line num="8" count="45" type="stmt"/>
2661
- <line num="9" count="45" type="stmt"/>
2662
- <line num="10" count="45" type="stmt"/>
2663
- <line num="11" count="45" type="stmt"/>
2664
- <line num="12" count="45" type="stmt"/>
2665
- <line num="14" count="45" type="stmt"/>
2666
- <line num="15" count="45" type="stmt"/>
2584
+ <metrics statements="61" coveredstatements="55" conditionals="34" coveredconditionals="26" methods="11" coveredmethods="11"/>
2585
+ <line num="1" count="44" type="stmt"/>
2586
+ <line num="2" count="44" type="stmt"/>
2587
+ <line num="3" count="44" type="stmt"/>
2588
+ <line num="4" count="44" type="stmt"/>
2589
+ <line num="5" count="44" type="stmt"/>
2590
+ <line num="7" count="44" type="stmt"/>
2591
+ <line num="8" count="44" type="stmt"/>
2592
+ <line num="9" count="44" type="stmt"/>
2593
+ <line num="10" count="44" type="stmt"/>
2594
+ <line num="11" count="44" type="stmt"/>
2595
+ <line num="12" count="44" type="stmt"/>
2596
+ <line num="14" count="44" type="stmt"/>
2597
+ <line num="15" count="44" type="stmt"/>
2667
2598
  <line num="21" count="21" type="stmt"/>
2668
2599
  <line num="22" count="21" type="stmt"/>
2669
2600
  <line num="25" count="21" type="stmt"/>
@@ -2681,13 +2612,13 @@
2681
2612
  <line num="53" count="0" type="stmt"/>
2682
2613
  <line num="55" count="4" type="cond" truecount="1" falsecount="1"/>
2683
2614
  <line num="59" count="4" type="stmt"/>
2684
- <line num="65" count="45" type="stmt"/>
2615
+ <line num="65" count="44" type="stmt"/>
2685
2616
  <line num="70" count="8" type="stmt"/>
2686
- <line num="73" count="45" type="stmt"/>
2617
+ <line num="73" count="44" type="stmt"/>
2687
2618
  <line num="78" count="4" type="stmt"/>
2688
- <line num="81" count="45" type="stmt"/>
2619
+ <line num="81" count="44" type="stmt"/>
2689
2620
  <line num="86" count="6" type="stmt"/>
2690
- <line num="89" count="45" type="stmt"/>
2621
+ <line num="89" count="44" type="stmt"/>
2691
2622
  <line num="94" count="5" type="cond" truecount="2" falsecount="0"/>
2692
2623
  <line num="102" count="1" type="stmt"/>
2693
2624
  <line num="103" count="1" type="stmt"/>
@@ -2698,11 +2629,11 @@
2698
2629
  <line num="110" count="5" type="cond" truecount="2" falsecount="0"/>
2699
2630
  <line num="111" count="2" type="stmt"/>
2700
2631
  <line num="113" count="3" type="stmt"/>
2701
- <line num="117" count="45" type="stmt"/>
2702
- <line num="120" count="31" type="cond" truecount="3" falsecount="1"/>
2632
+ <line num="117" count="44" type="stmt"/>
2633
+ <line num="120" count="45" type="cond" truecount="4" falsecount="1"/>
2703
2634
  <line num="121" count="0" type="stmt"/>
2704
- <line num="125" count="31" type="stmt"/>
2705
- <line num="126" count="31" type="stmt"/>
2635
+ <line num="125" count="45" type="stmt"/>
2636
+ <line num="126" count="45" type="stmt"/>
2706
2637
  <line num="127" count="3" type="stmt"/>
2707
2638
  <line num="128" count="3" type="stmt"/>
2708
2639
  <line num="129" count="3" type="stmt"/>
@@ -2711,11 +2642,11 @@
2711
2642
  <line num="132" count="0" type="stmt"/>
2712
2643
  <line num="139" count="0" type="stmt"/>
2713
2644
  <line num="142" count="3" type="stmt"/>
2714
- <line num="147" count="45" type="stmt"/>
2645
+ <line num="147" count="44" type="stmt"/>
2715
2646
  </file>
2716
2647
  </package>
2717
2648
  <package name="automations.steps">
2718
- <metrics statements="238" coveredstatements="168" conditionals="109" coveredconditionals="72" methods="21" coveredmethods="12"/>
2649
+ <metrics statements="238" coveredstatements="167" conditionals="109" coveredconditionals="72" methods="21" coveredmethods="11"/>
2719
2650
  <file name="bash.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/bash.js">
2720
2651
  <metrics statements="17" coveredstatements="6" conditionals="4" coveredconditionals="0" methods="1" coveredmethods="0"/>
2721
2652
  <line num="1" count="45" type="stmt"/>
@@ -2970,7 +2901,7 @@
2970
2901
  <line num="101" count="1" type="stmt"/>
2971
2902
  </file>
2972
2903
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/utils.js">
2973
- <metrics statements="19" coveredstatements="17" conditionals="11" coveredconditionals="8" methods="3" coveredmethods="3"/>
2904
+ <metrics statements="19" coveredstatements="16" conditionals="11" coveredconditionals="8" methods="3" coveredmethods="2"/>
2974
2905
  <line num="1" count="45" type="stmt"/>
2975
2906
  <line num="2" count="2" type="stmt"/>
2976
2907
  <line num="4" count="2" type="stmt"/>
@@ -2982,7 +2913,7 @@
2982
2913
  <line num="14" count="2" type="stmt"/>
2983
2914
  <line num="21" count="45" type="cond" truecount="0" falsecount="1"/>
2984
2915
  <line num="22" count="22" type="stmt"/>
2985
- <line num="27" count="1" type="stmt"/>
2916
+ <line num="27" count="0" type="stmt"/>
2986
2917
  <line num="30" count="22" type="cond" truecount="2" falsecount="0"/>
2987
2918
  <line num="31" count="17" type="stmt"/>
2988
2919
  <line num="33" count="22" type="cond" truecount="1" falsecount="1"/>
@@ -3041,9 +2972,9 @@
3041
2972
  </file>
3042
2973
  </package>
3043
2974
  <package name="constants">
3044
- <metrics statements="35" coveredstatements="35" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
2975
+ <metrics statements="34" coveredstatements="34" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
3045
2976
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/index.js">
3046
- <metrics statements="28" coveredstatements="28" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
2977
+ <metrics statements="27" coveredstatements="27" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
3047
2978
  <line num="1" count="53" type="stmt"/>
3048
2979
  <line num="2" count="53" type="stmt"/>
3049
2980
  <line num="3" count="53" type="stmt"/>
@@ -3069,9 +3000,8 @@
3069
3000
  <line num="188" count="53" type="stmt"/>
3070
3001
  <line num="194" count="53" type="stmt"/>
3071
3002
  <line num="199" count="53" type="stmt"/>
3072
- <line num="203" count="53" type="stmt"/>
3073
- <line num="210" count="53" type="stmt"/>
3074
- <line num="212" count="53" type="stmt"/>
3003
+ <line num="206" count="53" type="stmt"/>
3004
+ <line num="208" count="53" type="stmt"/>
3075
3005
  </file>
3076
3006
  <file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
3077
3007
  <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
@@ -3176,7 +3106,7 @@
3176
3106
  <line num="97" count="0" type="stmt"/>
3177
3107
  <line num="100" count="0" type="stmt"/>
3178
3108
  <line num="106" count="59" type="cond" truecount="0" falsecount="2"/>
3179
- <line num="107" count="276" type="stmt"/>
3109
+ <line num="107" count="278" type="stmt"/>
3180
3110
  <line num="114" count="59" type="stmt"/>
3181
3111
  <line num="115" count="27" type="stmt"/>
3182
3112
  <line num="129" count="59" type="stmt"/>
@@ -3564,7 +3494,7 @@
3564
3494
  <line num="2" count="45" type="stmt"/>
3565
3495
  <line num="16" count="14" type="stmt"/>
3566
3496
  <line num="20" count="12" type="stmt"/>
3567
- <line num="24" count="28" type="stmt"/>
3497
+ <line num="24" count="42" type="stmt"/>
3568
3498
  <line num="28" count="45" type="stmt"/>
3569
3499
  <line num="30" count="45" type="stmt"/>
3570
3500
  </file>
@@ -3601,10 +3531,10 @@
3601
3531
  <metrics statements="186" coveredstatements="141" conditionals="127" coveredconditionals="91" methods="25" coveredmethods="21"/>
3602
3532
  <file name="appInfo.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/appInfo.js">
3603
3533
  <metrics statements="10" coveredstatements="8" conditionals="11" coveredconditionals="6" methods="2" coveredmethods="2"/>
3604
- <line num="1" count="28" type="stmt"/>
3605
- <line num="3" count="28" type="stmt"/>
3606
- <line num="8" count="28" type="stmt"/>
3607
- <line num="10" count="168" type="stmt"/>
3534
+ <line num="1" count="44" type="stmt"/>
3535
+ <line num="3" count="44" type="stmt"/>
3536
+ <line num="8" count="44" type="stmt"/>
3537
+ <line num="10" count="264" type="stmt"/>
3608
3538
  <line num="11" count="7" type="stmt"/>
3609
3539
  <line num="12" count="7" type="cond" truecount="4" falsecount="1"/>
3610
3540
  <line num="13" count="0" type="stmt"/>
@@ -3614,13 +3544,13 @@
3614
3544
  </file>
3615
3545
  <file name="builder.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/builder.js">
3616
3546
  <metrics statements="42" coveredstatements="37" conditionals="28" coveredconditionals="22" methods="4" coveredmethods="4"/>
3617
- <line num="1" count="29" type="stmt"/>
3618
- <line num="7" count="29" type="stmt"/>
3619
- <line num="8" count="29" type="stmt"/>
3620
- <line num="9" count="29" type="stmt"/>
3621
- <line num="10" count="29" type="stmt"/>
3622
- <line num="11" count="29" type="stmt"/>
3623
- <line num="13" count="29" type="stmt"/>
3547
+ <line num="1" count="45" type="stmt"/>
3548
+ <line num="7" count="45" type="stmt"/>
3549
+ <line num="8" count="45" type="stmt"/>
3550
+ <line num="9" count="45" type="stmt"/>
3551
+ <line num="10" count="45" type="stmt"/>
3552
+ <line num="11" count="45" type="stmt"/>
3553
+ <line num="13" count="45" type="stmt"/>
3624
3554
  <line num="25" count="1" type="stmt"/>
3625
3555
  <line num="28" count="1" type="cond" truecount="2" falsecount="2"/>
3626
3556
  <line num="29" count="0" type="stmt"/>
@@ -3640,7 +3570,7 @@
3640
3570
  <line num="58" count="1" type="stmt"/>
3641
3571
  <line num="59" count="1" type="stmt"/>
3642
3572
  <line num="61" count="1" type="stmt"/>
3643
- <line num="65" count="29" type="stmt"/>
3573
+ <line num="65" count="45" type="stmt"/>
3644
3574
  <line num="66" count="224" type="stmt"/>
3645
3575
  <line num="68" count="224" type="cond" truecount="2" falsecount="0"/>
3646
3576
  <line num="69" count="5" type="stmt"/>
@@ -3659,18 +3589,18 @@
3659
3589
  </file>
3660
3590
  <file name="currentapp.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/currentapp.js">
3661
3591
  <metrics statements="66" coveredstatements="51" conditionals="57" coveredconditionals="46" methods="2" coveredmethods="2"/>
3662
- <line num="6" count="33" type="stmt"/>
3663
- <line num="7" count="33" type="stmt"/>
3664
- <line num="8" count="33" type="stmt"/>
3665
- <line num="9" count="33" type="stmt"/>
3666
- <line num="10" count="33" type="stmt"/>
3667
- <line num="11" count="33" type="stmt"/>
3668
- <line num="12" count="33" type="stmt"/>
3669
- <line num="13" count="33" type="stmt"/>
3670
- <line num="14" count="33" type="stmt"/>
3671
- <line num="15" count="33" type="stmt"/>
3672
- <line num="16" count="33" type="stmt"/>
3673
- <line num="18" count="33" type="stmt"/>
3592
+ <line num="6" count="49" type="stmt"/>
3593
+ <line num="7" count="49" type="stmt"/>
3594
+ <line num="8" count="49" type="stmt"/>
3595
+ <line num="9" count="49" type="stmt"/>
3596
+ <line num="10" count="49" type="stmt"/>
3597
+ <line num="11" count="49" type="stmt"/>
3598
+ <line num="12" count="49" type="stmt"/>
3599
+ <line num="13" count="49" type="stmt"/>
3600
+ <line num="14" count="49" type="stmt"/>
3601
+ <line num="15" count="49" type="stmt"/>
3602
+ <line num="16" count="49" type="stmt"/>
3603
+ <line num="18" count="49" type="stmt"/>
3674
3604
  <line num="20" count="243" type="stmt"/>
3675
3605
  <line num="22" count="243" type="stmt"/>
3676
3606
  <line num="23" count="243" type="stmt"/>
@@ -3751,10 +3681,10 @@
3751
3681
  </file>
3752
3682
  <file name="publicApi.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/publicApi.js">
3753
3683
  <metrics statements="10" coveredstatements="8" conditionals="7" coveredconditionals="4" methods="2" coveredmethods="2"/>
3754
- <line num="1" count="28" type="stmt"/>
3755
- <line num="2" count="28" type="stmt"/>
3756
- <line num="4" count="28" type="cond" truecount="0" falsecount="1"/>
3757
- <line num="5" count="140" type="stmt"/>
3684
+ <line num="1" count="44" type="stmt"/>
3685
+ <line num="2" count="44" type="stmt"/>
3686
+ <line num="4" count="44" type="cond" truecount="0" falsecount="1"/>
3687
+ <line num="5" count="220" type="stmt"/>
3758
3688
  <line num="6" count="21" type="stmt"/>
3759
3689
  <line num="7" count="21" type="cond" truecount="3" falsecount="1"/>
3760
3690
  <line num="8" count="0" type="stmt"/>
@@ -3764,18 +3694,18 @@
3764
3694
  </file>
3765
3695
  <file name="resourceId.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/resourceId.js">
3766
3696
  <metrics statements="29" coveredstatements="29" conditionals="12" coveredconditionals="12" methods="9" coveredmethods="9"/>
3767
- <line num="3" count="958" type="stmt"/>
3768
- <line num="4" count="958" type="stmt"/>
3769
- <line num="5" count="958" type="stmt"/>
3770
- <line num="6" count="958" type="stmt"/>
3771
- <line num="10" count="958" type="stmt"/>
3772
- <line num="11" count="958" type="stmt"/>
3773
- <line num="15" count="115" type="stmt"/>
3774
- <line num="16" count="115" type="stmt"/>
3775
- <line num="20" count="958" type="stmt"/>
3776
- <line num="21" count="958" type="stmt"/>
3777
- <line num="22" count="958" type="stmt"/>
3778
- <line num="23" count="958" type="stmt"/>
3697
+ <line num="3" count="1502" type="stmt"/>
3698
+ <line num="4" count="1502" type="stmt"/>
3699
+ <line num="5" count="1502" type="stmt"/>
3700
+ <line num="6" count="1502" type="stmt"/>
3701
+ <line num="10" count="1502" type="stmt"/>
3702
+ <line num="11" count="1502" type="stmt"/>
3703
+ <line num="15" count="179" type="stmt"/>
3704
+ <line num="16" count="179" type="stmt"/>
3705
+ <line num="20" count="1502" type="stmt"/>
3706
+ <line num="21" count="1502" type="stmt"/>
3707
+ <line num="22" count="1502" type="stmt"/>
3708
+ <line num="23" count="1502" type="stmt"/>
3779
3709
  <line num="24" count="102" type="cond" truecount="2" falsecount="0"/>
3780
3710
  <line num="25" count="102" type="cond" truecount="2" falsecount="0"/>
3781
3711
  <line num="26" count="1" type="stmt"/>
@@ -3784,15 +3714,15 @@
3784
3714
  <line num="31" count="101" type="cond" truecount="4" falsecount="0"/>
3785
3715
  <line num="32" count="15" type="stmt"/>
3786
3716
  <line num="34" count="101" type="stmt"/>
3787
- <line num="39" count="29" type="stmt"/>
3788
- <line num="41" count="29" type="stmt"/>
3789
- <line num="42" count="758" type="stmt"/>
3790
- <line num="45" count="29" type="stmt"/>
3791
- <line num="46" count="85" type="stmt"/>
3792
- <line num="52" count="29" type="stmt"/>
3793
- <line num="53" count="85" type="stmt"/>
3794
- <line num="56" count="29" type="stmt"/>
3795
- <line num="57" count="29" type="stmt"/>
3717
+ <line num="39" count="45" type="stmt"/>
3718
+ <line num="41" count="45" type="stmt"/>
3719
+ <line num="42" count="1190" type="stmt"/>
3720
+ <line num="45" count="45" type="stmt"/>
3721
+ <line num="46" count="133" type="stmt"/>
3722
+ <line num="52" count="45" type="stmt"/>
3723
+ <line num="53" count="133" type="stmt"/>
3724
+ <line num="56" count="45" type="stmt"/>
3725
+ <line num="57" count="45" type="stmt"/>
3796
3726
  </file>
3797
3727
  <file name="selfhost.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/selfhost.js">
3798
3728
  <metrics statements="6" coveredstatements="5" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
@@ -3805,13 +3735,13 @@
3805
3735
  </file>
3806
3736
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/utils.js">
3807
3737
  <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
3808
- <line num="1" count="34" type="stmt"/>
3809
- <line num="5" count="34" type="stmt"/>
3738
+ <line num="1" count="50" type="stmt"/>
3739
+ <line num="5" count="50" type="stmt"/>
3810
3740
  <line num="6" count="228" type="stmt"/>
3811
3741
  </file>
3812
3742
  </package>
3813
3743
  <package name="utilities">
3814
- <metrics statements="378" coveredstatements="269" conditionals="164" coveredconditionals="94" methods="73" coveredmethods="50"/>
3744
+ <metrics statements="378" coveredstatements="279" conditionals="164" coveredconditionals="97" methods="73" coveredmethods="54"/>
3815
3745
  <file name="budibaseDir.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/budibaseDir.js">
3816
3746
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
3817
3747
  <line num="1" count="47" type="stmt"/>
@@ -3992,7 +3922,7 @@
3992
3922
  <line num="19" count="1" type="stmt"/>
3993
3923
  <line num="21" count="1" type="stmt"/>
3994
3924
  <line num="30" count="50" type="stmt"/>
3995
- <line num="31" count="45" type="stmt"/>
3925
+ <line num="31" count="54" type="stmt"/>
3996
3926
  <line num="38" count="50" type="stmt"/>
3997
3927
  <line num="39" count="2" type="cond" truecount="2" falsecount="2"/>
3998
3928
  <line num="41" count="2" type="stmt"/>
@@ -4156,7 +4086,7 @@
4156
4086
  <line num="50" count="2" type="stmt"/>
4157
4087
  </file>
4158
4088
  <file name="workerRequests.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/workerRequests.js">
4159
- <metrics statements="65" coveredstatements="31" conditionals="26" coveredconditionals="10" methods="12" coveredmethods="3"/>
4089
+ <metrics statements="65" coveredstatements="41" conditionals="26" coveredconditionals="13" methods="12" coveredmethods="7"/>
4160
4090
  <line num="1" count="45" type="stmt"/>
4161
4091
  <line num="2" count="45" type="stmt"/>
4162
4092
  <line num="3" count="45" type="stmt"/>
@@ -4164,20 +4094,20 @@
4164
4094
  <line num="5" count="45" type="stmt"/>
4165
4095
  <line num="6" count="45" type="stmt"/>
4166
4096
  <line num="7" count="45" type="stmt"/>
4167
- <line num="10" count="22" type="cond" truecount="1" falsecount="1"/>
4168
- <line num="11" count="22" type="stmt"/>
4169
- <line num="13" count="22" type="cond" truecount="1" falsecount="1"/>
4097
+ <line num="10" count="31" type="cond" truecount="1" falsecount="1"/>
4098
+ <line num="11" count="31" type="stmt"/>
4099
+ <line num="13" count="31" type="cond" truecount="1" falsecount="1"/>
4170
4100
  <line num="14" count="0" type="stmt"/>
4171
4101
  <line num="15" count="0" type="cond" truecount="0" falsecount="2"/>
4172
4102
  <line num="16" count="0" type="stmt"/>
4173
- <line num="19" count="22" type="cond" truecount="2" falsecount="2"/>
4174
- <line num="20" count="0" type="stmt"/>
4175
- <line num="21" count="0" type="stmt"/>
4176
- <line num="26" count="22" type="stmt"/>
4177
- <line num="28" count="22" type="cond" truecount="4" falsecount="0"/>
4178
- <line num="29" count="2" type="stmt"/>
4179
- <line num="31" count="22" type="stmt"/>
4180
- <line num="35" count="22" type="cond" truecount="1" falsecount="1"/>
4103
+ <line num="19" count="31" type="cond" truecount="4" falsecount="0"/>
4104
+ <line num="20" count="2" type="stmt"/>
4105
+ <line num="21" count="2" type="stmt"/>
4106
+ <line num="26" count="29" type="stmt"/>
4107
+ <line num="28" count="31" type="cond" truecount="4" falsecount="0"/>
4108
+ <line num="29" count="11" type="stmt"/>
4109
+ <line num="31" count="31" type="stmt"/>
4110
+ <line num="35" count="31" type="cond" truecount="1" falsecount="1"/>
4181
4111
  <line num="37" count="0" type="stmt"/>
4182
4112
  <line num="38" count="0" type="stmt"/>
4183
4113
  <line num="40" count="0" type="stmt"/>
@@ -4185,7 +4115,7 @@
4185
4115
  <line num="45" count="0" type="cond" truecount="0" falsecount="2"/>
4186
4116
  <line num="46" count="0" type="stmt"/>
4187
4117
  <line num="48" count="0" type="stmt"/>
4188
- <line num="51" count="22" type="stmt"/>
4118
+ <line num="51" count="31" type="stmt"/>
4189
4119
  <line num="54" count="45" type="stmt"/>
4190
4120
  <line num="57" count="45" type="stmt"/>
4191
4121
  <line num="67" count="0" type="stmt"/>
@@ -4202,17 +4132,17 @@
4202
4132
  <line num="102" count="22" type="stmt"/>
4203
4133
  <line num="108" count="22" type="stmt"/>
4204
4134
  <line num="111" count="45" type="stmt"/>
4205
- <line num="112" count="0" type="stmt"/>
4206
- <line num="117" count="0" type="stmt"/>
4135
+ <line num="112" count="1" type="stmt"/>
4136
+ <line num="117" count="1" type="stmt"/>
4207
4137
  <line num="120" count="45" type="stmt"/>
4208
- <line num="121" count="0" type="stmt"/>
4209
- <line num="126" count="0" type="stmt"/>
4138
+ <line num="121" count="2" type="stmt"/>
4139
+ <line num="126" count="2" type="stmt"/>
4210
4140
  <line num="129" count="45" type="stmt"/>
4211
- <line num="130" count="0" type="stmt"/>
4212
- <line num="137" count="0" type="stmt"/>
4141
+ <line num="130" count="1" type="stmt"/>
4142
+ <line num="137" count="1" type="stmt"/>
4213
4143
  <line num="140" count="45" type="stmt"/>
4214
- <line num="141" count="0" type="stmt"/>
4215
- <line num="148" count="0" type="stmt"/>
4144
+ <line num="141" count="5" type="stmt"/>
4145
+ <line num="148" count="5" type="stmt"/>
4216
4146
  <line num="151" count="45" type="stmt"/>
4217
4147
  <line num="152" count="0" type="stmt"/>
4218
4148
  <line num="156" count="0" type="stmt"/>
@@ -4257,15 +4187,15 @@
4257
4187
  <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
4258
4188
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/routing/index.js">
4259
4189
  <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
4260
- <line num="1" count="28" type="stmt"/>
4261
- <line num="2" count="28" type="stmt"/>
4262
- <line num="3" count="28" type="stmt"/>
4263
- <line num="5" count="28" type="stmt"/>
4190
+ <line num="1" count="44" type="stmt"/>
4191
+ <line num="2" count="44" type="stmt"/>
4192
+ <line num="3" count="44" type="stmt"/>
4193
+ <line num="5" count="44" type="stmt"/>
4264
4194
  <line num="6" count="3" type="stmt"/>
4265
4195
  <line num="7" count="3" type="stmt"/>
4266
4196
  <line num="8" count="3" type="stmt"/>
4267
4197
  <line num="12" count="6" type="stmt"/>
4268
- <line num="25" count="28" type="stmt"/>
4198
+ <line num="25" count="44" type="stmt"/>
4269
4199
  </file>
4270
4200
  </package>
4271
4201
  <package name="utilities.rowProcessor">