@budibase/server 1.0.46-alpha.8 → 1.0.49-alpha.0

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 (184) hide show
  1. package/builder/assets/{index.51efc215.js → index.8184eed9.js} +147 -147
  2. package/builder/index.html +1 -1
  3. package/coverage/clover.xml +181 -170
  4. package/coverage/coverage-final.json +2 -2
  5. package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
  6. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  7. package/coverage/lcov-report/api/controllers/application.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/component.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  15. package/coverage/lcov-report/api/controllers/index.html +1 -1
  16. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  21. package/coverage/lcov-report/api/controllers/query/index.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  23. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  24. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  25. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  26. package/coverage/lcov-report/api/controllers/row/index.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  33. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/table/index.html +19 -19
  35. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/table/internal.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/table/utils.js.html +75 -12
  38. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  39. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  40. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  42. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  43. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  44. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  45. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  46. package/coverage/lcov-report/api/index.html +1 -1
  47. package/coverage/lcov-report/api/index.js.html +1 -1
  48. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/application.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/index.html +1 -1
  60. package/coverage/lcov-report/api/routes/index.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/row.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  71. package/coverage/lcov-report/api/routes/static.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  74. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  75. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  76. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  77. package/coverage/lcov-report/automations/actions.js.html +1 -1
  78. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  79. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  80. package/coverage/lcov-report/automations/index.html +1 -1
  81. package/coverage/lcov-report/automations/index.js.html +1 -1
  82. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  83. package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/index.html +1 -1
  91. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  95. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  96. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  97. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  98. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  99. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  100. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  101. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  102. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  103. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  104. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  105. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  106. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  107. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  108. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  109. package/coverage/lcov-report/automations/utils.js.html +1 -1
  110. package/coverage/lcov-report/constants/index.html +11 -11
  111. package/coverage/lcov-report/constants/index.js.html +21 -12
  112. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  113. package/coverage/lcov-report/constants/screens.js.html +1 -1
  114. package/coverage/lcov-report/db/client.js.html +1 -1
  115. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  116. package/coverage/lcov-report/db/index.html +1 -1
  117. package/coverage/lcov-report/db/index.js.html +1 -1
  118. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  119. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  120. package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
  121. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  122. package/coverage/lcov-report/db/newid.js.html +1 -1
  123. package/coverage/lcov-report/db/utils.js.html +1 -1
  124. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  125. package/coverage/lcov-report/events/index.html +1 -1
  126. package/coverage/lcov-report/events/index.js.html +1 -1
  127. package/coverage/lcov-report/events/utils.js.html +1 -1
  128. package/coverage/lcov-report/index.html +24 -24
  129. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  130. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  131. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  132. package/coverage/lcov-report/middleware/authorized.js.html +1 -1
  133. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  134. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  135. package/coverage/lcov-report/middleware/index.html +1 -1
  136. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  137. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  138. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  139. package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
  140. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  141. package/coverage/lcov-report/migrations/usageQuotas/index.html +1 -1
  142. package/coverage/lcov-report/migrations/usageQuotas/index.js.html +1 -1
  143. package/coverage/lcov-report/migrations/usageQuotas/syncApps.js.html +1 -1
  144. package/coverage/lcov-report/migrations/usageQuotas/syncRows.js.html +1 -1
  145. package/coverage/lcov-report/threads/automation.js.html +1 -1
  146. package/coverage/lcov-report/threads/index.html +1 -1
  147. package/coverage/lcov-report/threads/index.js.html +1 -1
  148. package/coverage/lcov-report/threads/query.js.html +1 -1
  149. package/coverage/lcov-report/threads/utils.js.html +1 -1
  150. package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
  151. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  152. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  153. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  154. package/coverage/lcov-report/utilities/global.js.html +1 -1
  155. package/coverage/lcov-report/utilities/index.html +1 -1
  156. package/coverage/lcov-report/utilities/index.js.html +1 -1
  157. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  158. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  159. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  160. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  161. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  162. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
  163. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  164. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  165. package/coverage/lcov-report/utilities/security.js.html +1 -1
  166. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  167. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  168. package/coverage/lcov-report/utilities/usageQuota/index.js.html +1 -1
  169. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  170. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  171. package/coverage/lcov-report/utilities/users.js.html +1 -1
  172. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  173. package/coverage/lcov.info +300 -274
  174. package/dist/api/controllers/row/ExternalRequest.js +2 -1
  175. package/dist/api/controllers/table/utils.js +15 -2
  176. package/dist/constants/index.js +5 -5
  177. package/dist/integrations/utils.js +1 -0
  178. package/dist/package.json +4 -4
  179. package/dist/tsconfig.tsbuildinfo +1 -1
  180. package/package.json +5 -5
  181. package/src/api/controllers/row/ExternalRequest.ts +1 -1
  182. package/src/api/controllers/table/utils.js +23 -2
  183. package/src/constants/index.js +8 -5
  184. package/src/integrations/utils.ts +1 -0
@@ -10,7 +10,7 @@
10
10
  href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
11
11
  rel="stylesheet"
12
12
  />
13
- <script type="module" crossorigin src="/builder/assets/index.51efc215.js"></script>
13
+ <script type="module" crossorigin src="/builder/assets/index.8184eed9.js"></script>
14
14
  <link rel="modulepreload" href="/builder/assets/vendor.3bd2f661.js">
15
15
  <link rel="stylesheet" href="/builder/assets/vendor.5e1fe644.css">
16
16
  <link rel="stylesheet" href="/builder/assets/index.dd9e386f.css">
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1643578979462" clover="3.2.0">
3
- <project timestamp="1643578979462" name="All files">
4
- <metrics statements="4802" coveredstatements="3545" conditionals="1938" coveredconditionals="1046" methods="685" coveredmethods="483" elements="7425" coveredelements="5074" complexity="0" loc="4802" ncloc="4802" packages="23" files="144" classes="144"/>
2
+ <coverage generated="1643639932229" clover="3.2.0">
3
+ <project timestamp="1643639932229" name="All files">
4
+ <metrics statements="4813" coveredstatements="3548" conditionals="1949" coveredconditionals="1047" methods="687" coveredmethods="484" elements="7449" coveredelements="5079" complexity="0" loc="4813" ncloc="4813" packages="23" files="144" classes="144"/>
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">
@@ -1921,7 +1921,7 @@
1921
1921
  </file>
1922
1922
  </package>
1923
1923
  <package name="api.controllers.table">
1924
- <metrics statements="432" coveredstatements="223" conditionals="221" coveredconditionals="81" methods="56" coveredmethods="27"/>
1924
+ <metrics statements="441" coveredstatements="224" conditionals="230" coveredconditionals="81" methods="57" coveredmethods="27"/>
1925
1925
  <file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/external.js">
1926
1926
  <metrics statements="137" coveredstatements="11" conditionals="76" coveredconditionals="0" methods="14" coveredmethods="0"/>
1927
1927
  <line num="1" count="37" type="stmt"/>
@@ -2187,184 +2187,193 @@
2187
2187
  <line num="152" count="0" type="stmt"/>
2188
2188
  </file>
2189
2189
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/utils.js">
2190
- <metrics statements="177" coveredstatements="119" conditionals="90" coveredconditionals="41" methods="27" coveredmethods="17"/>
2190
+ <metrics statements="186" coveredstatements="120" conditionals="99" coveredconditionals="41" methods="28" coveredmethods="17"/>
2191
2191
  <line num="1" count="37" type="stmt"/>
2192
2192
  <line num="2" count="37" type="stmt"/>
2193
2193
  <line num="7" count="37" type="stmt"/>
2194
2194
  <line num="8" count="37" type="stmt"/>
2195
2195
  <line num="9" count="37" type="stmt"/>
2196
2196
  <line num="10" count="37" type="stmt"/>
2197
- <line num="11" count="37" type="stmt"/>
2198
- <line num="16" count="37" type="stmt"/>
2199
- <line num="17" count="37" type="stmt"/>
2200
- <line num="18" count="37" type="stmt"/>
2201
- <line num="19" count="37" type="stmt"/>
2197
+ <line num="15" count="37" type="stmt"/>
2198
+ <line num="20" count="37" type="stmt"/>
2202
2199
  <line num="21" count="37" type="stmt"/>
2203
- <line num="22" count="101" type="stmt"/>
2204
- <line num="23" count="101" type="stmt"/>
2205
- <line num="24" count="101" type="stmt"/>
2206
- <line num="25" count="101" type="cond" truecount="5" falsecount="0"/>
2207
- <line num="26" count="4" type="stmt"/>
2208
- <line num="27" count="11" type="stmt"/>
2209
- <line num="31" count="101" type="cond" truecount="4" falsecount="0"/>
2210
- <line num="33" count="1" type="stmt"/>
2211
- <line num="38" count="1" type="stmt"/>
2212
- <line num="39" count="1" type="cond" truecount="1" falsecount="1"/>
2213
- <line num="40" count="1" type="stmt"/>
2214
- <line num="41" count="1" type="stmt"/>
2215
- <line num="42" count="0" type="cond" truecount="0" falsecount="2"/>
2216
- <line num="43" count="0" type="stmt"/>
2200
+ <line num="22" count="37" type="stmt"/>
2201
+ <line num="23" count="37" type="stmt"/>
2202
+ <line num="25" count="37" type="stmt"/>
2203
+ <line num="26" count="101" type="stmt"/>
2204
+ <line num="27" count="101" type="stmt"/>
2205
+ <line num="28" count="101" type="stmt"/>
2206
+ <line num="29" count="101" type="cond" truecount="5" falsecount="0"/>
2207
+ <line num="30" count="4" type="stmt"/>
2208
+ <line num="31" count="11" type="stmt"/>
2209
+ <line num="35" count="101" type="cond" truecount="4" falsecount="0"/>
2210
+ <line num="37" count="1" type="stmt"/>
2211
+ <line num="42" count="1" type="stmt"/>
2212
+ <line num="43" count="1" type="cond" truecount="1" falsecount="1"/>
2213
+ <line num="44" count="1" type="stmt"/>
2217
2214
  <line num="45" count="1" type="stmt"/>
2215
+ <line num="46" count="0" type="cond" truecount="0" falsecount="2"/>
2216
+ <line num="47" count="0" type="stmt"/>
2218
2217
  <line num="49" count="1" type="stmt"/>
2219
- <line num="50" count="1" type="stmt"/>
2220
- <line num="52" count="101" type="stmt"/>
2221
- <line num="56" count="37" type="stmt"/>
2222
- <line num="57" count="4" type="cond" truecount="1" falsecount="1"/>
2223
- <line num="58" count="0" type="stmt"/>
2224
- <line num="61" count="4" type="stmt"/>
2225
- <line num="64" count="4" type="stmt"/>
2226
- <line num="65" count="11" type="cond" truecount="1" falsecount="1"/>
2227
- <line num="70" count="0" type="stmt"/>
2228
- <line num="73" count="4" type="stmt"/>
2229
- <line num="76" count="37" type="stmt"/>
2230
- <line num="77" count="102" type="cond" truecount="4" falsecount="0"/>
2231
- <line num="78" count="101" type="stmt"/>
2232
- <line num="81" count="1" type="stmt"/>
2233
- <line num="83" count="1" type="stmt"/>
2234
- <line num="88" count="1" type="stmt"/>
2235
- <line num="89" count="1" type="stmt"/>
2236
- <line num="90" count="1" type="stmt"/>
2237
- <line num="91" count="1" type="stmt"/>
2218
+ <line num="53" count="1" type="stmt"/>
2219
+ <line num="54" count="1" type="stmt"/>
2220
+ <line num="56" count="101" type="stmt"/>
2221
+ <line num="60" count="37" type="stmt"/>
2222
+ <line num="61" count="4" type="cond" truecount="1" falsecount="1"/>
2223
+ <line num="62" count="0" type="stmt"/>
2224
+ <line num="65" count="4" type="stmt"/>
2225
+ <line num="68" count="4" type="stmt"/>
2226
+ <line num="69" count="11" type="cond" truecount="1" falsecount="1"/>
2227
+ <line num="74" count="0" type="stmt"/>
2228
+ <line num="77" count="4" type="stmt"/>
2229
+ <line num="80" count="37" type="stmt"/>
2230
+ <line num="81" count="102" type="cond" truecount="4" falsecount="0"/>
2231
+ <line num="82" count="101" type="stmt"/>
2232
+ <line num="85" count="1" type="stmt"/>
2233
+ <line num="87" count="1" type="stmt"/>
2238
2234
  <line num="92" count="1" type="stmt"/>
2239
2235
  <line num="93" count="1" type="stmt"/>
2236
+ <line num="94" count="1" type="stmt"/>
2237
+ <line num="95" count="1" type="stmt"/>
2240
2238
  <line num="96" count="1" type="stmt"/>
2241
2239
  <line num="97" count="1" type="stmt"/>
2242
- <line num="99" count="1" type="stmt"/>
2243
- <line num="101" count="4" type="cond" truecount="1" falsecount="1"/>
2244
- <line num="106" count="0" type="stmt"/>
2245
- <line num="113" count="1" type="stmt"/>
2246
- <line num="116" count="1" type="stmt"/>
2247
- <line num="119" count="1" type="stmt"/>
2240
+ <line num="100" count="1" type="stmt"/>
2241
+ <line num="101" count="1" type="stmt"/>
2242
+ <line num="103" count="1" type="stmt"/>
2243
+ <line num="105" count="4" type="cond" truecount="1" falsecount="1"/>
2244
+ <line num="110" count="0" type="stmt"/>
2245
+ <line num="117" count="1" type="stmt"/>
2248
2246
  <line num="120" count="1" type="stmt"/>
2249
- <line num="121" count="1" type="stmt"/>
2250
- <line num="122" count="1" type="stmt"/>
2251
2247
  <line num="123" count="1" type="stmt"/>
2252
- <line num="126" count="37" type="stmt"/>
2253
- <line num="127" count="101" type="stmt"/>
2254
- <line num="129" count="101" type="cond" truecount="4" falsecount="0"/>
2255
- <line num="130" count="2" type="stmt"/>
2256
- <line num="131" count="2" type="stmt"/>
2257
- <line num="133" count="2" type="stmt"/>
2258
- <line num="134" count="3" type="stmt"/>
2259
- <line num="137" count="2" type="cond" truecount="2" falsecount="0"/>
2260
- <line num="138" count="1" type="stmt"/>
2261
- <line num="139" count="1" type="stmt"/>
2262
- <line num="143" count="1" type="cond" truecount="1" falsecount="1"/>
2263
- <line num="144" count="1" type="stmt"/>
2264
- <line num="146" count="1" type="stmt"/>
2265
- <line num="157" count="1" type="stmt"/>
2266
- <line num="167" count="101" type="stmt"/>
2267
- <line num="170" count="37" type="stmt"/>
2268
- <line num="172" count="101" type="cond" truecount="2" falsecount="0"/>
2269
- <line num="173" count="1" type="stmt"/>
2270
- <line num="175" count="5" type="cond" truecount="1" falsecount="1"/>
2271
- <line num="176" count="5" type="stmt"/>
2272
- <line num="180" count="101" type="stmt"/>
2273
- <line num="185" count="101" type="stmt"/>
2274
- <line num="186" count="101" type="stmt"/>
2275
- <line num="187" count="101" type="cond" truecount="3" falsecount="1"/>
2276
- <line num="188" count="101" type="stmt"/>
2248
+ <line num="124" count="1" type="stmt"/>
2249
+ <line num="125" count="1" type="stmt"/>
2250
+ <line num="126" count="1" type="stmt"/>
2251
+ <line num="127" count="1" type="stmt"/>
2252
+ <line num="130" count="37" type="stmt"/>
2253
+ <line num="131" count="101" type="stmt"/>
2254
+ <line num="133" count="101" type="cond" truecount="4" falsecount="0"/>
2255
+ <line num="134" count="2" type="stmt"/>
2256
+ <line num="135" count="2" type="stmt"/>
2257
+ <line num="137" count="2" type="stmt"/>
2258
+ <line num="138" count="3" type="stmt"/>
2259
+ <line num="141" count="2" type="cond" truecount="2" falsecount="0"/>
2260
+ <line num="142" count="1" type="stmt"/>
2261
+ <line num="143" count="1" type="stmt"/>
2262
+ <line num="147" count="1" type="cond" truecount="1" falsecount="1"/>
2263
+ <line num="148" count="1" type="stmt"/>
2264
+ <line num="150" count="1" type="stmt"/>
2265
+ <line num="161" count="1" type="stmt"/>
2266
+ <line num="171" count="101" type="stmt"/>
2267
+ <line num="174" count="37" type="stmt"/>
2268
+ <line num="176" count="101" type="cond" truecount="2" falsecount="0"/>
2269
+ <line num="177" count="1" type="stmt"/>
2270
+ <line num="179" count="5" type="cond" truecount="1" falsecount="1"/>
2271
+ <line num="180" count="5" type="stmt"/>
2272
+ <line num="184" count="101" type="stmt"/>
2273
+ <line num="189" count="101" type="stmt"/>
2277
2274
  <line num="190" count="101" type="stmt"/>
2278
- <line num="191" count="101" type="stmt"/>
2279
- <line num="193" count="101" type="stmt"/>
2280
- <line num="198" count="101" type="cond" truecount="2" falsecount="0"/>
2281
- <line num="199" count="4" type="stmt"/>
2282
- <line num="201" count="101" type="stmt"/>
2283
- <line num="202" count="101" type="stmt"/>
2284
- <line num="207" count="101" type="stmt"/>
2285
- <line num="212" count="101" type="stmt"/>
2286
- <line num="213" count="101" type="stmt"/>
2287
- <line num="218" count="101" type="stmt"/>
2288
- <line num="219" count="101" type="stmt"/>
2289
- <line num="225" count="101" type="stmt"/>
2275
+ <line num="191" count="101" type="cond" truecount="3" falsecount="1"/>
2276
+ <line num="192" count="101" type="stmt"/>
2277
+ <line num="194" count="101" type="stmt"/>
2278
+ <line num="195" count="101" type="stmt"/>
2279
+ <line num="197" count="101" type="stmt"/>
2280
+ <line num="202" count="101" type="cond" truecount="2" falsecount="0"/>
2281
+ <line num="203" count="4" type="stmt"/>
2282
+ <line num="205" count="101" type="stmt"/>
2283
+ <line num="206" count="101" type="stmt"/>
2284
+ <line num="211" count="101" type="stmt"/>
2285
+ <line num="216" count="101" type="stmt"/>
2286
+ <line num="217" count="101" type="stmt"/>
2287
+ <line num="222" count="101" type="stmt"/>
2288
+ <line num="223" count="101" type="stmt"/>
2290
2289
  <line num="229" count="101" type="stmt"/>
2291
- <line num="233" count="37" type="stmt"/>
2292
- <line num="234" count="0" type="stmt"/>
2293
- <line num="235" count="0" type="stmt"/>
2294
- <line num="236" count="0" type="cond" truecount="0" falsecount="4"/>
2295
- <line num="237" count="0" type="stmt"/>
2290
+ <line num="233" count="101" type="stmt"/>
2291
+ <line num="237" count="37" type="stmt"/>
2292
+ <line num="238" count="0" type="stmt"/>
2296
2293
  <line num="239" count="0" type="stmt"/>
2297
- <line num="242" count="37" type="stmt"/>
2294
+ <line num="240" count="0" type="cond" truecount="0" falsecount="4"/>
2295
+ <line num="241" count="0" type="stmt"/>
2298
2296
  <line num="243" count="0" type="stmt"/>
2299
- <line num="244" count="0" type="stmt"/>
2300
- <line num="247" count="37" type="stmt"/>
2301
- <line num="248" count="30" type="stmt"/>
2302
- <line num="249" count="30" type="cond" truecount="1" falsecount="1"/>
2303
- <line num="250" count="0" type="stmt"/>
2304
- <line num="251" count="0" type="stmt"/>
2305
- <line num="252" count="0" type="stmt"/>
2306
- <line num="253" count="0" type="stmt"/>
2307
- <line num="255" count="30" type="stmt"/>
2308
- <line num="259" count="37" type="stmt"/>
2309
- <line num="260" count="1" type="stmt"/>
2310
- <line num="261" count="1" type="stmt"/>
2297
+ <line num="246" count="37" type="stmt"/>
2298
+ <line num="247" count="0" type="stmt"/>
2299
+ <line num="248" count="0" type="stmt"/>
2300
+ <line num="251" count="37" type="stmt"/>
2301
+ <line num="252" count="30" type="stmt"/>
2302
+ <line num="253" count="30" type="cond" truecount="1" falsecount="1"/>
2303
+ <line num="254" count="0" type="stmt"/>
2304
+ <line num="255" count="0" type="stmt"/>
2305
+ <line num="256" count="0" type="stmt"/>
2306
+ <line num="257" count="0" type="stmt"/>
2307
+ <line num="259" count="30" type="stmt"/>
2308
+ <line num="263" count="37" type="stmt"/>
2311
2309
  <line num="264" count="1" type="stmt"/>
2312
- <line num="265" count="0" type="stmt"/>
2313
- <line num="268" count="0" type="cond" truecount="0" falsecount="2"/>
2314
- <line num="270" count="0" type="cond" truecount="0" falsecount="2"/>
2315
- <line num="271" count="0" type="stmt"/>
2316
- <line num="272" count="0" type="stmt"/>
2317
- <line num="276" count="0" type="cond" truecount="0" falsecount="2"/>
2318
- <line num="277" count="0" type="stmt"/>
2319
- <line num="278" count="0" type="stmt"/>
2320
- <line num="282" count="0" type="cond" truecount="0" falsecount="2"/>
2321
- <line num="283" count="0" type="stmt"/>
2322
- <line num="284" count="0" type="cond" truecount="0" falsecount="2"/>
2323
- <line num="285" count="0" type="stmt"/>
2324
- <line num="286" count="0" type="stmt"/>
2325
- <line num="290" count="0" type="cond" truecount="0" falsecount="2"/>
2326
- <line num="291" count="0" type="stmt"/>
2327
- <line num="293" count="0" type="cond" truecount="0" falsecount="2"/>
2328
- <line num="294" count="0" type="stmt"/>
2310
+ <line num="265" count="1" type="stmt"/>
2311
+ <line num="268" count="1" type="stmt"/>
2312
+ <line num="269" count="0" type="stmt"/>
2313
+ <line num="272" count="0" type="cond" truecount="0" falsecount="2"/>
2314
+ <line num="274" count="0" type="cond" truecount="0" falsecount="2"/>
2315
+ <line num="275" count="0" type="stmt"/>
2316
+ <line num="276" count="0" type="stmt"/>
2317
+ <line num="280" count="0" type="cond" truecount="0" falsecount="2"/>
2318
+ <line num="281" count="0" type="stmt"/>
2319
+ <line num="282" count="0" type="stmt"/>
2320
+ <line num="286" count="0" type="cond" truecount="0" falsecount="2"/>
2321
+ <line num="287" count="0" type="stmt"/>
2322
+ <line num="288" count="0" type="cond" truecount="0" falsecount="2"/>
2323
+ <line num="289" count="0" type="stmt"/>
2324
+ <line num="290" count="0" type="stmt"/>
2325
+ <line num="294" count="0" type="cond" truecount="0" falsecount="2"/>
2329
2326
  <line num="295" count="0" type="stmt"/>
2330
- <line num="296" count="0" type="stmt"/>
2331
- <line num="297" count="0" type="stmt"/>
2332
- <line num="301" count="0" type="cond" truecount="0" falsecount="2"/>
2333
- <line num="302" count="0" type="stmt"/>
2334
- <line num="303" count="0" type="stmt"/>
2335
- <line num="307" count="0" type="cond" truecount="0" falsecount="4"/>
2336
- <line num="308" count="0" type="stmt"/>
2337
- <line num="309" count="0" type="stmt"/>
2338
- <line num="310" count="0" type="stmt"/>
2339
- <line num="312" count="0" type="cond" truecount="0" falsecount="2"/>
2327
+ <line num="297" count="0" type="cond" truecount="0" falsecount="2"/>
2328
+ <line num="298" count="0" type="stmt"/>
2329
+ <line num="299" count="0" type="stmt"/>
2330
+ <line num="300" count="0" type="stmt"/>
2331
+ <line num="301" count="0" type="stmt"/>
2332
+ <line num="305" count="0" type="cond" truecount="0" falsecount="2"/>
2333
+ <line num="306" count="0" type="stmt"/>
2334
+ <line num="307" count="0" type="stmt"/>
2335
+ <line num="311" count="0" type="cond" truecount="0" falsecount="4"/>
2336
+ <line num="312" count="0" type="stmt"/>
2340
2337
  <line num="313" count="0" type="stmt"/>
2341
- <line num="320" count="0" type="cond" truecount="0" falsecount="2"/>
2342
- <line num="321" count="0" type="stmt"/>
2343
- <line num="322" count="0" type="stmt"/>
2344
- <line num="323" count="0" type="cond" truecount="0" falsecount="2"/>
2345
- <line num="324" count="0" type="stmt"/>
2338
+ <line num="314" count="0" type="stmt"/>
2339
+ <line num="316" count="0" type="cond" truecount="0" falsecount="2"/>
2340
+ <line num="317" count="0" type="stmt"/>
2341
+ <line num="324" count="0" type="cond" truecount="0" falsecount="2"/>
2342
+ <line num="325" count="0" type="stmt"/>
2346
2343
  <line num="326" count="0" type="stmt"/>
2347
- <line num="331" count="37" type="stmt"/>
2348
- <line num="332" count="0" type="stmt"/>
2344
+ <line num="327" count="0" type="cond" truecount="0" falsecount="2"/>
2345
+ <line num="328" count="0" type="stmt"/>
2346
+ <line num="330" count="0" type="stmt"/>
2349
2347
  <line num="335" count="37" type="stmt"/>
2350
2348
  <line num="336" count="0" type="stmt"/>
2351
- <line num="339" count="37" type="cond" truecount="0" falsecount="1"/>
2349
+ <line num="339" count="37" type="stmt"/>
2352
2350
  <line num="340" count="0" type="stmt"/>
2353
- <line num="345" count="0" type="cond" truecount="0" falsecount="2"/>
2354
- <line num="346" count="0" type="stmt"/>
2355
- <line num="348" count="0" type="stmt"/>
2356
- <line num="351" count="37" type="stmt"/>
2357
- <line num="352" count="101" type="cond" truecount="2" falsecount="0"/>
2358
- <line num="353" count="97" type="stmt"/>
2359
- <line num="355" count="4" type="stmt"/>
2360
- <line num="356" count="11" type="stmt"/>
2361
- <line num="357" count="11" type="cond" truecount="2" falsecount="0"/>
2362
- <line num="358" count="7" type="stmt"/>
2363
- <line num="360" count="4" type="stmt"/>
2364
- <line num="361" count="4" type="cond" truecount="2" falsecount="2"/>
2351
+ <line num="343" count="37" type="cond" truecount="0" falsecount="1"/>
2352
+ <line num="344" count="0" type="stmt"/>
2353
+ <line num="349" count="0" type="cond" truecount="0" falsecount="2"/>
2354
+ <line num="350" count="0" type="stmt"/>
2355
+ <line num="352" count="0" type="stmt"/>
2356
+ <line num="355" count="37" type="stmt"/>
2357
+ <line num="356" count="0" type="cond" truecount="0" falsecount="2"/>
2358
+ <line num="360" count="0" type="stmt"/>
2365
2359
  <line num="362" count="0" type="stmt"/>
2366
- <line num="365" count="4" type="stmt"/>
2367
- <line num="368" count="37" type="stmt"/>
2360
+ <line num="363" count="0" type="stmt"/>
2361
+ <line num="364" count="0" type="stmt"/>
2362
+ <line num="365" count="0" type="cond" truecount="0" falsecount="5"/>
2363
+ <line num="366" count="0" type="stmt"/>
2364
+ <line num="369" count="0" type="stmt"/>
2365
+ <line num="372" count="37" type="stmt"/>
2366
+ <line num="373" count="101" type="cond" truecount="2" falsecount="0"/>
2367
+ <line num="374" count="97" type="stmt"/>
2368
+ <line num="376" count="4" type="stmt"/>
2369
+ <line num="377" count="11" type="stmt"/>
2370
+ <line num="378" count="11" type="cond" truecount="2" falsecount="0"/>
2371
+ <line num="379" count="7" type="stmt"/>
2372
+ <line num="381" count="4" type="stmt"/>
2373
+ <line num="382" count="4" type="cond" truecount="2" falsecount="2"/>
2374
+ <line num="383" count="0" type="stmt"/>
2375
+ <line num="386" count="4" type="stmt"/>
2376
+ <line num="389" count="37" type="stmt"/>
2368
2377
  </file>
2369
2378
  </package>
2370
2379
  <package name="api.controllers.view">
@@ -3480,9 +3489,9 @@
3480
3489
  </file>
3481
3490
  </package>
3482
3491
  <package name="constants">
3483
- <metrics statements="29" coveredstatements="29" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
3492
+ <metrics statements="31" coveredstatements="31" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
3484
3493
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/index.js">
3485
- <metrics statements="22" coveredstatements="22" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
3494
+ <metrics statements="24" coveredstatements="24" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
3486
3495
  <line num="1" count="45" type="stmt"/>
3487
3496
  <line num="2" count="45" type="stmt"/>
3488
3497
  <line num="3" count="45" type="stmt"/>
@@ -3492,19 +3501,21 @@
3492
3501
  <line num="23" count="45" type="stmt"/>
3493
3502
  <line num="32" count="45" type="stmt"/>
3494
3503
  <line num="48" count="45" type="stmt"/>
3495
- <line num="55" count="45" type="stmt"/>
3496
- <line num="61" count="45" type="stmt"/>
3497
- <line num="67" count="45" type="stmt"/>
3498
- <line num="78" count="45" type="stmt"/>
3499
- <line num="82" count="45" type="stmt"/>
3500
- <line num="87" count="45" type="stmt"/>
3501
- <line num="149" count="45" type="stmt"/>
3502
- <line num="157" count="45" type="stmt"/>
3503
- <line num="158" count="45" type="stmt"/>
3504
- <line num="165" count="45" type="stmt"/>
3505
- <line num="170" count="45" type="stmt"/>
3506
- <line num="176" count="45" type="stmt"/>
3507
- <line num="182" count="45" type="stmt"/>
3504
+ <line num="54" count="45" type="stmt"/>
3505
+ <line num="55" count="90" type="cond" truecount="1" falsecount="1"/>
3506
+ <line num="58" count="45" type="stmt"/>
3507
+ <line num="64" count="45" type="stmt"/>
3508
+ <line num="70" count="45" type="stmt"/>
3509
+ <line num="81" count="45" type="stmt"/>
3510
+ <line num="85" count="45" type="stmt"/>
3511
+ <line num="90" count="45" type="stmt"/>
3512
+ <line num="152" count="45" type="stmt"/>
3513
+ <line num="160" count="45" type="stmt"/>
3514
+ <line num="161" count="45" type="stmt"/>
3515
+ <line num="168" count="45" type="stmt"/>
3516
+ <line num="173" count="45" type="stmt"/>
3517
+ <line num="179" count="45" type="stmt"/>
3518
+ <line num="185" count="45" type="stmt"/>
3508
3519
  </file>
3509
3520
  <file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
3510
3521
  <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>