@budibase/server 1.0.113 → 1.0.114

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 (186) hide show
  1. package/builder/assets/{index.e3e5909b.js → index.4cdeec28.js} +4 -4
  2. package/builder/index.html +1 -1
  3. package/coverage/clover.xml +105 -150
  4. package/coverage/coverage-final.json +2 -2
  5. package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
  6. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  7. package/coverage/lcov-report/api/controllers/application.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/component.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  15. package/coverage/lcov-report/api/controllers/index.html +1 -1
  16. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  21. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  22. package/coverage/lcov-report/api/controllers/query/index.js.html +1 -1
  23. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  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/staticFormula.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  33. package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  35. package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  38. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  39. package/coverage/lcov-report/api/controllers/table/internal.js.html +1 -1
  40. package/coverage/lcov-report/api/controllers/table/utils.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  42. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  43. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  44. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  45. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  46. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  47. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  48. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  49. package/coverage/lcov-report/api/index.html +1 -1
  50. package/coverage/lcov-report/api/index.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/application.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/index.html +1 -1
  63. package/coverage/lcov-report/api/routes/index.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  71. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/row.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  74. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  75. package/coverage/lcov-report/api/routes/static.js.html +1 -1
  76. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  77. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  78. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  79. package/coverage/lcov-report/api/routes/utils/index.html +1 -1
  80. package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
  81. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  82. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  83. package/coverage/lcov-report/automations/actions.js.html +1 -1
  84. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  85. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  86. package/coverage/lcov-report/automations/index.html +1 -1
  87. package/coverage/lcov-report/automations/index.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  95. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  96. package/coverage/lcov-report/automations/steps/index.html +1 -1
  97. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  98. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  99. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  100. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  101. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  102. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  103. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  104. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  105. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  106. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  107. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  108. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  109. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  110. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  111. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  112. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  113. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  114. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  115. package/coverage/lcov-report/automations/utils.js.html +1 -1
  116. package/coverage/lcov-report/constants/index.html +1 -1
  117. package/coverage/lcov-report/constants/index.js.html +1 -1
  118. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  119. package/coverage/lcov-report/constants/screens.js.html +1 -1
  120. package/coverage/lcov-report/db/client.js.html +1 -1
  121. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  122. package/coverage/lcov-report/db/index.html +1 -1
  123. package/coverage/lcov-report/db/index.js.html +1 -1
  124. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  125. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  126. package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
  127. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  128. package/coverage/lcov-report/db/newid.js.html +1 -1
  129. package/coverage/lcov-report/db/utils.js.html +1 -1
  130. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  131. package/coverage/lcov-report/events/index.html +1 -1
  132. package/coverage/lcov-report/events/index.js.html +1 -1
  133. package/coverage/lcov-report/events/utils.js.html +1 -1
  134. package/coverage/lcov-report/index.html +20 -20
  135. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  136. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  137. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  138. package/coverage/lcov-report/middleware/authorized.js.html +1 -1
  139. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  140. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  141. package/coverage/lcov-report/middleware/index.html +1 -1
  142. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  143. package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
  144. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  145. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  146. package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
  147. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  148. package/coverage/lcov-report/threads/automation.js.html +1 -1
  149. package/coverage/lcov-report/threads/index.html +29 -29
  150. package/coverage/lcov-report/threads/index.js.html +27 -9
  151. package/coverage/lcov-report/threads/query.js.html +20 -356
  152. package/coverage/lcov-report/threads/utils.js.html +1 -1
  153. package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
  154. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  155. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  156. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  157. package/coverage/lcov-report/utilities/global.js.html +1 -1
  158. package/coverage/lcov-report/utilities/index.html +1 -1
  159. package/coverage/lcov-report/utilities/index.js.html +1 -1
  160. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  161. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  162. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  163. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  164. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  165. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
  166. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  167. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  168. package/coverage/lcov-report/utilities/security.js.html +1 -1
  169. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  170. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  171. package/coverage/lcov-report/utilities/usageQuota/index.js.html +1 -1
  172. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  173. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  174. package/coverage/lcov-report/utilities/users.js.html +1 -1
  175. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  176. package/coverage/lcov.info +185 -263
  177. package/dist/integrations/queries/sql.js +108 -0
  178. package/dist/package.json +4 -4
  179. package/dist/threads/index.js +6 -1
  180. package/dist/threads/query.js +4 -103
  181. package/dist/tsconfig.tsbuildinfo +1 -1
  182. package/package.json +5 -5
  183. package/scripts/integrations/mysql/init.sql +1 -0
  184. package/src/integrations/queries/sql.ts +125 -0
  185. package/src/threads/index.js +7 -1
  186. package/src/threads/query.js +7 -119
@@ -10,7 +10,7 @@
10
10
  href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
11
11
  rel="stylesheet"
12
12
  />
13
- <script type="module" crossorigin src="/builder/assets/index.e3e5909b.js"></script>
13
+ <script type="module" crossorigin src="/builder/assets/index.4cdeec28.js"></script>
14
14
  <link rel="modulepreload" href="/builder/assets/vendor.8e34a169.js">
15
15
  <link rel="stylesheet" href="/builder/assets/vendor.5e1fe644.css">
16
16
  <link rel="stylesheet" href="/builder/assets/index.ea3718aa.css">
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1649852455538" clover="3.2.0">
3
- <project timestamp="1649852455538" name="All files">
4
- <metrics statements="5080" coveredstatements="3748" conditionals="2096" coveredconditionals="1135" methods="735" coveredmethods="526" elements="7911" coveredelements="5409" complexity="0" loc="5080" ncloc="5080" packages="23" files="147" classes="147"/>
2
+ <coverage generated="1650551462621" clover="3.2.0">
3
+ <project timestamp="1650551462621" name="All files">
4
+ <metrics statements="5035" coveredstatements="3739" conditionals="2071" coveredconditionals="1129" methods="731" coveredmethods="524" elements="7837" coveredelements="5392" complexity="0" loc="5035" ncloc="5035" packages="23" files="147" classes="147"/>
5
5
  <package name="api">
6
6
  <metrics statements="30" coveredstatements="28" 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">
@@ -4638,7 +4638,7 @@
4638
4638
  </file>
4639
4639
  </package>
4640
4640
  <package name="threads">
4641
- <metrics statements="287" coveredstatements="218" conditionals="123" coveredconditionals="73" methods="42" coveredmethods="37"/>
4641
+ <metrics statements="242" coveredstatements="209" conditionals="98" coveredconditionals="67" methods="38" coveredmethods="35"/>
4642
4642
  <file name="automation.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/automation.js">
4643
4643
  <metrics statements="73" coveredstatements="62" conditionals="19" coveredconditionals="11" methods="11" coveredmethods="10"/>
4644
4644
  <line num="1" count="4" type="stmt"/>
@@ -4716,7 +4716,7 @@
4716
4716
  <line num="138" count="0" type="stmt"/>
4717
4717
  </file>
4718
4718
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/index.js">
4719
- <metrics statements="29" coveredstatements="23" conditionals="18" coveredconditionals="10" methods="5" coveredmethods="5"/>
4719
+ <metrics statements="33" coveredstatements="25" conditionals="22" coveredconditionals="13" methods="5" coveredmethods="5"/>
4720
4720
  <line num="1" count="40" type="stmt"/>
4721
4721
  <line num="2" count="40" type="stmt"/>
4722
4722
  <line num="4" count="40" type="stmt"/>
@@ -4735,28 +4735,33 @@
4735
4735
  <line num="34" count="0" type="stmt"/>
4736
4736
  <line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
4737
4737
  <line num="39" count="0" type="stmt"/>
4738
- <line num="41" count="0" type="stmt"/>
4739
- <line num="46" count="20" type="stmt"/>
4740
- <line num="49" count="20" type="cond" truecount="1" falsecount="1"/>
4741
- <line num="50" count="20" type="stmt"/>
4742
- <line num="52" count="0" type="stmt"/>
4743
- <line num="54" count="20" type="stmt"/>
4744
- <line num="55" count="16" type="cond" truecount="2" falsecount="0"/>
4745
- <line num="56" count="2" type="stmt"/>
4746
- <line num="58" count="14" type="stmt"/>
4747
- <line num="65" count="40" type="stmt"/>
4748
- <line num="66" count="40" type="stmt"/>
4738
+ <line num="40" count="0" type="stmt"/>
4739
+ <line num="42" count="0" type="stmt"/>
4740
+ <line num="47" count="20" type="stmt"/>
4741
+ <line num="48" count="20" type="stmt"/>
4742
+ <line num="51" count="20" type="cond" truecount="1" falsecount="1"/>
4743
+ <line num="52" count="20" type="stmt"/>
4744
+ <line num="54" count="0" type="stmt"/>
4745
+ <line num="56" count="20" type="stmt"/>
4746
+ <line num="57" count="16" type="cond" truecount="3" falsecount="1"/>
4747
+ <line num="58" count="0" type="stmt"/>
4748
+ <line num="61" count="16" type="cond" truecount="2" falsecount="0"/>
4749
+ <line num="62" count="2" type="stmt"/>
4750
+ <line num="64" count="14" type="stmt"/>
4751
+ <line num="71" count="40" type="stmt"/>
4752
+ <line num="72" count="40" type="stmt"/>
4749
4753
  </file>
4750
4754
  <file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/query.js">
4751
- <metrics statements="148" coveredstatements="102" conditionals="72" coveredconditionals="43" methods="17" coveredmethods="14"/>
4755
+ <metrics statements="99" coveredstatements="91" conditionals="43" coveredconditionals="34" methods="13" coveredmethods="12"/>
4752
4756
  <line num="1" count="2" type="stmt"/>
4753
4757
  <line num="2" count="2" type="stmt"/>
4754
4758
  <line num="3" count="2" type="stmt"/>
4755
4759
  <line num="4" count="2" type="stmt"/>
4756
- <line num="8" count="2" type="stmt"/>
4757
- <line num="9" count="2" type="stmt"/>
4758
- <line num="10" count="2" type="stmt"/>
4759
- <line num="12" count="2" type="stmt"/>
4760
+ <line num="5" count="2" type="stmt"/>
4761
+ <line num="6" count="2" type="stmt"/>
4762
+ <line num="7" count="2" type="stmt"/>
4763
+ <line num="11" count="2" type="stmt"/>
4764
+ <line num="15" count="15" type="stmt"/>
4760
4765
  <line num="16" count="15" type="stmt"/>
4761
4766
  <line num="17" count="15" type="stmt"/>
4762
4767
  <line num="18" count="15" type="stmt"/>
@@ -4765,138 +4770,88 @@
4765
4770
  <line num="21" count="15" type="stmt"/>
4766
4771
  <line num="22" count="15" type="stmt"/>
4767
4772
  <line num="23" count="15" type="stmt"/>
4768
- <line num="24" count="15" type="stmt"/>
4773
+ <line num="27" count="15" type="stmt"/>
4769
4774
  <line num="28" count="15" type="stmt"/>
4770
- <line num="29" count="15" type="stmt"/>
4771
- <line num="33" count="2" type="stmt"/>
4772
- <line num="34" count="2" type="cond" truecount="1" falsecount="1"/>
4775
+ <line num="32" count="16" type="stmt"/>
4776
+ <line num="33" count="16" type="stmt"/>
4777
+ <line num="34" count="16" type="cond" truecount="2" falsecount="0"/>
4773
4778
  <line num="35" count="2" type="stmt"/>
4774
- <line num="37" count="0" type="stmt"/>
4775
- <line num="38" count="0" type="stmt"/>
4776
- <line num="39" count="0" type="stmt"/>
4777
- <line num="40" count="0" type="stmt"/>
4778
- <line num="42" count="0" type="stmt"/>
4779
- <line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
4780
- <line num="49" count="0" type="stmt"/>
4781
- <line num="50" count="0" type="stmt"/>
4782
- <line num="52" count="0" type="cond" truecount="0" falsecount="2"/>
4783
- <line num="53" count="0" type="stmt"/>
4784
- <line num="54" count="0" type="stmt"/>
4785
- <line num="55" count="0" type="stmt"/>
4786
- <line num="56" count="0" type="stmt"/>
4787
- <line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
4788
- <line num="67" count="0" type="stmt"/>
4789
- <line num="69" count="0" type="stmt"/>
4790
- <line num="73" count="0" type="stmt"/>
4791
- <line num="74" count="0" type="stmt"/>
4792
- <line num="77" count="0" type="cond" truecount="0" falsecount="2"/>
4793
- <line num="78" count="0" type="stmt"/>
4794
- <line num="80" count="0" type="stmt"/>
4795
- <line num="82" count="0" type="stmt"/>
4796
- <line num="84" count="0" type="stmt"/>
4797
- <line num="87" count="0" type="stmt"/>
4798
- <line num="88" count="0" type="stmt"/>
4779
+ <line num="37" count="14" type="stmt"/>
4780
+ <line num="40" count="14" type="stmt"/>
4781
+ <line num="43" count="14" type="cond" truecount="2" falsecount="0"/>
4782
+ <line num="44" count="2" type="stmt"/>
4783
+ <line num="46" count="12" type="stmt"/>
4784
+ <line num="50" count="14" type="cond" truecount="1" falsecount="1"/>
4785
+ <line num="51" count="0" type="stmt"/>
4786
+ <line num="54" count="14" type="stmt"/>
4787
+ <line num="55" count="14" type="stmt"/>
4788
+ <line num="56" count="14" type="stmt"/>
4789
+ <line num="57" count="14" type="stmt"/>
4790
+ <line num="58" count="14" type="stmt"/>
4791
+ <line num="59" count="14" type="cond" truecount="2" falsecount="0"/>
4792
+ <line num="60" count="12" type="stmt"/>
4793
+ <line num="61" count="12" type="stmt"/>
4794
+ <line num="62" count="12" type="stmt"/>
4795
+ <line num="63" count="12" type="stmt"/>
4796
+ <line num="67" count="14" type="cond" truecount="1" falsecount="1"/>
4797
+ <line num="68" count="0" type="stmt"/>
4798
+ <line num="72" count="0" type="stmt"/>
4799
+ <line num="76" count="14" type="cond" truecount="2" falsecount="0"/>
4800
+ <line num="82" count="1" type="stmt"/>
4801
+ <line num="84" count="1" type="stmt"/>
4802
+ <line num="85" count="1" type="stmt"/>
4803
+ <line num="89" count="13" type="cond" truecount="1" falsecount="1"/>
4799
4804
  <line num="90" count="0" type="stmt"/>
4800
- <line num="91" count="0" type="stmt"/>
4801
- <line num="92" count="0" type="cond" truecount="0" falsecount="2"/>
4802
- <line num="93" count="0" type="stmt"/>
4803
- <line num="95" count="0" type="stmt"/>
4804
- <line num="98" count="0" type="stmt"/>
4805
- <line num="99" count="0" type="stmt"/>
4806
- <line num="103" count="16" type="stmt"/>
4807
- <line num="104" count="16" type="stmt"/>
4808
- <line num="105" count="16" type="cond" truecount="2" falsecount="0"/>
4809
- <line num="106" count="2" type="stmt"/>
4810
- <line num="108" count="14" type="stmt"/>
4811
- <line num="111" count="14" type="stmt"/>
4812
- <line num="114" count="14" type="cond" truecount="2" falsecount="0"/>
4813
- <line num="115" count="2" type="stmt"/>
4814
- <line num="117" count="12" type="stmt"/>
4815
- <line num="121" count="14" type="cond" truecount="1" falsecount="1"/>
4816
- <line num="122" count="0" type="stmt"/>
4817
- <line num="125" count="14" type="stmt"/>
4818
- <line num="126" count="14" type="stmt"/>
4819
- <line num="127" count="14" type="stmt"/>
4820
- <line num="128" count="14" type="stmt"/>
4821
- <line num="129" count="14" type="stmt"/>
4822
- <line num="130" count="14" type="cond" truecount="2" falsecount="0"/>
4823
- <line num="131" count="12" type="stmt"/>
4824
- <line num="132" count="12" type="stmt"/>
4825
- <line num="133" count="12" type="stmt"/>
4826
- <line num="134" count="12" type="stmt"/>
4827
- <line num="138" count="14" type="cond" truecount="1" falsecount="1"/>
4828
- <line num="139" count="0" type="stmt"/>
4829
- <line num="143" count="0" type="stmt"/>
4830
- <line num="147" count="14" type="cond" truecount="2" falsecount="0"/>
4831
- <line num="153" count="1" type="stmt"/>
4832
- <line num="155" count="1" type="stmt"/>
4833
- <line num="156" count="1" type="stmt"/>
4834
- <line num="160" count="13" type="cond" truecount="1" falsecount="1"/>
4835
- <line num="161" count="0" type="stmt"/>
4836
- <line num="165" count="13" type="cond" truecount="2" falsecount="0"/>
4837
- <line num="166" count="11" type="stmt"/>
4838
- <line num="170" count="13" type="cond" truecount="1" falsecount="1"/>
4839
- <line num="171" count="0" type="stmt"/>
4840
- <line num="175" count="13" type="stmt"/>
4841
- <line num="177" count="13" type="cond" truecount="1" falsecount="1"/>
4842
- <line num="178" count="0" type="stmt"/>
4843
- <line num="181" count="13" type="stmt"/>
4844
- <line num="185" count="5" type="stmt"/>
4845
- <line num="186" count="5" type="stmt"/>
4846
- <line num="187" count="5" type="stmt"/>
4847
- <line num="188" count="5" type="stmt"/>
4848
- <line num="201" count="6" type="stmt"/>
4849
- <line num="202" count="6" type="stmt"/>
4850
- <line num="203" count="6" type="stmt"/>
4851
- <line num="204" count="6" type="stmt"/>
4852
- <line num="205" count="6" type="cond" truecount="2" falsecount="0"/>
4853
- <line num="206" count="5" type="cond" truecount="1" falsecount="1"/>
4854
- <line num="210" count="5" type="stmt"/>
4855
- <line num="211" count="5" type="stmt"/>
4856
- <line num="213" count="1" type="stmt"/>
4857
- <line num="215" count="6" type="stmt"/>
4858
- <line num="219" count="14" type="stmt"/>
4859
- <line num="220" count="14" type="cond" truecount="3" falsecount="1"/>
4860
- <line num="221" count="0" type="stmt"/>
4861
- <line num="223" count="14" type="cond" truecount="2" falsecount="0"/>
4862
- <line num="224" count="14" type="cond" truecount="2" falsecount="0"/>
4863
- <line num="225" count="14" type="stmt"/>
4864
- <line num="226" count="2" type="cond" truecount="1" falsecount="1"/>
4865
- <line num="227" count="2" type="stmt"/>
4866
- <line num="230" count="14" type="cond" truecount="2" falsecount="0"/>
4867
- <line num="232" count="9" type="stmt"/>
4868
- <line num="233" count="9" type="stmt"/>
4869
- <line num="235" count="6" type="cond" truecount="1" falsecount="1"/>
4870
- <line num="236" count="0" type="stmt"/>
4871
- <line num="239" count="6" type="stmt"/>
4872
- <line num="240" count="6" type="stmt"/>
4873
- <line num="242" count="9" type="stmt"/>
4874
- <line num="243" count="9" type="stmt"/>
4875
- <line num="244" count="9" type="stmt"/>
4876
- <line num="245" count="6" type="stmt"/>
4877
- <line num="246" count="6" type="stmt"/>
4878
- <line num="257" count="6" type="stmt"/>
4879
- <line num="260" count="14" type="stmt"/>
4880
- <line num="264" count="12" type="cond" truecount="1" falsecount="1"/>
4881
- <line num="267" count="12" type="stmt"/>
4882
- <line num="268" count="19" type="cond" truecount="1" falsecount="1"/>
4883
- <line num="269" count="0" type="stmt"/>
4884
- <line num="271" count="19" type="cond" truecount="1" falsecount="1"/>
4885
- <line num="273" count="0" type="stmt"/>
4886
- <line num="274" count="19" type="cond" truecount="1" falsecount="1"/>
4887
- <line num="276" count="19" type="stmt"/>
4888
- <line num="282" count="0" type="stmt"/>
4889
- <line num="285" count="12" type="cond" truecount="1" falsecount="1"/>
4890
- <line num="290" count="0" type="stmt"/>
4891
- <line num="291" count="0" type="stmt"/>
4892
- <line num="299" count="0" type="stmt"/>
4893
- <line num="301" count="12" type="stmt"/>
4894
- <line num="305" count="2" type="stmt"/>
4895
- <line num="306" count="10" type="stmt"/>
4896
- <line num="307" count="10" type="stmt"/>
4897
- <line num="308" count="10" type="stmt"/>
4898
- <line num="310" count="8" type="stmt"/>
4899
- <line num="313" count="2" type="stmt"/>
4805
+ <line num="94" count="13" type="cond" truecount="2" falsecount="0"/>
4806
+ <line num="95" count="11" type="stmt"/>
4807
+ <line num="99" count="13" type="cond" truecount="1" falsecount="1"/>
4808
+ <line num="100" count="0" type="stmt"/>
4809
+ <line num="104" count="13" type="stmt"/>
4810
+ <line num="106" count="13" type="cond" truecount="1" falsecount="1"/>
4811
+ <line num="107" count="0" type="stmt"/>
4812
+ <line num="110" count="13" type="stmt"/>
4813
+ <line num="114" count="5" type="stmt"/>
4814
+ <line num="115" count="5" type="stmt"/>
4815
+ <line num="116" count="5" type="stmt"/>
4816
+ <line num="117" count="5" type="stmt"/>
4817
+ <line num="130" count="6" type="stmt"/>
4818
+ <line num="131" count="6" type="stmt"/>
4819
+ <line num="132" count="6" type="stmt"/>
4820
+ <line num="133" count="6" type="stmt"/>
4821
+ <line num="134" count="6" type="cond" truecount="2" falsecount="0"/>
4822
+ <line num="135" count="5" type="cond" truecount="1" falsecount="1"/>
4823
+ <line num="139" count="5" type="stmt"/>
4824
+ <line num="140" count="5" type="stmt"/>
4825
+ <line num="142" count="1" type="stmt"/>
4826
+ <line num="144" count="6" type="stmt"/>
4827
+ <line num="148" count="14" type="stmt"/>
4828
+ <line num="149" count="14" type="cond" truecount="3" falsecount="1"/>
4829
+ <line num="150" count="0" type="stmt"/>
4830
+ <line num="152" count="14" type="cond" truecount="2" falsecount="0"/>
4831
+ <line num="153" count="14" type="cond" truecount="2" falsecount="0"/>
4832
+ <line num="154" count="14" type="stmt"/>
4833
+ <line num="155" count="2" type="cond" truecount="1" falsecount="1"/>
4834
+ <line num="156" count="2" type="stmt"/>
4835
+ <line num="159" count="14" type="cond" truecount="2" falsecount="0"/>
4836
+ <line num="161" count="9" type="stmt"/>
4837
+ <line num="162" count="9" type="stmt"/>
4838
+ <line num="164" count="6" type="cond" truecount="1" falsecount="1"/>
4839
+ <line num="165" count="0" type="stmt"/>
4840
+ <line num="168" count="6" type="stmt"/>
4841
+ <line num="169" count="6" type="stmt"/>
4842
+ <line num="171" count="9" type="stmt"/>
4843
+ <line num="172" count="9" type="stmt"/>
4844
+ <line num="173" count="9" type="stmt"/>
4845
+ <line num="174" count="6" type="stmt"/>
4846
+ <line num="175" count="6" type="stmt"/>
4847
+ <line num="186" count="6" type="stmt"/>
4848
+ <line num="189" count="14" type="stmt"/>
4849
+ <line num="193" count="2" type="stmt"/>
4850
+ <line num="194" count="10" type="stmt"/>
4851
+ <line num="195" count="10" type="stmt"/>
4852
+ <line num="196" count="10" type="stmt"/>
4853
+ <line num="198" count="8" type="stmt"/>
4854
+ <line num="201" count="2" type="stmt"/>
4900
4855
  </file>
4901
4856
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/utils.js">
4902
4857
  <metrics statements="37" coveredstatements="31" conditionals="14" coveredconditionals="9" methods="9" coveredmethods="8"/>