@budibase/server 0.9.167-alpha.0 → 0.9.167-alpha.12

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 (197) hide show
  1. package/builder/assets/{index.32c8bc7d.js → index.bb938864.js} +34 -34
  2. package/builder/assets/{index.18ad7651.css → index.bcacf476.css} +2 -2
  3. package/builder/assets/{vendor.60887453.js → vendor.a3855e3d.js} +1 -1
  4. package/builder/index.html +3 -3
  5. package/coverage/clover.xml +416 -369
  6. package/coverage/coverage-final.json +17 -16
  7. package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/application.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/component.js.html +1 -1
  15. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/dev.js.html +41 -17
  17. package/coverage/lcov-report/api/controllers/hosting.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/index.html +43 -43
  19. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  21. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  23. package/coverage/lcov-report/api/controllers/query.js.html +129 -24
  24. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  25. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  26. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/index.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
  33. package/coverage/lcov-report/api/controllers/script.js.html +12 -57
  34. package/coverage/lcov-report/api/controllers/table/index.html +20 -20
  35. package/coverage/lcov-report/api/controllers/table/index.js.html +17 -8
  36. package/coverage/lcov-report/api/controllers/table/utils.js.html +8 -38
  37. package/coverage/lcov-report/api/controllers/templates.js.html +49 -13
  38. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  39. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  40. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  41. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  42. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  43. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  44. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  45. package/coverage/lcov-report/api/index.html +1 -1
  46. package/coverage/lcov-report/api/index.js.html +1 -1
  47. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  48. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/application.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/dev.js.html +26 -11
  58. package/coverage/lcov-report/api/routes/hosting.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/index.html +9 -9
  60. package/coverage/lcov-report/api/routes/index.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/query.js.html +9 -3
  66. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/row.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  71. package/coverage/lcov-report/api/routes/static.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  74. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  75. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  76. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  77. package/coverage/lcov-report/automations/actions.js.html +31 -10
  78. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  79. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  80. package/coverage/lcov-report/automations/index.html +19 -19
  81. package/coverage/lcov-report/automations/index.js.html +1 -1
  82. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  83. package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/index.html +1 -1
  91. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  95. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  96. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  97. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  98. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  99. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  100. package/coverage/lcov-report/automations/thread.js.html +54 -12
  101. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  102. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  103. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  104. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  105. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  106. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  107. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  108. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  109. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  110. package/coverage/lcov-report/automations/utils.js.html +1 -1
  111. package/coverage/lcov-report/constants/index.html +1 -1
  112. package/coverage/lcov-report/constants/index.js.html +5 -2
  113. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  114. package/coverage/lcov-report/constants/screens.js.html +1 -1
  115. package/coverage/lcov-report/db/client.js.html +1 -1
  116. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  117. package/coverage/lcov-report/db/index.html +1 -1
  118. package/coverage/lcov-report/db/index.js.html +1 -1
  119. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +12 -12
  120. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  121. package/coverage/lcov-report/db/linkedRows/index.js.html +9 -9
  122. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  123. package/coverage/lcov-report/db/newid.js.html +1 -1
  124. package/coverage/lcov-report/db/utils.js.html +1 -1
  125. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  126. package/coverage/lcov-report/events/index.html +1 -1
  127. package/coverage/lcov-report/events/index.js.html +1 -1
  128. package/coverage/lcov-report/events/utils.js.html +1 -1
  129. package/coverage/lcov-report/index.html +53 -53
  130. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  131. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  132. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  133. package/coverage/lcov-report/middleware/authorized.js.html +1 -1
  134. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  135. package/coverage/lcov-report/middleware/currentapp.js.html +2 -2
  136. package/coverage/lcov-report/middleware/index.html +1 -1
  137. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  138. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  139. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  140. package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
  141. package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
  142. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  143. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  144. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  145. package/coverage/lcov-report/utilities/global.js.html +2 -2
  146. package/coverage/lcov-report/utilities/index.html +22 -7
  147. package/coverage/lcov-report/utilities/index.js.html +1 -1
  148. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  149. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  150. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  151. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  152. package/coverage/lcov-report/utilities/rowProcessor/index.html +14 -14
  153. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +38 -8
  154. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  155. package/coverage/lcov-report/utilities/scriptRunner.js.html +143 -0
  156. package/coverage/lcov-report/utilities/security.js.html +1 -1
  157. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  158. package/coverage/lcov-report/utilities/users.js.html +1 -1
  159. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  160. package/coverage/lcov.info +700 -608
  161. package/dist/api/controllers/dev.js +17 -11
  162. package/dist/api/controllers/query.js +26 -8
  163. package/dist/api/controllers/script.js +4 -16
  164. package/dist/api/controllers/table/index.js +3 -0
  165. package/dist/api/controllers/table/utils.js +2 -10
  166. package/dist/api/controllers/templates.js +18 -3
  167. package/dist/api/routes/dev.js +8 -4
  168. package/dist/api/routes/query.js +3 -1
  169. package/dist/automations/actions.js +9 -3
  170. package/dist/automations/thread.js +14 -3
  171. package/dist/constants/index.js +1 -0
  172. package/dist/integrations/base/sql.js +4 -4
  173. package/dist/middleware/currentapp.js +1 -1
  174. package/dist/package.json +5 -4
  175. package/dist/tsconfig.tsbuildinfo +1 -1
  176. package/dist/utilities/global.js +1 -1
  177. package/dist/utilities/rowProcessor/index.js +8 -0
  178. package/dist/utilities/scriptRunner.js +19 -0
  179. package/package.json +6 -5
  180. package/src/api/controllers/dev.js +16 -8
  181. package/src/api/controllers/query.js +46 -11
  182. package/src/api/controllers/script.js +4 -19
  183. package/src/api/controllers/table/index.js +3 -0
  184. package/src/api/controllers/table/utils.js +2 -12
  185. package/src/api/controllers/templates.js +17 -5
  186. package/src/api/routes/dev.js +9 -4
  187. package/src/api/routes/query.js +3 -1
  188. package/src/automations/actions.js +10 -3
  189. package/src/automations/thread.js +17 -3
  190. package/src/constants/index.js +1 -0
  191. package/src/integrations/base/sql.ts +5 -3
  192. package/src/integrations/tests/mongo.spec.js +10 -6
  193. package/src/middleware/currentapp.js +1 -1
  194. package/src/middleware/tests/currentapp.spec.js +3 -3
  195. package/src/utilities/global.js +1 -1
  196. package/src/utilities/rowProcessor/index.js +10 -0
  197. package/src/utilities/scriptRunner.js +21 -0
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1634140371537" clover="3.2.0">
3
- <project timestamp="1634140371537" name="All files">
4
- <metrics statements="3814" coveredstatements="3003" conditionals="1441" coveredconditionals="856" methods="545" coveredmethods="407" elements="5800" coveredelements="4266" complexity="0" loc="3814" ncloc="3814" packages="19" files="132" classes="132"/>
2
+ <coverage generated="1634552068343" clover="3.2.0">
3
+ <project timestamp="1634552068343" name="All files">
4
+ <metrics statements="3858" coveredstatements="3031" conditionals="1466" coveredconditionals="872" methods="552" coveredmethods="413" elements="5876" coveredelements="4316" complexity="0" loc="3858" ncloc="3858" packages="19" files="133" classes="133"/>
5
5
  <package name="api">
6
6
  <metrics statements="29" coveredstatements="27" conditionals="5" coveredconditionals="2" methods="5" coveredmethods="4"/>
7
7
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
@@ -38,7 +38,7 @@
38
38
  </file>
39
39
  </package>
40
40
  <package name="api.controllers">
41
- <metrics statements="982" coveredstatements="775" conditionals="300" coveredconditionals="167" methods="140" coveredmethods="108"/>
41
+ <metrics statements="995" coveredstatements="787" conditionals="311" coveredconditionals="173" methods="144" coveredmethods="113"/>
42
42
  <file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.js">
43
43
  <metrics statements="12" coveredstatements="6" conditionals="11" coveredconditionals="4" methods="2" coveredmethods="1"/>
44
44
  <line num="1" count="23" type="stmt"/>
@@ -524,7 +524,7 @@
524
524
  <line num="146" count="0" type="stmt"/>
525
525
  </file>
526
526
  <file name="dev.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/dev.js">
527
- <metrics statements="54" coveredstatements="14" conditionals="10" coveredconditionals="0" methods="7" coveredmethods="0"/>
527
+ <metrics statements="57" coveredstatements="17" conditionals="11" coveredconditionals="0" methods="10" coveredmethods="3"/>
528
528
  <line num="1" count="23" type="stmt"/>
529
529
  <line num="2" count="23" type="stmt"/>
530
530
  <line num="3" count="23" type="stmt"/>
@@ -536,49 +536,52 @@
536
536
  <line num="11" count="0" type="stmt"/>
537
537
  <line num="12" count="0" type="cond" truecount="0" falsecount="2"/>
538
538
  <line num="13" count="0" type="stmt"/>
539
- <line num="24" count="0" type="cond" truecount="0" falsecount="2"/>
540
- <line num="25" count="0" type="stmt"/>
539
+ <line num="26" count="0" type="cond" truecount="0" falsecount="2"/>
541
540
  <line num="27" count="0" type="stmt"/>
542
- <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
543
541
  <line num="29" count="0" type="stmt"/>
544
- <line num="32" count="0" type="stmt"/>
545
- <line num="33" count="0" type="stmt"/>
546
- <line num="37" count="0" type="stmt"/>
547
- <line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
542
+ <line num="30" count="0" type="cond" truecount="0" falsecount="2"/>
543
+ <line num="31" count="0" type="stmt"/>
544
+ <line num="34" count="0" type="stmt"/>
545
+ <line num="35" count="0" type="stmt"/>
548
546
  <line num="39" count="0" type="stmt"/>
547
+ <line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
549
548
  <line num="41" count="0" type="stmt"/>
550
- <line num="44" count="23" type="stmt"/>
551
- <line num="45" count="0" type="stmt"/>
552
- <line num="48" count="23" type="stmt"/>
553
- <line num="49" count="0" type="stmt"/>
549
+ <line num="43" count="0" type="stmt"/>
550
+ <line num="46" count="23" type="stmt"/>
551
+ <line num="47" count="46" type="stmt"/>
552
+ <line num="48" count="0" type="stmt"/>
554
553
  <line num="52" count="23" type="stmt"/>
555
- <line num="53" count="0" type="stmt"/>
556
- <line num="56" count="23" type="stmt"/>
557
- <line num="57" count="0" type="stmt"/>
558
- <line num="58" count="0" type="stmt"/>
559
- <line num="59" count="0" type="stmt"/>
560
- <line num="61" count="0" type="stmt"/>
561
- <line num="63" count="0" type="stmt"/>
562
- <line num="68" count="23" type="stmt"/>
554
+ <line num="53" count="46" type="stmt"/>
555
+ <line num="54" count="0" type="stmt"/>
556
+ <line num="58" count="23" type="stmt"/>
557
+ <line num="59" count="46" type="stmt"/>
558
+ <line num="60" count="0" type="stmt"/>
559
+ <line num="64" count="23" type="stmt"/>
560
+ <line num="65" count="0" type="stmt"/>
561
+ <line num="66" count="0" type="stmt"/>
562
+ <line num="67" count="0" type="stmt"/>
563
563
  <line num="69" count="0" type="stmt"/>
564
- <line num="70" count="0" type="stmt"/>
565
- <line num="73" count="0" type="stmt"/>
566
- <line num="74" count="0" type="stmt"/>
567
- <line num="75" count="0" type="stmt"/>
568
- <line num="76" count="0" type="cond" truecount="0" falsecount="2"/>
564
+ <line num="71" count="0" type="stmt"/>
565
+ <line num="76" count="23" type="stmt"/>
566
+ <line num="77" count="0" type="stmt"/>
569
567
  <line num="78" count="0" type="stmt"/>
570
568
  <line num="81" count="0" type="stmt"/>
571
569
  <line num="82" count="0" type="stmt"/>
572
- <line num="87" count="0" type="stmt"/>
570
+ <line num="83" count="0" type="stmt"/>
571
+ <line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
572
+ <line num="86" count="0" type="stmt"/>
573
573
  <line num="89" count="0" type="stmt"/>
574
574
  <line num="90" count="0" type="stmt"/>
575
- <line num="91" count="0" type="stmt"/>
576
- <line num="92" count="0" type="stmt"/>
577
- <line num="93" count="0" type="stmt"/>
578
- <line num="94" count="0" type="stmt"/>
575
+ <line num="95" count="0" type="stmt"/>
576
+ <line num="97" count="0" type="stmt"/>
579
577
  <line num="98" count="0" type="stmt"/>
580
- <line num="102" count="23" type="stmt"/>
581
- <line num="103" count="0" type="stmt"/>
578
+ <line num="99" count="0" type="stmt"/>
579
+ <line num="100" count="0" type="stmt"/>
580
+ <line num="101" count="0" type="stmt"/>
581
+ <line num="102" count="0" type="stmt"/>
582
+ <line num="106" count="0" type="stmt"/>
583
+ <line num="110" count="23" type="stmt"/>
584
+ <line num="111" count="0" type="stmt"/>
582
585
  </file>
583
586
  <file name="hosting.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/hosting.js">
584
587
  <metrics statements="15" coveredstatements="13" conditionals="4" coveredconditionals="2" methods="2" coveredmethods="1"/>
@@ -747,94 +750,103 @@
747
750
  <line num="169" count="1" type="stmt"/>
748
751
  </file>
749
752
  <file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query.js">
750
- <metrics statements="87" coveredstatements="69" conditionals="37" coveredconditionals="20" methods="10" coveredmethods="10"/>
753
+ <metrics statements="96" coveredstatements="75" conditionals="41" coveredconditionals="22" methods="13" coveredmethods="12"/>
751
754
  <line num="1" count="34" type="stmt"/>
752
755
  <line num="2" count="34" type="stmt"/>
753
756
  <line num="3" count="34" type="stmt"/>
754
757
  <line num="4" count="34" type="stmt"/>
755
758
  <line num="5" count="34" type="stmt"/>
756
759
  <line num="6" count="34" type="stmt"/>
757
- <line num="10" count="4" type="stmt"/>
758
- <line num="11" count="4" type="cond" truecount="2" falsecount="0"/>
759
- <line num="12" count="4" type="stmt"/>
760
- <line num="13" count="3" type="cond" truecount="1" falsecount="1"/>
761
- <line num="14" count="3" type="stmt"/>
762
- <line num="17" count="4" type="cond" truecount="2" falsecount="0"/>
763
- <line num="21" count="2" type="cond" truecount="1" falsecount="1"/>
764
- <line num="22" count="0" type="stmt"/>
760
+ <line num="7" count="34" type="stmt"/>
761
+ <line num="11" count="4" type="stmt"/>
762
+ <line num="12" count="4" type="cond" truecount="2" falsecount="0"/>
763
+ <line num="13" count="4" type="stmt"/>
764
+ <line num="14" count="3" type="cond" truecount="1" falsecount="1"/>
765
+ <line num="15" count="3" type="stmt"/>
766
+ <line num="18" count="4" type="cond" truecount="2" falsecount="0"/>
767
+ <line num="22" count="2" type="cond" truecount="1" falsecount="1"/>
765
768
  <line num="23" count="0" type="stmt"/>
766
- <line num="25" count="0" type="stmt"/>
767
- <line num="28" count="0" type="stmt"/>
768
- <line num="31" count="2" type="cond" truecount="1" falsecount="1"/>
769
- <line num="32" count="0" type="stmt"/>
770
- <line num="34" count="2" type="stmt"/>
771
- <line num="37" count="34" type="stmt"/>
772
- <line num="38" count="2" type="stmt"/>
773
- <line num="40" count="2" type="stmt"/>
774
- <line num="45" count="2" type="stmt"/>
775
- <line num="48" count="34" type="stmt"/>
776
- <line num="49" count="18" type="stmt"/>
777
- <line num="50" count="18" type="stmt"/>
778
- <line num="52" count="18" type="cond" truecount="1" falsecount="1"/>
779
- <line num="53" count="18" type="stmt"/>
780
- <line num="56" count="18" type="stmt"/>
781
- <line num="57" count="18" type="stmt"/>
782
- <line num="59" count="18" type="stmt"/>
783
- <line num="60" count="18" type="stmt"/>
784
- <line num="64" count="2" type="stmt"/>
785
- <line num="67" count="2" type="stmt"/>
786
- <line num="68" count="0" type="cond" truecount="0" falsecount="2"/>
787
- <line num="69" count="0" type="stmt"/>
788
- <line num="71" count="0" type="cond" truecount="0" falsecount="2"/>
789
- <line num="73" count="0" type="stmt"/>
790
- <line num="74" count="0" type="cond" truecount="0" falsecount="2"/>
791
- <line num="76" count="0" type="stmt"/>
792
- <line num="78" count="0" type="stmt"/>
793
- <line num="82" count="2" type="cond" truecount="1" falsecount="1"/>
794
- <line num="87" count="0" type="stmt"/>
795
- <line num="88" count="0" type="stmt"/>
796
- <line num="94" count="0" type="stmt"/>
797
- <line num="96" count="0" type="stmt"/>
798
- <line num="99" count="2" type="stmt"/>
799
- <line num="102" count="34" type="stmt"/>
800
- <line num="103" count="2" type="stmt"/>
801
- <line num="104" count="2" type="stmt"/>
802
- <line num="106" count="2" type="cond" truecount="2" falsecount="0"/>
803
- <line num="107" count="1" type="stmt"/>
804
- <line num="108" count="1" type="stmt"/>
805
- <line num="109" count="1" type="stmt"/>
806
- <line num="111" count="2" type="stmt"/>
807
- <line num="114" count="34" type="stmt"/>
808
- <line num="115" count="2" type="stmt"/>
809
- <line num="117" count="2" type="stmt"/>
810
- <line num="119" count="2" type="stmt"/>
811
- <line num="121" count="2" type="cond" truecount="2" falsecount="0"/>
812
- <line num="122" count="1" type="stmt"/>
813
- <line num="125" count="1" type="stmt"/>
814
- <line num="127" count="1" type="stmt"/>
815
- <line num="129" count="1" type="stmt"/>
816
- <line num="130" count="1" type="stmt"/>
817
- <line num="133" count="1" type="stmt"/>
769
+ <line num="24" count="0" type="stmt"/>
770
+ <line num="26" count="0" type="stmt"/>
771
+ <line num="29" count="0" type="stmt"/>
772
+ <line num="32" count="2" type="stmt"/>
773
+ <line num="41" count="2" type="stmt"/>
774
+ <line num="44" count="2" type="cond" truecount="1" falsecount="1"/>
775
+ <line num="45" count="0" type="stmt"/>
776
+ <line num="46" count="0" type="stmt"/>
777
+ <line num="50" count="2" type="cond" truecount="1" falsecount="1"/>
778
+ <line num="51" count="0" type="stmt"/>
779
+ <line num="55" count="2" type="cond" truecount="1" falsecount="1"/>
780
+ <line num="56" count="0" type="stmt"/>
781
+ <line num="60" count="2" type="stmt"/>
782
+ <line num="62" count="2" type="stmt"/>
783
+ <line num="65" count="34" type="stmt"/>
784
+ <line num="66" count="2" type="stmt"/>
785
+ <line num="68" count="2" type="stmt"/>
786
+ <line num="73" count="2" type="stmt"/>
787
+ <line num="76" count="34" type="stmt"/>
788
+ <line num="77" count="18" type="stmt"/>
789
+ <line num="78" count="18" type="stmt"/>
790
+ <line num="80" count="18" type="cond" truecount="1" falsecount="1"/>
791
+ <line num="81" count="18" type="stmt"/>
792
+ <line num="84" count="18" type="stmt"/>
793
+ <line num="85" count="18" type="stmt"/>
794
+ <line num="87" count="18" type="stmt"/>
795
+ <line num="88" count="18" type="stmt"/>
796
+ <line num="92" count="2" type="stmt"/>
797
+ <line num="95" count="2" type="stmt"/>
798
+ <line num="96" count="0" type="cond" truecount="0" falsecount="2"/>
799
+ <line num="97" count="0" type="stmt"/>
800
+ <line num="99" count="0" type="cond" truecount="0" falsecount="2"/>
801
+ <line num="101" count="0" type="stmt"/>
802
+ <line num="102" count="0" type="cond" truecount="0" falsecount="2"/>
803
+ <line num="104" count="0" type="stmt"/>
804
+ <line num="106" count="0" type="stmt"/>
805
+ <line num="110" count="2" type="cond" truecount="1" falsecount="1"/>
806
+ <line num="115" count="0" type="stmt"/>
807
+ <line num="116" count="0" type="stmt"/>
808
+ <line num="122" count="0" type="stmt"/>
809
+ <line num="124" count="0" type="stmt"/>
810
+ <line num="127" count="2" type="stmt"/>
811
+ <line num="130" count="34" type="stmt"/>
812
+ <line num="131" count="2" type="stmt"/>
813
+ <line num="132" count="2" type="stmt"/>
814
+ <line num="134" count="2" type="cond" truecount="2" falsecount="0"/>
818
815
  <line num="135" count="1" type="stmt"/>
819
- <line num="140" count="1" type="cond" truecount="1" falsecount="1"/>
820
- <line num="141" count="0" type="stmt"/>
821
- <line num="145" count="34" type="stmt"/>
822
- <line num="146" count="2" type="stmt"/>
823
- <line num="148" count="2" type="stmt"/>
824
- <line num="149" count="2" type="stmt"/>
825
- <line num="151" count="2" type="stmt"/>
826
- <line num="153" count="2" type="cond" truecount="2" falsecount="0"/>
816
+ <line num="136" count="1" type="stmt"/>
817
+ <line num="137" count="1" type="stmt"/>
818
+ <line num="139" count="2" type="stmt"/>
819
+ <line num="142" count="34" type="stmt"/>
820
+ <line num="143" count="2" type="stmt"/>
821
+ <line num="145" count="2" type="stmt"/>
822
+ <line num="147" count="2" type="stmt"/>
823
+ <line num="149" count="2" type="cond" truecount="2" falsecount="0"/>
824
+ <line num="150" count="1" type="stmt"/>
825
+ <line num="153" count="1" type="stmt"/>
827
826
  <line num="154" count="1" type="stmt"/>
827
+ <line num="155" count="1" type="stmt"/>
828
828
  <line num="157" count="1" type="stmt"/>
829
- <line num="162" count="1" type="stmt"/>
830
829
  <line num="164" count="1" type="stmt"/>
831
- <line num="166" count="1" type="cond" truecount="1" falsecount="1"/>
832
- <line num="167" count="0" type="stmt"/>
833
- <line num="171" count="34" type="stmt"/>
834
- <line num="172" count="1" type="stmt"/>
835
- <line num="173" count="1" type="stmt"/>
836
- <line num="174" count="1" type="stmt"/>
837
- <line num="175" count="1" type="stmt"/>
830
+ <line num="169" count="1" type="cond" truecount="1" falsecount="1"/>
831
+ <line num="170" count="0" type="stmt"/>
832
+ <line num="174" count="34" type="stmt"/>
833
+ <line num="175" count="2" type="stmt"/>
834
+ <line num="177" count="2" type="stmt"/>
835
+ <line num="178" count="2" type="stmt"/>
836
+ <line num="180" count="2" type="stmt"/>
837
+ <line num="182" count="2" type="cond" truecount="2" falsecount="0"/>
838
+ <line num="183" count="1" type="stmt"/>
839
+ <line num="186" count="1" type="stmt"/>
840
+ <line num="190" count="1" type="stmt"/>
841
+ <line num="193" count="1" type="stmt"/>
842
+ <line num="199" count="1" type="stmt"/>
843
+ <line num="201" count="1" type="cond" truecount="1" falsecount="1"/>
844
+ <line num="202" count="0" type="stmt"/>
845
+ <line num="206" count="34" type="stmt"/>
846
+ <line num="207" count="1" type="stmt"/>
847
+ <line num="208" count="1" type="stmt"/>
848
+ <line num="209" count="1" type="stmt"/>
849
+ <line num="210" count="1" type="stmt"/>
838
850
  </file>
839
851
  <file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/role.js">
840
852
  <metrics statements="53" coveredstatements="47" conditionals="22" coveredconditionals="14" methods="7" coveredmethods="5"/>
@@ -971,31 +983,32 @@
971
983
  <line num="47" count="1" type="stmt"/>
972
984
  </file>
973
985
  <file name="script.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/script.js">
974
- <metrics statements="13" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="0"/>
986
+ <metrics statements="7" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
975
987
  <line num="1" count="34" type="stmt"/>
976
- <line num="2" count="34" type="stmt"/>
988
+ <line num="3" count="34" type="stmt"/>
989
+ <line num="4" count="0" type="stmt"/>
990
+ <line num="5" count="0" type="stmt"/>
977
991
  <line num="6" count="0" type="stmt"/>
978
- <line num="7" count="0" type="stmt"/>
979
- <line num="8" count="0" type="stmt"/>
980
- <line num="9" count="0" type="stmt"/>
981
- <line num="13" count="0" type="stmt"/>
982
- <line num="14" count="0" type="stmt"/>
983
- <line num="18" count="34" type="stmt"/>
984
- <line num="19" count="0" type="stmt"/>
985
- <line num="21" count="0" type="stmt"/>
986
- <line num="24" count="34" type="stmt"/>
987
- <line num="25" count="0" type="stmt"/>
992
+ <line num="9" count="34" type="stmt"/>
993
+ <line num="10" count="0" type="stmt"/>
988
994
  </file>
989
995
  <file name="templates.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/templates.js">
990
- <metrics statements="8" coveredstatements="8" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
996
+ <metrics statements="15" coveredstatements="12" conditionals="7" coveredconditionals="5" methods="1" coveredmethods="1"/>
991
997
  <line num="1" count="23" type="stmt"/>
992
998
  <line num="2" count="23" type="stmt"/>
993
999
  <line num="6" count="23" type="stmt"/>
994
1000
  <line num="8" count="23" type="stmt"/>
995
1001
  <line num="9" count="1" type="cond" truecount="1" falsecount="0"/>
996
- <line num="10" count="1" type="stmt"/>
1002
+ <line num="11" count="1" type="stmt"/>
1003
+ <line num="12" count="1" type="stmt"/>
997
1004
  <line num="13" count="1" type="stmt"/>
998
- <line num="14" count="1" type="stmt"/>
1005
+ <line num="14" count="1" type="cond" truecount="1" falsecount="1"/>
1006
+ <line num="15" count="0" type="stmt"/>
1007
+ <line num="18" count="0" type="stmt"/>
1008
+ <line num="21" count="1" type="cond" truecount="3" falsecount="1"/>
1009
+ <line num="22" count="1" type="stmt"/>
1010
+ <line num="23" count="1" type="stmt"/>
1011
+ <line num="25" count="0" type="stmt"/>
999
1012
  </file>
1000
1013
  <file name="user.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/user.js">
1001
1014
  <metrics statements="37" coveredstatements="32" conditionals="0" coveredconditionals="0" methods="8" coveredmethods="5"/>
@@ -1695,9 +1708,9 @@
1695
1708
  </file>
1696
1709
  </package>
1697
1710
  <package name="api.controllers.table">
1698
- <metrics statements="182" coveredstatements="160" conditionals="90" coveredconditionals="62" methods="27" coveredmethods="21"/>
1711
+ <metrics statements="183" coveredstatements="160" conditionals="94" coveredconditionals="65" methods="27" coveredmethods="21"/>
1699
1712
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/index.js">
1700
- <metrics statements="79" coveredstatements="69" conditionals="39" coveredconditionals="28" methods="10" coveredmethods="7"/>
1713
+ <metrics statements="81" coveredstatements="70" conditionals="43" coveredconditionals="31" methods="10" coveredmethods="7"/>
1701
1714
  <line num="1" count="34" type="stmt"/>
1702
1715
  <line num="2" count="34" type="stmt"/>
1703
1716
  <line num="3" count="34" type="stmt"/>
@@ -1735,154 +1748,155 @@
1735
1748
  <line num="93" count="13" type="stmt"/>
1736
1749
  <line num="94" count="13" type="cond" truecount="3" falsecount="1"/>
1737
1750
  <line num="95" count="0" type="stmt"/>
1738
- <line num="101" count="99" type="stmt"/>
1739
- <line num="114" count="99" type="stmt"/>
1751
+ <line num="97" count="13" type="cond" truecount="3" falsecount="1"/>
1752
+ <line num="98" count="0" type="stmt"/>
1753
+ <line num="104" count="99" type="stmt"/>
1740
1754
  <line num="117" count="99" type="stmt"/>
1741
- <line num="118" count="0" type="stmt"/>
1742
- <line num="119" count="0" type="cond" truecount="0" falsecount="2"/>
1743
- <line num="121" count="0" type="cond" truecount="0" falsecount="4"/>
1744
- <line num="122" count="0" type="stmt"/>
1745
- <line num="126" count="99" type="stmt"/>
1746
- <line num="127" count="99" type="stmt"/>
1747
- <line num="135" count="99" type="cond" truecount="4" falsecount="0"/>
1748
- <line num="136" count="4" type="stmt"/>
1749
- <line num="139" count="0" type="stmt"/>
1750
- <line num="144" count="99" type="stmt"/>
1751
- <line num="145" count="99" type="cond" truecount="4" falsecount="0"/>
1752
- <line num="146" count="1" type="stmt"/>
1753
- <line num="148" count="99" type="stmt"/>
1754
- <line num="149" count="99" type="stmt"/>
1755
+ <line num="120" count="99" type="stmt"/>
1756
+ <line num="121" count="0" type="stmt"/>
1757
+ <line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
1758
+ <line num="124" count="0" type="cond" truecount="0" falsecount="4"/>
1759
+ <line num="125" count="0" type="stmt"/>
1760
+ <line num="129" count="99" type="stmt"/>
1761
+ <line num="130" count="99" type="stmt"/>
1762
+ <line num="138" count="99" type="cond" truecount="4" falsecount="0"/>
1763
+ <line num="139" count="4" type="stmt"/>
1764
+ <line num="142" count="0" type="stmt"/>
1765
+ <line num="147" count="99" type="stmt"/>
1766
+ <line num="148" count="99" type="cond" truecount="4" falsecount="0"/>
1767
+ <line num="149" count="1" type="stmt"/>
1755
1768
  <line num="151" count="99" type="stmt"/>
1756
- <line num="153" count="99" type="cond" truecount="2" falsecount="0"/>
1757
- <line num="156" count="99" type="stmt"/>
1758
- <line num="157" count="99" type="stmt"/>
1759
- <line num="158" count="99" type="stmt"/>
1760
- <line num="161" count="34" type="stmt"/>
1761
- <line num="162" count="2" type="stmt"/>
1762
- <line num="163" count="2" type="stmt"/>
1763
- <line num="164" count="2" type="stmt"/>
1769
+ <line num="152" count="99" type="stmt"/>
1770
+ <line num="154" count="99" type="stmt"/>
1771
+ <line num="156" count="99" type="cond" truecount="2" falsecount="0"/>
1772
+ <line num="159" count="99" type="stmt"/>
1773
+ <line num="160" count="99" type="stmt"/>
1774
+ <line num="161" count="99" type="stmt"/>
1775
+ <line num="164" count="34" type="stmt"/>
1776
+ <line num="165" count="2" type="stmt"/>
1777
+ <line num="166" count="2" type="stmt"/>
1764
1778
  <line num="167" count="2" type="stmt"/>
1765
- <line num="172" count="2" type="stmt"/>
1779
+ <line num="170" count="2" type="stmt"/>
1766
1780
  <line num="175" count="2" type="stmt"/>
1767
- <line num="182" count="2" type="stmt"/>
1781
+ <line num="178" count="2" type="stmt"/>
1768
1782
  <line num="185" count="2" type="stmt"/>
1769
- <line num="186" count="2" type="stmt"/>
1770
- <line num="187" count="2" type="stmt"/>
1771
- <line num="189" count="2" type="cond" truecount="1" falsecount="1"/>
1772
- <line num="190" count="0" type="stmt"/>
1773
- <line num="193" count="2" type="cond" truecount="2" falsecount="0"/>
1774
- <line num="195" count="2" type="stmt"/>
1775
- <line num="196" count="2" type="stmt"/>
1776
- <line num="199" count="34" type="stmt"/>
1777
- <line num="200" count="1" type="cond" truecount="1" falsecount="0"/>
1778
- <line num="201" count="1" type="stmt"/>
1779
- <line num="202" count="1" type="stmt"/>
1783
+ <line num="188" count="2" type="stmt"/>
1784
+ <line num="189" count="2" type="stmt"/>
1785
+ <line num="190" count="2" type="stmt"/>
1786
+ <line num="192" count="2" type="cond" truecount="1" falsecount="1"/>
1787
+ <line num="193" count="0" type="stmt"/>
1788
+ <line num="196" count="2" type="cond" truecount="2" falsecount="0"/>
1789
+ <line num="198" count="2" type="stmt"/>
1790
+ <line num="199" count="2" type="stmt"/>
1791
+ <line num="202" count="34" type="stmt"/>
1792
+ <line num="203" count="1" type="cond" truecount="1" falsecount="0"/>
1793
+ <line num="204" count="1" type="stmt"/>
1794
+ <line num="205" count="1" type="stmt"/>
1780
1795
  </file>
1781
1796
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/utils.js">
1782
- <metrics statements="103" coveredstatements="91" conditionals="51" coveredconditionals="34" methods="17" coveredmethods="14"/>
1797
+ <metrics statements="102" coveredstatements="90" conditionals="51" coveredconditionals="34" methods="17" coveredmethods="14"/>
1783
1798
  <line num="1" count="34" type="stmt"/>
1784
1799
  <line num="2" count="34" type="stmt"/>
1785
- <line num="3" count="34" type="stmt"/>
1800
+ <line num="7" count="34" type="stmt"/>
1786
1801
  <line num="8" count="34" type="stmt"/>
1787
1802
  <line num="9" count="34" type="stmt"/>
1788
1803
  <line num="10" count="34" type="stmt"/>
1789
1804
  <line num="11" count="34" type="stmt"/>
1790
- <line num="12" count="34" type="stmt"/>
1791
- <line num="14" count="34" type="stmt"/>
1805
+ <line num="13" count="34" type="stmt"/>
1806
+ <line num="14" count="99" type="stmt"/>
1792
1807
  <line num="15" count="99" type="stmt"/>
1793
1808
  <line num="16" count="99" type="stmt"/>
1794
- <line num="17" count="99" type="stmt"/>
1795
- <line num="18" count="99" type="cond" truecount="5" falsecount="0"/>
1796
- <line num="19" count="4" type="stmt"/>
1797
- <line num="20" count="11" type="stmt"/>
1798
- <line num="24" count="99" type="cond" truecount="4" falsecount="0"/>
1799
- <line num="25" count="1" type="stmt"/>
1800
- <line num="30" count="1" type="stmt"/>
1801
- <line num="31" count="1" type="cond" truecount="1" falsecount="1"/>
1809
+ <line num="17" count="99" type="cond" truecount="5" falsecount="0"/>
1810
+ <line num="18" count="4" type="stmt"/>
1811
+ <line num="19" count="11" type="stmt"/>
1812
+ <line num="23" count="99" type="cond" truecount="4" falsecount="0"/>
1813
+ <line num="24" count="1" type="stmt"/>
1814
+ <line num="29" count="1" type="stmt"/>
1815
+ <line num="30" count="1" type="cond" truecount="1" falsecount="1"/>
1816
+ <line num="31" count="1" type="stmt"/>
1802
1817
  <line num="32" count="1" type="stmt"/>
1803
- <line num="33" count="1" type="stmt"/>
1804
- <line num="34" count="0" type="cond" truecount="0" falsecount="2"/>
1805
- <line num="35" count="0" type="stmt"/>
1806
- <line num="37" count="1" type="stmt"/>
1807
- <line num="39" count="1" type="stmt"/>
1808
- <line num="41" count="99" type="stmt"/>
1809
- <line num="45" count="34" type="stmt"/>
1810
- <line num="46" count="4" type="cond" truecount="1" falsecount="1"/>
1811
- <line num="47" count="0" type="stmt"/>
1812
- <line num="50" count="4" type="stmt"/>
1813
- <line num="53" count="4" type="stmt"/>
1814
- <line num="54" count="11" type="cond" truecount="1" falsecount="1"/>
1815
- <line num="59" count="0" type="stmt"/>
1816
- <line num="62" count="4" type="stmt"/>
1817
- <line num="65" count="34" type="stmt"/>
1818
- <line num="66" count="100" type="stmt"/>
1819
- <line num="67" count="100" type="cond" truecount="4" falsecount="0"/>
1820
- <line num="69" count="1" type="stmt"/>
1818
+ <line num="33" count="0" type="cond" truecount="0" falsecount="2"/>
1819
+ <line num="34" count="0" type="stmt"/>
1820
+ <line num="36" count="1" type="stmt"/>
1821
+ <line num="38" count="1" type="stmt"/>
1822
+ <line num="40" count="99" type="stmt"/>
1823
+ <line num="44" count="34" type="stmt"/>
1824
+ <line num="45" count="4" type="cond" truecount="1" falsecount="1"/>
1825
+ <line num="46" count="0" type="stmt"/>
1826
+ <line num="49" count="4" type="stmt"/>
1827
+ <line num="52" count="4" type="stmt"/>
1828
+ <line num="53" count="11" type="cond" truecount="1" falsecount="1"/>
1829
+ <line num="58" count="0" type="stmt"/>
1830
+ <line num="61" count="4" type="stmt"/>
1831
+ <line num="64" count="34" type="stmt"/>
1832
+ <line num="65" count="100" type="stmt"/>
1833
+ <line num="66" count="100" type="cond" truecount="4" falsecount="0"/>
1834
+ <line num="68" count="1" type="stmt"/>
1835
+ <line num="70" count="1" type="stmt"/>
1821
1836
  <line num="71" count="1" type="stmt"/>
1822
1837
  <line num="72" count="1" type="stmt"/>
1823
1838
  <line num="73" count="1" type="stmt"/>
1824
1839
  <line num="74" count="1" type="stmt"/>
1825
1840
  <line num="75" count="1" type="stmt"/>
1826
- <line num="76" count="1" type="stmt"/>
1841
+ <line num="78" count="1" type="stmt"/>
1827
1842
  <line num="79" count="1" type="stmt"/>
1828
- <line num="80" count="1" type="stmt"/>
1829
- <line num="82" count="1" type="stmt"/>
1830
- <line num="84" count="4" type="cond" truecount="1" falsecount="1"/>
1831
- <line num="89" count="0" type="stmt"/>
1832
- <line num="97" count="1" type="stmt"/>
1833
- <line num="108" count="1" type="stmt"/>
1834
- <line num="109" count="1" type="stmt"/>
1835
- <line num="110" count="1" type="stmt"/>
1836
- <line num="112" count="100" type="stmt"/>
1837
- <line num="115" count="34" type="stmt"/>
1838
- <line num="116" count="99" type="stmt"/>
1839
- <line num="118" count="99" type="cond" truecount="4" falsecount="0"/>
1840
- <line num="119" count="2" type="stmt"/>
1841
- <line num="120" count="2" type="stmt"/>
1842
- <line num="122" count="2" type="stmt"/>
1843
- <line num="123" count="3" type="stmt"/>
1844
- <line num="126" count="2" type="cond" truecount="2" falsecount="0"/>
1845
- <line num="127" count="1" type="stmt"/>
1846
- <line num="128" count="1" type="stmt"/>
1847
- <line num="132" count="1" type="cond" truecount="1" falsecount="1"/>
1848
- <line num="133" count="1" type="stmt"/>
1849
- <line num="135" count="1" type="stmt"/>
1850
- <line num="146" count="1" type="stmt"/>
1851
- <line num="156" count="99" type="stmt"/>
1852
- <line num="159" count="34" type="stmt"/>
1853
- <line num="161" count="99" type="cond" truecount="2" falsecount="0"/>
1854
- <line num="162" count="1" type="stmt"/>
1855
- <line num="164" count="5" type="cond" truecount="1" falsecount="1"/>
1856
- <line num="165" count="5" type="stmt"/>
1843
+ <line num="81" count="1" type="stmt"/>
1844
+ <line num="83" count="4" type="cond" truecount="1" falsecount="1"/>
1845
+ <line num="88" count="0" type="stmt"/>
1846
+ <line num="95" count="1" type="stmt"/>
1847
+ <line num="98" count="1" type="stmt"/>
1848
+ <line num="99" count="1" type="stmt"/>
1849
+ <line num="100" count="1" type="stmt"/>
1850
+ <line num="102" count="100" type="stmt"/>
1851
+ <line num="105" count="34" type="stmt"/>
1852
+ <line num="106" count="99" type="stmt"/>
1853
+ <line num="108" count="99" type="cond" truecount="4" falsecount="0"/>
1854
+ <line num="109" count="2" type="stmt"/>
1855
+ <line num="110" count="2" type="stmt"/>
1856
+ <line num="112" count="2" type="stmt"/>
1857
+ <line num="113" count="3" type="stmt"/>
1858
+ <line num="116" count="2" type="cond" truecount="2" falsecount="0"/>
1859
+ <line num="117" count="1" type="stmt"/>
1860
+ <line num="118" count="1" type="stmt"/>
1861
+ <line num="122" count="1" type="cond" truecount="1" falsecount="1"/>
1862
+ <line num="123" count="1" type="stmt"/>
1863
+ <line num="125" count="1" type="stmt"/>
1864
+ <line num="136" count="1" type="stmt"/>
1865
+ <line num="146" count="99" type="stmt"/>
1866
+ <line num="149" count="34" type="stmt"/>
1867
+ <line num="151" count="99" type="cond" truecount="2" falsecount="0"/>
1868
+ <line num="152" count="1" type="stmt"/>
1869
+ <line num="154" count="5" type="cond" truecount="1" falsecount="1"/>
1870
+ <line num="155" count="5" type="stmt"/>
1871
+ <line num="159" count="99" type="stmt"/>
1872
+ <line num="164" count="99" type="stmt"/>
1873
+ <line num="165" count="99" type="stmt"/>
1874
+ <line num="166" count="99" type="cond" truecount="3" falsecount="1"/>
1875
+ <line num="167" count="99" type="stmt"/>
1857
1876
  <line num="169" count="99" type="stmt"/>
1858
- <line num="174" count="99" type="stmt"/>
1859
- <line num="175" count="99" type="stmt"/>
1860
- <line num="176" count="99" type="cond" truecount="3" falsecount="1"/>
1861
- <line num="177" count="99" type="stmt"/>
1862
- <line num="179" count="99" type="stmt"/>
1877
+ <line num="170" count="99" type="stmt"/>
1878
+ <line num="172" count="99" type="stmt"/>
1879
+ <line num="177" count="99" type="cond" truecount="2" falsecount="0"/>
1880
+ <line num="178" count="4" type="stmt"/>
1863
1881
  <line num="180" count="99" type="stmt"/>
1864
- <line num="182" count="99" type="stmt"/>
1865
- <line num="187" count="99" type="cond" truecount="2" falsecount="0"/>
1866
- <line num="188" count="4" type="stmt"/>
1867
- <line num="190" count="99" type="stmt"/>
1882
+ <line num="181" count="99" type="stmt"/>
1883
+ <line num="186" count="99" type="stmt"/>
1868
1884
  <line num="191" count="99" type="stmt"/>
1869
- <line num="196" count="99" type="stmt"/>
1870
- <line num="201" count="99" type="stmt"/>
1871
- <line num="202" count="99" type="stmt"/>
1872
- <line num="207" count="99" type="stmt"/>
1885
+ <line num="192" count="99" type="stmt"/>
1886
+ <line num="197" count="99" type="stmt"/>
1887
+ <line num="198" count="99" type="stmt"/>
1888
+ <line num="204" count="99" type="stmt"/>
1873
1889
  <line num="208" count="99" type="stmt"/>
1874
- <line num="214" count="99" type="stmt"/>
1875
- <line num="218" count="99" type="stmt"/>
1876
- <line num="222" count="34" type="stmt"/>
1890
+ <line num="212" count="34" type="stmt"/>
1891
+ <line num="213" count="0" type="stmt"/>
1892
+ <line num="214" count="0" type="stmt"/>
1893
+ <line num="215" count="0" type="cond" truecount="0" falsecount="4"/>
1894
+ <line num="216" count="0" type="stmt"/>
1895
+ <line num="218" count="0" type="stmt"/>
1896
+ <line num="221" count="34" type="stmt"/>
1897
+ <line num="222" count="0" type="stmt"/>
1877
1898
  <line num="223" count="0" type="stmt"/>
1878
- <line num="224" count="0" type="stmt"/>
1879
- <line num="225" count="0" type="cond" truecount="0" falsecount="4"/>
1880
- <line num="226" count="0" type="stmt"/>
1881
- <line num="228" count="0" type="stmt"/>
1882
- <line num="231" count="34" type="stmt"/>
1883
- <line num="232" count="0" type="stmt"/>
1884
- <line num="233" count="0" type="stmt"/>
1885
- <line num="236" count="34" type="stmt"/>
1899
+ <line num="226" count="34" type="stmt"/>
1886
1900
  </file>
1887
1901
  </package>
1888
1902
  <package name="api.controllers.view">
@@ -2068,7 +2082,7 @@
2068
2082
  </file>
2069
2083
  </package>
2070
2084
  <package name="api.routes">
2071
- <metrics statements="269" coveredstatements="262" conditionals="11" coveredconditionals="7" methods="11" coveredmethods="11"/>
2085
+ <metrics statements="271" coveredstatements="264" conditionals="11" coveredconditionals="7" methods="12" coveredmethods="12"/>
2072
2086
  <file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/analytics.js">
2073
2087
  <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2074
2088
  <line num="1" count="23" type="stmt"/>
@@ -2178,17 +2192,19 @@
2178
2192
  <line num="17" count="23" type="stmt"/>
2179
2193
  </file>
2180
2194
  <file name="dev.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/dev.js">
2181
- <metrics statements="10" coveredstatements="10" conditionals="4" coveredconditionals="2" methods="0" coveredmethods="0"/>
2195
+ <metrics statements="12" coveredstatements="12" conditionals="4" coveredconditionals="2" methods="1" coveredmethods="1"/>
2182
2196
  <line num="1" count="23" type="stmt"/>
2183
2197
  <line num="2" count="23" type="stmt"/>
2184
2198
  <line num="3" count="23" type="stmt"/>
2185
2199
  <line num="4" count="23" type="stmt"/>
2186
2200
  <line num="5" count="23" type="stmt"/>
2187
2201
  <line num="7" count="23" type="stmt"/>
2188
- <line num="9" count="23" type="cond" truecount="2" falsecount="2"/>
2189
- <line num="10" count="23" type="stmt"/>
2190
- <line num="16" count="23" type="stmt"/>
2202
+ <line num="10" count="46" type="stmt"/>
2203
+ <line num="16" count="23" type="cond" truecount="2" falsecount="2"/>
2204
+ <line num="17" count="23" type="stmt"/>
2205
+ <line num="18" count="23" type="stmt"/>
2191
2206
  <line num="21" count="23" type="stmt"/>
2207
+ <line num="26" count="23" type="stmt"/>
2192
2208
  </file>
2193
2209
  <file name="hosting.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/hosting.js">
2194
2210
  <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
@@ -2288,9 +2304,9 @@
2288
2304
  <line num="15" count="23" type="stmt"/>
2289
2305
  <line num="17" count="23" type="stmt"/>
2290
2306
  <line num="21" count="23" type="stmt"/>
2291
- <line num="40" count="23" type="stmt"/>
2292
- <line num="49" count="23" type="stmt"/>
2293
- <line num="83" count="23" type="stmt"/>
2307
+ <line num="41" count="23" type="stmt"/>
2308
+ <line num="51" count="23" type="stmt"/>
2309
+ <line num="85" count="23" type="stmt"/>
2294
2310
  </file>
2295
2311
  <file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/role.js">
2296
2312
  <metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
@@ -2427,9 +2443,9 @@
2427
2443
  </file>
2428
2444
  </package>
2429
2445
  <package name="automations">
2430
- <metrics statements="249" coveredstatements="209" conditionals="102" coveredconditionals="75" methods="29" coveredmethods="24"/>
2446
+ <metrics statements="260" coveredstatements="216" conditionals="106" coveredconditionals="77" methods="29" coveredmethods="24"/>
2431
2447
  <file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
2432
- <metrics statements="19" coveredstatements="19" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2448
+ <metrics statements="23" coveredstatements="23" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
2433
2449
  <line num="1" count="34" type="stmt"/>
2434
2450
  <line num="2" count="34" type="stmt"/>
2435
2451
  <line num="3" count="34" type="stmt"/>
@@ -2447,8 +2463,12 @@
2447
2463
  <line num="15" count="34" type="stmt"/>
2448
2464
  <line num="16" count="34" type="stmt"/>
2449
2465
  <line num="18" count="34" type="stmt"/>
2450
- <line num="37" count="34" type="stmt"/>
2451
- <line num="64" count="34" type="stmt"/>
2466
+ <line num="36" count="34" type="stmt"/>
2467
+ <line num="58" count="34" type="cond" truecount="1" falsecount="1"/>
2468
+ <line num="59" count="34" type="stmt"/>
2469
+ <line num="60" count="34" type="stmt"/>
2470
+ <line num="61" count="34" type="stmt"/>
2471
+ <line num="71" count="34" type="stmt"/>
2452
2472
  </file>
2453
2473
  <file name="automationUtils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/automationUtils.js">
2454
2474
  <metrics statements="35" coveredstatements="33" conditionals="18" coveredconditionals="16" methods="3" coveredmethods="3"/>
@@ -2524,7 +2544,7 @@
2524
2544
  <line num="17" count="24" type="stmt"/>
2525
2545
  </file>
2526
2546
  <file name="thread.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/thread.js">
2527
- <metrics statements="60" coveredstatements="54" conditionals="19" coveredconditionals="11" methods="7" coveredmethods="7"/>
2547
+ <metrics statements="67" coveredstatements="57" conditionals="21" coveredconditionals="12" methods="7" coveredmethods="7"/>
2528
2548
  <line num="1" count="33" type="stmt"/>
2529
2549
  <line num="2" count="33" type="stmt"/>
2530
2550
  <line num="3" count="33" type="stmt"/>
@@ -2536,55 +2556,62 @@
2536
2556
  <line num="9" count="33" type="stmt"/>
2537
2557
  <line num="10" count="33" type="stmt"/>
2538
2558
  <line num="12" count="33" type="stmt"/>
2539
- <line num="21" count="7" type="stmt"/>
2540
- <line num="22" count="7" type="cond" truecount="2" falsecount="0"/>
2541
- <line num="23" count="7" type="stmt"/>
2559
+ <line num="13" count="33" type="stmt"/>
2560
+ <line num="22" count="7" type="stmt"/>
2561
+ <line num="23" count="7" type="cond" truecount="2" falsecount="0"/>
2542
2562
  <line num="24" count="7" type="stmt"/>
2543
- <line num="26" count="7" type="stmt"/>
2563
+ <line num="25" count="7" type="stmt"/>
2544
2564
  <line num="27" count="7" type="stmt"/>
2545
- <line num="29" count="7" type="stmt"/>
2565
+ <line num="28" count="7" type="stmt"/>
2546
2566
  <line num="30" count="7" type="stmt"/>
2547
- <line num="33" count="7" type="stmt"/>
2567
+ <line num="31" count="7" type="stmt"/>
2548
2568
  <line num="34" count="7" type="stmt"/>
2549
- <line num="36" count="7" type="stmt"/>
2569
+ <line num="35" count="7" type="stmt"/>
2550
2570
  <line num="37" count="7" type="stmt"/>
2551
2571
  <line num="38" count="7" type="stmt"/>
2552
- <line num="42" count="5" type="stmt"/>
2553
- <line num="43" count="5" type="cond" truecount="1" falsecount="1"/>
2554
- <line num="44" count="0" type="stmt"/>
2555
- <line num="46" count="5" type="stmt"/>
2556
- <line num="50" count="7" type="stmt"/>
2557
- <line num="51" count="7" type="cond" truecount="1" falsecount="1"/>
2558
- <line num="52" count="0" type="stmt"/>
2559
- <line num="54" count="7" type="stmt"/>
2572
+ <line num="39" count="7" type="stmt"/>
2573
+ <line num="43" count="5" type="stmt"/>
2574
+ <line num="44" count="5" type="cond" truecount="1" falsecount="1"/>
2575
+ <line num="45" count="0" type="stmt"/>
2576
+ <line num="47" count="5" type="stmt"/>
2577
+ <line num="51" count="7" type="stmt"/>
2578
+ <line num="52" count="7" type="cond" truecount="1" falsecount="1"/>
2579
+ <line num="53" count="0" type="stmt"/>
2560
2580
  <line num="55" count="7" type="stmt"/>
2561
- <line num="56" count="6" type="stmt"/>
2562
- <line num="60" count="12" type="stmt"/>
2563
- <line num="62" count="12" type="cond" truecount="2" falsecount="0"/>
2564
- <line num="63" count="7" type="stmt"/>
2565
- <line num="65" count="12" type="stmt"/>
2566
- <line num="69" count="7" type="stmt"/>
2581
+ <line num="56" count="7" type="stmt"/>
2582
+ <line num="57" count="6" type="stmt"/>
2583
+ <line num="61" count="12" type="stmt"/>
2584
+ <line num="63" count="12" type="cond" truecount="2" falsecount="0"/>
2585
+ <line num="64" count="7" type="stmt"/>
2586
+ <line num="66" count="12" type="stmt"/>
2567
2587
  <line num="70" count="7" type="stmt"/>
2568
- <line num="71" count="6" type="stmt"/>
2569
- <line num="72" count="5" type="stmt"/>
2570
- <line num="73" count="5" type="stmt"/>
2571
- <line num="74" count="5" type="stmt"/>
2588
+ <line num="71" count="7" type="stmt"/>
2589
+ <line num="72" count="6" type="stmt"/>
2590
+ <line num="73" count="6" type="stmt"/>
2591
+ <line num="75" count="5" type="cond" truecount="1" falsecount="1"/>
2592
+ <line num="76" count="0" type="stmt"/>
2593
+ <line num="77" count="0" type="stmt"/>
2572
2594
  <line num="79" count="5" type="stmt"/>
2573
- <line num="80" count="5" type="cond" truecount="1" falsecount="1"/>
2595
+ <line num="80" count="5" type="stmt"/>
2574
2596
  <line num="81" count="5" type="stmt"/>
2575
- <line num="82" count="5" type="stmt"/>
2576
- <line num="89" count="5" type="cond" truecount="2" falsecount="2"/>
2577
- <line num="90" count="0" type="stmt"/>
2578
- <line num="92" count="5" type="stmt"/>
2579
- <line num="93" count="5" type="stmt"/>
2580
- <line num="95" count="0" type="stmt"/>
2581
- <line num="96" count="0" type="stmt"/>
2582
- <line num="101" count="6" type="cond" truecount="2" falsecount="2"/>
2583
- <line num="102" count="0" type="stmt"/>
2584
- <line num="104" count="6" type="stmt"/>
2585
- <line num="108" count="33" type="stmt"/>
2586
- <line num="109" count="7" type="stmt"/>
2587
- <line num="113" count="7" type="stmt"/>
2597
+ <line num="86" count="5" type="stmt"/>
2598
+ <line num="87" count="5" type="cond" truecount="1" falsecount="1"/>
2599
+ <line num="88" count="5" type="stmt"/>
2600
+ <line num="89" count="5" type="stmt"/>
2601
+ <line num="96" count="5" type="stmt"/>
2602
+ <line num="99" count="5" type="cond" truecount="2" falsecount="2"/>
2603
+ <line num="100" count="0" type="stmt"/>
2604
+ <line num="101" count="0" type="stmt"/>
2605
+ <line num="105" count="0" type="stmt"/>
2606
+ <line num="107" count="5" type="stmt"/>
2607
+ <line num="109" count="0" type="stmt"/>
2608
+ <line num="110" count="0" type="stmt"/>
2609
+ <line num="115" count="6" type="cond" truecount="2" falsecount="2"/>
2610
+ <line num="116" count="0" type="stmt"/>
2611
+ <line num="118" count="6" type="stmt"/>
2612
+ <line num="122" count="33" type="stmt"/>
2613
+ <line num="123" count="7" type="stmt"/>
2614
+ <line num="127" count="7" type="stmt"/>
2588
2615
  </file>
2589
2616
  <file name="triggers.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggers.js">
2590
2617
  <metrics statements="44" coveredstatements="42" conditionals="25" coveredconditionals="21" methods="7" coveredmethods="7"/>
@@ -3034,16 +3061,16 @@
3034
3061
  <line num="22" count="39" type="stmt"/>
3035
3062
  <line num="23" count="39" type="stmt"/>
3036
3063
  <line num="32" count="39" type="stmt"/>
3037
- <line num="47" count="39" type="stmt"/>
3038
- <line num="53" count="39" type="stmt"/>
3039
- <line num="59" count="39" type="stmt"/>
3040
- <line num="66" count="39" type="stmt"/>
3041
- <line num="71" count="39" type="stmt"/>
3042
- <line num="133" count="39" type="stmt"/>
3043
- <line num="141" count="39" type="stmt"/>
3064
+ <line num="48" count="39" type="stmt"/>
3065
+ <line num="54" count="39" type="stmt"/>
3066
+ <line num="60" count="39" type="stmt"/>
3067
+ <line num="67" count="39" type="stmt"/>
3068
+ <line num="72" count="39" type="stmt"/>
3069
+ <line num="134" count="39" type="stmt"/>
3044
3070
  <line num="142" count="39" type="stmt"/>
3045
- <line num="149" count="39" type="stmt"/>
3046
- <line num="155" count="39" type="stmt"/>
3071
+ <line num="143" count="39" type="stmt"/>
3072
+ <line num="150" count="39" type="stmt"/>
3073
+ <line num="156" count="39" type="stmt"/>
3047
3074
  </file>
3048
3075
  <file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
3049
3076
  <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
@@ -3243,22 +3270,22 @@
3243
3270
  <line num="41" count="9" type="stmt"/>
3244
3271
  <line num="42" count="9" type="stmt"/>
3245
3272
  <line num="47" count="9" type="stmt"/>
3246
- <line num="56" count="188" type="stmt"/>
3247
- <line num="57" count="188" type="stmt"/>
3248
- <line num="58" count="188" type="stmt"/>
3249
- <line num="59" count="188" type="stmt"/>
3250
- <line num="60" count="188" type="stmt"/>
3251
- <line num="61" count="188" type="stmt"/>
3273
+ <line num="56" count="187" type="stmt"/>
3274
+ <line num="57" count="187" type="stmt"/>
3275
+ <line num="58" count="187" type="stmt"/>
3276
+ <line num="59" count="187" type="stmt"/>
3277
+ <line num="60" count="187" type="stmt"/>
3278
+ <line num="61" count="187" type="stmt"/>
3252
3279
  <line num="70" count="52" type="cond" truecount="2" falsecount="0"/>
3253
3280
  <line num="71" count="5" type="stmt"/>
3254
3281
  <line num="74" count="52" type="stmt"/>
3255
- <line num="85" count="181" type="cond" truecount="2" falsecount="0"/>
3282
+ <line num="85" count="180" type="cond" truecount="2" falsecount="0"/>
3256
3283
  <line num="86" count="5" type="stmt"/>
3257
- <line num="88" count="181" type="stmt"/>
3258
- <line num="89" count="454" type="stmt"/>
3259
- <line num="90" count="454" type="cond" truecount="2" falsecount="0"/>
3284
+ <line num="88" count="180" type="stmt"/>
3285
+ <line num="89" count="450" type="stmt"/>
3286
+ <line num="90" count="450" type="cond" truecount="2" falsecount="0"/>
3260
3287
  <line num="91" count="41" type="stmt"/>
3261
- <line num="94" count="140" type="stmt"/>
3288
+ <line num="94" count="139" type="stmt"/>
3262
3289
  <line num="101" count="27" type="stmt"/>
3263
3290
  <line num="113" count="9" type="stmt"/>
3264
3291
  <line num="124" count="22" type="stmt"/>
@@ -3424,16 +3451,16 @@
3424
3451
  <line num="89" count="30" type="stmt"/>
3425
3452
  <line num="90" count="30" type="stmt"/>
3426
3453
  <line num="105" count="34" type="stmt"/>
3427
- <line num="106" count="178" type="stmt"/>
3428
- <line num="107" count="178" type="cond" truecount="2" falsecount="0"/>
3429
- <line num="108" count="178" type="cond" truecount="1" falsecount="1"/>
3454
+ <line num="106" count="177" type="stmt"/>
3455
+ <line num="107" count="177" type="cond" truecount="2" falsecount="0"/>
3456
+ <line num="108" count="177" type="cond" truecount="1" falsecount="1"/>
3430
3457
  <line num="109" count="0" type="stmt"/>
3431
- <line num="112" count="178" type="cond" truecount="4" falsecount="0"/>
3458
+ <line num="112" count="177" type="cond" truecount="4" falsecount="0"/>
3432
3459
  <line num="113" count="101" type="stmt"/>
3433
- <line num="115" count="178" type="stmt"/>
3434
- <line num="116" count="178" type="stmt"/>
3435
- <line num="117" count="178" type="cond" truecount="2" falsecount="0"/>
3436
- <line num="122" count="137" type="stmt"/>
3460
+ <line num="115" count="177" type="stmt"/>
3461
+ <line num="116" count="177" type="stmt"/>
3462
+ <line num="117" count="177" type="cond" truecount="2" falsecount="0"/>
3463
+ <line num="122" count="136" type="stmt"/>
3437
3464
  <line num="125" count="0" type="stmt"/>
3438
3465
  <line num="127" count="41" type="cond" truecount="5" falsecount="2"/>
3439
3466
  <line num="130" count="21" type="stmt"/>
@@ -3827,7 +3854,7 @@
3827
3854
  </file>
3828
3855
  </package>
3829
3856
  <package name="utilities">
3830
- <metrics statements="271" coveredstatements="203" conditionals="105" coveredconditionals="59" methods="55" coveredmethods="38"/>
3857
+ <metrics statements="283" coveredstatements="206" conditionals="105" coveredconditionals="59" methods="57" coveredmethods="38"/>
3831
3858
  <file name="bcrypt.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/bcrypt.js">
3832
3859
  <metrics statements="9" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
3833
3860
  <line num="3" count="0" type="stmt"/>
@@ -4024,6 +4051,21 @@
4024
4051
  <line num="132" count="0" type="stmt"/>
4025
4052
  <line num="133" count="0" type="stmt"/>
4026
4053
  </file>
4054
+ <file name="scriptRunner.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/scriptRunner.js">
4055
+ <metrics statements="12" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
4056
+ <line num="1" count="34" type="stmt"/>
4057
+ <line num="2" count="34" type="stmt"/>
4058
+ <line num="6" count="0" type="stmt"/>
4059
+ <line num="7" count="0" type="stmt"/>
4060
+ <line num="8" count="0" type="stmt"/>
4061
+ <line num="9" count="0" type="stmt"/>
4062
+ <line num="10" count="0" type="stmt"/>
4063
+ <line num="11" count="0" type="stmt"/>
4064
+ <line num="12" count="0" type="stmt"/>
4065
+ <line num="16" count="0" type="stmt"/>
4066
+ <line num="17" count="0" type="stmt"/>
4067
+ <line num="21" count="34" type="stmt"/>
4068
+ </file>
4027
4069
  <file name="security.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/security.js">
4028
4070
  <metrics statements="28" coveredstatements="23" conditionals="15" coveredconditionals="8" methods="4" coveredmethods="4"/>
4029
4071
  <line num="6" count="33" type="stmt"/>
@@ -4171,9 +4213,9 @@
4171
4213
  </file>
4172
4214
  </package>
4173
4215
  <package name="utilities.rowProcessor">
4174
- <metrics statements="90" coveredstatements="70" conditionals="70" coveredconditionals="41" methods="12" coveredmethods="10"/>
4216
+ <metrics statements="95" coveredstatements="74" conditionals="76" coveredconditionals="46" methods="12" coveredmethods="10"/>
4175
4217
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/index.js">
4176
- <metrics statements="79" coveredstatements="60" conditionals="64" coveredconditionals="36" methods="10" coveredmethods="9"/>
4218
+ <metrics statements="84" coveredstatements="64" conditionals="70" coveredconditionals="41" methods="10" coveredmethods="9"/>
4177
4219
  <line num="1" count="34" type="stmt"/>
4178
4220
  <line num="2" count="34" type="stmt"/>
4179
4221
  <line num="3" count="34" type="stmt"/>
@@ -4216,43 +4258,48 @@
4216
4258
  <line num="142" count="73" type="stmt"/>
4217
4259
  <line num="144" count="34" type="stmt"/>
4218
4260
  <line num="152" count="34" type="stmt"/>
4219
- <line num="154" count="174" type="cond" truecount="2" falsecount="0"/>
4220
- <line num="155" count="16" type="stmt"/>
4221
- <line num="156" count="158" type="cond" truecount="2" falsecount="0"/>
4222
- <line num="157" count="22" type="stmt"/>
4223
- <line num="160" count="136" type="stmt"/>
4224
- <line num="172" count="34" type="stmt"/>
4225
- <line num="178" count="73" type="stmt"/>
4226
- <line num="180" count="73" type="stmt"/>
4227
- <line num="181" count="73" type="stmt"/>
4261
+ <line num="154" count="174" type="cond" truecount="1" falsecount="1"/>
4262
+ <line num="155" count="0" type="stmt"/>
4263
+ <line num="158" count="174" type="cond" truecount="2" falsecount="0"/>
4264
+ <line num="159" count="16" type="stmt"/>
4265
+ <line num="160" count="158" type="cond" truecount="2" falsecount="0"/>
4266
+ <line num="161" count="22" type="stmt"/>
4267
+ <line num="164" count="136" type="stmt"/>
4268
+ <line num="176" count="34" type="stmt"/>
4228
4269
  <line num="182" count="73" type="stmt"/>
4229
- <line num="183" count="332" type="stmt"/>
4230
- <line num="185" count="332" type="cond" truecount="2" falsecount="0"/>
4231
- <line num="186" count="159" type="cond" truecount="2" falsecount="0"/>
4232
- <line num="187" count="3" type="stmt"/>
4233
- <line num="189" count="159" type="stmt"/>
4234
- <line num="193" count="173" type="cond" truecount="1" falsecount="1"/>
4235
- <line num="194" count="0" type="stmt"/>
4236
- <line num="196" count="173" type="stmt"/>
4237
- <line num="200" count="73" type="stmt"/>
4238
- <line num="213" count="34" type="stmt"/>
4239
- <line num="219" count="100" type="stmt"/>
4240
- <line num="220" count="100" type="stmt"/>
4241
- <line num="221" count="100" type="cond" truecount="2" falsecount="0"/>
4242
- <line num="222" count="87" type="stmt"/>
4243
- <line num="223" count="87" type="stmt"/>
4244
- <line num="226" count="100" type="stmt"/>
4270
+ <line num="184" count="73" type="stmt"/>
4271
+ <line num="185" count="73" type="stmt"/>
4272
+ <line num="186" count="73" type="stmt"/>
4273
+ <line num="187" count="332" type="stmt"/>
4274
+ <line num="189" count="332" type="cond" truecount="2" falsecount="0"/>
4275
+ <line num="190" count="159" type="cond" truecount="2" falsecount="0"/>
4276
+ <line num="191" count="3" type="stmt"/>
4277
+ <line num="193" count="159" type="stmt"/>
4278
+ <line num="197" count="173" type="cond" truecount="1" falsecount="1"/>
4279
+ <line num="198" count="0" type="stmt"/>
4280
+ <line num="200" count="173" type="stmt"/>
4281
+ <line num="204" count="73" type="cond" truecount="4" falsecount="0"/>
4282
+ <line num="205" count="68" type="stmt"/>
4283
+ <line num="206" count="68" type="stmt"/>
4284
+ <line num="210" count="73" type="stmt"/>
4285
+ <line num="223" count="34" type="stmt"/>
4245
4286
  <line num="229" count="100" type="stmt"/>
4246
- <line num="232" count="100" type="stmt"/>
4247
- <line num="233" count="296" type="cond" truecount="2" falsecount="0"/>
4248
- <line num="234" count="8" type="stmt"/>
4249
- <line num="235" count="8" type="cond" truecount="4" falsecount="0"/>
4250
- <line num="236" count="6" type="stmt"/>
4251
- <line num="238" count="2" type="stmt"/>
4252
- <line num="239" count="2" type="stmt"/>
4253
- <line num="244" count="100" type="cond" truecount="2" falsecount="0"/>
4254
- <line num="245" count="26" type="stmt"/>
4255
- <line num="251" count="100" type="cond" truecount="2" falsecount="0"/>
4287
+ <line num="230" count="100" type="stmt"/>
4288
+ <line num="231" count="100" type="cond" truecount="2" falsecount="0"/>
4289
+ <line num="232" count="87" type="stmt"/>
4290
+ <line num="233" count="87" type="stmt"/>
4291
+ <line num="236" count="100" type="stmt"/>
4292
+ <line num="239" count="100" type="stmt"/>
4293
+ <line num="242" count="100" type="stmt"/>
4294
+ <line num="243" count="296" type="cond" truecount="2" falsecount="0"/>
4295
+ <line num="244" count="8" type="stmt"/>
4296
+ <line num="245" count="8" type="cond" truecount="4" falsecount="0"/>
4297
+ <line num="246" count="6" type="stmt"/>
4298
+ <line num="248" count="2" type="stmt"/>
4299
+ <line num="249" count="2" type="stmt"/>
4300
+ <line num="254" count="100" type="cond" truecount="2" falsecount="0"/>
4301
+ <line num="255" count="26" type="stmt"/>
4302
+ <line num="261" count="100" type="cond" truecount="2" falsecount="0"/>
4256
4303
  </file>
4257
4304
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/utils.js">
4258
4305
  <metrics statements="11" coveredstatements="10" conditionals="6" coveredconditionals="5" methods="2" coveredmethods="1"/>