@budibase/server 2.2.12-alpha.20 → 2.2.12-alpha.21

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 (374) hide show
  1. package/builder/assets/{index.fa480d5b.css → index.34817feb.css} +1 -1
  2. package/builder/assets/{index.35af2c9c.js → index.61dfdc1c.js} +245 -244
  3. package/builder/index.html +2 -2
  4. package/coverage/clover.xml +772 -771
  5. package/coverage/coverage-final.json +40 -40
  6. package/coverage/lcov-report/index.html +55 -55
  7. package/coverage/lcov-report/src/api/controllers/analytics.ts.html +1 -1
  8. package/coverage/lcov-report/src/api/controllers/apikeys.ts.html +1 -1
  9. package/coverage/lcov-report/src/api/controllers/application.ts.html +56 -56
  10. package/coverage/lcov-report/src/api/controllers/auth.ts.html +1 -1
  11. package/coverage/lcov-report/src/api/controllers/automation.ts.html +1 -1
  12. package/coverage/lcov-report/src/api/controllers/backup.ts.html +1 -1
  13. package/coverage/lcov-report/src/api/controllers/cloud.ts.html +1 -1
  14. package/coverage/lcov-report/src/api/controllers/component.ts.html +1 -1
  15. package/coverage/lcov-report/src/api/controllers/datasource.ts.html +1 -1
  16. package/coverage/lcov-report/src/api/controllers/deploy/Deployment.ts.html +12 -12
  17. package/coverage/lcov-report/src/api/controllers/deploy/index.html +1 -1
  18. package/coverage/lcov-report/src/api/controllers/deploy/index.ts.html +69 -69
  19. package/coverage/lcov-report/src/api/controllers/dev.ts.html +1 -1
  20. package/coverage/lcov-report/src/api/controllers/index.html +1 -1
  21. package/coverage/lcov-report/src/api/controllers/integration.ts.html +1 -1
  22. package/coverage/lcov-report/src/api/controllers/layout.ts.html +1 -1
  23. package/coverage/lcov-report/src/api/controllers/metadata.ts.html +1 -1
  24. package/coverage/lcov-report/src/api/controllers/migrations.ts.html +1 -1
  25. package/coverage/lcov-report/src/api/controllers/permission.ts.html +1 -1
  26. package/coverage/lcov-report/src/api/controllers/plugin/file.ts.html +1 -1
  27. package/coverage/lcov-report/src/api/controllers/plugin/github.ts.html +1 -1
  28. package/coverage/lcov-report/src/api/controllers/plugin/index.html +1 -1
  29. package/coverage/lcov-report/src/api/controllers/plugin/index.ts.html +1 -1
  30. package/coverage/lcov-report/src/api/controllers/plugin/npm.ts.html +1 -1
  31. package/coverage/lcov-report/src/api/controllers/plugin/uploaders.ts.html +1 -1
  32. package/coverage/lcov-report/src/api/controllers/plugin/url.ts.html +1 -1
  33. package/coverage/lcov-report/src/api/controllers/plugin/utils.ts.html +1 -1
  34. package/coverage/lcov-report/src/api/controllers/public/applications.ts.html +1 -1
  35. package/coverage/lcov-report/src/api/controllers/public/index.html +1 -1
  36. package/coverage/lcov-report/src/api/controllers/public/mapping/applications.ts.html +1 -1
  37. package/coverage/lcov-report/src/api/controllers/public/mapping/index.html +1 -1
  38. package/coverage/lcov-report/src/api/controllers/public/mapping/index.ts.html +1 -1
  39. package/coverage/lcov-report/src/api/controllers/public/mapping/queries.ts.html +1 -1
  40. package/coverage/lcov-report/src/api/controllers/public/mapping/rows.ts.html +1 -1
  41. package/coverage/lcov-report/src/api/controllers/public/mapping/tables.ts.html +1 -1
  42. package/coverage/lcov-report/src/api/controllers/public/mapping/users.ts.html +1 -1
  43. package/coverage/lcov-report/src/api/controllers/public/queries.ts.html +1 -1
  44. package/coverage/lcov-report/src/api/controllers/public/rows.ts.html +1 -1
  45. package/coverage/lcov-report/src/api/controllers/public/tables.ts.html +1 -1
  46. package/coverage/lcov-report/src/api/controllers/public/users.ts.html +1 -1
  47. package/coverage/lcov-report/src/api/controllers/public/utils.ts.html +1 -1
  48. package/coverage/lcov-report/src/api/controllers/query/import/index.html +1 -1
  49. package/coverage/lcov-report/src/api/controllers/query/import/index.ts.html +1 -1
  50. package/coverage/lcov-report/src/api/controllers/query/import/sources/base/index.html +1 -1
  51. package/coverage/lcov-report/src/api/controllers/query/import/sources/base/index.ts.html +1 -1
  52. package/coverage/lcov-report/src/api/controllers/query/import/sources/base/openapi.ts.html +1 -1
  53. package/coverage/lcov-report/src/api/controllers/query/import/sources/curl.ts.html +1 -1
  54. package/coverage/lcov-report/src/api/controllers/query/import/sources/index.html +1 -1
  55. package/coverage/lcov-report/src/api/controllers/query/import/sources/openapi2.ts.html +1 -1
  56. package/coverage/lcov-report/src/api/controllers/query/import/sources/openapi3.ts.html +1 -1
  57. package/coverage/lcov-report/src/api/controllers/query/index.html +1 -1
  58. package/coverage/lcov-report/src/api/controllers/query/index.ts.html +1 -1
  59. package/coverage/lcov-report/src/api/controllers/query/validation.ts.html +1 -1
  60. package/coverage/lcov-report/src/api/controllers/role.ts.html +1 -1
  61. package/coverage/lcov-report/src/api/controllers/routing.ts.html +1 -1
  62. package/coverage/lcov-report/src/api/controllers/row/ExternalRequest.ts.html +1 -1
  63. package/coverage/lcov-report/src/api/controllers/row/external.ts.html +1 -1
  64. package/coverage/lcov-report/src/api/controllers/row/index.html +15 -15
  65. package/coverage/lcov-report/src/api/controllers/row/index.ts.html +1 -1
  66. package/coverage/lcov-report/src/api/controllers/row/internal.ts.html +23 -20
  67. package/coverage/lcov-report/src/api/controllers/row/internalSearch.ts.html +1 -1
  68. package/coverage/lcov-report/src/api/controllers/row/staticFormula.ts.html +1 -1
  69. package/coverage/lcov-report/src/api/controllers/row/utils.ts.html +1 -1
  70. package/coverage/lcov-report/src/api/controllers/screen.ts.html +1 -1
  71. package/coverage/lcov-report/src/api/controllers/script.ts.html +1 -1
  72. package/coverage/lcov-report/src/api/controllers/static/index.html +1 -1
  73. package/coverage/lcov-report/src/api/controllers/static/index.ts.html +1 -1
  74. package/coverage/lcov-report/src/api/controllers/table/bulkFormula.ts.html +1 -1
  75. package/coverage/lcov-report/src/api/controllers/table/external.ts.html +17 -17
  76. package/coverage/lcov-report/src/api/controllers/table/index.html +33 -33
  77. package/coverage/lcov-report/src/api/controllers/table/index.ts.html +122 -35
  78. package/coverage/lcov-report/src/api/controllers/table/internal.ts.html +5 -5
  79. package/coverage/lcov-report/src/api/controllers/table/utils.ts.html +23 -26
  80. package/coverage/lcov-report/src/api/controllers/templates.ts.html +1 -1
  81. package/coverage/lcov-report/src/api/controllers/user.ts.html +1 -1
  82. package/coverage/lcov-report/src/api/controllers/view/exporters.ts.html +61 -16
  83. package/coverage/lcov-report/src/api/controllers/view/index.html +28 -28
  84. package/coverage/lcov-report/src/api/controllers/view/index.ts.html +52 -25
  85. package/coverage/lcov-report/src/api/controllers/view/utils.ts.html +1 -1
  86. package/coverage/lcov-report/src/api/controllers/view/viewBuilder.ts.html +1 -1
  87. package/coverage/lcov-report/src/api/controllers/webhook.ts.html +1 -1
  88. package/coverage/lcov-report/src/api/index.html +1 -1
  89. package/coverage/lcov-report/src/api/index.ts.html +5 -5
  90. package/coverage/lcov-report/src/api/routes/analytics.ts.html +1 -1
  91. package/coverage/lcov-report/src/api/routes/apikeys.ts.html +1 -1
  92. package/coverage/lcov-report/src/api/routes/application.ts.html +1 -1
  93. package/coverage/lcov-report/src/api/routes/auth.ts.html +1 -1
  94. package/coverage/lcov-report/src/api/routes/automation.ts.html +1 -1
  95. package/coverage/lcov-report/src/api/routes/backup.ts.html +1 -1
  96. package/coverage/lcov-report/src/api/routes/cloud.ts.html +1 -1
  97. package/coverage/lcov-report/src/api/routes/component.ts.html +1 -1
  98. package/coverage/lcov-report/src/api/routes/datasource.ts.html +1 -1
  99. package/coverage/lcov-report/src/api/routes/deploy.ts.html +1 -1
  100. package/coverage/lcov-report/src/api/routes/dev.ts.html +1 -1
  101. package/coverage/lcov-report/src/api/routes/index.html +1 -1
  102. package/coverage/lcov-report/src/api/routes/index.ts.html +1 -1
  103. package/coverage/lcov-report/src/api/routes/integration.ts.html +1 -1
  104. package/coverage/lcov-report/src/api/routes/layout.ts.html +1 -1
  105. package/coverage/lcov-report/src/api/routes/metadata.ts.html +1 -1
  106. package/coverage/lcov-report/src/api/routes/migrations.ts.html +1 -1
  107. package/coverage/lcov-report/src/api/routes/permission.ts.html +1 -1
  108. package/coverage/lcov-report/src/api/routes/plugin.ts.html +1 -1
  109. package/coverage/lcov-report/src/api/routes/public/applications.ts.html +1 -1
  110. package/coverage/lcov-report/src/api/routes/public/index.html +1 -1
  111. package/coverage/lcov-report/src/api/routes/public/index.ts.html +1 -1
  112. package/coverage/lcov-report/src/api/routes/public/middleware/index.html +1 -1
  113. package/coverage/lcov-report/src/api/routes/public/middleware/mapper.ts.html +1 -1
  114. package/coverage/lcov-report/src/api/routes/public/queries.ts.html +1 -1
  115. package/coverage/lcov-report/src/api/routes/public/rows.ts.html +1 -1
  116. package/coverage/lcov-report/src/api/routes/public/tables.ts.html +1 -1
  117. package/coverage/lcov-report/src/api/routes/public/tests/index.html +1 -1
  118. package/coverage/lcov-report/src/api/routes/public/tests/utils.ts.html +1 -1
  119. package/coverage/lcov-report/src/api/routes/public/users.ts.html +1 -1
  120. package/coverage/lcov-report/src/api/routes/public/utils/Endpoint.ts.html +1 -1
  121. package/coverage/lcov-report/src/api/routes/public/utils/index.html +1 -1
  122. package/coverage/lcov-report/src/api/routes/query.ts.html +1 -1
  123. package/coverage/lcov-report/src/api/routes/role.ts.html +1 -1
  124. package/coverage/lcov-report/src/api/routes/routing.ts.html +1 -1
  125. package/coverage/lcov-report/src/api/routes/row.ts.html +1 -1
  126. package/coverage/lcov-report/src/api/routes/screen.ts.html +1 -1
  127. package/coverage/lcov-report/src/api/routes/script.ts.html +1 -1
  128. package/coverage/lcov-report/src/api/routes/static.ts.html +1 -1
  129. package/coverage/lcov-report/src/api/routes/table.ts.html +17 -86
  130. package/coverage/lcov-report/src/api/routes/templates.ts.html +1 -1
  131. package/coverage/lcov-report/src/api/routes/tests/utilities/TestFunctions.ts.html +1 -1
  132. package/coverage/lcov-report/src/api/routes/tests/utilities/index.html +1 -1
  133. package/coverage/lcov-report/src/api/routes/tests/utilities/index.ts.html +1 -1
  134. package/coverage/lcov-report/src/api/routes/user.ts.html +1 -1
  135. package/coverage/lcov-report/src/api/routes/utils/index.html +1 -1
  136. package/coverage/lcov-report/src/api/routes/utils/validators.ts.html +2 -2
  137. package/coverage/lcov-report/src/api/routes/view.ts.html +1 -1
  138. package/coverage/lcov-report/src/api/routes/webhook.ts.html +1 -1
  139. package/coverage/lcov-report/src/app.ts.html +1 -1
  140. package/coverage/lcov-report/src/automations/actions.ts.html +1 -1
  141. package/coverage/lcov-report/src/automations/automationUtils.ts.html +1 -1
  142. package/coverage/lcov-report/src/automations/bullboard.ts.html +2 -2
  143. package/coverage/lcov-report/src/automations/index.html +1 -1
  144. package/coverage/lcov-report/src/automations/index.ts.html +1 -1
  145. package/coverage/lcov-report/src/automations/logging/index.html +1 -1
  146. package/coverage/lcov-report/src/automations/logging/index.ts.html +1 -1
  147. package/coverage/lcov-report/src/automations/steps/bash.ts.html +1 -1
  148. package/coverage/lcov-report/src/automations/steps/createRow.ts.html +1 -1
  149. package/coverage/lcov-report/src/automations/steps/delay.ts.html +1 -1
  150. package/coverage/lcov-report/src/automations/steps/deleteRow.ts.html +1 -1
  151. package/coverage/lcov-report/src/automations/steps/discord.ts.html +1 -1
  152. package/coverage/lcov-report/src/automations/steps/executeQuery.ts.html +1 -1
  153. package/coverage/lcov-report/src/automations/steps/executeScript.ts.html +1 -1
  154. package/coverage/lcov-report/src/automations/steps/filter.ts.html +1 -1
  155. package/coverage/lcov-report/src/automations/steps/index.html +1 -1
  156. package/coverage/lcov-report/src/automations/steps/integromat.ts.html +1 -1
  157. package/coverage/lcov-report/src/automations/steps/loop.ts.html +1 -1
  158. package/coverage/lcov-report/src/automations/steps/outgoingWebhook.ts.html +1 -1
  159. package/coverage/lcov-report/src/automations/steps/queryRows.ts.html +1 -1
  160. package/coverage/lcov-report/src/automations/steps/sendSmtpEmail.ts.html +1 -1
  161. package/coverage/lcov-report/src/automations/steps/serverLog.ts.html +1 -1
  162. package/coverage/lcov-report/src/automations/steps/slack.ts.html +1 -1
  163. package/coverage/lcov-report/src/automations/steps/updateRow.ts.html +1 -1
  164. package/coverage/lcov-report/src/automations/steps/utils.ts.html +1 -1
  165. package/coverage/lcov-report/src/automations/steps/zapier.ts.html +1 -1
  166. package/coverage/lcov-report/src/automations/tests/utilities/index.html +1 -1
  167. package/coverage/lcov-report/src/automations/tests/utilities/index.ts.html +1 -1
  168. package/coverage/lcov-report/src/automations/triggerInfo/app.ts.html +1 -1
  169. package/coverage/lcov-report/src/automations/triggerInfo/cron.ts.html +1 -1
  170. package/coverage/lcov-report/src/automations/triggerInfo/index.html +1 -1
  171. package/coverage/lcov-report/src/automations/triggerInfo/index.ts.html +1 -1
  172. package/coverage/lcov-report/src/automations/triggerInfo/rowDeleted.ts.html +1 -1
  173. package/coverage/lcov-report/src/automations/triggerInfo/rowSaved.ts.html +1 -1
  174. package/coverage/lcov-report/src/automations/triggerInfo/rowUpdated.ts.html +1 -1
  175. package/coverage/lcov-report/src/automations/triggerInfo/webhook.ts.html +1 -1
  176. package/coverage/lcov-report/src/automations/triggers.ts.html +1 -1
  177. package/coverage/lcov-report/src/automations/utils.ts.html +11 -11
  178. package/coverage/lcov-report/src/constants/index.html +1 -1
  179. package/coverage/lcov-report/src/constants/index.ts.html +25 -25
  180. package/coverage/lcov-report/src/constants/layouts.ts.html +1 -1
  181. package/coverage/lcov-report/src/constants/screens.ts.html +1 -1
  182. package/coverage/lcov-report/src/db/defaultData/datasource_bb_default.ts.html +1 -1
  183. package/coverage/lcov-report/src/db/defaultData/employeeImport.ts.html +1 -1
  184. package/coverage/lcov-report/src/db/defaultData/expensesImport.ts.html +1 -1
  185. package/coverage/lcov-report/src/db/defaultData/index.html +1 -1
  186. package/coverage/lcov-report/src/db/defaultData/inventoryImport.ts.html +1 -1
  187. package/coverage/lcov-report/src/db/defaultData/jobsImport.ts.html +1 -1
  188. package/coverage/lcov-report/src/db/dynamoClient.ts.html +1 -1
  189. package/coverage/lcov-report/src/db/inMemoryView.ts.html +1 -1
  190. package/coverage/lcov-report/src/db/index.html +1 -1
  191. package/coverage/lcov-report/src/db/index.ts.html +1 -1
  192. package/coverage/lcov-report/src/db/linkedRows/LinkController.ts.html +1 -1
  193. package/coverage/lcov-report/src/db/linkedRows/LinkDocument.ts.html +1 -1
  194. package/coverage/lcov-report/src/db/linkedRows/index.html +1 -1
  195. package/coverage/lcov-report/src/db/linkedRows/index.ts.html +1 -1
  196. package/coverage/lcov-report/src/db/linkedRows/linkUtils.ts.html +1 -1
  197. package/coverage/lcov-report/src/db/newid.ts.html +3 -3
  198. package/coverage/lcov-report/src/db/utils.ts.html +15 -15
  199. package/coverage/lcov-report/src/definitions/automations.ts.html +1 -1
  200. package/coverage/lcov-report/src/definitions/datasource.ts.html +1 -1
  201. package/coverage/lcov-report/src/definitions/index.html +1 -1
  202. package/coverage/lcov-report/src/environment.ts.html +19 -19
  203. package/coverage/lcov-report/src/events/AutomationEmitter.ts.html +1 -1
  204. package/coverage/lcov-report/src/events/BudibaseEmitter.ts.html +1 -1
  205. package/coverage/lcov-report/src/events/index.html +1 -1
  206. package/coverage/lcov-report/src/events/index.ts.html +1 -1
  207. package/coverage/lcov-report/src/events/utils.ts.html +1 -1
  208. package/coverage/lcov-report/src/index.html +1 -1
  209. package/coverage/lcov-report/src/index.ts.html +1 -1
  210. package/coverage/lcov-report/src/integrations/airtable.ts.html +1 -1
  211. package/coverage/lcov-report/src/integrations/arangodb.ts.html +1 -1
  212. package/coverage/lcov-report/src/integrations/base/index.html +1 -1
  213. package/coverage/lcov-report/src/integrations/base/query.ts.html +1 -1
  214. package/coverage/lcov-report/src/integrations/base/sql.ts.html +1 -1
  215. package/coverage/lcov-report/src/integrations/base/sqlTable.ts.html +1 -1
  216. package/coverage/lcov-report/src/integrations/base/utils.ts.html +1 -1
  217. package/coverage/lcov-report/src/integrations/couchdb.ts.html +1 -1
  218. package/coverage/lcov-report/src/integrations/dynamodb.ts.html +1 -1
  219. package/coverage/lcov-report/src/integrations/elasticsearch.ts.html +1 -1
  220. package/coverage/lcov-report/src/integrations/firebase.ts.html +1 -1
  221. package/coverage/lcov-report/src/integrations/googlesheets.ts.html +1 -1
  222. package/coverage/lcov-report/src/integrations/index.html +1 -1
  223. package/coverage/lcov-report/src/integrations/index.ts.html +1 -1
  224. package/coverage/lcov-report/src/integrations/microsoftSqlServer.ts.html +1 -1
  225. package/coverage/lcov-report/src/integrations/mongodb.ts.html +1 -1
  226. package/coverage/lcov-report/src/integrations/mysql.ts.html +1 -1
  227. package/coverage/lcov-report/src/integrations/oracle.ts.html +1 -1
  228. package/coverage/lcov-report/src/integrations/postgres.ts.html +1 -1
  229. package/coverage/lcov-report/src/integrations/queries/index.html +1 -1
  230. package/coverage/lcov-report/src/integrations/queries/sql.ts.html +1 -1
  231. package/coverage/lcov-report/src/integrations/redis.ts.html +1 -1
  232. package/coverage/lcov-report/src/integrations/rest.ts.html +1 -1
  233. package/coverage/lcov-report/src/integrations/s3.ts.html +1 -1
  234. package/coverage/lcov-report/src/integrations/snowflake.ts.html +1 -1
  235. package/coverage/lcov-report/src/integrations/tests/TestConfiguration.js.html +1 -1
  236. package/coverage/lcov-report/src/integrations/tests/index.html +1 -1
  237. package/coverage/lcov-report/src/integrations/utils.ts.html +1 -1
  238. package/coverage/lcov-report/src/middleware/appInfo.ts.html +1 -1
  239. package/coverage/lcov-report/src/middleware/authorized.ts.html +21 -21
  240. package/coverage/lcov-report/src/middleware/builder.ts.html +12 -12
  241. package/coverage/lcov-report/src/middleware/currentapp.ts.html +33 -33
  242. package/coverage/lcov-report/src/middleware/index.html +1 -1
  243. package/coverage/lcov-report/src/middleware/joi-validator.ts.html +1 -1
  244. package/coverage/lcov-report/src/middleware/publicApi.ts.html +1 -1
  245. package/coverage/lcov-report/src/middleware/resourceId.ts.html +1 -1
  246. package/coverage/lcov-report/src/middleware/selfhost.ts.html +1 -1
  247. package/coverage/lcov-report/src/middleware/utils.ts.html +3 -3
  248. package/coverage/lcov-report/src/migrations/functions/appUrls.ts.html +1 -1
  249. package/coverage/lcov-report/src/migrations/functions/backfill/app/automations.ts.html +1 -1
  250. package/coverage/lcov-report/src/migrations/functions/backfill/app/datasources.ts.html +1 -1
  251. package/coverage/lcov-report/src/migrations/functions/backfill/app/index.html +1 -1
  252. package/coverage/lcov-report/src/migrations/functions/backfill/app/layouts.ts.html +1 -1
  253. package/coverage/lcov-report/src/migrations/functions/backfill/app/queries.ts.html +1 -1
  254. package/coverage/lcov-report/src/migrations/functions/backfill/app/roles.ts.html +1 -1
  255. package/coverage/lcov-report/src/migrations/functions/backfill/app/screens.ts.html +1 -1
  256. package/coverage/lcov-report/src/migrations/functions/backfill/app/tables.ts.html +1 -1
  257. package/coverage/lcov-report/src/migrations/functions/backfill/app.ts.html +1 -1
  258. package/coverage/lcov-report/src/migrations/functions/backfill/global/configs.ts.html +1 -1
  259. package/coverage/lcov-report/src/migrations/functions/backfill/global/index.html +1 -1
  260. package/coverage/lcov-report/src/migrations/functions/backfill/global/quotas.ts.html +1 -1
  261. package/coverage/lcov-report/src/migrations/functions/backfill/global/users.ts.html +1 -1
  262. package/coverage/lcov-report/src/migrations/functions/backfill/global.ts.html +1 -1
  263. package/coverage/lcov-report/src/migrations/functions/backfill/index.html +1 -1
  264. package/coverage/lcov-report/src/migrations/functions/backfill/index.ts.html +1 -1
  265. package/coverage/lcov-report/src/migrations/functions/backfill/installation.ts.html +1 -1
  266. package/coverage/lcov-report/src/migrations/functions/index.html +1 -1
  267. package/coverage/lcov-report/src/migrations/functions/syncQuotas.ts.html +1 -1
  268. package/coverage/lcov-report/src/migrations/functions/tableSettings.ts.html +1 -1
  269. package/coverage/lcov-report/src/migrations/functions/usageQuotas/index.html +1 -1
  270. package/coverage/lcov-report/src/migrations/functions/usageQuotas/index.ts.html +1 -1
  271. package/coverage/lcov-report/src/migrations/functions/usageQuotas/syncApps.ts.html +1 -1
  272. package/coverage/lcov-report/src/migrations/functions/usageQuotas/syncPlugins.ts.html +1 -1
  273. package/coverage/lcov-report/src/migrations/functions/usageQuotas/syncRows.ts.html +1 -1
  274. package/coverage/lcov-report/src/migrations/functions/userEmailViewCasing.ts.html +1 -1
  275. package/coverage/lcov-report/src/migrations/index.html +1 -1
  276. package/coverage/lcov-report/src/migrations/index.ts.html +1 -1
  277. package/coverage/lcov-report/src/migrations/tests/helpers.ts.html +1 -1
  278. package/coverage/lcov-report/src/migrations/tests/index.html +1 -1
  279. package/coverage/lcov-report/src/migrations/tests/structures.ts.html +1 -1
  280. package/coverage/lcov-report/src/sdk/app/applications/index.html +1 -1
  281. package/coverage/lcov-report/src/sdk/app/applications/index.ts.html +1 -1
  282. package/coverage/lcov-report/src/sdk/app/applications/sync.ts.html +18 -18
  283. package/coverage/lcov-report/src/sdk/app/applications/utils.ts.html +7 -7
  284. package/coverage/lcov-report/src/sdk/app/automations/index.html +1 -1
  285. package/coverage/lcov-report/src/sdk/app/automations/index.ts.html +1 -1
  286. package/coverage/lcov-report/src/sdk/app/automations/webhook.ts.html +1 -1
  287. package/coverage/lcov-report/src/sdk/app/backups/constants.ts.html +1 -1
  288. package/coverage/lcov-report/src/sdk/app/backups/exports.ts.html +1 -1
  289. package/coverage/lcov-report/src/sdk/app/backups/imports.ts.html +1 -1
  290. package/coverage/lcov-report/src/sdk/app/backups/index.html +1 -1
  291. package/coverage/lcov-report/src/sdk/app/backups/index.ts.html +1 -1
  292. package/coverage/lcov-report/src/sdk/app/backups/statistics.ts.html +1 -1
  293. package/coverage/lcov-report/src/sdk/app/rows/attachments.ts.html +1 -1
  294. package/coverage/lcov-report/src/sdk/app/rows/index.html +1 -1
  295. package/coverage/lcov-report/src/sdk/app/rows/index.ts.html +1 -1
  296. package/coverage/lcov-report/src/sdk/app/rows/rows.ts.html +1 -1
  297. package/coverage/lcov-report/src/sdk/app/tables/index.html +1 -1
  298. package/coverage/lcov-report/src/sdk/app/tables/index.ts.html +1 -1
  299. package/coverage/lcov-report/src/sdk/index.html +1 -1
  300. package/coverage/lcov-report/src/sdk/index.ts.html +2 -2
  301. package/coverage/lcov-report/src/sdk/users/index.html +1 -1
  302. package/coverage/lcov-report/src/sdk/users/index.ts.html +1 -1
  303. package/coverage/lcov-report/src/sdk/users/utils.ts.html +20 -20
  304. package/coverage/lcov-report/src/startup.ts.html +1 -1
  305. package/coverage/lcov-report/src/tests/utilities/TestConfiguration.ts.html +59 -59
  306. package/coverage/lcov-report/src/tests/utilities/controllers.ts.html +3 -3
  307. package/coverage/lcov-report/src/tests/utilities/index.html +1 -1
  308. package/coverage/lcov-report/src/tests/utilities/index.ts.html +1 -1
  309. package/coverage/lcov-report/src/tests/utilities/structures.ts.html +2 -2
  310. package/coverage/lcov-report/src/threads/automation.ts.html +1 -1
  311. package/coverage/lcov-report/src/threads/index.html +1 -1
  312. package/coverage/lcov-report/src/threads/index.ts.html +1 -1
  313. package/coverage/lcov-report/src/threads/query.ts.html +1 -1
  314. package/coverage/lcov-report/src/threads/utils.ts.html +1 -1
  315. package/coverage/lcov-report/src/utilities/budibaseDir.ts.html +3 -3
  316. package/coverage/lcov-report/src/utilities/centralPath.ts.html +2 -2
  317. package/coverage/lcov-report/src/utilities/fileSystem/app.ts.html +16 -16
  318. package/coverage/lcov-report/src/utilities/fileSystem/clientLibrary.ts.html +8 -8
  319. package/coverage/lcov-report/src/utilities/fileSystem/filesystem.ts.html +30 -30
  320. package/coverage/lcov-report/src/utilities/fileSystem/index.html +15 -15
  321. package/coverage/lcov-report/src/utilities/fileSystem/index.ts.html +6 -6
  322. package/coverage/lcov-report/src/utilities/fileSystem/plugin.ts.html +8 -8
  323. package/coverage/lcov-report/src/utilities/fileSystem/processor.ts.html +1 -1
  324. package/coverage/lcov-report/src/utilities/fileSystem/template.ts.html +7 -7
  325. package/coverage/lcov-report/src/utilities/global.ts.html +33 -33
  326. package/coverage/lcov-report/src/utilities/index.html +24 -24
  327. package/coverage/lcov-report/src/utilities/index.ts.html +4 -4
  328. package/coverage/lcov-report/src/utilities/redis.ts.html +1 -1
  329. package/coverage/lcov-report/src/utilities/routing/index.html +1 -1
  330. package/coverage/lcov-report/src/utilities/routing/index.ts.html +1 -1
  331. package/coverage/lcov-report/src/utilities/rowProcessor/index.html +1 -1
  332. package/coverage/lcov-report/src/utilities/rowProcessor/index.ts.html +1 -1
  333. package/coverage/lcov-report/src/utilities/rowProcessor/map.ts.html +1 -1
  334. package/coverage/lcov-report/src/utilities/rowProcessor/utils.ts.html +1 -1
  335. package/coverage/lcov-report/src/utilities/{csvParser.ts.html → schema.ts.html} +173 -233
  336. package/coverage/lcov-report/src/utilities/scriptRunner.ts.html +1 -1
  337. package/coverage/lcov-report/src/utilities/security.ts.html +1 -1
  338. package/coverage/lcov-report/src/utilities/usageQuota/index.html +1 -1
  339. package/coverage/lcov-report/src/utilities/usageQuota/rows.ts.html +1 -1
  340. package/coverage/lcov-report/src/utilities/usageQuota/usageQuoteReset.ts.html +1 -1
  341. package/coverage/lcov-report/src/utilities/users.ts.html +1 -1
  342. package/coverage/lcov-report/src/utilities/workerRequests.ts.html +1 -1
  343. package/coverage/lcov-report/src/watch.ts.html +1 -1
  344. package/coverage/lcov-report/src/websocket.ts.html +1 -1
  345. package/coverage/lcov.info +1303 -1267
  346. package/dist/api/controllers/row/internal.js +12 -8
  347. package/dist/api/controllers/table/external.js +8 -30
  348. package/dist/api/controllers/table/index.js +44 -15
  349. package/dist/api/controllers/table/internal.js +4 -4
  350. package/dist/api/controllers/table/utils.js +9 -9
  351. package/dist/api/controllers/view/exporters.js +22 -6
  352. package/dist/api/controllers/view/index.js +19 -34
  353. package/dist/api/routes/table.js +6 -37
  354. package/dist/api/routes/utils/validators.js +1 -1
  355. package/dist/package.json +6 -6
  356. package/dist/tsconfig.build.tsbuildinfo +1 -1
  357. package/dist/utilities/schema.js +108 -0
  358. package/package.json +7 -7
  359. package/src/api/controllers/row/internal.ts +10 -9
  360. package/src/api/controllers/table/external.ts +10 -10
  361. package/src/api/controllers/table/index.ts +46 -17
  362. package/src/api/controllers/table/internal.ts +4 -4
  363. package/src/api/controllers/table/utils.ts +12 -13
  364. package/src/api/controllers/view/exporters.ts +20 -5
  365. package/src/api/controllers/view/index.ts +21 -12
  366. package/src/api/routes/table.ts +15 -38
  367. package/src/api/routes/tests/misc.spec.js +4 -10
  368. package/src/api/routes/tests/table.spec.js +8 -30
  369. package/src/api/routes/utils/validators.ts +1 -1
  370. package/src/utilities/schema.ts +141 -0
  371. package/dist/utilities/csvParser.js +0 -152
  372. package/src/utilities/csvParser.ts +0 -161
  373. package/src/utilities/tests/__snapshots__/csvParser.spec.js.snap +0 -15
  374. package/src/utilities/tests/csvParser.spec.js +0 -112
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1673869184090" clover="3.2.0">
3
- <project timestamp="1673869184090" name="All files">
4
- <metrics statements="10518" coveredstatements="7457" conditionals="3507" coveredconditionals="1898" methods="2393" coveredmethods="1760" elements="16418" coveredelements="11115" complexity="0" loc="10518" ncloc="10518" packages="59" files="279" classes="279"/>
2
+ <coverage generated="1673968631648" clover="3.2.0">
3
+ <project timestamp="1673968631648" name="All files">
4
+ <metrics statements="10519" coveredstatements="7415" conditionals="3528" coveredconditionals="1890" methods="2400" coveredmethods="1757" elements="16447" coveredelements="11062" complexity="0" loc="10519" ncloc="10519" packages="59" files="279" classes="279"/>
5
5
  <package name="src">
6
6
  <metrics statements="179" coveredstatements="106" conditionals="58" coveredconditionals="35" methods="33" coveredmethods="19"/>
7
7
  <file name="app.ts" path="/home/runner/work/budibase/budibase/packages/server/src/app.ts">
@@ -69,32 +69,32 @@
69
69
  </file>
70
70
  <file name="environment.ts" path="/home/runner/work/budibase/budibase/packages/server/src/environment.ts">
71
71
  <metrics statements="26" coveredstatements="21" conditionals="25" coveredconditionals="22" methods="10" coveredmethods="9"/>
72
- <line num="1" count="88" type="stmt"/>
73
- <line num="4" count="1238" type="cond" truecount="2" falsecount="0"/>
74
- <line num="8" count="1242" type="stmt"/>
75
- <line num="16" count="479" type="stmt"/>
76
- <line num="20" count="1242" type="stmt"/>
77
- <line num="23" count="88" type="stmt"/>
78
- <line num="24" count="88" type="cond" truecount="3" falsecount="1"/>
72
+ <line num="1" count="87" type="stmt"/>
73
+ <line num="4" count="1235" type="cond" truecount="2" falsecount="0"/>
74
+ <line num="8" count="1239" type="stmt"/>
75
+ <line num="16" count="477" type="stmt"/>
76
+ <line num="20" count="1239" type="stmt"/>
77
+ <line num="23" count="87" type="stmt"/>
78
+ <line num="24" count="87" type="cond" truecount="3" falsecount="1"/>
79
79
  <line num="25" count="0" type="stmt"/>
80
80
  <line num="28" count="0" type="stmt"/>
81
- <line num="32" count="176" type="cond" truecount="0" falsecount="1"/>
81
+ <line num="32" count="174" type="cond" truecount="0" falsecount="1"/>
82
82
  <line num="33" count="0" type="stmt"/>
83
- <line num="37" count="88" type="stmt"/>
84
- <line num="39" count="88" type="stmt"/>
85
- <line num="89" count="1074" type="stmt"/>
86
- <line num="91" count="1074" type="stmt"/>
83
+ <line num="37" count="87" type="stmt"/>
84
+ <line num="39" count="87" type="stmt"/>
85
+ <line num="89" count="1063" type="stmt"/>
86
+ <line num="91" count="1063" type="stmt"/>
87
87
  <line num="98" count="87" type="stmt"/>
88
88
  <line num="102" count="0" type="stmt"/>
89
89
  <line num="105" count="55" type="stmt"/>
90
- <line num="110" count="88" type="cond" truecount="3" falsecount="0"/>
91
- <line num="111" count="82" type="stmt"/>
92
- <line num="115" count="88" type="stmt"/>
93
- <line num="117" count="4400" type="cond" truecount="1" falsecount="0"/>
90
+ <line num="110" count="87" type="cond" truecount="3" falsecount="0"/>
91
+ <line num="111" count="81" type="stmt"/>
92
+ <line num="115" count="87" type="stmt"/>
93
+ <line num="117" count="4350" type="cond" truecount="1" falsecount="0"/>
94
94
  <line num="119" count="6" type="stmt"/>
95
- <line num="122" count="4400" type="cond" truecount="0" falsecount="1"/>
95
+ <line num="122" count="4350" type="cond" truecount="0" falsecount="1"/>
96
96
  <line num="124" count="0" type="stmt"/>
97
- <line num="128" count="7479" type="stmt"/>
97
+ <line num="128" count="7457" type="stmt"/>
98
98
  </file>
99
99
  <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/server/src/index.ts">
100
100
  <metrics statements="8" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
@@ -220,11 +220,11 @@
220
220
  <line num="14" count="54" type="stmt"/>
221
221
  <line num="15" count="54" type="stmt"/>
222
222
  <line num="17" count="54" type="stmt"/>
223
- <line num="31" count="273" type="stmt"/>
224
- <line num="35" count="273" type="stmt"/>
223
+ <line num="31" count="272" type="stmt"/>
224
+ <line num="35" count="272" type="stmt"/>
225
225
  <line num="58" count="54" type="stmt"/>
226
- <line num="59" count="271" type="stmt"/>
227
- <line num="60" count="271" type="stmt"/>
226
+ <line num="59" count="270" type="stmt"/>
227
+ <line num="60" count="270" type="stmt"/>
228
228
  <line num="62" count="44" type="cond" truecount="1" falsecount="2"/>
229
229
  <line num="63" count="44" type="stmt"/>
230
230
  <line num="64" count="44" type="stmt"/>
@@ -317,35 +317,35 @@
317
317
  <line num="68" count="8" type="stmt"/>
318
318
  <line num="74" count="1" type="stmt"/>
319
319
  <line num="78" count="1" type="cond" truecount="3" falsecount="1"/>
320
- <line num="89" count="295" type="cond" truecount="1" falsecount="0"/>
320
+ <line num="89" count="294" type="cond" truecount="1" falsecount="0"/>
321
321
  <line num="90" count="4" type="stmt"/>
322
- <line num="92" count="1310" type="cond" truecount="0" falsecount="1"/>
322
+ <line num="92" count="1297" type="cond" truecount="0" falsecount="1"/>
323
323
  <line num="93" count="0" type="stmt"/>
324
- <line num="104" count="295" type="cond" truecount="0" falsecount="1"/>
324
+ <line num="104" count="294" type="cond" truecount="0" falsecount="1"/>
325
325
  <line num="105" count="0" type="stmt"/>
326
- <line num="107" count="295" type="cond" truecount="1" falsecount="0"/>
326
+ <line num="107" count="294" type="cond" truecount="1" falsecount="0"/>
327
327
  <line num="108" count="4" type="stmt"/>
328
- <line num="110" count="1310" type="cond" truecount="0" falsecount="1"/>
328
+ <line num="110" count="1297" type="cond" truecount="0" falsecount="1"/>
329
329
  <line num="111" count="0" type="stmt"/>
330
- <line num="116" count="292" type="cond" truecount="1" falsecount="1"/>
331
- <line num="117" count="292" type="stmt"/>
332
- <line num="118" count="292" type="stmt"/>
333
- <line num="119" count="292" type="stmt"/>
334
- <line num="121" count="292" type="stmt"/>
335
- <line num="122" count="292" type="stmt"/>
336
- <line num="131" count="292" type="stmt"/>
337
- <line num="132" count="292" type="stmt"/>
338
- <line num="133" count="292" type="stmt"/>
339
- <line num="137" count="292" type="cond" truecount="4" falsecount="0"/>
330
+ <line num="116" count="291" type="cond" truecount="1" falsecount="1"/>
331
+ <line num="117" count="291" type="stmt"/>
332
+ <line num="118" count="291" type="stmt"/>
333
+ <line num="119" count="291" type="stmt"/>
334
+ <line num="121" count="291" type="stmt"/>
335
+ <line num="122" count="291" type="stmt"/>
336
+ <line num="131" count="291" type="stmt"/>
337
+ <line num="132" count="291" type="stmt"/>
338
+ <line num="133" count="291" type="stmt"/>
339
+ <line num="137" count="291" type="cond" truecount="4" falsecount="0"/>
340
340
  <line num="138" count="1" type="stmt"/>
341
341
  <line num="139" count="1" type="cond" truecount="0" falsecount="1"/>
342
342
  <line num="140" count="0" type="stmt"/>
343
- <line num="142" count="291" type="cond" truecount="4" falsecount="0"/>
343
+ <line num="142" count="290" type="cond" truecount="4" falsecount="0"/>
344
344
  <line num="143" count="2" type="stmt"/>
345
- <line num="146" count="289" type="stmt"/>
346
- <line num="148" count="289" type="cond" truecount="0" falsecount="1"/>
345
+ <line num="146" count="288" type="stmt"/>
346
+ <line num="148" count="288" type="cond" truecount="0" falsecount="1"/>
347
347
  <line num="150" count="0" type="stmt"/>
348
- <line num="154" count="292" type="stmt"/>
348
+ <line num="154" count="291" type="stmt"/>
349
349
  <line num="158" count="0" type="stmt"/>
350
350
  <line num="161" count="0" type="stmt"/>
351
351
  <line num="164" count="75" type="stmt"/>
@@ -381,23 +381,23 @@
381
381
  <line num="219" count="0" type="stmt"/>
382
382
  <line num="222" count="6" type="stmt"/>
383
383
  <line num="227" count="6" type="stmt"/>
384
- <line num="236" count="292" type="stmt"/>
385
- <line num="237" count="292" type="stmt"/>
386
- <line num="238" count="292" type="stmt"/>
387
- <line num="239" count="292" type="stmt"/>
388
- <line num="240" count="292" type="stmt"/>
389
- <line num="241" count="292" type="stmt"/>
390
- <line num="243" count="292" type="stmt"/>
391
- <line num="244" count="292" type="stmt"/>
392
- <line num="249" count="292" type="cond" truecount="3" falsecount="0"/>
384
+ <line num="236" count="291" type="stmt"/>
385
+ <line num="237" count="291" type="stmt"/>
386
+ <line num="238" count="291" type="stmt"/>
387
+ <line num="239" count="291" type="stmt"/>
388
+ <line num="240" count="291" type="stmt"/>
389
+ <line num="241" count="291" type="stmt"/>
390
+ <line num="243" count="291" type="stmt"/>
391
+ <line num="244" count="291" type="stmt"/>
392
+ <line num="249" count="291" type="cond" truecount="3" falsecount="0"/>
393
393
  <line num="250" count="4" type="stmt"/>
394
- <line num="252" count="292" type="stmt"/>
395
- <line num="253" count="292" type="stmt"/>
396
- <line num="254" count="292" type="stmt"/>
397
- <line num="255" count="292" type="stmt"/>
398
- <line num="257" count="292" type="stmt"/>
399
- <line num="292" count="292" type="stmt"/>
400
- <line num="293" count="292" type="stmt"/>
394
+ <line num="252" count="291" type="stmt"/>
395
+ <line num="253" count="291" type="stmt"/>
396
+ <line num="254" count="291" type="stmt"/>
397
+ <line num="255" count="291" type="stmt"/>
398
+ <line num="257" count="291" type="stmt"/>
399
+ <line num="292" count="291" type="stmt"/>
400
+ <line num="293" count="291" type="stmt"/>
401
401
  <line num="294" count="1" type="stmt"/>
402
402
  <line num="301" count="1" type="stmt"/>
403
403
  <line num="302" count="5" type="cond" truecount="1" falsecount="0"/>
@@ -406,25 +406,25 @@
406
406
  <line num="310" count="1" type="stmt"/>
407
407
  <line num="311" count="1" type="cond" truecount="1" falsecount="0"/>
408
408
  <line num="312" count="1" type="stmt"/>
409
- <line num="319" count="292" type="stmt"/>
410
- <line num="320" count="292" type="stmt"/>
411
- <line num="327" count="292" type="stmt"/>
412
- <line num="328" count="292" type="stmt"/>
413
- <line num="332" count="292" type="stmt"/>
414
- <line num="334" count="292" type="stmt"/>
415
- <line num="335" count="292" type="cond" truecount="1" falsecount="0"/>
409
+ <line num="319" count="291" type="stmt"/>
410
+ <line num="320" count="291" type="stmt"/>
411
+ <line num="327" count="291" type="stmt"/>
412
+ <line num="328" count="291" type="stmt"/>
413
+ <line num="332" count="291" type="stmt"/>
414
+ <line num="334" count="291" type="stmt"/>
415
+ <line num="335" count="291" type="cond" truecount="1" falsecount="0"/>
416
416
  <line num="337" count="3" type="cond" truecount="4" falsecount="0"/>
417
417
  <line num="338" count="1" type="stmt"/>
418
418
  <line num="341" count="2" type="cond" truecount="1" falsecount="1"/>
419
419
  <line num="342" count="2" type="stmt"/>
420
420
  <line num="346" count="0" type="stmt"/>
421
- <line num="349" count="292" type="stmt"/>
422
- <line num="351" count="292" type="stmt"/>
423
- <line num="352" count="295" type="stmt"/>
424
- <line num="357" count="292" type="stmt"/>
425
- <line num="358" count="292" type="stmt"/>
426
- <line num="363" count="292" type="stmt"/>
427
- <line num="365" count="292" type="cond" truecount="1" falsecount="0"/>
421
+ <line num="349" count="291" type="stmt"/>
422
+ <line num="351" count="291" type="stmt"/>
423
+ <line num="352" count="294" type="stmt"/>
424
+ <line num="357" count="291" type="stmt"/>
425
+ <line num="358" count="291" type="stmt"/>
426
+ <line num="363" count="291" type="stmt"/>
427
+ <line num="365" count="291" type="cond" truecount="1" falsecount="0"/>
428
428
  <line num="366" count="3" type="stmt"/>
429
429
  <line num="367" count="3" type="cond" truecount="1" falsecount="1"/>
430
430
  <line num="368" count="3" type="cond" truecount="0" falsecount="1"/>
@@ -435,12 +435,12 @@
435
435
  <line num="378" count="0" type="stmt"/>
436
436
  <line num="379" count="0" type="stmt"/>
437
437
  <line num="381" count="0" type="stmt"/>
438
- <line num="387" count="342" type="stmt"/>
439
- <line num="388" count="292" type="stmt"/>
440
- <line num="389" count="292" type="stmt"/>
441
- <line num="390" count="292" type="stmt"/>
442
- <line num="391" count="292" type="stmt"/>
443
- <line num="392" count="292" type="stmt"/>
438
+ <line num="387" count="341" type="stmt"/>
439
+ <line num="388" count="291" type="stmt"/>
440
+ <line num="389" count="291" type="stmt"/>
441
+ <line num="390" count="291" type="stmt"/>
442
+ <line num="391" count="291" type="stmt"/>
443
+ <line num="392" count="291" type="stmt"/>
444
444
  <line num="397" count="55" type="stmt"/>
445
445
  <line num="398" count="3" type="stmt"/>
446
446
  <line num="400" count="3" type="stmt"/>
@@ -1606,25 +1606,25 @@
1606
1606
  <metrics statements="21" coveredstatements="13" conditionals="11" coveredconditionals="5" methods="7" coveredmethods="5"/>
1607
1607
  <line num="1" count="54" type="stmt"/>
1608
1608
  <line num="2" count="54" type="stmt"/>
1609
- <line num="7" count="295" type="stmt"/>
1610
- <line num="15" count="295" type="cond" truecount="2" falsecount="0"/>
1609
+ <line num="7" count="294" type="stmt"/>
1610
+ <line num="15" count="294" type="cond" truecount="2" falsecount="0"/>
1611
1611
  <line num="19" count="0" type="cond" truecount="0" falsecount="1"/>
1612
1612
  <line num="20" count="0" type="stmt"/>
1613
1613
  <line num="22" count="0" type="stmt"/>
1614
1614
  <line num="26" count="0" type="stmt"/>
1615
- <line num="30" count="1180" type="stmt"/>
1616
- <line num="31" count="1180" type="cond" truecount="0" falsecount="1"/>
1615
+ <line num="30" count="1176" type="stmt"/>
1616
+ <line num="31" count="1176" type="cond" truecount="0" falsecount="1"/>
1617
1617
  <line num="32" count="0" type="stmt"/>
1618
- <line num="37" count="590" type="cond" truecount="0" falsecount="1"/>
1618
+ <line num="37" count="588" type="cond" truecount="0" falsecount="1"/>
1619
1619
  <line num="38" count="0" type="stmt"/>
1620
- <line num="40" count="590" type="cond" truecount="1" falsecount="0"/>
1621
- <line num="41" count="590" type="stmt"/>
1622
- <line num="46" count="590" type="stmt"/>
1623
- <line num="51" count="590" type="cond" truecount="0" falsecount="1"/>
1620
+ <line num="40" count="588" type="cond" truecount="1" falsecount="0"/>
1621
+ <line num="41" count="588" type="stmt"/>
1622
+ <line num="46" count="588" type="stmt"/>
1623
+ <line num="51" count="588" type="cond" truecount="0" falsecount="1"/>
1624
1624
  <line num="52" count="0" type="stmt"/>
1625
- <line num="54" count="590" type="cond" truecount="1" falsecount="2"/>
1625
+ <line num="54" count="588" type="cond" truecount="1" falsecount="2"/>
1626
1626
  <line num="55" count="0" type="stmt"/>
1627
- <line num="57" count="590" type="stmt"/>
1627
+ <line num="57" count="588" type="stmt"/>
1628
1628
  </file>
1629
1629
  <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/deploy/index.ts">
1630
1630
  <metrics statements="106" coveredstatements="82" conditionals="7" coveredconditionals="2" methods="10" coveredmethods="7"/>
@@ -1644,34 +1644,34 @@
1644
1644
  <line num="32" count="0" type="stmt"/>
1645
1645
  <line num="33" count="0" type="stmt"/>
1646
1646
  <line num="36" count="0" type="stmt"/>
1647
- <line num="40" count="590" type="stmt"/>
1648
- <line num="41" count="590" type="stmt"/>
1649
- <line num="44" count="590" type="stmt"/>
1650
- <line num="46" count="590" type="stmt"/>
1651
- <line num="48" count="285" type="stmt"/>
1652
- <line num="51" count="590" type="stmt"/>
1653
- <line num="54" count="590" type="cond" truecount="1" falsecount="0"/>
1654
- <line num="55" count="295" type="stmt"/>
1655
- <line num="57" count="590" type="stmt"/>
1656
- <line num="63" count="590" type="stmt"/>
1657
- <line num="64" count="590" type="stmt"/>
1658
- <line num="65" count="590" type="stmt"/>
1659
- <line num="69" count="295" type="stmt"/>
1660
- <line num="70" count="295" type="stmt"/>
1661
- <line num="71" count="295" type="stmt"/>
1647
+ <line num="40" count="588" type="stmt"/>
1648
+ <line num="41" count="588" type="stmt"/>
1649
+ <line num="44" count="588" type="stmt"/>
1650
+ <line num="46" count="588" type="stmt"/>
1651
+ <line num="48" count="284" type="stmt"/>
1652
+ <line num="51" count="588" type="stmt"/>
1653
+ <line num="54" count="588" type="cond" truecount="1" falsecount="0"/>
1654
+ <line num="55" count="294" type="stmt"/>
1655
+ <line num="57" count="588" type="stmt"/>
1656
+ <line num="63" count="588" type="stmt"/>
1657
+ <line num="64" count="588" type="stmt"/>
1658
+ <line num="65" count="588" type="stmt"/>
1659
+ <line num="69" count="294" type="stmt"/>
1660
+ <line num="70" count="294" type="stmt"/>
1661
+ <line num="71" count="294" type="stmt"/>
1662
1662
  <line num="77" count="1" type="stmt"/>
1663
- <line num="78" count="295" type="stmt"/>
1664
- <line num="79" count="295" type="stmt"/>
1665
- <line num="80" count="295" type="stmt"/>
1666
- <line num="81" count="295" type="stmt"/>
1667
- <line num="82" count="295" type="stmt"/>
1668
- <line num="83" count="295" type="stmt"/>
1669
- <line num="84" count="295" type="stmt"/>
1670
- <line num="85" count="295" type="stmt"/>
1663
+ <line num="78" count="294" type="stmt"/>
1664
+ <line num="79" count="294" type="stmt"/>
1665
+ <line num="80" count="294" type="stmt"/>
1666
+ <line num="81" count="294" type="stmt"/>
1667
+ <line num="82" count="294" type="stmt"/>
1668
+ <line num="83" count="294" type="stmt"/>
1669
+ <line num="84" count="294" type="stmt"/>
1670
+ <line num="85" count="294" type="stmt"/>
1671
1671
  <line num="86" count="1" type="stmt"/>
1672
- <line num="88" count="295" type="stmt"/>
1673
- <line num="89" count="295" type="stmt"/>
1674
- <line num="92" count="295" type="stmt"/>
1672
+ <line num="88" count="294" type="stmt"/>
1673
+ <line num="89" count="294" type="stmt"/>
1674
+ <line num="92" count="294" type="stmt"/>
1675
1675
  <line num="97" count="54" type="stmt"/>
1676
1676
  <line num="98" count="0" type="stmt"/>
1677
1677
  <line num="99" count="0" type="stmt"/>
@@ -1687,53 +1687,53 @@
1687
1687
  <line num="114" count="0" type="stmt"/>
1688
1688
  <line num="115" count="0" type="stmt"/>
1689
1689
  <line num="117" count="0" type="stmt"/>
1690
- <line num="124" count="347" type="stmt"/>
1691
- <line num="125" count="295" type="stmt"/>
1692
- <line num="126" count="295" type="stmt"/>
1693
- <line num="127" count="295" type="stmt"/>
1694
- <line num="128" count="295" type="stmt"/>
1695
- <line num="129" count="295" type="stmt"/>
1696
- <line num="130" count="295" type="stmt"/>
1697
- <line num="132" count="295" type="stmt"/>
1698
- <line num="136" count="295" type="stmt"/>
1699
- <line num="137" count="295" type="stmt"/>
1700
- <line num="138" count="295" type="stmt"/>
1701
- <line num="139" count="295" type="stmt"/>
1702
- <line num="142" count="295" type="cond" truecount="0" falsecount="1"/>
1690
+ <line num="124" count="346" type="stmt"/>
1691
+ <line num="125" count="294" type="stmt"/>
1692
+ <line num="126" count="294" type="stmt"/>
1693
+ <line num="127" count="294" type="stmt"/>
1694
+ <line num="128" count="294" type="stmt"/>
1695
+ <line num="129" count="294" type="stmt"/>
1696
+ <line num="130" count="294" type="stmt"/>
1697
+ <line num="132" count="294" type="stmt"/>
1698
+ <line num="136" count="294" type="stmt"/>
1699
+ <line num="137" count="294" type="stmt"/>
1700
+ <line num="138" count="294" type="stmt"/>
1701
+ <line num="139" count="294" type="stmt"/>
1702
+ <line num="142" count="294" type="cond" truecount="0" falsecount="1"/>
1703
1703
  <line num="144" count="0" type="stmt"/>
1704
- <line num="152" count="295" type="stmt"/>
1705
- <line num="156" count="295" type="stmt"/>
1706
- <line num="157" count="295" type="stmt"/>
1707
- <line num="158" count="295" type="stmt"/>
1708
- <line num="159" count="295" type="stmt"/>
1709
- <line num="160" count="295" type="stmt"/>
1710
- <line num="161" count="295" type="stmt"/>
1711
- <line num="162" count="295" type="stmt"/>
1712
- <line num="165" count="295" type="stmt"/>
1713
- <line num="166" count="295" type="stmt"/>
1714
- <line num="167" count="295" type="stmt"/>
1715
- <line num="168" count="295" type="stmt"/>
1704
+ <line num="152" count="294" type="stmt"/>
1705
+ <line num="156" count="294" type="stmt"/>
1706
+ <line num="157" count="294" type="stmt"/>
1707
+ <line num="158" count="294" type="stmt"/>
1708
+ <line num="159" count="294" type="stmt"/>
1709
+ <line num="160" count="294" type="stmt"/>
1710
+ <line num="161" count="294" type="stmt"/>
1711
+ <line num="162" count="294" type="stmt"/>
1712
+ <line num="165" count="294" type="stmt"/>
1713
+ <line num="166" count="294" type="stmt"/>
1714
+ <line num="167" count="294" type="stmt"/>
1715
+ <line num="168" count="294" type="stmt"/>
1716
1716
  <line num="169" count="10" type="stmt"/>
1717
- <line num="171" count="285" type="stmt"/>
1718
- <line num="175" count="295" type="stmt"/>
1719
- <line num="176" count="295" type="stmt"/>
1720
- <line num="177" count="295" type="stmt"/>
1721
- <line num="179" count="295" type="stmt"/>
1722
- <line num="180" count="295" type="stmt"/>
1723
- <line num="181" count="295" type="stmt"/>
1724
- <line num="182" count="295" type="stmt"/>
1725
- <line num="183" count="295" type="stmt"/>
1726
- <line num="184" count="295" type="stmt"/>
1727
- <line num="185" count="295" type="stmt"/>
1728
- <line num="186" count="295" type="stmt"/>
1729
- <line num="187" count="295" type="stmt"/>
1717
+ <line num="171" count="284" type="stmt"/>
1718
+ <line num="175" count="294" type="stmt"/>
1719
+ <line num="176" count="294" type="stmt"/>
1720
+ <line num="177" count="294" type="stmt"/>
1721
+ <line num="179" count="294" type="stmt"/>
1722
+ <line num="180" count="294" type="stmt"/>
1723
+ <line num="181" count="294" type="stmt"/>
1724
+ <line num="182" count="294" type="stmt"/>
1725
+ <line num="183" count="294" type="stmt"/>
1726
+ <line num="184" count="294" type="stmt"/>
1727
+ <line num="185" count="294" type="stmt"/>
1728
+ <line num="186" count="294" type="stmt"/>
1729
+ <line num="187" count="294" type="stmt"/>
1730
1730
  <line num="189" count="0" type="stmt"/>
1731
1731
  <line num="190" count="0" type="stmt"/>
1732
1732
  <line num="191" count="0" type="stmt"/>
1733
- <line num="196" count="295" type="cond" truecount="1" falsecount="0"/>
1734
- <line num="197" count="295" type="stmt"/>
1735
- <line num="201" count="295" type="stmt"/>
1736
- <line num="202" count="295" type="stmt"/>
1733
+ <line num="196" count="294" type="cond" truecount="1" falsecount="0"/>
1734
+ <line num="197" count="294" type="stmt"/>
1735
+ <line num="201" count="294" type="stmt"/>
1736
+ <line num="202" count="294" type="stmt"/>
1737
1737
  </file>
1738
1738
  </package>
1739
1739
  <package name="src.api.controllers.plugin">
@@ -2686,7 +2686,7 @@
2686
2686
  </file>
2687
2687
  </package>
2688
2688
  <package name="src.api.controllers.row">
2689
- <metrics statements="1048" coveredstatements="507" conditionals="457" coveredconditionals="144" methods="193" coveredmethods="110"/>
2689
+ <metrics statements="1050" coveredstatements="506" conditionals="461" coveredconditionals="146" methods="193" coveredmethods="110"/>
2690
2690
  <file name="ExternalRequest.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/ExternalRequest.ts">
2691
2691
  <metrics statements="289" coveredstatements="8" conditionals="183" coveredconditionals="0" methods="33" coveredmethods="0"/>
2692
2692
  <line num="13" count="55" type="stmt"/>
@@ -3194,7 +3194,7 @@
3194
3194
  <line num="149" count="2" type="stmt"/>
3195
3195
  </file>
3196
3196
  <file name="internal.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internal.ts">
3197
- <metrics statements="220" coveredstatements="191" conditionals="53" coveredconditionals="31" methods="37" coveredmethods="35"/>
3197
+ <metrics statements="222" coveredstatements="190" conditionals="57" coveredconditionals="33" methods="37" coveredmethods="35"/>
3198
3198
  <line num="1" count="55" type="stmt"/>
3199
3199
  <line num="8" count="55" type="stmt"/>
3200
3200
  <line num="9" count="55" type="stmt"/>
@@ -3379,42 +3379,44 @@
3379
3379
  <line num="407" count="1" type="stmt"/>
3380
3380
  <line num="408" count="1" type="stmt"/>
3381
3381
  <line num="412" count="1" type="stmt"/>
3382
- <line num="415" count="2" type="stmt"/>
3383
- <line num="417" count="2" type="stmt"/>
3384
- <line num="418" count="2" type="stmt"/>
3385
- <line num="421" count="2" type="stmt"/>
3386
- <line num="422" count="2" type="stmt"/>
3387
- <line num="425" count="2" type="stmt"/>
3382
+ <line num="415" count="2" type="cond" truecount="1" falsecount="1"/>
3383
+ <line num="416" count="0" type="stmt"/>
3384
+ <line num="417" count="0" type="stmt"/>
3385
+ <line num="418" count="2" type="cond" truecount="1" falsecount="1"/>
3386
+ <line num="419" count="2" type="stmt"/>
3387
+ <line num="420" count="2" type="stmt"/>
3388
+ <line num="422" count="0" type="stmt"/>
3388
3389
  <line num="426" count="2" type="stmt"/>
3389
3390
  <line num="427" count="2" type="stmt"/>
3390
3391
  <line num="428" count="2" type="stmt"/>
3391
- <line num="430" count="2" type="stmt"/>
3392
- <line num="435" count="2" type="stmt"/>
3393
- <line num="440" count="2" type="stmt"/>
3394
- <line num="443" count="1" type="stmt"/>
3395
- <line num="445" count="1" type="stmt"/>
3396
- <line num="447" count="2" type="stmt"/>
3392
+ <line num="429" count="2" type="stmt"/>
3393
+ <line num="431" count="2" type="stmt"/>
3394
+ <line num="436" count="2" type="stmt"/>
3395
+ <line num="441" count="2" type="stmt"/>
3396
+ <line num="444" count="1" type="stmt"/>
3397
+ <line num="446" count="1" type="stmt"/>
3397
3398
  <line num="448" count="2" type="stmt"/>
3398
3399
  <line num="449" count="2" type="stmt"/>
3399
- <line num="450" count="1" type="cond" truecount="0" falsecount="1"/>
3400
- <line num="451" count="0" type="stmt"/>
3401
- <line num="453" count="1" type="stmt"/>
3402
- <line num="454" count="1" type="cond" truecount="1" falsecount="1"/>
3403
- <line num="455" count="1" type="stmt"/>
3400
+ <line num="450" count="2" type="stmt"/>
3401
+ <line num="451" count="1" type="cond" truecount="0" falsecount="1"/>
3402
+ <line num="452" count="0" type="stmt"/>
3403
+ <line num="454" count="1" type="stmt"/>
3404
+ <line num="455" count="1" type="cond" truecount="1" falsecount="1"/>
3404
3405
  <line num="456" count="1" type="stmt"/>
3405
- <line num="458" count="0" type="stmt"/>
3406
- <line num="461" count="2" type="stmt"/>
3406
+ <line num="457" count="1" type="stmt"/>
3407
+ <line num="459" count="0" type="stmt"/>
3407
3408
  <line num="462" count="2" type="stmt"/>
3408
- <line num="464" count="1" type="stmt"/>
3409
- <line num="470" count="2" type="stmt"/>
3410
- <line num="471" count="5" type="stmt"/>
3411
- <line num="472" count="5" type="cond" truecount="1" falsecount="0"/>
3412
- <line num="474" count="1" type="stmt"/>
3409
+ <line num="463" count="2" type="stmt"/>
3410
+ <line num="465" count="1" type="stmt"/>
3411
+ <line num="471" count="2" type="stmt"/>
3412
+ <line num="472" count="5" type="stmt"/>
3413
+ <line num="473" count="5" type="cond" truecount="1" falsecount="0"/>
3413
3414
  <line num="475" count="1" type="stmt"/>
3414
3415
  <line num="476" count="1" type="stmt"/>
3415
- <line num="478" count="1" type="stmt"/>
3416
+ <line num="477" count="1" type="stmt"/>
3416
3417
  <line num="479" count="1" type="stmt"/>
3417
- <line num="483" count="2" type="stmt"/>
3418
+ <line num="480" count="1" type="stmt"/>
3419
+ <line num="484" count="2" type="stmt"/>
3418
3420
  </file>
3419
3421
  <file name="internalSearch.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internalSearch.ts">
3420
3422
  <metrics statements="207" coveredstatements="162" conditionals="93" coveredconditionals="72" methods="44" coveredmethods="30"/>
@@ -3846,7 +3848,7 @@
3846
3848
  </file>
3847
3849
  </package>
3848
3850
  <package name="src.api.controllers.table">
3849
- <metrics statements="554" coveredstatements="301" conditionals="231" coveredconditionals="90" methods="103" coveredmethods="56"/>
3851
+ <metrics statements="572" coveredstatements="300" conditionals="236" coveredconditionals="86" methods="107" coveredmethods="57"/>
3850
3852
  <file name="bulkFormula.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/bulkFormula.ts">
3851
3853
  <metrics statements="79" coveredstatements="55" conditionals="43" coveredconditionals="18" methods="16" coveredmethods="13"/>
3852
3854
  <line num="1" count="55" type="stmt"/>
@@ -3930,7 +3932,7 @@
3930
3932
  <line num="186" count="130" type="stmt"/>
3931
3933
  </file>
3932
3934
  <file name="external.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/external.ts">
3933
- <metrics statements="149" coveredstatements="10" conditionals="65" coveredconditionals="0" methods="17" coveredmethods="0"/>
3935
+ <metrics statements="150" coveredstatements="10" conditionals="65" coveredconditionals="0" methods="17" coveredmethods="0"/>
3934
3936
  <line num="4" count="55" type="stmt"/>
3935
3937
  <line num="10" count="55" type="stmt"/>
3936
3938
  <line num="11" count="55" type="stmt"/>
@@ -4074,78 +4076,95 @@
4074
4076
  <line num="339" count="0" type="stmt"/>
4075
4077
  <line num="340" count="0" type="stmt"/>
4076
4078
  <line num="341" count="0" type="stmt"/>
4077
- <line num="342" count="0" type="cond" truecount="0" falsecount="4"/>
4078
- <line num="343" count="0" type="stmt"/>
4079
+ <line num="342" count="0" type="stmt"/>
4080
+ <line num="344" count="0" type="cond" truecount="0" falsecount="4"/>
4079
4081
  <line num="345" count="0" type="stmt"/>
4082
+ <line num="348" count="0" type="stmt"/>
4080
4083
  <line num="349" count="0" type="stmt"/>
4081
4084
  <line num="352" count="0" type="stmt"/>
4082
4085
  <line num="353" count="0" type="stmt"/>
4083
4086
  </file>
4084
4087
  <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/index.ts">
4085
- <metrics statements="63" coveredstatements="55" conditionals="26" coveredconditionals="20" methods="15" coveredmethods="13"/>
4088
+ <metrics statements="79" coveredstatements="53" conditionals="30" coveredconditionals="15" methods="19" coveredmethods="14"/>
4086
4089
  <line num="1" count="55" type="stmt"/>
4087
4090
  <line num="2" count="55" type="stmt"/>
4088
- <line num="3" count="55" type="stmt"/>
4089
- <line num="4" count="55" type="stmt"/>
4090
- <line num="5" count="55" type="stmt"/>
4091
- <line num="6" count="55" type="stmt"/>
4091
+ <line num="7" count="55" type="stmt"/>
4092
4092
  <line num="8" count="55" type="stmt"/>
4093
- <line num="11" count="134" type="cond" truecount="3" falsecount="0"/>
4094
- <line num="12" count="130" type="stmt"/>
4095
- <line num="14" count="134" type="cond" truecount="3" falsecount="1"/>
4096
- <line num="15" count="0" type="stmt"/>
4097
- <line num="16" count="134" type="cond" truecount="2" falsecount="1"/>
4098
- <line num="17" count="0" type="stmt"/>
4099
- <line num="19" count="134" type="stmt"/>
4100
- <line num="23" count="55" type="stmt"/>
4101
- <line num="24" count="2" type="stmt"/>
4102
- <line num="26" count="2" type="stmt"/>
4103
- <line num="28" count="2" type="stmt"/>
4104
- <line num="34" count="2" type="stmt"/>
4105
- <line num="35" count="0" type="stmt"/>
4106
- <line num="36" count="0" type="cond" truecount="0" falsecount="2"/>
4107
- <line num="37" count="0" type="stmt"/>
4108
- <line num="44" count="0" type="stmt"/>
4109
- <line num="48" count="2" type="stmt"/>
4110
- <line num="51" count="80" type="stmt"/>
4111
- <line num="52" count="26" type="stmt"/>
4112
- <line num="53" count="26" type="stmt"/>
4113
- <line num="56" count="177" type="stmt"/>
4114
- <line num="57" count="130" type="stmt"/>
4115
- <line num="58" count="130" type="stmt"/>
4116
- <line num="60" count="130" type="cond" truecount="4" falsecount="0"/>
4117
- <line num="61" count="130" type="stmt"/>
4118
- <line num="62" count="130" type="cond" truecount="2" falsecount="0"/>
4119
- <line num="63" count="124" type="stmt"/>
4120
- <line num="65" count="6" type="stmt"/>
4121
- <line num="67" count="130" type="cond" truecount="1" falsecount="0"/>
4122
- <line num="68" count="1" type="stmt"/>
4123
- <line num="70" count="130" type="stmt"/>
4124
- <line num="71" count="130" type="stmt"/>
4125
- <line num="72" count="130" type="cond" truecount="2" falsecount="0"/>
4126
- <line num="74" count="130" type="stmt"/>
4127
- <line num="77" count="55" type="stmt"/>
4128
- <line num="78" count="3" type="stmt"/>
4129
- <line num="79" count="3" type="stmt"/>
4130
- <line num="80" count="3" type="stmt"/>
4131
- <line num="81" count="3" type="stmt"/>
4132
- <line num="82" count="3" type="cond" truecount="2" falsecount="0"/>
4093
+ <line num="9" count="55" type="stmt"/>
4094
+ <line num="10" count="55" type="stmt"/>
4095
+ <line num="12" count="55" type="stmt"/>
4096
+ <line num="13" count="55" type="stmt"/>
4097
+ <line num="16" count="134" type="cond" truecount="3" falsecount="0"/>
4098
+ <line num="17" count="130" type="stmt"/>
4099
+ <line num="19" count="134" type="cond" truecount="3" falsecount="1"/>
4100
+ <line num="20" count="0" type="stmt"/>
4101
+ <line num="21" count="134" type="cond" truecount="2" falsecount="1"/>
4102
+ <line num="22" count="0" type="stmt"/>
4103
+ <line num="24" count="134" type="stmt"/>
4104
+ <line num="28" count="55" type="stmt"/>
4105
+ <line num="29" count="2" type="stmt"/>
4106
+ <line num="31" count="2" type="stmt"/>
4107
+ <line num="33" count="2" type="stmt"/>
4108
+ <line num="39" count="2" type="stmt"/>
4109
+ <line num="40" count="0" type="stmt"/>
4110
+ <line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
4111
+ <line num="42" count="0" type="stmt"/>
4112
+ <line num="49" count="0" type="stmt"/>
4113
+ <line num="53" count="2" type="stmt"/>
4114
+ <line num="56" count="80" type="stmt"/>
4115
+ <line num="57" count="26" type="stmt"/>
4116
+ <line num="58" count="26" type="stmt"/>
4117
+ <line num="61" count="177" type="stmt"/>
4118
+ <line num="62" count="130" type="stmt"/>
4119
+ <line num="63" count="130" type="stmt"/>
4120
+ <line num="64" count="130" type="stmt"/>
4121
+ <line num="66" count="130" type="stmt"/>
4122
+ <line num="67" count="130" type="cond" truecount="2" falsecount="0"/>
4123
+ <line num="68" count="124" type="stmt"/>
4124
+ <line num="70" count="6" type="stmt"/>
4125
+ <line num="72" count="130" type="cond" truecount="1" falsecount="0"/>
4126
+ <line num="73" count="1" type="stmt"/>
4127
+ <line num="75" count="130" type="stmt"/>
4128
+ <line num="76" count="130" type="stmt"/>
4129
+ <line num="77" count="130" type="cond" truecount="2" falsecount="0"/>
4130
+ <line num="79" count="130" type="stmt"/>
4131
+ <line num="82" count="55" type="stmt"/>
4132
+ <line num="83" count="3" type="stmt"/>
4133
4133
  <line num="84" count="3" type="stmt"/>
4134
4134
  <line num="85" count="3" type="stmt"/>
4135
4135
  <line num="86" count="3" type="stmt"/>
4136
- <line num="89" count="54" type="stmt"/>
4137
- <line num="90" count="1" type="stmt"/>
4138
- <line num="91" count="1" type="stmt"/>
4136
+ <line num="87" count="3" type="cond" truecount="2" falsecount="0"/>
4137
+ <line num="89" count="3" type="stmt"/>
4138
+ <line num="90" count="3" type="stmt"/>
4139
+ <line num="91" count="3" type="stmt"/>
4140
+ <line num="94" count="54" type="stmt"/>
4139
4141
  <line num="95" count="1" type="stmt"/>
4140
4142
  <line num="96" count="1" type="stmt"/>
4141
- <line num="99" count="54" type="stmt"/>
4142
- <line num="101" count="1" type="cond" truecount="1" falsecount="0"/>
4143
- <line num="103" count="1" type="cond" truecount="0" falsecount="1"/>
4144
- <line num="104" count="0" type="stmt"/>
4145
- <line num="106" count="1" type="stmt"/>
4146
- <line num="110" count="1" type="cond" truecount="0" falsecount="1"/>
4147
- <line num="111" count="0" type="stmt"/>
4148
- <line num="113" count="1" type="stmt"/>
4143
+ <line num="100" count="1" type="stmt"/>
4144
+ <line num="101" count="1" type="stmt"/>
4145
+ <line num="104" count="54" type="stmt"/>
4146
+ <line num="105" count="0" type="stmt"/>
4147
+ <line num="107" count="0" type="stmt"/>
4148
+ <line num="109" count="0" type="stmt"/>
4149
+ <line num="110" count="0" type="stmt"/>
4150
+ <line num="113" count="54" type="stmt"/>
4151
+ <line num="114" count="0" type="stmt"/>
4152
+ <line num="116" count="0" type="cond" truecount="0" falsecount="4"/>
4153
+ <line num="117" count="0" type="stmt"/>
4154
+ <line num="118" count="0" type="stmt"/>
4155
+ <line num="120" count="0" type="stmt"/>
4156
+ <line num="124" count="54" type="stmt"/>
4157
+ <line num="126" count="0" type="stmt"/>
4158
+ <line num="128" count="0" type="stmt"/>
4159
+ <line num="129" count="0" type="cond" truecount="0" falsecount="2"/>
4160
+ <line num="130" count="0" type="stmt"/>
4161
+ <line num="131" count="0" type="stmt"/>
4162
+ <line num="133" count="0" type="stmt"/>
4163
+ <line num="134" count="0" type="stmt"/>
4164
+ <line num="137" count="0" type="cond" truecount="0" falsecount="5"/>
4165
+ <line num="138" count="0" type="stmt"/>
4166
+ <line num="139" count="0" type="stmt"/>
4167
+ <line num="141" count="0" type="stmt"/>
4149
4168
  </file>
4150
4169
  <file name="internal.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/internal.ts">
4151
4170
  <metrics statements="86" coveredstatements="68" conditionals="37" coveredconditionals="25" methods="10" coveredmethods="7"/>
@@ -4237,7 +4256,7 @@
4237
4256
  <line num="190" count="1" type="stmt"/>
4238
4257
  </file>
4239
4258
  <file name="utils.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/utils.ts">
4240
- <metrics statements="177" coveredstatements="113" conditionals="60" coveredconditionals="27" methods="45" coveredmethods="23"/>
4259
+ <metrics statements="178" coveredstatements="114" conditionals="61" coveredconditionals="28" methods="45" coveredmethods="23"/>
4241
4260
  <line num="1" count="55" type="stmt"/>
4242
4261
  <line num="2" count="55" type="stmt"/>
4243
4262
  <line num="3" count="55" type="stmt"/>
@@ -4300,127 +4319,128 @@
4300
4319
  <line num="126" count="3" type="stmt"/>
4301
4320
  <line num="128" count="3" type="stmt"/>
4302
4321
  <line num="131" count="2" type="stmt"/>
4303
- <line num="132" count="132" type="cond" truecount="3" falsecount="0"/>
4304
- <line num="133" count="129" type="stmt"/>
4305
- <line num="136" count="3" type="stmt"/>
4322
+ <line num="132" count="132" type="stmt"/>
4323
+ <line num="134" count="132" type="cond" truecount="4" falsecount="0"/>
4324
+ <line num="135" count="129" type="stmt"/>
4306
4325
  <line num="138" count="3" type="stmt"/>
4326
+ <line num="139" count="3" type="stmt"/>
4327
+ <line num="141" count="3" type="stmt"/>
4307
4328
  <line num="143" count="3" type="stmt"/>
4308
- <line num="145" count="3" type="stmt"/>
4329
+ <line num="147" count="3" type="stmt"/>
4309
4330
  <line num="148" count="3" type="stmt"/>
4310
- <line num="149" count="3" type="stmt"/>
4311
- <line num="152" count="0" type="stmt"/>
4312
- <line num="153" count="130" type="stmt"/>
4313
- <line num="155" count="130" type="cond" truecount="3" falsecount="0"/>
4331
+ <line num="151" count="0" type="stmt"/>
4332
+ <line num="152" count="130" type="stmt"/>
4333
+ <line num="154" count="130" type="cond" truecount="3" falsecount="0"/>
4334
+ <line num="155" count="2" type="stmt"/>
4314
4335
  <line num="156" count="2" type="stmt"/>
4315
- <line num="157" count="2" type="stmt"/>
4316
- <line num="159" count="2" type="stmt"/>
4317
- <line num="160" count="3" type="stmt"/>
4318
- <line num="163" count="2" type="cond" truecount="2" falsecount="0"/>
4336
+ <line num="158" count="2" type="stmt"/>
4337
+ <line num="159" count="3" type="stmt"/>
4338
+ <line num="162" count="2" type="cond" truecount="2" falsecount="0"/>
4339
+ <line num="163" count="1" type="stmt"/>
4319
4340
  <line num="164" count="1" type="stmt"/>
4320
- <line num="165" count="1" type="stmt"/>
4321
- <line num="169" count="1" type="cond" truecount="1" falsecount="0"/>
4322
- <line num="170" count="1" type="stmt"/>
4323
- <line num="172" count="1" type="stmt"/>
4324
- <line num="183" count="1" type="stmt"/>
4325
- <line num="193" count="130" type="stmt"/>
4326
- <line num="196" count="0" type="stmt"/>
4327
- <line num="198" count="130" type="cond" truecount="1" falsecount="0"/>
4328
- <line num="199" count="1" type="stmt"/>
4329
- <line num="201" count="5" type="cond" truecount="1" falsecount="0"/>
4330
- <line num="202" count="5" type="stmt"/>
4331
- <line num="206" count="130" type="stmt"/>
4341
+ <line num="168" count="1" type="cond" truecount="1" falsecount="0"/>
4342
+ <line num="169" count="1" type="stmt"/>
4343
+ <line num="171" count="1" type="stmt"/>
4344
+ <line num="182" count="1" type="stmt"/>
4345
+ <line num="192" count="130" type="stmt"/>
4346
+ <line num="195" count="0" type="stmt"/>
4347
+ <line num="197" count="130" type="cond" truecount="1" falsecount="0"/>
4348
+ <line num="198" count="1" type="stmt"/>
4349
+ <line num="200" count="5" type="cond" truecount="1" falsecount="0"/>
4350
+ <line num="201" count="5" type="stmt"/>
4351
+ <line num="205" count="130" type="stmt"/>
4352
+ <line num="216" count="130" type="stmt"/>
4332
4353
  <line num="217" count="130" type="stmt"/>
4333
4354
  <line num="218" count="130" type="stmt"/>
4334
4355
  <line num="219" count="130" type="stmt"/>
4335
- <line num="220" count="130" type="stmt"/>
4336
- <line num="222" count="130" type="stmt"/>
4337
- <line num="227" count="130" type="cond" truecount="1" falsecount="0"/>
4338
- <line num="228" count="6" type="stmt"/>
4356
+ <line num="221" count="130" type="stmt"/>
4357
+ <line num="226" count="130" type="cond" truecount="1" falsecount="0"/>
4358
+ <line num="227" count="6" type="stmt"/>
4359
+ <line num="229" count="130" type="stmt"/>
4339
4360
  <line num="230" count="130" type="stmt"/>
4340
- <line num="231" count="130" type="stmt"/>
4361
+ <line num="235" count="130" type="stmt"/>
4341
4362
  <line num="236" count="130" type="stmt"/>
4342
4363
  <line num="237" count="130" type="stmt"/>
4343
- <line num="238" count="130" type="stmt"/>
4364
+ <line num="242" count="130" type="stmt"/>
4344
4365
  <line num="243" count="130" type="stmt"/>
4345
4366
  <line num="244" count="130" type="stmt"/>
4346
- <line num="245" count="130" type="stmt"/>
4347
- <line num="249" count="130" type="stmt"/>
4348
- <line num="253" count="0" type="stmt"/>
4367
+ <line num="248" count="130" type="stmt"/>
4368
+ <line num="252" count="0" type="stmt"/>
4369
+ <line num="257" count="1" type="stmt"/>
4349
4370
  <line num="258" count="1" type="stmt"/>
4350
- <line num="259" count="1" type="stmt"/>
4371
+ <line num="261" count="1" type="stmt"/>
4351
4372
  <line num="262" count="1" type="stmt"/>
4352
- <line num="263" count="1" type="stmt"/>
4353
- <line num="266" count="1" type="cond" truecount="1" falsecount="1"/>
4354
- <line num="268" count="1" type="cond" truecount="0" falsecount="1"/>
4373
+ <line num="265" count="1" type="cond" truecount="1" falsecount="1"/>
4374
+ <line num="267" count="1" type="cond" truecount="0" falsecount="1"/>
4375
+ <line num="268" count="0" type="stmt"/>
4355
4376
  <line num="269" count="0" type="stmt"/>
4356
- <line num="270" count="0" type="stmt"/>
4357
- <line num="274" count="1" type="cond" truecount="0" falsecount="1"/>
4377
+ <line num="273" count="1" type="cond" truecount="0" falsecount="1"/>
4378
+ <line num="274" count="0" type="stmt"/>
4358
4379
  <line num="275" count="0" type="stmt"/>
4359
- <line num="276" count="0" type="stmt"/>
4360
- <line num="280" count="1" type="cond" truecount="1" falsecount="0"/>
4361
- <line num="281" count="1" type="stmt"/>
4362
- <line num="282" count="0" type="cond" truecount="0" falsecount="1"/>
4380
+ <line num="279" count="1" type="cond" truecount="1" falsecount="0"/>
4381
+ <line num="280" count="1" type="stmt"/>
4382
+ <line num="281" count="0" type="cond" truecount="0" falsecount="1"/>
4383
+ <line num="282" count="0" type="stmt"/>
4363
4384
  <line num="283" count="0" type="stmt"/>
4364
- <line num="284" count="0" type="stmt"/>
4365
- <line num="288" count="0" type="cond" truecount="0" falsecount="1"/>
4366
- <line num="289" count="0" type="stmt"/>
4367
- <line num="291" count="0" type="cond" truecount="0" falsecount="1"/>
4385
+ <line num="287" count="0" type="cond" truecount="0" falsecount="1"/>
4386
+ <line num="288" count="0" type="stmt"/>
4387
+ <line num="290" count="0" type="cond" truecount="0" falsecount="1"/>
4388
+ <line num="291" count="0" type="stmt"/>
4368
4389
  <line num="292" count="0" type="stmt"/>
4369
4390
  <line num="293" count="0" type="stmt"/>
4370
4391
  <line num="294" count="0" type="stmt"/>
4371
- <line num="295" count="0" type="stmt"/>
4372
- <line num="299" count="0" type="cond" truecount="0" falsecount="1"/>
4392
+ <line num="298" count="0" type="cond" truecount="0" falsecount="1"/>
4393
+ <line num="299" count="0" type="stmt"/>
4373
4394
  <line num="300" count="0" type="stmt"/>
4374
- <line num="301" count="0" type="stmt"/>
4375
- <line num="305" count="0" type="cond" truecount="0" falsecount="3"/>
4395
+ <line num="304" count="0" type="cond" truecount="0" falsecount="3"/>
4396
+ <line num="305" count="0" type="stmt"/>
4376
4397
  <line num="306" count="0" type="stmt"/>
4377
4398
  <line num="307" count="0" type="stmt"/>
4378
- <line num="308" count="0" type="stmt"/>
4379
- <line num="310" count="0" type="cond" truecount="0" falsecount="1"/>
4380
- <line num="311" count="0" type="stmt"/>
4381
- <line num="318" count="1" type="cond" truecount="0" falsecount="1"/>
4399
+ <line num="309" count="0" type="cond" truecount="0" falsecount="1"/>
4400
+ <line num="310" count="0" type="stmt"/>
4401
+ <line num="317" count="1" type="cond" truecount="0" falsecount="1"/>
4402
+ <line num="318" count="0" type="stmt"/>
4382
4403
  <line num="319" count="0" type="stmt"/>
4383
- <line num="320" count="0" type="stmt"/>
4384
- <line num="321" count="0" type="cond" truecount="0" falsecount="1"/>
4385
- <line num="322" count="0" type="stmt"/>
4386
- <line num="324" count="0" type="stmt"/>
4404
+ <line num="320" count="0" type="cond" truecount="0" falsecount="1"/>
4405
+ <line num="321" count="0" type="stmt"/>
4406
+ <line num="323" count="0" type="stmt"/>
4407
+ <line num="328" count="0" type="stmt"/>
4387
4408
  <line num="329" count="0" type="stmt"/>
4388
- <line num="330" count="0" type="stmt"/>
4389
- <line num="333" count="0" type="stmt"/>
4390
- <line num="338" count="0" type="stmt"/>
4409
+ <line num="332" count="0" type="stmt"/>
4410
+ <line num="337" count="0" type="stmt"/>
4411
+ <line num="340" count="0" type="stmt"/>
4391
4412
  <line num="341" count="0" type="stmt"/>
4392
- <line num="342" count="0" type="stmt"/>
4393
- <line num="347" count="0" type="cond" truecount="0" falsecount="1"/>
4394
- <line num="348" count="0" type="stmt"/>
4395
- <line num="350" count="0" type="stmt"/>
4396
- <line num="353" count="0" type="stmt"/>
4397
- <line num="354" count="0" type="cond" truecount="0" falsecount="1"/>
4398
- <line num="358" count="0" type="stmt"/>
4413
+ <line num="346" count="0" type="cond" truecount="0" falsecount="1"/>
4414
+ <line num="347" count="0" type="stmt"/>
4415
+ <line num="349" count="0" type="stmt"/>
4416
+ <line num="352" count="0" type="stmt"/>
4417
+ <line num="353" count="0" type="cond" truecount="0" falsecount="1"/>
4418
+ <line num="357" count="0" type="stmt"/>
4419
+ <line num="359" count="0" type="stmt"/>
4399
4420
  <line num="360" count="0" type="stmt"/>
4400
4421
  <line num="361" count="0" type="stmt"/>
4401
- <line num="362" count="0" type="stmt"/>
4402
- <line num="363" count="0" type="cond" truecount="0" falsecount="4"/>
4403
- <line num="364" count="0" type="stmt"/>
4404
- <line num="367" count="0" type="stmt"/>
4405
- <line num="370" count="130" type="stmt"/>
4406
- <line num="371" count="130" type="cond" truecount="1" falsecount="0"/>
4407
- <line num="372" count="124" type="stmt"/>
4408
- <line num="376" count="6" type="stmt"/>
4409
- <line num="377" count="15" type="stmt"/>
4410
- <line num="378" count="15" type="cond" truecount="1" falsecount="0"/>
4411
- <line num="379" count="7" type="stmt"/>
4412
- <line num="381" count="8" type="stmt"/>
4413
- <line num="382" count="8" type="cond" truecount="1" falsecount="2"/>
4414
- <line num="383" count="0" type="stmt"/>
4415
- <line num="386" count="6" type="stmt"/>
4416
- <line num="389" count="55" type="stmt"/>
4417
- <line num="390" count="130" type="stmt"/>
4422
+ <line num="362" count="0" type="cond" truecount="0" falsecount="4"/>
4423
+ <line num="363" count="0" type="stmt"/>
4424
+ <line num="366" count="0" type="stmt"/>
4425
+ <line num="369" count="130" type="stmt"/>
4426
+ <line num="370" count="130" type="cond" truecount="1" falsecount="0"/>
4427
+ <line num="371" count="124" type="stmt"/>
4428
+ <line num="375" count="6" type="stmt"/>
4429
+ <line num="376" count="15" type="stmt"/>
4430
+ <line num="377" count="15" type="cond" truecount="1" falsecount="0"/>
4431
+ <line num="378" count="7" type="stmt"/>
4432
+ <line num="380" count="8" type="stmt"/>
4433
+ <line num="381" count="8" type="cond" truecount="1" falsecount="2"/>
4434
+ <line num="382" count="0" type="stmt"/>
4435
+ <line num="385" count="6" type="stmt"/>
4436
+ <line num="388" count="55" type="stmt"/>
4437
+ <line num="389" count="130" type="stmt"/>
4418
4438
  </file>
4419
4439
  </package>
4420
4440
  <package name="src.api.controllers.view">
4421
- <metrics statements="238" coveredstatements="181" conditionals="110" coveredconditionals="85" methods="46" coveredmethods="37"/>
4441
+ <metrics statements="251" coveredstatements="184" conditionals="115" coveredconditionals="86" methods="51" coveredmethods="39"/>
4422
4442
  <file name="exporters.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/exporters.ts">
4423
- <metrics statements="11" coveredstatements="11" conditionals="4" coveredconditionals="2" methods="7" coveredmethods="7"/>
4443
+ <metrics statements="19" coveredstatements="13" conditionals="7" coveredconditionals="4" methods="12" coveredmethods="9"/>
4424
4444
  <line num="3" count="2" type="stmt"/>
4425
4445
  <line num="4" count="4" type="stmt"/>
4426
4446
  <line num="6" count="2" type="stmt"/>
@@ -4431,10 +4451,18 @@
4431
4451
  <line num="18" count="2" type="stmt"/>
4432
4452
  <line num="21" count="4" type="stmt"/>
4433
4453
  <line num="22" count="4" type="stmt"/>
4434
- <line num="25" count="55" type="stmt"/>
4454
+ <line num="25" count="0" type="stmt"/>
4455
+ <line num="26" count="0" type="stmt"/>
4456
+ <line num="27" count="0" type="stmt"/>
4457
+ <line num="28" count="0" type="cond" truecount="0" falsecount="1"/>
4458
+ <line num="29" count="0" type="stmt"/>
4459
+ <line num="32" count="0" type="stmt"/>
4460
+ <line num="35" count="55" type="cond" truecount="2" falsecount="0"/>
4461
+ <line num="41" count="4" type="stmt"/>
4462
+ <line num="42" count="4" type="stmt"/>
4435
4463
  </file>
4436
4464
  <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/index.ts">
4437
- <metrics statements="101" coveredstatements="90" conditionals="53" coveredconditionals="48" methods="17" coveredmethods="12"/>
4465
+ <metrics statements="106" coveredstatements="91" conditionals="55" coveredconditionals="47" methods="17" coveredmethods="12"/>
4438
4466
  <line num="1" count="54" type="stmt"/>
4439
4467
  <line num="2" count="54" type="stmt"/>
4440
4468
  <line num="3" count="54" type="stmt"/>
@@ -4503,39 +4531,44 @@
4503
4531
  <line num="127" count="4" type="stmt"/>
4504
4532
  <line num="128" count="4" type="stmt"/>
4505
4533
  <line num="130" count="4" type="stmt"/>
4506
- <line num="131" count="4" type="cond" truecount="2" falsecount="1"/>
4507
- <line num="132" count="0" type="stmt"/>
4508
- <line num="135" count="4" type="cond" truecount="2" falsecount="0"/>
4509
- <line num="136" count="2" type="stmt"/>
4510
- <line num="138" count="2" type="stmt"/>
4511
- <line num="151" count="4" type="stmt"/>
4512
- <line num="152" count="4" type="stmt"/>
4513
- <line num="154" count="4" type="cond" truecount="3" falsecount="0"/>
4514
- <line num="155" count="4" type="cond" truecount="2" falsecount="0"/>
4534
+ <line num="132" count="4" type="cond" truecount="0" falsecount="1"/>
4535
+ <line num="133" count="0" type="stmt"/>
4536
+ <line num="139" count="4" type="cond" truecount="2" falsecount="0"/>
4537
+ <line num="140" count="2" type="stmt"/>
4538
+ <line num="142" count="2" type="stmt"/>
4539
+ <line num="155" count="4" type="stmt"/>
4515
4540
  <line num="156" count="4" type="stmt"/>
4516
- <line num="157" count="4" type="cond" truecount="1" falsecount="0"/>
4517
- <line num="158" count="4" type="stmt"/>
4541
+ <line num="158" count="4" type="cond" truecount="3" falsecount="0"/>
4542
+ <line num="159" count="4" type="cond" truecount="2" falsecount="0"/>
4543
+ <line num="160" count="4" type="stmt"/>
4544
+ <line num="161" count="4" type="cond" truecount="1" falsecount="0"/>
4518
4545
  <line num="162" count="4" type="stmt"/>
4519
- <line num="163" count="8" type="stmt"/>
4520
- <line num="164" count="0" type="stmt"/>
4521
4546
  <line num="166" count="4" type="stmt"/>
4522
- <line num="167" count="0" type="stmt"/>
4547
+ <line num="167" count="8" type="stmt"/>
4523
4548
  <line num="168" count="0" type="stmt"/>
4524
- <line num="170" count="0" type="stmt"/>
4525
- <line num="174" count="4" type="cond" truecount="1" falsecount="0"/>
4526
- <line num="175" count="2" type="stmt"/>
4527
- <line num="176" count="2" type="stmt"/>
4528
- <line num="177" count="4" type="stmt"/>
4529
- <line num="178" count="4" type="cond" truecount="0" falsecount="1"/>
4530
- <line num="179" count="0" type="stmt"/>
4531
- <line num="186" count="4" type="stmt"/>
4532
- <line num="187" count="4" type="cond" truecount="2" falsecount="0"/>
4533
- <line num="188" count="4" type="stmt"/>
4534
- <line num="190" count="4" type="stmt"/>
4535
- <line num="191" count="4" type="stmt"/>
4536
- <line num="193" count="4" type="cond" truecount="2" falsecount="0"/>
4549
+ <line num="170" count="4" type="stmt"/>
4550
+ <line num="171" count="0" type="stmt"/>
4551
+ <line num="172" count="0" type="stmt"/>
4552
+ <line num="174" count="0" type="stmt"/>
4553
+ <line num="178" count="4" type="cond" truecount="1" falsecount="0"/>
4554
+ <line num="179" count="2" type="stmt"/>
4555
+ <line num="180" count="2" type="stmt"/>
4556
+ <line num="181" count="4" type="stmt"/>
4557
+ <line num="182" count="4" type="cond" truecount="0" falsecount="1"/>
4558
+ <line num="183" count="0" type="stmt"/>
4559
+ <line num="189" count="4" type="cond" truecount="2" falsecount="0"/>
4560
+ <line num="190" count="2" type="stmt"/>
4561
+ <line num="191" count="2" type="stmt"/>
4562
+ <line num="192" count="2" type="cond" truecount="1" falsecount="1"/>
4563
+ <line num="193" count="2" type="stmt"/>
4537
4564
  <line num="194" count="2" type="stmt"/>
4538
- <line num="196" count="2" type="stmt"/>
4565
+ <line num="195" count="0" type="cond" truecount="0" falsecount="2"/>
4566
+ <line num="196" count="0" type="stmt"/>
4567
+ <line num="197" count="0" type="stmt"/>
4568
+ <line num="199" count="0" type="stmt"/>
4569
+ <line num="202" count="4" type="cond" truecount="2" falsecount="0"/>
4570
+ <line num="203" count="2" type="stmt"/>
4571
+ <line num="205" count="2" type="stmt"/>
4539
4572
  </file>
4540
4573
  <file name="utils.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/utils.ts">
4541
4574
  <metrics statements="87" coveredstatements="44" conditionals="21" coveredconditionals="6" methods="17" coveredmethods="13"/>
@@ -4977,7 +5010,7 @@
4977
5010
  <line num="7" count="54" type="stmt"/>
4978
5011
  <line num="9" count="54" type="stmt"/>
4979
5012
  <line num="11" count="54" type="stmt"/>
4980
- <line num="193" count="54" type="stmt"/>
5013
+ <line num="170" count="54" type="stmt"/>
4981
5014
  </file>
4982
5015
  <file name="templates.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/templates.ts">
4983
5016
  <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
@@ -5524,7 +5557,7 @@
5524
5557
  <line num="4" count="55" type="stmt"/>
5525
5558
  <line num="5" count="55" type="stmt"/>
5526
5559
  <line num="6" count="55" type="stmt"/>
5527
- <line num="9" count="390" type="stmt"/>
5560
+ <line num="9" count="389" type="stmt"/>
5528
5561
  <line num="14" count="55" type="stmt"/>
5529
5562
  <line num="16" count="0" type="stmt"/>
5530
5563
  <line num="18" count="0" type="stmt"/>
@@ -5662,28 +5695,28 @@
5662
5695
  <line num="66" count="1242" type="cond" truecount="1" falsecount="0"/>
5663
5696
  <line num="67" count="54" type="stmt"/>
5664
5697
  <line num="70" count="108" type="stmt"/>
5665
- <line num="74" count="295" type="stmt"/>
5666
- <line num="75" count="328" type="stmt"/>
5667
- <line num="76" count="328" type="stmt"/>
5668
- <line num="77" count="328" type="stmt"/>
5698
+ <line num="74" count="294" type="stmt"/>
5699
+ <line num="75" count="327" type="stmt"/>
5700
+ <line num="76" count="327" type="stmt"/>
5701
+ <line num="77" count="327" type="stmt"/>
5669
5702
  <line num="78" count="0" type="cond" truecount="0" falsecount="1"/>
5670
5703
  <line num="79" count="0" type="stmt"/>
5671
5704
  <line num="80" count="0" type="cond" truecount="0" falsecount="1"/>
5672
5705
  <line num="81" count="0" type="stmt"/>
5673
- <line num="85" count="328" type="stmt"/>
5706
+ <line num="85" count="327" type="stmt"/>
5674
5707
  <line num="88" count="0" type="stmt"/>
5675
5708
  <line num="89" count="0" type="stmt"/>
5676
5709
  <line num="90" count="0" type="stmt"/>
5677
5710
  <line num="91" count="0" type="cond" truecount="0" falsecount="1"/>
5678
5711
  <line num="92" count="0" type="stmt"/>
5679
5712
  <line num="95" count="0" type="stmt"/>
5680
- <line num="98" count="295" type="stmt"/>
5681
- <line num="99" count="295" type="stmt"/>
5682
- <line num="100" count="295" type="stmt"/>
5713
+ <line num="98" count="294" type="stmt"/>
5714
+ <line num="99" count="294" type="stmt"/>
5715
+ <line num="100" count="294" type="stmt"/>
5683
5716
  <line num="106" count="0" type="stmt"/>
5684
- <line num="107" count="295" type="stmt"/>
5717
+ <line num="107" count="294" type="stmt"/>
5685
5718
  <line num="108" count="0" type="stmt"/>
5686
- <line num="110" count="295" type="stmt"/>
5719
+ <line num="110" count="294" type="stmt"/>
5687
5720
  <line num="113" count="0" type="stmt"/>
5688
5721
  <line num="114" count="1" type="stmt"/>
5689
5722
  <line num="121" count="0" type="stmt"/>
@@ -6186,30 +6219,30 @@
6186
6219
  <metrics statements="31" coveredstatements="31" conditionals="32" coveredconditionals="31" methods="27" coveredmethods="20"/>
6187
6220
  <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/server/src/constants/index.ts">
6188
6221
  <metrics statements="24" coveredstatements="24" conditionals="32" coveredconditionals="31" methods="23" coveredmethods="17"/>
6189
- <line num="1" count="65" type="stmt"/>
6190
- <line num="3" count="65" type="cond" truecount="2" falsecount="0"/>
6191
- <line num="16" count="65" type="stmt"/>
6192
- <line num="25" count="65" type="cond" truecount="2" falsecount="0"/>
6193
- <line num="42" count="65" type="stmt"/>
6194
- <line num="53" count="65" type="stmt"/>
6195
- <line num="54" count="130" type="cond" truecount="1" falsecount="1"/>
6196
- <line num="57" count="65" type="cond" truecount="2" falsecount="0"/>
6197
- <line num="63" count="65" type="cond" truecount="2" falsecount="0"/>
6198
- <line num="68" count="65" type="cond" truecount="2" falsecount="0"/>
6199
- <line num="74" count="65" type="cond" truecount="2" falsecount="0"/>
6200
- <line num="85" count="65" type="cond" truecount="2" falsecount="0"/>
6201
- <line num="89" count="65" type="cond" truecount="2" falsecount="0"/>
6202
- <line num="94" count="290" type="stmt"/>
6203
- <line num="156" count="65" type="cond" truecount="2" falsecount="0"/>
6204
- <line num="164" count="65" type="cond" truecount="2" falsecount="0"/>
6205
- <line num="172" count="65" type="stmt"/>
6206
- <line num="173" count="65" type="cond" truecount="2" falsecount="0"/>
6207
- <line num="180" count="65" type="cond" truecount="2" falsecount="0"/>
6208
- <line num="185" count="65" type="cond" truecount="2" falsecount="0"/>
6209
- <line num="191" count="65" type="cond" truecount="2" falsecount="0"/>
6210
- <line num="196" count="65" type="cond" truecount="2" falsecount="0"/>
6211
- <line num="203" count="65" type="stmt"/>
6212
- <line num="204" count="65" type="stmt"/>
6222
+ <line num="1" count="64" type="stmt"/>
6223
+ <line num="3" count="64" type="cond" truecount="2" falsecount="0"/>
6224
+ <line num="16" count="64" type="stmt"/>
6225
+ <line num="25" count="64" type="cond" truecount="2" falsecount="0"/>
6226
+ <line num="42" count="64" type="stmt"/>
6227
+ <line num="53" count="64" type="stmt"/>
6228
+ <line num="54" count="128" type="cond" truecount="1" falsecount="1"/>
6229
+ <line num="57" count="64" type="cond" truecount="2" falsecount="0"/>
6230
+ <line num="63" count="64" type="cond" truecount="2" falsecount="0"/>
6231
+ <line num="68" count="64" type="cond" truecount="2" falsecount="0"/>
6232
+ <line num="74" count="64" type="cond" truecount="2" falsecount="0"/>
6233
+ <line num="85" count="64" type="cond" truecount="2" falsecount="0"/>
6234
+ <line num="89" count="64" type="cond" truecount="2" falsecount="0"/>
6235
+ <line num="94" count="289" type="stmt"/>
6236
+ <line num="156" count="64" type="cond" truecount="2" falsecount="0"/>
6237
+ <line num="164" count="64" type="cond" truecount="2" falsecount="0"/>
6238
+ <line num="172" count="64" type="stmt"/>
6239
+ <line num="173" count="64" type="cond" truecount="2" falsecount="0"/>
6240
+ <line num="180" count="64" type="cond" truecount="2" falsecount="0"/>
6241
+ <line num="185" count="64" type="cond" truecount="2" falsecount="0"/>
6242
+ <line num="191" count="64" type="cond" truecount="2" falsecount="0"/>
6243
+ <line num="196" count="64" type="cond" truecount="2" falsecount="0"/>
6244
+ <line num="203" count="64" type="stmt"/>
6245
+ <line num="204" count="64" type="stmt"/>
6213
6246
  </file>
6214
6247
  <file name="layouts.ts" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.ts">
6215
6248
  <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="2"/>
@@ -6318,39 +6351,39 @@
6318
6351
  <file name="newid.ts" path="/home/runner/work/budibase/budibase/packages/server/src/db/newid.ts">
6319
6352
  <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
6320
6353
  <line num="1" count="70" type="stmt"/>
6321
- <line num="3" count="1008" type="stmt"/>
6322
- <line num="4" count="1008" type="stmt"/>
6354
+ <line num="3" count="1006" type="stmt"/>
6355
+ <line num="4" count="1006" type="stmt"/>
6323
6356
  </file>
6324
6357
  <file name="utils.ts" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.ts">
6325
6358
  <metrics statements="91" coveredstatements="75" conditionals="19" coveredconditionals="9" methods="79" coveredmethods="65"/>
6326
6359
  <line num="1" count="70" type="stmt"/>
6327
6360
  <line num="2" count="70" type="stmt"/>
6328
- <line num="6" count="364" type="stmt"/>
6329
- <line num="12" count="325" type="stmt"/>
6361
+ <line num="6" count="363" type="stmt"/>
6362
+ <line num="12" count="324" type="stmt"/>
6330
6363
  <line num="16" count="627" type="stmt"/>
6331
6364
  <line num="24" count="183" type="stmt"/>
6332
6365
  <line num="25" count="70" type="stmt"/>
6333
- <line num="26" count="2485" type="stmt"/>
6366
+ <line num="26" count="2478" type="stmt"/>
6334
6367
  <line num="27" count="70" type="stmt"/>
6335
6368
  <line num="28" count="70" type="stmt"/>
6336
- <line num="29" count="285" type="stmt"/>
6369
+ <line num="29" count="284" type="stmt"/>
6337
6370
  <line num="30" count="70" type="stmt"/>
6338
6371
  <line num="31" count="73" type="stmt"/>
6339
6372
  <line num="32" count="70" type="stmt"/>
6340
6373
  <line num="33" count="70" type="stmt"/>
6341
- <line num="34" count="664" type="stmt"/>
6342
- <line num="35" count="737" type="stmt"/>
6374
+ <line num="34" count="662" type="stmt"/>
6375
+ <line num="35" count="736" type="stmt"/>
6343
6376
  <line num="36" count="70" type="stmt"/>
6344
- <line num="37" count="292" type="stmt"/>
6345
- <line num="38" count="292" type="stmt"/>
6377
+ <line num="37" count="291" type="stmt"/>
6378
+ <line num="38" count="291" type="stmt"/>
6346
6379
  <line num="39" count="70" type="stmt"/>
6347
6380
  <line num="40" count="70" type="stmt"/>
6348
6381
  <line num="41" count="74" type="stmt"/>
6349
6382
  <line num="42" count="70" type="stmt"/>
6350
6383
  <line num="43" count="70" type="stmt"/>
6351
6384
  <line num="44" count="80" type="stmt"/>
6352
- <line num="45" count="329" type="stmt"/>
6353
- <line num="46" count="1020" type="stmt"/>
6385
+ <line num="45" count="328" type="stmt"/>
6386
+ <line num="46" count="1017" type="stmt"/>
6354
6387
  <line num="47" count="5" type="stmt"/>
6355
6388
  <line num="48" count="70" type="stmt"/>
6356
6389
  <line num="53" count="275" type="cond" truecount="1" falsecount="0"/>
@@ -6360,8 +6393,8 @@
6360
6393
  <line num="70" count="0" type="stmt"/>
6361
6394
  <line num="71" count="0" type="stmt"/>
6362
6395
  <line num="74" count="0" type="stmt"/>
6363
- <line num="80" count="322" type="stmt"/>
6364
- <line num="84" count="322" type="stmt"/>
6396
+ <line num="80" count="321" type="stmt"/>
6397
+ <line num="84" count="321" type="stmt"/>
6365
6398
  <line num="91" count="28" type="stmt"/>
6366
6399
  <line num="92" count="28" type="stmt"/>
6367
6400
  <line num="106" count="9" type="stmt"/>
@@ -6391,8 +6424,8 @@
6391
6424
  <line num="197" count="142" type="stmt"/>
6392
6425
  <line num="206" count="0" type="stmt"/>
6393
6426
  <line num="207" count="0" type="stmt"/>
6394
- <line num="213" count="295" type="cond" truecount="0" falsecount="1"/>
6395
- <line num="214" count="295" type="stmt"/>
6427
+ <line num="213" count="294" type="cond" truecount="0" falsecount="1"/>
6428
+ <line num="214" count="294" type="stmt"/>
6396
6429
  <line num="220" count="5" type="cond" truecount="0" falsecount="1"/>
6397
6430
  <line num="221" count="5" type="cond" truecount="1" falsecount="0"/>
6398
6431
  <line num="222" count="4" type="stmt"/>
@@ -8616,14 +8649,14 @@
8616
8649
  <line num="1" count="55" type="stmt"/>
8617
8650
  <line num="3" count="55" type="stmt"/>
8618
8651
  <line num="4" count="55" type="stmt"/>
8619
- <line num="7" count="251" type="stmt"/>
8652
+ <line num="7" count="250" type="stmt"/>
8620
8653
  <line num="10" count="55" type="stmt"/>
8621
8654
  <line num="18" count="55" type="stmt"/>
8622
- <line num="25" count="252" type="cond" truecount="3" falsecount="0"/>
8623
- <line num="26" count="252" type="stmt"/>
8624
- <line num="27" count="252" type="cond" truecount="3" falsecount="0"/>
8655
+ <line num="25" count="251" type="cond" truecount="3" falsecount="0"/>
8656
+ <line num="26" count="251" type="stmt"/>
8657
+ <line num="27" count="251" type="cond" truecount="3" falsecount="0"/>
8625
8658
  <line num="28" count="28" type="stmt"/>
8626
- <line num="32" count="224" type="cond" truecount="1" falsecount="0"/>
8659
+ <line num="32" count="223" type="cond" truecount="1" falsecount="0"/>
8627
8660
  <line num="33" count="3" type="stmt"/>
8628
8661
  <line num="37" count="55" type="stmt"/>
8629
8662
  <line num="44" count="3" type="cond" truecount="2" falsecount="0"/>
@@ -8636,31 +8669,31 @@
8636
8669
  <line num="56" count="0" type="stmt"/>
8637
8670
  <line num="59" count="3" type="cond" truecount="1" falsecount="0"/>
8638
8671
  <line num="62" count="3" type="stmt"/>
8639
- <line num="66" count="6589" type="stmt"/>
8640
- <line num="71" count="6603" type="stmt"/>
8641
- <line num="74" count="258" type="cond" truecount="3" falsecount="0"/>
8672
+ <line num="66" count="6697" type="stmt"/>
8673
+ <line num="71" count="6711" type="stmt"/>
8674
+ <line num="74" count="257" type="cond" truecount="3" falsecount="0"/>
8642
8675
  <line num="75" count="1" type="stmt"/>
8643
- <line num="78" count="257" type="cond" truecount="1" falsecount="0"/>
8676
+ <line num="78" count="256" type="cond" truecount="1" falsecount="0"/>
8644
8677
  <line num="79" count="1" type="stmt"/>
8645
- <line num="84" count="256" type="stmt"/>
8646
- <line num="87" count="256" type="stmt"/>
8647
- <line num="88" count="256" type="stmt"/>
8648
- <line num="90" count="256" type="cond" truecount="2" falsecount="0"/>
8649
- <line num="93" count="256" type="stmt"/>
8650
- <line num="94" count="256" type="cond" truecount="3" falsecount="0"/>
8678
+ <line num="84" count="255" type="stmt"/>
8679
+ <line num="87" count="255" type="stmt"/>
8680
+ <line num="88" count="255" type="stmt"/>
8681
+ <line num="90" count="255" type="cond" truecount="2" falsecount="0"/>
8682
+ <line num="93" count="255" type="stmt"/>
8683
+ <line num="94" count="255" type="cond" truecount="3" falsecount="0"/>
8651
8684
  <line num="95" count="86" type="stmt"/>
8652
8685
  <line num="96" count="86" type="cond" truecount="2" falsecount="1"/>
8653
8686
  <line num="97" count="0" type="stmt"/>
8654
- <line num="102" count="256" type="cond" truecount="1" falsecount="0"/>
8687
+ <line num="102" count="255" type="cond" truecount="1" falsecount="0"/>
8655
8688
  <line num="107" count="1" type="stmt"/>
8656
- <line num="111" count="255" type="cond" truecount="1" falsecount="0"/>
8689
+ <line num="111" count="254" type="cond" truecount="1" falsecount="0"/>
8657
8690
  <line num="112" count="3" type="stmt"/>
8658
- <line num="115" count="252" type="stmt"/>
8659
- <line num="117" count="252" type="stmt"/>
8691
+ <line num="115" count="251" type="stmt"/>
8692
+ <line num="117" count="251" type="stmt"/>
8660
8693
  <line num="120" count="27" type="cond" truecount="3" falsecount="2"/>
8661
8694
  <line num="121" count="0" type="stmt"/>
8662
8695
  <line num="123" count="27" type="stmt"/>
8663
- <line num="128" count="225" type="stmt"/>
8696
+ <line num="128" count="224" type="stmt"/>
8664
8697
  </file>
8665
8698
  <file name="builder.ts" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/builder.ts">
8666
8699
  <metrics statements="39" coveredstatements="34" conditionals="21" coveredconditionals="15" methods="4" coveredmethods="4"/>
@@ -8687,20 +8720,20 @@
8687
8720
  <line num="60" count="1" type="stmt"/>
8688
8721
  <line num="61" count="1" type="stmt"/>
8689
8722
  <line num="63" count="1" type="stmt"/>
8690
- <line num="67" count="256" type="stmt"/>
8691
- <line num="68" count="256" type="stmt"/>
8692
- <line num="70" count="256" type="cond" truecount="1" falsecount="0"/>
8723
+ <line num="67" count="255" type="stmt"/>
8724
+ <line num="68" count="255" type="stmt"/>
8725
+ <line num="70" count="255" type="cond" truecount="1" falsecount="0"/>
8693
8726
  <line num="71" count="5" type="stmt"/>
8694
- <line num="73" count="251" type="stmt"/>
8695
- <line num="74" count="251" type="stmt"/>
8696
- <line num="76" count="251" type="stmt"/>
8697
- <line num="77" count="251" type="cond" truecount="2" falsecount="0"/>
8698
- <line num="78" count="251" type="cond" truecount="0" falsecount="1"/>
8727
+ <line num="73" count="250" type="stmt"/>
8728
+ <line num="74" count="250" type="stmt"/>
8729
+ <line num="76" count="250" type="stmt"/>
8730
+ <line num="77" count="250" type="cond" truecount="2" falsecount="0"/>
8731
+ <line num="78" count="250" type="cond" truecount="0" falsecount="1"/>
8699
8732
  <line num="79" count="0" type="stmt"/>
8700
- <line num="82" count="251" type="cond" truecount="2" falsecount="0"/>
8701
- <line num="83" count="251" type="cond" truecount="2" falsecount="0"/>
8702
- <line num="85" count="251" type="cond" truecount="3" falsecount="0"/>
8703
- <line num="86" count="250" type="stmt"/>
8733
+ <line num="82" count="250" type="cond" truecount="2" falsecount="0"/>
8734
+ <line num="83" count="250" type="cond" truecount="2" falsecount="0"/>
8735
+ <line num="85" count="250" type="cond" truecount="3" falsecount="0"/>
8736
+ <line num="86" count="249" type="stmt"/>
8704
8737
  <line num="89" count="1" type="stmt"/>
8705
8738
  <line num="91" count="1" type="stmt"/>
8706
8739
  </file>
@@ -8712,60 +8745,60 @@
8712
8745
  <line num="11" count="59" type="stmt"/>
8713
8746
  <line num="12" count="59" type="stmt"/>
8714
8747
  <line num="15" count="59" type="stmt"/>
8715
- <line num="17" count="278" type="stmt"/>
8716
- <line num="20" count="278" type="stmt"/>
8717
- <line num="21" count="278" type="stmt"/>
8748
+ <line num="17" count="277" type="stmt"/>
8749
+ <line num="20" count="277" type="stmt"/>
8750
+ <line num="21" count="277" type="stmt"/>
8718
8751
  <line num="23" count="0" type="stmt"/>
8719
- <line num="25" count="278" type="cond" truecount="3" falsecount="0"/>
8752
+ <line num="25" count="277" type="cond" truecount="3" falsecount="0"/>
8720
8753
  <line num="26" count="1" type="stmt"/>
8721
- <line num="30" count="277" type="cond" truecount="1" falsecount="0"/>
8722
- <line num="31" count="271" type="stmt"/>
8723
- <line num="32" count="271" type="stmt"/>
8724
- <line num="33" count="271" type="cond" truecount="0" falsecount="1"/>
8754
+ <line num="30" count="276" type="cond" truecount="1" falsecount="0"/>
8755
+ <line num="31" count="270" type="stmt"/>
8756
+ <line num="32" count="270" type="stmt"/>
8757
+ <line num="33" count="270" type="cond" truecount="0" falsecount="1"/>
8725
8758
  <line num="34" count="0" type="stmt"/>
8726
8759
  <line num="35" count="0" type="stmt"/>
8727
- <line num="38" count="271" type="cond" truecount="1" falsecount="1"/>
8728
- <line num="42" count="277" type="cond" truecount="1" falsecount="0"/>
8760
+ <line num="38" count="270" type="cond" truecount="1" falsecount="1"/>
8761
+ <line num="42" count="276" type="cond" truecount="1" falsecount="0"/>
8729
8762
  <line num="43" count="2" type="cond" truecount="1" falsecount="0"/>
8730
8763
  <line num="48" count="2" type="stmt"/>
8731
8764
  <line num="49" count="2" type="stmt"/>
8732
- <line num="54" count="275" type="stmt"/>
8733
- <line num="55" count="275" type="cond" truecount="2" falsecount="0"/>
8765
+ <line num="54" count="274" type="stmt"/>
8766
+ <line num="55" count="274" type="cond" truecount="2" falsecount="0"/>
8734
8767
  <line num="57" count="5" type="stmt"/>
8735
- <line num="58" count="270" type="cond" truecount="1" falsecount="0"/>
8736
- <line num="60" count="270" type="stmt"/>
8737
- <line num="61" count="270" type="stmt"/>
8738
- <line num="63" count="270" type="cond" truecount="2" falsecount="0"/>
8739
- <line num="67" count="270" type="cond" truecount="3" falsecount="0"/>
8740
- <line num="68" count="270" type="cond" truecount="2" falsecount="0"/>
8741
- <line num="70" count="270" type="cond" truecount="2" falsecount="0"/>
8742
- <line num="72" count="270" type="cond" truecount="3" falsecount="1"/>
8768
+ <line num="58" count="269" type="cond" truecount="1" falsecount="0"/>
8769
+ <line num="60" count="269" type="stmt"/>
8770
+ <line num="61" count="269" type="stmt"/>
8771
+ <line num="63" count="269" type="cond" truecount="2" falsecount="0"/>
8772
+ <line num="67" count="269" type="cond" truecount="3" falsecount="0"/>
8773
+ <line num="68" count="269" type="cond" truecount="2" falsecount="0"/>
8774
+ <line num="70" count="269" type="cond" truecount="2" falsecount="0"/>
8775
+ <line num="72" count="269" type="cond" truecount="3" falsecount="1"/>
8743
8776
  <line num="74" count="0" type="stmt"/>
8744
8777
  <line num="75" count="0" type="cond" truecount="0" falsecount="1"/>
8745
8778
  <line num="76" count="0" type="stmt"/>
8746
8779
  <line num="77" count="0" type="stmt"/>
8747
8780
  <line num="80" count="0" type="stmt"/>
8748
8781
  <line num="81" count="0" type="stmt"/>
8749
- <line num="90" count="275" type="cond" truecount="0" falsecount="1"/>
8782
+ <line num="90" count="274" type="cond" truecount="0" falsecount="1"/>
8750
8783
  <line num="91" count="0" type="stmt"/>
8751
- <line num="94" count="275" type="stmt"/>
8752
- <line num="95" count="275" type="stmt"/>
8753
- <line num="98" count="275" type="cond" truecount="0" falsecount="1"/>
8784
+ <line num="94" count="274" type="stmt"/>
8785
+ <line num="95" count="274" type="stmt"/>
8786
+ <line num="98" count="274" type="cond" truecount="0" falsecount="1"/>
8754
8787
  <line num="105" count="0" type="stmt"/>
8755
8788
  <line num="106" count="0" type="stmt"/>
8756
8789
  <line num="107" count="0" type="stmt"/>
8757
8790
  <line num="108" count="0" type="stmt"/>
8758
8791
  <line num="109" count="0" type="stmt"/>
8759
8792
  <line num="110" count="0" type="stmt"/>
8760
- <line num="113" count="275" type="stmt"/>
8761
- <line num="114" count="275" type="cond" truecount="1" falsecount="0"/>
8762
- <line num="115" count="275" type="stmt"/>
8763
- <line num="116" count="275" type="cond" truecount="2" falsecount="0"/>
8764
- <line num="117" count="275" type="cond" truecount="2" falsecount="0"/>
8765
- <line num="120" count="275" type="stmt"/>
8766
- <line num="130" count="275" type="cond" truecount="1" falsecount="0"/>
8793
+ <line num="113" count="274" type="stmt"/>
8794
+ <line num="114" count="274" type="cond" truecount="1" falsecount="0"/>
8795
+ <line num="115" count="274" type="stmt"/>
8796
+ <line num="116" count="274" type="cond" truecount="2" falsecount="0"/>
8797
+ <line num="117" count="274" type="cond" truecount="2" falsecount="0"/>
8798
+ <line num="120" count="274" type="stmt"/>
8799
+ <line num="130" count="274" type="cond" truecount="1" falsecount="0"/>
8767
8800
  <line num="136" count="10" type="stmt"/>
8768
- <line num="139" count="275" type="stmt"/>
8801
+ <line num="139" count="274" type="stmt"/>
8769
8802
  </file>
8770
8803
  <file name="joi-validator.ts" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.ts">
8771
8804
  <metrics statements="17" coveredstatements="0" conditionals="8" coveredconditionals="0" methods="4" coveredmethods="0"/>
@@ -8843,8 +8876,8 @@
8843
8876
  <file name="utils.ts" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/utils.ts">
8844
8877
  <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
8845
8878
  <line num="3" count="60" type="stmt"/>
8846
- <line num="7" count="260" type="stmt"/>
8847
- <line num="8" count="260" type="stmt"/>
8879
+ <line num="7" count="259" type="stmt"/>
8880
+ <line num="8" count="259" type="stmt"/>
8848
8881
  </file>
8849
8882
  </package>
8850
8883
  <package name="src.migrations">
@@ -9485,7 +9518,7 @@
9485
9518
  <line num="5" count="58" type="stmt"/>
9486
9519
  <line num="6" count="58" type="stmt"/>
9487
9520
  <line num="8" count="58" type="stmt"/>
9488
- <line num="18" count="1444" type="stmt"/>
9521
+ <line num="18" count="1441" type="stmt"/>
9489
9522
  </file>
9490
9523
  </package>
9491
9524
  <package name="src.sdk.app.applications">
@@ -9502,40 +9535,40 @@
9502
9535
  <line num="2" count="58" type="stmt"/>
9503
9536
  <line num="3" count="58" type="stmt"/>
9504
9537
  <line num="5" count="58" type="stmt"/>
9505
- <line num="9" count="328" type="cond" truecount="1" falsecount="0"/>
9538
+ <line num="9" count="327" type="cond" truecount="1" falsecount="0"/>
9506
9539
  <line num="10" count="1" type="stmt"/>
9507
- <line num="16" count="327" type="cond" truecount="1" falsecount="0"/>
9540
+ <line num="16" count="326" type="cond" truecount="1" falsecount="0"/>
9508
9541
  <line num="17" count="1" type="stmt"/>
9509
- <line num="21" count="326" type="stmt"/>
9510
- <line num="24" count="326" type="stmt"/>
9511
- <line num="25" count="326" type="stmt"/>
9512
- <line num="26" count="326" type="cond" truecount="0" falsecount="1"/>
9542
+ <line num="21" count="325" type="stmt"/>
9543
+ <line num="24" count="325" type="stmt"/>
9544
+ <line num="25" count="325" type="stmt"/>
9545
+ <line num="26" count="325" type="cond" truecount="0" falsecount="1"/>
9513
9546
  <line num="28" count="0" type="stmt"/>
9514
- <line num="33" count="326" type="stmt"/>
9515
- <line num="38" count="326" type="stmt"/>
9516
- <line num="39" count="326" type="stmt"/>
9517
- <line num="40" count="326" type="cond" truecount="1" falsecount="0"/>
9518
- <line num="41" count="295" type="stmt"/>
9519
- <line num="42" count="1472" type="stmt"/>
9520
- <line num="44" count="326" type="stmt"/>
9547
+ <line num="33" count="325" type="stmt"/>
9548
+ <line num="38" count="325" type="stmt"/>
9549
+ <line num="39" count="325" type="stmt"/>
9550
+ <line num="40" count="325" type="cond" truecount="1" falsecount="0"/>
9551
+ <line num="41" count="294" type="stmt"/>
9552
+ <line num="42" count="1467" type="stmt"/>
9553
+ <line num="44" count="325" type="stmt"/>
9521
9554
  <line num="46" count="0" type="stmt"/>
9522
- <line num="48" count="326" type="stmt"/>
9523
- <line num="52" count="326" type="stmt"/>
9524
- <line num="54" count="326" type="cond" truecount="1" falsecount="1"/>
9555
+ <line num="48" count="325" type="stmt"/>
9556
+ <line num="52" count="325" type="stmt"/>
9557
+ <line num="54" count="325" type="cond" truecount="1" falsecount="1"/>
9525
9558
  <line num="55" count="0" type="stmt"/>
9526
- <line num="57" count="326" type="stmt"/>
9559
+ <line num="57" count="325" type="stmt"/>
9527
9560
  </file>
9528
9561
  <file name="utils.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/app/applications/utils.ts">
9529
9562
  <metrics statements="9" coveredstatements="9" conditionals="4" coveredconditionals="4" methods="1" coveredmethods="1"/>
9530
9563
  <line num="1" count="58" type="stmt"/>
9531
9564
  <line num="3" count="58" type="stmt"/>
9532
- <line num="6" count="296" type="cond" truecount="2" falsecount="0"/>
9565
+ <line num="6" count="295" type="cond" truecount="2" falsecount="0"/>
9533
9566
  <line num="8" count="1" type="stmt"/>
9534
- <line num="9" count="295" type="cond" truecount="1" falsecount="0"/>
9535
- <line num="11" count="295" type="stmt"/>
9536
- <line num="13" count="296" type="cond" truecount="1" falsecount="0"/>
9537
- <line num="14" count="296" type="stmt"/>
9538
- <line num="16" count="296" type="stmt"/>
9567
+ <line num="9" count="294" type="cond" truecount="1" falsecount="0"/>
9568
+ <line num="11" count="294" type="stmt"/>
9569
+ <line num="13" count="295" type="cond" truecount="1" falsecount="0"/>
9570
+ <line num="14" count="295" type="stmt"/>
9571
+ <line num="16" count="295" type="stmt"/>
9539
9572
  </file>
9540
9573
  </package>
9541
9574
  <package name="src.sdk.app.automations">
@@ -9871,31 +9904,31 @@
9871
9904
  <line num="7" count="58" type="stmt"/>
9872
9905
  <line num="8" count="58" type="stmt"/>
9873
9906
  <line num="10" count="58" type="stmt"/>
9874
- <line num="12" count="553" type="cond" truecount="1" falsecount="0"/>
9875
- <line num="13" count="112" type="stmt"/>
9876
- <line num="15" count="441" type="stmt"/>
9877
- <line num="16" count="441" type="stmt"/>
9878
- <line num="17" count="441" type="stmt"/>
9879
- <line num="22" count="441" type="cond" truecount="2" falsecount="0"/>
9907
+ <line num="12" count="551" type="cond" truecount="1" falsecount="0"/>
9908
+ <line num="13" count="111" type="stmt"/>
9909
+ <line num="15" count="440" type="stmt"/>
9910
+ <line num="16" count="440" type="stmt"/>
9911
+ <line num="17" count="440" type="stmt"/>
9912
+ <line num="22" count="440" type="cond" truecount="2" falsecount="0"/>
9880
9913
  <line num="23" count="37" type="stmt"/>
9881
- <line num="26" count="441" type="cond" truecount="1" falsecount="0"/>
9914
+ <line num="26" count="440" type="cond" truecount="1" falsecount="0"/>
9882
9915
  <line num="27" count="39" type="stmt"/>
9883
- <line num="29" count="441" type="cond" truecount="3" falsecount="0"/>
9884
- <line num="30" count="407" type="stmt"/>
9916
+ <line num="29" count="440" type="cond" truecount="3" falsecount="0"/>
9917
+ <line num="30" count="406" type="stmt"/>
9885
9918
  <line num="35" count="34" type="stmt"/>
9886
9919
  <line num="38" count="58" type="stmt"/>
9887
- <line num="39" count="328" type="stmt"/>
9888
- <line num="40" count="328" type="stmt"/>
9920
+ <line num="39" count="327" type="stmt"/>
9921
+ <line num="40" count="327" type="stmt"/>
9889
9922
  <line num="46" count="38" type="stmt"/>
9890
9923
  <line num="49" count="58" type="stmt"/>
9891
- <line num="51" count="326" type="stmt"/>
9892
- <line num="52" count="326" type="stmt"/>
9893
- <line num="56" count="326" type="stmt"/>
9894
- <line num="57" count="326" type="stmt"/>
9895
- <line num="58" count="551" type="stmt"/>
9896
- <line num="59" count="551" type="cond" truecount="1" falsecount="0"/>
9897
- <line num="60" count="405" type="stmt"/>
9898
- <line num="63" count="326" type="stmt"/>
9924
+ <line num="51" count="325" type="stmt"/>
9925
+ <line num="52" count="325" type="stmt"/>
9926
+ <line num="56" count="325" type="stmt"/>
9927
+ <line num="57" count="325" type="stmt"/>
9928
+ <line num="58" count="549" type="stmt"/>
9929
+ <line num="59" count="549" type="cond" truecount="1" falsecount="0"/>
9930
+ <line num="60" count="404" type="stmt"/>
9931
+ <line num="63" count="325" type="stmt"/>
9899
9932
  </file>
9900
9933
  </package>
9901
9934
  <package name="src.tests.utilities">
@@ -9933,55 +9966,55 @@
9933
9966
  <line num="82" count="29" type="stmt"/>
9934
9967
  <line num="86" count="2" type="stmt"/>
9935
9968
  <line num="90" count="1" type="stmt"/>
9936
- <line num="94" count="374" type="stmt"/>
9969
+ <line num="94" count="373" type="stmt"/>
9937
9970
  <line num="98" count="4" type="stmt"/>
9938
9971
  <line num="102" count="7" type="stmt"/>
9939
- <line num="111" count="1059" type="cond" truecount="1" falsecount="0"/>
9940
- <line num="112" count="344" type="stmt"/>
9941
- <line num="114" count="1059" type="stmt"/>
9942
- <line num="116" count="1059" type="cond" truecount="4" falsecount="0"/>
9972
+ <line num="111" count="1057" type="cond" truecount="1" falsecount="0"/>
9973
+ <line num="112" count="343" type="stmt"/>
9974
+ <line num="114" count="1057" type="stmt"/>
9975
+ <line num="116" count="1057" type="cond" truecount="4" falsecount="0"/>
9943
9976
  <line num="117" count="458" type="stmt"/>
9944
9977
  <line num="118" count="458" type="stmt"/>
9945
- <line num="121" count="601" type="stmt"/>
9946
- <line num="130" count="273" type="cond" truecount="1" falsecount="0"/>
9978
+ <line num="121" count="599" type="stmt"/>
9979
+ <line num="130" count="272" type="cond" truecount="1" falsecount="0"/>
9947
9980
  <line num="131" count="52" type="stmt"/>
9948
- <line num="133" count="273" type="stmt"/>
9949
- <line num="134" count="273" type="stmt"/>
9950
- <line num="135" count="273" type="stmt"/>
9951
- <line num="137" count="273" type="stmt"/>
9981
+ <line num="133" count="272" type="stmt"/>
9982
+ <line num="134" count="272" type="stmt"/>
9983
+ <line num="135" count="272" type="stmt"/>
9984
+ <line num="137" count="272" type="stmt"/>
9952
9985
  <line num="141" count="50" type="cond" truecount="0" falsecount="1"/>
9953
9986
  <line num="142" count="0" type="stmt"/>
9954
9987
  <line num="144" count="50" type="cond" truecount="1" falsecount="0"/>
9955
9988
  <line num="145" count="30" type="stmt"/>
9956
9989
  <line num="147" count="50" type="cond" truecount="1" falsecount="0"/>
9957
- <line num="148" count="514" type="stmt"/>
9958
- <line num="156" count="998" type="stmt"/>
9959
- <line num="157" count="998" type="stmt"/>
9960
- <line num="158" count="998" type="stmt"/>
9961
- <line num="160" count="998" type="stmt"/>
9962
- <line num="161" count="998" type="stmt"/>
9963
- <line num="162" count="998" type="stmt"/>
9964
- <line num="163" count="998" type="stmt"/>
9965
- <line num="164" count="998" type="stmt"/>
9966
- <line num="167" count="998" type="cond" truecount="1" falsecount="0"/>
9990
+ <line num="148" count="512" type="stmt"/>
9991
+ <line num="156" count="996" type="stmt"/>
9992
+ <line num="157" count="996" type="stmt"/>
9993
+ <line num="158" count="996" type="stmt"/>
9994
+ <line num="160" count="996" type="stmt"/>
9995
+ <line num="161" count="996" type="stmt"/>
9996
+ <line num="162" count="996" type="stmt"/>
9997
+ <line num="163" count="996" type="stmt"/>
9998
+ <line num="164" count="996" type="stmt"/>
9999
+ <line num="167" count="996" type="cond" truecount="1" falsecount="0"/>
9967
10000
  <line num="168" count="115" type="stmt"/>
9968
- <line num="170" count="998" type="stmt"/>
9969
- <line num="171" count="998" type="stmt"/>
9970
- <line num="172" count="995" type="stmt"/>
9971
- <line num="186" count="322" type="stmt"/>
9972
- <line num="188" count="322" type="stmt"/>
9973
- <line num="189" count="322" type="stmt"/>
10001
+ <line num="170" count="996" type="stmt"/>
10002
+ <line num="171" count="996" type="stmt"/>
10003
+ <line num="172" count="993" type="stmt"/>
10004
+ <line num="186" count="321" type="stmt"/>
10005
+ <line num="188" count="321" type="stmt"/>
10006
+ <line num="189" count="321" type="stmt"/>
9974
10007
  <line num="191" count="81" type="stmt"/>
9975
- <line num="193" count="322" type="stmt"/>
9976
- <line num="201" count="322" type="stmt"/>
9977
- <line num="206" count="322" type="cond" truecount="2" falsecount="0"/>
9978
- <line num="207" count="289" type="stmt"/>
10008
+ <line num="193" count="321" type="stmt"/>
10009
+ <line num="201" count="321" type="stmt"/>
10010
+ <line num="206" count="321" type="cond" truecount="2" falsecount="0"/>
10011
+ <line num="207" count="288" type="stmt"/>
9979
10012
  <line num="209" count="33" type="stmt"/>
9980
- <line num="211" count="322" type="cond" truecount="2" falsecount="0"/>
10013
+ <line num="211" count="321" type="cond" truecount="2" falsecount="0"/>
9981
10014
  <line num="212" count="2" type="stmt"/>
9982
- <line num="214" count="320" type="stmt"/>
9983
- <line num="216" count="322" type="stmt"/>
9984
- <line num="217" count="322" type="stmt"/>
10015
+ <line num="214" count="319" type="stmt"/>
10016
+ <line num="216" count="321" type="stmt"/>
10017
+ <line num="217" count="321" type="stmt"/>
9985
10018
  <line num="233" count="16" type="cond" truecount="2" falsecount="0"/>
9986
10019
  <line num="234" count="16" type="stmt"/>
9987
10020
  <line num="243" count="16" type="stmt"/>
@@ -10000,14 +10033,14 @@
10000
10033
  <line num="280" count="32" type="stmt"/>
10001
10034
  <line num="283" count="32" type="stmt"/>
10002
10035
  <line num="284" count="32" type="stmt"/>
10003
- <line num="296" count="235" type="stmt"/>
10004
- <line num="301" count="235" type="stmt"/>
10005
- <line num="305" count="235" type="stmt"/>
10006
- <line num="306" count="235" type="stmt"/>
10007
- <line num="307" count="235" type="stmt"/>
10008
- <line num="316" count="235" type="cond" truecount="1" falsecount="0"/>
10009
- <line num="317" count="235" type="stmt"/>
10010
- <line num="319" count="235" type="stmt"/>
10036
+ <line num="296" count="234" type="stmt"/>
10037
+ <line num="301" count="234" type="stmt"/>
10038
+ <line num="305" count="234" type="stmt"/>
10039
+ <line num="306" count="234" type="stmt"/>
10040
+ <line num="307" count="234" type="stmt"/>
10041
+ <line num="316" count="234" type="cond" truecount="1" falsecount="0"/>
10042
+ <line num="317" count="234" type="stmt"/>
10043
+ <line num="319" count="234" type="stmt"/>
10011
10044
  <line num="323" count="4" type="cond" truecount="2" falsecount="0"/>
10012
10045
  <line num="325" count="4" type="stmt"/>
10013
10046
  <line num="328" count="4" type="cond" truecount="1" falsecount="0"/>
@@ -10022,21 +10055,21 @@
10022
10055
  <line num="354" count="2" type="stmt"/>
10023
10056
  <line num="357" count="2" type="stmt"/>
10024
10057
  <line num="358" count="2" type="stmt"/>
10025
- <line num="366" count="285" type="stmt"/>
10026
- <line num="368" count="285" type="stmt"/>
10027
- <line num="369" count="285" type="stmt"/>
10028
- <line num="370" count="285" type="stmt"/>
10029
- <line num="372" count="285" type="stmt"/>
10030
- <line num="375" count="285" type="stmt"/>
10031
- <line num="377" count="285" type="stmt"/>
10032
- <line num="378" count="285" type="stmt"/>
10033
- <line num="380" count="285" type="stmt"/>
10034
- <line num="384" count="293" type="stmt"/>
10035
- <line num="386" count="293" type="stmt"/>
10036
- <line num="387" count="293" type="stmt"/>
10037
- <line num="389" count="293" type="stmt"/>
10038
- <line num="390" count="293" type="stmt"/>
10039
- <line num="391" count="293" type="stmt"/>
10058
+ <line num="366" count="284" type="stmt"/>
10059
+ <line num="368" count="284" type="stmt"/>
10060
+ <line num="369" count="284" type="stmt"/>
10061
+ <line num="370" count="284" type="stmt"/>
10062
+ <line num="372" count="284" type="stmt"/>
10063
+ <line num="375" count="284" type="stmt"/>
10064
+ <line num="377" count="284" type="stmt"/>
10065
+ <line num="378" count="284" type="stmt"/>
10066
+ <line num="380" count="284" type="stmt"/>
10067
+ <line num="384" count="292" type="stmt"/>
10068
+ <line num="386" count="292" type="stmt"/>
10069
+ <line num="387" count="292" type="stmt"/>
10070
+ <line num="389" count="292" type="stmt"/>
10071
+ <line num="390" count="292" type="stmt"/>
10072
+ <line num="391" count="292" type="stmt"/>
10040
10073
  <line num="396" count="0" type="stmt"/>
10041
10074
  <line num="401" count="0" type="stmt"/>
10042
10075
  <line num="402" count="0" type="stmt"/>
@@ -10123,7 +10156,7 @@
10123
10156
  <line num="3" count="54" type="stmt"/>
10124
10157
  <line num="4" count="54" type="stmt"/>
10125
10158
  <line num="5" count="54" type="stmt"/>
10126
- <line num="6" count="285" type="stmt"/>
10159
+ <line num="6" count="284" type="stmt"/>
10127
10160
  <line num="7" count="54" type="stmt"/>
10128
10161
  <line num="8" count="54" type="stmt"/>
10129
10162
  <line num="9" count="70" type="stmt"/>
@@ -10131,7 +10164,7 @@
10131
10164
  <line num="11" count="54" type="stmt"/>
10132
10165
  <line num="12" count="54" type="stmt"/>
10133
10166
  <line num="13" count="54" type="stmt"/>
10134
- <line num="14" count="293" type="stmt"/>
10167
+ <line num="14" count="292" type="stmt"/>
10135
10168
  </file>
10136
10169
  <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/server/src/tests/utilities/index.ts">
10137
10170
  <metrics statements="7" coveredstatements="7" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
@@ -10151,7 +10184,7 @@
10151
10184
  <line num="4" count="54" type="stmt"/>
10152
10185
  <line num="5" count="54" type="stmt"/>
10153
10186
  <line num="6" count="54" type="stmt"/>
10154
- <line num="8" count="3349" type="stmt"/>
10187
+ <line num="8" count="3341" type="stmt"/>
10155
10188
  <line num="10" count="97" type="stmt"/>
10156
10189
  <line num="11" count="101" type="stmt"/>
10157
10190
  <line num="32" count="0" type="stmt"/>
@@ -10638,101 +10671,20 @@
10638
10671
  </file>
10639
10672
  </package>
10640
10673
  <package name="src.utilities">
10641
- <metrics statements="396" coveredstatements="275" conditionals="134" coveredconditionals="78" methods="132" coveredmethods="87"/>
10674
+ <metrics statements="364" coveredstatements="233" conditionals="141" coveredconditionals="71" methods="130" coveredmethods="83"/>
10642
10675
  <file name="budibaseDir.ts" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/budibaseDir.ts">
10643
10676
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
10644
- <line num="1" count="59" type="stmt"/>
10645
- <line num="3" count="634" type="stmt"/>
10677
+ <line num="1" count="58" type="stmt"/>
10678
+ <line num="3" count="630" type="stmt"/>
10646
10679
  </file>
10647
10680
  <file name="centralPath.ts" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/centralPath.ts">
10648
10681
  <metrics statements="5" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="3"/>
10649
- <line num="1" count="59" type="stmt"/>
10682
+ <line num="1" count="58" type="stmt"/>
10650
10683
  <line num="11" count="54" type="stmt"/>
10651
10684
  <line num="12" count="0" type="stmt"/>
10652
10685
  <line num="20" count="54" type="stmt"/>
10653
10686
  <line num="21" count="1" type="stmt"/>
10654
10687
  </file>
10655
- <file name="csvParser.ts" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/csvParser.ts">
10656
- <metrics statements="78" coveredstatements="60" conditionals="31" coveredconditionals="19" methods="19" coveredmethods="14"/>
10657
- <line num="2" count="56" type="stmt"/>
10658
- <line num="3" count="56" type="stmt"/>
10659
- <line num="11" count="56" type="stmt"/>
10660
- <line num="12" count="0" type="stmt"/>
10661
- <line num="13" count="0" type="stmt"/>
10662
- <line num="14" count="0" type="stmt"/>
10663
- <line num="17" count="7" type="cond" truecount="0" falsecount="1"/>
10664
- <line num="18" count="0" type="stmt"/>
10665
- <line num="20" count="7" type="stmt"/>
10666
- <line num="24" count="0" type="cond" truecount="0" falsecount="1"/>
10667
- <line num="25" count="0" type="stmt"/>
10668
- <line num="27" count="0" type="stmt"/>
10669
- <line num="31" count="56" type="stmt"/>
10670
- <line num="33" count="3" type="cond" truecount="0" falsecount="1"/>
10671
- <line num="34" count="0" type="stmt"/>
10672
- <line num="36" count="3" type="stmt"/>
10673
- <line num="39" count="2" type="cond" truecount="0" falsecount="1"/>
10674
- <line num="40" count="0" type="stmt"/>
10675
- <line num="42" count="2" type="stmt"/>
10676
- <line num="46" count="3" type="stmt"/>
10677
- <line num="47" count="3" type="stmt"/>
10678
- <line num="49" count="3" type="stmt"/>
10679
- <line num="51" count="3" type="stmt"/>
10680
- <line num="52" count="3" type="stmt"/>
10681
- <line num="53" count="3" type="stmt"/>
10682
- <line num="54" count="10" type="stmt"/>
10683
- <line num="60" count="3" type="stmt"/>
10684
- <line num="62" count="7" type="stmt"/>
10685
- <line num="63" count="9" type="cond" truecount="3" falsecount="0"/>
10686
- <line num="65" count="7" type="stmt"/>
10687
- <line num="67" count="7" type="stmt"/>
10688
- <line num="69" count="7" type="cond" truecount="2" falsecount="0"/>
10689
- <line num="71" count="0" type="stmt"/>
10690
- <line num="76" count="3" type="stmt"/>
10691
- <line num="77" count="3" type="cond" truecount="0" falsecount="1"/>
10692
- <line num="78" count="0" type="stmt"/>
10693
- <line num="79" count="0" type="stmt"/>
10694
- <line num="82" count="3" type="stmt"/>
10695
- <line num="87" count="0" type="stmt"/>
10696
- <line num="94" count="3" type="cond" truecount="0" falsecount="1"/>
10697
- <line num="95" count="0" type="stmt"/>
10698
- <line num="97" count="3" type="stmt"/>
10699
- <line num="98" count="3" type="stmt"/>
10700
- <line num="99" count="8" type="stmt"/>
10701
- <line num="100" count="3" type="cond" truecount="1" falsecount="1"/>
10702
- <line num="101" count="8" type="stmt"/>
10703
- <line num="102" count="8" type="stmt"/>
10704
- <line num="103" count="8" type="cond" truecount="1" falsecount="0"/>
10705
- <line num="104" count="8" type="stmt"/>
10706
- <line num="105" count="8" type="stmt"/>
10707
- <line num="108" count="3" type="stmt"/>
10708
- <line num="111" count="6" type="stmt"/>
10709
- <line num="116" count="6" type="cond" truecount="2" falsecount="1"/>
10710
- <line num="117" count="0" type="stmt"/>
10711
- <line num="119" count="6" type="stmt"/>
10712
- <line num="122" count="6" type="cond" truecount="1" falsecount="0"/>
10713
- <line num="123" count="3" type="stmt"/>
10714
- <line num="126" count="6" type="cond" truecount="1" falsecount="1"/>
10715
- <line num="128" count="13" type="cond" truecount="1" falsecount="0"/>
10716
- <line num="129" count="13" type="cond" truecount="2" falsecount="0"/>
10717
- <line num="133" count="6" type="stmt"/>
10718
- <line num="134" count="6" type="stmt"/>
10719
- <line num="135" count="5" type="stmt"/>
10720
- <line num="136" count="5" type="cond" truecount="1" falsecount="1"/>
10721
- <line num="137" count="12" type="stmt"/>
10722
- <line num="139" count="5" type="stmt"/>
10723
- <line num="140" count="9" type="cond" truecount="0" falsecount="1"/>
10724
- <line num="141" count="0" type="stmt"/>
10725
- <line num="143" count="9" type="stmt"/>
10726
- <line num="144" count="20" type="stmt"/>
10727
- <line num="146" count="20" type="cond" truecount="2" falsecount="0"/>
10728
- <line num="147" count="6" type="stmt"/>
10729
- <line num="150" count="14" type="cond" truecount="0" falsecount="1"/>
10730
- <line num="151" count="0" type="stmt"/>
10731
- <line num="152" count="0" type="stmt"/>
10732
- <line num="156" count="5" type="stmt"/>
10733
- <line num="158" count="1" type="stmt"/>
10734
- <line num="159" count="1" type="stmt"/>
10735
- </file>
10736
10688
  <file name="global.ts" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/global.ts">
10737
10689
  <metrics statements="68" coveredstatements="50" conditionals="36" coveredconditionals="22" methods="22" coveredmethods="16"/>
10738
10690
  <line num="1" count="63" type="stmt"/>
@@ -10740,38 +10692,38 @@
10740
10692
  <line num="9" count="63" type="stmt"/>
10741
10693
  <line num="10" count="63" type="stmt"/>
10742
10694
  <line num="13" count="0" type="stmt"/>
10743
- <line num="17" count="830" type="cond" truecount="2" falsecount="0"/>
10744
- <line num="19" count="830" type="cond" truecount="3" falsecount="0"/>
10695
+ <line num="17" count="827" type="cond" truecount="2" falsecount="0"/>
10696
+ <line num="19" count="827" type="cond" truecount="3" falsecount="0"/>
10745
10697
  <line num="20" count="3" type="stmt"/>
10746
- <line num="23" count="827" type="cond" truecount="1" falsecount="3"/>
10698
+ <line num="23" count="824" type="cond" truecount="1" falsecount="3"/>
10747
10699
  <line num="24" count="0" type="stmt"/>
10748
10700
  <line num="25" count="0" type="stmt"/>
10749
10701
  <line num="26" count="0" type="stmt"/>
10750
10702
  <line num="27" count="0" type="stmt"/>
10751
- <line num="30" count="827" type="cond" truecount="1" falsecount="0"/>
10752
- <line num="31" count="827" type="stmt"/>
10753
- <line num="34" count="827" type="cond" truecount="5" falsecount="0"/>
10754
- <line num="35" count="683" type="stmt"/>
10755
- <line num="36" count="144" type="cond" truecount="4" falsecount="0"/>
10756
- <line num="37" count="139" type="stmt"/>
10703
+ <line num="30" count="824" type="cond" truecount="1" falsecount="0"/>
10704
+ <line num="31" count="824" type="stmt"/>
10705
+ <line num="34" count="824" type="cond" truecount="5" falsecount="0"/>
10706
+ <line num="35" count="681" type="stmt"/>
10707
+ <line num="36" count="143" type="cond" truecount="4" falsecount="0"/>
10708
+ <line num="37" count="138" type="stmt"/>
10757
10709
  <line num="38" count="5" type="cond" truecount="0" falsecount="1"/>
10758
10710
  <line num="39" count="0" type="stmt"/>
10759
- <line num="42" count="827" type="stmt"/>
10760
- <line num="43" count="827" type="stmt"/>
10711
+ <line num="42" count="824" type="stmt"/>
10712
+ <line num="43" count="824" type="stmt"/>
10761
10713
  <line num="50" count="0" type="cond" truecount="0" falsecount="3"/>
10762
10714
  <line num="51" count="0" type="stmt"/>
10763
10715
  <line num="53" count="0" type="cond" truecount="0" falsecount="1"/>
10764
10716
  <line num="54" count="0" type="stmt"/>
10765
10717
  <line num="56" count="0" type="stmt"/>
10766
- <line num="63" count="272" type="cond" truecount="1" falsecount="0"/>
10767
- <line num="64" count="272" type="stmt"/>
10768
- <line num="66" count="272" type="stmt"/>
10769
- <line num="67" count="272" type="cond" truecount="2" falsecount="1"/>
10718
+ <line num="63" count="271" type="cond" truecount="1" falsecount="0"/>
10719
+ <line num="64" count="271" type="stmt"/>
10720
+ <line num="66" count="271" type="stmt"/>
10721
+ <line num="67" count="271" type="cond" truecount="2" falsecount="1"/>
10770
10722
  <line num="68" count="0" type="stmt"/>
10771
- <line num="71" count="272" type="stmt"/>
10772
- <line num="74" count="270" type="stmt"/>
10773
- <line num="77" count="270" type="stmt"/>
10774
- <line num="78" count="270" type="stmt"/>
10723
+ <line num="71" count="271" type="stmt"/>
10724
+ <line num="74" count="269" type="stmt"/>
10725
+ <line num="77" count="269" type="stmt"/>
10726
+ <line num="78" count="269" type="stmt"/>
10775
10727
  <line num="81" count="2" type="stmt"/>
10776
10728
  <line num="82" count="4" type="stmt"/>
10777
10729
  <line num="83" count="4" type="stmt"/>
@@ -10779,24 +10731,24 @@
10779
10731
  <line num="87" count="2" type="stmt"/>
10780
10732
  <line num="88" count="2" type="stmt"/>
10781
10733
  <line num="89" count="2" type="stmt"/>
10782
- <line num="92" count="328" type="stmt"/>
10783
- <line num="93" count="358" type="stmt"/>
10784
- <line num="94" count="358" type="stmt"/>
10785
- <line num="96" count="358" type="cond" truecount="2" falsecount="0"/>
10734
+ <line num="92" count="327" type="stmt"/>
10735
+ <line num="93" count="357" type="stmt"/>
10736
+ <line num="94" count="357" type="stmt"/>
10737
+ <line num="96" count="357" type="cond" truecount="2" falsecount="0"/>
10786
10738
  <line num="97" count="30" type="stmt"/>
10787
10739
  <line num="98" count="0" type="stmt"/>
10788
10740
  <line num="100" count="30" type="stmt"/>
10789
10741
  <line num="101" count="0" type="stmt"/>
10790
- <line num="104" count="328" type="stmt"/>
10791
- <line num="110" count="558" type="stmt"/>
10792
- <line num="112" count="358" type="stmt"/>
10793
- <line num="113" count="558" type="stmt"/>
10794
- <line num="115" count="558" type="stmt"/>
10795
- <line num="116" count="558" type="stmt"/>
10796
- <line num="117" count="558" type="stmt"/>
10797
- <line num="119" count="358" type="cond" truecount="0" falsecount="1"/>
10742
+ <line num="104" count="327" type="stmt"/>
10743
+ <line num="110" count="556" type="stmt"/>
10744
+ <line num="112" count="357" type="stmt"/>
10745
+ <line num="113" count="556" type="stmt"/>
10746
+ <line num="115" count="556" type="stmt"/>
10747
+ <line num="116" count="556" type="stmt"/>
10748
+ <line num="117" count="556" type="stmt"/>
10749
+ <line num="119" count="357" type="cond" truecount="0" falsecount="1"/>
10798
10750
  <line num="120" count="0" type="stmt"/>
10799
- <line num="123" count="558" type="stmt"/>
10751
+ <line num="123" count="556" type="stmt"/>
10800
10752
  <line num="126" count="30" type="stmt"/>
10801
10753
  <line num="127" count="30" type="stmt"/>
10802
10754
  <line num="128" count="30" type="stmt"/>
@@ -10867,10 +10819,10 @@
10867
10819
  <line num="122" count="1" type="cond" truecount="1" falsecount="2"/>
10868
10820
  <line num="123" count="0" type="stmt"/>
10869
10821
  <line num="125" count="1" type="stmt"/>
10870
- <line num="128" count="293" type="stmt"/>
10871
- <line num="129" count="293" type="cond" truecount="1" falsecount="1"/>
10822
+ <line num="128" count="292" type="stmt"/>
10823
+ <line num="129" count="292" type="cond" truecount="1" falsecount="1"/>
10872
10824
  <line num="130" count="0" type="stmt"/>
10873
- <line num="132" count="293" type="stmt"/>
10825
+ <line num="132" count="292" type="stmt"/>
10874
10826
  </file>
10875
10827
  <file name="redis.ts" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/redis.ts">
10876
10828
  <metrics statements="48" coveredstatements="20" conditionals="8" coveredconditionals="2" methods="22" coveredmethods="10"/>
@@ -10923,6 +10875,55 @@
10923
10875
  <line num="84" count="2" type="stmt"/>
10924
10876
  <line num="85" count="2" type="stmt"/>
10925
10877
  </file>
10878
+ <file name="schema.ts" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/schema.ts">
10879
+ <metrics statements="46" coveredstatements="18" conditionals="38" coveredconditionals="12" methods="17" coveredmethods="10"/>
10880
+ <line num="1" count="55" type="stmt"/>
10881
+ <line num="29" count="55" type="stmt"/>
10882
+ <line num="31" count="0" type="cond" truecount="0" falsecount="1"/>
10883
+ <line num="32" count="0" type="stmt"/>
10884
+ <line num="34" count="0" type="stmt"/>
10885
+ <line num="37" count="0" type="cond" truecount="0" falsecount="1"/>
10886
+ <line num="38" count="0" type="stmt"/>
10887
+ <line num="40" count="0" type="stmt"/>
10888
+ <line num="44" count="3" type="stmt"/>
10889
+ <line num="45" count="3" type="stmt"/>
10890
+ <line num="48" count="8" type="stmt"/>
10891
+ <line num="50" count="8" type="stmt"/>
10892
+ <line num="60" count="3" type="stmt"/>
10893
+ <line num="61" count="3" type="cond" truecount="2" falsecount="0"/>
10894
+ <line num="64" count="0" type="stmt"/>
10895
+ <line num="65" count="0" type="stmt"/>
10896
+ <line num="71" count="0" type="stmt"/>
10897
+ <line num="72" count="0" type="stmt"/>
10898
+ <line num="73" count="0" type="stmt"/>
10899
+ <line num="74" count="0" type="stmt"/>
10900
+ <line num="77" count="0" type="cond" truecount="0" falsecount="2"/>
10901
+ <line num="78" count="0" type="stmt"/>
10902
+ <line num="79" count="0" type="cond" truecount="0" falsecount="2"/>
10903
+ <line num="86" count="0" type="stmt"/>
10904
+ <line num="87" count="0" type="cond" truecount="0" falsecount="2"/>
10905
+ <line num="92" count="0" type="stmt"/>
10906
+ <line num="93" count="0" type="cond" truecount="0" falsecount="2"/>
10907
+ <line num="98" count="0" type="stmt"/>
10908
+ <line num="100" count="0" type="stmt"/>
10909
+ <line num="105" count="0" type="stmt"/>
10910
+ <line num="107" count="0" type="stmt"/>
10911
+ <line num="110" count="0" type="stmt"/>
10912
+ <line num="111" count="0" type="stmt"/>
10913
+ <line num="114" count="3" type="stmt"/>
10914
+ <line num="115" count="3" type="stmt"/>
10915
+ <line num="116" count="3" type="stmt"/>
10916
+ <line num="118" count="3" type="stmt"/>
10917
+ <line num="119" count="8" type="cond" truecount="2" falsecount="1"/>
10918
+ <line num="121" count="0" type="stmt"/>
10919
+ <line num="124" count="8" type="stmt"/>
10920
+ <line num="126" count="8" type="cond" truecount="1" falsecount="1"/>
10921
+ <line num="128" count="0" type="cond" truecount="0" falsecount="2"/>
10922
+ <line num="129" count="8" type="cond" truecount="1" falsecount="1"/>
10923
+ <line num="131" count="0" type="cond" truecount="0" falsecount="2"/>
10924
+ <line num="135" count="8" type="stmt"/>
10925
+ <line num="139" count="3" type="stmt"/>
10926
+ </file>
10926
10927
  <file name="scriptRunner.ts" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/scriptRunner.ts">
10927
10928
  <metrics statements="13" coveredstatements="13" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
10928
10929
  <line num="1" count="55" type="stmt"/>
@@ -11067,23 +11068,23 @@
11067
11068
  </file>
11068
11069
  </package>
11069
11070
  <package name="src.utilities.fileSystem">
11070
- <metrics statements="193" coveredstatements="99" conditionals="36" coveredconditionals="10" methods="53" coveredmethods="25"/>
11071
+ <metrics statements="193" coveredstatements="98" conditionals="36" coveredconditionals="10" methods="53" coveredmethods="23"/>
11071
11072
  <file name="app.ts" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/fileSystem/app.ts">
11072
11073
  <metrics statements="32" coveredstatements="18" conditionals="3" coveredconditionals="0" methods="9" coveredmethods="5"/>
11073
- <line num="1" count="59" type="stmt"/>
11074
- <line num="2" count="59" type="stmt"/>
11075
- <line num="3" count="59" type="stmt"/>
11076
- <line num="4" count="59" type="stmt"/>
11077
- <line num="5" count="59" type="stmt"/>
11078
- <line num="6" count="59" type="stmt"/>
11079
- <line num="7" count="59" type="stmt"/>
11080
- <line num="8" count="59" type="stmt"/>
11081
- <line num="10" count="59" type="stmt"/>
11082
- <line num="17" count="59" type="stmt"/>
11074
+ <line num="1" count="58" type="stmt"/>
11075
+ <line num="2" count="58" type="stmt"/>
11076
+ <line num="3" count="58" type="stmt"/>
11077
+ <line num="4" count="58" type="stmt"/>
11078
+ <line num="5" count="58" type="stmt"/>
11079
+ <line num="6" count="58" type="stmt"/>
11080
+ <line num="7" count="58" type="stmt"/>
11081
+ <line num="8" count="58" type="stmt"/>
11082
+ <line num="10" count="58" type="stmt"/>
11083
+ <line num="17" count="58" type="stmt"/>
11083
11084
  <line num="18" count="0" type="stmt"/>
11084
- <line num="26" count="59" type="stmt"/>
11085
+ <line num="26" count="58" type="stmt"/>
11085
11086
  <line num="27" count="0" type="stmt"/>
11086
- <line num="33" count="59" type="stmt"/>
11087
+ <line num="33" count="58" type="stmt"/>
11087
11088
  <line num="34" count="1" type="stmt"/>
11088
11089
  <line num="35" count="1" type="stmt"/>
11089
11090
  <line num="51" count="0" type="cond" truecount="0" falsecount="1"/>
@@ -11097,21 +11098,21 @@
11097
11098
  <line num="70" count="0" type="cond" truecount="0" falsecount="1"/>
11098
11099
  <line num="71" count="0" type="stmt"/>
11099
11100
  <line num="73" count="0" type="stmt"/>
11100
- <line num="79" count="59" type="stmt"/>
11101
+ <line num="79" count="58" type="stmt"/>
11101
11102
  <line num="80" count="43" type="stmt"/>
11102
- <line num="81" count="514" type="stmt"/>
11103
- <line num="82" count="514" type="cond" truecount="0" falsecount="1"/>
11103
+ <line num="81" count="512" type="stmt"/>
11104
+ <line num="82" count="512" type="cond" truecount="0" falsecount="1"/>
11104
11105
  <line num="83" count="0" type="stmt"/>
11105
11106
  </file>
11106
11107
  <file name="clientLibrary.ts" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/fileSystem/clientLibrary.ts">
11107
11108
  <metrics statements="30" coveredstatements="7" conditionals="2" coveredconditionals="0" methods="6" coveredmethods="0"/>
11108
- <line num="1" count="59" type="stmt"/>
11109
- <line num="2" count="59" type="stmt"/>
11110
- <line num="3" count="59" type="stmt"/>
11111
- <line num="4" count="59" type="stmt"/>
11112
- <line num="5" count="59" type="stmt"/>
11113
- <line num="6" count="59" type="stmt"/>
11114
- <line num="7" count="59" type="stmt"/>
11109
+ <line num="1" count="58" type="stmt"/>
11110
+ <line num="2" count="58" type="stmt"/>
11111
+ <line num="3" count="58" type="stmt"/>
11112
+ <line num="4" count="58" type="stmt"/>
11113
+ <line num="5" count="58" type="stmt"/>
11114
+ <line num="6" count="58" type="stmt"/>
11115
+ <line num="7" count="58" type="stmt"/>
11115
11116
  <line num="36" count="0" type="stmt"/>
11116
11117
  <line num="39" count="0" type="stmt"/>
11117
11118
  <line num="41" count="0" type="stmt"/>
@@ -11137,15 +11138,15 @@
11137
11138
  <line num="153" count="0" type="stmt"/>
11138
11139
  </file>
11139
11140
  <file name="filesystem.ts" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/fileSystem/filesystem.ts">
11140
- <metrics statements="72" coveredstatements="48" conditionals="20" coveredconditionals="7" methods="27" coveredmethods="18"/>
11141
- <line num="2" count="59" type="stmt"/>
11142
- <line num="3" count="59" type="stmt"/>
11143
- <line num="4" count="59" type="stmt"/>
11144
- <line num="5" count="59" type="stmt"/>
11145
- <line num="6" count="59" type="stmt"/>
11146
- <line num="7" count="59" type="stmt"/>
11147
- <line num="9" count="113" type="stmt"/>
11148
- <line num="14" count="59" type="stmt"/>
11141
+ <metrics statements="72" coveredstatements="47" conditionals="20" coveredconditionals="7" methods="27" coveredmethods="16"/>
11142
+ <line num="2" count="58" type="stmt"/>
11143
+ <line num="3" count="58" type="stmt"/>
11144
+ <line num="4" count="58" type="stmt"/>
11145
+ <line num="5" count="58" type="stmt"/>
11146
+ <line num="6" count="58" type="stmt"/>
11147
+ <line num="7" count="58" type="stmt"/>
11148
+ <line num="9" count="112" type="stmt"/>
11149
+ <line num="14" count="58" type="stmt"/>
11149
11150
  <line num="15" count="52" type="stmt"/>
11150
11151
  <line num="16" count="52" type="cond" truecount="0" falsecount="1"/>
11151
11152
  <line num="19" count="0" type="stmt"/>
@@ -11155,7 +11156,7 @@
11155
11156
  <line num="27" count="52" type="stmt"/>
11156
11157
  <line num="28" count="52" type="cond" truecount="3" falsecount="0"/>
11157
11158
  <line num="29" count="1" type="stmt"/>
11158
- <line num="37" count="59" type="stmt"/>
11159
+ <line num="37" count="58" type="stmt"/>
11159
11160
  <line num="38" count="0" type="cond" truecount="0" falsecount="3"/>
11160
11161
  <line num="39" count="0" type="stmt"/>
11161
11162
  <line num="41" count="0" type="cond" truecount="0" falsecount="1"/>
@@ -11165,27 +11166,27 @@
11165
11166
  <line num="48" count="0" type="cond" truecount="0" falsecount="1"/>
11166
11167
  <line num="49" count="0" type="stmt"/>
11167
11168
  <line num="50" count="0" type="stmt"/>
11168
- <line num="61" count="59" type="stmt"/>
11169
+ <line num="61" count="58" type="stmt"/>
11169
11170
  <line num="62" count="0" type="stmt"/>
11170
- <line num="71" count="59" type="stmt"/>
11171
+ <line num="71" count="58" type="stmt"/>
11171
11172
  <line num="72" count="6" type="stmt"/>
11172
11173
  <line num="73" count="6" type="stmt"/>
11173
11174
  <line num="74" count="6" type="stmt"/>
11174
- <line num="77" count="59" type="stmt"/>
11175
+ <line num="77" count="58" type="stmt"/>
11175
11176
  <line num="78" count="1" type="stmt"/>
11176
- <line num="86" count="59" type="stmt"/>
11177
+ <line num="86" count="58" type="stmt"/>
11177
11178
  <line num="87" count="0" type="stmt"/>
11178
11179
  <line num="88" count="0" type="stmt"/>
11179
11180
  <line num="89" count="0" type="stmt"/>
11180
- <line num="96" count="59" type="stmt"/>
11181
+ <line num="96" count="58" type="stmt"/>
11181
11182
  <line num="97" count="0" type="stmt"/>
11182
11183
  <line num="98" count="0" type="stmt"/>
11183
- <line num="105" count="59" type="stmt"/>
11184
+ <line num="105" count="58" type="stmt"/>
11184
11185
  <line num="106" count="0" type="stmt"/>
11185
11186
  <line num="107" count="0" type="stmt"/>
11186
- <line num="114" count="59" type="cond" truecount="0" falsecount="1"/>
11187
- <line num="115" count="1" type="stmt"/>
11188
- <line num="118" count="59" type="stmt"/>
11187
+ <line num="114" count="58" type="cond" truecount="0" falsecount="1"/>
11188
+ <line num="115" count="0" type="stmt"/>
11189
+ <line num="118" count="58" type="stmt"/>
11189
11190
  <line num="119" count="9" type="stmt"/>
11190
11191
  <line num="120" count="9" type="stmt"/>
11191
11192
  <line num="122" count="9" type="cond" truecount="1" falsecount="0"/>
@@ -11193,9 +11194,9 @@
11193
11194
  <line num="125" count="9" type="stmt"/>
11194
11195
  <line num="127" count="0" type="stmt"/>
11195
11196
  <line num="130" count="9" type="stmt"/>
11196
- <line num="133" count="59" type="stmt"/>
11197
+ <line num="133" count="58" type="stmt"/>
11197
11198
  <line num="134" count="6" type="stmt"/>
11198
- <line num="143" count="59" type="stmt"/>
11199
+ <line num="143" count="58" type="stmt"/>
11199
11200
  <line num="144" count="3" type="cond" truecount="0" falsecount="1"/>
11200
11201
  <line num="145" count="0" type="stmt"/>
11201
11202
  <line num="148" count="3" type="stmt"/>
@@ -11206,27 +11207,27 @@
11206
11207
  <line num="154" count="2" type="stmt"/>
11207
11208
  <line num="155" count="2" type="cond" truecount="1" falsecount="0"/>
11208
11209
  <line num="156" count="1" type="stmt"/>
11209
- <line num="164" count="59" type="stmt"/>
11210
+ <line num="164" count="58" type="stmt"/>
11210
11211
  <line num="165" count="1" type="cond" truecount="0" falsecount="1"/>
11211
11212
  <line num="166" count="0" type="stmt"/>
11212
11213
  <line num="169" count="1" type="stmt"/>
11213
11214
  </file>
11214
11215
  <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/fileSystem/index.ts">
11215
11216
  <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
11216
- <line num="1" count="59" type="stmt"/>
11217
- <line num="2" count="59" type="stmt"/>
11218
- <line num="3" count="59" type="stmt"/>
11219
- <line num="4" count="59" type="stmt"/>
11220
- <line num="5" count="59" type="stmt"/>
11217
+ <line num="1" count="58" type="stmt"/>
11218
+ <line num="2" count="58" type="stmt"/>
11219
+ <line num="3" count="58" type="stmt"/>
11220
+ <line num="4" count="58" type="stmt"/>
11221
+ <line num="5" count="58" type="stmt"/>
11221
11222
  </file>
11222
11223
  <file name="plugin.ts" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/fileSystem/plugin.ts">
11223
11224
  <metrics statements="34" coveredstatements="15" conditionals="8" coveredconditionals="3" methods="4" coveredmethods="2"/>
11224
- <line num="3" count="59" type="stmt"/>
11225
- <line num="4" count="59" type="stmt"/>
11226
- <line num="5" count="59" type="stmt"/>
11227
- <line num="6" count="59" type="stmt"/>
11228
- <line num="8" count="59" type="stmt"/>
11229
- <line num="10" count="59" type="stmt"/>
11225
+ <line num="3" count="58" type="stmt"/>
11226
+ <line num="4" count="58" type="stmt"/>
11227
+ <line num="5" count="58" type="stmt"/>
11228
+ <line num="6" count="58" type="stmt"/>
11229
+ <line num="8" count="58" type="stmt"/>
11230
+ <line num="10" count="58" type="stmt"/>
11230
11231
  <line num="11" count="8" type="stmt"/>
11231
11232
  <line num="12" count="8" type="stmt"/>
11232
11233
  <line num="13" count="8" type="stmt"/>
@@ -11237,7 +11238,7 @@
11237
11238
  <line num="24" count="0" type="stmt"/>
11238
11239
  <line num="29" count="0" type="stmt"/>
11239
11240
  <line num="34" count="8" type="stmt"/>
11240
- <line num="37" count="59" type="stmt"/>
11241
+ <line num="37" count="58" type="stmt"/>
11241
11242
  <line num="38" count="0" type="stmt"/>
11242
11243
  <line num="39" count="0" type="cond" truecount="0" falsecount="1"/>
11243
11244
  <line num="40" count="0" type="stmt"/>
@@ -11267,17 +11268,17 @@
11267
11268
  </file>
11268
11269
  <file name="template.ts" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/fileSystem/template.ts">
11269
11270
  <metrics statements="14" coveredstatements="6" conditionals="2" coveredconditionals="0" methods="4" coveredmethods="0"/>
11270
- <line num="1" count="59" type="stmt"/>
11271
- <line num="2" count="59" type="stmt"/>
11272
- <line num="3" count="59" type="stmt"/>
11273
- <line num="4" count="59" type="stmt"/>
11274
- <line num="11" count="59" type="stmt"/>
11271
+ <line num="1" count="58" type="stmt"/>
11272
+ <line num="2" count="58" type="stmt"/>
11273
+ <line num="3" count="58" type="stmt"/>
11274
+ <line num="4" count="58" type="stmt"/>
11275
+ <line num="11" count="58" type="stmt"/>
11275
11276
  <line num="12" count="0" type="cond" truecount="0" falsecount="2"/>
11276
11277
  <line num="13" count="0" type="stmt"/>
11277
11278
  <line num="15" count="0" type="stmt"/>
11278
11279
  <line num="16" count="0" type="stmt"/>
11279
11280
  <line num="17" count="0" type="stmt"/>
11280
- <line num="27" count="59" type="stmt"/>
11281
+ <line num="27" count="58" type="stmt"/>
11281
11282
  <line num="29" count="0" type="stmt"/>
11282
11283
  <line num="30" count="0" type="stmt"/>
11283
11284
  <line num="31" count="0" type="stmt"/>