@budibase/server 2.0.37 → 2.0.39

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 (157) hide show
  1. package/builder/assets/{index.6aef4dc6.js → index.b20dee52.js} +213 -213
  2. package/builder/index.html +1 -1
  3. package/coverage/clover.xml +279 -269
  4. package/coverage/coverage-final.json +14 -14
  5. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  6. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  7. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/index.html +1 -1
  12. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  15. package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
  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 +1 -1
  19. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  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 +1 -1
  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 +1 -1
  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 +13 -13
  38. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +8 -8
  39. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  40. package/coverage/lcov-report/api/index.html +1 -1
  41. package/coverage/lcov-report/api/index.js.html +1 -1
  42. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  43. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  44. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  45. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  46. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  47. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  48. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/index.html +1 -1
  52. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/utils/index.html +1 -1
  66. package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  69. package/coverage/lcov-report/automations/actions.js.html +1 -1
  70. package/coverage/lcov-report/automations/automationUtils.js.html +72 -45
  71. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  72. package/coverage/lcov-report/automations/index.html +21 -21
  73. package/coverage/lcov-report/automations/index.js.html +1 -1
  74. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  75. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  76. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  77. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  78. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  79. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  80. package/coverage/lcov-report/automations/steps/index.html +1 -1
  81. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  82. package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
  83. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  91. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  92. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  93. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  94. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  95. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  96. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  97. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  98. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  99. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  100. package/coverage/lcov-report/constants/index.html +1 -1
  101. package/coverage/lcov-report/constants/index.js.html +30 -30
  102. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  103. package/coverage/lcov-report/constants/screens.js.html +1 -1
  104. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  105. package/coverage/lcov-report/db/index.html +1 -1
  106. package/coverage/lcov-report/db/index.js.html +1 -1
  107. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +7 -7
  108. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  109. package/coverage/lcov-report/db/linkedRows/index.js.html +18 -18
  110. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +13 -13
  111. package/coverage/lcov-report/db/newid.js.html +3 -3
  112. package/coverage/lcov-report/db/utils.js.html +62 -62
  113. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  114. package/coverage/lcov-report/events/index.html +1 -1
  115. package/coverage/lcov-report/events/index.js.html +1 -1
  116. package/coverage/lcov-report/events/utils.js.html +1 -1
  117. package/coverage/lcov-report/index.html +20 -20
  118. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  119. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  120. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  121. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  122. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  123. package/coverage/lcov-report/middleware/index.html +1 -1
  124. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  125. package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
  126. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  127. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  128. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  129. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  130. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  131. package/coverage/lcov-report/utilities/csvParser.js.html +6 -6
  132. package/coverage/lcov-report/utilities/global.js.html +16 -16
  133. package/coverage/lcov-report/utilities/index.html +1 -1
  134. package/coverage/lcov-report/utilities/index.js.html +24 -24
  135. package/coverage/lcov-report/utilities/plugins.js.html +1 -1
  136. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  137. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  138. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  139. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  140. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  141. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +20 -20
  142. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +6 -6
  143. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  144. package/coverage/lcov-report/utilities/security.js.html +1 -1
  145. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  146. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  147. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  148. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  149. package/coverage/lcov-report/utilities/users.js.html +1 -1
  150. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  151. package/coverage/lcov.info +322 -304
  152. package/dist/automations/automationUtils.js +21 -14
  153. package/dist/package.json +6 -6
  154. package/dist/tsconfig.build.tsbuildinfo +1 -1
  155. package/package.json +7 -7
  156. package/src/automations/automationUtils.js +22 -13
  157. package/src/automations/unitTests/automationUtils.spec.js +17 -0
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1666622383413" clover="3.2.0">
3
- <project timestamp="1666622383413" name="All files">
4
- <metrics statements="4120" coveredstatements="2996" conditionals="1770" coveredconditionals="972" methods="614" coveredmethods="430" elements="6504" coveredelements="4398" complexity="0" loc="4120" ncloc="4120" packages="22" files="123" classes="123"/>
2
+ <coverage generated="1667214160663" clover="3.2.0">
3
+ <project timestamp="1667214160663" name="All files">
4
+ <metrics statements="4130" coveredstatements="3016" conditionals="1778" coveredconditionals="980" methods="614" coveredmethods="431" elements="6522" coveredelements="4427" complexity="0" loc="4130" ncloc="4130" packages="22" files="123" classes="123"/>
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">
@@ -2109,11 +2109,11 @@
2109
2109
  </file>
2110
2110
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/utils.js">
2111
2111
  <metrics statements="86" coveredstatements="44" conditionals="28" coveredconditionals="9" methods="9" coveredmethods="6"/>
2112
- <line num="7" count="45" type="stmt"/>
2113
- <line num="8" count="45" type="stmt"/>
2114
- <line num="9" count="45" type="stmt"/>
2115
- <line num="10" count="45" type="stmt"/>
2116
- <line num="12" count="45" type="stmt"/>
2112
+ <line num="7" count="46" type="stmt"/>
2113
+ <line num="8" count="46" type="stmt"/>
2114
+ <line num="9" count="46" type="stmt"/>
2115
+ <line num="10" count="46" type="stmt"/>
2116
+ <line num="12" count="46" type="stmt"/>
2117
2117
  <line num="13" count="4" type="stmt"/>
2118
2118
  <line num="14" count="4" type="cond" truecount="1" falsecount="1"/>
2119
2119
  <line num="15" count="4" type="stmt"/>
@@ -2126,7 +2126,7 @@
2126
2126
  <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
2127
2127
  <line num="29" count="0" type="stmt"/>
2128
2128
  <line num="32" count="0" type="stmt"/>
2129
- <line num="37" count="45" type="stmt"/>
2129
+ <line num="37" count="46" type="stmt"/>
2130
2130
  <line num="38" count="2" type="stmt"/>
2131
2131
  <line num="39" count="2" type="stmt"/>
2132
2132
  <line num="40" count="2" type="cond" truecount="1" falsecount="1"/>
@@ -2140,7 +2140,7 @@
2140
2140
  <line num="60" count="0" type="stmt"/>
2141
2141
  <line num="61" count="0" type="stmt"/>
2142
2142
  <line num="67" count="2" type="stmt"/>
2143
- <line num="70" count="45" type="stmt"/>
2143
+ <line num="70" count="46" type="stmt"/>
2144
2144
  <line num="71" count="23" type="stmt"/>
2145
2145
  <line num="72" count="23" type="cond" truecount="1" falsecount="1"/>
2146
2146
  <line num="73" count="23" type="stmt"/>
@@ -2159,7 +2159,7 @@
2159
2159
  <line num="98" count="0" type="cond" truecount="0" falsecount="4"/>
2160
2160
  <line num="99" count="0" type="stmt"/>
2161
2161
  <line num="104" count="0" type="stmt"/>
2162
- <line num="108" count="45" type="stmt"/>
2162
+ <line num="108" count="46" type="stmt"/>
2163
2163
  <line num="109" count="1" type="stmt"/>
2164
2164
  <line num="110" count="1" type="cond" truecount="1" falsecount="1"/>
2165
2165
  <line num="111" count="1" type="stmt"/>
@@ -2171,25 +2171,25 @@
2171
2171
  <line num="118" count="0" type="stmt"/>
2172
2172
  <line num="119" count="0" type="stmt"/>
2173
2173
  <line num="120" count="0" type="stmt"/>
2174
- <line num="124" count="45" type="stmt"/>
2174
+ <line num="124" count="46" type="stmt"/>
2175
2175
  <line num="126" count="0" type="stmt"/>
2176
2176
  <line num="128" count="0" type="stmt"/>
2177
2177
  <line num="129" count="0" type="stmt"/>
2178
2178
  <line num="130" count="0" type="stmt"/>
2179
2179
  <line num="131" count="0" type="stmt"/>
2180
- <line num="134" count="45" type="stmt"/>
2180
+ <line num="134" count="46" type="stmt"/>
2181
2181
  <line num="135" count="0" type="stmt"/>
2182
2182
  <line num="136" count="0" type="stmt"/>
2183
2183
  <line num="137" count="0" type="stmt"/>
2184
2184
  <line num="138" count="0" type="stmt"/>
2185
2185
  <line num="139" count="0" type="stmt"/>
2186
- <line num="142" count="45" type="stmt"/>
2186
+ <line num="142" count="46" type="stmt"/>
2187
2187
  <line num="143" count="6" type="stmt"/>
2188
2188
  <line num="144" count="6" type="stmt"/>
2189
2189
  <line num="145" count="6" type="cond" truecount="2" falsecount="0"/>
2190
2190
  <line num="146" count="1" type="stmt"/>
2191
2191
  <line num="148" count="5" type="stmt"/>
2192
- <line num="151" count="45" type="stmt"/>
2192
+ <line num="151" count="46" type="stmt"/>
2193
2193
  <line num="152" count="1" type="stmt"/>
2194
2194
  <line num="153" count="0" type="cond" truecount="0" falsecount="2"/>
2195
2195
  <line num="154" count="0" type="stmt"/>
@@ -2198,13 +2198,13 @@
2198
2198
  </file>
2199
2199
  <file name="viewBuilder.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/viewBuilder.js">
2200
2200
  <metrics statements="40" coveredstatements="37" conditionals="36" coveredconditionals="32" methods="5" coveredmethods="5"/>
2201
- <line num="1" count="46" type="stmt"/>
2202
- <line num="13" count="46" type="stmt"/>
2203
- <line num="19" count="46" type="stmt"/>
2201
+ <line num="1" count="47" type="stmt"/>
2202
+ <line num="13" count="47" type="stmt"/>
2203
+ <line num="19" count="47" type="stmt"/>
2204
2204
  <line num="20" count="18" type="stmt"/>
2205
- <line num="28" count="46" type="stmt"/>
2206
- <line num="34" count="46" type="stmt"/>
2207
- <line num="40" count="46" type="stmt"/>
2205
+ <line num="28" count="47" type="stmt"/>
2206
+ <line num="34" count="47" type="stmt"/>
2207
+ <line num="40" count="47" type="stmt"/>
2208
2208
  <line num="78" count="45" type="stmt"/>
2209
2209
  <line num="80" count="45" type="stmt"/>
2210
2210
  <line num="81" count="45" type="stmt"/>
@@ -2237,7 +2237,7 @@
2237
2237
  <line num="160" count="27" type="cond" truecount="2" falsecount="0"/>
2238
2238
  <line num="163" count="27" type="cond" truecount="4" falsecount="0"/>
2239
2239
  <line num="165" count="27" type="stmt"/>
2240
- <line num="183" count="46" type="stmt"/>
2240
+ <line num="183" count="47" type="stmt"/>
2241
2241
  </file>
2242
2242
  </package>
2243
2243
  <package name="api.routes">
@@ -2550,7 +2550,7 @@
2550
2550
  </file>
2551
2551
  </package>
2552
2552
  <package name="automations">
2553
- <metrics statements="189" coveredstatements="143" conditionals="76" coveredconditionals="50" methods="24" coveredmethods="16"/>
2553
+ <metrics statements="199" coveredstatements="163" conditionals="84" coveredconditionals="58" methods="24" coveredmethods="17"/>
2554
2554
  <file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
2555
2555
  <metrics statements="24" coveredstatements="24" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
2556
2556
  <line num="1" count="45" type="stmt"/>
@@ -2579,59 +2579,69 @@
2579
2579
  <line num="74" count="45" type="stmt"/>
2580
2580
  </file>
2581
2581
  <file name="automationUtils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/automationUtils.js">
2582
- <metrics statements="52" coveredstatements="32" conditionals="33" coveredconditionals="21" methods="5" coveredmethods="3"/>
2583
- <line num="1" count="45" type="stmt"/>
2584
- <line num="7" count="45" type="stmt"/>
2585
- <line num="25" count="45" type="stmt"/>
2586
- <line num="26" count="14" type="cond" truecount="2" falsecount="0"/>
2587
- <line num="27" count="1" type="stmt"/>
2588
- <line num="29" count="13" type="stmt"/>
2589
- <line num="30" count="33" type="stmt"/>
2590
- <line num="31" count="33" type="cond" truecount="2" falsecount="0"/>
2591
- <line num="32" count="6" type="stmt"/>
2592
- <line num="34" count="27" type="stmt"/>
2593
- <line num="35" count="27" type="cond" truecount="2" falsecount="0"/>
2594
- <line num="36" count="11" type="stmt"/>
2595
- <line num="38" count="16" type="cond" truecount="2" falsecount="0"/>
2596
- <line num="39" count="2" type="stmt"/>
2597
- <line num="40" count="2" type="cond" truecount="2" falsecount="0"/>
2598
- <line num="41" count="1" type="stmt"/>
2599
- <line num="43" count="2" type="cond" truecount="2" falsecount="0"/>
2600
- <line num="44" count="1" type="stmt"/>
2601
- <line num="47" count="16" type="cond" truecount="2" falsecount="0"/>
2602
- <line num="48" count="1" type="stmt"/>
2603
- <line num="49" count="1" type="cond" truecount="1" falsecount="1"/>
2604
- <line num="50" count="1" type="stmt"/>
2605
- <line num="54" count="13" type="stmt"/>
2606
- <line num="66" count="45" type="stmt"/>
2607
- <line num="67" count="8" type="stmt"/>
2608
- <line num="68" count="7" type="stmt"/>
2609
- <line num="71" count="45" type="stmt"/>
2610
- <line num="72" count="3" type="cond" truecount="1" falsecount="1"/>
2611
- <line num="73" count="0" type="stmt"/>
2612
- <line num="75" count="3" type="cond" truecount="1" falsecount="1"/>
2613
- <line num="79" count="0" type="stmt"/>
2614
- <line num="81" count="3" type="cond" truecount="1" falsecount="1"/>
2615
- <line num="84" count="45" type="stmt"/>
2616
- <line num="85" count="0" type="stmt"/>
2617
- <line num="86" count="0" type="stmt"/>
2618
- <line num="87" count="0" type="cond" truecount="0" falsecount="2"/>
2619
- <line num="88" count="0" type="stmt"/>
2582
+ <metrics statements="62" coveredstatements="52" conditionals="41" coveredconditionals="29" methods="5" coveredmethods="4"/>
2583
+ <line num="1" count="46" type="stmt"/>
2584
+ <line num="6" count="46" type="stmt"/>
2585
+ <line num="24" count="46" type="stmt"/>
2586
+ <line num="25" count="14" type="cond" truecount="2" falsecount="0"/>
2587
+ <line num="26" count="1" type="stmt"/>
2588
+ <line num="28" count="13" type="stmt"/>
2589
+ <line num="29" count="33" type="stmt"/>
2590
+ <line num="30" count="33" type="cond" truecount="2" falsecount="0"/>
2591
+ <line num="31" count="6" type="stmt"/>
2592
+ <line num="33" count="27" type="stmt"/>
2593
+ <line num="34" count="27" type="cond" truecount="2" falsecount="0"/>
2594
+ <line num="35" count="11" type="stmt"/>
2595
+ <line num="37" count="16" type="cond" truecount="2" falsecount="0"/>
2596
+ <line num="38" count="2" type="stmt"/>
2597
+ <line num="39" count="2" type="cond" truecount="2" falsecount="0"/>
2598
+ <line num="40" count="1" type="stmt"/>
2599
+ <line num="42" count="2" type="cond" truecount="2" falsecount="0"/>
2600
+ <line num="43" count="1" type="stmt"/>
2601
+ <line num="46" count="16" type="cond" truecount="2" falsecount="0"/>
2602
+ <line num="47" count="1" type="stmt"/>
2603
+ <line num="48" count="1" type="cond" truecount="1" falsecount="1"/>
2604
+ <line num="49" count="1" type="stmt"/>
2605
+ <line num="53" count="13" type="stmt"/>
2606
+ <line num="65" count="46" type="stmt"/>
2607
+ <line num="66" count="8" type="stmt"/>
2608
+ <line num="67" count="7" type="stmt"/>
2609
+ <line num="70" count="46" type="stmt"/>
2610
+ <line num="71" count="3" type="cond" truecount="1" falsecount="1"/>
2611
+ <line num="72" count="0" type="stmt"/>
2612
+ <line num="74" count="3" type="cond" truecount="1" falsecount="1"/>
2613
+ <line num="78" count="0" type="stmt"/>
2614
+ <line num="80" count="3" type="cond" truecount="1" falsecount="1"/>
2615
+ <line num="83" count="46" type="stmt"/>
2616
+ <line num="84" count="2" type="stmt"/>
2617
+ <line num="85" count="2" type="stmt"/>
2618
+ <line num="86" count="2" type="cond" truecount="1" falsecount="1"/>
2619
+ <line num="87" count="2" type="cond" truecount="1" falsecount="1"/>
2620
+ <line num="88" count="2" type="cond" truecount="1" falsecount="1"/>
2620
2621
  <line num="89" count="0" type="stmt"/>
2621
- <line num="91" count="0" type="stmt"/>
2622
- <line num="93" count="0" type="stmt"/>
2623
- <line num="94" count="0" type="stmt"/>
2624
- <line num="95" count="0" type="cond" truecount="0" falsecount="2"/>
2625
- <line num="96" count="0" type="stmt"/>
2626
- <line num="98" count="0" type="stmt"/>
2627
- <line num="102" count="0" type="stmt"/>
2628
- <line num="105" count="45" type="stmt"/>
2629
- <line num="106" count="0" type="cond" truecount="0" falsecount="2"/>
2630
- <line num="107" count="0" type="stmt"/>
2631
- <line num="109" count="0" type="cond" truecount="0" falsecount="2"/>
2632
- <line num="110" count="0" type="stmt"/>
2633
- <line num="112" count="0" type="stmt"/>
2634
- <line num="114" count="0" type="stmt"/>
2622
+ <line num="91" count="2" type="stmt"/>
2623
+ <line num="92" count="2" type="stmt"/>
2624
+ <line num="93" count="2" type="stmt"/>
2625
+ <line num="94" count="2" type="stmt"/>
2626
+ <line num="95" count="6" type="stmt"/>
2627
+ <line num="96" count="6" type="stmt"/>
2628
+ <line num="97" count="6" type="cond" truecount="4" falsecount="0"/>
2629
+ <line num="98" count="1" type="stmt"/>
2630
+ <line num="99" count="1" type="stmt"/>
2631
+ <line num="101" count="5" type="stmt"/>
2632
+ <line num="102" count="5" type="stmt"/>
2633
+ <line num="105" count="5" type="stmt"/>
2634
+ <line num="106" count="5" type="stmt"/>
2635
+ <line num="108" count="2" type="cond" truecount="1" falsecount="1"/>
2636
+ <line num="109" count="0" type="stmt"/>
2637
+ <line num="111" count="2" type="stmt"/>
2638
+ <line num="114" count="46" type="stmt"/>
2639
+ <line num="115" count="0" type="cond" truecount="0" falsecount="2"/>
2640
+ <line num="116" count="0" type="stmt"/>
2641
+ <line num="118" count="0" type="cond" truecount="0" falsecount="2"/>
2642
+ <line num="119" count="0" type="stmt"/>
2643
+ <line num="121" count="0" type="stmt"/>
2644
+ <line num="123" count="0" type="stmt"/>
2635
2645
  </file>
2636
2646
  <file name="bullboard.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/bullboard.js">
2637
2647
  <metrics statements="36" coveredstatements="18" conditionals="8" coveredconditionals="3" methods="4" coveredmethods="0"/>
@@ -3086,35 +3096,35 @@
3086
3096
  <metrics statements="36" coveredstatements="36" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
3087
3097
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/index.js">
3088
3098
  <metrics statements="29" coveredstatements="29" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
3089
- <line num="1" count="53" type="stmt"/>
3090
- <line num="2" count="53" type="stmt"/>
3091
- <line num="3" count="53" type="stmt"/>
3092
- <line num="5" count="53" type="stmt"/>
3093
- <line num="9" count="53" type="stmt"/>
3094
- <line num="22" count="53" type="stmt"/>
3095
- <line num="23" count="53" type="stmt"/>
3096
- <line num="32" count="53" type="stmt"/>
3097
- <line num="48" count="53" type="stmt"/>
3098
- <line num="58" count="53" type="stmt"/>
3099
- <line num="59" count="106" type="cond" truecount="1" falsecount="1"/>
3100
- <line num="62" count="53" type="stmt"/>
3101
- <line num="68" count="53" type="stmt"/>
3102
- <line num="73" count="53" type="stmt"/>
3103
- <line num="79" count="53" type="stmt"/>
3104
- <line num="90" count="53" type="stmt"/>
3105
- <line num="94" count="53" type="stmt"/>
3106
- <line num="99" count="53" type="stmt"/>
3107
- <line num="161" count="53" type="stmt"/>
3108
- <line num="169" count="53" type="stmt"/>
3109
- <line num="177" count="53" type="stmt"/>
3110
- <line num="178" count="53" type="stmt"/>
3111
- <line num="185" count="53" type="stmt"/>
3112
- <line num="190" count="53" type="stmt"/>
3113
- <line num="196" count="53" type="stmt"/>
3114
- <line num="201" count="53" type="stmt"/>
3115
- <line num="205" count="53" type="stmt"/>
3116
- <line num="212" count="53" type="stmt"/>
3117
- <line num="214" count="53" type="stmt"/>
3099
+ <line num="1" count="54" type="stmt"/>
3100
+ <line num="2" count="54" type="stmt"/>
3101
+ <line num="3" count="54" type="stmt"/>
3102
+ <line num="5" count="54" type="stmt"/>
3103
+ <line num="9" count="54" type="stmt"/>
3104
+ <line num="22" count="54" type="stmt"/>
3105
+ <line num="23" count="54" type="stmt"/>
3106
+ <line num="32" count="54" type="stmt"/>
3107
+ <line num="48" count="54" type="stmt"/>
3108
+ <line num="58" count="54" type="stmt"/>
3109
+ <line num="59" count="108" type="cond" truecount="1" falsecount="1"/>
3110
+ <line num="62" count="54" type="stmt"/>
3111
+ <line num="68" count="54" type="stmt"/>
3112
+ <line num="73" count="54" type="stmt"/>
3113
+ <line num="79" count="54" type="stmt"/>
3114
+ <line num="90" count="54" type="stmt"/>
3115
+ <line num="94" count="54" type="stmt"/>
3116
+ <line num="99" count="54" type="stmt"/>
3117
+ <line num="161" count="54" type="stmt"/>
3118
+ <line num="169" count="54" type="stmt"/>
3119
+ <line num="177" count="54" type="stmt"/>
3120
+ <line num="178" count="54" type="stmt"/>
3121
+ <line num="185" count="54" type="stmt"/>
3122
+ <line num="190" count="54" type="stmt"/>
3123
+ <line num="196" count="54" type="stmt"/>
3124
+ <line num="201" count="54" type="stmt"/>
3125
+ <line num="205" count="54" type="stmt"/>
3126
+ <line num="212" count="54" type="stmt"/>
3127
+ <line num="214" count="54" type="stmt"/>
3118
3128
  </file>
3119
3129
  <file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
3120
3130
  <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
@@ -3171,122 +3181,122 @@
3171
3181
  </file>
3172
3182
  <file name="newid.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/newid.js">
3173
3183
  <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
3174
- <line num="1" count="59" type="stmt"/>
3175
- <line num="3" count="59" type="stmt"/>
3184
+ <line num="1" count="60" type="stmt"/>
3185
+ <line num="3" count="60" type="stmt"/>
3176
3186
  <line num="4" count="968" type="stmt"/>
3177
3187
  </file>
3178
3188
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
3179
3189
  <metrics statements="111" coveredstatements="100" conditionals="49" coveredconditionals="18" methods="32" coveredmethods="25"/>
3180
- <line num="1" count="59" type="stmt"/>
3181
- <line num="16" count="59" type="stmt"/>
3182
- <line num="18" count="59" type="stmt"/>
3183
- <line num="20" count="59" type="stmt"/>
3184
- <line num="26" count="59" type="stmt"/>
3185
- <line num="47" count="59" type="stmt"/>
3186
- <line num="51" count="59" type="stmt"/>
3187
- <line num="55" count="59" type="stmt"/>
3188
- <line num="57" count="59" type="stmt"/>
3189
- <line num="65" count="59" type="stmt"/>
3190
- <line num="66" count="59" type="stmt"/>
3191
- <line num="67" count="59" type="stmt"/>
3192
- <line num="68" count="59" type="stmt"/>
3193
- <line num="69" count="59" type="stmt"/>
3194
- <line num="70" count="59" type="stmt"/>
3195
- <line num="71" count="59" type="stmt"/>
3196
- <line num="72" count="59" type="stmt"/>
3197
- <line num="73" count="59" type="stmt"/>
3198
- <line num="74" count="59" type="stmt"/>
3199
- <line num="75" count="59" type="stmt"/>
3200
- <line num="76" count="59" type="stmt"/>
3201
- <line num="77" count="59" type="stmt"/>
3202
- <line num="78" count="59" type="stmt"/>
3203
- <line num="79" count="59" type="stmt"/>
3204
- <line num="80" count="59" type="stmt"/>
3205
- <line num="81" count="59" type="stmt"/>
3206
- <line num="83" count="59" type="stmt"/>
3207
- <line num="84" count="59" type="stmt"/>
3208
- <line num="86" count="59" type="stmt"/>
3190
+ <line num="1" count="60" type="stmt"/>
3191
+ <line num="16" count="60" type="stmt"/>
3192
+ <line num="18" count="60" type="stmt"/>
3193
+ <line num="20" count="60" type="stmt"/>
3194
+ <line num="26" count="60" type="stmt"/>
3195
+ <line num="47" count="60" type="stmt"/>
3196
+ <line num="51" count="60" type="stmt"/>
3197
+ <line num="55" count="60" type="stmt"/>
3198
+ <line num="57" count="60" type="stmt"/>
3199
+ <line num="65" count="60" type="stmt"/>
3200
+ <line num="66" count="60" type="stmt"/>
3201
+ <line num="67" count="60" type="stmt"/>
3202
+ <line num="68" count="60" type="stmt"/>
3203
+ <line num="69" count="60" type="stmt"/>
3204
+ <line num="70" count="60" type="stmt"/>
3205
+ <line num="71" count="60" type="stmt"/>
3206
+ <line num="72" count="60" type="stmt"/>
3207
+ <line num="73" count="60" type="stmt"/>
3208
+ <line num="74" count="60" type="stmt"/>
3209
+ <line num="75" count="60" type="stmt"/>
3210
+ <line num="76" count="60" type="stmt"/>
3211
+ <line num="77" count="60" type="stmt"/>
3212
+ <line num="78" count="60" type="stmt"/>
3213
+ <line num="79" count="60" type="stmt"/>
3214
+ <line num="80" count="60" type="stmt"/>
3215
+ <line num="81" count="60" type="stmt"/>
3216
+ <line num="83" count="60" type="stmt"/>
3217
+ <line num="84" count="60" type="stmt"/>
3218
+ <line num="86" count="60" type="stmt"/>
3209
3219
  <line num="101" count="879" type="cond" truecount="2" falsecount="0"/>
3210
3220
  <line num="102" count="862" type="stmt"/>
3211
3221
  <line num="104" count="879" type="stmt"/>
3212
- <line num="111" count="59" type="stmt"/>
3213
- <line num="116" count="59" type="cond" truecount="0" falsecount="2"/>
3222
+ <line num="111" count="60" type="stmt"/>
3223
+ <line num="116" count="60" type="cond" truecount="0" falsecount="2"/>
3214
3224
  <line num="117" count="271" type="stmt"/>
3215
- <line num="124" count="59" type="stmt"/>
3225
+ <line num="124" count="60" type="stmt"/>
3216
3226
  <line num="125" count="130" type="stmt"/>
3217
- <line num="136" count="59" type="cond" truecount="0" falsecount="3"/>
3227
+ <line num="136" count="60" type="cond" truecount="0" falsecount="3"/>
3218
3228
  <line num="137" count="44" type="cond" truecount="2" falsecount="0"/>
3219
3229
  <line num="138" count="30" type="stmt"/>
3220
3230
  <line num="141" count="14" type="cond" truecount="1" falsecount="1"/>
3221
3231
  <line num="143" count="14" type="stmt"/>
3222
- <line num="151" count="59" type="stmt"/>
3232
+ <line num="151" count="60" type="stmt"/>
3223
3233
  <line num="152" count="0" type="stmt"/>
3224
3234
  <line num="155" count="0" type="stmt"/>
3225
- <line num="164" count="59" type="cond" truecount="1" falsecount="0"/>
3235
+ <line num="164" count="60" type="cond" truecount="1" falsecount="0"/>
3226
3236
  <line num="165" count="321" type="cond" truecount="2" falsecount="0"/>
3227
3237
  <line num="166" count="321" type="stmt"/>
3228
- <line num="172" count="59" type="cond" truecount="0" falsecount="2"/>
3238
+ <line num="172" count="60" type="cond" truecount="0" falsecount="2"/>
3229
3239
  <line num="173" count="3" type="stmt"/>
3230
- <line num="181" count="59" type="stmt"/>
3240
+ <line num="181" count="60" type="stmt"/>
3231
3241
  <line num="182" count="242" type="stmt"/>
3232
- <line num="188" count="59" type="stmt"/>
3242
+ <line num="188" count="60" type="stmt"/>
3233
3243
  <line num="189" count="3" type="stmt"/>
3234
3244
  <line num="190" count="3" type="cond" truecount="4" falsecount="0"/>
3235
3245
  <line num="191" count="1" type="stmt"/>
3236
3246
  <line num="193" count="2" type="stmt"/>
3237
- <line num="199" count="59" type="cond" truecount="0" falsecount="2"/>
3247
+ <line num="199" count="60" type="cond" truecount="0" falsecount="2"/>
3238
3248
  <line num="200" count="279" type="stmt"/>
3239
- <line num="207" count="59" type="stmt"/>
3249
+ <line num="207" count="60" type="stmt"/>
3240
3250
  <line num="208" count="27" type="stmt"/>
3241
- <line num="222" count="59" type="stmt"/>
3251
+ <line num="222" count="60" type="stmt"/>
3242
3252
  <line num="230" count="9" type="stmt"/>
3243
3253
  <line num="231" count="9" type="stmt"/>
3244
3254
  <line num="232" count="9" type="stmt"/>
3245
3255
  <line num="233" count="9" type="stmt"/>
3246
- <line num="239" count="59" type="cond" truecount="0" falsecount="1"/>
3256
+ <line num="239" count="60" type="cond" truecount="0" falsecount="1"/>
3247
3257
  <line num="240" count="0" type="stmt"/>
3248
- <line num="247" count="59" type="stmt"/>
3258
+ <line num="247" count="60" type="stmt"/>
3249
3259
  <line num="248" count="6" type="cond" truecount="2" falsecount="0"/>
3250
- <line num="254" count="59" type="cond" truecount="0" falsecount="2"/>
3260
+ <line num="254" count="60" type="cond" truecount="0" falsecount="2"/>
3251
3261
  <line num="255" count="9" type="stmt"/>
3252
- <line num="262" count="59" type="stmt"/>
3262
+ <line num="262" count="60" type="stmt"/>
3253
3263
  <line num="263" count="23" type="stmt"/>
3254
- <line num="269" count="59" type="cond" truecount="0" falsecount="2"/>
3264
+ <line num="269" count="60" type="cond" truecount="0" falsecount="2"/>
3255
3265
  <line num="270" count="11" type="stmt"/>
3256
- <line num="277" count="59" type="stmt"/>
3266
+ <line num="277" count="60" type="stmt"/>
3257
3267
  <line num="278" count="10" type="stmt"/>
3258
- <line num="284" count="59" type="cond" truecount="0" falsecount="2"/>
3268
+ <line num="284" count="60" type="cond" truecount="0" falsecount="2"/>
3259
3269
  <line num="285" count="2" type="stmt"/>
3260
- <line num="292" count="59" type="cond" truecount="1" falsecount="1"/>
3270
+ <line num="292" count="60" type="cond" truecount="1" falsecount="1"/>
3261
3271
  <line num="293" count="64" type="stmt"/>
3262
- <line num="301" count="59" type="cond" truecount="0" falsecount="2"/>
3272
+ <line num="301" count="60" type="cond" truecount="0" falsecount="2"/>
3263
3273
  <line num="302" count="5" type="stmt"/>
3264
- <line num="309" count="59" type="stmt"/>
3274
+ <line num="309" count="60" type="stmt"/>
3265
3275
  <line num="310" count="139" type="stmt"/>
3266
- <line num="319" count="59" type="stmt"/>
3276
+ <line num="319" count="60" type="stmt"/>
3267
3277
  <line num="320" count="0" type="stmt"/>
3268
- <line num="326" count="59" type="cond" truecount="0" falsecount="1"/>
3278
+ <line num="326" count="60" type="cond" truecount="0" falsecount="1"/>
3269
3279
  <line num="327" count="253" type="stmt"/>
3270
- <line num="333" count="59" type="cond" truecount="0" falsecount="2"/>
3280
+ <line num="333" count="60" type="cond" truecount="0" falsecount="2"/>
3271
3281
  <line num="334" count="5" type="cond" truecount="2" falsecount="0"/>
3272
3282
  <line num="335" count="4" type="stmt"/>
3273
3283
  <line num="338" count="1" type="stmt"/>
3274
- <line num="349" count="59" type="stmt"/>
3284
+ <line num="349" count="60" type="stmt"/>
3275
3285
  <line num="350" count="0" type="stmt"/>
3276
- <line num="353" count="59" type="stmt"/>
3286
+ <line num="353" count="60" type="stmt"/>
3277
3287
  <line num="354" count="10" type="stmt"/>
3278
- <line num="357" count="59" type="cond" truecount="0" falsecount="2"/>
3288
+ <line num="357" count="60" type="cond" truecount="0" falsecount="2"/>
3279
3289
  <line num="358" count="0" type="stmt"/>
3280
3290
  <line num="359" count="0" type="cond" truecount="0" falsecount="2"/>
3281
3291
  <line num="360" count="0" type="stmt"/>
3282
3292
  <line num="362" count="0" type="stmt"/>
3283
- <line num="365" count="59" type="stmt"/>
3293
+ <line num="365" count="60" type="stmt"/>
3284
3294
  <line num="366" count="1" type="stmt"/>
3285
- <line num="369" count="59" type="cond" truecount="0" falsecount="1"/>
3295
+ <line num="369" count="60" type="cond" truecount="0" falsecount="1"/>
3286
3296
  <line num="370" count="0" type="stmt"/>
3287
- <line num="373" count="59" type="stmt"/>
3297
+ <line num="373" count="60" type="stmt"/>
3288
3298
  <line num="374" count="0" type="stmt"/>
3289
- <line num="380" count="59" type="stmt"/>
3299
+ <line num="380" count="60" type="stmt"/>
3290
3300
  <line num="381" count="60" type="stmt"/>
3291
3301
  </file>
3292
3302
  </package>
@@ -3294,11 +3304,11 @@
3294
3304
  <metrics statements="297" coveredstatements="285" conditionals="134" coveredconditionals="113" methods="61" coveredmethods="58"/>
3295
3305
  <file name="LinkController.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/LinkController.js">
3296
3306
  <metrics statements="151" coveredstatements="146" conditionals="68" coveredconditionals="60" methods="27" coveredmethods="24"/>
3297
- <line num="1" count="45" type="stmt"/>
3298
- <line num="6" count="45" type="stmt"/>
3299
- <line num="7" count="45" type="stmt"/>
3300
- <line num="8" count="45" type="stmt"/>
3301
- <line num="9" count="45" type="stmt"/>
3307
+ <line num="1" count="46" type="stmt"/>
3308
+ <line num="6" count="46" type="stmt"/>
3309
+ <line num="7" count="46" type="stmt"/>
3310
+ <line num="8" count="46" type="stmt"/>
3311
+ <line num="9" count="46" type="stmt"/>
3302
3312
  <line num="32" count="9" type="stmt"/>
3303
3313
  <line num="41" count="9" type="stmt"/>
3304
3314
  <line num="42" count="9" type="stmt"/>
@@ -3444,24 +3454,24 @@
3444
3454
  <line num="455" count="1" type="stmt"/>
3445
3455
  <line num="460" count="1" type="stmt"/>
3446
3456
  <line num="461" count="1" type="stmt"/>
3447
- <line num="465" count="45" type="stmt"/>
3457
+ <line num="465" count="46" type="stmt"/>
3448
3458
  </file>
3449
3459
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/index.js">
3450
3460
  <metrics statements="92" coveredstatements="89" conditionals="40" coveredconditionals="33" methods="21" coveredmethods="21"/>
3451
- <line num="1" count="45" type="stmt"/>
3452
- <line num="10" count="45" type="stmt"/>
3453
- <line num="11" count="45" type="stmt"/>
3454
- <line num="12" count="45" type="stmt"/>
3455
- <line num="13" count="45" type="stmt"/>
3456
- <line num="14" count="45" type="stmt"/>
3457
- <line num="15" count="45" type="stmt"/>
3458
- <line num="16" count="45" type="stmt"/>
3459
- <line num="17" count="45" type="stmt"/>
3460
- <line num="24" count="45" type="stmt"/>
3461
- <line num="33" count="45" type="stmt"/>
3462
- <line num="35" count="45" type="stmt"/>
3463
- <line num="36" count="45" type="stmt"/>
3464
- <line num="37" count="45" type="stmt"/>
3461
+ <line num="1" count="46" type="stmt"/>
3462
+ <line num="10" count="46" type="stmt"/>
3463
+ <line num="11" count="46" type="stmt"/>
3464
+ <line num="12" count="46" type="stmt"/>
3465
+ <line num="13" count="46" type="stmt"/>
3466
+ <line num="14" count="46" type="stmt"/>
3467
+ <line num="15" count="46" type="stmt"/>
3468
+ <line num="16" count="46" type="stmt"/>
3469
+ <line num="17" count="46" type="stmt"/>
3470
+ <line num="24" count="46" type="stmt"/>
3471
+ <line num="33" count="46" type="stmt"/>
3472
+ <line num="35" count="46" type="stmt"/>
3473
+ <line num="36" count="46" type="stmt"/>
3474
+ <line num="37" count="46" type="stmt"/>
3465
3475
  <line num="40" count="30" type="stmt"/>
3466
3476
  <line num="41" count="113" type="cond" truecount="2" falsecount="0"/>
3467
3477
  <line num="42" count="53" type="stmt"/>
@@ -3486,7 +3496,7 @@
3486
3496
  <line num="89" count="18" type="stmt"/>
3487
3497
  <line num="91" count="30" type="stmt"/>
3488
3498
  <line num="92" count="30" type="stmt"/>
3489
- <line num="106" count="45" type="stmt"/>
3499
+ <line num="106" count="46" type="stmt"/>
3490
3500
  <line num="107" count="220" type="stmt"/>
3491
3501
  <line num="108" count="220" type="cond" truecount="2" falsecount="0"/>
3492
3502
  <line num="110" count="220" type="cond" truecount="4" falsecount="0"/>
@@ -3503,7 +3513,7 @@
3503
3513
  <line num="134" count="1" type="stmt"/>
3504
3514
  <line num="136" count="1" type="stmt"/>
3505
3515
  <line num="138" count="0" type="stmt"/>
3506
- <line num="149" count="45" type="stmt"/>
3516
+ <line num="149" count="46" type="stmt"/>
3507
3517
  <line num="150" count="125" type="stmt"/>
3508
3518
  <line num="151" count="125" type="cond" truecount="2" falsecount="0"/>
3509
3519
  <line num="152" count="95" type="stmt"/>
@@ -3523,7 +3533,7 @@
3523
3533
  <line num="173" count="18" type="cond" truecount="1" falsecount="1"/>
3524
3534
  <line num="174" count="18" type="stmt"/>
3525
3535
  <line num="179" count="30" type="stmt"/>
3526
- <line num="188" count="45" type="stmt"/>
3536
+ <line num="188" count="46" type="stmt"/>
3527
3537
  <line num="190" count="40" type="stmt"/>
3528
3538
  <line num="191" count="40" type="stmt"/>
3529
3539
  <line num="193" count="48" type="stmt"/>
@@ -3543,14 +3553,14 @@
3543
3553
  </file>
3544
3554
  <file name="linkUtils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/linkUtils.js">
3545
3555
  <metrics statements="54" coveredstatements="50" conditionals="26" coveredconditionals="20" methods="13" coveredmethods="13"/>
3546
- <line num="1" count="45" type="stmt"/>
3547
- <line num="2" count="45" type="stmt"/>
3548
- <line num="3" count="45" type="stmt"/>
3549
- <line num="4" count="45" type="stmt"/>
3550
- <line num="5" count="45" type="stmt"/>
3551
- <line num="11" count="45" type="stmt"/>
3552
- <line num="16" count="45" type="stmt"/>
3553
- <line num="31" count="45" type="stmt"/>
3556
+ <line num="1" count="46" type="stmt"/>
3557
+ <line num="2" count="46" type="stmt"/>
3558
+ <line num="3" count="46" type="stmt"/>
3559
+ <line num="4" count="46" type="stmt"/>
3560
+ <line num="5" count="46" type="stmt"/>
3561
+ <line num="11" count="46" type="stmt"/>
3562
+ <line num="16" count="46" type="stmt"/>
3563
+ <line num="31" count="46" type="stmt"/>
3554
3564
  <line num="32" count="71" type="stmt"/>
3555
3565
  <line num="33" count="71" type="stmt"/>
3556
3566
  <line num="35" count="71" type="cond" truecount="2" falsecount="0"/>
@@ -3573,14 +3583,14 @@
3573
3583
  <line num="69" count="0" type="cond" truecount="0" falsecount="4"/>
3574
3584
  <line num="70" count="0" type="stmt"/>
3575
3585
  <line num="71" count="0" type="stmt"/>
3576
- <line num="79" count="45" type="stmt"/>
3586
+ <line num="79" count="46" type="stmt"/>
3577
3587
  <line num="80" count="30" type="stmt"/>
3578
3588
  <line num="81" count="33" type="stmt"/>
3579
- <line num="85" count="45" type="stmt"/>
3589
+ <line num="85" count="46" type="stmt"/>
3580
3590
  <line num="86" count="125" type="stmt"/>
3581
3591
  <line num="87" count="349" type="stmt"/>
3582
3592
  <line num="88" count="53" type="stmt"/>
3583
- <line num="91" count="45" type="stmt"/>
3593
+ <line num="91" count="46" type="stmt"/>
3584
3594
  <line num="92" count="77" type="stmt"/>
3585
3595
  <line num="93" count="77" type="stmt"/>
3586
3596
  <line num="94" count="77" type="cond" truecount="2" falsecount="0"/>
@@ -3589,7 +3599,7 @@
3589
3599
  <line num="98" count="27" type="cond" truecount="1" falsecount="1"/>
3590
3600
  <line num="99" count="27" type="stmt"/>
3591
3601
  <line num="101" count="27" type="stmt"/>
3592
- <line num="104" count="45" type="stmt"/>
3602
+ <line num="104" count="46" type="stmt"/>
3593
3603
  <line num="106" count="2" type="stmt"/>
3594
3604
  <line num="107" count="2" type="cond" truecount="2" falsecount="0"/>
3595
3605
  <line num="108" count="1" type="stmt"/>
@@ -3886,9 +3896,9 @@
3886
3896
  </file>
3887
3897
  <file name="csvParser.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/csvParser.js">
3888
3898
  <metrics statements="72" coveredstatements="57" conditionals="34" coveredconditionals="23" methods="15" coveredmethods="12"/>
3889
- <line num="1" count="46" type="stmt"/>
3890
- <line num="2" count="46" type="stmt"/>
3891
- <line num="4" count="46" type="stmt"/>
3899
+ <line num="1" count="47" type="stmt"/>
3900
+ <line num="2" count="47" type="stmt"/>
3901
+ <line num="4" count="47" type="stmt"/>
3892
3902
  <line num="5" count="0" type="stmt"/>
3893
3903
  <line num="6" count="0" type="stmt"/>
3894
3904
  <line num="9" count="7" type="cond" truecount="1" falsecount="1"/>
@@ -3897,7 +3907,7 @@
3897
3907
  <line num="16" count="0" type="cond" truecount="0" falsecount="2"/>
3898
3908
  <line num="17" count="0" type="stmt"/>
3899
3909
  <line num="19" count="0" type="stmt"/>
3900
- <line num="23" count="46" type="stmt"/>
3910
+ <line num="23" count="47" type="stmt"/>
3901
3911
  <line num="25" count="3" type="cond" truecount="1" falsecount="1"/>
3902
3912
  <line num="26" count="0" type="stmt"/>
3903
3913
  <line num="28" count="3" type="stmt"/>
@@ -3957,20 +3967,20 @@
3957
3967
  <line num="133" count="5" type="stmt"/>
3958
3968
  <line num="135" count="1" type="stmt"/>
3959
3969
  <line num="136" count="1" type="stmt"/>
3960
- <line num="140" count="46" type="stmt"/>
3970
+ <line num="140" count="47" type="stmt"/>
3961
3971
  </file>
3962
3972
  <file name="global.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/global.js">
3963
3973
  <metrics statements="70" coveredstatements="55" conditionals="41" coveredconditionals="27" methods="16" coveredmethods="11"/>
3964
- <line num="4" count="51" type="stmt"/>
3965
- <line num="5" count="51" type="stmt"/>
3966
- <line num="6" count="51" type="stmt"/>
3967
- <line num="7" count="51" type="stmt"/>
3968
- <line num="8" count="51" type="stmt"/>
3969
- <line num="12" count="51" type="stmt"/>
3970
- <line num="13" count="51" type="stmt"/>
3971
- <line num="14" count="51" type="stmt"/>
3972
- <line num="15" count="51" type="stmt"/>
3973
- <line num="17" count="51" type="cond" truecount="1" falsecount="0"/>
3974
+ <line num="4" count="52" type="stmt"/>
3975
+ <line num="5" count="52" type="stmt"/>
3976
+ <line num="6" count="52" type="stmt"/>
3977
+ <line num="7" count="52" type="stmt"/>
3978
+ <line num="8" count="52" type="stmt"/>
3979
+ <line num="12" count="52" type="stmt"/>
3980
+ <line num="13" count="52" type="stmt"/>
3981
+ <line num="14" count="52" type="stmt"/>
3982
+ <line num="15" count="52" type="stmt"/>
3983
+ <line num="17" count="52" type="cond" truecount="1" falsecount="0"/>
3974
3984
  <line num="18" count="243" type="cond" truecount="2" falsecount="0"/>
3975
3985
  <line num="20" count="243" type="cond" truecount="4" falsecount="0"/>
3976
3986
  <line num="21" count="3" type="stmt"/>
@@ -3998,17 +4008,17 @@
3998
4008
  <line num="58" count="236" type="cond" truecount="3" falsecount="1"/>
3999
4009
  <line num="59" count="0" type="stmt"/>
4000
4010
  <line num="62" count="236" type="stmt"/>
4001
- <line num="65" count="51" type="stmt"/>
4011
+ <line num="65" count="52" type="stmt"/>
4002
4012
  <line num="68" count="234" type="stmt"/>
4003
4013
  <line num="69" count="234" type="stmt"/>
4004
- <line num="72" count="51" type="stmt"/>
4014
+ <line num="72" count="52" type="stmt"/>
4005
4015
  <line num="73" count="2" type="stmt"/>
4006
4016
  <line num="74" count="2" type="stmt"/>
4007
- <line num="77" count="51" type="stmt"/>
4017
+ <line num="77" count="52" type="stmt"/>
4008
4018
  <line num="78" count="2" type="stmt"/>
4009
4019
  <line num="79" count="2" type="stmt"/>
4010
4020
  <line num="80" count="2" type="stmt"/>
4011
- <line num="83" count="51" type="cond" truecount="1" falsecount="0"/>
4021
+ <line num="83" count="52" type="cond" truecount="1" falsecount="0"/>
4012
4022
  <line num="84" count="32" type="stmt"/>
4013
4023
  <line num="85" count="32" type="stmt"/>
4014
4024
  <line num="87" count="32" type="cond" truecount="2" falsecount="0"/>
@@ -4025,7 +4035,7 @@
4025
4035
  <line num="108" count="32" type="cond" truecount="1" falsecount="1"/>
4026
4036
  <line num="109" count="0" type="stmt"/>
4027
4037
  <line num="112" count="32" type="stmt"/>
4028
- <line num="115" count="51" type="stmt"/>
4038
+ <line num="115" count="52" type="stmt"/>
4029
4039
  <line num="116" count="30" type="stmt"/>
4030
4040
  <line num="117" count="30" type="stmt"/>
4031
4041
  <line num="118" count="0" type="stmt"/>
@@ -4034,37 +4044,37 @@
4034
4044
  </file>
4035
4045
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/index.js">
4036
4046
  <metrics statements="80" coveredstatements="65" conditionals="32" coveredconditionals="17" methods="17" coveredmethods="16"/>
4037
- <line num="1" count="50" type="stmt"/>
4038
- <line num="2" count="50" type="stmt"/>
4039
- <line num="3" count="50" type="stmt"/>
4040
- <line num="4" count="50" type="stmt"/>
4041
- <line num="5" count="50" type="stmt"/>
4042
- <line num="6" count="50" type="stmt"/>
4043
- <line num="8" count="50" type="stmt"/>
4044
- <line num="10" count="50" type="stmt"/>
4045
- <line num="12" count="50" type="stmt"/>
4046
- <line num="14" count="50" type="stmt"/>
4047
- <line num="16" count="50" type="stmt"/>
4047
+ <line num="1" count="51" type="stmt"/>
4048
+ <line num="2" count="51" type="stmt"/>
4049
+ <line num="3" count="51" type="stmt"/>
4050
+ <line num="4" count="51" type="stmt"/>
4051
+ <line num="5" count="51" type="stmt"/>
4052
+ <line num="6" count="51" type="stmt"/>
4053
+ <line num="8" count="51" type="stmt"/>
4054
+ <line num="10" count="51" type="stmt"/>
4055
+ <line num="12" count="51" type="stmt"/>
4056
+ <line num="14" count="51" type="stmt"/>
4057
+ <line num="16" count="51" type="stmt"/>
4048
4058
  <line num="17" count="1" type="stmt"/>
4049
4059
  <line num="18" count="1" type="cond" truecount="1" falsecount="1"/>
4050
4060
  <line num="19" count="1" type="stmt"/>
4051
4061
  <line num="21" count="1" type="stmt"/>
4052
- <line num="30" count="50" type="stmt"/>
4062
+ <line num="30" count="51" type="stmt"/>
4053
4063
  <line num="31" count="45" type="stmt"/>
4054
- <line num="38" count="50" type="stmt"/>
4064
+ <line num="38" count="51" type="stmt"/>
4055
4065
  <line num="39" count="2" type="cond" truecount="2" falsecount="2"/>
4056
4066
  <line num="41" count="2" type="stmt"/>
4057
4067
  <line num="43" count="0" type="stmt"/>
4058
- <line num="57" count="50" type="stmt"/>
4068
+ <line num="57" count="51" type="stmt"/>
4059
4069
  <line num="58" count="6" type="cond" truecount="1" falsecount="1"/>
4060
4070
  <line num="59" count="0" type="stmt"/>
4061
4071
  <line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
4062
4072
  <line num="65" count="0" type="stmt"/>
4063
4073
  <line num="67" count="0" type="stmt"/>
4064
4074
  <line num="69" count="6" type="stmt"/>
4065
- <line num="73" count="50" type="stmt"/>
4075
+ <line num="73" count="51" type="stmt"/>
4066
4076
  <line num="74" count="2" type="stmt"/>
4067
- <line num="79" count="50" type="stmt"/>
4077
+ <line num="79" count="51" type="stmt"/>
4068
4078
  <line num="80" count="3" type="stmt"/>
4069
4079
  <line num="81" count="3" type="stmt"/>
4070
4080
  <line num="84" count="3" type="stmt"/>
@@ -4079,10 +4089,10 @@
4079
4089
  <line num="95" count="0" type="stmt"/>
4080
4090
  <line num="97" count="3" type="stmt"/>
4081
4091
  <line num="98" count="3" type="stmt"/>
4082
- <line num="105" count="50" type="stmt"/>
4092
+ <line num="105" count="51" type="stmt"/>
4083
4093
  <line num="106" count="1" type="stmt"/>
4084
4094
  <line num="107" count="1" type="stmt"/>
4085
- <line num="111" count="50" type="stmt"/>
4095
+ <line num="111" count="51" type="stmt"/>
4086
4096
  <line num="112" count="4" type="stmt"/>
4087
4097
  <line num="113" count="4" type="stmt"/>
4088
4098
  <line num="115" count="4" type="stmt"/>
@@ -4091,13 +4101,13 @@
4091
4101
  <line num="118" count="0" type="stmt"/>
4092
4102
  <line num="123" count="4" type="cond" truecount="3" falsecount="1"/>
4093
4103
  <line num="124" count="0" type="stmt"/>
4094
- <line num="128" count="50" type="stmt"/>
4104
+ <line num="128" count="51" type="stmt"/>
4095
4105
  <line num="129" count="0" type="stmt"/>
4096
- <line num="138" count="50" type="stmt"/>
4106
+ <line num="138" count="51" type="stmt"/>
4097
4107
  <line num="139" count="1" type="stmt"/>
4098
4108
  <line num="141" count="1" type="stmt"/>
4099
4109
  <line num="142" count="1" type="stmt"/>
4100
- <line num="147" count="50" type="stmt"/>
4110
+ <line num="147" count="51" type="stmt"/>
4101
4111
  <line num="148" count="38" type="stmt"/>
4102
4112
  <line num="149" count="38" type="stmt"/>
4103
4113
  <line num="150" count="38" type="stmt"/>
@@ -4105,12 +4115,12 @@
4105
4115
  <line num="152" count="38" type="cond" truecount="1" falsecount="1"/>
4106
4116
  <line num="153" count="0" type="stmt"/>
4107
4117
  <line num="155" count="38" type="cond" truecount="3" falsecount="1"/>
4108
- <line num="158" count="50" type="stmt"/>
4118
+ <line num="158" count="51" type="stmt"/>
4109
4119
  <line num="159" count="1" type="stmt"/>
4110
4120
  <line num="160" count="1" type="cond" truecount="2" falsecount="2"/>
4111
4121
  <line num="161" count="0" type="stmt"/>
4112
4122
  <line num="163" count="1" type="stmt"/>
4113
- <line num="166" count="50" type="stmt"/>
4123
+ <line num="166" count="51" type="stmt"/>
4114
4124
  <line num="167" count="1" type="cond" truecount="1" falsecount="1"/>
4115
4125
  <line num="168" count="0" type="stmt"/>
4116
4126
  <line num="170" count="1" type="stmt"/>
@@ -4330,18 +4340,18 @@
4330
4340
  <metrics statements="173" coveredstatements="100" conditionals="145" coveredconditionals="65" methods="23" coveredmethods="12"/>
4331
4341
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/index.js">
4332
4342
  <metrics statements="130" coveredstatements="79" conditionals="101" coveredconditionals="47" methods="20" coveredmethods="10"/>
4333
- <line num="1" count="45" type="stmt"/>
4334
- <line num="2" count="45" type="stmt"/>
4335
- <line num="3" count="45" type="stmt"/>
4336
- <line num="4" count="45" type="stmt"/>
4337
- <line num="5" count="45" type="stmt"/>
4338
- <line num="6" count="45" type="stmt"/>
4339
- <line num="7" count="45" type="stmt"/>
4340
- <line num="12" count="45" type="stmt"/>
4341
- <line num="13" count="45" type="stmt"/>
4342
- <line num="14" count="45" type="stmt"/>
4343
- <line num="16" count="45" type="stmt"/>
4344
- <line num="21" count="45" type="stmt"/>
4343
+ <line num="1" count="46" type="stmt"/>
4344
+ <line num="2" count="46" type="stmt"/>
4345
+ <line num="3" count="46" type="stmt"/>
4346
+ <line num="4" count="46" type="stmt"/>
4347
+ <line num="5" count="46" type="stmt"/>
4348
+ <line num="6" count="46" type="stmt"/>
4349
+ <line num="7" count="46" type="stmt"/>
4350
+ <line num="12" count="46" type="stmt"/>
4351
+ <line num="13" count="46" type="stmt"/>
4352
+ <line num="14" count="46" type="stmt"/>
4353
+ <line num="16" count="46" type="stmt"/>
4354
+ <line num="21" count="46" type="stmt"/>
4345
4355
  <line num="27" count="11" type="cond" truecount="4" falsecount="0"/>
4346
4356
  <line num="28" count="2" type="cond" truecount="3" falsecount="1"/>
4347
4357
  <line num="30" count="9" type="cond" truecount="1" falsecount="1"/>
@@ -4391,10 +4401,10 @@
4391
4401
  <line num="177" count="0" type="stmt"/>
4392
4402
  <line num="179" count="0" type="stmt"/>
4393
4403
  <line num="182" count="85" type="stmt"/>
4394
- <line num="184" count="45" type="stmt"/>
4395
- <line num="185" count="45" type="stmt"/>
4396
- <line num="186" count="45" type="stmt"/>
4397
- <line num="194" count="45" type="stmt"/>
4404
+ <line num="184" count="46" type="stmt"/>
4405
+ <line num="185" count="46" type="stmt"/>
4406
+ <line num="186" count="46" type="stmt"/>
4407
+ <line num="194" count="46" type="stmt"/>
4398
4408
  <line num="196" count="198" type="cond" truecount="1" falsecount="1"/>
4399
4409
  <line num="197" count="0" type="stmt"/>
4400
4410
  <line num="200" count="198" type="cond" truecount="2" falsecount="0"/>
@@ -4402,7 +4412,7 @@
4402
4412
  <line num="202" count="182" type="cond" truecount="2" falsecount="0"/>
4403
4413
  <line num="203" count="22" type="stmt"/>
4404
4414
  <line num="206" count="160" type="stmt"/>
4405
- <line num="218" count="45" type="stmt"/>
4415
+ <line num="218" count="46" type="stmt"/>
4406
4416
  <line num="224" count="85" type="stmt"/>
4407
4417
  <line num="226" count="85" type="stmt"/>
4408
4418
  <line num="227" count="85" type="stmt"/>
@@ -4419,7 +4429,7 @@
4419
4429
  <line num="248" count="79" type="stmt"/>
4420
4430
  <line num="249" count="79" type="stmt"/>
4421
4431
  <line num="253" count="85" type="stmt"/>
4422
- <line num="265" count="45" type="cond" truecount="1" falsecount="0"/>
4432
+ <line num="265" count="46" type="cond" truecount="1" falsecount="0"/>
4423
4433
  <line num="266" count="125" type="stmt"/>
4424
4434
  <line num="267" count="125" type="cond" truecount="2" falsecount="0"/>
4425
4435
  <line num="268" count="105" type="stmt"/>
@@ -4436,7 +4446,7 @@
4436
4446
  <line num="290" count="125" type="cond" truecount="2" falsecount="0"/>
4437
4447
  <line num="291" count="40" type="stmt"/>
4438
4448
  <line num="293" count="125" type="cond" truecount="2" falsecount="0"/>
4439
- <line num="306" count="45" type="stmt"/>
4449
+ <line num="306" count="46" type="stmt"/>
4440
4450
  <line num="307" count="14" type="stmt"/>
4441
4451
  <line num="308" count="14" type="cond" truecount="1" falsecount="1"/>
4442
4452
  <line num="309" count="14" type="stmt"/>
@@ -4463,9 +4473,9 @@
4463
4473
  </file>
4464
4474
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/utils.js">
4465
4475
  <metrics statements="43" coveredstatements="21" conditionals="44" coveredconditionals="18" methods="3" coveredmethods="2"/>
4466
- <line num="6" count="45" type="stmt"/>
4467
- <line num="7" count="45" type="stmt"/>
4468
- <line num="13" count="45" type="stmt"/>
4476
+ <line num="6" count="46" type="stmt"/>
4477
+ <line num="7" count="46" type="stmt"/>
4478
+ <line num="13" count="46" type="stmt"/>
4469
4479
  <line num="14" count="2" type="cond" truecount="4" falsecount="1"/>
4470
4480
  <line num="15" count="0" type="stmt"/>
4471
4481
  <line num="18" count="2" type="cond" truecount="1" falsecount="1"/>
@@ -4479,7 +4489,7 @@
4479
4489
  <line num="26" count="2" type="cond" truecount="1" falsecount="1"/>
4480
4490
  <line num="27" count="0" type="stmt"/>
4481
4491
  <line num="29" count="2" type="stmt"/>
4482
- <line num="35" count="45" type="stmt"/>
4492
+ <line num="35" count="46" type="stmt"/>
4483
4493
  <line num="40" count="303" type="stmt"/>
4484
4494
  <line num="41" count="303" type="cond" truecount="2" falsecount="0"/>
4485
4495
  <line num="42" count="178" type="stmt"/>
@@ -4494,7 +4504,7 @@
4494
4504
  <line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
4495
4505
  <line num="59" count="0" type="stmt"/>
4496
4506
  <line num="66" count="303" type="cond" truecount="2" falsecount="0"/>
4497
- <line num="73" count="45" type="stmt"/>
4507
+ <line num="73" count="46" type="stmt"/>
4498
4508
  <line num="74" count="0" type="stmt"/>
4499
4509
  <line num="75" count="0" type="stmt"/>
4500
4510
  <line num="76" count="0" type="cond" truecount="0" falsecount="2"/>