@budibase/server 2.0.24-alpha.2 → 2.0.24

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 (195) hide show
  1. package/builder/assets/{index.6263131a.js → index.6e94f86b.js} +274 -274
  2. package/builder/assets/{index.e56da48a.css → index.dfa4073c.css} +2 -2
  3. package/builder/index.html +2 -2
  4. package/coverage/clover.xml +341 -344
  5. package/coverage/coverage-final.json +24 -24
  6. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  7. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/index.html +1 -1
  13. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  15. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  19. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  21. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  23. package/coverage/lcov-report/api/controllers/row/index.html +1 -1
  24. package/coverage/lcov-report/api/controllers/row/internal.js.html +12 -12
  25. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  26. package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +15 -15
  27. package/coverage/lcov-report/api/controllers/row/utils.js.html +13 -13
  28. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  32. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  33. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  35. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  37. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  39. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  40. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  41. package/coverage/lcov-report/api/index.html +1 -1
  42. package/coverage/lcov-report/api/index.js.html +5 -5
  43. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  44. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  45. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  46. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  47. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  48. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/index.html +1 -1
  53. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/utils/index.html +1 -1
  67. package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  70. package/coverage/lcov-report/automations/actions.js.html +1 -1
  71. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  72. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  73. package/coverage/lcov-report/automations/index.html +1 -1
  74. package/coverage/lcov-report/automations/index.js.html +5 -5
  75. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  76. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  77. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  78. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  79. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  80. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  81. package/coverage/lcov-report/automations/steps/index.html +1 -1
  82. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  83. package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/updateRow.js.html +3 -3
  90. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  92. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  93. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  94. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  95. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  96. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  97. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  98. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  99. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  100. package/coverage/lcov-report/automations/triggers.js.html +22 -22
  101. package/coverage/lcov-report/constants/index.html +1 -1
  102. package/coverage/lcov-report/constants/index.js.html +1 -1
  103. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  104. package/coverage/lcov-report/constants/screens.js.html +1 -1
  105. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  106. package/coverage/lcov-report/db/index.html +1 -1
  107. package/coverage/lcov-report/db/index.js.html +1 -1
  108. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +11 -11
  109. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  110. package/coverage/lcov-report/db/linkedRows/index.js.html +11 -11
  111. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +3 -3
  112. package/coverage/lcov-report/db/newid.js.html +2 -2
  113. package/coverage/lcov-report/db/utils.js.html +16 -10
  114. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  115. package/coverage/lcov-report/events/index.html +1 -1
  116. package/coverage/lcov-report/events/index.js.html +2 -2
  117. package/coverage/lcov-report/events/utils.js.html +9 -9
  118. package/coverage/lcov-report/index.html +15 -15
  119. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  120. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  121. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  122. package/coverage/lcov-report/middleware/builder.js.html +11 -11
  123. package/coverage/lcov-report/middleware/currentapp.js.html +34 -34
  124. package/coverage/lcov-report/middleware/index.html +1 -1
  125. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  126. package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
  127. package/coverage/lcov-report/middleware/resourceId.js.html +7 -7
  128. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  129. package/coverage/lcov-report/middleware/utils.js.html +2 -2
  130. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  131. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  132. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  133. package/coverage/lcov-report/utilities/global.js.html +16 -16
  134. package/coverage/lcov-report/utilities/index.html +1 -1
  135. package/coverage/lcov-report/utilities/index.js.html +1 -1
  136. package/coverage/lcov-report/utilities/plugins.js.html +1 -1
  137. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +13 -13
  138. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  139. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  140. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  141. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  142. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +38 -38
  143. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +10 -10
  144. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  145. package/coverage/lcov-report/utilities/security.js.html +1 -1
  146. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  147. package/coverage/lcov-report/utilities/usageQuota/index.html +14 -14
  148. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +11 -23
  149. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  150. package/coverage/lcov-report/utilities/users.js.html +1 -1
  151. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  152. package/coverage/lcov.info +614 -619
  153. package/dist/api/controllers/application.js +9 -10
  154. package/dist/api/controllers/query/index.js +2 -6
  155. package/dist/api/controllers/row/index.js +10 -30
  156. package/dist/api/controllers/static/templates/preview.hbs +0 -10
  157. package/dist/api/controllers/table/internal.js +1 -3
  158. package/dist/api/controllers/table/utils.js +1 -3
  159. package/dist/automations/steps/updateRow.js +2 -2
  160. package/dist/automations/utils.js +3 -5
  161. package/dist/db/utils.js +1 -1
  162. package/dist/migrations/functions/{usageQuotas/syncPlugins.js → pluginCount.js} +3 -1
  163. package/dist/migrations/functions/{syncQuotas.js → quotas1.js} +7 -3
  164. package/dist/migrations/functions/usageQuotas/syncApps.js +1 -0
  165. package/dist/migrations/functions/usageQuotas/syncRows.js +5 -9
  166. package/dist/migrations/index.js +9 -3
  167. package/dist/package.json +7 -7
  168. package/dist/tsconfig.build.tsbuildinfo +1 -1
  169. package/dist/utilities/redis.js +2 -6
  170. package/dist/utilities/usageQuota/rows.js +4 -6
  171. package/package.json +8 -8
  172. package/src/api/controllers/application.ts +10 -11
  173. package/src/api/controllers/query/index.ts +2 -7
  174. package/src/api/controllers/row/index.ts +13 -36
  175. package/src/api/controllers/static/templates/preview.hbs +0 -10
  176. package/src/api/controllers/table/internal.ts +1 -3
  177. package/src/api/controllers/table/utils.ts +1 -3
  178. package/src/api/routes/tests/application.spec.js +2 -2
  179. package/src/api/routes/tests/row.spec.js +27 -22
  180. package/src/automations/steps/updateRow.js +2 -2
  181. package/src/automations/tests/automation.spec.js +6 -1
  182. package/src/automations/utils.ts +4 -6
  183. package/src/db/utils.js +2 -0
  184. package/src/migrations/functions/backfill/global.ts +1 -1
  185. package/src/migrations/functions/pluginCount.ts +12 -0
  186. package/src/migrations/functions/{syncQuotas.ts → quotas1.ts} +8 -3
  187. package/src/migrations/functions/tests/{syncQuotas.spec.js → quotas1.spec.js} +2 -5
  188. package/src/migrations/functions/usageQuotas/syncApps.ts +1 -0
  189. package/src/migrations/functions/usageQuotas/syncRows.ts +6 -15
  190. package/src/migrations/functions/usageQuotas/tests/syncRows.spec.ts +1 -9
  191. package/src/migrations/index.ts +15 -3
  192. package/src/migrations/tests/index.spec.ts +1 -0
  193. package/src/utilities/redis.js +2 -6
  194. package/src/utilities/usageQuota/rows.js +3 -7
  195. package/src/migrations/functions/usageQuotas/syncPlugins.ts +0 -10
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1665145664296" clover="3.2.0">
3
- <project timestamp="1665145664296" name="All files">
4
- <metrics statements="4128" coveredstatements="3003" conditionals="1774" coveredconditionals="975" methods="614" coveredmethods="430" elements="6516" coveredelements="4408" complexity="0" loc="4128" ncloc="4128" packages="22" files="123" classes="123"/>
2
+ <coverage generated="1665162929764" clover="3.2.0">
3
+ <project timestamp="1665162929764" name="All files">
4
+ <metrics statements="4125" coveredstatements="3000" conditionals="1772" coveredconditionals="973" methods="614" coveredmethods="430" elements="6511" coveredelements="4403" complexity="0" loc="4125" ncloc="4125" 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">
@@ -21,11 +21,11 @@
21
21
  <line num="19" count="28" type="stmt"/>
22
22
  <line num="20" count="28" type="stmt"/>
23
23
  <line num="22" count="28" type="stmt"/>
24
- <line num="36" count="238" type="stmt"/>
25
- <line num="40" count="238" type="stmt"/>
24
+ <line num="36" count="237" type="stmt"/>
25
+ <line num="40" count="237" type="stmt"/>
26
26
  <line num="62" count="28" type="stmt"/>
27
- <line num="63" count="236" type="stmt"/>
28
- <line num="64" count="236" type="stmt"/>
27
+ <line num="63" count="235" type="stmt"/>
28
+ <line num="64" count="235" type="stmt"/>
29
29
  <line num="66" count="37" type="cond" truecount="1" falsecount="2"/>
30
30
  <line num="67" count="37" type="stmt"/>
31
31
  <line num="68" count="37" type="stmt"/>
@@ -1208,18 +1208,18 @@
1208
1208
  <line num="138" count="0" type="stmt"/>
1209
1209
  <line num="141" count="5" type="stmt"/>
1210
1210
  <line num="147" count="45" type="stmt"/>
1211
- <line num="148" count="77" type="stmt"/>
1212
- <line num="149" count="77" type="stmt"/>
1213
- <line num="150" count="77" type="stmt"/>
1214
- <line num="152" count="77" type="cond" truecount="3" falsecount="1"/>
1215
- <line num="153" count="77" type="stmt"/>
1216
- <line num="157" count="77" type="stmt"/>
1217
- <line num="158" count="77" type="stmt"/>
1218
- <line num="159" count="77" type="stmt"/>
1219
- <line num="164" count="77" type="cond" truecount="1" falsecount="1"/>
1211
+ <line num="148" count="76" type="stmt"/>
1212
+ <line num="149" count="76" type="stmt"/>
1213
+ <line num="150" count="76" type="stmt"/>
1214
+ <line num="152" count="76" type="cond" truecount="3" falsecount="1"/>
1215
+ <line num="153" count="76" type="stmt"/>
1216
+ <line num="157" count="76" type="stmt"/>
1217
+ <line num="158" count="76" type="stmt"/>
1218
+ <line num="159" count="76" type="stmt"/>
1219
+ <line num="164" count="76" type="cond" truecount="1" falsecount="1"/>
1220
1220
  <line num="165" count="0" type="stmt"/>
1221
- <line num="169" count="77" type="stmt"/>
1222
- <line num="176" count="76" type="stmt"/>
1221
+ <line num="169" count="76" type="stmt"/>
1222
+ <line num="176" count="75" type="stmt"/>
1223
1223
  <line num="182" count="45" type="stmt"/>
1224
1224
  <line num="183" count="9" type="stmt"/>
1225
1225
  <line num="186" count="9" type="cond" truecount="2" falsecount="0"/>
@@ -1583,9 +1583,9 @@
1583
1583
  <line num="9" count="45" type="stmt"/>
1584
1584
  <line num="10" count="45" type="stmt"/>
1585
1585
  <line num="18" count="45" type="stmt"/>
1586
- <line num="19" count="86" type="stmt"/>
1587
- <line num="21" count="86" type="cond" truecount="1" falsecount="1"/>
1588
- <line num="22" count="86" type="stmt"/>
1586
+ <line num="19" count="85" type="stmt"/>
1587
+ <line num="21" count="85" type="cond" truecount="1" falsecount="1"/>
1588
+ <line num="22" count="85" type="stmt"/>
1589
1589
  <line num="24" count="0" type="stmt"/>
1590
1590
  <line num="25" count="0" type="cond" truecount="0" falsecount="2"/>
1591
1591
  <line num="29" count="0" type="stmt"/>
@@ -1620,11 +1620,11 @@
1620
1620
  <line num="98" count="0" type="stmt"/>
1621
1621
  <line num="102" count="0" type="stmt"/>
1622
1622
  <line num="111" count="45" type="stmt"/>
1623
- <line num="116" count="81" type="stmt"/>
1624
- <line num="117" count="81" type="stmt"/>
1625
- <line num="119" count="81" type="stmt"/>
1626
- <line num="123" count="81" type="stmt"/>
1627
- <line num="131" count="81" type="cond" truecount="3" falsecount="1"/>
1623
+ <line num="116" count="80" type="stmt"/>
1624
+ <line num="117" count="80" type="stmt"/>
1625
+ <line num="119" count="80" type="stmt"/>
1626
+ <line num="123" count="80" type="stmt"/>
1627
+ <line num="131" count="80" type="cond" truecount="3" falsecount="1"/>
1628
1628
  <line num="132" count="0" type="stmt"/>
1629
1629
  <line num="133" count="0" type="stmt"/>
1630
1630
  <line num="135" count="0" type="cond" truecount="0" falsecount="2"/>
@@ -1633,12 +1633,12 @@
1633
1633
  <line num="140" count="0" type="stmt"/>
1634
1634
  <line num="141" count="0" type="stmt"/>
1635
1635
  <line num="143" count="0" type="stmt"/>
1636
- <line num="147" count="81" type="stmt"/>
1637
- <line num="149" count="81" type="stmt"/>
1638
- <line num="150" count="81" type="stmt"/>
1639
- <line num="152" count="81" type="cond" truecount="1" falsecount="1"/>
1640
- <line num="153" count="81" type="stmt"/>
1641
- <line num="155" count="81" type="stmt"/>
1636
+ <line num="147" count="80" type="stmt"/>
1637
+ <line num="149" count="80" type="stmt"/>
1638
+ <line num="150" count="80" type="stmt"/>
1639
+ <line num="152" count="80" type="cond" truecount="1" falsecount="1"/>
1640
+ <line num="153" count="80" type="stmt"/>
1641
+ <line num="155" count="80" type="stmt"/>
1642
1642
  </file>
1643
1643
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/utils.js">
1644
1644
  <metrics statements="55" coveredstatements="37" conditionals="34" coveredconditionals="13" methods="6" coveredmethods="4"/>
@@ -1670,18 +1670,18 @@
1670
1670
  <line num="43" count="0" type="stmt"/>
1671
1671
  <line num="45" count="23" type="stmt"/>
1672
1672
  <line num="48" count="46" type="stmt"/>
1673
- <line num="49" count="85" type="cond" truecount="2" falsecount="0"/>
1673
+ <line num="49" count="84" type="cond" truecount="2" falsecount="0"/>
1674
1674
  <line num="50" count="2" type="stmt"/>
1675
1675
  <line num="51" count="2" type="stmt"/>
1676
- <line num="53" count="85" type="stmt"/>
1677
- <line num="54" count="85" type="stmt"/>
1678
- <line num="55" count="228" type="stmt"/>
1679
- <line num="56" count="228" type="stmt"/>
1680
- <line num="58" count="228" type="cond" truecount="1" falsecount="1"/>
1676
+ <line num="53" count="84" type="stmt"/>
1677
+ <line num="54" count="84" type="stmt"/>
1678
+ <line num="55" count="226" type="stmt"/>
1679
+ <line num="56" count="226" type="stmt"/>
1680
+ <line num="58" count="226" type="cond" truecount="1" falsecount="1"/>
1681
1681
  <line num="59" count="0" type="stmt"/>
1682
- <line num="62" count="228" type="cond" truecount="2" falsecount="2"/>
1682
+ <line num="62" count="226" type="cond" truecount="2" falsecount="2"/>
1683
1683
  <line num="63" count="0" type="stmt"/>
1684
- <line num="68" count="228" type="cond" truecount="2" falsecount="2"/>
1684
+ <line num="68" count="226" type="cond" truecount="2" falsecount="2"/>
1685
1685
  <line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
1686
1686
  <line num="70" count="0" type="cond" truecount="0" falsecount="2"/>
1687
1687
  <line num="71" count="0" type="stmt"/>
@@ -1690,13 +1690,13 @@
1690
1690
  <line num="78" count="0" type="stmt"/>
1691
1691
  <line num="81" count="0" type="cond" truecount="0" falsecount="4"/>
1692
1692
  <line num="83" count="0" type="stmt"/>
1693
- <line num="85" count="228" type="cond" truecount="2" falsecount="2"/>
1693
+ <line num="85" count="226" type="cond" truecount="2" falsecount="2"/>
1694
1694
  <line num="87" count="0" type="stmt"/>
1695
1695
  <line num="88" count="0" type="stmt"/>
1696
1696
  <line num="90" count="0" type="stmt"/>
1697
- <line num="93" count="228" type="stmt"/>
1698
- <line num="95" count="228" type="cond" truecount="2" falsecount="0"/>
1699
- <line num="97" count="85" type="stmt"/>
1697
+ <line num="93" count="226" type="stmt"/>
1698
+ <line num="95" count="226" type="cond" truecount="2" falsecount="0"/>
1699
+ <line num="97" count="84" type="stmt"/>
1700
1700
  </file>
1701
1701
  </package>
1702
1702
  <package name="api.controllers.table">
@@ -2684,10 +2684,10 @@
2684
2684
  <line num="3" count="44" type="stmt"/>
2685
2685
  <line num="4" count="44" type="stmt"/>
2686
2686
  <line num="9" count="44" type="stmt"/>
2687
- <line num="11" count="31" type="stmt"/>
2688
- <line num="12" count="7" type="stmt"/>
2689
- <line num="15" count="31" type="stmt"/>
2690
- <line num="16" count="31" type="stmt"/>
2687
+ <line num="11" count="32" type="stmt"/>
2688
+ <line num="12" count="8" type="stmt"/>
2689
+ <line num="15" count="32" type="stmt"/>
2690
+ <line num="16" count="32" type="stmt"/>
2691
2691
  <line num="19" count="44" type="stmt"/>
2692
2692
  <line num="20" count="0" type="stmt"/>
2693
2693
  <line num="23" count="44" type="stmt"/>
@@ -2711,17 +2711,17 @@
2711
2711
  <line num="12" count="45" type="stmt"/>
2712
2712
  <line num="14" count="45" type="stmt"/>
2713
2713
  <line num="15" count="45" type="stmt"/>
2714
- <line num="21" count="21" type="stmt"/>
2715
- <line num="22" count="21" type="stmt"/>
2716
- <line num="25" count="21" type="stmt"/>
2717
- <line num="29" count="18" type="cond" truecount="1" falsecount="1"/>
2714
+ <line num="21" count="23" type="stmt"/>
2715
+ <line num="22" count="23" type="stmt"/>
2716
+ <line num="25" count="23" type="stmt"/>
2717
+ <line num="29" count="17" type="cond" truecount="1" falsecount="1"/>
2718
2718
  <line num="30" count="0" type="stmt"/>
2719
- <line num="33" count="18" type="stmt"/>
2720
- <line num="34" count="18" type="stmt"/>
2721
- <line num="37" count="18" type="stmt"/>
2719
+ <line num="33" count="17" type="stmt"/>
2720
+ <line num="34" count="17" type="stmt"/>
2721
+ <line num="37" count="17" type="stmt"/>
2722
2722
  <line num="38" count="4" type="stmt"/>
2723
2723
  <line num="39" count="4" type="cond" truecount="2" falsecount="0"/>
2724
- <line num="42" count="18" type="stmt"/>
2724
+ <line num="42" count="17" type="stmt"/>
2725
2725
  <line num="43" count="4" type="stmt"/>
2726
2726
  <line num="44" count="4" type="cond" truecount="1" falsecount="1"/>
2727
2727
  <line num="48" count="4" type="cond" truecount="1" falsecount="1"/>
@@ -2729,35 +2729,35 @@
2729
2729
  <line num="55" count="4" type="cond" truecount="1" falsecount="1"/>
2730
2730
  <line num="59" count="4" type="stmt"/>
2731
2731
  <line num="65" count="45" type="stmt"/>
2732
- <line num="70" count="8" type="stmt"/>
2732
+ <line num="70" count="7" type="stmt"/>
2733
2733
  <line num="73" count="45" type="stmt"/>
2734
2734
  <line num="78" count="4" type="stmt"/>
2735
2735
  <line num="81" count="45" type="stmt"/>
2736
2736
  <line num="86" count="6" type="stmt"/>
2737
2737
  <line num="89" count="45" type="stmt"/>
2738
- <line num="94" count="5" type="cond" truecount="2" falsecount="0"/>
2738
+ <line num="94" count="6" type="cond" truecount="2" falsecount="0"/>
2739
2739
  <line num="102" count="1" type="stmt"/>
2740
2740
  <line num="103" count="1" type="stmt"/>
2741
2741
  <line num="104" count="1" type="cond" truecount="1" falsecount="1"/>
2742
2742
  <line num="105" count="1" type="stmt"/>
2743
2743
  <line num="107" count="1" type="stmt"/>
2744
- <line num="109" count="5" type="stmt"/>
2745
- <line num="110" count="5" type="cond" truecount="2" falsecount="0"/>
2744
+ <line num="109" count="6" type="stmt"/>
2745
+ <line num="110" count="6" type="cond" truecount="2" falsecount="0"/>
2746
2746
  <line num="111" count="2" type="stmt"/>
2747
- <line num="113" count="3" type="stmt"/>
2747
+ <line num="113" count="4" type="stmt"/>
2748
2748
  <line num="117" count="45" type="stmt"/>
2749
- <line num="120" count="31" type="cond" truecount="3" falsecount="1"/>
2749
+ <line num="120" count="32" type="cond" truecount="3" falsecount="1"/>
2750
2750
  <line num="121" count="0" type="stmt"/>
2751
- <line num="125" count="31" type="stmt"/>
2752
- <line num="126" count="31" type="stmt"/>
2753
- <line num="127" count="3" type="stmt"/>
2754
- <line num="128" count="3" type="stmt"/>
2755
- <line num="129" count="3" type="stmt"/>
2756
- <line num="130" count="3" type="stmt"/>
2751
+ <line num="125" count="32" type="stmt"/>
2752
+ <line num="126" count="32" type="stmt"/>
2753
+ <line num="127" count="6" type="stmt"/>
2754
+ <line num="128" count="6" type="stmt"/>
2755
+ <line num="129" count="6" type="stmt"/>
2756
+ <line num="130" count="6" type="stmt"/>
2757
2757
  <line num="131" count="0" type="cond" truecount="0" falsecount="2"/>
2758
2758
  <line num="132" count="0" type="stmt"/>
2759
2759
  <line num="139" count="0" type="stmt"/>
2760
- <line num="142" count="3" type="stmt"/>
2760
+ <line num="142" count="6" type="stmt"/>
2761
2761
  <line num="147" count="45" type="stmt"/>
2762
2762
  </file>
2763
2763
  </package>
@@ -3178,7 +3178,7 @@
3178
3178
  <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
3179
3179
  <line num="1" count="59" type="stmt"/>
3180
3180
  <line num="3" count="59" type="stmt"/>
3181
- <line num="4" count="967" type="stmt"/>
3181
+ <line num="4" count="968" type="stmt"/>
3182
3182
  </file>
3183
3183
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
3184
3184
  <metrics statements="111" coveredstatements="100" conditionals="49" coveredconditionals="18" methods="32" coveredmethods="25"/>
@@ -3187,12 +3187,10 @@
3187
3187
  <line num="18" count="59" type="stmt"/>
3188
3188
  <line num="20" count="59" type="stmt"/>
3189
3189
  <line num="26" count="59" type="stmt"/>
3190
- <line num="45" count="59" type="stmt"/>
3191
- <line num="49" count="59" type="stmt"/>
3192
- <line num="53" count="59" type="stmt"/>
3190
+ <line num="47" count="59" type="stmt"/>
3191
+ <line num="51" count="59" type="stmt"/>
3193
3192
  <line num="55" count="59" type="stmt"/>
3194
- <line num="63" count="59" type="stmt"/>
3195
- <line num="64" count="59" type="stmt"/>
3193
+ <line num="57" count="59" type="stmt"/>
3196
3194
  <line num="65" count="59" type="stmt"/>
3197
3195
  <line num="66" count="59" type="stmt"/>
3198
3196
  <line num="67" count="59" type="stmt"/>
@@ -3208,91 +3206,93 @@
3208
3206
  <line num="77" count="59" type="stmt"/>
3209
3207
  <line num="78" count="59" type="stmt"/>
3210
3208
  <line num="79" count="59" type="stmt"/>
3209
+ <line num="80" count="59" type="stmt"/>
3211
3210
  <line num="81" count="59" type="stmt"/>
3212
- <line num="82" count="59" type="stmt"/>
3211
+ <line num="83" count="59" type="stmt"/>
3213
3212
  <line num="84" count="59" type="stmt"/>
3214
- <line num="99" count="875" type="cond" truecount="2" falsecount="0"/>
3215
- <line num="100" count="858" type="stmt"/>
3216
- <line num="102" count="875" type="stmt"/>
3217
- <line num="109" count="59" type="stmt"/>
3218
- <line num="114" count="59" type="cond" truecount="0" falsecount="2"/>
3219
- <line num="115" count="271" type="stmt"/>
3220
- <line num="122" count="59" type="stmt"/>
3221
- <line num="123" count="130" type="stmt"/>
3222
- <line num="134" count="59" type="cond" truecount="0" falsecount="3"/>
3223
- <line num="135" count="44" type="cond" truecount="2" falsecount="0"/>
3224
- <line num="136" count="30" type="stmt"/>
3225
- <line num="139" count="14" type="cond" truecount="1" falsecount="1"/>
3226
- <line num="141" count="14" type="stmt"/>
3227
- <line num="149" count="59" type="stmt"/>
3228
- <line num="150" count="0" type="stmt"/>
3229
- <line num="153" count="0" type="stmt"/>
3230
- <line num="162" count="59" type="cond" truecount="1" falsecount="0"/>
3231
- <line num="163" count="323" type="cond" truecount="2" falsecount="0"/>
3232
- <line num="164" count="323" type="stmt"/>
3233
- <line num="170" count="59" type="cond" truecount="0" falsecount="2"/>
3234
- <line num="171" count="3" type="stmt"/>
3235
- <line num="179" count="59" type="stmt"/>
3236
- <line num="180" count="243" type="stmt"/>
3237
- <line num="186" count="59" type="stmt"/>
3238
- <line num="187" count="3" type="stmt"/>
3239
- <line num="188" count="3" type="cond" truecount="4" falsecount="0"/>
3240
- <line num="189" count="1" type="stmt"/>
3241
- <line num="191" count="2" type="stmt"/>
3242
- <line num="197" count="59" type="cond" truecount="0" falsecount="2"/>
3243
- <line num="198" count="276" type="stmt"/>
3244
- <line num="205" count="59" type="stmt"/>
3245
- <line num="206" count="27" type="stmt"/>
3246
- <line num="220" count="59" type="stmt"/>
3247
- <line num="228" count="9" type="stmt"/>
3248
- <line num="229" count="9" type="stmt"/>
3213
+ <line num="86" count="59" type="stmt"/>
3214
+ <line num="101" count="879" type="cond" truecount="2" falsecount="0"/>
3215
+ <line num="102" count="862" type="stmt"/>
3216
+ <line num="104" count="879" type="stmt"/>
3217
+ <line num="111" count="59" type="stmt"/>
3218
+ <line num="116" count="59" type="cond" truecount="0" falsecount="2"/>
3219
+ <line num="117" count="271" type="stmt"/>
3220
+ <line num="124" count="59" type="stmt"/>
3221
+ <line num="125" count="130" type="stmt"/>
3222
+ <line num="136" count="59" type="cond" truecount="0" falsecount="3"/>
3223
+ <line num="137" count="44" type="cond" truecount="2" falsecount="0"/>
3224
+ <line num="138" count="30" type="stmt"/>
3225
+ <line num="141" count="14" type="cond" truecount="1" falsecount="1"/>
3226
+ <line num="143" count="14" type="stmt"/>
3227
+ <line num="151" count="59" type="stmt"/>
3228
+ <line num="152" count="0" type="stmt"/>
3229
+ <line num="155" count="0" type="stmt"/>
3230
+ <line num="164" count="59" type="cond" truecount="1" falsecount="0"/>
3231
+ <line num="165" count="321" type="cond" truecount="2" falsecount="0"/>
3232
+ <line num="166" count="321" type="stmt"/>
3233
+ <line num="172" count="59" type="cond" truecount="0" falsecount="2"/>
3234
+ <line num="173" count="3" type="stmt"/>
3235
+ <line num="181" count="59" type="stmt"/>
3236
+ <line num="182" count="242" type="stmt"/>
3237
+ <line num="188" count="59" type="stmt"/>
3238
+ <line num="189" count="3" type="stmt"/>
3239
+ <line num="190" count="3" type="cond" truecount="4" falsecount="0"/>
3240
+ <line num="191" count="1" type="stmt"/>
3241
+ <line num="193" count="2" type="stmt"/>
3242
+ <line num="199" count="59" type="cond" truecount="0" falsecount="2"/>
3243
+ <line num="200" count="279" type="stmt"/>
3244
+ <line num="207" count="59" type="stmt"/>
3245
+ <line num="208" count="27" type="stmt"/>
3246
+ <line num="222" count="59" type="stmt"/>
3249
3247
  <line num="230" count="9" type="stmt"/>
3250
3248
  <line num="231" count="9" type="stmt"/>
3251
- <line num="237" count="59" type="cond" truecount="0" falsecount="1"/>
3252
- <line num="238" count="0" type="stmt"/>
3253
- <line num="245" count="59" type="stmt"/>
3254
- <line num="246" count="6" type="cond" truecount="2" falsecount="0"/>
3255
- <line num="252" count="59" type="cond" truecount="0" falsecount="2"/>
3256
- <line num="253" count="9" type="stmt"/>
3257
- <line num="260" count="59" type="stmt"/>
3258
- <line num="261" count="23" type="stmt"/>
3259
- <line num="267" count="59" type="cond" truecount="0" falsecount="2"/>
3260
- <line num="268" count="11" type="stmt"/>
3261
- <line num="275" count="59" type="stmt"/>
3262
- <line num="276" count="10" type="stmt"/>
3263
- <line num="282" count="59" type="cond" truecount="0" falsecount="2"/>
3264
- <line num="283" count="2" type="stmt"/>
3265
- <line num="290" count="59" type="cond" truecount="1" falsecount="1"/>
3266
- <line num="291" count="64" type="stmt"/>
3267
- <line num="299" count="59" type="cond" truecount="0" falsecount="2"/>
3268
- <line num="300" count="5" type="stmt"/>
3269
- <line num="307" count="59" type="stmt"/>
3270
- <line num="308" count="139" type="stmt"/>
3271
- <line num="317" count="59" type="stmt"/>
3272
- <line num="318" count="0" type="stmt"/>
3273
- <line num="324" count="59" type="cond" truecount="0" falsecount="1"/>
3274
- <line num="325" count="252" type="stmt"/>
3275
- <line num="331" count="59" type="cond" truecount="0" falsecount="2"/>
3276
- <line num="332" count="5" type="cond" truecount="2" falsecount="0"/>
3277
- <line num="333" count="4" type="stmt"/>
3278
- <line num="336" count="1" type="stmt"/>
3279
- <line num="347" count="59" type="stmt"/>
3280
- <line num="348" count="0" type="stmt"/>
3281
- <line num="351" count="59" type="stmt"/>
3282
- <line num="352" count="10" type="stmt"/>
3283
- <line num="355" count="59" type="cond" truecount="0" falsecount="2"/>
3284
- <line num="356" count="0" type="stmt"/>
3285
- <line num="357" count="0" type="cond" truecount="0" falsecount="2"/>
3249
+ <line num="232" count="9" type="stmt"/>
3250
+ <line num="233" count="9" type="stmt"/>
3251
+ <line num="239" count="59" type="cond" truecount="0" falsecount="1"/>
3252
+ <line num="240" count="0" type="stmt"/>
3253
+ <line num="247" count="59" type="stmt"/>
3254
+ <line num="248" count="6" type="cond" truecount="2" falsecount="0"/>
3255
+ <line num="254" count="59" type="cond" truecount="0" falsecount="2"/>
3256
+ <line num="255" count="9" type="stmt"/>
3257
+ <line num="262" count="59" type="stmt"/>
3258
+ <line num="263" count="23" type="stmt"/>
3259
+ <line num="269" count="59" type="cond" truecount="0" falsecount="2"/>
3260
+ <line num="270" count="11" type="stmt"/>
3261
+ <line num="277" count="59" type="stmt"/>
3262
+ <line num="278" count="10" type="stmt"/>
3263
+ <line num="284" count="59" type="cond" truecount="0" falsecount="2"/>
3264
+ <line num="285" count="2" type="stmt"/>
3265
+ <line num="292" count="59" type="cond" truecount="1" falsecount="1"/>
3266
+ <line num="293" count="64" type="stmt"/>
3267
+ <line num="301" count="59" type="cond" truecount="0" falsecount="2"/>
3268
+ <line num="302" count="5" type="stmt"/>
3269
+ <line num="309" count="59" type="stmt"/>
3270
+ <line num="310" count="139" type="stmt"/>
3271
+ <line num="319" count="59" type="stmt"/>
3272
+ <line num="320" count="0" type="stmt"/>
3273
+ <line num="326" count="59" type="cond" truecount="0" falsecount="1"/>
3274
+ <line num="327" count="253" type="stmt"/>
3275
+ <line num="333" count="59" type="cond" truecount="0" falsecount="2"/>
3276
+ <line num="334" count="5" type="cond" truecount="2" falsecount="0"/>
3277
+ <line num="335" count="4" type="stmt"/>
3278
+ <line num="338" count="1" type="stmt"/>
3279
+ <line num="349" count="59" type="stmt"/>
3280
+ <line num="350" count="0" type="stmt"/>
3281
+ <line num="353" count="59" type="stmt"/>
3282
+ <line num="354" count="10" type="stmt"/>
3283
+ <line num="357" count="59" type="cond" truecount="0" falsecount="2"/>
3286
3284
  <line num="358" count="0" type="stmt"/>
3285
+ <line num="359" count="0" type="cond" truecount="0" falsecount="2"/>
3287
3286
  <line num="360" count="0" type="stmt"/>
3288
- <line num="363" count="59" type="stmt"/>
3289
- <line num="364" count="1" type="stmt"/>
3290
- <line num="367" count="59" type="cond" truecount="0" falsecount="1"/>
3291
- <line num="368" count="0" type="stmt"/>
3292
- <line num="371" count="59" type="stmt"/>
3293
- <line num="372" count="0" type="stmt"/>
3294
- <line num="378" count="59" type="stmt"/>
3295
- <line num="379" count="60" type="stmt"/>
3287
+ <line num="362" count="0" type="stmt"/>
3288
+ <line num="365" count="59" type="stmt"/>
3289
+ <line num="366" count="1" type="stmt"/>
3290
+ <line num="369" count="59" type="cond" truecount="0" falsecount="1"/>
3291
+ <line num="370" count="0" type="stmt"/>
3292
+ <line num="373" count="59" type="stmt"/>
3293
+ <line num="374" count="0" type="stmt"/>
3294
+ <line num="380" count="59" type="stmt"/>
3295
+ <line num="381" count="60" type="stmt"/>
3296
3296
  </file>
3297
3297
  </package>
3298
3298
  <package name="db.linkedRows">
@@ -3308,21 +3308,21 @@
3308
3308
  <line num="41" count="9" type="stmt"/>
3309
3309
  <line num="42" count="9" type="stmt"/>
3310
3310
  <line num="47" count="9" type="stmt"/>
3311
- <line num="56" count="231" type="stmt"/>
3312
- <line num="57" count="231" type="stmt"/>
3313
- <line num="58" count="231" type="stmt"/>
3314
- <line num="59" count="231" type="stmt"/>
3315
- <line num="60" count="231" type="stmt"/>
3311
+ <line num="56" count="230" type="stmt"/>
3312
+ <line num="57" count="230" type="stmt"/>
3313
+ <line num="58" count="230" type="stmt"/>
3314
+ <line num="59" count="230" type="stmt"/>
3315
+ <line num="60" count="230" type="stmt"/>
3316
3316
  <line num="69" count="53" type="cond" truecount="2" falsecount="0"/>
3317
3317
  <line num="70" count="6" type="stmt"/>
3318
3318
  <line num="73" count="53" type="stmt"/>
3319
- <line num="84" count="226" type="cond" truecount="2" falsecount="0"/>
3319
+ <line num="84" count="225" type="cond" truecount="2" falsecount="0"/>
3320
3320
  <line num="85" count="6" type="stmt"/>
3321
- <line num="87" count="226" type="stmt"/>
3322
- <line num="88" count="542" type="stmt"/>
3323
- <line num="89" count="542" type="cond" truecount="2" falsecount="0"/>
3321
+ <line num="87" count="225" type="stmt"/>
3322
+ <line num="88" count="540" type="stmt"/>
3323
+ <line num="89" count="540" type="cond" truecount="2" falsecount="0"/>
3324
3324
  <line num="90" count="41" type="stmt"/>
3325
- <line num="93" count="185" type="stmt"/>
3325
+ <line num="93" count="184" type="stmt"/>
3326
3326
  <line num="100" count="27" type="stmt"/>
3327
3327
  <line num="111" count="9" type="stmt"/>
3328
3328
  <line num="121" count="22" type="stmt"/>
@@ -3492,14 +3492,14 @@
3492
3492
  <line num="91" count="30" type="stmt"/>
3493
3493
  <line num="92" count="30" type="stmt"/>
3494
3494
  <line num="106" count="45" type="stmt"/>
3495
- <line num="107" count="221" type="stmt"/>
3496
- <line num="108" count="221" type="cond" truecount="2" falsecount="0"/>
3497
- <line num="110" count="221" type="cond" truecount="4" falsecount="0"/>
3495
+ <line num="107" count="220" type="stmt"/>
3496
+ <line num="108" count="220" type="cond" truecount="2" falsecount="0"/>
3497
+ <line num="110" count="220" type="cond" truecount="4" falsecount="0"/>
3498
3498
  <line num="111" count="133" type="stmt"/>
3499
- <line num="113" count="221" type="stmt"/>
3500
- <line num="114" count="221" type="stmt"/>
3501
- <line num="115" count="221" type="cond" truecount="2" falsecount="0"/>
3502
- <line num="120" count="180" type="stmt"/>
3499
+ <line num="113" count="220" type="stmt"/>
3500
+ <line num="114" count="220" type="stmt"/>
3501
+ <line num="115" count="220" type="cond" truecount="2" falsecount="0"/>
3502
+ <line num="120" count="179" type="stmt"/>
3503
3503
  <line num="123" count="0" type="stmt"/>
3504
3504
  <line num="125" count="41" type="cond" truecount="5" falsecount="2"/>
3505
3505
  <line num="128" count="21" type="stmt"/>
@@ -3509,9 +3509,9 @@
3509
3509
  <line num="136" count="1" type="stmt"/>
3510
3510
  <line num="138" count="0" type="stmt"/>
3511
3511
  <line num="149" count="45" type="stmt"/>
3512
- <line num="150" count="126" type="stmt"/>
3513
- <line num="151" count="126" type="cond" truecount="2" falsecount="0"/>
3514
- <line num="152" count="96" type="stmt"/>
3512
+ <line num="150" count="125" type="stmt"/>
3513
+ <line num="151" count="125" type="cond" truecount="2" falsecount="0"/>
3514
+ <line num="152" count="95" type="stmt"/>
3515
3515
  <line num="155" count="30" type="stmt"/>
3516
3516
  <line num="156" count="25" type="stmt"/>
3517
3517
  <line num="159" count="30" type="stmt"/>
@@ -3582,8 +3582,8 @@
3582
3582
  <line num="80" count="30" type="stmt"/>
3583
3583
  <line num="81" count="33" type="stmt"/>
3584
3584
  <line num="85" count="45" type="stmt"/>
3585
- <line num="86" count="126" type="stmt"/>
3586
- <line num="87" count="351" type="stmt"/>
3585
+ <line num="86" count="125" type="stmt"/>
3586
+ <line num="87" count="349" type="stmt"/>
3587
3587
  <line num="88" count="53" type="stmt"/>
3588
3588
  <line num="91" count="45" type="stmt"/>
3589
3589
  <line num="92" count="77" type="stmt"/>
@@ -3626,7 +3626,7 @@
3626
3626
  <metrics statements="7" coveredstatements="7" conditionals="2" coveredconditionals="1" methods="3" coveredmethods="3"/>
3627
3627
  <line num="1" count="45" type="stmt"/>
3628
3628
  <line num="2" count="45" type="stmt"/>
3629
- <line num="16" count="14" type="stmt"/>
3629
+ <line num="16" count="13" type="stmt"/>
3630
3630
  <line num="20" count="12" type="stmt"/>
3631
3631
  <line num="24" count="28" type="stmt"/>
3632
3632
  <line num="28" count="45" type="stmt"/>
@@ -3635,15 +3635,15 @@
3635
3635
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/events/utils.js">
3636
3636
  <metrics statements="19" coveredstatements="18" conditionals="10" coveredconditionals="7" methods="2" coveredmethods="2"/>
3637
3637
  <line num="1" count="45" type="stmt"/>
3638
- <line num="2" count="18" type="stmt"/>
3639
- <line num="7" count="18" type="cond" truecount="2" falsecount="0"/>
3640
- <line num="8" count="12" type="stmt"/>
3641
- <line num="10" count="18" type="stmt"/>
3642
- <line num="11" count="18" type="cond" truecount="1" falsecount="1"/>
3643
- <line num="12" count="18" type="stmt"/>
3644
- <line num="14" count="18" type="cond" truecount="2" falsecount="0"/>
3638
+ <line num="2" count="17" type="stmt"/>
3639
+ <line num="7" count="17" type="cond" truecount="2" falsecount="0"/>
3640
+ <line num="8" count="11" type="stmt"/>
3641
+ <line num="10" count="17" type="stmt"/>
3642
+ <line num="11" count="17" type="cond" truecount="1" falsecount="1"/>
3643
+ <line num="12" count="17" type="stmt"/>
3644
+ <line num="14" count="17" type="cond" truecount="2" falsecount="0"/>
3645
3645
  <line num="15" count="4" type="stmt"/>
3646
- <line num="17" count="18" type="stmt"/>
3646
+ <line num="17" count="17" type="stmt"/>
3647
3647
  <line num="20" count="45" type="stmt"/>
3648
3648
  <line num="21" count="12" type="stmt"/>
3649
3649
  <line num="22" count="12" type="stmt"/>
@@ -3705,19 +3705,19 @@
3705
3705
  <line num="59" count="1" type="stmt"/>
3706
3706
  <line num="61" count="1" type="stmt"/>
3707
3707
  <line num="65" count="29" type="stmt"/>
3708
- <line num="66" count="224" type="stmt"/>
3709
- <line num="68" count="224" type="cond" truecount="2" falsecount="0"/>
3708
+ <line num="66" count="223" type="stmt"/>
3709
+ <line num="68" count="223" type="cond" truecount="2" falsecount="0"/>
3710
3710
  <line num="69" count="5" type="stmt"/>
3711
- <line num="71" count="219" type="stmt"/>
3712
- <line num="72" count="219" type="stmt"/>
3713
- <line num="74" count="219" type="stmt"/>
3714
- <line num="75" count="219" type="cond" truecount="2" falsecount="0"/>
3715
- <line num="76" count="219" type="cond" truecount="1" falsecount="1"/>
3711
+ <line num="71" count="218" type="stmt"/>
3712
+ <line num="72" count="218" type="stmt"/>
3713
+ <line num="74" count="218" type="stmt"/>
3714
+ <line num="75" count="218" type="cond" truecount="2" falsecount="0"/>
3715
+ <line num="76" count="218" type="cond" truecount="1" falsecount="1"/>
3716
3716
  <line num="77" count="0" type="stmt"/>
3717
- <line num="80" count="219" type="cond" truecount="2" falsecount="0"/>
3718
- <line num="81" count="219" type="cond" truecount="2" falsecount="0"/>
3719
- <line num="83" count="219" type="cond" truecount="4" falsecount="0"/>
3720
- <line num="84" count="218" type="stmt"/>
3717
+ <line num="80" count="218" type="cond" truecount="2" falsecount="0"/>
3718
+ <line num="81" count="218" type="cond" truecount="2" falsecount="0"/>
3719
+ <line num="83" count="218" type="cond" truecount="4" falsecount="0"/>
3720
+ <line num="84" count="217" type="stmt"/>
3721
3721
  <line num="87" count="1" type="stmt"/>
3722
3722
  <line num="89" count="1" type="stmt"/>
3723
3723
  </file>
@@ -3735,60 +3735,60 @@
3735
3735
  <line num="15" count="33" type="stmt"/>
3736
3736
  <line num="16" count="33" type="stmt"/>
3737
3737
  <line num="18" count="33" type="stmt"/>
3738
- <line num="20" count="243" type="stmt"/>
3739
- <line num="22" count="243" type="stmt"/>
3740
- <line num="23" count="243" type="stmt"/>
3741
- <line num="24" count="243" type="stmt"/>
3738
+ <line num="20" count="242" type="stmt"/>
3739
+ <line num="22" count="242" type="stmt"/>
3740
+ <line num="23" count="242" type="stmt"/>
3741
+ <line num="24" count="242" type="stmt"/>
3742
3742
  <line num="26" count="0" type="stmt"/>
3743
- <line num="28" count="243" type="cond" truecount="4" falsecount="0"/>
3743
+ <line num="28" count="242" type="cond" truecount="4" falsecount="0"/>
3744
3744
  <line num="29" count="1" type="stmt"/>
3745
- <line num="32" count="242" type="cond" truecount="2" falsecount="0"/>
3746
- <line num="33" count="236" type="stmt"/>
3747
- <line num="34" count="236" type="stmt"/>
3748
- <line num="35" count="236" type="cond" truecount="1" falsecount="1"/>
3745
+ <line num="32" count="241" type="cond" truecount="2" falsecount="0"/>
3746
+ <line num="33" count="235" type="stmt"/>
3747
+ <line num="34" count="235" type="stmt"/>
3748
+ <line num="35" count="235" type="cond" truecount="1" falsecount="1"/>
3749
3749
  <line num="36" count="0" type="stmt"/>
3750
3750
  <line num="37" count="0" type="stmt"/>
3751
- <line num="40" count="236" type="cond" truecount="1" falsecount="1"/>
3752
- <line num="44" count="242" type="cond" truecount="2" falsecount="0"/>
3751
+ <line num="40" count="235" type="cond" truecount="1" falsecount="1"/>
3752
+ <line num="44" count="241" type="cond" truecount="2" falsecount="0"/>
3753
3753
  <line num="45" count="2" type="cond" truecount="1" falsecount="1"/>
3754
3754
  <line num="50" count="2" type="stmt"/>
3755
3755
  <line num="51" count="2" type="stmt"/>
3756
- <line num="56" count="240" type="stmt"/>
3757
- <line num="57" count="240" type="cond" truecount="2" falsecount="0"/>
3756
+ <line num="56" count="239" type="stmt"/>
3757
+ <line num="57" count="239" type="cond" truecount="2" falsecount="0"/>
3758
3758
  <line num="59" count="5" type="stmt"/>
3759
- <line num="60" count="235" type="cond" truecount="1" falsecount="1"/>
3760
- <line num="62" count="235" type="stmt"/>
3761
- <line num="63" count="235" type="stmt"/>
3762
- <line num="65" count="235" type="cond" truecount="2" falsecount="0"/>
3763
- <line num="69" count="235" type="cond" truecount="3" falsecount="0"/>
3764
- <line num="70" count="235" type="cond" truecount="2" falsecount="0"/>
3765
- <line num="71" count="235" type="cond" truecount="2" falsecount="0"/>
3766
- <line num="72" count="235" type="cond" truecount="4" falsecount="1"/>
3759
+ <line num="60" count="234" type="cond" truecount="1" falsecount="1"/>
3760
+ <line num="62" count="234" type="stmt"/>
3761
+ <line num="63" count="234" type="stmt"/>
3762
+ <line num="65" count="234" type="cond" truecount="2" falsecount="0"/>
3763
+ <line num="69" count="234" type="cond" truecount="3" falsecount="0"/>
3764
+ <line num="70" count="234" type="cond" truecount="2" falsecount="0"/>
3765
+ <line num="71" count="234" type="cond" truecount="2" falsecount="0"/>
3766
+ <line num="72" count="234" type="cond" truecount="4" falsecount="1"/>
3767
3767
  <line num="74" count="0" type="stmt"/>
3768
3768
  <line num="75" count="0" type="stmt"/>
3769
3769
  <line num="76" count="0" type="stmt"/>
3770
3770
  <line num="79" count="0" type="stmt"/>
3771
3771
  <line num="80" count="0" type="stmt"/>
3772
- <line num="88" count="240" type="cond" truecount="1" falsecount="1"/>
3772
+ <line num="88" count="239" type="cond" truecount="1" falsecount="1"/>
3773
3773
  <line num="89" count="0" type="stmt"/>
3774
- <line num="92" count="240" type="stmt"/>
3775
- <line num="93" count="240" type="stmt"/>
3776
- <line num="96" count="240" type="cond" truecount="1" falsecount="1"/>
3774
+ <line num="92" count="239" type="stmt"/>
3775
+ <line num="93" count="239" type="stmt"/>
3776
+ <line num="96" count="239" type="cond" truecount="1" falsecount="1"/>
3777
3777
  <line num="103" count="0" type="stmt"/>
3778
3778
  <line num="104" count="0" type="stmt"/>
3779
3779
  <line num="105" count="0" type="stmt"/>
3780
3780
  <line num="106" count="0" type="stmt"/>
3781
3781
  <line num="107" count="0" type="stmt"/>
3782
3782
  <line num="108" count="0" type="stmt"/>
3783
- <line num="111" count="240" type="stmt"/>
3784
- <line num="112" count="240" type="cond" truecount="1" falsecount="1"/>
3785
- <line num="113" count="240" type="stmt"/>
3786
- <line num="114" count="240" type="cond" truecount="2" falsecount="0"/>
3787
- <line num="115" count="240" type="cond" truecount="2" falsecount="0"/>
3788
- <line num="116" count="240" type="stmt"/>
3789
- <line num="126" count="240" type="cond" truecount="2" falsecount="0"/>
3783
+ <line num="111" count="239" type="stmt"/>
3784
+ <line num="112" count="239" type="cond" truecount="1" falsecount="1"/>
3785
+ <line num="113" count="239" type="stmt"/>
3786
+ <line num="114" count="239" type="cond" truecount="2" falsecount="0"/>
3787
+ <line num="115" count="239" type="cond" truecount="2" falsecount="0"/>
3788
+ <line num="116" count="239" type="stmt"/>
3789
+ <line num="126" count="239" type="cond" truecount="2" falsecount="0"/>
3790
3790
  <line num="132" count="10" type="stmt"/>
3791
- <line num="135" count="240" type="stmt"/>
3791
+ <line num="135" count="239" type="stmt"/>
3792
3792
  </file>
3793
3793
  <file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
3794
3794
  <metrics statements="20" coveredstatements="0" conditionals="10" coveredconditionals="0" methods="4" coveredmethods="0"/>
@@ -3840,14 +3840,14 @@
3840
3840
  <line num="21" count="958" type="stmt"/>
3841
3841
  <line num="22" count="958" type="stmt"/>
3842
3842
  <line num="23" count="958" type="stmt"/>
3843
- <line num="24" count="102" type="cond" truecount="2" falsecount="0"/>
3844
- <line num="25" count="102" type="cond" truecount="2" falsecount="0"/>
3843
+ <line num="24" count="101" type="cond" truecount="2" falsecount="0"/>
3844
+ <line num="25" count="101" type="cond" truecount="2" falsecount="0"/>
3845
3845
  <line num="26" count="1" type="stmt"/>
3846
- <line num="28" count="101" type="cond" truecount="4" falsecount="0"/>
3847
- <line num="29" count="89" type="stmt"/>
3848
- <line num="31" count="101" type="cond" truecount="4" falsecount="0"/>
3846
+ <line num="28" count="100" type="cond" truecount="4" falsecount="0"/>
3847
+ <line num="29" count="88" type="stmt"/>
3848
+ <line num="31" count="100" type="cond" truecount="4" falsecount="0"/>
3849
3849
  <line num="32" count="15" type="stmt"/>
3850
- <line num="34" count="101" type="stmt"/>
3850
+ <line num="34" count="100" type="stmt"/>
3851
3851
  <line num="39" count="29" type="stmt"/>
3852
3852
  <line num="41" count="29" type="stmt"/>
3853
3853
  <line num="42" count="758" type="stmt"/>
@@ -3871,7 +3871,7 @@
3871
3871
  <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
3872
3872
  <line num="1" count="34" type="stmt"/>
3873
3873
  <line num="5" count="34" type="stmt"/>
3874
- <line num="6" count="228" type="stmt"/>
3874
+ <line num="6" count="227" type="stmt"/>
3875
3875
  </file>
3876
3876
  </package>
3877
3877
  <package name="utilities">
@@ -3976,36 +3976,36 @@
3976
3976
  <line num="14" count="51" type="stmt"/>
3977
3977
  <line num="15" count="51" type="stmt"/>
3978
3978
  <line num="17" count="51" type="cond" truecount="1" falsecount="0"/>
3979
- <line num="18" count="244" type="cond" truecount="2" falsecount="0"/>
3980
- <line num="20" count="244" type="cond" truecount="4" falsecount="0"/>
3979
+ <line num="18" count="243" type="cond" truecount="2" falsecount="0"/>
3980
+ <line num="20" count="243" type="cond" truecount="4" falsecount="0"/>
3981
3981
  <line num="21" count="3" type="stmt"/>
3982
- <line num="24" count="241" type="cond" truecount="2" falsecount="2"/>
3982
+ <line num="24" count="240" type="cond" truecount="2" falsecount="2"/>
3983
3983
  <line num="25" count="0" type="stmt"/>
3984
3984
  <line num="26" count="0" type="stmt"/>
3985
3985
  <line num="27" count="0" type="stmt"/>
3986
3986
  <line num="28" count="0" type="stmt"/>
3987
- <line num="31" count="241" type="stmt"/>
3988
- <line num="33" count="241" type="cond" truecount="5" falsecount="0"/>
3989
- <line num="34" count="209" type="stmt"/>
3987
+ <line num="31" count="240" type="stmt"/>
3988
+ <line num="33" count="240" type="cond" truecount="5" falsecount="0"/>
3989
+ <line num="34" count="208" type="stmt"/>
3990
3990
  <line num="35" count="32" type="cond" truecount="4" falsecount="0"/>
3991
3991
  <line num="36" count="27" type="stmt"/>
3992
3992
  <line num="37" count="5" type="cond" truecount="1" falsecount="1"/>
3993
3993
  <line num="38" count="0" type="stmt"/>
3994
- <line num="41" count="241" type="stmt"/>
3995
- <line num="42" count="241" type="stmt"/>
3994
+ <line num="41" count="240" type="stmt"/>
3995
+ <line num="42" count="240" type="stmt"/>
3996
3996
  <line num="46" count="0" type="cond" truecount="0" falsecount="4"/>
3997
3997
  <line num="47" count="0" type="stmt"/>
3998
3998
  <line num="49" count="0" type="stmt"/>
3999
3999
  <line num="50" count="0" type="stmt"/>
4000
- <line num="54" count="237" type="cond" truecount="1" falsecount="1"/>
4001
- <line num="55" count="237" type="stmt"/>
4002
- <line num="57" count="237" type="stmt"/>
4003
- <line num="58" count="237" type="cond" truecount="3" falsecount="1"/>
4000
+ <line num="54" count="236" type="cond" truecount="1" falsecount="1"/>
4001
+ <line num="55" count="236" type="stmt"/>
4002
+ <line num="57" count="236" type="stmt"/>
4003
+ <line num="58" count="236" type="cond" truecount="3" falsecount="1"/>
4004
4004
  <line num="59" count="0" type="stmt"/>
4005
- <line num="62" count="237" type="stmt"/>
4005
+ <line num="62" count="236" type="stmt"/>
4006
4006
  <line num="65" count="51" type="stmt"/>
4007
- <line num="68" count="235" type="stmt"/>
4008
- <line num="69" count="235" type="stmt"/>
4007
+ <line num="68" count="234" type="stmt"/>
4008
+ <line num="69" count="234" type="stmt"/>
4009
4009
  <line num="72" count="51" type="stmt"/>
4010
4010
  <line num="73" count="2" type="stmt"/>
4011
4011
  <line num="74" count="2" type="stmt"/>
@@ -4292,25 +4292,25 @@
4292
4292
  <file name="inMemoryQueue.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/queue/inMemoryQueue.js">
4293
4293
  <metrics statements="23" coveredstatements="18" conditionals="7" coveredconditionals="4" methods="12" coveredmethods="7"/>
4294
4294
  <line num="1" count="45" type="stmt"/>
4295
- <line num="13" count="7" type="stmt"/>
4295
+ <line num="13" count="8" type="stmt"/>
4296
4296
  <line num="33" count="45" type="stmt"/>
4297
4297
  <line num="34" count="45" type="stmt"/>
4298
4298
  <line num="35" count="45" type="stmt"/>
4299
4299
  <line num="36" count="45" type="stmt"/>
4300
- <line num="49" count="31" type="stmt"/>
4301
- <line num="50" count="8" type="cond" truecount="2" falsecount="0"/>
4302
- <line num="51" count="1" type="stmt"/>
4303
- <line num="53" count="7" type="stmt"/>
4304
- <line num="54" count="7" type="stmt"/>
4305
- <line num="55" count="7" type="cond" truecount="1" falsecount="1"/>
4306
- <line num="56" count="7" type="stmt"/>
4307
- <line num="71" count="7" type="cond" truecount="1" falsecount="1"/>
4300
+ <line num="49" count="32" type="stmt"/>
4301
+ <line num="50" count="11" type="cond" truecount="2" falsecount="0"/>
4302
+ <line num="51" count="3" type="stmt"/>
4303
+ <line num="53" count="8" type="stmt"/>
4304
+ <line num="54" count="8" type="stmt"/>
4305
+ <line num="55" count="8" type="cond" truecount="1" falsecount="1"/>
4306
+ <line num="56" count="8" type="stmt"/>
4307
+ <line num="71" count="8" type="cond" truecount="1" falsecount="1"/>
4308
4308
  <line num="72" count="0" type="stmt"/>
4309
- <line num="74" count="7" type="stmt"/>
4310
- <line num="75" count="7" type="stmt"/>
4309
+ <line num="74" count="8" type="stmt"/>
4310
+ <line num="75" count="8" type="stmt"/>
4311
4311
  <line num="82" count="0" type="stmt"/>
4312
4312
  <line num="91" count="0" type="stmt"/>
4313
- <line num="98" count="253" type="stmt"/>
4313
+ <line num="98" count="254" type="stmt"/>
4314
4314
  <line num="110" count="0" type="stmt"/>
4315
4315
  <line num="114" count="0" type="stmt"/>
4316
4316
  <line num="122" count="45" type="stmt"/>
@@ -4369,14 +4369,14 @@
4369
4369
  <line num="118" count="0" type="stmt"/>
4370
4370
  <line num="120" count="0" type="stmt"/>
4371
4371
  <line num="121" count="0" type="stmt"/>
4372
- <line num="140" count="86" type="cond" truecount="2" falsecount="0"/>
4373
- <line num="141" count="86" type="stmt"/>
4374
- <line num="142" count="86" type="stmt"/>
4375
- <line num="144" count="86" type="stmt"/>
4376
- <line num="147" count="86" type="cond" truecount="4" falsecount="0"/>
4377
- <line num="148" count="86" type="stmt"/>
4378
- <line num="149" count="232" type="cond" truecount="1" falsecount="1"/>
4379
- <line num="150" count="232" type="stmt"/>
4372
+ <line num="140" count="85" type="cond" truecount="2" falsecount="0"/>
4373
+ <line num="141" count="85" type="stmt"/>
4374
+ <line num="142" count="85" type="stmt"/>
4375
+ <line num="144" count="85" type="stmt"/>
4376
+ <line num="147" count="85" type="cond" truecount="4" falsecount="0"/>
4377
+ <line num="148" count="85" type="stmt"/>
4378
+ <line num="149" count="230" type="cond" truecount="1" falsecount="1"/>
4379
+ <line num="150" count="230" type="stmt"/>
4380
4380
  <line num="152" count="0" type="cond" truecount="0" falsecount="2"/>
4381
4381
  <line num="153" count="0" type="stmt"/>
4382
4382
  <line num="155" count="0" type="cond" truecount="0" falsecount="5"/>
@@ -4395,52 +4395,52 @@
4395
4395
  <line num="176" count="0" type="cond" truecount="0" falsecount="2"/>
4396
4396
  <line num="177" count="0" type="stmt"/>
4397
4397
  <line num="179" count="0" type="stmt"/>
4398
- <line num="182" count="86" type="stmt"/>
4398
+ <line num="182" count="85" type="stmt"/>
4399
4399
  <line num="184" count="45" type="stmt"/>
4400
4400
  <line num="185" count="45" type="stmt"/>
4401
4401
  <line num="186" count="45" type="stmt"/>
4402
4402
  <line num="194" count="45" type="stmt"/>
4403
- <line num="196" count="200" type="cond" truecount="1" falsecount="1"/>
4403
+ <line num="196" count="198" type="cond" truecount="1" falsecount="1"/>
4404
4404
  <line num="197" count="0" type="stmt"/>
4405
- <line num="200" count="200" type="cond" truecount="2" falsecount="0"/>
4405
+ <line num="200" count="198" type="cond" truecount="2" falsecount="0"/>
4406
4406
  <line num="201" count="16" type="stmt"/>
4407
- <line num="202" count="184" type="cond" truecount="2" falsecount="0"/>
4407
+ <line num="202" count="182" type="cond" truecount="2" falsecount="0"/>
4408
4408
  <line num="203" count="22" type="stmt"/>
4409
- <line num="206" count="162" type="stmt"/>
4409
+ <line num="206" count="160" type="stmt"/>
4410
4410
  <line num="218" count="45" type="stmt"/>
4411
- <line num="224" count="86" type="stmt"/>
4412
- <line num="226" count="86" type="stmt"/>
4413
- <line num="227" count="86" type="stmt"/>
4414
- <line num="228" count="86" type="stmt"/>
4415
- <line num="229" count="397" type="stmt"/>
4416
- <line num="231" count="397" type="cond" truecount="2" falsecount="0"/>
4417
- <line num="232" count="198" type="cond" truecount="2" falsecount="0"/>
4411
+ <line num="224" count="85" type="stmt"/>
4412
+ <line num="226" count="85" type="stmt"/>
4413
+ <line num="227" count="85" type="stmt"/>
4414
+ <line num="228" count="85" type="stmt"/>
4415
+ <line num="229" count="393" type="stmt"/>
4416
+ <line num="231" count="393" type="cond" truecount="2" falsecount="0"/>
4417
+ <line num="232" count="196" type="cond" truecount="2" falsecount="0"/>
4418
4418
  <line num="233" count="13" type="stmt"/>
4419
- <line num="235" count="198" type="stmt"/>
4420
- <line num="238" count="199" type="cond" truecount="1" falsecount="1"/>
4419
+ <line num="235" count="196" type="stmt"/>
4420
+ <line num="238" count="197" type="cond" truecount="1" falsecount="1"/>
4421
4421
  <line num="239" count="0" type="stmt"/>
4422
- <line num="243" count="199" type="stmt"/>
4423
- <line num="247" count="86" type="cond" truecount="4" falsecount="0"/>
4424
- <line num="248" count="80" type="stmt"/>
4425
- <line num="249" count="80" type="stmt"/>
4426
- <line num="253" count="86" type="stmt"/>
4422
+ <line num="243" count="197" type="stmt"/>
4423
+ <line num="247" count="85" type="cond" truecount="4" falsecount="0"/>
4424
+ <line num="248" count="79" type="stmt"/>
4425
+ <line num="249" count="79" type="stmt"/>
4426
+ <line num="253" count="85" type="stmt"/>
4427
4427
  <line num="265" count="45" type="cond" truecount="1" falsecount="0"/>
4428
- <line num="266" count="126" type="stmt"/>
4429
- <line num="267" count="126" type="cond" truecount="2" falsecount="0"/>
4430
- <line num="268" count="106" type="stmt"/>
4431
- <line num="269" count="106" type="stmt"/>
4432
- <line num="272" count="126" type="stmt"/>
4433
- <line num="275" count="126" type="stmt"/>
4434
- <line num="278" count="126" type="stmt"/>
4435
- <line num="279" count="351" type="cond" truecount="2" falsecount="0"/>
4428
+ <line num="266" count="125" type="stmt"/>
4429
+ <line num="267" count="125" type="cond" truecount="2" falsecount="0"/>
4430
+ <line num="268" count="105" type="stmt"/>
4431
+ <line num="269" count="105" type="stmt"/>
4432
+ <line num="272" count="125" type="stmt"/>
4433
+ <line num="275" count="125" type="stmt"/>
4434
+ <line num="278" count="125" type="stmt"/>
4435
+ <line num="279" count="349" type="cond" truecount="2" falsecount="0"/>
4436
4436
  <line num="280" count="8" type="stmt"/>
4437
4437
  <line num="281" count="8" type="cond" truecount="4" falsecount="0"/>
4438
4438
  <line num="282" count="2" type="stmt"/>
4439
4439
  <line num="284" count="6" type="stmt"/>
4440
4440
  <line num="285" count="2" type="stmt"/>
4441
- <line num="290" count="126" type="cond" truecount="2" falsecount="0"/>
4441
+ <line num="290" count="125" type="cond" truecount="2" falsecount="0"/>
4442
4442
  <line num="291" count="40" type="stmt"/>
4443
- <line num="293" count="126" type="cond" truecount="2" falsecount="0"/>
4443
+ <line num="293" count="125" type="cond" truecount="2" falsecount="0"/>
4444
4444
  <line num="306" count="45" type="stmt"/>
4445
4445
  <line num="307" count="14" type="stmt"/>
4446
4446
  <line num="308" count="14" type="cond" truecount="1" falsecount="1"/>
@@ -4485,20 +4485,20 @@
4485
4485
  <line num="27" count="0" type="stmt"/>
4486
4486
  <line num="29" count="2" type="stmt"/>
4487
4487
  <line num="35" count="45" type="stmt"/>
4488
- <line num="40" count="306" type="stmt"/>
4489
- <line num="41" count="306" type="cond" truecount="2" falsecount="0"/>
4490
- <line num="42" count="180" type="stmt"/>
4491
- <line num="43" count="180" type="cond" truecount="2" falsecount="0"/>
4492
- <line num="45" count="306" type="stmt"/>
4493
- <line num="46" count="857" type="stmt"/>
4494
- <line num="47" count="857" type="cond" truecount="1" falsecount="1"/>
4495
- <line num="52" count="857" type="stmt"/>
4488
+ <line num="40" count="303" type="stmt"/>
4489
+ <line num="41" count="303" type="cond" truecount="2" falsecount="0"/>
4490
+ <line num="42" count="178" type="stmt"/>
4491
+ <line num="43" count="178" type="cond" truecount="2" falsecount="0"/>
4492
+ <line num="45" count="303" type="stmt"/>
4493
+ <line num="46" count="851" type="stmt"/>
4494
+ <line num="47" count="851" type="cond" truecount="1" falsecount="1"/>
4495
+ <line num="52" count="851" type="stmt"/>
4496
4496
  <line num="55" count="0" type="stmt"/>
4497
4497
  <line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
4498
4498
  <line num="57" count="0" type="stmt"/>
4499
4499
  <line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
4500
4500
  <line num="59" count="0" type="stmt"/>
4501
- <line num="66" count="306" type="cond" truecount="2" falsecount="0"/>
4501
+ <line num="66" count="303" type="cond" truecount="2" falsecount="0"/>
4502
4502
  <line num="73" count="45" type="stmt"/>
4503
4503
  <line num="74" count="0" type="stmt"/>
4504
4504
  <line num="75" count="0" type="stmt"/>
@@ -4514,47 +4514,44 @@
4514
4514
  </file>
4515
4515
  </package>
4516
4516
  <package name="utilities.usageQuota">
4517
- <metrics statements="43" coveredstatements="36" conditionals="12" coveredconditionals="9" methods="8" coveredmethods="6"/>
4517
+ <metrics statements="40" coveredstatements="33" conditionals="10" coveredconditionals="7" methods="8" coveredmethods="6"/>
4518
4518
  <file name="rows.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/usageQuota/rows.js">
4519
- <metrics statements="38" coveredstatements="36" conditionals="10" coveredconditionals="9" methods="6" coveredmethods="6"/>
4519
+ <metrics statements="35" coveredstatements="33" conditionals="8" coveredconditionals="7" methods="6" coveredmethods="6"/>
4520
4520
  <line num="1" count="44" type="stmt"/>
4521
- <line num="7" count="44" type="stmt"/>
4522
- <line num="9" count="44" type="stmt"/>
4523
- <line num="11" count="44" type="stmt"/>
4521
+ <line num="6" count="44" type="stmt"/>
4522
+ <line num="8" count="44" type="stmt"/>
4523
+ <line num="10" count="44" type="stmt"/>
4524
+ <line num="13" count="27" type="stmt"/>
4524
4525
  <line num="14" count="27" type="stmt"/>
4525
- <line num="15" count="27" type="stmt"/>
4526
- <line num="16" count="30" type="stmt"/>
4527
- <line num="17" count="30" type="cond" truecount="2" falsecount="0"/>
4528
- <line num="18" count="28" type="stmt"/>
4529
- <line num="20" count="30" type="cond" truecount="2" falsecount="0"/>
4530
- <line num="21" count="27" type="stmt"/>
4531
- <line num="23" count="3" type="stmt"/>
4532
- <line num="26" count="27" type="stmt"/>
4533
- <line num="29" count="44" type="stmt"/>
4526
+ <line num="15" count="30" type="stmt"/>
4527
+ <line num="16" count="30" type="cond" truecount="2" falsecount="0"/>
4528
+ <line num="17" count="28" type="stmt"/>
4529
+ <line num="19" count="30" type="cond" truecount="2" falsecount="0"/>
4530
+ <line num="20" count="27" type="stmt"/>
4531
+ <line num="22" count="3" type="stmt"/>
4532
+ <line num="25" count="27" type="stmt"/>
4533
+ <line num="28" count="44" type="stmt"/>
4534
+ <line num="30" count="30" type="stmt"/>
4534
4535
  <line num="31" count="30" type="stmt"/>
4535
- <line num="32" count="30" type="stmt"/>
4536
- <line num="37" count="30" type="stmt"/>
4537
- <line num="38" count="3" type="stmt"/>
4538
- <line num="40" count="3" type="stmt"/>
4539
- <line num="41" count="3" type="cond" truecount="1" falsecount="1"/>
4540
- <line num="42" count="0" type="stmt"/>
4541
- <line num="45" count="3" type="stmt"/>
4542
- <line num="55" count="44" type="stmt"/>
4536
+ <line num="36" count="30" type="stmt"/>
4537
+ <line num="37" count="3" type="stmt"/>
4538
+ <line num="39" count="3" type="stmt"/>
4539
+ <line num="40" count="3" type="cond" truecount="1" falsecount="1"/>
4540
+ <line num="41" count="0" type="stmt"/>
4541
+ <line num="44" count="3" type="stmt"/>
4542
+ <line num="54" count="44" type="stmt"/>
4543
+ <line num="55" count="27" type="stmt"/>
4543
4544
  <line num="56" count="27" type="stmt"/>
4544
- <line num="57" count="27" type="stmt"/>
4545
4545
  <line num="58" count="27" type="stmt"/>
4546
- <line num="60" count="27" type="stmt"/>
4547
- <line num="61" count="28" type="stmt"/>
4548
- <line num="62" count="28" type="stmt"/>
4549
- <line num="63" count="56" type="cond" truecount="2" falsecount="0"/>
4550
- <line num="64" count="26" type="stmt"/>
4551
- <line num="66" count="30" type="stmt"/>
4552
- <line num="67" count="30" type="stmt"/>
4553
- <line num="69" count="0" type="stmt"/>
4554
- <line num="78" count="28" type="cond" truecount="2" falsecount="0"/>
4555
- <line num="79" count="28" type="stmt"/>
4556
- <line num="80" count="28" type="stmt"/>
4557
- <line num="83" count="27" type="stmt"/>
4546
+ <line num="59" count="28" type="stmt"/>
4547
+ <line num="60" count="28" type="stmt"/>
4548
+ <line num="61" count="56" type="cond" truecount="2" falsecount="0"/>
4549
+ <line num="62" count="26" type="stmt"/>
4550
+ <line num="64" count="30" type="stmt"/>
4551
+ <line num="65" count="30" type="stmt"/>
4552
+ <line num="67" count="0" type="stmt"/>
4553
+ <line num="76" count="28" type="stmt"/>
4554
+ <line num="79" count="27" type="stmt"/>
4558
4555
  </file>
4559
4556
  <file name="usageQuoteReset.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/usageQuota/usageQuoteReset.js">
4560
4557
  <metrics statements="5" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>