@budibase/server 1.0.13-alpha.0 → 1.0.13

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 (209) hide show
  1. package/builder/assets/{index.9337c392.css → index.4fb3f887.css} +1 -1
  2. package/builder/assets/{index.73db2de9.js → index.ae7f408b.js} +164 -164
  3. package/builder/assets/{vendor.a9288856.js → vendor.470042a4.js} +1 -1
  4. package/builder/index.html +3 -3
  5. package/coverage/clover.xml +178 -208
  6. package/coverage/coverage-final.json +8 -9
  7. package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/application.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/component.js.html +1 -1
  15. package/coverage/lcov-report/api/controllers/datasource.js.html +14 -14
  16. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/hosting.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/index.html +29 -14
  19. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  21. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  23. package/coverage/lcov-report/api/controllers/{query/index.js.html → query.js.html} +24 -150
  24. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  25. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  26. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/index.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
  33. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  35. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  36. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/table/internal.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/table/utils.js.html +1 -1
  39. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  40. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  42. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  43. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  44. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  45. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  46. package/coverage/lcov-report/api/controllers/webhook.js.html +6 -18
  47. package/coverage/lcov-report/api/index.html +1 -1
  48. package/coverage/lcov-report/api/index.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/application.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/hosting.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/index.html +9 -9
  62. package/coverage/lcov-report/api/routes/index.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/query.js.html +98 -11
  68. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/row.js.html +1 -1
  71. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/static.js.html +1 -1
  74. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  75. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  76. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  77. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  78. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  79. package/coverage/lcov-report/automations/actions.js.html +1 -1
  80. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  81. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  82. package/coverage/lcov-report/automations/index.html +1 -1
  83. package/coverage/lcov-report/automations/index.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/index.html +1 -1
  93. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  95. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  96. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  97. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  98. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  99. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  100. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  101. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  102. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  103. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  104. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  105. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  106. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  107. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  108. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  109. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  110. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  111. package/coverage/lcov-report/automations/utils.js.html +1 -1
  112. package/coverage/lcov-report/constants/index.html +1 -1
  113. package/coverage/lcov-report/constants/index.js.html +1 -1
  114. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  115. package/coverage/lcov-report/constants/screens.js.html +1 -1
  116. package/coverage/lcov-report/db/client.js.html +1 -1
  117. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  118. package/coverage/lcov-report/db/index.html +1 -1
  119. package/coverage/lcov-report/db/index.js.html +1 -1
  120. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  121. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  122. package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
  123. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  124. package/coverage/lcov-report/db/newid.js.html +4 -4
  125. package/coverage/lcov-report/db/utils.js.html +58 -58
  126. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  127. package/coverage/lcov-report/events/index.html +1 -1
  128. package/coverage/lcov-report/events/index.js.html +1 -1
  129. package/coverage/lcov-report/events/utils.js.html +1 -1
  130. package/coverage/lcov-report/index.html +25 -40
  131. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  132. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  133. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  134. package/coverage/lcov-report/middleware/authorized.js.html +2 -2
  135. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  136. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  137. package/coverage/lcov-report/middleware/index.html +1 -1
  138. package/coverage/lcov-report/middleware/joi-validator.js.html +3 -3
  139. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  140. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  141. package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
  142. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  143. package/coverage/lcov-report/threads/automation.js.html +1 -1
  144. package/coverage/lcov-report/threads/index.html +1 -1
  145. package/coverage/lcov-report/threads/index.js.html +1 -1
  146. package/coverage/lcov-report/threads/query.js.html +1 -1
  147. package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
  148. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  149. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  150. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  151. package/coverage/lcov-report/utilities/global.js.html +1 -1
  152. package/coverage/lcov-report/utilities/index.html +1 -1
  153. package/coverage/lcov-report/utilities/index.js.html +1 -1
  154. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  155. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  156. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  157. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  158. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  159. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
  160. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  161. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  162. package/coverage/lcov-report/utilities/security.js.html +1 -1
  163. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  164. package/coverage/lcov-report/utilities/users.js.html +1 -1
  165. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  166. package/coverage/lcov.info +240 -279
  167. package/dist/api/controllers/{query/index.js → query.js} +4 -38
  168. package/dist/api/controllers/webhook.js +0 -4
  169. package/dist/api/routes/query.js +32 -2
  170. package/dist/package.json +0 -4
  171. package/dist/tsconfig.tsbuildinfo +1 -1
  172. package/package.json +5 -9
  173. package/src/api/controllers/{query/index.js → query.js} +4 -46
  174. package/src/api/controllers/webhook.js +0 -4
  175. package/src/api/routes/query.js +34 -5
  176. package/src/definitions/common.ts +0 -22
  177. package/src/integrations/oracle.ts +1 -1
  178. package/coverage/lcov-report/api/controllers/query/index.html +0 -126
  179. package/coverage/lcov-report/api/controllers/query/validation.js.html +0 -200
  180. package/dist/api/controllers/query/import/index.js +0 -79
  181. package/dist/api/controllers/query/import/sources/base/index.js +0 -63
  182. package/dist/api/controllers/query/import/sources/base/openapi.js +0 -42
  183. package/dist/api/controllers/query/import/sources/curl.js +0 -90
  184. package/dist/api/controllers/query/import/sources/openapi2.js +0 -139
  185. package/dist/api/controllers/query/import/sources/tests/openapi2/data/crud/crud.json +0 -253
  186. package/dist/api/controllers/query/import/sources/tests/openapi2/data/petstore/petstore.json +0 -1054
  187. package/dist/api/controllers/query/validation.js +0 -36
  188. package/src/api/controllers/query/import/index.ts +0 -85
  189. package/src/api/controllers/query/import/sources/base/index.ts +0 -86
  190. package/src/api/controllers/query/import/sources/base/openapi.ts +0 -24
  191. package/src/api/controllers/query/import/sources/curl.ts +0 -94
  192. package/src/api/controllers/query/import/sources/openapi2.ts +0 -159
  193. package/src/api/controllers/query/import/sources/tests/curl/curl.spec.js +0 -104
  194. package/src/api/controllers/query/import/sources/tests/curl/data/delete.txt +0 -1
  195. package/src/api/controllers/query/import/sources/tests/curl/data/empty-body.txt +0 -2
  196. package/src/api/controllers/query/import/sources/tests/curl/data/get.txt +0 -1
  197. package/src/api/controllers/query/import/sources/tests/curl/data/headers.txt +0 -3
  198. package/src/api/controllers/query/import/sources/tests/curl/data/patch.txt +0 -2
  199. package/src/api/controllers/query/import/sources/tests/curl/data/path.txt +0 -1
  200. package/src/api/controllers/query/import/sources/tests/curl/data/post.txt +0 -2
  201. package/src/api/controllers/query/import/sources/tests/curl/data/put.txt +0 -2
  202. package/src/api/controllers/query/import/sources/tests/curl/data/query.txt +0 -1
  203. package/src/api/controllers/query/import/sources/tests/openapi2/data/crud/crud.json +0 -253
  204. package/src/api/controllers/query/import/sources/tests/openapi2/data/crud/crud.yaml +0 -160
  205. package/src/api/controllers/query/import/sources/tests/openapi2/data/petstore/petstore.json +0 -1054
  206. package/src/api/controllers/query/import/sources/tests/openapi2/data/petstore/petstore.yaml +0 -711
  207. package/src/api/controllers/query/import/sources/tests/openapi2/openapi2.spec.js +0 -239
  208. package/src/api/controllers/query/import/tests/index.spec.js +0 -115
  209. package/src/api/controllers/query/validation.js +0 -40
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1639132647990" clover="3.2.0">
3
- <project timestamp="1639132647990" name="All files">
4
- <metrics statements="4410" coveredstatements="3248" conditionals="1750" coveredconditionals="949" methods="625" coveredmethods="442" elements="6785" coveredelements="4639" complexity="0" loc="4410" ncloc="4410" packages="21" files="139" classes="139"/>
2
+ <coverage generated="1639134617302" clover="3.2.0">
3
+ <project timestamp="1639134617302" name="All files">
4
+ <metrics statements="4386" coveredstatements="3239" conditionals="1748" coveredconditionals="949" methods="623" coveredmethods="441" elements="6757" coveredelements="4629" complexity="0" loc="4386" ncloc="4386" packages="20" files="138" classes="138"/>
5
5
  <package name="api">
6
6
  <metrics statements="29" coveredstatements="27" conditionals="5" coveredconditionals="2" methods="5" coveredmethods="4"/>
7
7
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
@@ -38,7 +38,7 @@
38
38
  </file>
39
39
  </package>
40
40
  <package name="api.controllers">
41
- <metrics statements="1041" coveredstatements="739" conditionals="344" coveredconditionals="157" methods="144" coveredmethods="100"/>
41
+ <metrics statements="1110" coveredstatements="797" conditionals="369" coveredconditionals="169" methods="153" coveredmethods="109"/>
42
42
  <file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.js">
43
43
  <metrics statements="13" coveredstatements="6" conditionals="13" coveredconditionals="4" methods="2" coveredmethods="1"/>
44
44
  <line num="1" count="23" type="stmt"/>
@@ -483,12 +483,12 @@
483
483
  </file>
484
484
  <file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/datasource.js">
485
485
  <metrics statements="107" coveredstatements="47" conditionals="36" coveredconditionals="7" methods="16" coveredmethods="8"/>
486
- <line num="1" count="34" type="stmt"/>
487
- <line num="9" count="34" type="stmt"/>
488
- <line num="10" count="34" type="stmt"/>
489
- <line num="11" count="34" type="stmt"/>
490
- <line num="12" count="34" type="stmt"/>
491
- <line num="14" count="34" type="stmt"/>
486
+ <line num="1" count="33" type="stmt"/>
487
+ <line num="9" count="33" type="stmt"/>
488
+ <line num="10" count="33" type="stmt"/>
489
+ <line num="11" count="33" type="stmt"/>
490
+ <line num="12" count="33" type="stmt"/>
491
+ <line num="14" count="33" type="stmt"/>
492
492
  <line num="15" count="2" type="stmt"/>
493
493
  <line num="18" count="2" type="stmt"/>
494
494
  <line num="19" count="2" type="stmt"/>
@@ -497,7 +497,7 @@
497
497
  <line num="32" count="2" type="stmt"/>
498
498
  <line num="38" count="1" type="stmt"/>
499
499
  <line num="40" count="2" type="stmt"/>
500
- <line num="43" count="34" type="stmt"/>
500
+ <line num="43" count="33" type="stmt"/>
501
501
  <line num="44" count="0" type="stmt"/>
502
502
  <line num="45" count="0" type="stmt"/>
503
503
  <line num="47" count="0" type="stmt"/>
@@ -508,7 +508,7 @@
508
508
  <line num="54" count="0" type="cond" truecount="0" falsecount="2"/>
509
509
  <line num="55" count="0" type="stmt"/>
510
510
  <line num="57" count="0" type="stmt"/>
511
- <line num="60" count="34" type="stmt"/>
511
+ <line num="60" count="33" type="stmt"/>
512
512
  <line num="61" count="0" type="stmt"/>
513
513
  <line num="62" count="0" type="stmt"/>
514
514
  <line num="63" count="0" type="stmt"/>
@@ -522,7 +522,7 @@
522
522
  <line num="77" count="0" type="stmt"/>
523
523
  <line num="78" count="0" type="stmt"/>
524
524
  <line num="79" count="0" type="stmt"/>
525
- <line num="82" count="34" type="stmt"/>
525
+ <line num="82" count="33" type="stmt"/>
526
526
  <line num="83" count="24" type="stmt"/>
527
527
  <line num="84" count="24" type="stmt"/>
528
528
  <line num="85" count="24" type="stmt"/>
@@ -542,7 +542,7 @@
542
542
  <line num="112" count="24" type="cond" truecount="1" falsecount="1"/>
543
543
  <line num="113" count="0" type="stmt"/>
544
544
  <line num="115" count="24" type="stmt"/>
545
- <line num="118" count="34" type="stmt"/>
545
+ <line num="118" count="33" type="stmt"/>
546
546
  <line num="119" count="1" type="stmt"/>
547
547
  <line num="122" count="1" type="stmt"/>
548
548
  <line num="125" count="1" type="stmt"/>
@@ -550,10 +550,10 @@
550
550
  <line num="134" count="1" type="stmt"/>
551
551
  <line num="136" count="1" type="stmt"/>
552
552
  <line num="137" count="1" type="stmt"/>
553
- <line num="140" count="34" type="stmt"/>
553
+ <line num="140" count="33" type="stmt"/>
554
554
  <line num="141" count="1" type="stmt"/>
555
555
  <line num="142" count="1" type="stmt"/>
556
- <line num="146" count="34" type="stmt"/>
556
+ <line num="146" count="33" type="stmt"/>
557
557
  <line num="147" count="1" type="stmt"/>
558
558
  <line num="148" count="1" type="stmt"/>
559
559
  <line num="149" count="1" type="stmt"/>
@@ -567,7 +567,7 @@
567
567
  <line num="166" count="0" type="stmt"/>
568
568
  <line num="168" count="0" type="stmt"/>
569
569
  <line num="169" count="0" type="stmt"/>
570
- <line num="172" count="34" type="stmt"/>
570
+ <line num="172" count="33" type="stmt"/>
571
571
  <line num="173" count="0" type="stmt"/>
572
572
  <line num="176" count="0" type="stmt"/>
573
573
  <line num="177" count="0" type="stmt"/>
@@ -823,6 +823,79 @@
823
823
  <line num="169" count="33" type="stmt"/>
824
824
  <line num="170" count="1" type="stmt"/>
825
825
  </file>
826
+ <file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query.js">
827
+ <metrics statements="70" coveredstatements="59" conditionals="25" coveredconditionals="12" methods="9" coveredmethods="9"/>
828
+ <line num="1" count="34" type="stmt"/>
829
+ <line num="2" count="34" type="stmt"/>
830
+ <line num="7" count="34" type="stmt"/>
831
+ <line num="8" count="34" type="stmt"/>
832
+ <line num="9" count="34" type="stmt"/>
833
+ <line num="11" count="34" type="stmt"/>
834
+ <line num="15" count="5" type="stmt"/>
835
+ <line num="16" count="5" type="cond" truecount="2" falsecount="0"/>
836
+ <line num="17" count="5" type="stmt"/>
837
+ <line num="18" count="4" type="cond" truecount="1" falsecount="1"/>
838
+ <line num="19" count="4" type="stmt"/>
839
+ <line num="22" count="5" type="cond" truecount="2" falsecount="0"/>
840
+ <line num="25" count="34" type="stmt"/>
841
+ <line num="26" count="2" type="stmt"/>
842
+ <line num="28" count="2" type="stmt"/>
843
+ <line num="33" count="2" type="stmt"/>
844
+ <line num="36" count="34" type="stmt"/>
845
+ <line num="37" count="20" type="stmt"/>
846
+ <line num="38" count="20" type="stmt"/>
847
+ <line num="40" count="20" type="cond" truecount="1" falsecount="1"/>
848
+ <line num="41" count="20" type="stmt"/>
849
+ <line num="44" count="20" type="stmt"/>
850
+ <line num="45" count="20" type="stmt"/>
851
+ <line num="47" count="20" type="stmt"/>
852
+ <line num="48" count="20" type="stmt"/>
853
+ <line num="52" count="4" type="stmt"/>
854
+ <line num="55" count="4" type="stmt"/>
855
+ <line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
856
+ <line num="57" count="0" type="stmt"/>
857
+ <line num="59" count="0" type="cond" truecount="0" falsecount="2"/>
858
+ <line num="61" count="0" type="stmt"/>
859
+ <line num="62" count="0" type="cond" truecount="0" falsecount="2"/>
860
+ <line num="64" count="0" type="stmt"/>
861
+ <line num="68" count="0" type="stmt"/>
862
+ <line num="72" count="4" type="cond" truecount="1" falsecount="1"/>
863
+ <line num="77" count="0" type="stmt"/>
864
+ <line num="78" count="0" type="stmt"/>
865
+ <line num="84" count="0" type="stmt"/>
866
+ <line num="86" count="0" type="stmt"/>
867
+ <line num="89" count="4" type="stmt"/>
868
+ <line num="92" count="34" type="stmt"/>
869
+ <line num="93" count="3" type="stmt"/>
870
+ <line num="94" count="3" type="stmt"/>
871
+ <line num="96" count="3" type="cond" truecount="2" falsecount="0"/>
872
+ <line num="97" count="1" type="stmt"/>
873
+ <line num="98" count="1" type="stmt"/>
874
+ <line num="100" count="3" type="stmt"/>
875
+ <line num="103" count="34" type="stmt"/>
876
+ <line num="104" count="2" type="stmt"/>
877
+ <line num="106" count="2" type="stmt"/>
878
+ <line num="108" count="2" type="stmt"/>
879
+ <line num="109" count="2" type="stmt"/>
880
+ <line num="111" count="2" type="stmt"/>
881
+ <line num="112" count="2" type="stmt"/>
882
+ <line num="119" count="1" type="stmt"/>
883
+ <line num="124" count="1" type="stmt"/>
884
+ <line num="128" count="34" type="stmt"/>
885
+ <line num="129" count="2" type="stmt"/>
886
+ <line num="131" count="2" type="stmt"/>
887
+ <line num="132" count="2" type="stmt"/>
888
+ <line num="134" count="2" type="stmt"/>
889
+ <line num="140" count="2" type="stmt"/>
890
+ <line num="141" count="2" type="stmt"/>
891
+ <line num="147" count="1" type="stmt"/>
892
+ <line num="149" count="1" type="stmt"/>
893
+ <line num="153" count="34" type="stmt"/>
894
+ <line num="154" count="1" type="stmt"/>
895
+ <line num="155" count="1" type="stmt"/>
896
+ <line num="156" count="1" type="stmt"/>
897
+ <line num="157" count="1" type="stmt"/>
898
+ </file>
826
899
  <file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/role.js">
827
900
  <metrics statements="53" coveredstatements="47" conditionals="22" coveredconditionals="14" methods="7" coveredmethods="5"/>
828
901
  <line num="1" count="33" type="stmt"/>
@@ -1087,7 +1160,7 @@
1087
1160
  <line num="196" count="1" type="stmt"/>
1088
1161
  </file>
1089
1162
  <file name="webhook.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/webhook.js">
1090
- <metrics statements="57" coveredstatements="52" conditionals="10" coveredconditionals="4" methods="7" coveredmethods="7"/>
1163
+ <metrics statements="56" coveredstatements="51" conditionals="10" coveredconditionals="4" methods="7" coveredmethods="7"/>
1091
1164
  <line num="1" count="33" type="stmt"/>
1092
1165
  <line num="2" count="33" type="stmt"/>
1093
1166
  <line num="3" count="33" type="stmt"/>
@@ -1125,131 +1198,25 @@
1125
1198
  <line num="65" count="1" type="stmt"/>
1126
1199
  <line num="66" count="1" type="stmt"/>
1127
1200
  <line num="67" count="1" type="stmt"/>
1201
+ <line num="68" count="1" type="stmt"/>
1128
1202
  <line num="69" count="1" type="stmt"/>
1129
- <line num="72" count="1" type="stmt"/>
1130
- <line num="73" count="1" type="stmt"/>
1131
- <line num="78" count="1" type="stmt"/>
1203
+ <line num="74" count="1" type="stmt"/>
1204
+ <line num="76" count="1" type="stmt"/>
1205
+ <line num="79" count="33" type="stmt"/>
1132
1206
  <line num="80" count="1" type="stmt"/>
1133
- <line num="83" count="33" type="stmt"/>
1134
- <line num="84" count="1" type="stmt"/>
1135
- <line num="85" count="1" type="stmt"/>
1136
- <line num="86" count="1" type="stmt"/>
1137
- <line num="87" count="1" type="stmt"/>
1207
+ <line num="81" count="1" type="stmt"/>
1208
+ <line num="82" count="1" type="stmt"/>
1209
+ <line num="83" count="1" type="stmt"/>
1210
+ <line num="85" count="1" type="cond" truecount="1" falsecount="1"/>
1211
+ <line num="86" count="0" type="stmt"/>
1212
+ <line num="88" count="1" type="stmt"/>
1138
1213
  <line num="89" count="1" type="cond" truecount="1" falsecount="1"/>
1139
- <line num="90" count="0" type="stmt"/>
1140
1214
  <line num="92" count="1" type="stmt"/>
1141
- <line num="93" count="1" type="cond" truecount="1" falsecount="1"/>
1142
- <line num="96" count="1" type="stmt"/>
1143
- <line num="102" count="1" type="stmt"/>
1144
- <line num="103" count="1" type="stmt"/>
1145
- <line num="107" count="0" type="cond" truecount="0" falsecount="2"/>
1146
- <line num="108" count="0" type="stmt"/>
1147
- <line num="109" count="0" type="stmt"/>
1148
- </file>
1149
- </package>
1150
- <package name="api.controllers.query">
1151
- <metrics statements="96" coveredstatements="70" conditionals="27" coveredconditionals="12" methods="13" coveredmethods="12"/>
1152
- <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query/index.js">
1153
- <metrics statements="88" coveredstatements="62" conditionals="27" coveredconditionals="12" methods="10" coveredmethods="9"/>
1154
- <line num="1" count="34" type="stmt"/>
1155
- <line num="2" count="34" type="stmt"/>
1156
- <line num="7" count="34" type="stmt"/>
1157
- <line num="8" count="34" type="stmt"/>
1158
- <line num="9" count="34" type="stmt"/>
1159
- <line num="10" count="34" type="stmt"/>
1160
- <line num="11" count="34" type="stmt"/>
1161
- <line num="13" count="34" type="stmt"/>
1162
- <line num="17" count="5" type="stmt"/>
1163
- <line num="18" count="5" type="cond" truecount="2" falsecount="0"/>
1164
- <line num="19" count="5" type="stmt"/>
1165
- <line num="20" count="4" type="cond" truecount="1" falsecount="1"/>
1166
- <line num="21" count="4" type="stmt"/>
1167
- <line num="24" count="5" type="cond" truecount="2" falsecount="0"/>
1168
- <line num="27" count="34" type="stmt"/>
1169
- <line num="28" count="2" type="stmt"/>
1170
- <line num="30" count="2" type="stmt"/>
1171
- <line num="36" count="2" type="stmt"/>
1172
- <line num="39" count="34" type="stmt"/>
1173
- <line num="40" count="0" type="stmt"/>
1174
- <line num="41" count="0" type="stmt"/>
1175
- <line num="43" count="0" type="stmt"/>
1176
- <line num="44" count="0" type="stmt"/>
1177
- <line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
1178
- <line num="49" count="0" type="stmt"/>
1179
- <line num="50" count="0" type="stmt"/>
1180
- <line num="60" count="0" type="stmt"/>
1181
- <line num="61" count="0" type="stmt"/>
1182
- <line num="62" count="0" type="stmt"/>
1183
- <line num="63" count="0" type="stmt"/>
1184
- <line num="66" count="0" type="stmt"/>
1185
- <line num="69" count="0" type="stmt"/>
1186
- <line num="71" count="0" type="stmt"/>
1187
- <line num="75" count="0" type="stmt"/>
1188
- <line num="78" count="34" type="stmt"/>
1189
- <line num="79" count="20" type="stmt"/>
1190
- <line num="80" count="20" type="stmt"/>
1191
- <line num="82" count="20" type="cond" truecount="1" falsecount="1"/>
1192
- <line num="83" count="20" type="stmt"/>
1193
- <line num="86" count="20" type="stmt"/>
1194
- <line num="87" count="20" type="stmt"/>
1195
- <line num="89" count="20" type="stmt"/>
1196
- <line num="90" count="20" type="stmt"/>
1197
- <line num="94" count="4" type="stmt"/>
1198
- <line num="97" count="4" type="stmt"/>
1199
- <line num="98" count="0" type="cond" truecount="0" falsecount="2"/>
1200
- <line num="99" count="0" type="stmt"/>
1201
- <line num="101" count="0" type="cond" truecount="0" falsecount="2"/>
1202
- <line num="103" count="0" type="stmt"/>
1203
- <line num="104" count="0" type="cond" truecount="0" falsecount="2"/>
1204
- <line num="106" count="0" type="stmt"/>
1205
- <line num="110" count="0" type="stmt"/>
1206
- <line num="114" count="4" type="cond" truecount="1" falsecount="1"/>
1207
- <line num="119" count="0" type="stmt"/>
1208
- <line num="120" count="0" type="stmt"/>
1209
- <line num="126" count="0" type="stmt"/>
1210
- <line num="128" count="0" type="stmt"/>
1211
- <line num="131" count="4" type="stmt"/>
1212
- <line num="134" count="34" type="stmt"/>
1213
- <line num="135" count="3" type="stmt"/>
1214
- <line num="136" count="3" type="stmt"/>
1215
- <line num="138" count="3" type="cond" truecount="2" falsecount="0"/>
1216
- <line num="139" count="1" type="stmt"/>
1217
- <line num="140" count="1" type="stmt"/>
1218
- <line num="142" count="3" type="stmt"/>
1219
- <line num="145" count="34" type="stmt"/>
1220
- <line num="146" count="2" type="stmt"/>
1221
- <line num="148" count="2" type="stmt"/>
1222
- <line num="150" count="2" type="stmt"/>
1223
- <line num="151" count="2" type="stmt"/>
1224
- <line num="153" count="2" type="stmt"/>
1225
- <line num="154" count="2" type="stmt"/>
1226
- <line num="161" count="1" type="stmt"/>
1227
- <line num="166" count="1" type="stmt"/>
1228
- <line num="170" count="34" type="stmt"/>
1229
- <line num="171" count="2" type="stmt"/>
1230
- <line num="173" count="2" type="stmt"/>
1231
- <line num="174" count="2" type="stmt"/>
1232
- <line num="176" count="2" type="stmt"/>
1233
- <line num="182" count="2" type="stmt"/>
1234
- <line num="183" count="2" type="stmt"/>
1235
- <line num="189" count="1" type="stmt"/>
1236
- <line num="191" count="1" type="stmt"/>
1237
- <line num="195" count="34" type="stmt"/>
1238
- <line num="196" count="1" type="stmt"/>
1239
- <line num="197" count="1" type="stmt"/>
1240
- <line num="198" count="1" type="stmt"/>
1241
- <line num="199" count="1" type="stmt"/>
1242
- </file>
1243
- <file name="validation.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query/validation.js">
1244
- <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
1245
- <line num="1" count="35" type="stmt"/>
1246
- <line num="2" count="35" type="stmt"/>
1247
- <line num="4" count="35" type="stmt"/>
1248
- <line num="5" count="28" type="stmt"/>
1249
- <line num="25" count="35" type="stmt"/>
1250
- <line num="27" count="23" type="stmt"/>
1251
- <line num="30" count="35" type="stmt"/>
1252
- <line num="32" count="23" type="stmt"/>
1215
+ <line num="98" count="1" type="stmt"/>
1216
+ <line num="99" count="1" type="stmt"/>
1217
+ <line num="103" count="0" type="cond" truecount="0" falsecount="2"/>
1218
+ <line num="104" count="0" type="stmt"/>
1219
+ <line num="105" count="0" type="stmt"/>
1253
1220
  </file>
1254
1221
  </package>
1255
1222
  <package name="api.controllers.row">
@@ -2496,7 +2463,7 @@
2496
2463
  </file>
2497
2464
  </package>
2498
2465
  <package name="api.routes">
2499
- <metrics statements="268" coveredstatements="261" conditionals="11" coveredconditionals="7" methods="10" coveredmethods="10"/>
2466
+ <metrics statements="271" coveredstatements="264" conditionals="11" coveredconditionals="7" methods="12" coveredmethods="12"/>
2500
2467
  <file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/analytics.js">
2501
2468
  <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2502
2469
  <line num="1" count="23" type="stmt"/>
@@ -2708,16 +2675,19 @@
2708
2675
  <line num="44" count="23" type="stmt"/>
2709
2676
  </file>
2710
2677
  <file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/query.js">
2711
- <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2678
+ <metrics statements="12" coveredstatements="12" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
2712
2679
  <line num="1" count="23" type="stmt"/>
2713
2680
  <line num="2" count="23" type="stmt"/>
2714
2681
  <line num="3" count="23" type="stmt"/>
2715
- <line num="8" count="23" type="stmt"/>
2716
- <line num="13" count="23" type="stmt"/>
2682
+ <line num="4" count="23" type="stmt"/>
2683
+ <line num="9" count="23" type="stmt"/>
2684
+ <line num="10" count="23" type="stmt"/>
2685
+ <line num="15" count="23" type="stmt"/>
2717
2686
  <line num="17" count="23" type="stmt"/>
2718
- <line num="19" count="23" type="stmt"/>
2719
2687
  <line num="21" count="23" type="stmt"/>
2720
- <line num="57" count="23" type="stmt"/>
2688
+ <line num="41" count="23" type="stmt"/>
2689
+ <line num="51" count="23" type="stmt"/>
2690
+ <line num="86" count="23" type="stmt"/>
2721
2691
  </file>
2722
2692
  <file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/role.js">
2723
2693
  <metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
@@ -3503,119 +3473,119 @@
3503
3473
  </file>
3504
3474
  <file name="newid.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/newid.js">
3505
3475
  <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
3506
- <line num="1" count="48" type="stmt"/>
3507
- <line num="3" count="48" type="stmt"/>
3508
- <line num="4" count="683" type="stmt"/>
3476
+ <line num="1" count="47" type="stmt"/>
3477
+ <line num="3" count="47" type="stmt"/>
3478
+ <line num="4" count="630" type="stmt"/>
3509
3479
  </file>
3510
3480
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
3511
3481
  <metrics statements="108" coveredstatements="100" conditionals="51" coveredconditionals="18" methods="30" coveredmethods="27"/>
3512
- <line num="1" count="48" type="stmt"/>
3513
- <line num="12" count="48" type="stmt"/>
3514
- <line num="14" count="48" type="stmt"/>
3515
- <line num="16" count="48" type="stmt"/>
3516
- <line num="22" count="48" type="stmt"/>
3517
- <line num="45" count="48" type="stmt"/>
3518
- <line num="50" count="48" type="stmt"/>
3519
- <line num="54" count="48" type="stmt"/>
3520
- <line num="58" count="48" type="stmt"/>
3521
- <line num="60" count="48" type="stmt"/>
3522
- <line num="68" count="48" type="stmt"/>
3523
- <line num="69" count="48" type="stmt"/>
3524
- <line num="70" count="48" type="stmt"/>
3525
- <line num="71" count="48" type="stmt"/>
3526
- <line num="72" count="48" type="stmt"/>
3527
- <line num="73" count="48" type="stmt"/>
3528
- <line num="74" count="48" type="stmt"/>
3529
- <line num="75" count="48" type="stmt"/>
3530
- <line num="76" count="48" type="stmt"/>
3531
- <line num="77" count="48" type="stmt"/>
3532
- <line num="78" count="48" type="stmt"/>
3533
- <line num="79" count="48" type="stmt"/>
3534
- <line num="80" count="48" type="stmt"/>
3535
- <line num="81" count="48" type="stmt"/>
3536
- <line num="83" count="48" type="stmt"/>
3537
- <line num="84" count="48" type="stmt"/>
3538
- <line num="86" count="48" type="stmt"/>
3482
+ <line num="1" count="47" type="stmt"/>
3483
+ <line num="12" count="47" type="stmt"/>
3484
+ <line num="14" count="47" type="stmt"/>
3485
+ <line num="16" count="47" type="stmt"/>
3486
+ <line num="22" count="47" type="stmt"/>
3487
+ <line num="45" count="47" type="stmt"/>
3488
+ <line num="50" count="47" type="stmt"/>
3489
+ <line num="54" count="47" type="stmt"/>
3490
+ <line num="58" count="47" type="stmt"/>
3491
+ <line num="60" count="47" type="stmt"/>
3492
+ <line num="68" count="47" type="stmt"/>
3493
+ <line num="69" count="47" type="stmt"/>
3494
+ <line num="70" count="47" type="stmt"/>
3495
+ <line num="71" count="47" type="stmt"/>
3496
+ <line num="72" count="47" type="stmt"/>
3497
+ <line num="73" count="47" type="stmt"/>
3498
+ <line num="74" count="47" type="stmt"/>
3499
+ <line num="75" count="47" type="stmt"/>
3500
+ <line num="76" count="47" type="stmt"/>
3501
+ <line num="77" count="47" type="stmt"/>
3502
+ <line num="78" count="47" type="stmt"/>
3503
+ <line num="79" count="47" type="stmt"/>
3504
+ <line num="80" count="47" type="stmt"/>
3505
+ <line num="81" count="47" type="stmt"/>
3506
+ <line num="83" count="47" type="stmt"/>
3507
+ <line num="84" count="47" type="stmt"/>
3508
+ <line num="86" count="47" type="stmt"/>
3539
3509
  <line num="87" count="74" type="stmt"/>
3540
3510
  <line num="103" count="606" type="cond" truecount="2" falsecount="0"/>
3541
3511
  <line num="104" count="593" type="stmt"/>
3542
3512
  <line num="106" count="606" type="stmt"/>
3543
- <line num="113" count="48" type="stmt"/>
3544
- <line num="118" count="48" type="cond" truecount="0" falsecount="2"/>
3513
+ <line num="113" count="47" type="stmt"/>
3514
+ <line num="118" count="47" type="cond" truecount="0" falsecount="2"/>
3545
3515
  <line num="119" count="3" type="stmt"/>
3546
- <line num="126" count="48" type="stmt"/>
3516
+ <line num="126" count="47" type="stmt"/>
3547
3517
  <line num="127" count="99" type="stmt"/>
3548
- <line num="138" count="48" type="cond" truecount="0" falsecount="3"/>
3518
+ <line num="138" count="47" type="cond" truecount="0" falsecount="3"/>
3549
3519
  <line num="139" count="11" type="cond" truecount="1" falsecount="1"/>
3550
3520
  <line num="140" count="0" type="stmt"/>
3551
3521
  <line num="143" count="11" type="cond" truecount="1" falsecount="1"/>
3552
3522
  <line num="145" count="11" type="stmt"/>
3553
- <line num="154" count="48" type="cond" truecount="1" falsecount="0"/>
3523
+ <line num="154" count="47" type="cond" truecount="1" falsecount="0"/>
3554
3524
  <line num="155" count="201" type="cond" truecount="2" falsecount="0"/>
3555
3525
  <line num="156" count="201" type="stmt"/>
3556
- <line num="162" count="48" type="cond" truecount="0" falsecount="2"/>
3526
+ <line num="162" count="47" type="cond" truecount="0" falsecount="2"/>
3557
3527
  <line num="163" count="3" type="stmt"/>
3558
- <line num="171" count="48" type="stmt"/>
3528
+ <line num="171" count="47" type="stmt"/>
3559
3529
  <line num="172" count="133" type="stmt"/>
3560
- <line num="178" count="48" type="stmt"/>
3530
+ <line num="178" count="47" type="stmt"/>
3561
3531
  <line num="179" count="2" type="stmt"/>
3562
3532
  <line num="180" count="2" type="cond" truecount="4" falsecount="0"/>
3563
3533
  <line num="181" count="1" type="stmt"/>
3564
3534
  <line num="183" count="1" type="stmt"/>
3565
- <line num="189" count="48" type="cond" truecount="0" falsecount="2"/>
3535
+ <line num="189" count="47" type="cond" truecount="0" falsecount="2"/>
3566
3536
  <line num="190" count="204" type="stmt"/>
3567
- <line num="197" count="48" type="stmt"/>
3537
+ <line num="197" count="47" type="stmt"/>
3568
3538
  <line num="198" count="20" type="stmt"/>
3569
- <line num="212" count="48" type="stmt"/>
3539
+ <line num="212" count="47" type="stmt"/>
3570
3540
  <line num="220" count="9" type="stmt"/>
3571
3541
  <line num="221" count="9" type="stmt"/>
3572
3542
  <line num="222" count="9" type="stmt"/>
3573
3543
  <line num="223" count="9" type="stmt"/>
3574
- <line num="229" count="48" type="cond" truecount="0" falsecount="1"/>
3544
+ <line num="229" count="47" type="cond" truecount="0" falsecount="1"/>
3575
3545
  <line num="230" count="0" type="stmt"/>
3576
- <line num="237" count="48" type="cond" truecount="0" falsecount="1"/>
3546
+ <line num="237" count="47" type="cond" truecount="0" falsecount="1"/>
3577
3547
  <line num="238" count="179" type="stmt"/>
3578
3548
  <line num="239" count="179" type="cond" truecount="1" falsecount="1"/>
3579
3549
  <line num="240" count="0" type="stmt"/>
3580
3550
  <line num="242" count="179" type="stmt"/>
3581
- <line num="249" count="48" type="stmt"/>
3551
+ <line num="249" count="47" type="stmt"/>
3582
3552
  <line num="250" count="179" type="stmt"/>
3583
3553
  <line num="251" count="179" type="stmt"/>
3584
3554
  <line num="252" count="179" type="stmt"/>
3585
- <line num="259" count="48" type="stmt"/>
3555
+ <line num="259" count="47" type="stmt"/>
3586
3556
  <line num="260" count="5" type="cond" truecount="2" falsecount="0"/>
3587
- <line num="266" count="48" type="cond" truecount="0" falsecount="2"/>
3557
+ <line num="266" count="47" type="cond" truecount="0" falsecount="2"/>
3588
3558
  <line num="267" count="189" type="stmt"/>
3589
- <line num="274" count="48" type="stmt"/>
3559
+ <line num="274" count="47" type="stmt"/>
3590
3560
  <line num="275" count="19" type="stmt"/>
3591
- <line num="281" count="48" type="cond" truecount="0" falsecount="2"/>
3561
+ <line num="281" count="47" type="cond" truecount="0" falsecount="2"/>
3592
3562
  <line num="282" count="191" type="stmt"/>
3593
- <line num="289" count="48" type="stmt"/>
3563
+ <line num="289" count="47" type="stmt"/>
3594
3564
  <line num="290" count="10" type="stmt"/>
3595
- <line num="296" count="48" type="cond" truecount="0" falsecount="2"/>
3565
+ <line num="296" count="47" type="cond" truecount="0" falsecount="2"/>
3596
3566
  <line num="297" count="2" type="stmt"/>
3597
- <line num="304" count="48" type="cond" truecount="1" falsecount="1"/>
3567
+ <line num="304" count="47" type="cond" truecount="1" falsecount="1"/>
3598
3568
  <line num="305" count="24" type="stmt"/>
3599
- <line num="313" count="48" type="cond" truecount="0" falsecount="2"/>
3569
+ <line num="313" count="47" type="cond" truecount="0" falsecount="2"/>
3600
3570
  <line num="314" count="3" type="stmt"/>
3601
- <line num="321" count="48" type="stmt"/>
3602
- <line num="322" count="73" type="stmt"/>
3603
- <line num="330" count="48" type="cond" truecount="0" falsecount="2"/>
3571
+ <line num="321" count="47" type="stmt"/>
3572
+ <line num="322" count="20" type="stmt"/>
3573
+ <line num="330" count="47" type="cond" truecount="0" falsecount="2"/>
3604
3574
  <line num="331" count="3" type="cond" truecount="2" falsecount="0"/>
3605
3575
  <line num="332" count="2" type="stmt"/>
3606
3576
  <line num="335" count="1" type="stmt"/>
3607
- <line num="342" count="48" type="stmt"/>
3577
+ <line num="342" count="47" type="stmt"/>
3608
3578
  <line num="343" count="10" type="stmt"/>
3609
- <line num="346" count="48" type="cond" truecount="0" falsecount="2"/>
3579
+ <line num="346" count="47" type="cond" truecount="0" falsecount="2"/>
3610
3580
  <line num="347" count="0" type="stmt"/>
3611
3581
  <line num="348" count="0" type="cond" truecount="0" falsecount="2"/>
3612
3582
  <line num="349" count="0" type="stmt"/>
3613
3583
  <line num="351" count="0" type="stmt"/>
3614
- <line num="354" count="48" type="stmt"/>
3584
+ <line num="354" count="47" type="stmt"/>
3615
3585
  <line num="355" count="1" type="stmt"/>
3616
- <line num="358" count="48" type="cond" truecount="0" falsecount="1"/>
3586
+ <line num="358" count="47" type="cond" truecount="0" falsecount="1"/>
3617
3587
  <line num="359" count="0" type="stmt"/>
3618
- <line num="365" count="48" type="stmt"/>
3588
+ <line num="365" count="47" type="stmt"/>
3619
3589
  <line num="366" count="60" type="stmt"/>
3620
3590
  </file>
3621
3591
  </package>
@@ -4010,7 +3980,7 @@
4010
3980
  <line num="11" count="24" type="stmt"/>
4011
3981
  <line num="14" count="7" type="stmt"/>
4012
3982
  <line num="17" count="24" type="stmt"/>
4013
- <line num="19" count="2269" type="stmt"/>
3983
+ <line num="19" count="2246" type="stmt"/>
4014
3984
  <line num="22" count="151" type="cond" truecount="4" falsecount="0"/>
4015
3985
  <line num="23" count="1" type="stmt"/>
4016
3986
  <line num="26" count="150" type="cond" truecount="2" falsecount="0"/>
@@ -4149,9 +4119,9 @@
4149
4119
  <line num="15" count="0" type="stmt"/>
4150
4120
  <line num="16" count="0" type="stmt"/>
4151
4121
  <line num="18" count="18" type="stmt"/>
4152
- <line num="22" count="35" type="stmt"/>
4122
+ <line num="22" count="23" type="stmt"/>
4153
4123
  <line num="23" count="230" type="stmt"/>
4154
- <line num="26" count="35" type="stmt"/>
4124
+ <line num="26" count="23" type="stmt"/>
4155
4125
  <line num="27" count="46" type="stmt"/>
4156
4126
  </file>
4157
4127
  <file name="resourceId.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/resourceId.js">