@budibase/server 2.0.14-alpha.2 → 2.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/builder/assets/{index.aef99fa8.css → index.dfa4073c.css} +2 -2
  2. package/builder/assets/{index.d83a34bc.js → index.e969ba05.js} +274 -274
  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/queue/inMemoryQueue.js.html +13 -13
  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 +38 -38
  142. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +10 -10
  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 +14 -14
  147. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +11 -23
  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 +614 -619
  152. package/dist/api/controllers/application.js +2 -2
  153. package/dist/api/controllers/public/rows.js +4 -2
  154. package/dist/api/controllers/query/index.js +6 -6
  155. package/dist/api/controllers/row/index.js +10 -30
  156. package/dist/api/controllers/table/internal.js +1 -3
  157. package/dist/api/controllers/table/utils.js +1 -3
  158. package/dist/automations/steps/updateRow.js +2 -2
  159. package/dist/automations/utils.js +3 -5
  160. package/dist/db/utils.js +1 -1
  161. package/dist/migrations/functions/{usageQuotas/syncPlugins.js → pluginCount.js} +3 -1
  162. package/dist/migrations/functions/{syncQuotas.js → quotas1.js} +7 -3
  163. package/dist/migrations/functions/usageQuotas/syncApps.js +1 -0
  164. package/dist/migrations/functions/usageQuotas/syncRows.js +5 -9
  165. package/dist/migrations/index.js +9 -3
  166. package/dist/package.json +7 -7
  167. package/dist/tsconfig.build.tsbuildinfo +1 -1
  168. package/dist/utilities/usageQuota/rows.js +4 -6
  169. package/package.json +8 -8
  170. package/src/api/controllers/application.ts +2 -2
  171. package/src/api/controllers/public/rows.ts +7 -2
  172. package/src/api/controllers/query/index.ts +6 -7
  173. package/src/api/controllers/row/index.ts +13 -36
  174. package/src/api/controllers/table/internal.ts +1 -3
  175. package/src/api/controllers/table/utils.ts +1 -3
  176. package/src/api/routes/tests/row.spec.js +27 -22
  177. package/src/automations/steps/updateRow.js +2 -2
  178. package/src/automations/tests/automation.spec.js +6 -1
  179. package/src/automations/utils.ts +4 -6
  180. package/src/db/utils.js +2 -0
  181. package/src/migrations/functions/backfill/global.ts +1 -1
  182. package/src/migrations/functions/pluginCount.ts +12 -0
  183. package/src/migrations/functions/{syncQuotas.ts → quotas1.ts} +8 -3
  184. package/src/migrations/functions/tests/{syncQuotas.spec.js → quotas1.spec.js} +2 -5
  185. package/src/migrations/functions/usageQuotas/syncApps.ts +1 -0
  186. package/src/migrations/functions/usageQuotas/syncRows.ts +6 -15
  187. package/src/migrations/functions/usageQuotas/tests/syncRows.spec.ts +1 -9
  188. package/src/migrations/index.ts +15 -3
  189. package/src/migrations/tests/index.spec.ts +1 -0
  190. package/src/utilities/usageQuota/rows.js +3 -7
  191. 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="1664791263502" clover="3.2.0">
3
- <project timestamp="1664791263502" name="All files">
4
- <metrics statements="4109" coveredstatements="2994" conditionals="1765" coveredconditionals="968" methods="611" coveredmethods="429" elements="6485" coveredelements="4391" complexity="0" loc="4109" ncloc="4109" packages="22" files="122" classes="122"/>
2
+ <coverage generated="1664876829873" clover="3.2.0">
3
+ <project timestamp="1664876829873" name="All files">
4
+ <metrics statements="4106" coveredstatements="2991" conditionals="1763" coveredconditionals="966" methods="611" coveredmethods="429" elements="6480" coveredelements="4386" complexity="0" loc="4106" ncloc="4106" packages="22" files="122" classes="122"/>
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"/>
@@ -1205,18 +1205,18 @@
1205
1205
  <line num="138" count="0" type="stmt"/>
1206
1206
  <line num="141" count="5" type="stmt"/>
1207
1207
  <line num="147" count="45" type="stmt"/>
1208
- <line num="148" count="77" type="stmt"/>
1209
- <line num="149" count="77" type="stmt"/>
1210
- <line num="150" count="77" type="stmt"/>
1211
- <line num="152" count="77" type="cond" truecount="3" falsecount="1"/>
1212
- <line num="153" count="77" type="stmt"/>
1213
- <line num="157" count="77" type="stmt"/>
1214
- <line num="158" count="77" type="stmt"/>
1215
- <line num="159" count="77" type="stmt"/>
1216
- <line num="164" count="77" type="cond" truecount="1" falsecount="1"/>
1208
+ <line num="148" count="76" type="stmt"/>
1209
+ <line num="149" count="76" type="stmt"/>
1210
+ <line num="150" count="76" type="stmt"/>
1211
+ <line num="152" count="76" type="cond" truecount="3" falsecount="1"/>
1212
+ <line num="153" count="76" type="stmt"/>
1213
+ <line num="157" count="76" type="stmt"/>
1214
+ <line num="158" count="76" type="stmt"/>
1215
+ <line num="159" count="76" type="stmt"/>
1216
+ <line num="164" count="76" type="cond" truecount="1" falsecount="1"/>
1217
1217
  <line num="165" count="0" type="stmt"/>
1218
- <line num="169" count="77" type="stmt"/>
1219
- <line num="176" count="76" type="stmt"/>
1218
+ <line num="169" count="76" type="stmt"/>
1219
+ <line num="176" count="75" type="stmt"/>
1220
1220
  <line num="182" count="45" type="stmt"/>
1221
1221
  <line num="183" count="9" type="stmt"/>
1222
1222
  <line num="186" count="9" type="cond" truecount="2" falsecount="0"/>
@@ -1578,9 +1578,9 @@
1578
1578
  <line num="9" count="45" type="stmt"/>
1579
1579
  <line num="10" count="45" type="stmt"/>
1580
1580
  <line num="18" count="45" type="stmt"/>
1581
- <line num="19" count="86" type="stmt"/>
1582
- <line num="21" count="86" type="cond" truecount="1" falsecount="1"/>
1583
- <line num="22" count="86" type="stmt"/>
1581
+ <line num="19" count="85" type="stmt"/>
1582
+ <line num="21" count="85" type="cond" truecount="1" falsecount="1"/>
1583
+ <line num="22" count="85" type="stmt"/>
1584
1584
  <line num="24" count="0" type="stmt"/>
1585
1585
  <line num="25" count="0" type="cond" truecount="0" falsecount="2"/>
1586
1586
  <line num="29" count="0" type="stmt"/>
@@ -1615,11 +1615,11 @@
1615
1615
  <line num="98" count="0" type="stmt"/>
1616
1616
  <line num="102" count="0" type="stmt"/>
1617
1617
  <line num="111" count="45" type="stmt"/>
1618
- <line num="116" count="81" type="stmt"/>
1619
- <line num="117" count="81" type="stmt"/>
1620
- <line num="119" count="81" type="stmt"/>
1621
- <line num="123" count="81" type="stmt"/>
1622
- <line num="131" count="81" type="cond" truecount="3" falsecount="1"/>
1618
+ <line num="116" count="80" type="stmt"/>
1619
+ <line num="117" count="80" type="stmt"/>
1620
+ <line num="119" count="80" type="stmt"/>
1621
+ <line num="123" count="80" type="stmt"/>
1622
+ <line num="131" count="80" type="cond" truecount="3" falsecount="1"/>
1623
1623
  <line num="132" count="0" type="stmt"/>
1624
1624
  <line num="133" count="0" type="stmt"/>
1625
1625
  <line num="135" count="0" type="cond" truecount="0" falsecount="2"/>
@@ -1628,12 +1628,12 @@
1628
1628
  <line num="140" count="0" type="stmt"/>
1629
1629
  <line num="141" count="0" type="stmt"/>
1630
1630
  <line num="143" count="0" type="stmt"/>
1631
- <line num="147" count="81" type="stmt"/>
1632
- <line num="149" count="81" type="stmt"/>
1633
- <line num="150" count="81" type="stmt"/>
1634
- <line num="152" count="81" type="cond" truecount="1" falsecount="1"/>
1635
- <line num="153" count="81" type="stmt"/>
1636
- <line num="155" count="81" type="stmt"/>
1631
+ <line num="147" count="80" type="stmt"/>
1632
+ <line num="149" count="80" type="stmt"/>
1633
+ <line num="150" count="80" type="stmt"/>
1634
+ <line num="152" count="80" type="cond" truecount="1" falsecount="1"/>
1635
+ <line num="153" count="80" type="stmt"/>
1636
+ <line num="155" count="80" type="stmt"/>
1637
1637
  </file>
1638
1638
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/utils.js">
1639
1639
  <metrics statements="55" coveredstatements="37" conditionals="34" coveredconditionals="13" methods="6" coveredmethods="4"/>
@@ -1665,18 +1665,18 @@
1665
1665
  <line num="43" count="0" type="stmt"/>
1666
1666
  <line num="45" count="23" type="stmt"/>
1667
1667
  <line num="48" count="46" type="stmt"/>
1668
- <line num="49" count="85" type="cond" truecount="2" falsecount="0"/>
1668
+ <line num="49" count="84" type="cond" truecount="2" falsecount="0"/>
1669
1669
  <line num="50" count="2" type="stmt"/>
1670
1670
  <line num="51" count="2" type="stmt"/>
1671
- <line num="53" count="85" type="stmt"/>
1672
- <line num="54" count="85" type="stmt"/>
1673
- <line num="55" count="228" type="stmt"/>
1674
- <line num="56" count="228" type="stmt"/>
1675
- <line num="58" count="228" type="cond" truecount="1" falsecount="1"/>
1671
+ <line num="53" count="84" type="stmt"/>
1672
+ <line num="54" count="84" type="stmt"/>
1673
+ <line num="55" count="226" type="stmt"/>
1674
+ <line num="56" count="226" type="stmt"/>
1675
+ <line num="58" count="226" type="cond" truecount="1" falsecount="1"/>
1676
1676
  <line num="59" count="0" type="stmt"/>
1677
- <line num="62" count="228" type="cond" truecount="2" falsecount="2"/>
1677
+ <line num="62" count="226" type="cond" truecount="2" falsecount="2"/>
1678
1678
  <line num="63" count="0" type="stmt"/>
1679
- <line num="68" count="228" type="cond" truecount="2" falsecount="2"/>
1679
+ <line num="68" count="226" type="cond" truecount="2" falsecount="2"/>
1680
1680
  <line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
1681
1681
  <line num="70" count="0" type="cond" truecount="0" falsecount="2"/>
1682
1682
  <line num="71" count="0" type="stmt"/>
@@ -1685,13 +1685,13 @@
1685
1685
  <line num="78" count="0" type="stmt"/>
1686
1686
  <line num="81" count="0" type="cond" truecount="0" falsecount="4"/>
1687
1687
  <line num="83" count="0" type="stmt"/>
1688
- <line num="85" count="228" type="cond" truecount="2" falsecount="2"/>
1688
+ <line num="85" count="226" type="cond" truecount="2" falsecount="2"/>
1689
1689
  <line num="87" count="0" type="stmt"/>
1690
1690
  <line num="88" count="0" type="stmt"/>
1691
1691
  <line num="90" count="0" type="stmt"/>
1692
- <line num="93" count="228" type="stmt"/>
1693
- <line num="95" count="228" type="cond" truecount="2" falsecount="0"/>
1694
- <line num="97" count="85" type="stmt"/>
1692
+ <line num="93" count="226" type="stmt"/>
1693
+ <line num="95" count="226" type="cond" truecount="2" falsecount="0"/>
1694
+ <line num="97" count="84" type="stmt"/>
1695
1695
  </file>
1696
1696
  </package>
1697
1697
  <package name="api.controllers.table">
@@ -2679,10 +2679,10 @@
2679
2679
  <line num="3" count="44" type="stmt"/>
2680
2680
  <line num="4" count="44" type="stmt"/>
2681
2681
  <line num="9" count="44" type="stmt"/>
2682
- <line num="11" count="31" type="stmt"/>
2683
- <line num="12" count="7" type="stmt"/>
2684
- <line num="15" count="31" type="stmt"/>
2685
- <line num="16" count="31" type="stmt"/>
2682
+ <line num="11" count="32" type="stmt"/>
2683
+ <line num="12" count="8" type="stmt"/>
2684
+ <line num="15" count="32" type="stmt"/>
2685
+ <line num="16" count="32" type="stmt"/>
2686
2686
  <line num="19" count="44" type="stmt"/>
2687
2687
  <line num="20" count="0" type="stmt"/>
2688
2688
  <line num="23" count="44" type="stmt"/>
@@ -2706,17 +2706,17 @@
2706
2706
  <line num="12" count="45" type="stmt"/>
2707
2707
  <line num="14" count="45" type="stmt"/>
2708
2708
  <line num="15" count="45" type="stmt"/>
2709
- <line num="21" count="21" type="stmt"/>
2710
- <line num="22" count="21" type="stmt"/>
2711
- <line num="25" count="21" type="stmt"/>
2712
- <line num="29" count="18" type="cond" truecount="1" falsecount="1"/>
2709
+ <line num="21" count="23" type="stmt"/>
2710
+ <line num="22" count="23" type="stmt"/>
2711
+ <line num="25" count="23" type="stmt"/>
2712
+ <line num="29" count="17" type="cond" truecount="1" falsecount="1"/>
2713
2713
  <line num="30" count="0" type="stmt"/>
2714
- <line num="33" count="18" type="stmt"/>
2715
- <line num="34" count="18" type="stmt"/>
2716
- <line num="37" count="18" type="stmt"/>
2714
+ <line num="33" count="17" type="stmt"/>
2715
+ <line num="34" count="17" type="stmt"/>
2716
+ <line num="37" count="17" type="stmt"/>
2717
2717
  <line num="38" count="4" type="stmt"/>
2718
2718
  <line num="39" count="4" type="cond" truecount="2" falsecount="0"/>
2719
- <line num="42" count="18" type="stmt"/>
2719
+ <line num="42" count="17" type="stmt"/>
2720
2720
  <line num="43" count="4" type="stmt"/>
2721
2721
  <line num="44" count="4" type="cond" truecount="1" falsecount="1"/>
2722
2722
  <line num="48" count="4" type="cond" truecount="1" falsecount="1"/>
@@ -2724,35 +2724,35 @@
2724
2724
  <line num="55" count="4" type="cond" truecount="1" falsecount="1"/>
2725
2725
  <line num="59" count="4" type="stmt"/>
2726
2726
  <line num="65" count="45" type="stmt"/>
2727
- <line num="70" count="8" type="stmt"/>
2727
+ <line num="70" count="7" type="stmt"/>
2728
2728
  <line num="73" count="45" type="stmt"/>
2729
2729
  <line num="78" count="4" type="stmt"/>
2730
2730
  <line num="81" count="45" type="stmt"/>
2731
2731
  <line num="86" count="6" type="stmt"/>
2732
2732
  <line num="89" count="45" type="stmt"/>
2733
- <line num="94" count="5" type="cond" truecount="2" falsecount="0"/>
2733
+ <line num="94" count="6" type="cond" truecount="2" falsecount="0"/>
2734
2734
  <line num="102" count="1" type="stmt"/>
2735
2735
  <line num="103" count="1" type="stmt"/>
2736
2736
  <line num="104" count="1" type="cond" truecount="1" falsecount="1"/>
2737
2737
  <line num="105" count="1" type="stmt"/>
2738
2738
  <line num="107" count="1" type="stmt"/>
2739
- <line num="109" count="5" type="stmt"/>
2740
- <line num="110" count="5" type="cond" truecount="2" falsecount="0"/>
2739
+ <line num="109" count="6" type="stmt"/>
2740
+ <line num="110" count="6" type="cond" truecount="2" falsecount="0"/>
2741
2741
  <line num="111" count="2" type="stmt"/>
2742
- <line num="113" count="3" type="stmt"/>
2742
+ <line num="113" count="4" type="stmt"/>
2743
2743
  <line num="117" count="45" type="stmt"/>
2744
- <line num="120" count="31" type="cond" truecount="3" falsecount="1"/>
2744
+ <line num="120" count="32" type="cond" truecount="3" falsecount="1"/>
2745
2745
  <line num="121" count="0" type="stmt"/>
2746
- <line num="125" count="31" type="stmt"/>
2747
- <line num="126" count="31" type="stmt"/>
2748
- <line num="127" count="3" type="stmt"/>
2749
- <line num="128" count="3" type="stmt"/>
2750
- <line num="129" count="3" type="stmt"/>
2751
- <line num="130" count="3" type="stmt"/>
2746
+ <line num="125" count="32" type="stmt"/>
2747
+ <line num="126" count="32" type="stmt"/>
2748
+ <line num="127" count="6" type="stmt"/>
2749
+ <line num="128" count="6" type="stmt"/>
2750
+ <line num="129" count="6" type="stmt"/>
2751
+ <line num="130" count="6" type="stmt"/>
2752
2752
  <line num="131" count="0" type="cond" truecount="0" falsecount="2"/>
2753
2753
  <line num="132" count="0" type="stmt"/>
2754
2754
  <line num="139" count="0" type="stmt"/>
2755
- <line num="142" count="3" type="stmt"/>
2755
+ <line num="142" count="6" type="stmt"/>
2756
2756
  <line num="147" count="45" type="stmt"/>
2757
2757
  </file>
2758
2758
  </package>
@@ -3173,7 +3173,7 @@
3173
3173
  <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
3174
3174
  <line num="1" count="59" type="stmt"/>
3175
3175
  <line num="3" count="59" type="stmt"/>
3176
- <line num="4" count="967" type="stmt"/>
3176
+ <line num="4" count="968" type="stmt"/>
3177
3177
  </file>
3178
3178
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
3179
3179
  <metrics statements="111" coveredstatements="100" conditionals="49" coveredconditionals="18" methods="32" coveredmethods="25"/>
@@ -3182,12 +3182,10 @@
3182
3182
  <line num="18" count="59" type="stmt"/>
3183
3183
  <line num="20" count="59" type="stmt"/>
3184
3184
  <line num="26" count="59" type="stmt"/>
3185
- <line num="45" count="59" type="stmt"/>
3186
- <line num="49" count="59" type="stmt"/>
3187
- <line num="53" count="59" type="stmt"/>
3185
+ <line num="47" count="59" type="stmt"/>
3186
+ <line num="51" count="59" type="stmt"/>
3188
3187
  <line num="55" count="59" type="stmt"/>
3189
- <line num="63" count="59" type="stmt"/>
3190
- <line num="64" count="59" type="stmt"/>
3188
+ <line num="57" count="59" type="stmt"/>
3191
3189
  <line num="65" count="59" type="stmt"/>
3192
3190
  <line num="66" count="59" type="stmt"/>
3193
3191
  <line num="67" count="59" type="stmt"/>
@@ -3203,91 +3201,93 @@
3203
3201
  <line num="77" count="59" type="stmt"/>
3204
3202
  <line num="78" count="59" type="stmt"/>
3205
3203
  <line num="79" count="59" type="stmt"/>
3204
+ <line num="80" count="59" type="stmt"/>
3206
3205
  <line num="81" count="59" type="stmt"/>
3207
- <line num="82" count="59" type="stmt"/>
3206
+ <line num="83" count="59" type="stmt"/>
3208
3207
  <line num="84" count="59" type="stmt"/>
3209
- <line num="99" count="875" type="cond" truecount="2" falsecount="0"/>
3210
- <line num="100" count="858" type="stmt"/>
3211
- <line num="102" count="875" type="stmt"/>
3212
- <line num="109" count="59" type="stmt"/>
3213
- <line num="114" count="59" type="cond" truecount="0" falsecount="2"/>
3214
- <line num="115" count="271" type="stmt"/>
3215
- <line num="122" count="59" type="stmt"/>
3216
- <line num="123" count="130" type="stmt"/>
3217
- <line num="134" count="59" type="cond" truecount="0" falsecount="3"/>
3218
- <line num="135" count="44" type="cond" truecount="2" falsecount="0"/>
3219
- <line num="136" count="30" type="stmt"/>
3220
- <line num="139" count="14" type="cond" truecount="1" falsecount="1"/>
3221
- <line num="141" count="14" type="stmt"/>
3222
- <line num="149" count="59" type="stmt"/>
3223
- <line num="150" count="0" type="stmt"/>
3224
- <line num="153" count="0" type="stmt"/>
3225
- <line num="162" count="59" type="cond" truecount="1" falsecount="0"/>
3226
- <line num="163" count="323" type="cond" truecount="2" falsecount="0"/>
3227
- <line num="164" count="323" type="stmt"/>
3228
- <line num="170" count="59" type="cond" truecount="0" falsecount="2"/>
3229
- <line num="171" count="3" type="stmt"/>
3230
- <line num="179" count="59" type="stmt"/>
3231
- <line num="180" count="243" type="stmt"/>
3232
- <line num="186" count="59" type="stmt"/>
3233
- <line num="187" count="3" type="stmt"/>
3234
- <line num="188" count="3" type="cond" truecount="4" falsecount="0"/>
3235
- <line num="189" count="1" type="stmt"/>
3236
- <line num="191" count="2" type="stmt"/>
3237
- <line num="197" count="59" type="cond" truecount="0" falsecount="2"/>
3238
- <line num="198" count="276" type="stmt"/>
3239
- <line num="205" count="59" type="stmt"/>
3240
- <line num="206" count="27" type="stmt"/>
3241
- <line num="220" count="59" type="stmt"/>
3242
- <line num="228" count="9" type="stmt"/>
3243
- <line num="229" count="9" type="stmt"/>
3208
+ <line num="86" count="59" type="stmt"/>
3209
+ <line num="101" count="879" type="cond" truecount="2" falsecount="0"/>
3210
+ <line num="102" count="862" type="stmt"/>
3211
+ <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"/>
3214
+ <line num="117" count="271" type="stmt"/>
3215
+ <line num="124" count="59" type="stmt"/>
3216
+ <line num="125" count="130" type="stmt"/>
3217
+ <line num="136" count="59" type="cond" truecount="0" falsecount="3"/>
3218
+ <line num="137" count="44" type="cond" truecount="2" falsecount="0"/>
3219
+ <line num="138" count="30" type="stmt"/>
3220
+ <line num="141" count="14" type="cond" truecount="1" falsecount="1"/>
3221
+ <line num="143" count="14" type="stmt"/>
3222
+ <line num="151" count="59" type="stmt"/>
3223
+ <line num="152" count="0" type="stmt"/>
3224
+ <line num="155" count="0" type="stmt"/>
3225
+ <line num="164" count="59" type="cond" truecount="1" falsecount="0"/>
3226
+ <line num="165" count="321" type="cond" truecount="2" falsecount="0"/>
3227
+ <line num="166" count="321" type="stmt"/>
3228
+ <line num="172" count="59" type="cond" truecount="0" falsecount="2"/>
3229
+ <line num="173" count="3" type="stmt"/>
3230
+ <line num="181" count="59" type="stmt"/>
3231
+ <line num="182" count="242" type="stmt"/>
3232
+ <line num="188" count="59" type="stmt"/>
3233
+ <line num="189" count="3" type="stmt"/>
3234
+ <line num="190" count="3" type="cond" truecount="4" falsecount="0"/>
3235
+ <line num="191" count="1" type="stmt"/>
3236
+ <line num="193" count="2" type="stmt"/>
3237
+ <line num="199" count="59" type="cond" truecount="0" falsecount="2"/>
3238
+ <line num="200" count="279" type="stmt"/>
3239
+ <line num="207" count="59" type="stmt"/>
3240
+ <line num="208" count="27" type="stmt"/>
3241
+ <line num="222" count="59" type="stmt"/>
3244
3242
  <line num="230" count="9" type="stmt"/>
3245
3243
  <line num="231" count="9" type="stmt"/>
3246
- <line num="237" count="59" type="cond" truecount="0" falsecount="1"/>
3247
- <line num="238" count="0" type="stmt"/>
3248
- <line num="245" count="59" type="stmt"/>
3249
- <line num="246" count="6" type="cond" truecount="2" falsecount="0"/>
3250
- <line num="252" count="59" type="cond" truecount="0" falsecount="2"/>
3251
- <line num="253" count="9" type="stmt"/>
3252
- <line num="260" count="59" type="stmt"/>
3253
- <line num="261" count="23" type="stmt"/>
3254
- <line num="267" count="59" type="cond" truecount="0" falsecount="2"/>
3255
- <line num="268" count="11" type="stmt"/>
3256
- <line num="275" count="59" type="stmt"/>
3257
- <line num="276" count="10" type="stmt"/>
3258
- <line num="282" count="59" type="cond" truecount="0" falsecount="2"/>
3259
- <line num="283" count="2" type="stmt"/>
3260
- <line num="290" count="59" type="cond" truecount="1" falsecount="1"/>
3261
- <line num="291" count="64" type="stmt"/>
3262
- <line num="299" count="59" type="cond" truecount="0" falsecount="2"/>
3263
- <line num="300" count="5" type="stmt"/>
3264
- <line num="307" count="59" type="stmt"/>
3265
- <line num="308" count="139" type="stmt"/>
3266
- <line num="317" count="59" type="stmt"/>
3267
- <line num="318" count="0" type="stmt"/>
3268
- <line num="324" count="59" type="cond" truecount="0" falsecount="1"/>
3269
- <line num="325" count="252" type="stmt"/>
3270
- <line num="331" count="59" type="cond" truecount="0" falsecount="2"/>
3271
- <line num="332" count="5" type="cond" truecount="2" falsecount="0"/>
3272
- <line num="333" count="4" type="stmt"/>
3273
- <line num="336" count="1" type="stmt"/>
3274
- <line num="347" count="59" type="stmt"/>
3275
- <line num="348" count="0" type="stmt"/>
3276
- <line num="351" count="59" type="stmt"/>
3277
- <line num="352" count="10" type="stmt"/>
3278
- <line num="355" count="59" type="cond" truecount="0" falsecount="2"/>
3279
- <line num="356" count="0" type="stmt"/>
3280
- <line num="357" count="0" type="cond" truecount="0" falsecount="2"/>
3244
+ <line num="232" count="9" type="stmt"/>
3245
+ <line num="233" count="9" type="stmt"/>
3246
+ <line num="239" count="59" type="cond" truecount="0" falsecount="1"/>
3247
+ <line num="240" count="0" type="stmt"/>
3248
+ <line num="247" count="59" type="stmt"/>
3249
+ <line num="248" count="6" type="cond" truecount="2" falsecount="0"/>
3250
+ <line num="254" count="59" type="cond" truecount="0" falsecount="2"/>
3251
+ <line num="255" count="9" type="stmt"/>
3252
+ <line num="262" count="59" type="stmt"/>
3253
+ <line num="263" count="23" type="stmt"/>
3254
+ <line num="269" count="59" type="cond" truecount="0" falsecount="2"/>
3255
+ <line num="270" count="11" type="stmt"/>
3256
+ <line num="277" count="59" type="stmt"/>
3257
+ <line num="278" count="10" type="stmt"/>
3258
+ <line num="284" count="59" type="cond" truecount="0" falsecount="2"/>
3259
+ <line num="285" count="2" type="stmt"/>
3260
+ <line num="292" count="59" type="cond" truecount="1" falsecount="1"/>
3261
+ <line num="293" count="64" type="stmt"/>
3262
+ <line num="301" count="59" type="cond" truecount="0" falsecount="2"/>
3263
+ <line num="302" count="5" type="stmt"/>
3264
+ <line num="309" count="59" type="stmt"/>
3265
+ <line num="310" count="139" type="stmt"/>
3266
+ <line num="319" count="59" type="stmt"/>
3267
+ <line num="320" count="0" type="stmt"/>
3268
+ <line num="326" count="59" type="cond" truecount="0" falsecount="1"/>
3269
+ <line num="327" count="253" type="stmt"/>
3270
+ <line num="333" count="59" type="cond" truecount="0" falsecount="2"/>
3271
+ <line num="334" count="5" type="cond" truecount="2" falsecount="0"/>
3272
+ <line num="335" count="4" type="stmt"/>
3273
+ <line num="338" count="1" type="stmt"/>
3274
+ <line num="349" count="59" type="stmt"/>
3275
+ <line num="350" count="0" type="stmt"/>
3276
+ <line num="353" count="59" type="stmt"/>
3277
+ <line num="354" count="10" type="stmt"/>
3278
+ <line num="357" count="59" type="cond" truecount="0" falsecount="2"/>
3281
3279
  <line num="358" count="0" type="stmt"/>
3280
+ <line num="359" count="0" type="cond" truecount="0" falsecount="2"/>
3282
3281
  <line num="360" count="0" type="stmt"/>
3283
- <line num="363" count="59" type="stmt"/>
3284
- <line num="364" count="1" type="stmt"/>
3285
- <line num="367" count="59" type="cond" truecount="0" falsecount="1"/>
3286
- <line num="368" count="0" type="stmt"/>
3287
- <line num="371" count="59" type="stmt"/>
3288
- <line num="372" count="0" type="stmt"/>
3289
- <line num="378" count="59" type="stmt"/>
3290
- <line num="379" count="60" type="stmt"/>
3282
+ <line num="362" count="0" type="stmt"/>
3283
+ <line num="365" count="59" type="stmt"/>
3284
+ <line num="366" count="1" type="stmt"/>
3285
+ <line num="369" count="59" type="cond" truecount="0" falsecount="1"/>
3286
+ <line num="370" count="0" type="stmt"/>
3287
+ <line num="373" count="59" type="stmt"/>
3288
+ <line num="374" count="0" type="stmt"/>
3289
+ <line num="380" count="59" type="stmt"/>
3290
+ <line num="381" count="60" type="stmt"/>
3291
3291
  </file>
3292
3292
  </package>
3293
3293
  <package name="db.linkedRows">
@@ -3303,21 +3303,21 @@
3303
3303
  <line num="41" count="9" type="stmt"/>
3304
3304
  <line num="42" count="9" type="stmt"/>
3305
3305
  <line num="47" count="9" type="stmt"/>
3306
- <line num="56" count="231" type="stmt"/>
3307
- <line num="57" count="231" type="stmt"/>
3308
- <line num="58" count="231" type="stmt"/>
3309
- <line num="59" count="231" type="stmt"/>
3310
- <line num="60" count="231" type="stmt"/>
3306
+ <line num="56" count="230" type="stmt"/>
3307
+ <line num="57" count="230" type="stmt"/>
3308
+ <line num="58" count="230" type="stmt"/>
3309
+ <line num="59" count="230" type="stmt"/>
3310
+ <line num="60" count="230" type="stmt"/>
3311
3311
  <line num="69" count="53" type="cond" truecount="2" falsecount="0"/>
3312
3312
  <line num="70" count="6" type="stmt"/>
3313
3313
  <line num="73" count="53" type="stmt"/>
3314
- <line num="84" count="226" type="cond" truecount="2" falsecount="0"/>
3314
+ <line num="84" count="225" type="cond" truecount="2" falsecount="0"/>
3315
3315
  <line num="85" count="6" type="stmt"/>
3316
- <line num="87" count="226" type="stmt"/>
3317
- <line num="88" count="542" type="stmt"/>
3318
- <line num="89" count="542" type="cond" truecount="2" falsecount="0"/>
3316
+ <line num="87" count="225" type="stmt"/>
3317
+ <line num="88" count="540" type="stmt"/>
3318
+ <line num="89" count="540" type="cond" truecount="2" falsecount="0"/>
3319
3319
  <line num="90" count="41" type="stmt"/>
3320
- <line num="93" count="185" type="stmt"/>
3320
+ <line num="93" count="184" type="stmt"/>
3321
3321
  <line num="100" count="27" type="stmt"/>
3322
3322
  <line num="111" count="9" type="stmt"/>
3323
3323
  <line num="121" count="22" type="stmt"/>
@@ -3487,14 +3487,14 @@
3487
3487
  <line num="91" count="30" type="stmt"/>
3488
3488
  <line num="92" count="30" type="stmt"/>
3489
3489
  <line num="106" count="45" type="stmt"/>
3490
- <line num="107" count="221" type="stmt"/>
3491
- <line num="108" count="221" type="cond" truecount="2" falsecount="0"/>
3492
- <line num="110" count="221" type="cond" truecount="4" falsecount="0"/>
3490
+ <line num="107" count="220" type="stmt"/>
3491
+ <line num="108" count="220" type="cond" truecount="2" falsecount="0"/>
3492
+ <line num="110" count="220" type="cond" truecount="4" falsecount="0"/>
3493
3493
  <line num="111" count="133" type="stmt"/>
3494
- <line num="113" count="221" type="stmt"/>
3495
- <line num="114" count="221" type="stmt"/>
3496
- <line num="115" count="221" type="cond" truecount="2" falsecount="0"/>
3497
- <line num="120" count="180" type="stmt"/>
3494
+ <line num="113" count="220" type="stmt"/>
3495
+ <line num="114" count="220" type="stmt"/>
3496
+ <line num="115" count="220" type="cond" truecount="2" falsecount="0"/>
3497
+ <line num="120" count="179" type="stmt"/>
3498
3498
  <line num="123" count="0" type="stmt"/>
3499
3499
  <line num="125" count="41" type="cond" truecount="5" falsecount="2"/>
3500
3500
  <line num="128" count="21" type="stmt"/>
@@ -3504,9 +3504,9 @@
3504
3504
  <line num="136" count="1" type="stmt"/>
3505
3505
  <line num="138" count="0" type="stmt"/>
3506
3506
  <line num="149" count="45" type="stmt"/>
3507
- <line num="150" count="126" type="stmt"/>
3508
- <line num="151" count="126" type="cond" truecount="2" falsecount="0"/>
3509
- <line num="152" count="96" type="stmt"/>
3507
+ <line num="150" count="125" type="stmt"/>
3508
+ <line num="151" count="125" type="cond" truecount="2" falsecount="0"/>
3509
+ <line num="152" count="95" type="stmt"/>
3510
3510
  <line num="155" count="30" type="stmt"/>
3511
3511
  <line num="156" count="25" type="stmt"/>
3512
3512
  <line num="159" count="30" type="stmt"/>
@@ -3577,8 +3577,8 @@
3577
3577
  <line num="80" count="30" type="stmt"/>
3578
3578
  <line num="81" count="33" type="stmt"/>
3579
3579
  <line num="85" count="45" type="stmt"/>
3580
- <line num="86" count="126" type="stmt"/>
3581
- <line num="87" count="351" type="stmt"/>
3580
+ <line num="86" count="125" type="stmt"/>
3581
+ <line num="87" count="349" type="stmt"/>
3582
3582
  <line num="88" count="53" type="stmt"/>
3583
3583
  <line num="91" count="45" type="stmt"/>
3584
3584
  <line num="92" count="77" type="stmt"/>
@@ -3621,7 +3621,7 @@
3621
3621
  <metrics statements="7" coveredstatements="7" conditionals="2" coveredconditionals="1" methods="3" coveredmethods="3"/>
3622
3622
  <line num="1" count="45" type="stmt"/>
3623
3623
  <line num="2" count="45" type="stmt"/>
3624
- <line num="16" count="14" type="stmt"/>
3624
+ <line num="16" count="13" type="stmt"/>
3625
3625
  <line num="20" count="12" type="stmt"/>
3626
3626
  <line num="24" count="28" type="stmt"/>
3627
3627
  <line num="28" count="45" type="stmt"/>
@@ -3630,15 +3630,15 @@
3630
3630
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/events/utils.js">
3631
3631
  <metrics statements="19" coveredstatements="18" conditionals="10" coveredconditionals="7" methods="2" coveredmethods="2"/>
3632
3632
  <line num="1" count="45" type="stmt"/>
3633
- <line num="2" count="18" type="stmt"/>
3634
- <line num="7" count="18" type="cond" truecount="2" falsecount="0"/>
3635
- <line num="8" count="12" type="stmt"/>
3636
- <line num="10" count="18" type="stmt"/>
3637
- <line num="11" count="18" type="cond" truecount="1" falsecount="1"/>
3638
- <line num="12" count="18" type="stmt"/>
3639
- <line num="14" count="18" type="cond" truecount="2" falsecount="0"/>
3633
+ <line num="2" count="17" type="stmt"/>
3634
+ <line num="7" count="17" type="cond" truecount="2" falsecount="0"/>
3635
+ <line num="8" count="11" type="stmt"/>
3636
+ <line num="10" count="17" type="stmt"/>
3637
+ <line num="11" count="17" type="cond" truecount="1" falsecount="1"/>
3638
+ <line num="12" count="17" type="stmt"/>
3639
+ <line num="14" count="17" type="cond" truecount="2" falsecount="0"/>
3640
3640
  <line num="15" count="4" type="stmt"/>
3641
- <line num="17" count="18" type="stmt"/>
3641
+ <line num="17" count="17" type="stmt"/>
3642
3642
  <line num="20" count="45" type="stmt"/>
3643
3643
  <line num="21" count="12" type="stmt"/>
3644
3644
  <line num="22" count="12" type="stmt"/>
@@ -3700,19 +3700,19 @@
3700
3700
  <line num="59" count="1" type="stmt"/>
3701
3701
  <line num="61" count="1" type="stmt"/>
3702
3702
  <line num="65" count="29" type="stmt"/>
3703
- <line num="66" count="224" type="stmt"/>
3704
- <line num="68" count="224" type="cond" truecount="2" falsecount="0"/>
3703
+ <line num="66" count="223" type="stmt"/>
3704
+ <line num="68" count="223" type="cond" truecount="2" falsecount="0"/>
3705
3705
  <line num="69" count="5" type="stmt"/>
3706
- <line num="71" count="219" type="stmt"/>
3707
- <line num="72" count="219" type="stmt"/>
3708
- <line num="74" count="219" type="stmt"/>
3709
- <line num="75" count="219" type="cond" truecount="2" falsecount="0"/>
3710
- <line num="76" count="219" type="cond" truecount="1" falsecount="1"/>
3706
+ <line num="71" count="218" type="stmt"/>
3707
+ <line num="72" count="218" type="stmt"/>
3708
+ <line num="74" count="218" type="stmt"/>
3709
+ <line num="75" count="218" type="cond" truecount="2" falsecount="0"/>
3710
+ <line num="76" count="218" type="cond" truecount="1" falsecount="1"/>
3711
3711
  <line num="77" count="0" type="stmt"/>
3712
- <line num="80" count="219" type="cond" truecount="2" falsecount="0"/>
3713
- <line num="81" count="219" type="cond" truecount="2" falsecount="0"/>
3714
- <line num="83" count="219" type="cond" truecount="4" falsecount="0"/>
3715
- <line num="84" count="218" type="stmt"/>
3712
+ <line num="80" count="218" type="cond" truecount="2" falsecount="0"/>
3713
+ <line num="81" count="218" type="cond" truecount="2" falsecount="0"/>
3714
+ <line num="83" count="218" type="cond" truecount="4" falsecount="0"/>
3715
+ <line num="84" count="217" type="stmt"/>
3716
3716
  <line num="87" count="1" type="stmt"/>
3717
3717
  <line num="89" count="1" type="stmt"/>
3718
3718
  </file>
@@ -3730,60 +3730,60 @@
3730
3730
  <line num="15" count="33" type="stmt"/>
3731
3731
  <line num="16" count="33" type="stmt"/>
3732
3732
  <line num="18" count="33" type="stmt"/>
3733
- <line num="20" count="243" type="stmt"/>
3734
- <line num="22" count="243" type="stmt"/>
3735
- <line num="23" count="243" type="stmt"/>
3736
- <line num="24" count="243" type="stmt"/>
3733
+ <line num="20" count="242" type="stmt"/>
3734
+ <line num="22" count="242" type="stmt"/>
3735
+ <line num="23" count="242" type="stmt"/>
3736
+ <line num="24" count="242" type="stmt"/>
3737
3737
  <line num="26" count="0" type="stmt"/>
3738
- <line num="28" count="243" type="cond" truecount="4" falsecount="0"/>
3738
+ <line num="28" count="242" type="cond" truecount="4" falsecount="0"/>
3739
3739
  <line num="29" count="1" type="stmt"/>
3740
- <line num="32" count="242" type="cond" truecount="2" falsecount="0"/>
3741
- <line num="33" count="236" type="stmt"/>
3742
- <line num="34" count="236" type="stmt"/>
3743
- <line num="35" count="236" type="cond" truecount="1" falsecount="1"/>
3740
+ <line num="32" count="241" type="cond" truecount="2" falsecount="0"/>
3741
+ <line num="33" count="235" type="stmt"/>
3742
+ <line num="34" count="235" type="stmt"/>
3743
+ <line num="35" count="235" type="cond" truecount="1" falsecount="1"/>
3744
3744
  <line num="36" count="0" type="stmt"/>
3745
3745
  <line num="37" count="0" type="stmt"/>
3746
- <line num="40" count="236" type="cond" truecount="1" falsecount="1"/>
3747
- <line num="44" count="242" type="cond" truecount="2" falsecount="0"/>
3746
+ <line num="40" count="235" type="cond" truecount="1" falsecount="1"/>
3747
+ <line num="44" count="241" type="cond" truecount="2" falsecount="0"/>
3748
3748
  <line num="45" count="2" type="cond" truecount="1" falsecount="1"/>
3749
3749
  <line num="50" count="2" type="stmt"/>
3750
3750
  <line num="51" count="2" type="stmt"/>
3751
- <line num="56" count="240" type="stmt"/>
3752
- <line num="57" count="240" type="cond" truecount="2" falsecount="0"/>
3751
+ <line num="56" count="239" type="stmt"/>
3752
+ <line num="57" count="239" type="cond" truecount="2" falsecount="0"/>
3753
3753
  <line num="59" count="5" type="stmt"/>
3754
- <line num="60" count="235" type="cond" truecount="1" falsecount="1"/>
3755
- <line num="62" count="235" type="stmt"/>
3756
- <line num="63" count="235" type="stmt"/>
3757
- <line num="65" count="235" type="cond" truecount="2" falsecount="0"/>
3758
- <line num="69" count="235" type="cond" truecount="3" falsecount="0"/>
3759
- <line num="70" count="235" type="cond" truecount="2" falsecount="0"/>
3760
- <line num="71" count="235" type="cond" truecount="2" falsecount="0"/>
3761
- <line num="72" count="235" type="cond" truecount="4" falsecount="1"/>
3754
+ <line num="60" count="234" type="cond" truecount="1" falsecount="1"/>
3755
+ <line num="62" count="234" type="stmt"/>
3756
+ <line num="63" count="234" type="stmt"/>
3757
+ <line num="65" count="234" type="cond" truecount="2" falsecount="0"/>
3758
+ <line num="69" count="234" type="cond" truecount="3" falsecount="0"/>
3759
+ <line num="70" count="234" type="cond" truecount="2" falsecount="0"/>
3760
+ <line num="71" count="234" type="cond" truecount="2" falsecount="0"/>
3761
+ <line num="72" count="234" type="cond" truecount="4" falsecount="1"/>
3762
3762
  <line num="74" count="0" type="stmt"/>
3763
3763
  <line num="75" count="0" type="stmt"/>
3764
3764
  <line num="76" count="0" type="stmt"/>
3765
3765
  <line num="79" count="0" type="stmt"/>
3766
3766
  <line num="80" count="0" type="stmt"/>
3767
- <line num="88" count="240" type="cond" truecount="1" falsecount="1"/>
3767
+ <line num="88" count="239" type="cond" truecount="1" falsecount="1"/>
3768
3768
  <line num="89" count="0" type="stmt"/>
3769
- <line num="92" count="240" type="stmt"/>
3770
- <line num="93" count="240" type="stmt"/>
3771
- <line num="96" count="240" type="cond" truecount="1" falsecount="1"/>
3769
+ <line num="92" count="239" type="stmt"/>
3770
+ <line num="93" count="239" type="stmt"/>
3771
+ <line num="96" count="239" type="cond" truecount="1" falsecount="1"/>
3772
3772
  <line num="103" count="0" type="stmt"/>
3773
3773
  <line num="104" count="0" type="stmt"/>
3774
3774
  <line num="105" count="0" type="stmt"/>
3775
3775
  <line num="106" count="0" type="stmt"/>
3776
3776
  <line num="107" count="0" type="stmt"/>
3777
3777
  <line num="108" count="0" type="stmt"/>
3778
- <line num="111" count="240" type="stmt"/>
3779
- <line num="112" count="240" type="cond" truecount="1" falsecount="1"/>
3780
- <line num="113" count="240" type="stmt"/>
3781
- <line num="114" count="240" type="cond" truecount="2" falsecount="0"/>
3782
- <line num="115" count="240" type="cond" truecount="2" falsecount="0"/>
3783
- <line num="116" count="240" type="stmt"/>
3784
- <line num="126" count="240" type="cond" truecount="2" falsecount="0"/>
3778
+ <line num="111" count="239" type="stmt"/>
3779
+ <line num="112" count="239" type="cond" truecount="1" falsecount="1"/>
3780
+ <line num="113" count="239" type="stmt"/>
3781
+ <line num="114" count="239" type="cond" truecount="2" falsecount="0"/>
3782
+ <line num="115" count="239" type="cond" truecount="2" falsecount="0"/>
3783
+ <line num="116" count="239" type="stmt"/>
3784
+ <line num="126" count="239" type="cond" truecount="2" falsecount="0"/>
3785
3785
  <line num="132" count="10" type="stmt"/>
3786
- <line num="135" count="240" type="stmt"/>
3786
+ <line num="135" count="239" type="stmt"/>
3787
3787
  </file>
3788
3788
  <file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
3789
3789
  <metrics statements="20" coveredstatements="0" conditionals="10" coveredconditionals="0" methods="4" coveredmethods="0"/>
@@ -3835,14 +3835,14 @@
3835
3835
  <line num="21" count="958" type="stmt"/>
3836
3836
  <line num="22" count="958" type="stmt"/>
3837
3837
  <line num="23" count="958" type="stmt"/>
3838
- <line num="24" count="102" type="cond" truecount="2" falsecount="0"/>
3839
- <line num="25" count="102" type="cond" truecount="2" falsecount="0"/>
3838
+ <line num="24" count="101" type="cond" truecount="2" falsecount="0"/>
3839
+ <line num="25" count="101" type="cond" truecount="2" falsecount="0"/>
3840
3840
  <line num="26" count="1" type="stmt"/>
3841
- <line num="28" count="101" type="cond" truecount="4" falsecount="0"/>
3842
- <line num="29" count="89" type="stmt"/>
3843
- <line num="31" count="101" type="cond" truecount="4" falsecount="0"/>
3841
+ <line num="28" count="100" type="cond" truecount="4" falsecount="0"/>
3842
+ <line num="29" count="88" type="stmt"/>
3843
+ <line num="31" count="100" type="cond" truecount="4" falsecount="0"/>
3844
3844
  <line num="32" count="15" type="stmt"/>
3845
- <line num="34" count="101" type="stmt"/>
3845
+ <line num="34" count="100" type="stmt"/>
3846
3846
  <line num="39" count="29" type="stmt"/>
3847
3847
  <line num="41" count="29" type="stmt"/>
3848
3848
  <line num="42" count="758" type="stmt"/>
@@ -3866,7 +3866,7 @@
3866
3866
  <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
3867
3867
  <line num="1" count="34" type="stmt"/>
3868
3868
  <line num="5" count="34" type="stmt"/>
3869
- <line num="6" count="228" type="stmt"/>
3869
+ <line num="6" count="227" type="stmt"/>
3870
3870
  </file>
3871
3871
  </package>
3872
3872
  <package name="utilities">
@@ -3971,36 +3971,36 @@
3971
3971
  <line num="14" count="51" type="stmt"/>
3972
3972
  <line num="15" count="51" type="stmt"/>
3973
3973
  <line num="17" count="51" type="cond" truecount="1" falsecount="0"/>
3974
- <line num="18" count="244" type="cond" truecount="2" falsecount="0"/>
3975
- <line num="20" count="244" type="cond" truecount="4" falsecount="0"/>
3974
+ <line num="18" count="243" type="cond" truecount="2" falsecount="0"/>
3975
+ <line num="20" count="243" type="cond" truecount="4" falsecount="0"/>
3976
3976
  <line num="21" count="3" type="stmt"/>
3977
- <line num="24" count="241" type="cond" truecount="2" falsecount="2"/>
3977
+ <line num="24" count="240" type="cond" truecount="2" falsecount="2"/>
3978
3978
  <line num="25" count="0" type="stmt"/>
3979
3979
  <line num="26" count="0" type="stmt"/>
3980
3980
  <line num="27" count="0" type="stmt"/>
3981
3981
  <line num="28" count="0" type="stmt"/>
3982
- <line num="31" count="241" type="stmt"/>
3983
- <line num="33" count="241" type="cond" truecount="5" falsecount="0"/>
3984
- <line num="34" count="209" type="stmt"/>
3982
+ <line num="31" count="240" type="stmt"/>
3983
+ <line num="33" count="240" type="cond" truecount="5" falsecount="0"/>
3984
+ <line num="34" count="208" type="stmt"/>
3985
3985
  <line num="35" count="32" type="cond" truecount="4" falsecount="0"/>
3986
3986
  <line num="36" count="27" type="stmt"/>
3987
3987
  <line num="37" count="5" type="cond" truecount="1" falsecount="1"/>
3988
3988
  <line num="38" count="0" type="stmt"/>
3989
- <line num="41" count="241" type="stmt"/>
3990
- <line num="42" count="241" type="stmt"/>
3989
+ <line num="41" count="240" type="stmt"/>
3990
+ <line num="42" count="240" type="stmt"/>
3991
3991
  <line num="46" count="0" type="cond" truecount="0" falsecount="4"/>
3992
3992
  <line num="47" count="0" type="stmt"/>
3993
3993
  <line num="49" count="0" type="stmt"/>
3994
3994
  <line num="50" count="0" type="stmt"/>
3995
- <line num="54" count="237" type="cond" truecount="1" falsecount="1"/>
3996
- <line num="55" count="237" type="stmt"/>
3997
- <line num="57" count="237" type="stmt"/>
3998
- <line num="58" count="237" type="cond" truecount="3" falsecount="1"/>
3995
+ <line num="54" count="236" type="cond" truecount="1" falsecount="1"/>
3996
+ <line num="55" count="236" type="stmt"/>
3997
+ <line num="57" count="236" type="stmt"/>
3998
+ <line num="58" count="236" type="cond" truecount="3" falsecount="1"/>
3999
3999
  <line num="59" count="0" type="stmt"/>
4000
- <line num="62" count="237" type="stmt"/>
4000
+ <line num="62" count="236" type="stmt"/>
4001
4001
  <line num="65" count="51" type="stmt"/>
4002
- <line num="68" count="235" type="stmt"/>
4003
- <line num="69" count="235" type="stmt"/>
4002
+ <line num="68" count="234" type="stmt"/>
4003
+ <line num="69" count="234" type="stmt"/>
4004
4004
  <line num="72" count="51" type="stmt"/>
4005
4005
  <line num="73" count="2" type="stmt"/>
4006
4006
  <line num="74" count="2" type="stmt"/>
@@ -4270,25 +4270,25 @@
4270
4270
  <file name="inMemoryQueue.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/queue/inMemoryQueue.js">
4271
4271
  <metrics statements="23" coveredstatements="18" conditionals="7" coveredconditionals="4" methods="12" coveredmethods="7"/>
4272
4272
  <line num="1" count="45" type="stmt"/>
4273
- <line num="13" count="7" type="stmt"/>
4273
+ <line num="13" count="8" type="stmt"/>
4274
4274
  <line num="33" count="45" type="stmt"/>
4275
4275
  <line num="34" count="45" type="stmt"/>
4276
4276
  <line num="35" count="45" type="stmt"/>
4277
4277
  <line num="36" count="45" type="stmt"/>
4278
- <line num="49" count="31" type="stmt"/>
4279
- <line num="50" count="8" type="cond" truecount="2" falsecount="0"/>
4280
- <line num="51" count="1" type="stmt"/>
4281
- <line num="53" count="7" type="stmt"/>
4282
- <line num="54" count="7" type="stmt"/>
4283
- <line num="55" count="7" type="cond" truecount="1" falsecount="1"/>
4284
- <line num="56" count="7" type="stmt"/>
4285
- <line num="71" count="7" type="cond" truecount="1" falsecount="1"/>
4278
+ <line num="49" count="32" type="stmt"/>
4279
+ <line num="50" count="11" type="cond" truecount="2" falsecount="0"/>
4280
+ <line num="51" count="3" type="stmt"/>
4281
+ <line num="53" count="8" type="stmt"/>
4282
+ <line num="54" count="8" type="stmt"/>
4283
+ <line num="55" count="8" type="cond" truecount="1" falsecount="1"/>
4284
+ <line num="56" count="8" type="stmt"/>
4285
+ <line num="71" count="8" type="cond" truecount="1" falsecount="1"/>
4286
4286
  <line num="72" count="0" type="stmt"/>
4287
- <line num="74" count="7" type="stmt"/>
4288
- <line num="75" count="7" type="stmt"/>
4287
+ <line num="74" count="8" type="stmt"/>
4288
+ <line num="75" count="8" type="stmt"/>
4289
4289
  <line num="82" count="0" type="stmt"/>
4290
4290
  <line num="91" count="0" type="stmt"/>
4291
- <line num="98" count="253" type="stmt"/>
4291
+ <line num="98" count="254" type="stmt"/>
4292
4292
  <line num="110" count="0" type="stmt"/>
4293
4293
  <line num="114" count="0" type="stmt"/>
4294
4294
  <line num="122" count="45" type="stmt"/>
@@ -4347,14 +4347,14 @@
4347
4347
  <line num="118" count="0" type="stmt"/>
4348
4348
  <line num="120" count="0" type="stmt"/>
4349
4349
  <line num="121" count="0" type="stmt"/>
4350
- <line num="140" count="86" type="cond" truecount="2" falsecount="0"/>
4351
- <line num="141" count="86" type="stmt"/>
4352
- <line num="142" count="86" type="stmt"/>
4353
- <line num="144" count="86" type="stmt"/>
4354
- <line num="147" count="86" type="cond" truecount="4" falsecount="0"/>
4355
- <line num="148" count="86" type="stmt"/>
4356
- <line num="149" count="232" type="cond" truecount="1" falsecount="1"/>
4357
- <line num="150" count="232" type="stmt"/>
4350
+ <line num="140" count="85" type="cond" truecount="2" falsecount="0"/>
4351
+ <line num="141" count="85" type="stmt"/>
4352
+ <line num="142" count="85" type="stmt"/>
4353
+ <line num="144" count="85" type="stmt"/>
4354
+ <line num="147" count="85" type="cond" truecount="4" falsecount="0"/>
4355
+ <line num="148" count="85" type="stmt"/>
4356
+ <line num="149" count="230" type="cond" truecount="1" falsecount="1"/>
4357
+ <line num="150" count="230" type="stmt"/>
4358
4358
  <line num="152" count="0" type="cond" truecount="0" falsecount="2"/>
4359
4359
  <line num="153" count="0" type="stmt"/>
4360
4360
  <line num="155" count="0" type="cond" truecount="0" falsecount="5"/>
@@ -4373,52 +4373,52 @@
4373
4373
  <line num="176" count="0" type="cond" truecount="0" falsecount="2"/>
4374
4374
  <line num="177" count="0" type="stmt"/>
4375
4375
  <line num="179" count="0" type="stmt"/>
4376
- <line num="182" count="86" type="stmt"/>
4376
+ <line num="182" count="85" type="stmt"/>
4377
4377
  <line num="184" count="45" type="stmt"/>
4378
4378
  <line num="185" count="45" type="stmt"/>
4379
4379
  <line num="186" count="45" type="stmt"/>
4380
4380
  <line num="194" count="45" type="stmt"/>
4381
- <line num="196" count="200" type="cond" truecount="1" falsecount="1"/>
4381
+ <line num="196" count="198" type="cond" truecount="1" falsecount="1"/>
4382
4382
  <line num="197" count="0" type="stmt"/>
4383
- <line num="200" count="200" type="cond" truecount="2" falsecount="0"/>
4383
+ <line num="200" count="198" type="cond" truecount="2" falsecount="0"/>
4384
4384
  <line num="201" count="16" type="stmt"/>
4385
- <line num="202" count="184" type="cond" truecount="2" falsecount="0"/>
4385
+ <line num="202" count="182" type="cond" truecount="2" falsecount="0"/>
4386
4386
  <line num="203" count="22" type="stmt"/>
4387
- <line num="206" count="162" type="stmt"/>
4387
+ <line num="206" count="160" type="stmt"/>
4388
4388
  <line num="218" count="45" type="stmt"/>
4389
- <line num="224" count="86" type="stmt"/>
4390
- <line num="226" count="86" type="stmt"/>
4391
- <line num="227" count="86" type="stmt"/>
4392
- <line num="228" count="86" type="stmt"/>
4393
- <line num="229" count="397" type="stmt"/>
4394
- <line num="231" count="397" type="cond" truecount="2" falsecount="0"/>
4395
- <line num="232" count="198" type="cond" truecount="2" falsecount="0"/>
4389
+ <line num="224" count="85" type="stmt"/>
4390
+ <line num="226" count="85" type="stmt"/>
4391
+ <line num="227" count="85" type="stmt"/>
4392
+ <line num="228" count="85" type="stmt"/>
4393
+ <line num="229" count="393" type="stmt"/>
4394
+ <line num="231" count="393" type="cond" truecount="2" falsecount="0"/>
4395
+ <line num="232" count="196" type="cond" truecount="2" falsecount="0"/>
4396
4396
  <line num="233" count="13" type="stmt"/>
4397
- <line num="235" count="198" type="stmt"/>
4398
- <line num="238" count="199" type="cond" truecount="1" falsecount="1"/>
4397
+ <line num="235" count="196" type="stmt"/>
4398
+ <line num="238" count="197" type="cond" truecount="1" falsecount="1"/>
4399
4399
  <line num="239" count="0" type="stmt"/>
4400
- <line num="243" count="199" type="stmt"/>
4401
- <line num="247" count="86" type="cond" truecount="4" falsecount="0"/>
4402
- <line num="248" count="80" type="stmt"/>
4403
- <line num="249" count="80" type="stmt"/>
4404
- <line num="253" count="86" type="stmt"/>
4400
+ <line num="243" count="197" type="stmt"/>
4401
+ <line num="247" count="85" type="cond" truecount="4" falsecount="0"/>
4402
+ <line num="248" count="79" type="stmt"/>
4403
+ <line num="249" count="79" type="stmt"/>
4404
+ <line num="253" count="85" type="stmt"/>
4405
4405
  <line num="265" count="45" type="cond" truecount="1" falsecount="0"/>
4406
- <line num="266" count="126" type="stmt"/>
4407
- <line num="267" count="126" type="cond" truecount="2" falsecount="0"/>
4408
- <line num="268" count="106" type="stmt"/>
4409
- <line num="269" count="106" type="stmt"/>
4410
- <line num="272" count="126" type="stmt"/>
4411
- <line num="275" count="126" type="stmt"/>
4412
- <line num="278" count="126" type="stmt"/>
4413
- <line num="279" count="351" type="cond" truecount="2" falsecount="0"/>
4406
+ <line num="266" count="125" type="stmt"/>
4407
+ <line num="267" count="125" type="cond" truecount="2" falsecount="0"/>
4408
+ <line num="268" count="105" type="stmt"/>
4409
+ <line num="269" count="105" type="stmt"/>
4410
+ <line num="272" count="125" type="stmt"/>
4411
+ <line num="275" count="125" type="stmt"/>
4412
+ <line num="278" count="125" type="stmt"/>
4413
+ <line num="279" count="349" type="cond" truecount="2" falsecount="0"/>
4414
4414
  <line num="280" count="8" type="stmt"/>
4415
4415
  <line num="281" count="8" type="cond" truecount="4" falsecount="0"/>
4416
4416
  <line num="282" count="2" type="stmt"/>
4417
4417
  <line num="284" count="6" type="stmt"/>
4418
4418
  <line num="285" count="2" type="stmt"/>
4419
- <line num="290" count="126" type="cond" truecount="2" falsecount="0"/>
4419
+ <line num="290" count="125" type="cond" truecount="2" falsecount="0"/>
4420
4420
  <line num="291" count="40" type="stmt"/>
4421
- <line num="293" count="126" type="cond" truecount="2" falsecount="0"/>
4421
+ <line num="293" count="125" type="cond" truecount="2" falsecount="0"/>
4422
4422
  <line num="306" count="45" type="stmt"/>
4423
4423
  <line num="307" count="14" type="stmt"/>
4424
4424
  <line num="308" count="14" type="cond" truecount="1" falsecount="1"/>
@@ -4463,20 +4463,20 @@
4463
4463
  <line num="27" count="0" type="stmt"/>
4464
4464
  <line num="29" count="2" type="stmt"/>
4465
4465
  <line num="35" count="45" type="stmt"/>
4466
- <line num="40" count="306" type="stmt"/>
4467
- <line num="41" count="306" type="cond" truecount="2" falsecount="0"/>
4468
- <line num="42" count="180" type="stmt"/>
4469
- <line num="43" count="180" type="cond" truecount="2" falsecount="0"/>
4470
- <line num="45" count="306" type="stmt"/>
4471
- <line num="46" count="857" type="stmt"/>
4472
- <line num="47" count="857" type="cond" truecount="1" falsecount="1"/>
4473
- <line num="52" count="857" type="stmt"/>
4466
+ <line num="40" count="303" type="stmt"/>
4467
+ <line num="41" count="303" type="cond" truecount="2" falsecount="0"/>
4468
+ <line num="42" count="178" type="stmt"/>
4469
+ <line num="43" count="178" type="cond" truecount="2" falsecount="0"/>
4470
+ <line num="45" count="303" type="stmt"/>
4471
+ <line num="46" count="851" type="stmt"/>
4472
+ <line num="47" count="851" type="cond" truecount="1" falsecount="1"/>
4473
+ <line num="52" count="851" type="stmt"/>
4474
4474
  <line num="55" count="0" type="stmt"/>
4475
4475
  <line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
4476
4476
  <line num="57" count="0" type="stmt"/>
4477
4477
  <line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
4478
4478
  <line num="59" count="0" type="stmt"/>
4479
- <line num="66" count="306" type="cond" truecount="2" falsecount="0"/>
4479
+ <line num="66" count="303" type="cond" truecount="2" falsecount="0"/>
4480
4480
  <line num="73" count="45" type="stmt"/>
4481
4481
  <line num="74" count="0" type="stmt"/>
4482
4482
  <line num="75" count="0" type="stmt"/>
@@ -4492,47 +4492,44 @@
4492
4492
  </file>
4493
4493
  </package>
4494
4494
  <package name="utilities.usageQuota">
4495
- <metrics statements="43" coveredstatements="36" conditionals="12" coveredconditionals="9" methods="8" coveredmethods="6"/>
4495
+ <metrics statements="40" coveredstatements="33" conditionals="10" coveredconditionals="7" methods="8" coveredmethods="6"/>
4496
4496
  <file name="rows.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/usageQuota/rows.js">
4497
- <metrics statements="38" coveredstatements="36" conditionals="10" coveredconditionals="9" methods="6" coveredmethods="6"/>
4497
+ <metrics statements="35" coveredstatements="33" conditionals="8" coveredconditionals="7" methods="6" coveredmethods="6"/>
4498
4498
  <line num="1" count="44" type="stmt"/>
4499
- <line num="7" count="44" type="stmt"/>
4500
- <line num="9" count="44" type="stmt"/>
4501
- <line num="11" count="44" type="stmt"/>
4499
+ <line num="6" count="44" type="stmt"/>
4500
+ <line num="8" count="44" type="stmt"/>
4501
+ <line num="10" count="44" type="stmt"/>
4502
+ <line num="13" count="27" type="stmt"/>
4502
4503
  <line num="14" count="27" type="stmt"/>
4503
- <line num="15" count="27" type="stmt"/>
4504
- <line num="16" count="30" type="stmt"/>
4505
- <line num="17" count="30" type="cond" truecount="2" falsecount="0"/>
4506
- <line num="18" count="28" type="stmt"/>
4507
- <line num="20" count="30" type="cond" truecount="2" falsecount="0"/>
4508
- <line num="21" count="27" type="stmt"/>
4509
- <line num="23" count="3" type="stmt"/>
4510
- <line num="26" count="27" type="stmt"/>
4511
- <line num="29" count="44" type="stmt"/>
4504
+ <line num="15" count="30" type="stmt"/>
4505
+ <line num="16" count="30" type="cond" truecount="2" falsecount="0"/>
4506
+ <line num="17" count="28" type="stmt"/>
4507
+ <line num="19" count="30" type="cond" truecount="2" falsecount="0"/>
4508
+ <line num="20" count="27" type="stmt"/>
4509
+ <line num="22" count="3" type="stmt"/>
4510
+ <line num="25" count="27" type="stmt"/>
4511
+ <line num="28" count="44" type="stmt"/>
4512
+ <line num="30" count="30" type="stmt"/>
4512
4513
  <line num="31" count="30" type="stmt"/>
4513
- <line num="32" count="30" type="stmt"/>
4514
- <line num="37" count="30" type="stmt"/>
4515
- <line num="38" count="3" type="stmt"/>
4516
- <line num="40" count="3" type="stmt"/>
4517
- <line num="41" count="3" type="cond" truecount="1" falsecount="1"/>
4518
- <line num="42" count="0" type="stmt"/>
4519
- <line num="45" count="3" type="stmt"/>
4520
- <line num="55" count="44" type="stmt"/>
4514
+ <line num="36" count="30" type="stmt"/>
4515
+ <line num="37" count="3" type="stmt"/>
4516
+ <line num="39" count="3" type="stmt"/>
4517
+ <line num="40" count="3" type="cond" truecount="1" falsecount="1"/>
4518
+ <line num="41" count="0" type="stmt"/>
4519
+ <line num="44" count="3" type="stmt"/>
4520
+ <line num="54" count="44" type="stmt"/>
4521
+ <line num="55" count="27" type="stmt"/>
4521
4522
  <line num="56" count="27" type="stmt"/>
4522
- <line num="57" count="27" type="stmt"/>
4523
4523
  <line num="58" count="27" type="stmt"/>
4524
- <line num="60" count="27" type="stmt"/>
4525
- <line num="61" count="28" type="stmt"/>
4526
- <line num="62" count="28" type="stmt"/>
4527
- <line num="63" count="56" type="cond" truecount="2" falsecount="0"/>
4528
- <line num="64" count="26" type="stmt"/>
4529
- <line num="66" count="30" type="stmt"/>
4530
- <line num="67" count="30" type="stmt"/>
4531
- <line num="69" count="0" type="stmt"/>
4532
- <line num="78" count="28" type="cond" truecount="2" falsecount="0"/>
4533
- <line num="79" count="28" type="stmt"/>
4534
- <line num="80" count="28" type="stmt"/>
4535
- <line num="83" count="27" type="stmt"/>
4524
+ <line num="59" count="28" type="stmt"/>
4525
+ <line num="60" count="28" type="stmt"/>
4526
+ <line num="61" count="56" type="cond" truecount="2" falsecount="0"/>
4527
+ <line num="62" count="26" type="stmt"/>
4528
+ <line num="64" count="30" type="stmt"/>
4529
+ <line num="65" count="30" type="stmt"/>
4530
+ <line num="67" count="0" type="stmt"/>
4531
+ <line num="76" count="28" type="stmt"/>
4532
+ <line num="79" count="27" type="stmt"/>
4536
4533
  </file>
4537
4534
  <file name="usageQuoteReset.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/usageQuota/usageQuoteReset.js">
4538
4535
  <metrics statements="5" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>