@budibase/server 1.0.27-alpha.1 → 1.0.27-alpha.2

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 (178) hide show
  1. package/builder/assets/{index.4a13c4cb.css → index.5522fcd5.css} +1 -1
  2. package/builder/assets/index.e9e2c4d7.js +1343 -0
  3. package/builder/index.html +2 -2
  4. package/coverage/clover.xml +150 -140
  5. package/coverage/coverage-final.json +4 -4
  6. package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
  7. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/application.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/component.js.html +4 -4
  14. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  15. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/hosting.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/index.html +1 -1
  18. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  21. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  23. package/coverage/lcov-report/api/controllers/query/index.js.html +1 -1
  24. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  25. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  26. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/index.html +16 -16
  29. package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +7 -4
  32. package/coverage/lcov-report/api/controllers/row/utils.js.html +29 -20
  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/external.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  37. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/table/internal.js.html +1 -1
  39. package/coverage/lcov-report/api/controllers/table/utils.js.html +1 -1
  40. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  42. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  43. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  44. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  45. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  46. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  47. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  48. package/coverage/lcov-report/api/index.html +1 -1
  49. package/coverage/lcov-report/api/index.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/application.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/hosting.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/permission.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  71. package/coverage/lcov-report/api/routes/row.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  74. package/coverage/lcov-report/api/routes/static.js.html +1 -1
  75. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  76. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  77. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  78. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  79. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  80. package/coverage/lcov-report/automations/actions.js.html +1 -1
  81. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  82. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  83. package/coverage/lcov-report/automations/index.html +1 -1
  84. package/coverage/lcov-report/automations/index.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/index.html +1 -1
  94. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  95. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  96. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  97. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  98. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  99. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  100. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  101. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  102. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  103. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  104. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  105. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  106. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  107. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  108. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  109. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  110. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  111. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  112. package/coverage/lcov-report/automations/utils.js.html +1 -1
  113. package/coverage/lcov-report/constants/index.html +1 -1
  114. package/coverage/lcov-report/constants/index.js.html +1 -1
  115. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  116. package/coverage/lcov-report/constants/screens.js.html +1 -1
  117. package/coverage/lcov-report/db/client.js.html +1 -1
  118. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  119. package/coverage/lcov-report/db/index.html +1 -1
  120. package/coverage/lcov-report/db/index.js.html +1 -1
  121. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  122. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  123. package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
  124. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  125. package/coverage/lcov-report/db/newid.js.html +1 -1
  126. package/coverage/lcov-report/db/utils.js.html +1 -1
  127. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  128. package/coverage/lcov-report/events/index.html +1 -1
  129. package/coverage/lcov-report/events/index.js.html +1 -1
  130. package/coverage/lcov-report/events/utils.js.html +1 -1
  131. package/coverage/lcov-report/index.html +26 -26
  132. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  133. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  134. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  135. package/coverage/lcov-report/middleware/authorized.js.html +1 -1
  136. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  137. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  138. package/coverage/lcov-report/middleware/index.html +1 -1
  139. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  140. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  141. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  142. package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
  143. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  144. package/coverage/lcov-report/threads/automation.js.html +1 -1
  145. package/coverage/lcov-report/threads/index.html +1 -1
  146. package/coverage/lcov-report/threads/index.js.html +1 -1
  147. package/coverage/lcov-report/threads/query.js.html +1 -1
  148. package/coverage/lcov-report/threads/utils.js.html +1 -1
  149. package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
  150. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  151. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  152. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  153. package/coverage/lcov-report/utilities/global.js.html +1 -1
  154. package/coverage/lcov-report/utilities/index.html +1 -1
  155. package/coverage/lcov-report/utilities/index.js.html +1 -1
  156. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  157. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  158. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  159. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  160. package/coverage/lcov-report/utilities/rowProcessor/index.html +19 -19
  161. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +46 -10
  162. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  163. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  164. package/coverage/lcov-report/utilities/security.js.html +1 -1
  165. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  166. package/coverage/lcov-report/utilities/users.js.html +1 -1
  167. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  168. package/coverage/lcov.info +269 -250
  169. package/dist/api/controllers/row/internalSearch.js +2 -1
  170. package/dist/api/controllers/row/utils.js +13 -6
  171. package/dist/package.json +4 -4
  172. package/dist/tsconfig.tsbuildinfo +1 -1
  173. package/dist/utilities/rowProcessor/index.js +13 -0
  174. package/package.json +5 -5
  175. package/src/api/controllers/row/internalSearch.js +2 -1
  176. package/src/api/controllers/row/utils.js +11 -8
  177. package/src/utilities/rowProcessor/index.js +12 -0
  178. package/builder/assets/index.00c4135e.js +0 -1320
@@ -10,10 +10,10 @@
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.00c4135e.js"></script>
13
+ <script type="module" crossorigin src="/builder/assets/index.e9e2c4d7.js"></script>
14
14
  <link rel="modulepreload" href="/builder/assets/vendor.f9faf6ab.js">
15
15
  <link rel="stylesheet" href="/builder/assets/vendor.5e1fe644.css">
16
- <link rel="stylesheet" href="/builder/assets/index.4a13c4cb.css">
16
+ <link rel="stylesheet" href="/builder/assets/index.5522fcd5.css">
17
17
  </head>
18
18
  <body id="app">
19
19
 
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1640959955285" clover="3.2.0">
3
- <project timestamp="1640959955285" name="All files">
4
- <metrics statements="4464" coveredstatements="3277" conditionals="1774" coveredconditionals="962" methods="632" coveredmethods="446" elements="6870" coveredelements="4685" complexity="0" loc="4464" ncloc="4464" packages="21" files="140" classes="140"/>
2
+ <coverage generated="1641297106435" clover="3.2.0">
3
+ <project timestamp="1641297106435" name="All files">
4
+ <metrics statements="4474" coveredstatements="3279" conditionals="1781" coveredconditionals="964" methods="633" coveredmethods="446" elements="6888" coveredelements="4689" complexity="0" loc="4474" ncloc="4474" packages="21" files="140" classes="140"/>
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">
@@ -477,10 +477,10 @@
477
477
  <line num="20" count="1" type="stmt"/>
478
478
  <line num="21" count="1" type="stmt"/>
479
479
  <line num="22" count="1" type="stmt"/>
480
- <line num="23" count="47" type="cond" truecount="2" falsecount="0"/>
480
+ <line num="23" count="49" type="cond" truecount="2" falsecount="0"/>
481
481
  <line num="24" count="1" type="stmt"/>
482
- <line num="26" count="46" type="stmt"/>
483
- <line num="27" count="46" type="stmt"/>
482
+ <line num="26" count="48" type="stmt"/>
483
+ <line num="27" count="48" type="stmt"/>
484
484
  <line num="34" count="1" type="stmt"/>
485
485
  </file>
486
486
  <file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/datasource.js">
@@ -1275,7 +1275,7 @@
1275
1275
  </file>
1276
1276
  </package>
1277
1277
  <package name="api.controllers.row">
1278
- <metrics statements="583" coveredstatements="307" conditionals="248" coveredconditionals="83" methods="88" coveredmethods="38"/>
1278
+ <metrics statements="588" coveredstatements="309" conditionals="253" coveredconditionals="85" methods="88" coveredmethods="38"/>
1279
1279
  <file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
1280
1280
  <metrics statements="99" coveredstatements="15" conditionals="42" coveredconditionals="0" methods="13" coveredmethods="0"/>
1281
1281
  <line num="6" count="34" type="stmt"/>
@@ -1679,7 +1679,7 @@
1679
1679
  <line num="446" count="1" type="stmt"/>
1680
1680
  </file>
1681
1681
  <file name="internalSearch.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internalSearch.js">
1682
- <metrics statements="147" coveredstatements="7" conditionals="85" coveredconditionals="0" methods="33" coveredmethods="0"/>
1682
+ <metrics statements="147" coveredstatements="7" conditionals="87" coveredconditionals="0" methods="33" coveredmethods="0"/>
1683
1683
  <line num="1" count="33" type="stmt"/>
1684
1684
  <line num="2" count="33" type="stmt"/>
1685
1685
  <line num="3" count="33" type="stmt"/>
@@ -1763,73 +1763,73 @@
1763
1763
  <line num="189" count="0" type="stmt"/>
1764
1764
  <line num="192" count="0" type="cond" truecount="0" falsecount="2"/>
1765
1765
  <line num="193" count="0" type="stmt"/>
1766
- <line num="194" count="0" type="cond" truecount="0" falsecount="2"/>
1767
- <line num="195" count="0" type="stmt"/>
1768
- <line num="197" count="0" type="stmt"/>
1769
- <line num="200" count="0" type="cond" truecount="0" falsecount="2"/>
1770
- <line num="201" count="0" type="stmt"/>
1771
- <line num="202" count="0" type="cond" truecount="0" falsecount="2"/>
1772
- <line num="203" count="0" type="stmt"/>
1773
- <line num="205" count="0" type="stmt"/>
1774
- <line num="208" count="0" type="cond" truecount="0" falsecount="2"/>
1775
- <line num="209" count="0" type="stmt"/>
1776
- <line num="211" count="0" type="cond" truecount="0" falsecount="2"/>
1777
- <line num="212" count="0" type="stmt"/>
1778
- <line num="214" count="0" type="stmt"/>
1779
- <line num="218" count="0" type="stmt"/>
1780
- <line num="223" count="0" type="cond" truecount="0" falsecount="2"/>
1781
- <line num="224" count="0" type="stmt"/>
1782
- <line num="226" count="0" type="cond" truecount="0" falsecount="2"/>
1766
+ <line num="195" count="0" type="cond" truecount="0" falsecount="4"/>
1767
+ <line num="196" count="0" type="stmt"/>
1768
+ <line num="198" count="0" type="stmt"/>
1769
+ <line num="201" count="0" type="cond" truecount="0" falsecount="2"/>
1770
+ <line num="202" count="0" type="stmt"/>
1771
+ <line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
1772
+ <line num="204" count="0" type="stmt"/>
1773
+ <line num="206" count="0" type="stmt"/>
1774
+ <line num="209" count="0" type="cond" truecount="0" falsecount="2"/>
1775
+ <line num="210" count="0" type="stmt"/>
1776
+ <line num="212" count="0" type="cond" truecount="0" falsecount="2"/>
1777
+ <line num="213" count="0" type="stmt"/>
1778
+ <line num="215" count="0" type="stmt"/>
1779
+ <line num="219" count="0" type="stmt"/>
1780
+ <line num="224" count="0" type="cond" truecount="0" falsecount="2"/>
1781
+ <line num="225" count="0" type="stmt"/>
1783
1782
  <line num="227" count="0" type="cond" truecount="0" falsecount="2"/>
1784
- <line num="228" count="0" type="stmt"/>
1783
+ <line num="228" count="0" type="cond" truecount="0" falsecount="2"/>
1785
1784
  <line num="229" count="0" type="stmt"/>
1786
- <line num="231" count="0" type="stmt"/>
1787
- <line num="235" count="0" type="stmt"/>
1788
- <line num="238" count="0" type="stmt"/>
1785
+ <line num="230" count="0" type="stmt"/>
1786
+ <line num="232" count="0" type="stmt"/>
1787
+ <line num="236" count="0" type="stmt"/>
1789
1788
  <line num="239" count="0" type="stmt"/>
1790
- <line num="249" count="33" type="stmt"/>
1791
- <line num="250" count="0" type="stmt"/>
1792
- <line num="254" count="0" type="stmt"/>
1793
- <line num="256" count="0" type="stmt"/>
1794
- <line num="259" count="0" type="cond" truecount="0" falsecount="4"/>
1795
- <line num="260" count="0" type="stmt"/>
1796
- <line num="262" count="0" type="cond" truecount="0" falsecount="2"/>
1797
- <line num="263" count="0" type="stmt"/>
1798
- <line num="265" count="0" type="stmt"/>
1799
- <line num="285" count="33" type="stmt"/>
1800
- <line num="286" count="0" type="stmt"/>
1801
- <line num="287" count="0" type="cond" truecount="0" falsecount="2"/>
1789
+ <line num="240" count="0" type="stmt"/>
1790
+ <line num="250" count="33" type="stmt"/>
1791
+ <line num="251" count="0" type="stmt"/>
1792
+ <line num="255" count="0" type="stmt"/>
1793
+ <line num="257" count="0" type="stmt"/>
1794
+ <line num="260" count="0" type="cond" truecount="0" falsecount="4"/>
1795
+ <line num="261" count="0" type="stmt"/>
1796
+ <line num="263" count="0" type="cond" truecount="0" falsecount="2"/>
1797
+ <line num="264" count="0" type="stmt"/>
1798
+ <line num="266" count="0" type="stmt"/>
1799
+ <line num="286" count="33" type="stmt"/>
1800
+ <line num="287" count="0" type="stmt"/>
1802
1801
  <line num="288" count="0" type="cond" truecount="0" falsecount="2"/>
1803
- <line num="289" count="0" type="stmt"/>
1804
- <line num="291" count="0" type="stmt"/>
1805
- <line num="292" count="0" type="cond" truecount="0" falsecount="2"/>
1806
- <line num="293" count="0" type="stmt"/>
1807
- <line num="295" count="0" type="stmt"/>
1808
- <line num="304" count="0" type="cond" truecount="0" falsecount="2"/>
1809
- <line num="305" count="0" type="stmt"/>
1810
- <line num="307" count="0" type="cond" truecount="0" falsecount="2"/>
1811
- <line num="308" count="0" type="stmt"/>
1812
- <line num="310" count="0" type="stmt"/>
1813
- <line num="315" count="0" type="stmt"/>
1814
- <line num="334" count="33" type="stmt"/>
1815
- <line num="335" count="0" type="stmt"/>
1816
- <line num="336" count="0" type="cond" truecount="0" falsecount="5"/>
1817
- <line num="337" count="0" type="stmt"/>
1818
- <line num="339" count="0" type="stmt"/>
1802
+ <line num="289" count="0" type="cond" truecount="0" falsecount="2"/>
1803
+ <line num="290" count="0" type="stmt"/>
1804
+ <line num="292" count="0" type="stmt"/>
1805
+ <line num="293" count="0" type="cond" truecount="0" falsecount="2"/>
1806
+ <line num="294" count="0" type="stmt"/>
1807
+ <line num="296" count="0" type="stmt"/>
1808
+ <line num="305" count="0" type="cond" truecount="0" falsecount="2"/>
1809
+ <line num="306" count="0" type="stmt"/>
1810
+ <line num="308" count="0" type="cond" truecount="0" falsecount="2"/>
1811
+ <line num="309" count="0" type="stmt"/>
1812
+ <line num="311" count="0" type="stmt"/>
1813
+ <line num="316" count="0" type="stmt"/>
1814
+ <line num="335" count="33" type="stmt"/>
1815
+ <line num="336" count="0" type="stmt"/>
1816
+ <line num="337" count="0" type="cond" truecount="0" falsecount="5"/>
1817
+ <line num="338" count="0" type="stmt"/>
1819
1818
  <line num="340" count="0" type="stmt"/>
1820
- <line num="346" count="0" type="stmt"/>
1821
- <line num="353" count="0" type="stmt"/>
1822
- <line num="358" count="0" type="stmt"/>
1823
- <line num="380" count="33" type="stmt"/>
1824
- <line num="381" count="0" type="stmt"/>
1825
- <line num="382" count="0" type="cond" truecount="0" falsecount="5"/>
1826
- <line num="383" count="0" type="stmt"/>
1827
- <line num="385" count="0" type="stmt"/>
1819
+ <line num="341" count="0" type="stmt"/>
1820
+ <line num="347" count="0" type="stmt"/>
1821
+ <line num="354" count="0" type="stmt"/>
1822
+ <line num="359" count="0" type="stmt"/>
1823
+ <line num="381" count="33" type="stmt"/>
1824
+ <line num="382" count="0" type="stmt"/>
1825
+ <line num="383" count="0" type="cond" truecount="0" falsecount="5"/>
1826
+ <line num="384" count="0" type="stmt"/>
1828
1827
  <line num="386" count="0" type="stmt"/>
1829
1828
  <line num="387" count="0" type="stmt"/>
1829
+ <line num="388" count="0" type="stmt"/>
1830
1830
  </file>
1831
1831
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/utils.js">
1832
- <metrics statements="43" coveredstatements="33" conditionals="23" coveredconditionals="12" methods="6" coveredmethods="4"/>
1832
+ <metrics statements="48" coveredstatements="35" conditionals="26" coveredconditionals="14" methods="6" coveredmethods="4"/>
1833
1833
  <line num="1" count="34" type="stmt"/>
1834
1834
  <line num="2" count="34" type="stmt"/>
1835
1835
  <line num="3" count="34" type="stmt"/>
@@ -1862,17 +1862,22 @@
1862
1862
  <line num="50" count="74" type="stmt"/>
1863
1863
  <line num="51" count="74" type="stmt"/>
1864
1864
  <line num="52" count="206" type="stmt"/>
1865
- <line num="54" count="206" type="cond" truecount="1" falsecount="1"/>
1865
+ <line num="53" count="206" type="stmt"/>
1866
+ <line num="55" count="206" type="cond" truecount="1" falsecount="1"/>
1866
1867
  <line num="59" count="0" type="stmt"/>
1867
- <line num="64" count="206" type="cond" truecount="1" falsecount="1"/>
1868
- <line num="69" count="0" type="stmt"/>
1869
- <line num="70" count="0" type="cond" truecount="0" falsecount="2"/>
1870
- <line num="71" count="0" type="stmt"/>
1871
- <line num="74" count="206" type="cond" truecount="1" falsecount="1"/>
1868
+ <line num="64" count="206" type="cond" truecount="2" falsecount="3"/>
1869
+ <line num="65" count="0" type="stmt"/>
1870
+ <line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
1871
+ <line num="67" count="0" type="stmt"/>
1872
+ <line num="70" count="206" type="cond" truecount="2" falsecount="2"/>
1873
+ <line num="72" count="0" type="stmt"/>
1874
+ <line num="73" count="0" type="stmt"/>
1872
1875
  <line num="75" count="0" type="stmt"/>
1873
- <line num="80" count="206" type="stmt"/>
1874
- <line num="82" count="206" type="cond" truecount="2" falsecount="0"/>
1875
- <line num="84" count="74" type="stmt"/>
1876
+ <line num="77" count="206" type="cond" truecount="1" falsecount="1"/>
1877
+ <line num="78" count="0" type="stmt"/>
1878
+ <line num="83" count="206" type="stmt"/>
1879
+ <line num="85" count="206" type="cond" truecount="2" falsecount="0"/>
1880
+ <line num="87" count="74" type="stmt"/>
1876
1881
  </file>
1877
1882
  </package>
1878
1883
  <package name="api.controllers.table">
@@ -4846,9 +4851,9 @@
4846
4851
  </file>
4847
4852
  </package>
4848
4853
  <package name="utilities.rowProcessor">
4849
- <metrics statements="95" coveredstatements="74" conditionals="76" coveredconditionals="46" methods="12" coveredmethods="10"/>
4854
+ <metrics statements="100" coveredstatements="74" conditionals="78" coveredconditionals="46" methods="13" coveredmethods="10"/>
4850
4855
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/index.js">
4851
- <metrics statements="84" coveredstatements="64" conditionals="70" coveredconditionals="41" methods="10" coveredmethods="9"/>
4856
+ <metrics statements="89" coveredstatements="64" conditionals="72" coveredconditionals="41" methods="11" coveredmethods="9"/>
4852
4857
  <line num="1" count="34" type="stmt"/>
4853
4858
  <line num="2" count="34" type="stmt"/>
4854
4859
  <line num="3" count="34" type="stmt"/>
@@ -4866,73 +4871,78 @@
4866
4871
  <line num="64" count="1" type="stmt"/>
4867
4872
  <line num="66" count="1" type="stmt"/>
4868
4873
  <line num="82" count="0" type="stmt"/>
4869
- <line num="102" count="73" type="cond" truecount="2" falsecount="0"/>
4870
- <line num="103" count="73" type="stmt"/>
4871
- <line num="105" count="73" type="stmt"/>
4872
- <line num="106" count="73" type="stmt"/>
4873
- <line num="107" count="206" type="cond" truecount="1" falsecount="1"/>
4874
- <line num="108" count="206" type="stmt"/>
4875
- <line num="110" count="0" type="cond" truecount="0" falsecount="5"/>
4876
- <line num="112" count="0" type="cond" truecount="0" falsecount="2"/>
4877
- <line num="118" count="0" type="stmt"/>
4878
- <line num="120" count="0" type="stmt"/>
4879
- <line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
4880
- <line num="123" count="0" type="stmt"/>
4881
- <line num="125" count="0" type="stmt"/>
4882
- <line num="127" count="0" type="cond" truecount="0" falsecount="5"/>
4883
- <line num="128" count="0" type="stmt"/>
4874
+ <line num="86" count="0" type="stmt"/>
4875
+ <line num="87" count="0" type="cond" truecount="0" falsecount="2"/>
4876
+ <line num="88" count="0" type="stmt"/>
4877
+ <line num="90" count="0" type="stmt"/>
4878
+ <line num="92" count="0" type="stmt"/>
4879
+ <line num="114" count="73" type="cond" truecount="2" falsecount="0"/>
4880
+ <line num="115" count="73" type="stmt"/>
4881
+ <line num="117" count="73" type="stmt"/>
4882
+ <line num="118" count="73" type="stmt"/>
4883
+ <line num="119" count="206" type="cond" truecount="1" falsecount="1"/>
4884
+ <line num="120" count="206" type="stmt"/>
4885
+ <line num="122" count="0" type="cond" truecount="0" falsecount="5"/>
4886
+ <line num="124" count="0" type="cond" truecount="0" falsecount="2"/>
4884
4887
  <line num="130" count="0" type="stmt"/>
4885
4888
  <line num="132" count="0" type="stmt"/>
4886
- <line num="133" count="0" type="stmt"/>
4887
- <line num="135" count="0" type="cond" truecount="0" falsecount="2"/>
4888
- <line num="136" count="0" type="cond" truecount="0" falsecount="2"/>
4889
+ <line num="134" count="0" type="cond" truecount="0" falsecount="2"/>
4890
+ <line num="135" count="0" type="stmt"/>
4889
4891
  <line num="137" count="0" type="stmt"/>
4890
- <line num="139" count="0" type="stmt"/>
4891
- <line num="142" count="73" type="stmt"/>
4892
- <line num="144" count="34" type="stmt"/>
4893
- <line num="152" count="34" type="stmt"/>
4894
- <line num="154" count="174" type="cond" truecount="1" falsecount="1"/>
4895
- <line num="155" count="0" type="stmt"/>
4896
- <line num="158" count="174" type="cond" truecount="2" falsecount="0"/>
4897
- <line num="159" count="16" type="stmt"/>
4898
- <line num="160" count="158" type="cond" truecount="2" falsecount="0"/>
4899
- <line num="161" count="22" type="stmt"/>
4900
- <line num="164" count="136" type="stmt"/>
4901
- <line num="176" count="34" type="stmt"/>
4902
- <line num="182" count="73" type="stmt"/>
4903
- <line num="184" count="73" type="stmt"/>
4904
- <line num="185" count="73" type="stmt"/>
4905
- <line num="186" count="73" type="stmt"/>
4906
- <line num="187" count="332" type="stmt"/>
4907
- <line num="189" count="332" type="cond" truecount="2" falsecount="0"/>
4908
- <line num="190" count="159" type="cond" truecount="2" falsecount="0"/>
4909
- <line num="191" count="3" type="stmt"/>
4910
- <line num="193" count="159" type="stmt"/>
4911
- <line num="197" count="173" type="cond" truecount="1" falsecount="1"/>
4912
- <line num="198" count="0" type="stmt"/>
4913
- <line num="200" count="173" type="stmt"/>
4914
- <line num="204" count="73" type="cond" truecount="4" falsecount="0"/>
4915
- <line num="205" count="68" type="stmt"/>
4916
- <line num="206" count="68" type="stmt"/>
4917
- <line num="210" count="73" type="stmt"/>
4918
- <line num="223" count="34" type="stmt"/>
4919
- <line num="229" count="100" type="stmt"/>
4920
- <line num="230" count="100" type="stmt"/>
4921
- <line num="231" count="100" type="cond" truecount="2" falsecount="0"/>
4922
- <line num="232" count="87" type="stmt"/>
4923
- <line num="233" count="87" type="stmt"/>
4924
- <line num="236" count="100" type="stmt"/>
4925
- <line num="239" count="100" type="stmt"/>
4892
+ <line num="139" count="0" type="cond" truecount="0" falsecount="5"/>
4893
+ <line num="140" count="0" type="stmt"/>
4894
+ <line num="142" count="0" type="stmt"/>
4895
+ <line num="144" count="0" type="stmt"/>
4896
+ <line num="145" count="0" type="stmt"/>
4897
+ <line num="147" count="0" type="cond" truecount="0" falsecount="2"/>
4898
+ <line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
4899
+ <line num="149" count="0" type="stmt"/>
4900
+ <line num="151" count="0" type="stmt"/>
4901
+ <line num="154" count="73" type="stmt"/>
4902
+ <line num="156" count="34" type="stmt"/>
4903
+ <line num="164" count="34" type="stmt"/>
4904
+ <line num="166" count="174" type="cond" truecount="1" falsecount="1"/>
4905
+ <line num="167" count="0" type="stmt"/>
4906
+ <line num="170" count="174" type="cond" truecount="2" falsecount="0"/>
4907
+ <line num="171" count="16" type="stmt"/>
4908
+ <line num="172" count="158" type="cond" truecount="2" falsecount="0"/>
4909
+ <line num="173" count="22" type="stmt"/>
4910
+ <line num="176" count="136" type="stmt"/>
4911
+ <line num="188" count="34" type="stmt"/>
4912
+ <line num="194" count="73" type="stmt"/>
4913
+ <line num="196" count="73" type="stmt"/>
4914
+ <line num="197" count="73" type="stmt"/>
4915
+ <line num="198" count="73" type="stmt"/>
4916
+ <line num="199" count="332" type="stmt"/>
4917
+ <line num="201" count="332" type="cond" truecount="2" falsecount="0"/>
4918
+ <line num="202" count="159" type="cond" truecount="2" falsecount="0"/>
4919
+ <line num="203" count="3" type="stmt"/>
4920
+ <line num="205" count="159" type="stmt"/>
4921
+ <line num="209" count="173" type="cond" truecount="1" falsecount="1"/>
4922
+ <line num="210" count="0" type="stmt"/>
4923
+ <line num="212" count="173" type="stmt"/>
4924
+ <line num="216" count="73" type="cond" truecount="4" falsecount="0"/>
4925
+ <line num="217" count="68" type="stmt"/>
4926
+ <line num="218" count="68" type="stmt"/>
4927
+ <line num="222" count="73" type="stmt"/>
4928
+ <line num="235" count="34" type="stmt"/>
4929
+ <line num="241" count="100" type="stmt"/>
4926
4930
  <line num="242" count="100" type="stmt"/>
4927
- <line num="243" count="296" type="cond" truecount="2" falsecount="0"/>
4928
- <line num="244" count="8" type="stmt"/>
4929
- <line num="245" count="8" type="cond" truecount="4" falsecount="0"/>
4930
- <line num="246" count="6" type="stmt"/>
4931
- <line num="248" count="2" type="stmt"/>
4932
- <line num="249" count="2" type="stmt"/>
4933
- <line num="254" count="100" type="cond" truecount="2" falsecount="0"/>
4934
- <line num="255" count="26" type="stmt"/>
4935
- <line num="261" count="100" type="cond" truecount="2" falsecount="0"/>
4931
+ <line num="243" count="100" type="cond" truecount="2" falsecount="0"/>
4932
+ <line num="244" count="87" type="stmt"/>
4933
+ <line num="245" count="87" type="stmt"/>
4934
+ <line num="248" count="100" type="stmt"/>
4935
+ <line num="251" count="100" type="stmt"/>
4936
+ <line num="254" count="100" type="stmt"/>
4937
+ <line num="255" count="296" type="cond" truecount="2" falsecount="0"/>
4938
+ <line num="256" count="8" type="stmt"/>
4939
+ <line num="257" count="8" type="cond" truecount="4" falsecount="0"/>
4940
+ <line num="258" count="6" type="stmt"/>
4941
+ <line num="260" count="2" type="stmt"/>
4942
+ <line num="261" count="2" type="stmt"/>
4943
+ <line num="266" count="100" type="cond" truecount="2" falsecount="0"/>
4944
+ <line num="267" count="26" type="stmt"/>
4945
+ <line num="273" count="100" type="cond" truecount="2" falsecount="0"/>
4936
4946
  </file>
4937
4947
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/utils.js">
4938
4948
  <metrics statements="11" coveredstatements="10" conditionals="6" coveredconditionals="5" methods="2" coveredmethods="1"/>