@budibase/server 2.0.30-alpha.3 → 2.0.30-alpha.4

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 (169) hide show
  1. package/__mocks__/mongodb.ts +1 -1
  2. package/builder/assets/{index.bd6c0866.js → index.0f137fa3.js} +244 -240
  3. package/builder/assets/{index.e56da48a.css → index.a6a040bb.css} +1 -1
  4. package/builder/index.html +2 -2
  5. package/coverage/clover.xml +185 -184
  6. package/coverage/coverage-final.json +3 -3
  7. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/index.html +1 -1
  14. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  15. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  20. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  21. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  23. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  24. package/coverage/lcov-report/api/controllers/row/index.html +1 -1
  25. package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
  26. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  33. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  35. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  38. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  39. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  40. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  42. package/coverage/lcov-report/api/index.html +1 -1
  43. package/coverage/lcov-report/api/index.js.html +1 -1
  44. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  45. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  46. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  47. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  48. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/index.html +1 -1
  54. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/utils/index.html +1 -1
  68. package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  71. package/coverage/lcov-report/automations/actions.js.html +1 -1
  72. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  73. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  74. package/coverage/lcov-report/automations/index.html +1 -1
  75. package/coverage/lcov-report/automations/index.js.html +1 -1
  76. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  77. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  78. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  79. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  80. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  81. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  82. package/coverage/lcov-report/automations/steps/index.html +1 -1
  83. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  93. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  94. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  95. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  96. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  97. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  98. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  99. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  100. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  101. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  102. package/coverage/lcov-report/constants/index.html +1 -1
  103. package/coverage/lcov-report/constants/index.js.html +8 -2
  104. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  105. package/coverage/lcov-report/constants/screens.js.html +1 -1
  106. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  107. package/coverage/lcov-report/db/index.html +1 -1
  108. package/coverage/lcov-report/db/index.js.html +1 -1
  109. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  110. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  111. package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
  112. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  113. package/coverage/lcov-report/db/newid.js.html +1 -1
  114. package/coverage/lcov-report/db/utils.js.html +1 -1
  115. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  116. package/coverage/lcov-report/events/index.html +1 -1
  117. package/coverage/lcov-report/events/index.js.html +1 -1
  118. package/coverage/lcov-report/events/utils.js.html +1 -1
  119. package/coverage/lcov-report/index.html +14 -14
  120. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  121. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  122. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  123. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  124. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  125. package/coverage/lcov-report/middleware/index.html +1 -1
  126. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  127. package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
  128. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  129. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  130. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  131. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  132. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  133. package/coverage/lcov-report/utilities/csvParser.js.html +11 -8
  134. package/coverage/lcov-report/utilities/global.js.html +1 -1
  135. package/coverage/lcov-report/utilities/index.html +15 -15
  136. package/coverage/lcov-report/utilities/index.js.html +1 -1
  137. package/coverage/lcov-report/utilities/plugins.js.html +1 -1
  138. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  139. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  140. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  141. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  142. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  143. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +17 -2
  144. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  145. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  146. package/coverage/lcov-report/utilities/security.js.html +1 -1
  147. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  148. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  149. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  150. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  151. package/coverage/lcov-report/utilities/users.js.html +1 -1
  152. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  153. package/coverage/lcov.info +324 -321
  154. package/dist/constants/index.js +2 -0
  155. package/dist/integrations/base/sqlTable.js +1 -0
  156. package/dist/integrations/mongodb.js +300 -11
  157. package/dist/package.json +7 -8
  158. package/dist/tsconfig.build.tsbuildinfo +1 -1
  159. package/dist/utilities/csvParser.js +1 -0
  160. package/dist/utilities/rowProcessor/index.js +5 -0
  161. package/package.json +8 -9
  162. package/specs/openapi.json +3 -0
  163. package/specs/openapi.yaml +3 -0
  164. package/src/constants/index.js +2 -0
  165. package/src/integrations/base/sqlTable.ts +1 -0
  166. package/src/integrations/mongodb.ts +290 -27
  167. package/src/integrations/tests/mongo.spec.ts +19 -19
  168. package/src/utilities/csvParser.js +1 -0
  169. package/src/utilities/rowProcessor/index.js +5 -0
@@ -10,8 +10,8 @@
10
10
  href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
11
11
  rel="stylesheet"
12
12
  />
13
- <script type="module" crossorigin src="/builder/assets/index.bd6c0866.js"></script>
14
- <link rel="stylesheet" href="/builder/assets/index.e56da48a.css">
13
+ <script type="module" crossorigin src="/builder/assets/index.0f137fa3.js"></script>
14
+ <link rel="stylesheet" href="/builder/assets/index.a6a040bb.css">
15
15
  </head>
16
16
  <body id="app">
17
17
 
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1665652219792" clover="3.2.0">
3
- <project timestamp="1665652219792" name="All files">
4
- <metrics statements="4123" coveredstatements="2999" conditionals="1772" coveredconditionals="974" methods="614" coveredmethods="430" elements="6509" coveredelements="4403" complexity="0" loc="4123" ncloc="4123" packages="22" files="123" classes="123"/>
2
+ <coverage generated="1665676429195" clover="3.2.0">
3
+ <project timestamp="1665676429195" name="All files">
4
+ <metrics statements="4124" coveredstatements="2999" conditionals="1772" coveredconditionals="974" methods="615" coveredmethods="430" elements="6511" coveredelements="4403" complexity="0" loc="4124" ncloc="4124" packages="22" files="123" classes="123"/>
5
5
  <package name="api">
6
6
  <metrics statements="35" coveredstatements="34" 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">
@@ -3094,27 +3094,27 @@
3094
3094
  <line num="22" count="53" type="stmt"/>
3095
3095
  <line num="23" count="53" type="stmt"/>
3096
3096
  <line num="32" count="53" type="stmt"/>
3097
- <line num="48" count="53" type="stmt"/>
3098
- <line num="58" count="53" type="stmt"/>
3099
- <line num="59" count="106" type="cond" truecount="1" falsecount="1"/>
3100
- <line num="62" count="53" type="stmt"/>
3101
- <line num="68" count="53" type="stmt"/>
3102
- <line num="73" count="53" type="stmt"/>
3103
- <line num="79" count="53" type="stmt"/>
3104
- <line num="90" count="53" type="stmt"/>
3105
- <line num="94" count="53" type="stmt"/>
3106
- <line num="99" count="53" type="stmt"/>
3107
- <line num="161" count="53" type="stmt"/>
3108
- <line num="169" count="53" type="stmt"/>
3109
- <line num="177" count="53" type="stmt"/>
3110
- <line num="178" count="53" type="stmt"/>
3111
- <line num="185" count="53" type="stmt"/>
3112
- <line num="190" count="53" type="stmt"/>
3113
- <line num="196" count="53" type="stmt"/>
3114
- <line num="201" count="53" type="stmt"/>
3115
- <line num="205" count="53" type="stmt"/>
3116
- <line num="212" count="53" type="stmt"/>
3097
+ <line num="49" count="53" type="stmt"/>
3098
+ <line num="60" count="53" type="stmt"/>
3099
+ <line num="61" count="106" type="cond" truecount="1" falsecount="1"/>
3100
+ <line num="64" count="53" type="stmt"/>
3101
+ <line num="70" count="53" type="stmt"/>
3102
+ <line num="75" count="53" type="stmt"/>
3103
+ <line num="81" count="53" type="stmt"/>
3104
+ <line num="92" count="53" type="stmt"/>
3105
+ <line num="96" count="53" type="stmt"/>
3106
+ <line num="101" count="53" type="stmt"/>
3107
+ <line num="163" count="53" type="stmt"/>
3108
+ <line num="171" count="53" type="stmt"/>
3109
+ <line num="179" count="53" type="stmt"/>
3110
+ <line num="180" count="53" type="stmt"/>
3111
+ <line num="187" count="53" type="stmt"/>
3112
+ <line num="192" count="53" type="stmt"/>
3113
+ <line num="198" count="53" type="stmt"/>
3114
+ <line num="203" count="53" type="stmt"/>
3115
+ <line num="207" count="53" type="stmt"/>
3117
3116
  <line num="214" count="53" type="stmt"/>
3117
+ <line num="216" count="53" type="stmt"/>
3118
3118
  </file>
3119
3119
  <file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
3120
3120
  <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
@@ -3870,7 +3870,7 @@
3870
3870
  </file>
3871
3871
  </package>
3872
3872
  <package name="utilities">
3873
- <metrics statements="377" coveredstatements="269" conditionals="164" coveredconditionals="94" methods="72" coveredmethods="50"/>
3873
+ <metrics statements="378" coveredstatements="269" conditionals="164" coveredconditionals="94" methods="73" coveredmethods="50"/>
3874
3874
  <file name="budibaseDir.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/budibaseDir.js">
3875
3875
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
3876
3876
  <line num="1" count="47" type="stmt"/>
@@ -3885,79 +3885,80 @@
3885
3885
  <line num="21" count="1" type="stmt"/>
3886
3886
  </file>
3887
3887
  <file name="csvParser.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/csvParser.js">
3888
- <metrics statements="72" coveredstatements="57" conditionals="34" coveredconditionals="23" methods="15" coveredmethods="12"/>
3888
+ <metrics statements="73" coveredstatements="57" conditionals="34" coveredconditionals="23" methods="16" coveredmethods="12"/>
3889
3889
  <line num="1" count="46" type="stmt"/>
3890
3890
  <line num="2" count="46" type="stmt"/>
3891
3891
  <line num="4" count="46" type="stmt"/>
3892
3892
  <line num="5" count="0" type="stmt"/>
3893
3893
  <line num="6" count="0" type="stmt"/>
3894
- <line num="9" count="7" type="cond" truecount="1" falsecount="1"/>
3895
- <line num="10" count="0" type="stmt"/>
3896
- <line num="12" count="7" type="stmt"/>
3897
- <line num="16" count="0" type="cond" truecount="0" falsecount="2"/>
3898
- <line num="17" count="0" type="stmt"/>
3899
- <line num="19" count="0" type="stmt"/>
3900
- <line num="23" count="46" type="stmt"/>
3901
- <line num="25" count="3" type="cond" truecount="1" falsecount="1"/>
3902
- <line num="26" count="0" type="stmt"/>
3903
- <line num="28" count="3" type="stmt"/>
3904
- <line num="31" count="2" type="cond" truecount="1" falsecount="1"/>
3905
- <line num="32" count="0" type="stmt"/>
3906
- <line num="34" count="2" type="stmt"/>
3907
- <line num="39" count="3" type="stmt"/>
3908
- <line num="41" count="3" type="stmt"/>
3909
- <line num="43" count="3" type="stmt"/>
3894
+ <line num="7" count="0" type="stmt"/>
3895
+ <line num="10" count="7" type="cond" truecount="1" falsecount="1"/>
3896
+ <line num="11" count="0" type="stmt"/>
3897
+ <line num="13" count="7" type="stmt"/>
3898
+ <line num="17" count="0" type="cond" truecount="0" falsecount="2"/>
3899
+ <line num="18" count="0" type="stmt"/>
3900
+ <line num="20" count="0" type="stmt"/>
3901
+ <line num="24" count="46" type="stmt"/>
3902
+ <line num="26" count="3" type="cond" truecount="1" falsecount="1"/>
3903
+ <line num="27" count="0" type="stmt"/>
3904
+ <line num="29" count="3" type="stmt"/>
3905
+ <line num="32" count="2" type="cond" truecount="1" falsecount="1"/>
3906
+ <line num="33" count="0" type="stmt"/>
3907
+ <line num="35" count="2" type="stmt"/>
3908
+ <line num="40" count="3" type="stmt"/>
3909
+ <line num="42" count="3" type="stmt"/>
3910
3910
  <line num="44" count="3" type="stmt"/>
3911
3911
  <line num="45" count="3" type="stmt"/>
3912
- <line num="46" count="10" type="stmt"/>
3913
- <line num="52" count="3" type="stmt"/>
3914
- <line num="54" count="7" type="stmt"/>
3915
- <line num="55" count="9" type="cond" truecount="4" falsecount="0"/>
3916
- <line num="57" count="7" type="stmt"/>
3917
- <line num="59" count="7" type="stmt"/>
3918
- <line num="61" count="7" type="cond" truecount="2" falsecount="0"/>
3919
- <line num="63" count="0" type="stmt"/>
3920
- <line num="68" count="3" type="stmt"/>
3921
- <line num="69" count="3" type="cond" truecount="1" falsecount="1"/>
3922
- <line num="70" count="0" type="stmt"/>
3912
+ <line num="46" count="3" type="stmt"/>
3913
+ <line num="47" count="10" type="stmt"/>
3914
+ <line num="53" count="3" type="stmt"/>
3915
+ <line num="55" count="7" type="stmt"/>
3916
+ <line num="56" count="9" type="cond" truecount="4" falsecount="0"/>
3917
+ <line num="58" count="7" type="stmt"/>
3918
+ <line num="60" count="7" type="stmt"/>
3919
+ <line num="62" count="7" type="cond" truecount="2" falsecount="0"/>
3920
+ <line num="64" count="0" type="stmt"/>
3921
+ <line num="69" count="3" type="stmt"/>
3922
+ <line num="70" count="3" type="cond" truecount="1" falsecount="1"/>
3923
3923
  <line num="71" count="0" type="stmt"/>
3924
- <line num="74" count="3" type="stmt"/>
3925
- <line num="80" count="3" type="cond" truecount="1" falsecount="1"/>
3926
- <line num="81" count="0" type="stmt"/>
3927
- <line num="83" count="3" type="stmt"/>
3924
+ <line num="72" count="0" type="stmt"/>
3925
+ <line num="75" count="3" type="stmt"/>
3926
+ <line num="81" count="3" type="cond" truecount="1" falsecount="1"/>
3927
+ <line num="82" count="0" type="stmt"/>
3928
3928
  <line num="84" count="3" type="stmt"/>
3929
- <line num="85" count="8" type="stmt"/>
3930
- <line num="86" count="3" type="stmt"/>
3931
- <line num="87" count="8" type="stmt"/>
3929
+ <line num="85" count="3" type="stmt"/>
3930
+ <line num="86" count="8" type="stmt"/>
3931
+ <line num="87" count="3" type="stmt"/>
3932
3932
  <line num="88" count="8" type="stmt"/>
3933
- <line num="89" count="8" type="cond" truecount="1" falsecount="1"/>
3934
- <line num="90" count="8" type="stmt"/>
3933
+ <line num="89" count="8" type="stmt"/>
3934
+ <line num="90" count="8" type="cond" truecount="1" falsecount="1"/>
3935
3935
  <line num="91" count="8" type="stmt"/>
3936
- <line num="94" count="3" type="stmt"/>
3937
- <line num="98" count="6" type="stmt"/>
3938
- <line num="101" count="6" type="cond" truecount="2" falsecount="0"/>
3939
- <line num="102" count="3" type="stmt"/>
3940
- <line num="105" count="6" type="stmt"/>
3941
- <line num="107" count="13" type="cond" truecount="1" falsecount="1"/>
3942
- <line num="108" count="13" type="cond" truecount="2" falsecount="0"/>
3943
- <line num="112" count="6" type="stmt"/>
3936
+ <line num="92" count="8" type="stmt"/>
3937
+ <line num="95" count="3" type="stmt"/>
3938
+ <line num="99" count="6" type="stmt"/>
3939
+ <line num="102" count="6" type="cond" truecount="2" falsecount="0"/>
3940
+ <line num="103" count="3" type="stmt"/>
3941
+ <line num="106" count="6" type="stmt"/>
3942
+ <line num="108" count="13" type="cond" truecount="1" falsecount="1"/>
3943
+ <line num="109" count="13" type="cond" truecount="2" falsecount="0"/>
3944
3944
  <line num="113" count="6" type="stmt"/>
3945
- <line num="114" count="5" type="stmt"/>
3946
- <line num="115" count="12" type="stmt"/>
3947
- <line num="116" count="5" type="stmt"/>
3948
- <line num="117" count="9" type="cond" truecount="1" falsecount="1"/>
3949
- <line num="118" count="0" type="stmt"/>
3950
- <line num="120" count="9" type="stmt"/>
3951
- <line num="121" count="20" type="stmt"/>
3952
- <line num="123" count="20" type="cond" truecount="2" falsecount="0"/>
3953
- <line num="124" count="6" type="stmt"/>
3954
- <line num="127" count="14" type="cond" truecount="1" falsecount="1"/>
3955
- <line num="128" count="0" type="stmt"/>
3945
+ <line num="114" count="6" type="stmt"/>
3946
+ <line num="115" count="5" type="stmt"/>
3947
+ <line num="116" count="12" type="stmt"/>
3948
+ <line num="117" count="5" type="stmt"/>
3949
+ <line num="118" count="9" type="cond" truecount="1" falsecount="1"/>
3950
+ <line num="119" count="0" type="stmt"/>
3951
+ <line num="121" count="9" type="stmt"/>
3952
+ <line num="122" count="20" type="stmt"/>
3953
+ <line num="124" count="20" type="cond" truecount="2" falsecount="0"/>
3954
+ <line num="125" count="6" type="stmt"/>
3955
+ <line num="128" count="14" type="cond" truecount="1" falsecount="1"/>
3956
3956
  <line num="129" count="0" type="stmt"/>
3957
- <line num="133" count="5" type="stmt"/>
3958
- <line num="135" count="1" type="stmt"/>
3957
+ <line num="130" count="0" type="stmt"/>
3958
+ <line num="134" count="5" type="stmt"/>
3959
3959
  <line num="136" count="1" type="stmt"/>
3960
- <line num="140" count="46" type="stmt"/>
3960
+ <line num="137" count="1" type="stmt"/>
3961
+ <line num="141" count="46" type="stmt"/>
3961
3962
  </file>
3962
3963
  <file name="global.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/global.js">
3963
3964
  <metrics statements="70" coveredstatements="55" conditionals="41" coveredconditionals="27" methods="16" coveredmethods="11"/>
@@ -4347,119 +4348,119 @@
4347
4348
  <line num="30" count="9" type="cond" truecount="1" falsecount="1"/>
4348
4349
  <line num="31" count="0" type="stmt"/>
4349
4350
  <line num="33" count="9" type="stmt"/>
4350
- <line num="65" count="9" type="stmt"/>
4351
- <line num="72" count="2" type="cond" truecount="2" falsecount="0"/>
4352
- <line num="73" count="1" type="stmt"/>
4353
- <line num="75" count="1" type="stmt"/>
4354
- <line num="91" count="0" type="stmt"/>
4355
- <line num="95" count="0" type="stmt"/>
4356
- <line num="96" count="0" type="cond" truecount="0" falsecount="2"/>
4357
- <line num="97" count="0" type="stmt"/>
4358
- <line num="99" count="0" type="stmt"/>
4359
- <line num="101" count="0" type="stmt"/>
4360
- <line num="112" count="0" type="cond" truecount="0" falsecount="2"/>
4361
- <line num="113" count="0" type="stmt"/>
4362
- <line num="115" count="0" type="stmt"/>
4351
+ <line num="70" count="9" type="stmt"/>
4352
+ <line num="77" count="2" type="cond" truecount="2" falsecount="0"/>
4353
+ <line num="78" count="1" type="stmt"/>
4354
+ <line num="80" count="1" type="stmt"/>
4355
+ <line num="96" count="0" type="stmt"/>
4356
+ <line num="100" count="0" type="stmt"/>
4357
+ <line num="101" count="0" type="cond" truecount="0" falsecount="2"/>
4358
+ <line num="102" count="0" type="stmt"/>
4359
+ <line num="104" count="0" type="stmt"/>
4360
+ <line num="106" count="0" type="stmt"/>
4363
4361
  <line num="117" count="0" type="cond" truecount="0" falsecount="2"/>
4364
4362
  <line num="118" count="0" type="stmt"/>
4365
4363
  <line num="120" count="0" type="stmt"/>
4366
- <line num="121" count="0" type="stmt"/>
4367
- <line num="140" count="86" type="cond" truecount="2" falsecount="0"/>
4368
- <line num="141" count="86" type="stmt"/>
4369
- <line num="142" count="86" type="stmt"/>
4370
- <line num="144" count="86" type="stmt"/>
4371
- <line num="147" count="86" type="cond" truecount="4" falsecount="0"/>
4372
- <line num="148" count="86" type="stmt"/>
4373
- <line num="149" count="232" type="cond" truecount="1" falsecount="1"/>
4374
- <line num="150" count="232" type="stmt"/>
4375
- <line num="152" count="0" type="cond" truecount="0" falsecount="2"/>
4376
- <line num="153" count="0" type="stmt"/>
4377
- <line num="155" count="0" type="cond" truecount="0" falsecount="5"/>
4378
- <line num="157" count="0" type="cond" truecount="0" falsecount="4"/>
4364
+ <line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
4365
+ <line num="123" count="0" type="stmt"/>
4366
+ <line num="125" count="0" type="stmt"/>
4367
+ <line num="126" count="0" type="stmt"/>
4368
+ <line num="145" count="86" type="cond" truecount="2" falsecount="0"/>
4369
+ <line num="146" count="86" type="stmt"/>
4370
+ <line num="147" count="86" type="stmt"/>
4371
+ <line num="149" count="86" type="stmt"/>
4372
+ <line num="152" count="86" type="cond" truecount="4" falsecount="0"/>
4373
+ <line num="153" count="86" type="stmt"/>
4374
+ <line num="154" count="232" type="cond" truecount="1" falsecount="1"/>
4375
+ <line num="155" count="232" type="stmt"/>
4376
+ <line num="157" count="0" type="cond" truecount="0" falsecount="2"/>
4379
4377
  <line num="158" count="0" type="stmt"/>
4380
- <line num="160" count="0" type="stmt"/>
4381
- <line num="162" count="0" type="cond" truecount="0" falsecount="2"/>
4378
+ <line num="160" count="0" type="cond" truecount="0" falsecount="5"/>
4379
+ <line num="162" count="0" type="cond" truecount="0" falsecount="4"/>
4382
4380
  <line num="163" count="0" type="stmt"/>
4383
4381
  <line num="165" count="0" type="stmt"/>
4384
4382
  <line num="167" count="0" type="cond" truecount="0" falsecount="2"/>
4385
4383
  <line num="168" count="0" type="stmt"/>
4386
4384
  <line num="170" count="0" type="stmt"/>
4387
- <line num="172" count="0" type="stmt"/>
4385
+ <line num="172" count="0" type="cond" truecount="0" falsecount="2"/>
4388
4386
  <line num="173" count="0" type="stmt"/>
4389
- <line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
4390
- <line num="176" count="0" type="cond" truecount="0" falsecount="2"/>
4387
+ <line num="175" count="0" type="stmt"/>
4391
4388
  <line num="177" count="0" type="stmt"/>
4392
- <line num="179" count="0" type="stmt"/>
4393
- <line num="182" count="86" type="stmt"/>
4394
- <line num="184" count="45" type="stmt"/>
4395
- <line num="185" count="45" type="stmt"/>
4396
- <line num="186" count="45" type="stmt"/>
4397
- <line num="194" count="45" type="stmt"/>
4398
- <line num="196" count="200" type="cond" truecount="1" falsecount="1"/>
4399
- <line num="197" count="0" type="stmt"/>
4400
- <line num="200" count="200" type="cond" truecount="2" falsecount="0"/>
4401
- <line num="201" count="16" type="stmt"/>
4402
- <line num="202" count="184" type="cond" truecount="2" falsecount="0"/>
4403
- <line num="203" count="22" type="stmt"/>
4404
- <line num="206" count="162" type="stmt"/>
4405
- <line num="218" count="45" type="stmt"/>
4406
- <line num="224" count="86" type="stmt"/>
4407
- <line num="226" count="86" type="stmt"/>
4408
- <line num="227" count="86" type="stmt"/>
4409
- <line num="228" count="86" type="stmt"/>
4410
- <line num="229" count="397" type="stmt"/>
4411
- <line num="231" count="397" type="cond" truecount="2" falsecount="0"/>
4412
- <line num="232" count="198" type="cond" truecount="2" falsecount="0"/>
4413
- <line num="233" count="13" type="stmt"/>
4414
- <line num="235" count="198" type="stmt"/>
4415
- <line num="238" count="199" type="cond" truecount="1" falsecount="1"/>
4416
- <line num="239" count="0" type="stmt"/>
4417
- <line num="243" count="199" type="stmt"/>
4418
- <line num="247" count="86" type="cond" truecount="4" falsecount="0"/>
4419
- <line num="248" count="80" type="stmt"/>
4420
- <line num="249" count="80" type="stmt"/>
4421
- <line num="253" count="86" type="stmt"/>
4422
- <line num="265" count="45" type="cond" truecount="1" falsecount="0"/>
4423
- <line num="266" count="126" type="stmt"/>
4424
- <line num="267" count="126" type="cond" truecount="2" falsecount="0"/>
4425
- <line num="268" count="106" type="stmt"/>
4426
- <line num="269" count="106" type="stmt"/>
4427
- <line num="272" count="126" type="stmt"/>
4428
- <line num="275" count="126" type="stmt"/>
4429
- <line num="278" count="126" type="stmt"/>
4430
- <line num="279" count="351" type="cond" truecount="2" falsecount="0"/>
4431
- <line num="280" count="8" type="stmt"/>
4432
- <line num="281" count="8" type="cond" truecount="4" falsecount="0"/>
4433
- <line num="282" count="2" type="stmt"/>
4434
- <line num="284" count="6" type="stmt"/>
4435
- <line num="285" count="2" type="stmt"/>
4436
- <line num="290" count="126" type="cond" truecount="2" falsecount="0"/>
4437
- <line num="291" count="40" type="stmt"/>
4438
- <line num="293" count="126" type="cond" truecount="2" falsecount="0"/>
4439
- <line num="306" count="45" type="stmt"/>
4440
- <line num="307" count="14" type="stmt"/>
4441
- <line num="308" count="14" type="cond" truecount="1" falsecount="1"/>
4442
- <line num="309" count="14" type="stmt"/>
4443
- <line num="311" count="14" type="stmt"/>
4444
- <line num="312" count="14" type="cond" truecount="1" falsecount="1"/>
4445
- <line num="313" count="14" type="stmt"/>
4446
- <line num="316" count="0" type="stmt"/>
4447
- <line num="318" count="0" type="cond" truecount="0" falsecount="2"/>
4448
- <line num="319" count="0" type="stmt"/>
4449
- <line num="322" count="0" type="cond" truecount="0" falsecount="2"/>
4450
- <line num="323" count="0" type="stmt"/>
4451
- <line num="324" count="0" type="cond" truecount="0" falsecount="2"/>
4452
- <line num="325" count="0" type="stmt"/>
4453
- <line num="328" count="0" type="cond" truecount="0" falsecount="4"/>
4454
- <line num="329" count="0" type="stmt"/>
4455
- <line num="330" count="0" type="cond" truecount="0" falsecount="4"/>
4456
- <line num="332" count="0" type="stmt"/>
4457
- <line num="333" count="0" type="cond" truecount="0" falsecount="2"/>
4389
+ <line num="178" count="0" type="stmt"/>
4390
+ <line num="180" count="0" type="cond" truecount="0" falsecount="2"/>
4391
+ <line num="181" count="0" type="cond" truecount="0" falsecount="2"/>
4392
+ <line num="182" count="0" type="stmt"/>
4393
+ <line num="184" count="0" type="stmt"/>
4394
+ <line num="187" count="86" type="stmt"/>
4395
+ <line num="189" count="45" type="stmt"/>
4396
+ <line num="190" count="45" type="stmt"/>
4397
+ <line num="191" count="45" type="stmt"/>
4398
+ <line num="199" count="45" type="stmt"/>
4399
+ <line num="201" count="200" type="cond" truecount="1" falsecount="1"/>
4400
+ <line num="202" count="0" type="stmt"/>
4401
+ <line num="205" count="200" type="cond" truecount="2" falsecount="0"/>
4402
+ <line num="206" count="16" type="stmt"/>
4403
+ <line num="207" count="184" type="cond" truecount="2" falsecount="0"/>
4404
+ <line num="208" count="22" type="stmt"/>
4405
+ <line num="211" count="162" type="stmt"/>
4406
+ <line num="223" count="45" type="stmt"/>
4407
+ <line num="229" count="86" type="stmt"/>
4408
+ <line num="231" count="86" type="stmt"/>
4409
+ <line num="232" count="86" type="stmt"/>
4410
+ <line num="233" count="86" type="stmt"/>
4411
+ <line num="234" count="397" type="stmt"/>
4412
+ <line num="236" count="397" type="cond" truecount="2" falsecount="0"/>
4413
+ <line num="237" count="198" type="cond" truecount="2" falsecount="0"/>
4414
+ <line num="238" count="13" type="stmt"/>
4415
+ <line num="240" count="198" type="stmt"/>
4416
+ <line num="243" count="199" type="cond" truecount="1" falsecount="1"/>
4417
+ <line num="244" count="0" type="stmt"/>
4418
+ <line num="248" count="199" type="stmt"/>
4419
+ <line num="252" count="86" type="cond" truecount="4" falsecount="0"/>
4420
+ <line num="253" count="80" type="stmt"/>
4421
+ <line num="254" count="80" type="stmt"/>
4422
+ <line num="258" count="86" type="stmt"/>
4423
+ <line num="270" count="45" type="cond" truecount="1" falsecount="0"/>
4424
+ <line num="271" count="126" type="stmt"/>
4425
+ <line num="272" count="126" type="cond" truecount="2" falsecount="0"/>
4426
+ <line num="273" count="106" type="stmt"/>
4427
+ <line num="274" count="106" type="stmt"/>
4428
+ <line num="277" count="126" type="stmt"/>
4429
+ <line num="280" count="126" type="stmt"/>
4430
+ <line num="283" count="126" type="stmt"/>
4431
+ <line num="284" count="351" type="cond" truecount="2" falsecount="0"/>
4432
+ <line num="285" count="8" type="stmt"/>
4433
+ <line num="286" count="8" type="cond" truecount="4" falsecount="0"/>
4434
+ <line num="287" count="2" type="stmt"/>
4435
+ <line num="289" count="6" type="stmt"/>
4436
+ <line num="290" count="2" type="stmt"/>
4437
+ <line num="295" count="126" type="cond" truecount="2" falsecount="0"/>
4438
+ <line num="296" count="40" type="stmt"/>
4439
+ <line num="298" count="126" type="cond" truecount="2" falsecount="0"/>
4440
+ <line num="311" count="45" type="stmt"/>
4441
+ <line num="312" count="14" type="stmt"/>
4442
+ <line num="313" count="14" type="cond" truecount="1" falsecount="1"/>
4443
+ <line num="314" count="14" type="stmt"/>
4444
+ <line num="316" count="14" type="stmt"/>
4445
+ <line num="317" count="14" type="cond" truecount="1" falsecount="1"/>
4446
+ <line num="318" count="14" type="stmt"/>
4447
+ <line num="321" count="0" type="stmt"/>
4448
+ <line num="323" count="0" type="cond" truecount="0" falsecount="2"/>
4449
+ <line num="324" count="0" type="stmt"/>
4450
+ <line num="327" count="0" type="cond" truecount="0" falsecount="2"/>
4451
+ <line num="328" count="0" type="stmt"/>
4452
+ <line num="329" count="0" type="cond" truecount="0" falsecount="2"/>
4453
+ <line num="330" count="0" type="stmt"/>
4454
+ <line num="333" count="0" type="cond" truecount="0" falsecount="4"/>
4458
4455
  <line num="334" count="0" type="stmt"/>
4459
- <line num="335" count="0" type="cond" truecount="0" falsecount="2"/>
4460
- <line num="336" count="0" type="stmt"/>
4461
- <line num="339" count="0" type="cond" truecount="0" falsecount="2"/>
4462
- <line num="340" count="0" type="stmt"/>
4456
+ <line num="335" count="0" type="cond" truecount="0" falsecount="4"/>
4457
+ <line num="337" count="0" type="stmt"/>
4458
+ <line num="338" count="0" type="cond" truecount="0" falsecount="2"/>
4459
+ <line num="339" count="0" type="stmt"/>
4460
+ <line num="340" count="0" type="cond" truecount="0" falsecount="2"/>
4461
+ <line num="341" count="0" type="stmt"/>
4462
+ <line num="344" count="0" type="cond" truecount="0" falsecount="2"/>
4463
+ <line num="345" count="0" type="stmt"/>
4463
4464
  </file>
4464
4465
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/utils.js">
4465
4466
  <metrics statements="43" coveredstatements="21" conditionals="44" coveredconditionals="18" methods="3" coveredmethods="2"/>