@budibase/server 1.0.98-alpha.8 → 1.0.100

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 (237) hide show
  1. package/builder/assets/index.10df5571.js +1291 -0
  2. package/builder/assets/{index.ea3718aa.css → index.7c8961b4.css} +2 -2
  3. package/builder/assets/{vendor.8e34a169.js → vendor.a7c6ad0a.js} +1 -1
  4. package/builder/index.html +3 -3
  5. package/coverage/clover.xml +342 -346
  6. package/coverage/coverage-final.json +15 -15
  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 +4 -4
  15. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/index.html +18 -18
  18. package/coverage/lcov-report/api/controllers/integration.js.html +11 -59
  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/migrations.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/permission.js.html +7 -7
  23. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  24. package/coverage/lcov-report/api/controllers/query/index.js.html +1 -1
  25. package/coverage/lcov-report/api/controllers/query/validation.js.html +2 -2
  26. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/row/index.html +10 -10
  30. package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/row/internal.js.html +7 -19
  32. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  33. package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/row/utils.js.html +6 -6
  35. package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  39. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  40. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/table/internal.js.html +1 -1
  42. package/coverage/lcov-report/api/controllers/table/utils.js.html +1 -1
  43. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  44. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  45. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  46. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  47. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  48. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  49. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  50. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  51. package/coverage/lcov-report/api/index.html +1 -1
  52. package/coverage/lcov-report/api/index.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/analytics.js.html +3 -3
  54. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/application.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/index.html +1 -1
  65. package/coverage/lcov-report/api/routes/index.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  71. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  74. package/coverage/lcov-report/api/routes/row.js.html +1 -1
  75. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  76. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  77. package/coverage/lcov-report/api/routes/static.js.html +1 -1
  78. package/coverage/lcov-report/api/routes/table.js.html +2 -2
  79. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  80. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  81. package/coverage/lcov-report/api/routes/utils/index.html +1 -1
  82. package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
  83. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  84. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  85. package/coverage/lcov-report/automations/actions.js.html +1 -1
  86. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  87. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  88. package/coverage/lcov-report/automations/index.html +12 -12
  89. package/coverage/lcov-report/automations/index.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  95. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  96. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  97. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  98. package/coverage/lcov-report/automations/steps/index.html +1 -1
  99. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  100. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  101. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  102. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  103. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  104. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  105. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  106. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  107. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  108. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  109. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  110. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  111. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  112. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  113. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  114. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  115. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  116. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  117. package/coverage/lcov-report/automations/utils.js.html +20 -8
  118. package/coverage/lcov-report/constants/index.html +1 -1
  119. package/coverage/lcov-report/constants/index.js.html +1 -1
  120. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  121. package/coverage/lcov-report/constants/screens.js.html +1 -1
  122. package/coverage/lcov-report/db/client.js.html +1 -1
  123. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  124. package/coverage/lcov-report/db/index.html +1 -1
  125. package/coverage/lcov-report/db/index.js.html +1 -1
  126. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  127. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  128. package/coverage/lcov-report/db/linkedRows/index.js.html +10 -10
  129. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +7 -7
  130. package/coverage/lcov-report/db/newid.js.html +2 -2
  131. package/coverage/lcov-report/db/utils.js.html +2 -2
  132. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  133. package/coverage/lcov-report/events/index.html +1 -1
  134. package/coverage/lcov-report/events/index.js.html +1 -1
  135. package/coverage/lcov-report/events/utils.js.html +1 -1
  136. package/coverage/lcov-report/index.html +29 -29
  137. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  138. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  139. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  140. package/coverage/lcov-report/middleware/authorized.js.html +75 -15
  141. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  142. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  143. package/coverage/lcov-report/middleware/index.html +15 -15
  144. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  145. package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
  146. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  147. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  148. package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
  149. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  150. package/coverage/lcov-report/threads/automation.js.html +1 -1
  151. package/coverage/lcov-report/threads/index.html +1 -1
  152. package/coverage/lcov-report/threads/index.js.html +1 -1
  153. package/coverage/lcov-report/threads/query.js.html +1 -1
  154. package/coverage/lcov-report/threads/utils.js.html +1 -1
  155. package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
  156. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  157. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  158. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  159. package/coverage/lcov-report/utilities/global.js.html +1 -1
  160. package/coverage/lcov-report/utilities/index.html +1 -1
  161. package/coverage/lcov-report/utilities/index.js.html +1 -1
  162. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  163. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  164. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  165. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  166. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  167. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +12 -12
  168. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +8 -8
  169. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  170. package/coverage/lcov-report/utilities/security.js.html +1 -1
  171. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  172. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  173. package/coverage/lcov-report/utilities/usageQuota/index.js.html +1 -1
  174. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  175. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  176. package/coverage/lcov-report/utilities/users.js.html +1 -1
  177. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  178. package/coverage/lcov.info +568 -562
  179. package/dist/api/controllers/integration.js +1 -15
  180. package/dist/api/controllers/permission.js +3 -4
  181. package/dist/api/controllers/query/import/index.js +1 -2
  182. package/dist/api/controllers/query/import/sources/base/index.js +1 -12
  183. package/dist/api/controllers/query/import/sources/curl.js +2 -2
  184. package/dist/api/controllers/row/internal.js +1 -2
  185. package/dist/api/routes/analytics.js +2 -2
  186. package/dist/api/routes/table.js +1 -1
  187. package/dist/automations/utils.js +3 -1
  188. package/dist/definitions/datasource.js +0 -1
  189. package/dist/environment.js +0 -2
  190. package/dist/integrations/base/sql.js +9 -16
  191. package/dist/integrations/dynamodb.js +1 -3
  192. package/dist/integrations/googlesheets.js +1 -17
  193. package/dist/integrations/index.js +1 -4
  194. package/dist/integrations/mysql.js +14 -1
  195. package/dist/integrations/rest.js +1 -2
  196. package/dist/middleware/authorized.js +24 -7
  197. package/dist/package.json +4 -7
  198. package/dist/tsconfig.tsbuildinfo +1 -1
  199. package/package.json +5 -8
  200. package/scripts/dev/manage.js +1 -2
  201. package/specs/openapi.json +23 -3
  202. package/specs/openapi.yaml +20 -4
  203. package/specs/resources/query.js +27 -5
  204. package/src/api/controllers/integration.js +1 -17
  205. package/src/api/controllers/permission.js +3 -3
  206. package/src/api/controllers/query/import/index.ts +1 -2
  207. package/src/api/controllers/query/import/sources/base/index.ts +2 -12
  208. package/src/api/controllers/query/import/sources/curl.ts +2 -2
  209. package/src/api/controllers/query/import/tests/index.spec.js +0 -43
  210. package/src/api/controllers/row/internal.js +1 -5
  211. package/src/api/routes/analytics.js +2 -2
  212. package/src/api/routes/table.js +1 -1
  213. package/src/api/routes/tests/misc.spec.js +2 -2
  214. package/src/automations/utils.js +5 -1
  215. package/src/definitions/datasource.ts +1 -6
  216. package/src/definitions/openapi.ts +483 -473
  217. package/src/environment.js +0 -2
  218. package/src/integrations/base/sql.ts +9 -14
  219. package/src/integrations/dynamodb.ts +1 -3
  220. package/src/integrations/googlesheets.ts +1 -16
  221. package/src/integrations/index.ts +1 -4
  222. package/src/integrations/mysql.ts +15 -1
  223. package/src/integrations/rest.ts +1 -2
  224. package/src/integrations/tests/sql.spec.js +0 -51
  225. package/src/middleware/authorized.js +26 -6
  226. package/builder/assets/index.f7a1491e.js +0 -1291
  227. package/dist/api/controllers/query/import/sources/openapi3.js +0 -174
  228. package/dist/api/controllers/query/import/sources/tests/openapi3/data/crud/crud.json +0 -253
  229. package/dist/api/controllers/query/import/sources/tests/openapi3/data/petstore/petstore.json +0 -1225
  230. package/dist/integrations/firebase.js +0 -192
  231. package/src/api/controllers/query/import/sources/openapi3.ts +0 -205
  232. package/src/api/controllers/query/import/sources/tests/openapi3/data/crud/crud.json +0 -253
  233. package/src/api/controllers/query/import/sources/tests/openapi3/data/crud/crud.yaml +0 -153
  234. package/src/api/controllers/query/import/sources/tests/openapi3/data/petstore/petstore.json +0 -1225
  235. package/src/api/controllers/query/import/sources/tests/openapi3/data/petstore/petstore.yaml +0 -804
  236. package/src/api/controllers/query/import/sources/tests/openapi3/openapi3.spec.js +0 -240
  237. package/src/integrations/firebase.ts +0 -205
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1648642874814" clover="3.2.0">
3
- <project timestamp="1648642874814" name="All files">
4
- <metrics statements="5066" coveredstatements="3740" conditionals="2076" coveredconditionals="1125" methods="734" coveredmethods="526" elements="7876" coveredelements="5391" complexity="0" loc="5066" ncloc="5066" packages="23" files="147" classes="147"/>
2
+ <coverage generated="1648650620989" clover="3.2.0">
3
+ <project timestamp="1648650620989" name="All files">
4
+ <metrics statements="5062" coveredstatements="3737" conditionals="2086" coveredconditionals="1134" methods="734" coveredmethods="526" elements="7882" coveredelements="5397" complexity="0" loc="5062" ncloc="5062" 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">
@@ -39,7 +39,7 @@
39
39
  </file>
40
40
  </package>
41
41
  <package name="api.controllers">
42
- <metrics statements="1108" coveredstatements="786" conditionals="369" coveredconditionals="173" methods="156" coveredmethods="108"/>
42
+ <metrics statements="1097" coveredstatements="779" conditionals="364" coveredconditionals="171" methods="156" coveredmethods="108"/>
43
43
  <file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.js">
44
44
  <metrics statements="13" coveredstatements="6" conditionals="13" coveredconditionals="4" methods="2" coveredmethods="1"/>
45
45
  <line num="1" count="24" type="stmt"/>
@@ -496,10 +496,10 @@
496
496
  <line num="19" count="1" type="stmt"/>
497
497
  <line num="20" count="1" type="stmt"/>
498
498
  <line num="21" count="1" type="stmt"/>
499
- <line num="22" count="52" type="cond" truecount="2" falsecount="0"/>
499
+ <line num="22" count="51" type="cond" truecount="2" falsecount="0"/>
500
500
  <line num="23" count="1" type="stmt"/>
501
- <line num="25" count="51" type="stmt"/>
502
- <line num="26" count="51" type="stmt"/>
501
+ <line num="25" count="50" type="stmt"/>
502
+ <line num="26" count="50" type="stmt"/>
503
503
  <line num="33" count="1" type="stmt"/>
504
504
  </file>
505
505
  <file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/datasource.js">
@@ -700,25 +700,14 @@
700
700
  <line num="121" count="0" type="stmt"/>
701
701
  </file>
702
702
  <file name="integration.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/integration.js">
703
- <metrics statements="18" coveredstatements="14" conditionals="4" coveredconditionals="1" methods="2" coveredmethods="2"/>
703
+ <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
704
704
  <line num="1" count="24" type="stmt"/>
705
- <line num="2" count="24" type="stmt"/>
706
705
  <line num="3" count="24" type="stmt"/>
707
- <line num="4" count="24" type="stmt"/>
708
- <line num="5" count="24" type="stmt"/>
709
- <line num="6" count="24" type="stmt"/>
706
+ <line num="4" count="1" type="stmt"/>
707
+ <line num="5" count="1" type="stmt"/>
710
708
  <line num="8" count="24" type="stmt"/>
711
709
  <line num="9" count="1" type="stmt"/>
712
710
  <line num="10" count="1" type="stmt"/>
713
- <line num="13" count="1" type="cond" truecount="1" falsecount="1"/>
714
- <line num="14" count="0" type="stmt"/>
715
- <line num="15" count="0" type="stmt"/>
716
- <line num="16" count="0" type="cond" truecount="0" falsecount="2"/>
717
- <line num="17" count="0" type="stmt"/>
718
- <line num="21" count="1" type="stmt"/>
719
- <line num="24" count="24" type="stmt"/>
720
- <line num="25" count="1" type="stmt"/>
721
- <line num="26" count="1" type="stmt"/>
722
711
  </file>
723
712
  <file name="layout.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/layout.js">
724
713
  <metrics statements="27" coveredstatements="22" conditionals="8" coveredconditionals="5" methods="3" coveredmethods="2"/>
@@ -789,79 +778,79 @@
789
778
  <line num="12" count="0" type="stmt"/>
790
779
  </file>
791
780
  <file name="permission.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/permission.js">
792
- <metrics statements="78" coveredstatements="77" conditionals="33" coveredconditionals="30" methods="13" coveredmethods="13"/>
781
+ <metrics statements="78" coveredstatements="77" conditionals="32" coveredconditionals="29" methods="13" coveredmethods="13"/>
793
782
  <line num="1" count="39" type="stmt"/>
794
- <line num="7" count="39" type="stmt"/>
795
783
  <line num="8" count="39" type="stmt"/>
796
- <line num="12" count="39" type="stmt"/>
784
+ <line num="9" count="39" type="stmt"/>
797
785
  <line num="13" count="39" type="stmt"/>
798
786
  <line num="14" count="39" type="stmt"/>
799
- <line num="16" count="39" type="stmt"/>
800
- <line num="21" count="39" type="stmt"/>
801
- <line num="25" count="12" type="stmt"/>
802
- <line num="30" count="12" type="stmt"/>
803
- <line num="38" count="11" type="stmt"/>
787
+ <line num="15" count="39" type="stmt"/>
788
+ <line num="17" count="39" type="stmt"/>
789
+ <line num="22" count="39" type="stmt"/>
790
+ <line num="26" count="12" type="stmt"/>
791
+ <line num="31" count="12" type="stmt"/>
804
792
  <line num="39" count="11" type="stmt"/>
805
793
  <line num="40" count="11" type="stmt"/>
806
794
  <line num="41" count="11" type="stmt"/>
807
795
  <line num="42" count="11" type="stmt"/>
808
796
  <line num="43" count="11" type="stmt"/>
809
- <line num="46" count="11" type="cond" truecount="4" falsecount="0"/>
810
- <line num="47" count="10" type="stmt"/>
797
+ <line num="44" count="11" type="stmt"/>
798
+ <line num="47" count="11" type="cond" truecount="4" falsecount="0"/>
811
799
  <line num="48" count="10" type="stmt"/>
812
800
  <line num="49" count="10" type="stmt"/>
813
- <line num="54" count="11" type="stmt"/>
814
- <line num="55" count="12" type="stmt"/>
815
- <line num="56" count="12" type="cond" truecount="2" falsecount="0"/>
816
- <line num="58" count="12" type="cond" truecount="2" falsecount="0"/>
817
- <line num="62" count="10" type="stmt"/>
818
- <line num="71" count="12" type="cond" truecount="2" falsecount="0"/>
819
- <line num="75" count="1" type="stmt"/>
801
+ <line num="50" count="10" type="stmt"/>
802
+ <line num="55" count="11" type="stmt"/>
803
+ <line num="56" count="12" type="stmt"/>
804
+ <line num="57" count="12" type="cond" truecount="2" falsecount="0"/>
805
+ <line num="59" count="12" type="cond" truecount="2" falsecount="0"/>
806
+ <line num="63" count="10" type="stmt"/>
807
+ <line num="72" count="12" type="cond" truecount="2" falsecount="0"/>
820
808
  <line num="76" count="1" type="stmt"/>
821
- <line num="79" count="12" type="cond" truecount="4" falsecount="0"/>
822
- <line num="80" count="10" type="stmt"/>
809
+ <line num="77" count="1" type="stmt"/>
810
+ <line num="80" count="12" type="cond" truecount="4" falsecount="0"/>
823
811
  <line num="81" count="10" type="stmt"/>
824
812
  <line num="82" count="10" type="stmt"/>
825
- <line num="85" count="12" type="cond" truecount="2" falsecount="0"/>
826
- <line num="86" count="11" type="stmt"/>
813
+ <line num="83" count="10" type="stmt"/>
814
+ <line num="86" count="12" type="cond" truecount="2" falsecount="0"/>
827
815
  <line num="87" count="11" type="stmt"/>
828
- <line num="91" count="11" type="stmt"/>
816
+ <line num="88" count="11" type="stmt"/>
829
817
  <line num="92" count="11" type="stmt"/>
830
818
  <line num="93" count="11" type="stmt"/>
831
819
  <line num="94" count="11" type="stmt"/>
832
820
  <line num="95" count="11" type="stmt"/>
833
- <line num="99" count="39" type="stmt"/>
834
- <line num="100" count="1" type="stmt"/>
835
- <line num="103" count="39" type="stmt"/>
836
- <line num="105" count="1" type="stmt"/>
837
- <line num="108" count="39" type="stmt"/>
838
- <line num="109" count="1" type="stmt"/>
821
+ <line num="96" count="11" type="stmt"/>
822
+ <line num="100" count="39" type="stmt"/>
823
+ <line num="101" count="1" type="stmt"/>
824
+ <line num="104" count="39" type="stmt"/>
825
+ <line num="106" count="1" type="stmt"/>
826
+ <line num="109" count="39" type="stmt"/>
839
827
  <line num="110" count="1" type="stmt"/>
840
828
  <line num="111" count="1" type="stmt"/>
841
- <line num="113" count="1" type="stmt"/>
842
- <line num="114" count="2" type="cond" truecount="1" falsecount="1"/>
843
- <line num="115" count="0" type="stmt"/>
844
- <line num="117" count="2" type="stmt"/>
829
+ <line num="112" count="1" type="stmt"/>
830
+ <line num="114" count="1" type="stmt"/>
831
+ <line num="115" count="2" type="cond" truecount="1" falsecount="1"/>
832
+ <line num="116" count="0" type="stmt"/>
845
833
  <line num="118" count="2" type="stmt"/>
846
- <line num="119" count="2" type="cond" truecount="1" falsecount="1"/>
847
- <line num="120" count="2" type="stmt"/>
834
+ <line num="119" count="2" type="stmt"/>
835
+ <line num="120" count="2" type="cond" truecount="1" falsecount="1"/>
848
836
  <line num="121" count="2" type="stmt"/>
849
837
  <line num="122" count="2" type="stmt"/>
850
- <line num="126" count="1" type="stmt"/>
838
+ <line num="123" count="2" type="stmt"/>
851
839
  <line num="127" count="1" type="stmt"/>
852
840
  <line num="128" count="1" type="stmt"/>
853
841
  <line num="129" count="1" type="stmt"/>
854
- <line num="131" count="1" type="stmt"/>
855
- <line num="134" count="39" type="stmt"/>
856
- <line num="135" count="3" type="stmt"/>
842
+ <line num="130" count="1" type="stmt"/>
843
+ <line num="132" count="1" type="stmt"/>
844
+ <line num="135" count="39" type="stmt"/>
857
845
  <line num="136" count="3" type="stmt"/>
858
846
  <line num="137" count="3" type="stmt"/>
859
- <line num="142" count="4" type="stmt"/>
860
- <line num="143" count="3" type="stmt"/>
847
+ <line num="138" count="3" type="stmt"/>
848
+ <line num="143" count="4" type="stmt"/>
861
849
  <line num="144" count="3" type="stmt"/>
862
- <line num="146" count="6" type="stmt"/>
863
- <line num="147" count="8" type="stmt"/>
864
- <line num="148" count="8" type="cond" truecount="2" falsecount="0"/>
850
+ <line num="145" count="3" type="stmt"/>
851
+ <line num="147" count="6" type="stmt"/>
852
+ <line num="148" count="8" type="stmt"/>
853
+ <line num="149" count="8" type="cond" truecount="2" falsecount="0"/>
865
854
  <line num="154" count="3" type="stmt"/>
866
855
  <line num="158" count="3" type="stmt"/>
867
856
  <line num="161" count="39" type="stmt"/>
@@ -1321,7 +1310,7 @@
1321
1310
  <line num="2" count="41" type="stmt"/>
1322
1311
  <line num="4" count="41" type="stmt"/>
1323
1312
  <line num="6" count="41" type="stmt"/>
1324
- <line num="7" count="33" type="stmt"/>
1313
+ <line num="7" count="29" type="stmt"/>
1325
1314
  <line num="28" count="41" type="stmt"/>
1326
1315
  <line num="30" count="24" type="stmt"/>
1327
1316
  <line num="33" count="41" type="stmt"/>
@@ -1329,7 +1318,7 @@
1329
1318
  </file>
1330
1319
  </package>
1331
1320
  <package name="api.controllers.row">
1332
- <metrics statements="677" coveredstatements="419" conditionals="298" coveredconditionals="127" methods="98" coveredmethods="57"/>
1321
+ <metrics statements="676" coveredstatements="418" conditionals="298" coveredconditionals="127" methods="98" coveredmethods="57"/>
1333
1322
  <file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
1334
1323
  <metrics statements="110" coveredstatements="18" conditionals="46" coveredconditionals="0" methods="15" coveredmethods="0"/>
1335
1324
  <line num="6" count="40" type="stmt"/>
@@ -1537,7 +1526,7 @@
1537
1526
  <line num="146" count="0" type="stmt"/>
1538
1527
  </file>
1539
1528
  <file name="internal.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internal.js">
1540
- <metrics statements="211" coveredstatements="170" conditionals="62" coveredconditionals="39" methods="26" coveredmethods="22"/>
1529
+ <metrics statements="210" coveredstatements="169" conditionals="62" coveredconditionals="39" methods="26" coveredmethods="22"/>
1541
1530
  <line num="1" count="40" type="stmt"/>
1542
1531
  <line num="8" count="40" type="stmt"/>
1543
1532
  <line num="9" count="40" type="stmt"/>
@@ -1583,172 +1572,171 @@
1583
1572
  <line num="85" count="6" type="stmt"/>
1584
1573
  <line num="87" count="6" type="stmt"/>
1585
1574
  <line num="88" count="6" type="stmt"/>
1586
- <line num="89" count="6" type="stmt"/>
1587
- <line num="94" count="0" type="cond" truecount="0" falsecount="2"/>
1575
+ <line num="90" count="0" type="cond" truecount="0" falsecount="2"/>
1576
+ <line num="93" count="0" type="stmt"/>
1588
1577
  <line num="97" count="0" type="stmt"/>
1589
- <line num="101" count="0" type="stmt"/>
1590
- <line num="104" count="6" type="stmt"/>
1591
- <line num="106" count="6" type="stmt"/>
1592
- <line num="107" count="6" type="stmt"/>
1593
- <line num="108" count="26" type="cond" truecount="2" falsecount="0"/>
1594
- <line num="109" count="7" type="stmt"/>
1595
- <line num="113" count="6" type="stmt"/>
1596
- <line num="114" count="6" type="stmt"/>
1597
- <line num="119" count="6" type="cond" truecount="2" falsecount="0"/>
1598
- <line num="120" count="1" type="stmt"/>
1599
- <line num="124" count="5" type="stmt"/>
1600
- <line num="131" count="5" type="stmt"/>
1601
- <line num="133" count="5" type="cond" truecount="1" falsecount="1"/>
1602
- <line num="135" count="0" type="stmt"/>
1603
- <line num="136" count="0" type="stmt"/>
1604
- <line num="137" count="0" type="stmt"/>
1605
- <line num="140" count="5" type="stmt"/>
1606
- <line num="146" count="40" type="stmt"/>
1607
- <line num="147" count="71" type="stmt"/>
1578
+ <line num="100" count="6" type="stmt"/>
1579
+ <line num="102" count="6" type="stmt"/>
1580
+ <line num="103" count="6" type="stmt"/>
1581
+ <line num="104" count="26" type="cond" truecount="2" falsecount="0"/>
1582
+ <line num="105" count="7" type="stmt"/>
1583
+ <line num="109" count="6" type="stmt"/>
1584
+ <line num="110" count="6" type="stmt"/>
1585
+ <line num="115" count="6" type="cond" truecount="2" falsecount="0"/>
1586
+ <line num="116" count="1" type="stmt"/>
1587
+ <line num="120" count="5" type="stmt"/>
1588
+ <line num="127" count="5" type="stmt"/>
1589
+ <line num="129" count="5" type="cond" truecount="1" falsecount="1"/>
1590
+ <line num="131" count="0" type="stmt"/>
1591
+ <line num="132" count="0" type="stmt"/>
1592
+ <line num="133" count="0" type="stmt"/>
1593
+ <line num="136" count="5" type="stmt"/>
1594
+ <line num="142" count="40" type="stmt"/>
1595
+ <line num="143" count="71" type="stmt"/>
1596
+ <line num="144" count="71" type="stmt"/>
1597
+ <line num="145" count="71" type="stmt"/>
1598
+ <line num="147" count="71" type="cond" truecount="3" falsecount="1"/>
1608
1599
  <line num="148" count="71" type="stmt"/>
1609
- <line num="149" count="71" type="stmt"/>
1610
- <line num="151" count="71" type="cond" truecount="3" falsecount="1"/>
1611
1600
  <line num="152" count="71" type="stmt"/>
1612
- <line num="156" count="71" type="stmt"/>
1613
- <line num="157" count="71" type="stmt"/>
1614
- <line num="158" count="71" type="stmt"/>
1615
- <line num="163" count="71" type="cond" truecount="1" falsecount="1"/>
1616
- <line num="164" count="0" type="stmt"/>
1617
- <line num="168" count="71" type="stmt"/>
1618
- <line num="175" count="70" type="stmt"/>
1619
- <line num="181" count="40" type="stmt"/>
1620
- <line num="182" count="7" type="stmt"/>
1621
- <line num="185" count="7" type="cond" truecount="2" falsecount="0"/>
1622
- <line num="186" count="1" type="stmt"/>
1623
- <line num="187" count="1" type="stmt"/>
1624
- <line num="190" count="6" type="stmt"/>
1625
- <line num="191" count="6" type="stmt"/>
1626
- <line num="192" count="6" type="stmt"/>
1627
- <line num="194" count="5" type="cond" truecount="1" falsecount="1"/>
1628
- <line num="195" count="5" type="stmt"/>
1629
- <line num="200" count="0" type="stmt"/>
1630
- <line num="201" count="0" type="stmt"/>
1631
- <line num="202" count="0" type="stmt"/>
1632
- <line num="206" count="5" type="cond" truecount="2" falsecount="0"/>
1633
- <line num="207" count="3" type="stmt"/>
1634
- <line num="209" count="3" type="stmt"/>
1635
- <line num="210" count="3" type="stmt"/>
1601
+ <line num="153" count="71" type="stmt"/>
1602
+ <line num="154" count="71" type="stmt"/>
1603
+ <line num="159" count="71" type="cond" truecount="1" falsecount="1"/>
1604
+ <line num="160" count="0" type="stmt"/>
1605
+ <line num="164" count="71" type="stmt"/>
1606
+ <line num="171" count="70" type="stmt"/>
1607
+ <line num="177" count="40" type="stmt"/>
1608
+ <line num="178" count="7" type="stmt"/>
1609
+ <line num="181" count="7" type="cond" truecount="2" falsecount="0"/>
1610
+ <line num="182" count="1" type="stmt"/>
1611
+ <line num="183" count="1" type="stmt"/>
1612
+ <line num="186" count="6" type="stmt"/>
1613
+ <line num="187" count="6" type="stmt"/>
1614
+ <line num="188" count="6" type="stmt"/>
1615
+ <line num="190" count="5" type="cond" truecount="1" falsecount="1"/>
1616
+ <line num="191" count="5" type="stmt"/>
1617
+ <line num="196" count="0" type="stmt"/>
1618
+ <line num="197" count="0" type="stmt"/>
1619
+ <line num="198" count="0" type="stmt"/>
1620
+ <line num="202" count="5" type="cond" truecount="2" falsecount="0"/>
1621
+ <line num="203" count="3" type="stmt"/>
1622
+ <line num="205" count="3" type="stmt"/>
1623
+ <line num="206" count="3" type="stmt"/>
1624
+ <line num="213" count="3" type="stmt"/>
1625
+ <line num="216" count="5" type="cond" truecount="2" falsecount="0"/>
1636
1626
  <line num="217" count="3" type="stmt"/>
1637
- <line num="220" count="5" type="cond" truecount="2" falsecount="0"/>
1638
- <line num="221" count="3" type="stmt"/>
1639
- <line num="227" count="2" type="stmt"/>
1640
- <line num="230" count="5" type="cond" truecount="1" falsecount="1"/>
1641
- <line num="234" count="0" type="stmt"/>
1627
+ <line num="223" count="2" type="stmt"/>
1628
+ <line num="226" count="5" type="cond" truecount="1" falsecount="1"/>
1629
+ <line num="230" count="0" type="stmt"/>
1630
+ <line num="236" count="5" type="stmt"/>
1631
+ <line num="239" count="40" type="stmt"/>
1642
1632
  <line num="240" count="5" type="stmt"/>
1643
- <line num="243" count="40" type="stmt"/>
1633
+ <line num="242" count="5" type="stmt"/>
1634
+ <line num="243" count="5" type="stmt"/>
1644
1635
  <line num="244" count="5" type="stmt"/>
1645
- <line num="246" count="5" type="stmt"/>
1646
- <line num="247" count="5" type="stmt"/>
1647
- <line num="248" count="5" type="stmt"/>
1648
- <line num="249" count="5" type="stmt"/>
1649
- <line num="252" count="40" type="stmt"/>
1650
- <line num="253" count="18" type="stmt"/>
1651
- <line num="254" count="18" type="stmt"/>
1652
- <line num="255" count="18" type="stmt"/>
1653
- <line num="256" count="15" type="stmt"/>
1654
- <line num="257" count="15" type="stmt"/>
1655
- <line num="260" count="40" type="stmt"/>
1656
- <line num="261" count="4" type="stmt"/>
1657
- <line num="262" count="4" type="stmt"/>
1658
- <line num="263" count="4" type="stmt"/>
1659
- <line num="265" count="3" type="cond" truecount="1" falsecount="1"/>
1660
- <line num="266" count="0" type="stmt"/>
1636
+ <line num="245" count="5" type="stmt"/>
1637
+ <line num="248" count="40" type="stmt"/>
1638
+ <line num="249" count="18" type="stmt"/>
1639
+ <line num="250" count="18" type="stmt"/>
1640
+ <line num="251" count="18" type="stmt"/>
1641
+ <line num="252" count="15" type="stmt"/>
1642
+ <line num="253" count="15" type="stmt"/>
1643
+ <line num="256" count="40" type="stmt"/>
1644
+ <line num="257" count="4" type="stmt"/>
1645
+ <line num="258" count="4" type="stmt"/>
1646
+ <line num="259" count="4" type="stmt"/>
1647
+ <line num="261" count="3" type="cond" truecount="1" falsecount="1"/>
1648
+ <line num="262" count="0" type="stmt"/>
1649
+ <line num="264" count="3" type="stmt"/>
1650
+ <line num="266" count="3" type="stmt"/>
1661
1651
  <line num="268" count="3" type="stmt"/>
1662
- <line num="270" count="3" type="stmt"/>
1663
- <line num="272" count="3" type="stmt"/>
1664
- <line num="278" count="3" type="stmt"/>
1665
- <line num="280" count="3" type="stmt"/>
1666
- <line num="283" count="3" type="cond" truecount="1" falsecount="1"/>
1652
+ <line num="274" count="3" type="stmt"/>
1653
+ <line num="276" count="3" type="stmt"/>
1654
+ <line num="279" count="3" type="cond" truecount="1" falsecount="1"/>
1655
+ <line num="280" count="0" type="stmt"/>
1656
+ <line num="283" count="0" type="stmt"/>
1667
1657
  <line num="284" count="0" type="stmt"/>
1668
- <line num="287" count="0" type="stmt"/>
1669
- <line num="288" count="0" type="stmt"/>
1670
- <line num="290" count="3" type="stmt"/>
1671
- <line num="292" count="3" type="stmt"/>
1672
- <line num="295" count="40" type="stmt"/>
1673
- <line num="296" count="2" type="stmt"/>
1674
- <line num="297" count="2" type="stmt"/>
1675
- <line num="298" count="2" type="stmt"/>
1658
+ <line num="286" count="3" type="stmt"/>
1659
+ <line num="288" count="3" type="stmt"/>
1660
+ <line num="291" count="40" type="stmt"/>
1661
+ <line num="292" count="2" type="stmt"/>
1662
+ <line num="293" count="2" type="stmt"/>
1663
+ <line num="294" count="2" type="stmt"/>
1664
+ <line num="295" count="2" type="stmt"/>
1676
1665
  <line num="299" count="2" type="stmt"/>
1677
- <line num="303" count="2" type="stmt"/>
1678
- <line num="306" count="2" type="stmt"/>
1679
- <line num="307" count="3" type="stmt"/>
1680
- <line num="313" count="2" type="cond" truecount="1" falsecount="1"/>
1681
- <line num="314" count="0" type="stmt"/>
1682
- <line num="316" count="0" type="stmt"/>
1683
- <line num="319" count="0" type="stmt"/>
1684
- <line num="323" count="3" type="stmt"/>
1685
- <line num="326" count="2" type="stmt"/>
1686
- <line num="327" count="2" type="stmt"/>
1687
- <line num="328" count="2" type="stmt"/>
1688
- <line num="329" count="2" type="stmt"/>
1689
- <line num="332" count="40" type="stmt"/>
1690
- <line num="334" count="2" type="cond" truecount="1" falsecount="1"/>
1691
- <line num="335" count="0" type="stmt"/>
1666
+ <line num="302" count="2" type="stmt"/>
1667
+ <line num="303" count="3" type="stmt"/>
1668
+ <line num="309" count="2" type="cond" truecount="1" falsecount="1"/>
1669
+ <line num="310" count="0" type="stmt"/>
1670
+ <line num="312" count="0" type="stmt"/>
1671
+ <line num="315" count="0" type="stmt"/>
1672
+ <line num="319" count="3" type="stmt"/>
1673
+ <line num="322" count="2" type="stmt"/>
1674
+ <line num="323" count="2" type="stmt"/>
1675
+ <line num="324" count="2" type="stmt"/>
1676
+ <line num="325" count="2" type="stmt"/>
1677
+ <line num="328" count="40" type="stmt"/>
1678
+ <line num="330" count="2" type="cond" truecount="1" falsecount="1"/>
1679
+ <line num="331" count="0" type="stmt"/>
1680
+ <line num="334" count="2" type="stmt"/>
1681
+ <line num="335" count="2" type="stmt"/>
1682
+ <line num="336" count="2" type="stmt"/>
1683
+ <line num="337" count="2" type="stmt"/>
1692
1684
  <line num="338" count="2" type="stmt"/>
1693
- <line num="339" count="2" type="stmt"/>
1694
- <line num="340" count="2" type="stmt"/>
1695
- <line num="341" count="2" type="stmt"/>
1696
- <line num="342" count="2" type="stmt"/>
1697
- <line num="345" count="2" type="cond" truecount="1" falsecount="1"/>
1698
- <line num="346" count="0" type="stmt"/>
1699
- <line num="348" count="2" type="stmt"/>
1700
- <line num="352" count="2" type="cond" truecount="3" falsecount="1"/>
1701
- <line num="354" count="2" type="cond" truecount="1" falsecount="1"/>
1702
- <line num="355" count="0" type="stmt"/>
1685
+ <line num="341" count="2" type="cond" truecount="1" falsecount="1"/>
1686
+ <line num="342" count="0" type="stmt"/>
1687
+ <line num="344" count="2" type="stmt"/>
1688
+ <line num="348" count="2" type="cond" truecount="3" falsecount="1"/>
1689
+ <line num="350" count="2" type="cond" truecount="1" falsecount="1"/>
1690
+ <line num="351" count="0" type="stmt"/>
1691
+ <line num="353" count="2" type="stmt"/>
1692
+ <line num="354" count="2" type="stmt"/>
1703
1693
  <line num="357" count="2" type="stmt"/>
1704
- <line num="358" count="2" type="stmt"/>
1694
+ <line num="360" count="40" type="stmt"/>
1705
1695
  <line num="361" count="2" type="stmt"/>
1706
- <line num="364" count="40" type="stmt"/>
1707
- <line num="365" count="2" type="stmt"/>
1708
- <line num="371" count="40" type="stmt"/>
1696
+ <line num="367" count="40" type="stmt"/>
1697
+ <line num="368" count="0" type="stmt"/>
1698
+ <line num="369" count="0" type="stmt"/>
1699
+ <line num="370" count="0" type="stmt"/>
1700
+ <line num="371" count="0" type="stmt"/>
1709
1701
  <line num="372" count="0" type="stmt"/>
1710
- <line num="373" count="0" type="stmt"/>
1711
- <line num="374" count="0" type="stmt"/>
1712
- <line num="375" count="0" type="stmt"/>
1713
- <line num="376" count="0" type="stmt"/>
1702
+ <line num="377" count="0" type="stmt"/>
1703
+ <line num="379" count="0" type="stmt"/>
1714
1704
  <line num="381" count="0" type="stmt"/>
1705
+ <line num="382" count="0" type="stmt"/>
1715
1706
  <line num="383" count="0" type="stmt"/>
1716
- <line num="385" count="0" type="stmt"/>
1717
1707
  <line num="386" count="0" type="stmt"/>
1718
1708
  <line num="387" count="0" type="stmt"/>
1719
- <line num="390" count="0" type="stmt"/>
1720
- <line num="391" count="0" type="stmt"/>
1721
- <line num="394" count="40" type="stmt"/>
1709
+ <line num="390" count="40" type="stmt"/>
1710
+ <line num="391" count="2" type="stmt"/>
1711
+ <line num="392" count="2" type="stmt"/>
1712
+ <line num="393" count="2" type="stmt"/>
1722
1713
  <line num="395" count="2" type="stmt"/>
1723
- <line num="396" count="2" type="stmt"/>
1724
- <line num="397" count="2" type="stmt"/>
1725
- <line num="399" count="2" type="stmt"/>
1726
- <line num="404" count="2" type="stmt"/>
1727
- <line num="409" count="2" type="stmt"/>
1728
- <line num="412" count="1" type="stmt"/>
1729
- <line num="414" count="1" type="stmt"/>
1730
- <line num="416" count="2" type="stmt"/>
1731
- <line num="417" count="2" type="stmt"/>
1732
- <line num="418" count="2" type="stmt"/>
1714
+ <line num="400" count="2" type="stmt"/>
1715
+ <line num="405" count="2" type="stmt"/>
1716
+ <line num="408" count="1" type="stmt"/>
1717
+ <line num="410" count="1" type="stmt"/>
1718
+ <line num="412" count="2" type="stmt"/>
1719
+ <line num="413" count="2" type="stmt"/>
1720
+ <line num="414" count="2" type="stmt"/>
1721
+ <line num="415" count="1" type="cond" truecount="1" falsecount="1"/>
1722
+ <line num="416" count="0" type="stmt"/>
1723
+ <line num="418" count="1" type="stmt"/>
1733
1724
  <line num="419" count="1" type="cond" truecount="1" falsecount="1"/>
1734
- <line num="420" count="0" type="stmt"/>
1735
- <line num="422" count="1" type="stmt"/>
1736
- <line num="423" count="1" type="cond" truecount="1" falsecount="1"/>
1737
- <line num="424" count="1" type="stmt"/>
1738
- <line num="425" count="1" type="stmt"/>
1739
- <line num="427" count="0" type="stmt"/>
1740
- <line num="430" count="2" type="stmt"/>
1741
- <line num="431" count="2" type="stmt"/>
1742
- <line num="433" count="1" type="stmt"/>
1743
- <line num="439" count="2" type="stmt"/>
1744
- <line num="440" count="5" type="stmt"/>
1745
- <line num="441" count="5" type="cond" truecount="2" falsecount="0"/>
1725
+ <line num="420" count="1" type="stmt"/>
1726
+ <line num="421" count="1" type="stmt"/>
1727
+ <line num="423" count="0" type="stmt"/>
1728
+ <line num="426" count="2" type="stmt"/>
1729
+ <line num="427" count="2" type="stmt"/>
1730
+ <line num="429" count="1" type="stmt"/>
1731
+ <line num="435" count="2" type="stmt"/>
1732
+ <line num="436" count="5" type="stmt"/>
1733
+ <line num="437" count="5" type="cond" truecount="2" falsecount="0"/>
1734
+ <line num="439" count="1" type="stmt"/>
1735
+ <line num="440" count="1" type="stmt"/>
1736
+ <line num="441" count="1" type="stmt"/>
1746
1737
  <line num="443" count="1" type="stmt"/>
1747
1738
  <line num="444" count="1" type="stmt"/>
1748
- <line num="445" count="1" type="stmt"/>
1749
- <line num="447" count="1" type="stmt"/>
1750
- <line num="448" count="1" type="stmt"/>
1751
- <line num="452" count="2" type="stmt"/>
1739
+ <line num="448" count="2" type="stmt"/>
1752
1740
  </file>
1753
1741
  <file name="internalSearch.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internalSearch.js">
1754
1742
  <metrics statements="152" coveredstatements="93" conditionals="95" coveredconditionals="38" methods="33" coveredmethods="18"/>
@@ -1989,15 +1977,15 @@
1989
1977
  <line num="22" count="1" type="stmt"/>
1990
1978
  <line num="23" count="1" type="stmt"/>
1991
1979
  <line num="26" count="40" type="stmt"/>
1992
- <line num="27" count="26" type="stmt"/>
1993
- <line num="30" count="26" type="cond" truecount="1" falsecount="1"/>
1980
+ <line num="27" count="20" type="stmt"/>
1981
+ <line num="30" count="20" type="cond" truecount="1" falsecount="1"/>
1994
1982
  <line num="31" count="0" type="stmt"/>
1995
1983
  <line num="34" count="0" type="stmt"/>
1996
1984
  <line num="35" count="0" type="stmt"/>
1997
- <line num="37" count="26" type="stmt"/>
1998
- <line num="39" count="23" type="cond" truecount="1" falsecount="1"/>
1985
+ <line num="37" count="20" type="stmt"/>
1986
+ <line num="39" count="17" type="cond" truecount="1" falsecount="1"/>
1999
1987
  <line num="40" count="0" type="stmt"/>
2000
- <line num="42" count="23" type="stmt"/>
1988
+ <line num="42" count="17" type="stmt"/>
2001
1989
  <line num="45" count="40" type="stmt"/>
2002
1990
  <line num="46" count="79" type="cond" truecount="2" falsecount="0"/>
2003
1991
  <line num="47" count="2" type="stmt"/>
@@ -3169,7 +3157,7 @@
3169
3157
  </file>
3170
3158
  </package>
3171
3159
  <package name="automations">
3172
- <metrics statements="213" coveredstatements="180" conditionals="96" coveredconditionals="77" methods="27" coveredmethods="22"/>
3160
+ <metrics statements="215" coveredstatements="181" conditionals="96" coveredconditionals="77" methods="27" coveredmethods="22"/>
3173
3161
  <file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
3174
3162
  <metrics statements="23" coveredstatements="23" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
3175
3163
  <line num="1" count="40" type="stmt"/>
@@ -3322,7 +3310,7 @@
3322
3310
  <line num="113" count="39" type="stmt"/>
3323
3311
  </file>
3324
3312
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/utils.js">
3325
- <metrics statements="77" coveredstatements="62" conditionals="38" coveredconditionals="31" methods="10" coveredmethods="9"/>
3313
+ <metrics statements="79" coveredstatements="63" conditionals="38" coveredconditionals="31" methods="10" coveredmethods="9"/>
3326
3314
  <line num="1" count="39" type="stmt"/>
3327
3315
  <line num="2" count="39" type="stmt"/>
3328
3316
  <line num="3" count="39" type="stmt"/>
@@ -3340,66 +3328,68 @@
3340
3328
  <line num="17" count="39" type="stmt"/>
3341
3329
  <line num="18" count="10" type="stmt"/>
3342
3330
  <line num="20" count="10" type="stmt"/>
3343
- <line num="22" count="0" type="stmt"/>
3331
+ <line num="23" count="10" type="stmt"/>
3344
3332
  <line num="25" count="0" type="stmt"/>
3345
3333
  <line num="26" count="0" type="stmt"/>
3346
- <line num="30" count="39" type="stmt"/>
3347
- <line num="31" count="2" type="stmt"/>
3348
- <line num="35" count="2" type="cond" truecount="3" falsecount="1"/>
3349
- <line num="36" count="0" type="stmt"/>
3350
- <line num="38" count="2" type="stmt"/>
3334
+ <line num="29" count="0" type="stmt"/>
3335
+ <line num="30" count="0" type="stmt"/>
3336
+ <line num="34" count="39" type="stmt"/>
3337
+ <line num="35" count="2" type="stmt"/>
3338
+ <line num="39" count="2" type="cond" truecount="3" falsecount="1"/>
3339
+ <line num="40" count="0" type="stmt"/>
3351
3340
  <line num="42" count="2" type="stmt"/>
3352
- <line num="47" count="39" type="stmt"/>
3353
- <line num="48" count="78" type="stmt"/>
3354
- <line num="49" count="78" type="stmt"/>
3355
- <line num="50" count="858" type="cond" truecount="2" falsecount="0"/>
3341
+ <line num="46" count="2" type="stmt"/>
3356
3342
  <line num="51" count="39" type="stmt"/>
3357
- <line num="54" count="78" type="stmt"/>
3358
- <line num="58" count="39" type="stmt"/>
3359
- <line num="59" count="204" type="stmt"/>
3360
- <line num="60" count="204" type="stmt"/>
3361
- <line num="61" count="204" type="stmt"/>
3362
- <line num="62" count="0" type="cond" truecount="0" falsecount="2"/>
3363
- <line num="63" count="0" type="stmt"/>
3364
- <line num="64" count="0" type="stmt"/>
3365
- <line num="67" count="204" type="stmt"/>
3366
- <line num="75" count="39" type="stmt"/>
3367
- <line num="76" count="1" type="cond" truecount="1" falsecount="1"/>
3368
- <line num="78" count="1" type="stmt"/>
3369
- <line num="85" count="1" type="cond" truecount="1" falsecount="1"/>
3370
- <line num="87" count="0" type="stmt"/>
3371
- <line num="88" count="0" type="stmt"/>
3372
- <line num="96" count="0" type="stmt"/>
3343
+ <line num="52" count="78" type="stmt"/>
3344
+ <line num="53" count="78" type="stmt"/>
3345
+ <line num="54" count="858" type="cond" truecount="2" falsecount="0"/>
3346
+ <line num="55" count="39" type="stmt"/>
3347
+ <line num="58" count="78" type="stmt"/>
3348
+ <line num="62" count="39" type="stmt"/>
3349
+ <line num="63" count="204" type="stmt"/>
3350
+ <line num="64" count="204" type="stmt"/>
3351
+ <line num="65" count="204" type="stmt"/>
3352
+ <line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
3353
+ <line num="67" count="0" type="stmt"/>
3354
+ <line num="68" count="0" type="stmt"/>
3355
+ <line num="71" count="204" type="stmt"/>
3356
+ <line num="79" count="39" type="stmt"/>
3357
+ <line num="80" count="1" type="cond" truecount="1" falsecount="1"/>
3358
+ <line num="82" count="1" type="stmt"/>
3359
+ <line num="89" count="1" type="cond" truecount="1" falsecount="1"/>
3360
+ <line num="91" count="0" type="stmt"/>
3361
+ <line num="92" count="0" type="stmt"/>
3373
3362
  <line num="100" count="0" type="stmt"/>
3374
- <line num="101" count="0" type="stmt"/>
3375
- <line num="102" count="0" type="stmt"/>
3376
- <line num="103" count="0" type="stmt"/>
3377
- <line num="105" count="1" type="stmt"/>
3378
- <line num="116" count="39" type="stmt"/>
3379
- <line num="117" count="23" type="stmt"/>
3380
- <line num="118" count="23" type="cond" truecount="2" falsecount="0"/>
3381
- <line num="119" count="23" type="cond" truecount="2" falsecount="0"/>
3382
- <line num="121" count="23" type="cond" truecount="3" falsecount="0"/>
3383
- <line num="123" count="70" type="stmt"/>
3384
- <line num="130" count="23" type="cond" truecount="2" falsecount="0"/>
3385
- <line num="135" count="1" type="stmt"/>
3386
- <line num="136" count="1" type="stmt"/>
3387
- <line num="138" count="1" type="stmt"/>
3363
+ <line num="104" count="0" type="stmt"/>
3364
+ <line num="105" count="0" type="stmt"/>
3365
+ <line num="106" count="0" type="stmt"/>
3366
+ <line num="107" count="0" type="stmt"/>
3367
+ <line num="109" count="1" type="stmt"/>
3368
+ <line num="120" count="39" type="stmt"/>
3369
+ <line num="121" count="23" type="stmt"/>
3370
+ <line num="122" count="23" type="cond" truecount="2" falsecount="0"/>
3371
+ <line num="123" count="23" type="cond" truecount="2" falsecount="0"/>
3372
+ <line num="125" count="23" type="cond" truecount="3" falsecount="0"/>
3373
+ <line num="127" count="70" type="stmt"/>
3374
+ <line num="134" count="23" type="cond" truecount="2" falsecount="0"/>
3388
3375
  <line num="139" count="1" type="stmt"/>
3389
- <line num="144" count="1" type="cond" truecount="1" falsecount="1"/>
3390
- <line num="145" count="1" type="stmt"/>
3391
- <line num="146" count="1" type="stmt"/>
3392
- <line num="148" count="1" type="stmt"/>
3393
- <line num="154" count="23" type="cond" truecount="2" falsecount="0"/>
3394
- <line num="158" count="1" type="stmt"/>
3395
- <line num="168" count="1" type="stmt"/>
3396
- <line num="169" count="1" type="stmt"/>
3397
- <line num="170" count="1" type="stmt"/>
3376
+ <line num="140" count="1" type="stmt"/>
3377
+ <line num="142" count="1" type="stmt"/>
3378
+ <line num="143" count="1" type="stmt"/>
3379
+ <line num="148" count="1" type="cond" truecount="1" falsecount="1"/>
3380
+ <line num="149" count="1" type="stmt"/>
3381
+ <line num="150" count="1" type="stmt"/>
3382
+ <line num="152" count="1" type="stmt"/>
3383
+ <line num="158" count="23" type="cond" truecount="2" falsecount="0"/>
3384
+ <line num="162" count="1" type="stmt"/>
3385
+ <line num="172" count="1" type="stmt"/>
3386
+ <line num="173" count="1" type="stmt"/>
3398
3387
  <line num="174" count="1" type="stmt"/>
3399
- <line num="175" count="1" type="stmt"/>
3400
- <line num="180" count="23" type="stmt"/>
3401
- <line num="188" count="39" type="stmt"/>
3402
- <line num="189" count="0" type="stmt"/>
3388
+ <line num="178" count="1" type="stmt"/>
3389
+ <line num="179" count="1" type="stmt"/>
3390
+ <line num="184" count="23" type="stmt"/>
3391
+ <line num="192" count="39" type="stmt"/>
3392
+ <line num="193" count="0" type="stmt"/>
3403
3393
  </file>
3404
3394
  </package>
3405
3395
  <package name="automations.steps">
@@ -3834,7 +3824,7 @@
3834
3824
  <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
3835
3825
  <line num="1" count="55" type="stmt"/>
3836
3826
  <line num="3" count="55" type="stmt"/>
3837
- <line num="4" count="995" type="stmt"/>
3827
+ <line num="4" count="945" type="stmt"/>
3838
3828
  </file>
3839
3829
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
3840
3830
  <metrics statements="113" coveredstatements="103" conditionals="51" coveredconditionals="19" methods="32" coveredmethods="27"/>
@@ -3931,7 +3921,7 @@
3931
3921
  <line num="326" count="55" type="cond" truecount="0" falsecount="2"/>
3932
3922
  <line num="327" count="4" type="stmt"/>
3933
3923
  <line num="334" count="55" type="stmt"/>
3934
- <line num="335" count="131" type="stmt"/>
3924
+ <line num="335" count="81" type="stmt"/>
3935
3925
  <line num="343" count="55" type="cond" truecount="0" falsecount="2"/>
3936
3926
  <line num="344" count="4" type="cond" truecount="2" falsecount="0"/>
3937
3927
  <line num="345" count="3" type="stmt"/>
@@ -4165,9 +4155,9 @@
4165
4155
  <line num="135" count="1" type="stmt"/>
4166
4156
  <line num="137" count="0" type="stmt"/>
4167
4157
  <line num="148" count="40" type="stmt"/>
4168
- <line num="149" count="113" type="stmt"/>
4169
- <line num="150" count="113" type="cond" truecount="2" falsecount="0"/>
4170
- <line num="151" count="83" type="stmt"/>
4158
+ <line num="149" count="107" type="stmt"/>
4159
+ <line num="150" count="107" type="cond" truecount="2" falsecount="0"/>
4160
+ <line num="151" count="77" type="stmt"/>
4171
4161
  <line num="154" count="30" type="stmt"/>
4172
4162
  <line num="155" count="25" type="stmt"/>
4173
4163
  <line num="158" count="30" type="stmt"/>
@@ -4185,12 +4175,12 @@
4185
4175
  <line num="173" count="18" type="stmt"/>
4186
4176
  <line num="178" count="30" type="stmt"/>
4187
4177
  <line num="187" count="40" type="stmt"/>
4188
- <line num="189" count="33" type="stmt"/>
4189
- <line num="190" count="33" type="stmt"/>
4190
- <line num="192" count="39" type="stmt"/>
4191
- <line num="193" count="39" type="stmt"/>
4192
- <line num="194" count="117" type="cond" truecount="4" falsecount="0"/>
4193
- <line num="195" count="108" type="stmt"/>
4178
+ <line num="189" count="27" type="stmt"/>
4179
+ <line num="190" count="27" type="stmt"/>
4180
+ <line num="192" count="33" type="stmt"/>
4181
+ <line num="193" count="33" type="stmt"/>
4182
+ <line num="194" count="105" type="cond" truecount="4" falsecount="0"/>
4183
+ <line num="195" count="96" type="stmt"/>
4194
4184
  <line num="197" count="9" type="stmt"/>
4195
4185
  <line num="198" count="9" type="stmt"/>
4196
4186
  <line num="199" count="9" type="cond" truecount="1" falsecount="1"/>
@@ -4200,7 +4190,7 @@
4200
4190
  <line num="203" count="8" type="stmt"/>
4201
4191
  <line num="205" count="9" type="stmt"/>
4202
4192
  <line num="207" count="9" type="stmt"/>
4203
- <line num="210" count="33" type="stmt"/>
4193
+ <line num="210" count="27" type="stmt"/>
4204
4194
  </file>
4205
4195
  <file name="linkUtils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/linkUtils.js">
4206
4196
  <metrics statements="54" coveredstatements="50" conditionals="26" coveredconditionals="20" methods="13" coveredmethods="13"/>
@@ -4238,14 +4228,14 @@
4238
4228
  <line num="80" count="30" type="stmt"/>
4239
4229
  <line num="81" count="33" type="stmt"/>
4240
4230
  <line num="85" count="40" type="stmt"/>
4241
- <line num="86" count="113" type="stmt"/>
4242
- <line num="87" count="322" type="stmt"/>
4231
+ <line num="86" count="107" type="stmt"/>
4232
+ <line num="87" count="310" type="stmt"/>
4243
4233
  <line num="88" count="53" type="stmt"/>
4244
4234
  <line num="91" count="40" type="stmt"/>
4245
- <line num="92" count="68" type="stmt"/>
4246
- <line num="93" count="68" type="stmt"/>
4247
- <line num="94" count="68" type="cond" truecount="2" falsecount="0"/>
4248
- <line num="95" count="41" type="stmt"/>
4235
+ <line num="92" count="62" type="stmt"/>
4236
+ <line num="93" count="62" type="stmt"/>
4237
+ <line num="94" count="62" type="cond" truecount="2" falsecount="0"/>
4238
+ <line num="95" count="35" type="stmt"/>
4249
4239
  <line num="97" count="27" type="stmt"/>
4250
4240
  <line num="98" count="27" type="cond" truecount="1" falsecount="1"/>
4251
4241
  <line num="99" count="27" type="stmt"/>
@@ -4317,7 +4307,7 @@
4317
4307
  </file>
4318
4308
  </package>
4319
4309
  <package name="middleware">
4320
- <metrics statements="279" coveredstatements="230" conditionals="188" coveredconditionals="132" methods="38" coveredmethods="33"/>
4310
+ <metrics statements="285" coveredstatements="234" conditionals="203" coveredconditionals="143" methods="38" coveredmethods="33"/>
4321
4311
  <file name="appInfo.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/appInfo.js">
4322
4312
  <metrics statements="10" coveredstatements="8" conditionals="11" coveredconditionals="6" methods="2" coveredmethods="2"/>
4323
4313
  <line num="1" count="24" type="stmt"/>
@@ -4332,50 +4322,56 @@
4332
4322
  <line num="18" count="7" type="stmt"/>
4333
4323
  </file>
4334
4324
  <file name="authorized.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/authorized.js">
4335
- <metrics statements="43" coveredstatements="40" conditionals="32" coveredconditionals="28" methods="6" coveredmethods="5"/>
4325
+ <metrics statements="49" coveredstatements="44" conditionals="47" coveredconditionals="39" methods="6" coveredmethods="5"/>
4336
4326
  <line num="5" count="25" type="stmt"/>
4337
- <line num="9" count="25" type="stmt"/>
4338
4327
  <line num="10" count="25" type="stmt"/>
4339
4328
  <line num="11" count="25" type="stmt"/>
4340
4329
  <line num="12" count="25" type="stmt"/>
4341
4330
  <line num="13" count="25" type="stmt"/>
4342
- <line num="16" count="176" type="stmt"/>
4343
- <line num="19" count="25" type="stmt"/>
4344
- <line num="27" count="25" type="stmt"/>
4345
- <line num="29" count="177" type="cond" truecount="3" falsecount="0"/>
4346
- <line num="30" count="177" type="stmt"/>
4347
- <line num="31" count="177" type="cond" truecount="4" falsecount="0"/>
4348
- <line num="32" count="28" type="stmt"/>
4349
- <line num="36" count="149" type="cond" truecount="2" falsecount="0"/>
4350
- <line num="37" count="3" type="stmt"/>
4351
- <line num="41" count="25" type="stmt"/>
4352
- <line num="48" count="3" type="cond" truecount="2" falsecount="0"/>
4353
- <line num="49" count="3" type="stmt"/>
4354
- <line num="52" count="3" type="stmt"/>
4355
- <line num="54" count="3" type="cond" truecount="1" falsecount="1"/>
4356
- <line num="56" count="0" type="stmt"/>
4357
- <line num="57" count="0" type="cond" truecount="0" falsecount="2"/>
4358
- <line num="58" count="0" type="stmt"/>
4359
- <line num="61" count="3" type="cond" truecount="1" falsecount="1"/>
4360
- <line num="62" count="3" type="stmt"/>
4361
- <line num="66" count="25" type="stmt"/>
4362
- <line num="68" count="2703" type="stmt"/>
4363
- <line num="71" count="183" type="cond" truecount="4" falsecount="0"/>
4364
- <line num="72" count="1" type="stmt"/>
4365
- <line num="75" count="182" type="cond" truecount="2" falsecount="0"/>
4366
- <line num="76" count="1" type="stmt"/>
4367
- <line num="81" count="181" type="stmt"/>
4368
- <line num="84" count="181" type="stmt"/>
4331
+ <line num="14" count="25" type="stmt"/>
4332
+ <line num="17" count="176" type="stmt"/>
4333
+ <line num="20" count="25" type="stmt"/>
4334
+ <line num="28" count="25" type="stmt"/>
4335
+ <line num="30" count="177" type="cond" truecount="3" falsecount="0"/>
4336
+ <line num="31" count="177" type="stmt"/>
4337
+ <line num="32" count="177" type="cond" truecount="4" falsecount="0"/>
4338
+ <line num="33" count="28" type="stmt"/>
4339
+ <line num="37" count="149" type="cond" truecount="2" falsecount="0"/>
4340
+ <line num="38" count="3" type="stmt"/>
4341
+ <line num="42" count="25" type="stmt"/>
4342
+ <line num="49" count="3" type="cond" truecount="2" falsecount="0"/>
4343
+ <line num="50" count="3" type="stmt"/>
4344
+ <line num="53" count="3" type="stmt"/>
4345
+ <line num="55" count="3" type="cond" truecount="1" falsecount="1"/>
4346
+ <line num="57" count="0" type="stmt"/>
4347
+ <line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
4348
+ <line num="59" count="0" type="stmt"/>
4349
+ <line num="62" count="3" type="cond" truecount="1" falsecount="1"/>
4350
+ <line num="63" count="3" type="stmt"/>
4351
+ <line num="67" count="25" type="stmt"/>
4352
+ <line num="69" count="2703" type="stmt"/>
4353
+ <line num="72" count="183" type="cond" truecount="4" falsecount="0"/>
4354
+ <line num="73" count="1" type="stmt"/>
4355
+ <line num="76" count="182" type="cond" truecount="2" falsecount="0"/>
4356
+ <line num="77" count="1" type="stmt"/>
4357
+ <line num="82" count="181" type="stmt"/>
4369
4358
  <line num="85" count="181" type="stmt"/>
4370
- <line num="86" count="181" type="cond" truecount="4" falsecount="0"/>
4371
- <line num="87" count="69" type="stmt"/>
4359
+ <line num="88" count="181" type="cond" truecount="2" falsecount="0"/>
4372
4360
  <line num="91" count="181" type="stmt"/>
4373
- <line num="92" count="181" type="cond" truecount="2" falsecount="0"/>
4374
- <line num="93" count="1" type="stmt"/>
4375
- <line num="97" count="180" type="cond" truecount="2" falsecount="0"/>
4376
- <line num="98" count="3" type="stmt"/>
4377
- <line num="102" count="177" type="stmt"/>
4378
- <line num="105" count="150" type="stmt"/>
4361
+ <line num="92" count="181" type="cond" truecount="4" falsecount="0"/>
4362
+ <line num="93" count="69" type="stmt"/>
4363
+ <line num="94" count="69" type="cond" truecount="3" falsecount="1"/>
4364
+ <line num="95" count="0" type="stmt"/>
4365
+ <line num="100" count="181" type="cond" truecount="2" falsecount="0"/>
4366
+ <line num="104" count="1" type="stmt"/>
4367
+ <line num="108" count="180" type="cond" truecount="2" falsecount="0"/>
4368
+ <line num="109" count="3" type="stmt"/>
4369
+ <line num="112" count="177" type="stmt"/>
4370
+ <line num="114" count="177" type="stmt"/>
4371
+ <line num="117" count="27" type="cond" truecount="3" falsecount="2"/>
4372
+ <line num="118" count="0" type="stmt"/>
4373
+ <line num="120" count="27" type="stmt"/>
4374
+ <line num="125" count="150" type="stmt"/>
4379
4375
  </file>
4380
4376
  <file name="builder.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/builder.js">
4381
4377
  <metrics statements="36" coveredstatements="32" conditionals="22" coveredconditionals="17" methods="3" coveredmethods="3"/>
@@ -5428,22 +5424,22 @@
5428
5424
  <line num="246" count="72" type="stmt"/>
5429
5425
  <line num="250" count="78" type="stmt"/>
5430
5426
  <line num="262" count="40" type="cond" truecount="1" falsecount="0"/>
5431
- <line num="263" count="113" type="stmt"/>
5432
- <line num="264" count="113" type="cond" truecount="2" falsecount="0"/>
5433
- <line num="265" count="99" type="stmt"/>
5434
- <line num="266" count="99" type="stmt"/>
5435
- <line num="269" count="113" type="stmt"/>
5436
- <line num="272" count="113" type="stmt"/>
5437
- <line num="275" count="113" type="stmt"/>
5438
- <line num="276" count="322" type="cond" truecount="2" falsecount="0"/>
5427
+ <line num="263" count="107" type="stmt"/>
5428
+ <line num="264" count="107" type="cond" truecount="2" falsecount="0"/>
5429
+ <line num="265" count="93" type="stmt"/>
5430
+ <line num="266" count="93" type="stmt"/>
5431
+ <line num="269" count="107" type="stmt"/>
5432
+ <line num="272" count="107" type="stmt"/>
5433
+ <line num="275" count="107" type="stmt"/>
5434
+ <line num="276" count="310" type="cond" truecount="2" falsecount="0"/>
5439
5435
  <line num="277" count="8" type="stmt"/>
5440
5436
  <line num="278" count="8" type="cond" truecount="4" falsecount="0"/>
5441
5437
  <line num="279" count="6" type="stmt"/>
5442
5438
  <line num="281" count="2" type="stmt"/>
5443
5439
  <line num="282" count="2" type="stmt"/>
5444
- <line num="287" count="113" type="cond" truecount="2" falsecount="0"/>
5445
- <line num="288" count="33" type="stmt"/>
5446
- <line num="290" count="113" type="cond" truecount="2" falsecount="0"/>
5440
+ <line num="287" count="107" type="cond" truecount="2" falsecount="0"/>
5441
+ <line num="288" count="27" type="stmt"/>
5442
+ <line num="290" count="107" type="cond" truecount="2" falsecount="0"/>
5447
5443
  <line num="303" count="40" type="stmt"/>
5448
5444
  <line num="304" count="14" type="stmt"/>
5449
5445
  <line num="305" count="14" type="cond" truecount="1" falsecount="1"/>
@@ -5474,20 +5470,20 @@
5474
5470
  <line num="1" count="40" type="stmt"/>
5475
5471
  <line num="2" count="40" type="stmt"/>
5476
5472
  <line num="7" count="40" type="stmt"/>
5477
- <line num="12" count="281" type="stmt"/>
5478
- <line num="13" count="281" type="cond" truecount="2" falsecount="0"/>
5473
+ <line num="12" count="275" type="stmt"/>
5474
+ <line num="13" count="275" type="cond" truecount="2" falsecount="0"/>
5479
5475
  <line num="14" count="168" type="stmt"/>
5480
5476
  <line num="15" count="168" type="cond" truecount="2" falsecount="0"/>
5481
- <line num="17" count="281" type="stmt"/>
5482
- <line num="18" count="804" type="stmt"/>
5483
- <line num="19" count="804" type="cond" truecount="1" falsecount="1"/>
5484
- <line num="24" count="804" type="stmt"/>
5477
+ <line num="17" count="275" type="stmt"/>
5478
+ <line num="18" count="792" type="stmt"/>
5479
+ <line num="19" count="792" type="cond" truecount="1" falsecount="1"/>
5480
+ <line num="24" count="792" type="stmt"/>
5485
5481
  <line num="27" count="0" type="stmt"/>
5486
5482
  <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
5487
5483
  <line num="29" count="0" type="stmt"/>
5488
5484
  <line num="30" count="0" type="cond" truecount="0" falsecount="2"/>
5489
5485
  <line num="31" count="0" type="stmt"/>
5490
- <line num="38" count="281" type="cond" truecount="2" falsecount="0"/>
5486
+ <line num="38" count="275" type="cond" truecount="2" falsecount="0"/>
5491
5487
  </file>
5492
5488
  </package>
5493
5489
  <package name="utilities.usageQuota">