@budibase/server 2.1.43-alpha.1 → 2.1.43-alpha.10

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 (375) hide show
  1. package/builder/assets/index.183b181c.css +6 -0
  2. package/builder/assets/{index.8935424b.js → index.c8b919df.js} +305 -305
  3. package/builder/index.html +2 -2
  4. package/coverage/clover.xml +902 -867
  5. package/coverage/coverage-final.json +25 -20
  6. package/coverage/lcov-report/index.html +75 -45
  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 +86 -233
  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 +5 -2
  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 +1 -1
  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 +1 -1
  19. package/coverage/lcov-report/src/api/controllers/dev.ts.html +1 -1
  20. package/coverage/lcov-report/src/api/controllers/index.html +28 -28
  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 +13 -4
  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 +4 -4
  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 +1 -1
  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 +1 -1
  76. package/coverage/lcov-report/src/api/controllers/table/index.html +1 -1
  77. package/coverage/lcov-report/src/api/controllers/table/index.ts.html +1 -1
  78. package/coverage/lcov-report/src/api/controllers/table/internal.ts.html +1 -1
  79. package/coverage/lcov-report/src/api/controllers/table/utils.ts.html +1 -1
  80. package/coverage/lcov-report/src/api/controllers/templates.ts.html +1 -1
  81. package/coverage/lcov-report/src/api/controllers/user.ts.html +13 -184
  82. package/coverage/lcov-report/src/api/controllers/view/exporters.ts.html +1 -1
  83. package/coverage/lcov-report/src/api/controllers/view/index.html +1 -1
  84. package/coverage/lcov-report/src/api/controllers/view/index.ts.html +1 -1
  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 +1 -1
  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/users.ts.html +1 -1
  118. package/coverage/lcov-report/src/api/routes/public/utils/Endpoint.ts.html +1 -1
  119. package/coverage/lcov-report/src/api/routes/public/utils/index.html +1 -1
  120. package/coverage/lcov-report/src/api/routes/query.ts.html +1 -1
  121. package/coverage/lcov-report/src/api/routes/role.ts.html +1 -1
  122. package/coverage/lcov-report/src/api/routes/routing.ts.html +1 -1
  123. package/coverage/lcov-report/src/api/routes/row.ts.html +1 -1
  124. package/coverage/lcov-report/src/api/routes/screen.ts.html +1 -1
  125. package/coverage/lcov-report/src/api/routes/script.ts.html +1 -1
  126. package/coverage/lcov-report/src/api/routes/static.ts.html +1 -1
  127. package/coverage/lcov-report/src/api/routes/table.ts.html +1 -1
  128. package/coverage/lcov-report/src/api/routes/templates.ts.html +1 -1
  129. package/coverage/lcov-report/src/api/routes/tests/utilities/TestFunctions.ts.html +1 -1
  130. package/coverage/lcov-report/src/api/routes/tests/utilities/index.html +1 -1
  131. package/coverage/lcov-report/src/api/routes/tests/utilities/index.ts.html +1 -1
  132. package/coverage/lcov-report/src/api/routes/user.ts.html +1 -1
  133. package/coverage/lcov-report/src/api/routes/utils/index.html +1 -1
  134. package/coverage/lcov-report/src/api/routes/utils/validators.ts.html +1 -1
  135. package/coverage/lcov-report/src/api/routes/view.ts.html +1 -1
  136. package/coverage/lcov-report/src/api/routes/webhook.ts.html +1 -1
  137. package/coverage/lcov-report/src/app.ts.html +1 -1
  138. package/coverage/lcov-report/src/automations/actions.ts.html +1 -1
  139. package/coverage/lcov-report/src/automations/automationUtils.ts.html +1 -1
  140. package/coverage/lcov-report/src/automations/bullboard.ts.html +1 -1
  141. package/coverage/lcov-report/src/automations/index.html +1 -1
  142. package/coverage/lcov-report/src/automations/index.ts.html +1 -1
  143. package/coverage/lcov-report/src/automations/logging/index.html +1 -1
  144. package/coverage/lcov-report/src/automations/logging/index.ts.html +1 -1
  145. package/coverage/lcov-report/src/automations/steps/bash.ts.html +1 -1
  146. package/coverage/lcov-report/src/automations/steps/createRow.ts.html +1 -1
  147. package/coverage/lcov-report/src/automations/steps/delay.ts.html +1 -1
  148. package/coverage/lcov-report/src/automations/steps/deleteRow.ts.html +1 -1
  149. package/coverage/lcov-report/src/automations/steps/discord.ts.html +1 -1
  150. package/coverage/lcov-report/src/automations/steps/executeQuery.ts.html +1 -1
  151. package/coverage/lcov-report/src/automations/steps/executeScript.ts.html +1 -1
  152. package/coverage/lcov-report/src/automations/steps/filter.ts.html +1 -1
  153. package/coverage/lcov-report/src/automations/steps/index.html +1 -1
  154. package/coverage/lcov-report/src/automations/steps/integromat.ts.html +1 -1
  155. package/coverage/lcov-report/src/automations/steps/loop.ts.html +1 -1
  156. package/coverage/lcov-report/src/automations/steps/outgoingWebhook.ts.html +1 -1
  157. package/coverage/lcov-report/src/automations/steps/queryRows.ts.html +1 -1
  158. package/coverage/lcov-report/src/automations/steps/sendSmtpEmail.ts.html +1 -1
  159. package/coverage/lcov-report/src/automations/steps/serverLog.ts.html +1 -1
  160. package/coverage/lcov-report/src/automations/steps/slack.ts.html +1 -1
  161. package/coverage/lcov-report/src/automations/steps/updateRow.ts.html +1 -1
  162. package/coverage/lcov-report/src/automations/steps/utils.ts.html +1 -1
  163. package/coverage/lcov-report/src/automations/steps/zapier.ts.html +1 -1
  164. package/coverage/lcov-report/src/automations/tests/utilities/index.html +1 -1
  165. package/coverage/lcov-report/src/automations/tests/utilities/index.ts.html +1 -1
  166. package/coverage/lcov-report/src/automations/triggerInfo/app.ts.html +1 -1
  167. package/coverage/lcov-report/src/automations/triggerInfo/cron.ts.html +1 -1
  168. package/coverage/lcov-report/src/automations/triggerInfo/index.html +1 -1
  169. package/coverage/lcov-report/src/automations/triggerInfo/index.ts.html +1 -1
  170. package/coverage/lcov-report/src/automations/triggerInfo/rowDeleted.ts.html +1 -1
  171. package/coverage/lcov-report/src/automations/triggerInfo/rowSaved.ts.html +1 -1
  172. package/coverage/lcov-report/src/automations/triggerInfo/rowUpdated.ts.html +1 -1
  173. package/coverage/lcov-report/src/automations/triggerInfo/webhook.ts.html +1 -1
  174. package/coverage/lcov-report/src/automations/triggers.ts.html +1 -1
  175. package/coverage/lcov-report/src/automations/utils.ts.html +1 -1
  176. package/coverage/lcov-report/src/constants/index.html +1 -1
  177. package/coverage/lcov-report/src/constants/index.ts.html +1 -1
  178. package/coverage/lcov-report/src/constants/layouts.ts.html +1 -1
  179. package/coverage/lcov-report/src/constants/screens.ts.html +1 -1
  180. package/coverage/lcov-report/src/db/defaultData/datasource_bb_default.ts.html +1 -1
  181. package/coverage/lcov-report/src/db/defaultData/employeeImport.ts.html +1 -1
  182. package/coverage/lcov-report/src/db/defaultData/expensesImport.ts.html +1 -1
  183. package/coverage/lcov-report/src/db/defaultData/index.html +1 -1
  184. package/coverage/lcov-report/src/db/defaultData/inventoryImport.ts.html +1 -1
  185. package/coverage/lcov-report/src/db/defaultData/jobsImport.ts.html +1 -1
  186. package/coverage/lcov-report/src/db/dynamoClient.ts.html +1 -1
  187. package/coverage/lcov-report/src/db/inMemoryView.ts.html +1 -1
  188. package/coverage/lcov-report/src/db/index.html +1 -1
  189. package/coverage/lcov-report/src/db/index.ts.html +1 -1
  190. package/coverage/lcov-report/src/db/linkedRows/LinkController.ts.html +1 -1
  191. package/coverage/lcov-report/src/db/linkedRows/LinkDocument.ts.html +1 -1
  192. package/coverage/lcov-report/src/db/linkedRows/index.html +1 -1
  193. package/coverage/lcov-report/src/db/linkedRows/index.ts.html +1 -1
  194. package/coverage/lcov-report/src/db/linkedRows/linkUtils.ts.html +1 -1
  195. package/coverage/lcov-report/src/db/newid.ts.html +1 -1
  196. package/coverage/lcov-report/src/db/utils.ts.html +1 -1
  197. package/coverage/lcov-report/src/definitions/automations.ts.html +1 -1
  198. package/coverage/lcov-report/src/definitions/datasource.ts.html +1 -1
  199. package/coverage/lcov-report/src/definitions/index.html +1 -1
  200. package/coverage/lcov-report/src/environment.ts.html +1 -1
  201. package/coverage/lcov-report/src/events/AutomationEmitter.ts.html +1 -1
  202. package/coverage/lcov-report/src/events/BudibaseEmitter.ts.html +1 -1
  203. package/coverage/lcov-report/src/events/index.html +1 -1
  204. package/coverage/lcov-report/src/events/index.ts.html +1 -1
  205. package/coverage/lcov-report/src/events/utils.ts.html +1 -1
  206. package/coverage/lcov-report/src/index.html +1 -1
  207. package/coverage/lcov-report/src/index.ts.html +1 -1
  208. package/coverage/lcov-report/src/integrations/airtable.ts.html +1 -1
  209. package/coverage/lcov-report/src/integrations/arangodb.ts.html +1 -1
  210. package/coverage/lcov-report/src/integrations/base/index.html +1 -1
  211. package/coverage/lcov-report/src/integrations/base/query.ts.html +1 -1
  212. package/coverage/lcov-report/src/integrations/base/sql.ts.html +1 -1
  213. package/coverage/lcov-report/src/integrations/base/sqlTable.ts.html +1 -1
  214. package/coverage/lcov-report/src/integrations/base/utils.ts.html +1 -1
  215. package/coverage/lcov-report/src/integrations/couchdb.ts.html +1 -1
  216. package/coverage/lcov-report/src/integrations/dynamodb.ts.html +1 -1
  217. package/coverage/lcov-report/src/integrations/elasticsearch.ts.html +1 -1
  218. package/coverage/lcov-report/src/integrations/firebase.ts.html +1 -1
  219. package/coverage/lcov-report/src/integrations/googlesheets.ts.html +1 -1
  220. package/coverage/lcov-report/src/integrations/index.html +30 -30
  221. package/coverage/lcov-report/src/integrations/index.ts.html +1 -1
  222. package/coverage/lcov-report/src/integrations/microsoftSqlServer.ts.html +33 -27
  223. package/coverage/lcov-report/src/integrations/mongodb.ts.html +1 -1
  224. package/coverage/lcov-report/src/integrations/mysql.ts.html +8 -5
  225. package/coverage/lcov-report/src/integrations/oracle.ts.html +40 -127
  226. package/coverage/lcov-report/src/integrations/postgres.ts.html +26 -8
  227. package/coverage/lcov-report/src/integrations/queries/index.html +1 -1
  228. package/coverage/lcov-report/src/integrations/queries/sql.ts.html +1 -1
  229. package/coverage/lcov-report/src/integrations/redis.ts.html +1 -1
  230. package/coverage/lcov-report/src/integrations/rest.ts.html +1 -1
  231. package/coverage/lcov-report/src/integrations/s3.ts.html +1 -1
  232. package/coverage/lcov-report/src/integrations/snowflake.ts.html +1 -1
  233. package/coverage/lcov-report/src/integrations/tests/TestConfiguration.js.html +1 -1
  234. package/coverage/lcov-report/src/integrations/tests/index.html +1 -1
  235. package/coverage/lcov-report/src/integrations/utils.ts.html +1 -1
  236. package/coverage/lcov-report/src/middleware/appInfo.ts.html +1 -1
  237. package/coverage/lcov-report/src/middleware/authorized.ts.html +1 -1
  238. package/coverage/lcov-report/src/middleware/builder.ts.html +1 -1
  239. package/coverage/lcov-report/src/middleware/currentapp.ts.html +1 -1
  240. package/coverage/lcov-report/src/middleware/index.html +1 -1
  241. package/coverage/lcov-report/src/middleware/joi-validator.ts.html +1 -1
  242. package/coverage/lcov-report/src/middleware/publicApi.ts.html +1 -1
  243. package/coverage/lcov-report/src/middleware/resourceId.ts.html +1 -1
  244. package/coverage/lcov-report/src/middleware/selfhost.ts.html +1 -1
  245. package/coverage/lcov-report/src/middleware/utils.ts.html +1 -1
  246. package/coverage/lcov-report/src/migrations/functions/appUrls.ts.html +8 -29
  247. package/coverage/lcov-report/src/migrations/functions/backfill/app/automations.ts.html +1 -1
  248. package/coverage/lcov-report/src/migrations/functions/backfill/app/datasources.ts.html +1 -1
  249. package/coverage/lcov-report/src/migrations/functions/backfill/app/index.html +1 -1
  250. package/coverage/lcov-report/src/migrations/functions/backfill/app/layouts.ts.html +1 -1
  251. package/coverage/lcov-report/src/migrations/functions/backfill/app/queries.ts.html +1 -1
  252. package/coverage/lcov-report/src/migrations/functions/backfill/app/roles.ts.html +1 -1
  253. package/coverage/lcov-report/src/migrations/functions/backfill/app/screens.ts.html +1 -1
  254. package/coverage/lcov-report/src/migrations/functions/backfill/app/tables.ts.html +1 -1
  255. package/coverage/lcov-report/src/migrations/functions/backfill/app.ts.html +1 -1
  256. package/coverage/lcov-report/src/migrations/functions/backfill/global/configs.ts.html +1 -1
  257. package/coverage/lcov-report/src/migrations/functions/backfill/global/index.html +1 -1
  258. package/coverage/lcov-report/src/migrations/functions/backfill/global/quotas.ts.html +1 -1
  259. package/coverage/lcov-report/src/migrations/functions/backfill/global/users.ts.html +1 -1
  260. package/coverage/lcov-report/src/migrations/functions/backfill/global.ts.html +1 -1
  261. package/coverage/lcov-report/src/migrations/functions/backfill/index.html +1 -1
  262. package/coverage/lcov-report/src/migrations/functions/backfill/index.ts.html +1 -1
  263. package/coverage/lcov-report/src/migrations/functions/backfill/installation.ts.html +1 -1
  264. package/coverage/lcov-report/src/migrations/functions/index.html +11 -11
  265. package/coverage/lcov-report/src/migrations/functions/syncQuotas.ts.html +1 -1
  266. package/coverage/lcov-report/src/migrations/functions/tableSettings.ts.html +1 -1
  267. package/coverage/lcov-report/src/migrations/functions/usageQuotas/index.html +1 -1
  268. package/coverage/lcov-report/src/migrations/functions/usageQuotas/index.ts.html +1 -1
  269. package/coverage/lcov-report/src/migrations/functions/usageQuotas/syncApps.ts.html +1 -1
  270. package/coverage/lcov-report/src/migrations/functions/usageQuotas/syncPlugins.ts.html +1 -1
  271. package/coverage/lcov-report/src/migrations/functions/usageQuotas/syncRows.ts.html +1 -1
  272. package/coverage/lcov-report/src/migrations/functions/userEmailViewCasing.ts.html +1 -1
  273. package/coverage/lcov-report/src/migrations/index.html +1 -1
  274. package/coverage/lcov-report/src/migrations/index.ts.html +1 -1
  275. package/coverage/lcov-report/src/migrations/tests/helpers.ts.html +1 -1
  276. package/coverage/lcov-report/src/migrations/tests/index.html +1 -1
  277. package/coverage/lcov-report/src/migrations/tests/structures.ts.html +1 -1
  278. package/coverage/lcov-report/src/sdk/app/applications/index.html +146 -0
  279. package/coverage/lcov-report/src/sdk/app/applications/index.ts.html +106 -0
  280. package/coverage/lcov-report/src/sdk/app/applications/sync.ts.html +244 -0
  281. package/coverage/lcov-report/src/sdk/app/applications/utils.ts.html +136 -0
  282. package/coverage/lcov-report/src/sdk/app/automations/index.html +1 -1
  283. package/coverage/lcov-report/src/sdk/app/automations/index.ts.html +3 -3
  284. package/coverage/lcov-report/src/sdk/app/automations/webhook.ts.html +6 -6
  285. package/coverage/lcov-report/src/sdk/app/backups/constants.ts.html +3 -3
  286. package/coverage/lcov-report/src/sdk/app/backups/exports.ts.html +17 -17
  287. package/coverage/lcov-report/src/sdk/app/backups/imports.ts.html +17 -17
  288. package/coverage/lcov-report/src/sdk/app/backups/index.html +1 -1
  289. package/coverage/lcov-report/src/sdk/app/backups/index.ts.html +5 -5
  290. package/coverage/lcov-report/src/sdk/app/backups/statistics.ts.html +7 -7
  291. package/coverage/lcov-report/src/sdk/app/tables/index.html +1 -1
  292. package/coverage/lcov-report/src/sdk/app/tables/index.ts.html +5 -5
  293. package/coverage/lcov-report/src/sdk/index.html +5 -5
  294. package/coverage/lcov-report/src/sdk/index.ts.html +15 -12
  295. package/coverage/lcov-report/src/sdk/users/index.html +131 -0
  296. package/coverage/lcov-report/src/sdk/users/index.ts.html +100 -0
  297. package/coverage/lcov-report/src/sdk/users/utils.ts.html +277 -0
  298. package/coverage/lcov-report/src/startup.ts.html +1 -1
  299. package/coverage/lcov-report/src/tests/utilities/TestConfiguration.ts.html +1 -1
  300. package/coverage/lcov-report/src/tests/utilities/controllers.ts.html +1 -1
  301. package/coverage/lcov-report/src/tests/utilities/index.html +1 -1
  302. package/coverage/lcov-report/src/tests/utilities/index.ts.html +1 -1
  303. package/coverage/lcov-report/src/tests/utilities/structures.ts.html +1 -1
  304. package/coverage/lcov-report/src/threads/automation.ts.html +1 -1
  305. package/coverage/lcov-report/src/threads/index.html +1 -1
  306. package/coverage/lcov-report/src/threads/index.ts.html +1 -1
  307. package/coverage/lcov-report/src/threads/query.ts.html +1 -1
  308. package/coverage/lcov-report/src/threads/utils.ts.html +1 -1
  309. package/coverage/lcov-report/src/utilities/budibaseDir.ts.html +1 -1
  310. package/coverage/lcov-report/src/utilities/centralPath.ts.html +1 -1
  311. package/coverage/lcov-report/src/utilities/csvParser.ts.html +1 -1
  312. package/coverage/lcov-report/src/utilities/fileSystem/clientLibrary.ts.html +1 -1
  313. package/coverage/lcov-report/src/utilities/fileSystem/index.html +1 -1
  314. package/coverage/lcov-report/src/utilities/fileSystem/index.ts.html +1 -1
  315. package/coverage/lcov-report/src/utilities/fileSystem/processor.ts.html +1 -1
  316. package/coverage/lcov-report/src/utilities/global.ts.html +34 -34
  317. package/coverage/lcov-report/src/utilities/index.html +1 -1
  318. package/coverage/lcov-report/src/utilities/index.ts.html +1 -1
  319. package/coverage/lcov-report/src/utilities/plugins.ts.html +1 -1
  320. package/coverage/lcov-report/src/utilities/redis.ts.html +1 -1
  321. package/coverage/lcov-report/src/utilities/routing/index.html +1 -1
  322. package/coverage/lcov-report/src/utilities/routing/index.ts.html +1 -1
  323. package/coverage/lcov-report/src/utilities/rowProcessor/index.html +1 -1
  324. package/coverage/lcov-report/src/utilities/rowProcessor/index.ts.html +1 -1
  325. package/coverage/lcov-report/src/utilities/rowProcessor/map.ts.html +1 -1
  326. package/coverage/lcov-report/src/utilities/rowProcessor/utils.ts.html +1 -1
  327. package/coverage/lcov-report/src/utilities/scriptRunner.ts.html +1 -1
  328. package/coverage/lcov-report/src/utilities/security.ts.html +1 -1
  329. package/coverage/lcov-report/src/utilities/statusCodes.ts.html +1 -1
  330. package/coverage/lcov-report/src/utilities/usageQuota/index.html +15 -15
  331. package/coverage/lcov-report/src/utilities/usageQuota/rows.ts.html +13 -13
  332. package/coverage/lcov-report/src/utilities/usageQuota/usageQuoteReset.ts.html +1 -1
  333. package/coverage/lcov-report/src/utilities/users.ts.html +1 -1
  334. package/coverage/lcov-report/src/utilities/workerRequests.ts.html +1 -1
  335. package/coverage/lcov-report/src/watch.ts.html +1 -1
  336. package/coverage/lcov-report/src/websocket.ts.html +1 -1
  337. package/coverage/lcov.info +1539 -1479
  338. package/dist/api/controllers/application.js +419 -438
  339. package/dist/api/controllers/cloud.js +1 -0
  340. package/dist/api/controllers/row/ExternalRequest.js +2 -1
  341. package/dist/api/controllers/user.js +7 -48
  342. package/dist/integrations/base/types.js +2 -0
  343. package/dist/integrations/microsoftSqlServer.js +8 -3
  344. package/dist/integrations/oracle.js +8 -1
  345. package/dist/integrations/postgres.js +6 -3
  346. package/dist/migrations/functions/appUrls.js +5 -9
  347. package/dist/package.json +6 -6
  348. package/dist/sdk/app/applications/index.js +28 -0
  349. package/dist/sdk/app/applications/sync.js +66 -0
  350. package/dist/sdk/app/applications/utils.js +21 -0
  351. package/dist/sdk/index.js +4 -2
  352. package/dist/sdk/users/index.js +27 -0
  353. package/dist/sdk/users/utils.js +65 -0
  354. package/dist/tsconfig.build.tsbuildinfo +1 -1
  355. package/package.json +7 -7
  356. package/scripts/integrations/mssql/data/setup.sql +3 -3
  357. package/scripts/integrations/postgres/emp-skill.sql +46 -0
  358. package/src/api/controllers/application.ts +55 -104
  359. package/src/api/controllers/cloud.ts +1 -0
  360. package/src/api/controllers/row/ExternalRequest.ts +4 -1
  361. package/src/api/controllers/user.ts +4 -61
  362. package/src/api/routes/tests/application.spec.js +0 -1
  363. package/src/integrations/base/types.ts +134 -0
  364. package/src/integrations/microsoftSqlServer.ts +14 -12
  365. package/src/integrations/mysql.ts +4 -3
  366. package/src/integrations/oracle.ts +17 -46
  367. package/src/integrations/postgres.ts +8 -2
  368. package/src/migrations/functions/appUrls.ts +2 -9
  369. package/src/sdk/app/applications/index.ts +7 -0
  370. package/src/sdk/app/applications/sync.ts +53 -0
  371. package/src/sdk/app/applications/utils.ts +17 -0
  372. package/src/sdk/index.ts +4 -3
  373. package/src/sdk/users/index.ts +5 -0
  374. package/src/sdk/users/utils.ts +64 -0
  375. package/builder/assets/index.0c44dac3.css +0 -6
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1669988382727" clover="3.2.0">
3
- <project timestamp="1669988382728" name="All files">
4
- <metrics statements="10526" coveredstatements="7179" conditionals="4212" coveredconditionals="2076" methods="1785" coveredmethods="1219" elements="16523" coveredelements="10474" complexity="0" loc="10526" ncloc="10526" packages="55" files="268" classes="268"/>
2
+ <coverage generated="1670344102152" clover="3.2.0">
3
+ <project timestamp="1670344102152" name="All files">
4
+ <metrics statements="10540" coveredstatements="7218" conditionals="4241" coveredconditionals="2101" methods="1771" coveredmethods="1206" elements="16552" coveredelements="10525" complexity="0" loc="10540" ncloc="10540" packages="57" files="273" classes="273"/>
5
5
  <package name="src">
6
6
  <metrics statements="178" coveredstatements="102" conditionals="77" coveredconditionals="34" methods="33" coveredmethods="15"/>
7
7
  <file name="app.ts" path="/home/runner/work/budibase/budibase/packages/server/src/app.ts">
@@ -241,7 +241,7 @@
241
241
  </file>
242
242
  </package>
243
243
  <package name="src.api.controllers">
244
- <metrics statements="1326" coveredstatements="964" conditionals="412" coveredconditionals="208" methods="226" coveredmethods="158"/>
244
+ <metrics statements="1267" coveredstatements="945" conditionals="405" coveredconditionals="210" methods="202" coveredmethods="140"/>
245
245
  <file name="analytics.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.ts">
246
246
  <metrics statements="20" coveredstatements="20" conditionals="4" coveredconditionals="4" methods="4" coveredmethods="4"/>
247
247
  <line num="1" count="45" type="stmt"/>
@@ -292,7 +292,7 @@
292
292
  <line num="46" count="1" type="stmt"/>
293
293
  </file>
294
294
  <file name="application.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/application.ts">
295
- <metrics statements="302" coveredstatements="252" conditionals="121" coveredconditionals="81" methods="61" coveredmethods="56"/>
295
+ <metrics statements="267" coveredstatements="236" conditionals="122" coveredconditionals="83" methods="42" coveredmethods="39"/>
296
296
  <line num="1" count="45" type="stmt"/>
297
297
  <line num="2" count="45" type="stmt"/>
298
298
  <line num="3" count="45" type="stmt"/>
@@ -301,300 +301,265 @@
301
301
  <line num="17" count="45" type="stmt"/>
302
302
  <line num="27" count="45" type="stmt"/>
303
303
  <line num="28" count="45" type="stmt"/>
304
+ <line num="29" count="45" type="stmt"/>
304
305
  <line num="30" count="45" type="stmt"/>
305
- <line num="31" count="45" type="stmt"/>
306
+ <line num="35" count="45" type="stmt"/>
306
307
  <line num="36" count="45" type="stmt"/>
307
- <line num="37" count="45" type="stmt"/>
308
+ <line num="41" count="45" type="stmt"/>
308
309
  <line num="42" count="45" type="stmt"/>
309
310
  <line num="43" count="45" type="stmt"/>
310
311
  <line num="44" count="45" type="stmt"/>
311
312
  <line num="45" count="45" type="stmt"/>
312
- <line num="46" count="45" type="stmt"/>
313
- <line num="47" count="45" type="stmt"/>
314
- <line num="48" count="45" type="stmt"/>
315
- <line num="49" count="45" type="stmt"/>
316
- <line num="50" count="45" type="stmt"/>
317
- <line num="52" count="45" type="stmt"/>
318
- <line num="56" count="8" type="stmt"/>
319
- <line num="57" count="8" type="stmt"/>
320
- <line num="63" count="2" type="stmt"/>
321
- <line num="67" count="8" type="stmt"/>
322
- <line num="68" count="8" type="stmt"/>
323
- <line num="74" count="1" type="stmt"/>
324
- <line num="78" count="1" type="cond" truecount="3" falsecount="1"/>
325
- <line num="83" count="45" type="stmt"/>
326
- <line num="86" count="254" type="cond" truecount="2" falsecount="0"/>
327
- <line num="88" count="1" type="stmt"/>
328
- <line num="89" count="253" type="cond" truecount="1" falsecount="0"/>
329
- <line num="91" count="253" type="stmt"/>
330
- <line num="93" count="254" type="cond" truecount="1" falsecount="0"/>
331
- <line num="94" count="254" type="stmt"/>
332
- <line num="96" count="254" type="stmt"/>
333
- <line num="99" count="45" type="stmt"/>
334
- <line num="100" count="253" type="cond" truecount="1" falsecount="0"/>
335
- <line num="101" count="4" type="stmt"/>
336
- <line num="103" count="1169" type="cond" truecount="0" falsecount="1"/>
337
- <line num="104" count="0" type="stmt"/>
338
- <line num="108" count="45" type="stmt"/>
339
- <line num="115" count="253" type="cond" truecount="0" falsecount="1"/>
340
- <line num="116" count="0" type="stmt"/>
341
- <line num="118" count="253" type="cond" truecount="1" falsecount="0"/>
342
- <line num="119" count="4" type="stmt"/>
343
- <line num="121" count="1169" type="cond" truecount="0" falsecount="1"/>
344
- <line num="122" count="0" type="stmt"/>
345
- <line num="127" count="250" type="cond" truecount="1" falsecount="1"/>
346
- <line num="128" count="250" type="stmt"/>
347
- <line num="129" count="250" type="stmt"/>
348
- <line num="130" count="250" type="stmt"/>
349
- <line num="132" count="250" type="stmt"/>
350
- <line num="133" count="250" type="stmt"/>
351
- <line num="142" count="250" type="stmt"/>
352
- <line num="143" count="250" type="stmt"/>
353
- <line num="144" count="250" type="stmt"/>
354
- <line num="148" count="250" type="cond" truecount="4" falsecount="0"/>
355
- <line num="149" count="1" type="stmt"/>
356
- <line num="150" count="1" type="cond" truecount="0" falsecount="1"/>
357
- <line num="151" count="0" type="stmt"/>
358
- <line num="153" count="249" type="cond" truecount="4" falsecount="0"/>
359
- <line num="154" count="2" type="stmt"/>
360
- <line num="157" count="247" type="stmt"/>
361
- <line num="159" count="247" type="cond" truecount="0" falsecount="1"/>
313
+ <line num="53" count="45" type="stmt"/>
314
+ <line num="54" count="45" type="stmt"/>
315
+ <line num="55" count="45" type="stmt"/>
316
+ <line num="59" count="8" type="stmt"/>
317
+ <line num="60" count="8" type="stmt"/>
318
+ <line num="66" count="2" type="stmt"/>
319
+ <line num="70" count="8" type="stmt"/>
320
+ <line num="71" count="8" type="stmt"/>
321
+ <line num="77" count="1" type="stmt"/>
322
+ <line num="81" count="1" type="cond" truecount="6" falsecount="2"/>
323
+ <line num="92" count="253" type="cond" truecount="1" falsecount="0"/>
324
+ <line num="93" count="4" type="stmt"/>
325
+ <line num="95" count="1169" type="cond" truecount="0" falsecount="1"/>
326
+ <line num="96" count="0" type="stmt"/>
327
+ <line num="107" count="253" type="cond" truecount="0" falsecount="1"/>
328
+ <line num="108" count="0" type="stmt"/>
329
+ <line num="110" count="253" type="cond" truecount="1" falsecount="0"/>
330
+ <line num="111" count="4" type="stmt"/>
331
+ <line num="113" count="1169" type="cond" truecount="0" falsecount="1"/>
332
+ <line num="114" count="0" type="stmt"/>
333
+ <line num="119" count="250" type="cond" truecount="1" falsecount="1"/>
334
+ <line num="120" count="250" type="stmt"/>
335
+ <line num="121" count="250" type="stmt"/>
336
+ <line num="122" count="250" type="stmt"/>
337
+ <line num="124" count="250" type="stmt"/>
338
+ <line num="125" count="250" type="stmt"/>
339
+ <line num="134" count="250" type="stmt"/>
340
+ <line num="135" count="250" type="stmt"/>
341
+ <line num="136" count="250" type="stmt"/>
342
+ <line num="140" count="250" type="cond" truecount="4" falsecount="0"/>
343
+ <line num="141" count="1" type="stmt"/>
344
+ <line num="142" count="1" type="cond" truecount="0" falsecount="1"/>
345
+ <line num="143" count="0" type="stmt"/>
346
+ <line num="145" count="249" type="cond" truecount="4" falsecount="0"/>
347
+ <line num="146" count="2" type="stmt"/>
348
+ <line num="149" count="247" type="stmt"/>
349
+ <line num="151" count="247" type="cond" truecount="0" falsecount="1"/>
350
+ <line num="153" count="0" type="stmt"/>
351
+ <line num="157" count="250" type="stmt"/>
362
352
  <line num="161" count="0" type="stmt"/>
363
- <line num="165" count="250" type="stmt"/>
364
- <line num="168" count="45" type="stmt"/>
365
- <line num="169" count="0" type="stmt"/>
366
- <line num="172" count="0" type="stmt"/>
367
- <line num="175" count="45" type="stmt"/>
368
- <line num="176" count="15" type="cond" truecount="2" falsecount="0"/>
369
- <line num="177" count="15" type="cond" truecount="2" falsecount="0"/>
353
+ <line num="164" count="0" type="stmt"/>
354
+ <line num="167" count="45" type="stmt"/>
355
+ <line num="168" count="15" type="cond" truecount="2" falsecount="0"/>
356
+ <line num="169" count="15" type="cond" truecount="2" falsecount="0"/>
357
+ <line num="170" count="15" type="stmt"/>
358
+ <line num="172" count="15" type="stmt"/>
359
+ <line num="173" count="23" type="stmt"/>
360
+ <line num="174" count="23" type="stmt"/>
361
+ <line num="176" count="15" type="cond" truecount="2" falsecount="1"/>
362
+ <line num="177" count="15" type="stmt"/>
370
363
  <line num="178" count="15" type="stmt"/>
371
- <line num="180" count="15" type="stmt"/>
372
- <line num="181" count="23" type="stmt"/>
373
- <line num="182" count="23" type="stmt"/>
374
- <line num="184" count="15" type="cond" truecount="2" falsecount="1"/>
375
- <line num="185" count="15" type="stmt"/>
376
- <line num="186" count="15" type="stmt"/>
377
- <line num="187" count="23" type="stmt"/>
378
- <line num="188" count="23" type="cond" truecount="1" falsecount="1"/>
379
- <line num="189" count="0" type="stmt"/>
380
- <line num="192" count="23" type="stmt"/>
381
- <line num="197" count="15" type="stmt"/>
382
- <line num="200" count="45" type="stmt"/>
383
- <line num="201" count="1" type="stmt"/>
384
- <line num="202" count="1" type="stmt"/>
385
- <line num="203" count="1" type="stmt"/>
386
- <line num="204" count="1" type="stmt"/>
387
- <line num="208" count="1" type="stmt"/>
388
- <line num="215" count="45" type="stmt"/>
389
- <line num="216" count="6" type="stmt"/>
390
- <line num="217" count="6" type="stmt"/>
391
- <line num="218" count="6" type="stmt"/>
392
- <line num="219" count="6" type="stmt"/>
393
- <line num="222" count="6" type="stmt"/>
394
- <line num="225" count="6" type="cond" truecount="2" falsecount="1"/>
395
- <line num="226" count="0" type="stmt"/>
396
- <line num="227" count="0" type="stmt"/>
397
- <line num="228" count="0" type="stmt"/>
398
- <line num="231" count="6" type="stmt"/>
364
+ <line num="179" count="23" type="stmt"/>
365
+ <line num="180" count="23" type="cond" truecount="1" falsecount="1"/>
366
+ <line num="181" count="0" type="stmt"/>
367
+ <line num="184" count="23" type="stmt"/>
368
+ <line num="189" count="15" type="stmt"/>
369
+ <line num="192" count="45" type="stmt"/>
370
+ <line num="193" count="1" type="stmt"/>
371
+ <line num="194" count="1" type="stmt"/>
372
+ <line num="195" count="1" type="stmt"/>
373
+ <line num="196" count="1" type="stmt"/>
374
+ <line num="200" count="1" type="stmt"/>
375
+ <line num="207" count="45" type="stmt"/>
376
+ <line num="208" count="6" type="stmt"/>
377
+ <line num="209" count="6" type="stmt"/>
378
+ <line num="210" count="6" type="stmt"/>
379
+ <line num="211" count="6" type="stmt"/>
380
+ <line num="214" count="6" type="stmt"/>
381
+ <line num="217" count="6" type="cond" truecount="5" falsecount="2"/>
382
+ <line num="218" count="0" type="stmt"/>
383
+ <line num="219" count="0" type="stmt"/>
384
+ <line num="220" count="0" type="stmt"/>
385
+ <line num="223" count="6" type="stmt"/>
386
+ <line num="232" count="250" type="stmt"/>
387
+ <line num="233" count="250" type="stmt"/>
388
+ <line num="234" count="250" type="stmt"/>
389
+ <line num="235" count="250" type="stmt"/>
390
+ <line num="236" count="250" type="stmt"/>
391
+ <line num="237" count="250" type="stmt"/>
399
392
  <line num="239" count="250" type="stmt"/>
400
393
  <line num="240" count="250" type="stmt"/>
401
- <line num="241" count="250" type="stmt"/>
402
- <line num="242" count="250" type="stmt"/>
403
- <line num="243" count="250" type="stmt"/>
404
- <line num="244" count="250" type="stmt"/>
405
- <line num="246" count="250" type="stmt"/>
406
- <line num="247" count="250" type="stmt"/>
407
- <line num="252" count="250" type="cond" truecount="3" falsecount="0"/>
408
- <line num="253" count="2" type="stmt"/>
409
- <line num="255" count="250" type="stmt"/>
410
- <line num="256" count="250" type="stmt"/>
411
- <line num="257" count="250" type="stmt"/>
412
- <line num="258" count="250" type="stmt"/>
413
- <line num="260" count="250" type="stmt"/>
414
- <line num="295" count="250" type="stmt"/>
415
- <line num="296" count="250" type="stmt"/>
394
+ <line num="245" count="250" type="cond" truecount="3" falsecount="0"/>
395
+ <line num="246" count="2" type="stmt"/>
396
+ <line num="248" count="250" type="stmt"/>
397
+ <line num="249" count="250" type="stmt"/>
398
+ <line num="250" count="250" type="stmt"/>
399
+ <line num="251" count="250" type="stmt"/>
400
+ <line num="253" count="250" type="stmt"/>
401
+ <line num="288" count="250" type="stmt"/>
402
+ <line num="289" count="250" type="stmt"/>
403
+ <line num="290" count="1" type="stmt"/>
416
404
  <line num="297" count="1" type="stmt"/>
417
- <line num="304" count="1" type="stmt"/>
418
- <line num="305" count="5" type="cond" truecount="1" falsecount="0"/>
419
- <line num="307" count="2" type="stmt"/>
420
- <line num="312" count="1" type="cond" truecount="1" falsecount="0"/>
421
- <line num="313" count="1" type="stmt"/>
422
- <line num="314" count="1" type="cond" truecount="1" falsecount="0"/>
423
- <line num="315" count="1" type="stmt"/>
424
- <line num="322" count="250" type="stmt"/>
405
+ <line num="298" count="5" type="cond" truecount="1" falsecount="0"/>
406
+ <line num="300" count="2" type="stmt"/>
407
+ <line num="305" count="1" type="cond" truecount="1" falsecount="0"/>
408
+ <line num="306" count="1" type="stmt"/>
409
+ <line num="307" count="1" type="cond" truecount="1" falsecount="0"/>
410
+ <line num="308" count="1" type="stmt"/>
411
+ <line num="315" count="250" type="stmt"/>
412
+ <line num="316" count="250" type="stmt"/>
425
413
  <line num="323" count="250" type="stmt"/>
414
+ <line num="324" count="250" type="stmt"/>
415
+ <line num="328" count="250" type="stmt"/>
426
416
  <line num="330" count="250" type="stmt"/>
427
- <line num="331" count="250" type="stmt"/>
428
- <line num="334" count="250" type="stmt"/>
429
- <line num="335" count="250" type="stmt"/>
430
- <line num="337" count="250" type="stmt"/>
431
- <line num="338" count="250" type="cond" truecount="1" falsecount="0"/>
432
- <line num="340" count="3" type="cond" truecount="4" falsecount="0"/>
433
- <line num="341" count="1" type="stmt"/>
434
- <line num="344" count="2" type="cond" truecount="4" falsecount="2"/>
435
- <line num="345" count="2" type="stmt"/>
436
- <line num="349" count="0" type="stmt"/>
437
- <line num="352" count="250" type="stmt"/>
417
+ <line num="331" count="250" type="cond" truecount="1" falsecount="0"/>
418
+ <line num="333" count="3" type="cond" truecount="4" falsecount="0"/>
419
+ <line num="334" count="1" type="stmt"/>
420
+ <line num="337" count="2" type="cond" truecount="4" falsecount="2"/>
421
+ <line num="338" count="2" type="stmt"/>
422
+ <line num="342" count="0" type="stmt"/>
423
+ <line num="345" count="250" type="stmt"/>
424
+ <line num="347" count="250" type="stmt"/>
425
+ <line num="348" count="253" type="stmt"/>
426
+ <line num="353" count="250" type="stmt"/>
438
427
  <line num="354" count="250" type="stmt"/>
439
- <line num="355" count="253" type="stmt"/>
440
428
  <line num="359" count="250" type="stmt"/>
441
- <line num="360" count="250" type="stmt"/>
442
- <line num="361" count="250" type="stmt"/>
443
- <line num="366" count="250" type="stmt"/>
444
- <line num="368" count="250" type="cond" truecount="1" falsecount="0"/>
445
- <line num="369" count="3" type="stmt"/>
446
- <line num="370" count="3" type="cond" truecount="1" falsecount="1"/>
447
- <line num="371" count="3" type="cond" truecount="0" falsecount="1"/>
448
- <line num="372" count="0" type="stmt"/>
449
- <line num="373" count="0" type="stmt"/>
429
+ <line num="361" count="250" type="cond" truecount="1" falsecount="0"/>
430
+ <line num="362" count="3" type="stmt"/>
431
+ <line num="363" count="3" type="cond" truecount="1" falsecount="1"/>
432
+ <line num="364" count="3" type="cond" truecount="0" falsecount="1"/>
433
+ <line num="365" count="0" type="stmt"/>
434
+ <line num="366" count="0" type="stmt"/>
435
+ <line num="367" count="0" type="stmt"/>
436
+ <line num="370" count="0" type="cond" truecount="0" falsecount="3"/>
450
437
  <line num="374" count="0" type="stmt"/>
451
- <line num="377" count="0" type="cond" truecount="0" falsecount="3"/>
452
- <line num="381" count="0" type="stmt"/>
453
- <line num="382" count="0" type="stmt"/>
454
- <line num="384" count="0" type="stmt"/>
455
- <line num="390" count="250" type="stmt"/>
456
- <line num="391" count="250" type="stmt"/>
457
- <line num="392" count="250" type="stmt"/>
458
- <line num="393" count="250" type="stmt"/>
459
- <line num="394" count="250" type="stmt"/>
460
- <line num="395" count="250" type="stmt"/>
461
- <line num="400" count="45" type="stmt"/>
438
+ <line num="375" count="0" type="stmt"/>
439
+ <line num="377" count="0" type="stmt"/>
440
+ <line num="383" count="45" type="stmt"/>
441
+ <line num="384" count="250" type="stmt"/>
442
+ <line num="385" count="250" type="stmt"/>
443
+ <line num="386" count="250" type="stmt"/>
444
+ <line num="387" count="250" type="stmt"/>
445
+ <line num="388" count="250" type="stmt"/>
446
+ <line num="393" count="45" type="stmt"/>
447
+ <line num="394" count="3" type="stmt"/>
448
+ <line num="396" count="3" type="stmt"/>
449
+ <line num="397" count="3" type="stmt"/>
450
+ <line num="398" count="3" type="cond" truecount="1" falsecount="0"/>
451
+ <line num="399" count="3" type="stmt"/>
462
452
  <line num="401" count="3" type="stmt"/>
453
+ <line num="402" count="3" type="cond" truecount="1" falsecount="0"/>
463
454
  <line num="403" count="3" type="stmt"/>
464
- <line num="404" count="3" type="cond" truecount="1" falsecount="0"/>
465
- <line num="405" count="3" type="stmt"/>
455
+ <line num="404" count="3" type="stmt"/>
466
456
  <line num="407" count="3" type="stmt"/>
467
- <line num="408" count="3" type="cond" truecount="1" falsecount="0"/>
457
+ <line num="408" count="3" type="stmt"/>
468
458
  <line num="409" count="3" type="stmt"/>
469
459
  <line num="410" count="3" type="stmt"/>
470
- <line num="413" count="3" type="stmt"/>
471
- <line num="414" count="3" type="stmt"/>
472
- <line num="415" count="3" type="stmt"/>
473
- <line num="416" count="3" type="stmt"/>
474
- <line num="419" count="45" type="stmt"/>
475
- <line num="421" count="2" type="stmt"/>
476
- <line num="422" count="2" type="stmt"/>
477
- <line num="423" count="2" type="stmt"/>
478
- <line num="426" count="2" type="cond" truecount="0" falsecount="1"/>
479
- <line num="427" count="0" type="stmt"/>
480
- <line num="428" count="0" type="stmt"/>
460
+ <line num="413" count="45" type="stmt"/>
461
+ <line num="415" count="2" type="stmt"/>
462
+ <line num="416" count="2" type="stmt"/>
463
+ <line num="417" count="2" type="stmt"/>
464
+ <line num="420" count="2" type="cond" truecount="0" falsecount="1"/>
465
+ <line num="421" count="0" type="stmt"/>
466
+ <line num="422" count="0" type="stmt"/>
467
+ <line num="426" count="2" type="stmt"/>
468
+ <line num="427" count="2" type="stmt"/>
469
+ <line num="431" count="2" type="stmt"/>
481
470
  <line num="432" count="2" type="stmt"/>
482
471
  <line num="433" count="2" type="stmt"/>
483
- <line num="437" count="2" type="stmt"/>
484
- <line num="438" count="2" type="stmt"/>
485
- <line num="439" count="2" type="stmt"/>
486
- <line num="440" count="2" type="stmt"/>
487
- <line num="443" count="45" type="stmt"/>
488
- <line num="445" count="1" type="stmt"/>
489
- <line num="446" count="1" type="stmt"/>
490
- <line num="447" count="1" type="cond" truecount="0" falsecount="1"/>
491
- <line num="448" count="0" type="stmt"/>
492
- <line num="452" count="1" type="cond" truecount="0" falsecount="1"/>
493
- <line num="453" count="0" type="stmt"/>
472
+ <line num="434" count="2" type="stmt"/>
473
+ <line num="437" count="45" type="stmt"/>
474
+ <line num="439" count="1" type="stmt"/>
475
+ <line num="440" count="1" type="stmt"/>
476
+ <line num="441" count="1" type="cond" truecount="0" falsecount="1"/>
477
+ <line num="442" count="0" type="stmt"/>
478
+ <line num="446" count="1" type="cond" truecount="0" falsecount="1"/>
479
+ <line num="447" count="0" type="stmt"/>
480
+ <line num="451" count="1" type="stmt"/>
481
+ <line num="452" count="1" type="stmt"/>
482
+ <line num="453" count="1" type="stmt"/>
494
483
  <line num="457" count="1" type="stmt"/>
495
484
  <line num="458" count="1" type="stmt"/>
496
485
  <line num="459" count="1" type="stmt"/>
497
- <line num="463" count="1" type="stmt"/>
498
- <line num="464" count="1" type="stmt"/>
499
- <line num="465" count="1" type="stmt"/>
500
- <line num="466" count="1" type="stmt"/>
501
- <line num="469" count="45" type="stmt"/>
502
- <line num="470" count="23" type="stmt"/>
503
- <line num="471" count="23" type="cond" truecount="2" falsecount="0"/>
504
- <line num="473" count="23" type="cond" truecount="1" falsecount="0"/>
505
- <line num="474" count="1" type="stmt"/>
506
- <line num="477" count="23" type="cond" truecount="2" falsecount="0"/>
507
- <line num="478" count="23" type="stmt"/>
508
- <line num="479" count="23" type="stmt"/>
509
- <line num="481" count="23" type="cond" truecount="2" falsecount="0"/>
510
- <line num="482" count="1" type="stmt"/>
511
- <line num="484" count="22" type="stmt"/>
512
- <line num="485" count="22" type="stmt"/>
513
- <line num="493" count="23" type="cond" truecount="2" falsecount="0"/>
514
- <line num="494" count="1" type="stmt"/>
515
- <line num="498" count="22" type="stmt"/>
516
- <line num="500" count="23" type="stmt"/>
517
- <line num="501" count="23" type="stmt"/>
518
- <line num="504" count="45" type="stmt"/>
519
- <line num="505" count="23" type="stmt"/>
520
- <line num="506" count="23" type="stmt"/>
521
- <line num="509" count="45" type="stmt"/>
522
- <line num="510" count="23" type="stmt"/>
523
- <line num="511" count="23" type="stmt"/>
524
- <line num="512" count="23" type="cond" truecount="0" falsecount="1"/>
525
- <line num="513" count="0" type="stmt"/>
526
- <line num="517" count="45" type="stmt"/>
486
+ <line num="460" count="1" type="stmt"/>
487
+ <line num="464" count="23" type="stmt"/>
488
+ <line num="465" count="23" type="cond" truecount="2" falsecount="0"/>
489
+ <line num="467" count="23" type="cond" truecount="1" falsecount="0"/>
490
+ <line num="468" count="1" type="stmt"/>
491
+ <line num="469" count="1" type="stmt"/>
492
+ <line num="471" count="1" type="stmt"/>
493
+ <line num="474" count="23" type="cond" truecount="2" falsecount="0"/>
494
+ <line num="475" count="23" type="stmt"/>
495
+ <line num="476" count="23" type="stmt"/>
496
+ <line num="478" count="23" type="cond" truecount="2" falsecount="0"/>
497
+ <line num="479" count="1" type="stmt"/>
498
+ <line num="481" count="22" type="stmt"/>
499
+ <line num="482" count="22" type="stmt"/>
500
+ <line num="490" count="23" type="cond" truecount="2" falsecount="0"/>
501
+ <line num="491" count="1" type="stmt"/>
502
+ <line num="495" count="22" type="stmt"/>
503
+ <line num="497" count="23" type="stmt"/>
504
+ <line num="498" count="23" type="stmt"/>
505
+ <line num="502" count="23" type="stmt"/>
506
+ <line num="503" count="23" type="stmt"/>
507
+ <line num="507" count="23" type="stmt"/>
508
+ <line num="508" count="23" type="stmt"/>
509
+ <line num="509" count="23" type="cond" truecount="0" falsecount="1"/>
510
+ <line num="510" count="0" type="stmt"/>
511
+ <line num="514" count="45" type="stmt"/>
512
+ <line num="515" count="23" type="stmt"/>
513
+ <line num="516" count="23" type="stmt"/>
514
+ <line num="517" count="23" type="stmt"/>
527
515
  <line num="518" count="23" type="stmt"/>
528
516
  <line num="519" count="23" type="stmt"/>
529
- <line num="520" count="23" type="stmt"/>
530
- <line num="521" count="23" type="stmt"/>
531
- <line num="522" count="23" type="stmt"/>
532
- <line num="525" count="45" type="stmt"/>
533
- <line num="526" count="0" type="cond" truecount="0" falsecount="1"/>
534
- <line num="527" count="0" type="stmt"/>
535
- <line num="528" count="0" type="stmt"/>
536
- <line num="532" count="0" type="stmt"/>
537
- <line num="535" count="0" type="stmt"/>
538
- <line num="536" count="0" type="cond" truecount="0" falsecount="1"/>
539
- <line num="537" count="0" type="stmt"/>
540
- <line num="541" count="0" type="stmt"/>
541
- <line num="544" count="0" type="stmt"/>
542
- <line num="545" count="0" type="stmt"/>
543
- <line num="546" count="0" type="cond" truecount="0" falsecount="1"/>
544
- <line num="548" count="0" type="stmt"/>
545
- <line num="549" count="0" type="stmt"/>
546
- <line num="552" count="0" type="stmt"/>
547
- <line num="555" count="0" type="stmt"/>
548
- <line num="560" count="0" type="stmt"/>
517
+ <line num="522" count="45" type="stmt"/>
518
+ <line num="523" count="0" type="stmt"/>
519
+ <line num="524" count="0" type="stmt"/>
520
+ <line num="525" count="0" type="stmt"/>
521
+ <line num="527" count="0" type="cond" truecount="0" falsecount="2"/>
522
+ <line num="531" count="45" type="stmt"/>
523
+ <line num="532" count="6" type="stmt"/>
524
+ <line num="533" count="6" type="stmt"/>
525
+ <line num="534" count="6" type="stmt"/>
526
+ <line num="536" count="6" type="stmt"/>
527
+ <line num="537" count="6" type="cond" truecount="1" falsecount="0"/>
528
+ <line num="538" count="5" type="stmt"/>
529
+ <line num="543" count="6" type="stmt"/>
530
+ <line num="545" count="6" type="stmt"/>
531
+ <line num="547" count="6" type="stmt"/>
532
+ <line num="548" count="6" type="stmt"/>
533
+ <line num="553" count="1" type="stmt"/>
534
+ <line num="554" count="1" type="stmt"/>
535
+ <line num="555" count="1" type="stmt"/>
536
+ <line num="556" count="1" type="stmt"/>
537
+ <line num="559" count="1" type="stmt"/>
538
+ <line num="560" count="1" type="cond" truecount="0" falsecount="1"/>
549
539
  <line num="561" count="0" type="stmt"/>
550
- <line num="563" count="0" type="stmt"/>
551
- <line num="565" count="0" type="stmt"/>
552
- <line num="569" count="0" type="stmt"/>
553
- <line num="571" count="0" type="cond" truecount="0" falsecount="2"/>
554
- <line num="572" count="0" type="stmt"/>
555
- <line num="574" count="0" type="stmt"/>
556
- <line num="580" count="45" type="stmt"/>
557
- <line num="581" count="6" type="stmt"/>
558
- <line num="582" count="6" type="stmt"/>
559
- <line num="583" count="6" type="stmt"/>
560
- <line num="585" count="6" type="stmt"/>
561
- <line num="586" count="6" type="cond" truecount="1" falsecount="0"/>
562
- <line num="587" count="5" type="stmt"/>
563
- <line num="592" count="6" type="stmt"/>
564
- <line num="594" count="6" type="stmt"/>
565
- <line num="596" count="6" type="stmt"/>
566
- <line num="597" count="6" type="stmt"/>
567
- <line num="601" count="45" type="stmt"/>
568
- <line num="602" count="1" type="stmt"/>
569
- <line num="603" count="1" type="stmt"/>
570
- <line num="604" count="1" type="stmt"/>
571
- <line num="605" count="1" type="stmt"/>
572
- <line num="608" count="1" type="stmt"/>
573
- <line num="609" count="1" type="cond" truecount="0" falsecount="1"/>
574
- <line num="610" count="0" type="stmt"/>
575
- <line num="612" count="1" type="stmt"/>
576
- <line num="613" count="1" type="stmt"/>
577
- <line num="614" count="1" type="cond" truecount="3" falsecount="1"/>
578
- <line num="615" count="1" type="cond" truecount="4" falsecount="2"/>
579
- <line num="616" count="1" type="stmt"/>
580
- <line num="620" count="1" type="stmt"/>
581
- <line num="621" count="1" type="cond" truecount="3" falsecount="1"/>
582
- <line num="622" count="1" type="stmt"/>
583
- <line num="624" count="1" type="cond" truecount="3" falsecount="1"/>
584
- <line num="625" count="1" type="stmt"/>
585
- <line num="634" count="1" type="cond" truecount="1" falsecount="0"/>
586
- <line num="635" count="1" type="stmt"/>
587
- <line num="636" count="1" type="stmt"/>
588
- <line num="637" count="1" type="cond" truecount="1" falsecount="1"/>
589
- <line num="638" count="1" type="stmt"/>
590
- <line num="639" count="1" type="stmt"/>
591
- <line num="640" count="1" type="cond" truecount="1" falsecount="1"/>
592
- <line num="641" count="1" type="stmt"/>
593
- <line num="642" count="1" type="cond" truecount="1" falsecount="1"/>
594
- <line num="643" count="1" type="cond" truecount="0" falsecount="1"/>
595
- <line num="644" count="0" type="stmt"/>
596
- <line num="647" count="1" type="stmt"/>
597
- <line num="649" count="0" type="stmt"/>
540
+ <line num="563" count="1" type="stmt"/>
541
+ <line num="564" count="1" type="stmt"/>
542
+ <line num="565" count="1" type="cond" truecount="3" falsecount="1"/>
543
+ <line num="566" count="1" type="cond" truecount="4" falsecount="2"/>
544
+ <line num="567" count="1" type="stmt"/>
545
+ <line num="571" count="1" type="stmt"/>
546
+ <line num="572" count="1" type="cond" truecount="3" falsecount="1"/>
547
+ <line num="573" count="1" type="stmt"/>
548
+ <line num="575" count="1" type="cond" truecount="3" falsecount="1"/>
549
+ <line num="576" count="1" type="stmt"/>
550
+ <line num="585" count="1" type="cond" truecount="1" falsecount="0"/>
551
+ <line num="586" count="1" type="stmt"/>
552
+ <line num="587" count="1" type="stmt"/>
553
+ <line num="588" count="1" type="cond" truecount="1" falsecount="1"/>
554
+ <line num="589" count="1" type="stmt"/>
555
+ <line num="590" count="1" type="stmt"/>
556
+ <line num="591" count="1" type="cond" truecount="1" falsecount="1"/>
557
+ <line num="592" count="1" type="stmt"/>
558
+ <line num="593" count="1" type="cond" truecount="1" falsecount="1"/>
559
+ <line num="594" count="1" type="cond" truecount="0" falsecount="1"/>
560
+ <line num="595" count="0" type="stmt"/>
561
+ <line num="598" count="1" type="stmt"/>
562
+ <line num="600" count="0" type="stmt"/>
598
563
  </file>
599
564
  <file name="auth.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/auth.ts">
600
565
  <metrics statements="35" coveredstatements="23" conditionals="14" coveredconditionals="5" methods="2" coveredmethods="2"/>
@@ -796,51 +761,51 @@
796
761
  <line num="7" count="45" type="stmt"/>
797
762
  <line num="9" count="45" type="stmt"/>
798
763
  <line num="12" count="0" type="stmt"/>
799
- <line num="25" count="0" type="stmt"/>
800
- <line num="29" count="0" type="stmt"/>
801
- <line num="34" count="0" type="stmt"/>
802
- <line num="37" count="45" type="stmt"/>
803
- <line num="38" count="0" type="cond" truecount="0" falsecount="3"/>
804
- <line num="39" count="0" type="stmt"/>
805
- <line num="41" count="0" type="stmt"/>
764
+ <line num="26" count="0" type="stmt"/>
765
+ <line num="30" count="0" type="stmt"/>
766
+ <line num="35" count="0" type="stmt"/>
767
+ <line num="38" count="45" type="stmt"/>
768
+ <line num="39" count="0" type="cond" truecount="0" falsecount="3"/>
769
+ <line num="40" count="0" type="stmt"/>
806
770
  <line num="42" count="0" type="stmt"/>
807
771
  <line num="43" count="0" type="stmt"/>
808
- <line num="47" count="0" type="stmt"/>
809
- <line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
772
+ <line num="44" count="0" type="stmt"/>
773
+ <line num="48" count="0" type="stmt"/>
810
774
  <line num="49" count="0" type="cond" truecount="0" falsecount="2"/>
811
- <line num="50" count="0" type="stmt"/>
812
- <line num="54" count="0" type="stmt"/>
775
+ <line num="50" count="0" type="cond" truecount="0" falsecount="2"/>
776
+ <line num="51" count="0" type="stmt"/>
813
777
  <line num="55" count="0" type="stmt"/>
814
778
  <line num="56" count="0" type="stmt"/>
815
- <line num="60" count="0" type="cond" truecount="0" falsecount="3"/>
816
- <line num="61" count="0" type="stmt"/>
817
- <line num="63" count="0" type="stmt"/>
779
+ <line num="57" count="0" type="stmt"/>
780
+ <line num="61" count="0" type="cond" truecount="0" falsecount="3"/>
781
+ <line num="62" count="0" type="stmt"/>
818
782
  <line num="64" count="0" type="stmt"/>
819
- <line num="67" count="45" type="stmt"/>
820
- <line num="68" count="0" type="stmt"/>
821
- <line num="73" count="45" type="stmt"/>
822
- <line num="74" count="0" type="cond" truecount="0" falsecount="3"/>
823
- <line num="75" count="0" type="stmt"/>
824
- <line num="77" count="0" type="stmt"/>
825
- <line num="78" count="0" type="cond" truecount="0" falsecount="4"/>
826
- <line num="79" count="0" type="stmt"/>
827
- <line num="84" count="0" type="cond" truecount="0" falsecount="1"/>
828
- <line num="85" count="0" type="stmt"/>
829
- <line num="89" count="0" type="stmt"/>
783
+ <line num="65" count="0" type="stmt"/>
784
+ <line num="68" count="45" type="stmt"/>
785
+ <line num="69" count="0" type="stmt"/>
786
+ <line num="74" count="45" type="stmt"/>
787
+ <line num="75" count="0" type="cond" truecount="0" falsecount="3"/>
788
+ <line num="76" count="0" type="stmt"/>
789
+ <line num="78" count="0" type="stmt"/>
790
+ <line num="79" count="0" type="cond" truecount="0" falsecount="4"/>
791
+ <line num="80" count="0" type="stmt"/>
792
+ <line num="85" count="0" type="cond" truecount="0" falsecount="1"/>
793
+ <line num="86" count="0" type="stmt"/>
830
794
  <line num="90" count="0" type="stmt"/>
831
795
  <line num="91" count="0" type="stmt"/>
832
- <line num="93" count="0" type="stmt"/>
833
- <line num="95" count="0" type="stmt"/>
796
+ <line num="92" count="0" type="stmt"/>
797
+ <line num="94" count="0" type="stmt"/>
834
798
  <line num="96" count="0" type="stmt"/>
835
799
  <line num="97" count="0" type="stmt"/>
836
- <line num="101" count="0" type="stmt"/>
800
+ <line num="98" count="0" type="stmt"/>
837
801
  <line num="102" count="0" type="stmt"/>
838
802
  <line num="103" count="0" type="stmt"/>
839
803
  <line num="104" count="0" type="stmt"/>
840
- <line num="106" count="0" type="cond" truecount="0" falsecount="1"/>
841
- <line num="107" count="0" type="stmt"/>
842
- <line num="110" count="0" type="stmt"/>
804
+ <line num="105" count="0" type="stmt"/>
805
+ <line num="107" count="0" type="cond" truecount="0" falsecount="1"/>
806
+ <line num="108" count="0" type="stmt"/>
843
807
  <line num="111" count="0" type="stmt"/>
808
+ <line num="112" count="0" type="stmt"/>
844
809
  </file>
845
810
  <file name="component.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/component.ts">
846
811
  <metrics statements="27" coveredstatements="22" conditionals="2" coveredconditionals="2" methods="6" coveredmethods="3"/>
@@ -1466,123 +1431,99 @@
1466
1431
  <line num="35" count="45" type="stmt"/>
1467
1432
  </file>
1468
1433
  <file name="user.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/user.ts">
1469
- <metrics statements="116" coveredstatements="34" conditionals="40" coveredconditionals="0" methods="18" coveredmethods="5"/>
1434
+ <metrics statements="92" coveredstatements="31" conditionals="32" coveredconditionals="0" methods="13" coveredmethods="4"/>
1470
1435
  <line num="1" count="47" type="stmt"/>
1471
- <line num="6" count="47" type="stmt"/>
1472
- <line num="7" count="47" type="stmt"/>
1473
- <line num="8" count="47" type="stmt"/>
1474
- <line num="9" count="47" type="stmt"/>
1475
- <line num="10" count="47" type="stmt"/>
1476
- <line num="19" count="2" type="stmt"/>
1477
- <line num="20" count="2" type="stmt"/>
1478
- <line num="26" count="0" type="stmt"/>
1479
- <line num="31" count="0" type="cond" truecount="0" falsecount="1"/>
1436
+ <line num="2" count="47" type="stmt"/>
1437
+ <line num="3" count="47" type="stmt"/>
1438
+ <line num="4" count="47" type="stmt"/>
1439
+ <line num="5" count="47" type="stmt"/>
1440
+ <line num="12" count="47" type="stmt"/>
1441
+ <line num="14" count="47" type="stmt"/>
1442
+ <line num="15" count="0" type="stmt"/>
1443
+ <line num="17" count="0" type="stmt"/>
1444
+ <line num="18" count="0" type="stmt"/>
1445
+ <line num="19" count="0" type="stmt"/>
1446
+ <line num="21" count="0" type="cond" truecount="0" falsecount="4"/>
1447
+ <line num="22" count="0" type="stmt"/>
1448
+ <line num="23" count="0" type="stmt"/>
1449
+ <line num="25" count="0" type="stmt"/>
1450
+ <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
1451
+ <line num="30" count="0" type="stmt"/>
1452
+ <line num="31" count="0" type="stmt"/>
1480
1453
  <line num="32" count="0" type="stmt"/>
1481
- <line num="34" count="0" type="stmt"/>
1482
- <line num="35" count="0" type="stmt"/>
1483
- <line num="36" count="0" type="stmt"/>
1484
- <line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
1485
- <line num="42" count="0" type="stmt"/>
1486
- <line num="45" count="0" type="cond" truecount="0" falsecount="1"/>
1454
+ <line num="36" count="0" type="cond" truecount="0" falsecount="5"/>
1455
+ <line num="37" count="0" type="stmt"/>
1456
+ <line num="39" count="0" type="stmt"/>
1457
+ <line num="40" count="0" type="stmt"/>
1458
+ <line num="41" count="0" type="stmt"/>
1459
+ <line num="43" count="0" type="stmt"/>
1460
+ <line num="44" count="0" type="stmt"/>
1461
+ <line num="45" count="0" type="stmt"/>
1487
1462
  <line num="46" count="0" type="stmt"/>
1488
- <line num="48" count="0" type="cond" truecount="0" falsecount="3"/>
1489
- <line num="49" count="0" type="stmt"/>
1463
+ <line num="47" count="0" type="cond" truecount="0" falsecount="1"/>
1464
+ <line num="48" count="0" type="stmt"/>
1465
+ <line num="50" count="0" type="stmt"/>
1466
+ <line num="51" count="0" type="stmt"/>
1467
+ <line num="52" count="0" type="stmt"/>
1490
1468
  <line num="54" count="0" type="stmt"/>
1491
- <line num="57" count="47" type="stmt"/>
1492
- <line num="59" count="0" type="stmt"/>
1469
+ <line num="55" count="0" type="stmt"/>
1470
+ <line num="57" count="0" type="cond" truecount="0" falsecount="1"/>
1471
+ <line num="58" count="0" type="stmt"/>
1493
1472
  <line num="60" count="0" type="stmt"/>
1494
- <line num="61" count="0" type="stmt"/>
1495
- <line num="62" count="0" type="stmt"/>
1496
- <line num="63" count="0" type="stmt"/>
1497
- <line num="64" count="0" type="cond" truecount="0" falsecount="1"/>
1498
- <line num="65" count="0" type="stmt"/>
1499
- <line num="68" count="0" type="stmt"/>
1500
- <line num="71" count="47" type="stmt"/>
1501
- <line num="72" count="0" type="stmt"/>
1502
- <line num="74" count="0" type="stmt"/>
1503
- <line num="75" count="0" type="stmt"/>
1504
- <line num="76" count="0" type="stmt"/>
1505
- <line num="78" count="0" type="cond" truecount="0" falsecount="4"/>
1506
- <line num="79" count="0" type="stmt"/>
1507
- <line num="80" count="0" type="stmt"/>
1473
+ <line num="65" count="0" type="cond" truecount="0" falsecount="1"/>
1474
+ <line num="66" count="0" type="stmt"/>
1475
+ <line num="68" count="0" type="cond" truecount="0" falsecount="2"/>
1476
+ <line num="76" count="0" type="cond" truecount="0" falsecount="1"/>
1477
+ <line num="77" count="0" type="stmt"/>
1508
1478
  <line num="82" count="0" type="stmt"/>
1509
- <line num="85" count="0" type="cond" truecount="0" falsecount="2"/>
1510
- <line num="87" count="0" type="stmt"/>
1511
- <line num="88" count="0" type="stmt"/>
1512
- <line num="89" count="0" type="stmt"/>
1513
- <line num="93" count="0" type="cond" truecount="0" falsecount="5"/>
1514
- <line num="94" count="0" type="stmt"/>
1515
- <line num="96" count="0" type="stmt"/>
1516
- <line num="97" count="0" type="stmt"/>
1517
- <line num="98" count="0" type="stmt"/>
1518
- <line num="100" count="0" type="stmt"/>
1519
- <line num="101" count="0" type="stmt"/>
1520
- <line num="102" count="0" type="stmt"/>
1521
- <line num="103" count="0" type="stmt"/>
1522
- <line num="104" count="0" type="cond" truecount="0" falsecount="1"/>
1523
- <line num="105" count="0" type="stmt"/>
1524
- <line num="107" count="0" type="stmt"/>
1525
- <line num="108" count="0" type="stmt"/>
1526
- <line num="109" count="0" type="stmt"/>
1527
- <line num="111" count="0" type="stmt"/>
1479
+ <line num="87" count="47" type="stmt"/>
1480
+ <line num="88" count="2" type="stmt"/>
1481
+ <line num="89" count="2" type="stmt"/>
1482
+ <line num="90" count="2" type="stmt"/>
1483
+ <line num="91" count="2" type="stmt"/>
1484
+ <line num="93" count="7" type="stmt"/>
1485
+ <line num="95" count="7" type="stmt"/>
1486
+ <line num="103" count="2" type="stmt"/>
1487
+ <line num="106" count="47" type="stmt"/>
1488
+ <line num="108" count="0" type="cond" truecount="0" falsecount="4"/>
1489
+ <line num="110" count="0" type="stmt"/>
1528
1490
  <line num="112" count="0" type="stmt"/>
1529
- <line num="114" count="0" type="cond" truecount="0" falsecount="1"/>
1530
- <line num="115" count="0" type="stmt"/>
1531
- <line num="117" count="0" type="stmt"/>
1532
- <line num="122" count="0" type="cond" truecount="0" falsecount="1"/>
1533
- <line num="123" count="0" type="stmt"/>
1534
- <line num="125" count="0" type="cond" truecount="0" falsecount="2"/>
1535
- <line num="133" count="0" type="cond" truecount="0" falsecount="1"/>
1536
- <line num="134" count="0" type="stmt"/>
1537
- <line num="139" count="0" type="stmt"/>
1538
- <line num="144" count="47" type="stmt"/>
1539
- <line num="145" count="2" type="stmt"/>
1540
- <line num="146" count="2" type="stmt"/>
1541
- <line num="147" count="2" type="stmt"/>
1542
- <line num="148" count="2" type="stmt"/>
1543
- <line num="150" count="7" type="stmt"/>
1544
- <line num="152" count="7" type="stmt"/>
1545
- <line num="160" count="2" type="stmt"/>
1546
- <line num="163" count="47" type="stmt"/>
1547
- <line num="165" count="0" type="cond" truecount="0" falsecount="4"/>
1548
- <line num="167" count="0" type="stmt"/>
1549
- <line num="169" count="0" type="stmt"/>
1550
- <line num="170" count="0" type="stmt"/>
1551
- <line num="173" count="47" type="stmt"/>
1552
- <line num="174" count="1" type="stmt"/>
1553
- <line num="175" count="1" type="stmt"/>
1554
- <line num="177" count="1" type="stmt"/>
1555
- <line num="178" count="1" type="stmt"/>
1556
- <line num="182" count="1" type="stmt"/>
1557
- <line num="185" count="47" type="stmt"/>
1558
- <line num="186" count="1" type="stmt"/>
1559
- <line num="187" count="1" type="stmt"/>
1560
- <line num="188" count="1" type="stmt"/>
1561
- <line num="189" count="0" type="stmt"/>
1562
- <line num="193" count="1" type="stmt"/>
1563
- <line num="198" count="47" type="stmt"/>
1564
- <line num="199" count="1" type="stmt"/>
1565
- <line num="202" count="47" type="stmt"/>
1566
- <line num="203" count="0" type="cond" truecount="0" falsecount="4"/>
1567
- <line num="204" count="0" type="stmt"/>
1568
- <line num="205" count="0" type="cond" truecount="0" falsecount="1"/>
1569
- <line num="206" count="0" type="stmt"/>
1570
- <line num="208" count="0" type="stmt"/>
1571
- <line num="209" count="0" type="stmt"/>
1572
- <line num="211" count="0" type="stmt"/>
1573
- <line num="212" count="0" type="stmt"/>
1574
- <line num="214" count="0" type="stmt"/>
1575
- <line num="216" count="0" type="cond" truecount="0" falsecount="2"/>
1576
- <line num="217" count="0" type="stmt"/>
1577
- <line num="218" count="0" type="stmt"/>
1578
- <line num="221" count="47" type="stmt"/>
1579
- <line num="222" count="0" type="cond" truecount="0" falsecount="4"/>
1580
- <line num="223" count="0" type="stmt"/>
1581
- <line num="224" count="0" type="stmt"/>
1582
- <line num="226" count="0" type="stmt"/>
1583
- <line num="227" count="0" type="stmt"/>
1584
- <line num="229" count="0" type="stmt"/>
1585
- <line num="231" count="0" type="stmt"/>
1491
+ <line num="113" count="0" type="stmt"/>
1492
+ <line num="116" count="47" type="stmt"/>
1493
+ <line num="117" count="1" type="stmt"/>
1494
+ <line num="118" count="1" type="stmt"/>
1495
+ <line num="120" count="1" type="stmt"/>
1496
+ <line num="121" count="1" type="stmt"/>
1497
+ <line num="125" count="1" type="stmt"/>
1498
+ <line num="128" count="47" type="stmt"/>
1499
+ <line num="129" count="1" type="stmt"/>
1500
+ <line num="130" count="1" type="stmt"/>
1501
+ <line num="131" count="1" type="stmt"/>
1502
+ <line num="132" count="0" type="stmt"/>
1503
+ <line num="136" count="1" type="stmt"/>
1504
+ <line num="141" count="47" type="stmt"/>
1505
+ <line num="142" count="1" type="stmt"/>
1506
+ <line num="145" count="47" type="stmt"/>
1507
+ <line num="146" count="0" type="cond" truecount="0" falsecount="4"/>
1508
+ <line num="147" count="0" type="stmt"/>
1509
+ <line num="148" count="0" type="cond" truecount="0" falsecount="1"/>
1510
+ <line num="149" count="0" type="stmt"/>
1511
+ <line num="151" count="0" type="stmt"/>
1512
+ <line num="152" count="0" type="stmt"/>
1513
+ <line num="154" count="0" type="stmt"/>
1514
+ <line num="155" count="0" type="stmt"/>
1515
+ <line num="157" count="0" type="stmt"/>
1516
+ <line num="159" count="0" type="cond" truecount="0" falsecount="2"/>
1517
+ <line num="160" count="0" type="stmt"/>
1518
+ <line num="161" count="0" type="stmt"/>
1519
+ <line num="164" count="47" type="stmt"/>
1520
+ <line num="165" count="0" type="cond" truecount="0" falsecount="4"/>
1521
+ <line num="166" count="0" type="stmt"/>
1522
+ <line num="167" count="0" type="stmt"/>
1523
+ <line num="169" count="0" type="stmt"/>
1524
+ <line num="170" count="0" type="stmt"/>
1525
+ <line num="172" count="0" type="stmt"/>
1526
+ <line num="174" count="0" type="stmt"/>
1586
1527
  </file>
1587
1528
  <file name="webhook.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/webhook.ts">
1588
1529
  <metrics statements="47" coveredstatements="43" conditionals="4" coveredconditionals="2" methods="6" coveredmethods="6"/>
@@ -2715,9 +2656,9 @@
2715
2656
  </file>
2716
2657
  </package>
2717
2658
  <package name="src.api.controllers.row">
2718
- <metrics statements="1045" coveredstatements="523" conditionals="491" coveredconditionals="144" methods="153" coveredmethods="85"/>
2659
+ <metrics statements="1045" coveredstatements="523" conditionals="492" coveredconditionals="144" methods="153" coveredmethods="85"/>
2719
2660
  <file name="ExternalRequest.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/ExternalRequest.ts">
2720
- <metrics statements="286" coveredstatements="10" conditionals="209" coveredconditionals="0" methods="32" coveredmethods="0"/>
2661
+ <metrics statements="286" coveredstatements="10" conditionals="210" coveredconditionals="0" methods="32" coveredmethods="0"/>
2721
2662
  <line num="1" count="46" type="stmt"/>
2722
2663
  <line num="14" count="46" type="stmt"/>
2723
2664
  <line num="20" count="46" type="stmt"/>
@@ -2953,57 +2894,57 @@
2953
2894
  <line num="584" count="0" type="stmt"/>
2954
2895
  <line num="588" count="0" type="stmt"/>
2955
2896
  <line num="589" count="0" type="stmt"/>
2956
- <line num="591" count="0" type="cond" truecount="0" falsecount="4"/>
2957
- <line num="592" count="0" type="stmt"/>
2958
- <line num="594" count="0" type="stmt"/>
2897
+ <line num="591" count="0" type="cond" truecount="0" falsecount="1"/>
2959
2898
  <line num="595" count="0" type="stmt"/>
2960
- <line num="597" count="0" type="cond" truecount="0" falsecount="1"/>
2961
- <line num="598" count="0" type="cond" truecount="0" falsecount="2"/>
2962
- <line num="599" count="0" type="cond" truecount="0" falsecount="2"/>
2963
- <line num="600" count="0" type="stmt"/>
2964
- <line num="610" count="0" type="stmt"/>
2965
- <line num="625" count="0" type="stmt"/>
2966
- <line num="628" count="0" type="cond" truecount="0" falsecount="3"/>
2967
- <line num="630" count="0" type="stmt"/>
2968
- <line num="632" count="0" type="stmt"/>
2969
- <line num="634" count="0" type="stmt"/>
2899
+ <line num="597" count="0" type="stmt"/>
2900
+ <line num="598" count="0" type="stmt"/>
2901
+ <line num="600" count="0" type="cond" truecount="0" falsecount="1"/>
2902
+ <line num="601" count="0" type="cond" truecount="0" falsecount="2"/>
2903
+ <line num="602" count="0" type="cond" truecount="0" falsecount="2"/>
2904
+ <line num="603" count="0" type="stmt"/>
2905
+ <line num="613" count="0" type="stmt"/>
2906
+ <line num="628" count="0" type="stmt"/>
2907
+ <line num="631" count="0" type="cond" truecount="0" falsecount="3"/>
2908
+ <line num="633" count="0" type="stmt"/>
2970
2909
  <line num="635" count="0" type="stmt"/>
2971
- <line num="636" count="0" type="cond" truecount="0" falsecount="3"/>
2972
2910
  <line num="637" count="0" type="stmt"/>
2973
- <line num="639" count="0" type="stmt"/>
2974
- <line num="640" count="0" type="cond" truecount="0" falsecount="1"/>
2975
- <line num="641" count="0" type="stmt"/>
2976
- <line num="642" count="0" type="cond" truecount="0" falsecount="1"/>
2977
- <line num="643" count="0" type="stmt"/>
2911
+ <line num="638" count="0" type="stmt"/>
2912
+ <line num="639" count="0" type="cond" truecount="0" falsecount="3"/>
2913
+ <line num="640" count="0" type="stmt"/>
2914
+ <line num="642" count="0" type="stmt"/>
2915
+ <line num="643" count="0" type="cond" truecount="0" falsecount="1"/>
2978
2916
  <line num="644" count="0" type="stmt"/>
2979
- <line num="648" count="0" type="stmt"/>
2980
- <line num="652" count="0" type="stmt"/>
2981
- <line num="653" count="0" type="stmt"/>
2982
- <line num="654" count="0" type="cond" truecount="0" falsecount="1"/>
2917
+ <line num="645" count="0" type="cond" truecount="0" falsecount="1"/>
2918
+ <line num="646" count="0" type="stmt"/>
2919
+ <line num="647" count="0" type="stmt"/>
2920
+ <line num="651" count="0" type="stmt"/>
2983
2921
  <line num="655" count="0" type="stmt"/>
2922
+ <line num="656" count="0" type="stmt"/>
2984
2923
  <line num="657" count="0" type="cond" truecount="0" falsecount="1"/>
2985
2924
  <line num="658" count="0" type="stmt"/>
2986
- <line num="659" count="0" type="stmt"/>
2987
- <line num="660" count="0" type="cond" truecount="0" falsecount="3"/>
2925
+ <line num="660" count="0" type="cond" truecount="0" falsecount="1"/>
2988
2926
  <line num="661" count="0" type="stmt"/>
2989
- <line num="663" count="0" type="stmt"/>
2990
- <line num="665" count="0" type="stmt"/>
2927
+ <line num="662" count="0" type="stmt"/>
2928
+ <line num="663" count="0" type="cond" truecount="0" falsecount="3"/>
2929
+ <line num="664" count="0" type="stmt"/>
2991
2930
  <line num="666" count="0" type="stmt"/>
2992
- <line num="667" count="0" type="cond" truecount="0" falsecount="1"/>
2993
2931
  <line num="668" count="0" type="stmt"/>
2932
+ <line num="669" count="0" type="stmt"/>
2933
+ <line num="670" count="0" type="cond" truecount="0" falsecount="1"/>
2994
2934
  <line num="671" count="0" type="stmt"/>
2995
- <line num="675" count="0" type="cond" truecount="0" falsecount="2"/>
2996
- <line num="676" count="0" type="stmt"/>
2997
- <line num="678" count="0" type="stmt"/>
2935
+ <line num="674" count="0" type="stmt"/>
2936
+ <line num="678" count="0" type="cond" truecount="0" falsecount="2"/>
2998
2937
  <line num="679" count="0" type="stmt"/>
2999
- <line num="680" count="0" type="cond" truecount="0" falsecount="1"/>
3000
- <line num="684" count="0" type="stmt"/>
3001
- <line num="686" count="0" type="stmt"/>
3002
- <line num="710" count="0" type="stmt"/>
3003
- <line num="712" count="0" type="cond" truecount="0" falsecount="3"/>
2938
+ <line num="681" count="0" type="stmt"/>
2939
+ <line num="682" count="0" type="stmt"/>
2940
+ <line num="683" count="0" type="cond" truecount="0" falsecount="1"/>
2941
+ <line num="687" count="0" type="stmt"/>
2942
+ <line num="689" count="0" type="stmt"/>
3004
2943
  <line num="713" count="0" type="stmt"/>
3005
- <line num="719" count="0" type="stmt"/>
3006
- <line num="721" count="0" type="cond" truecount="0" falsecount="4"/>
2944
+ <line num="715" count="0" type="cond" truecount="0" falsecount="3"/>
2945
+ <line num="716" count="0" type="stmt"/>
2946
+ <line num="722" count="0" type="stmt"/>
2947
+ <line num="724" count="0" type="cond" truecount="0" falsecount="4"/>
3007
2948
  </file>
3008
2949
  <file name="external.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.ts">
3009
2950
  <metrics statements="125" coveredstatements="19" conditionals="54" coveredconditionals="0" methods="15" coveredmethods="0"/>
@@ -6945,7 +6886,7 @@
6945
6886
  </file>
6946
6887
  </package>
6947
6888
  <package name="src.integrations">
6948
- <metrics statements="1187" coveredstatements="654" conditionals="539" coveredconditionals="243" methods="225" coveredmethods="118"/>
6889
+ <metrics statements="1194" coveredstatements="654" conditionals="541" coveredconditionals="243" methods="228" coveredmethods="118"/>
6949
6890
  <file name="airtable.ts" path="/home/runner/work/budibase/budibase/packages/server/src/integrations/airtable.ts">
6950
6891
  <metrics statements="25" coveredstatements="17" conditionals="2" coveredconditionals="2" methods="6" coveredmethods="5"/>
6951
6892
  <line num="1" count="48" type="stmt"/>
@@ -7314,97 +7255,101 @@
7314
7255
  <line num="117" count="47" type="stmt"/>
7315
7256
  </file>
7316
7257
  <file name="microsoftSqlServer.ts" path="/home/runner/work/budibase/budibase/packages/server/src/integrations/microsoftSqlServer.ts">
7317
- <metrics statements="90" coveredstatements="33" conditionals="29" coveredconditionals="4" methods="25" coveredmethods="5"/>
7258
+ <metrics statements="94" coveredstatements="33" conditionals="29" coveredconditionals="4" methods="28" coveredmethods="5"/>
7318
7259
  <line num="1" count="48" type="stmt"/>
7319
7260
  <line num="12" count="48" type="stmt"/>
7320
7261
  <line num="19" count="48" type="stmt"/>
7321
- <line num="21" count="48" type="stmt"/>
7322
7262
  <line num="22" count="48" type="stmt"/>
7323
- <line num="41" count="48" type="stmt"/>
7263
+ <line num="23" count="48" type="stmt"/>
7264
+ <line num="35" count="48" type="stmt"/>
7265
+ <line num="92" count="3" type="stmt"/>
7266
+ <line num="95" count="3" type="stmt"/>
7267
+ <line num="96" count="3" type="stmt"/>
7324
7268
  <line num="98" count="3" type="stmt"/>
7325
- <line num="101" count="3" type="stmt"/>
7326
- <line num="102" count="3" type="stmt"/>
7327
- <line num="104" count="3" type="stmt"/>
7269
+ <line num="105" count="3" type="stmt"/>
7270
+ <line num="109" count="3" type="stmt"/>
7271
+ <line num="110" count="3" type="stmt"/>
7328
7272
  <line num="111" count="3" type="stmt"/>
7329
- <line num="115" count="3" type="stmt"/>
7330
- <line num="116" count="3" type="stmt"/>
7331
- <line num="117" count="3" type="stmt"/>
7332
- <line num="124" count="3" type="stmt"/>
7333
- <line num="125" count="3" type="cond" truecount="1" falsecount="0"/>
7334
- <line num="126" count="3" type="stmt"/>
7335
- <line num="131" count="0" type="stmt"/>
7336
- <line num="135" count="0" type="stmt"/>
7337
- <line num="139" count="6" type="stmt"/>
7338
- <line num="140" count="6" type="stmt"/>
7339
- <line num="143" count="0" type="stmt"/>
7340
- <line num="151" count="3" type="stmt"/>
7341
- <line num="152" count="3" type="stmt"/>
7342
- <line num="153" count="3" type="stmt"/>
7343
- <line num="154" count="3" type="stmt"/>
7344
- <line num="155" count="3" type="cond" truecount="0" falsecount="1"/>
7345
- <line num="156" count="0" type="stmt"/>
7346
- <line num="157" count="0" type="stmt"/>
7347
- <line num="158" count="0" type="stmt"/>
7348
- <line num="164" count="3" type="cond" truecount="1" falsecount="1"/>
7349
- <line num="167" count="3" type="stmt"/>
7350
- <line num="170" count="0" type="stmt"/>
7273
+ <line num="118" count="3" type="stmt"/>
7274
+ <line num="119" count="3" type="cond" truecount="1" falsecount="0"/>
7275
+ <line num="120" count="3" type="stmt"/>
7276
+ <line num="125" count="0" type="stmt"/>
7277
+ <line num="129" count="0" type="stmt"/>
7278
+ <line num="133" count="6" type="stmt"/>
7279
+ <line num="134" count="6" type="stmt"/>
7280
+ <line num="137" count="0" type="stmt"/>
7281
+ <line num="145" count="3" type="stmt"/>
7282
+ <line num="146" count="3" type="stmt"/>
7283
+ <line num="147" count="3" type="stmt"/>
7284
+ <line num="148" count="3" type="stmt"/>
7285
+ <line num="149" count="3" type="cond" truecount="0" falsecount="1"/>
7286
+ <line num="150" count="0" type="stmt"/>
7287
+ <line num="151" count="0" type="stmt"/>
7288
+ <line num="152" count="0" type="stmt"/>
7289
+ <line num="158" count="3" type="cond" truecount="1" falsecount="1"/>
7290
+ <line num="161" count="3" type="stmt"/>
7291
+ <line num="164" count="0" type="stmt"/>
7292
+ <line num="169" count="0" type="stmt"/>
7351
7293
  <line num="175" count="0" type="stmt"/>
7352
- <line num="181" count="0" type="stmt"/>
7353
- <line num="192" count="0" type="stmt"/>
7354
- <line num="203" count="0" type="stmt"/>
7355
- <line num="212" count="0" type="stmt"/>
7294
+ <line num="186" count="0" type="stmt"/>
7295
+ <line num="197" count="0" type="stmt"/>
7296
+ <line num="206" count="0" type="stmt"/>
7297
+ <line num="207" count="0" type="stmt"/>
7298
+ <line num="208" count="0" type="cond" truecount="0" falsecount="3"/>
7299
+ <line num="209" count="0" type="stmt"/>
7300
+ <line num="212" count="0" type="cond" truecount="0" falsecount="2"/>
7356
7301
  <line num="213" count="0" type="stmt"/>
7357
- <line num="214" count="0" type="cond" truecount="0" falsecount="3"/>
7302
+ <line num="214" count="0" type="stmt"/>
7358
7303
  <line num="215" count="0" type="stmt"/>
7359
- <line num="218" count="0" type="cond" truecount="0" falsecount="2"/>
7304
+ <line num="216" count="0" type="stmt"/>
7305
+ <line num="218" count="0" type="stmt"/>
7360
7306
  <line num="219" count="0" type="stmt"/>
7361
- <line num="220" count="0" type="stmt"/>
7362
7307
  <line num="221" count="0" type="stmt"/>
7363
- <line num="222" count="0" type="stmt"/>
7364
- <line num="224" count="0" type="stmt"/>
7308
+ <line num="223" count="0" type="stmt"/>
7365
7309
  <line num="225" count="0" type="stmt"/>
7366
- <line num="227" count="0" type="stmt"/>
7367
- <line num="229" count="0" type="stmt"/>
7368
- <line num="231" count="0" type="stmt"/>
7310
+ <line num="228" count="0" type="stmt"/>
7311
+ <line num="230" count="0" type="stmt"/>
7369
7312
  <line num="232" count="0" type="stmt"/>
7370
- <line num="234" count="0" type="stmt"/>
7313
+ <line num="233" count="0" type="stmt"/>
7314
+ <line num="234" count="0" type="cond" truecount="0" falsecount="2"/>
7315
+ <line num="235" count="0" type="stmt"/>
7371
7316
  <line num="236" count="0" type="stmt"/>
7372
7317
  <line num="237" count="0" type="stmt"/>
7373
- <line num="238" count="0" type="cond" truecount="0" falsecount="2"/>
7374
- <line num="239" count="0" type="stmt"/>
7318
+ <line num="238" count="0" type="stmt"/>
7319
+ <line num="240" count="0" type="stmt"/>
7375
7320
  <line num="241" count="0" type="stmt"/>
7376
7321
  <line num="242" count="0" type="stmt"/>
7377
- <line num="243" count="0" type="stmt"/>
7378
- <line num="244" count="0" type="cond" truecount="0" falsecount="1"/>
7379
- <line num="245" count="0" type="stmt"/>
7322
+ <line num="243" count="0" type="cond" truecount="0" falsecount="1"/>
7323
+ <line num="244" count="0" type="stmt"/>
7324
+ <line num="246" count="0" type="stmt"/>
7380
7325
  <line num="247" count="0" type="stmt"/>
7381
- <line num="248" count="0" type="stmt"/>
7382
- <line num="254" count="0" type="stmt"/>
7383
- <line num="261" count="0" type="stmt"/>
7384
- <line num="262" count="0" type="stmt"/>
7326
+ <line num="250" count="0" type="stmt"/>
7327
+ <line num="256" count="0" type="stmt"/>
7385
7328
  <line num="263" count="0" type="stmt"/>
7386
- <line num="267" count="1" type="stmt"/>
7387
- <line num="268" count="1" type="stmt"/>
7329
+ <line num="264" count="0" type="stmt"/>
7330
+ <line num="265" count="0" type="stmt"/>
7388
7331
  <line num="269" count="1" type="stmt"/>
7389
- <line num="273" count="2" type="stmt"/>
7390
- <line num="274" count="2" type="stmt"/>
7391
- <line num="275" count="2" type="cond" truecount="1" falsecount="1"/>
7392
- <line num="279" count="0" type="stmt"/>
7393
- <line num="280" count="0" type="stmt"/>
7394
- <line num="281" count="0" type="cond" truecount="0" falsecount="2"/>
7395
- <line num="285" count="0" type="stmt"/>
7396
- <line num="286" count="0" type="stmt"/>
7397
- <line num="287" count="0" type="cond" truecount="0" falsecount="2"/>
7398
- <line num="291" count="0" type="stmt"/>
7399
- <line num="292" count="0" type="stmt"/>
7400
- <line num="293" count="0" type="cond" truecount="0" falsecount="8"/>
7332
+ <line num="270" count="1" type="stmt"/>
7333
+ <line num="271" count="1" type="stmt"/>
7334
+ <line num="275" count="2" type="stmt"/>
7335
+ <line num="276" count="2" type="stmt"/>
7336
+ <line num="277" count="2" type="cond" truecount="1" falsecount="1"/>
7337
+ <line num="281" count="0" type="stmt"/>
7338
+ <line num="282" count="0" type="stmt"/>
7339
+ <line num="283" count="0" type="cond" truecount="0" falsecount="2"/>
7340
+ <line num="287" count="0" type="stmt"/>
7341
+ <line num="288" count="0" type="stmt"/>
7342
+ <line num="289" count="0" type="cond" truecount="0" falsecount="2"/>
7343
+ <line num="293" count="0" type="stmt"/>
7401
7344
  <line num="294" count="0" type="stmt"/>
7345
+ <line num="295" count="0" type="cond" truecount="0" falsecount="8"/>
7402
7346
  <line num="296" count="0" type="stmt"/>
7403
- <line num="297" count="0" type="stmt"/>
7404
7347
  <line num="298" count="0" type="stmt"/>
7405
- <line num="299" count="0" type="cond" truecount="0" falsecount="2"/>
7348
+ <line num="299" count="0" type="stmt"/>
7406
7349
  <line num="300" count="0" type="stmt"/>
7407
- <line num="304" count="48" type="stmt"/>
7350
+ <line num="301" count="0" type="cond" truecount="0" falsecount="2"/>
7351
+ <line num="302" count="0" type="stmt"/>
7352
+ <line num="306" count="48" type="stmt"/>
7408
7353
  </file>
7409
7354
  <file name="mongodb.ts" path="/home/runner/work/budibase/budibase/packages/server/src/integrations/mongodb.ts">
7410
7355
  <metrics statements="124" coveredstatements="86" conditionals="63" coveredconditionals="38" methods="11" coveredmethods="9"/>
@@ -7540,310 +7485,313 @@
7540
7485
  <line num="18" count="48" type="stmt"/>
7541
7486
  <line num="19" count="48" type="stmt"/>
7542
7487
  <line num="20" count="48" type="stmt"/>
7543
- <line num="22" count="48" type="stmt"/>
7544
- <line num="36" count="48" type="stmt"/>
7545
- <line num="94" count="48" type="stmt"/>
7546
- <line num="97" count="11" type="stmt"/>
7547
- <line num="98" count="10" type="stmt"/>
7548
- <line num="99" count="10" type="cond" truecount="1" falsecount="0"/>
7549
- <line num="100" count="4" type="stmt"/>
7550
- <line num="102" count="6" type="stmt"/>
7551
- <line num="104" count="6" type="cond" truecount="5" falsecount="0"/>
7552
- <line num="105" count="2" type="stmt"/>
7553
- <line num="109" count="4" type="cond" truecount="1" falsecount="0"/>
7554
- <line num="114" count="3" type="stmt"/>
7555
- <line num="117" count="11" type="stmt"/>
7556
- <line num="123" count="11" type="stmt"/>
7488
+ <line num="23" count="48" type="stmt"/>
7489
+ <line num="37" count="48" type="stmt"/>
7490
+ <line num="95" count="48" type="stmt"/>
7491
+ <line num="98" count="11" type="stmt"/>
7492
+ <line num="99" count="10" type="stmt"/>
7493
+ <line num="100" count="10" type="cond" truecount="1" falsecount="0"/>
7494
+ <line num="101" count="4" type="stmt"/>
7495
+ <line num="103" count="6" type="stmt"/>
7496
+ <line num="105" count="6" type="cond" truecount="5" falsecount="0"/>
7497
+ <line num="106" count="2" type="stmt"/>
7498
+ <line num="110" count="4" type="cond" truecount="1" falsecount="0"/>
7499
+ <line num="115" count="3" type="stmt"/>
7500
+ <line num="118" count="11" type="stmt"/>
7557
7501
  <line num="124" count="11" type="stmt"/>
7558
- <line num="127" count="11" type="stmt"/>
7502
+ <line num="125" count="11" type="stmt"/>
7559
7503
  <line num="128" count="11" type="stmt"/>
7560
- <line num="129" count="11" type="cond" truecount="3" falsecount="0"/>
7561
- <line num="130" count="11" type="stmt"/>
7562
- <line num="133" count="11" type="cond" truecount="0" falsecount="1"/>
7563
- <line num="138" count="0" type="stmt"/>
7564
- <line num="141" count="11" type="stmt"/>
7504
+ <line num="129" count="11" type="stmt"/>
7505
+ <line num="130" count="11" type="cond" truecount="3" falsecount="0"/>
7506
+ <line num="131" count="11" type="stmt"/>
7507
+ <line num="134" count="11" type="cond" truecount="0" falsecount="1"/>
7508
+ <line num="139" count="0" type="stmt"/>
7565
7509
  <line num="142" count="11" type="stmt"/>
7566
- <line num="146" count="0" type="cond" truecount="0" falsecount="1"/>
7567
- <line num="151" count="0" type="stmt"/>
7568
- <line num="153" count="0" type="stmt"/>
7569
- <line num="159" count="0" type="stmt"/>
7570
- <line num="163" count="0" type="stmt"/>
7571
- <line num="167" count="11" type="stmt"/>
7572
- <line num="171" count="11" type="stmt"/>
7573
- <line num="181" count="11" type="stmt"/>
7574
- <line num="182" count="11" type="cond" truecount="4" falsecount="1"/>
7575
- <line num="183" count="11" type="stmt"/>
7576
- <line num="185" count="11" type="cond" truecount="2" falsecount="0"/>
7577
- <line num="186" count="11" type="cond" truecount="4" falsecount="2"/>
7578
- <line num="190" count="11" type="stmt"/>
7510
+ <line num="143" count="11" type="stmt"/>
7511
+ <line num="147" count="0" type="cond" truecount="0" falsecount="1"/>
7512
+ <line num="152" count="0" type="stmt"/>
7513
+ <line num="154" count="0" type="stmt"/>
7514
+ <line num="160" count="0" type="stmt"/>
7515
+ <line num="164" count="0" type="stmt"/>
7516
+ <line num="168" count="11" type="stmt"/>
7517
+ <line num="172" count="11" type="stmt"/>
7518
+ <line num="182" count="11" type="stmt"/>
7519
+ <line num="183" count="11" type="cond" truecount="4" falsecount="1"/>
7520
+ <line num="184" count="11" type="stmt"/>
7521
+ <line num="186" count="11" type="cond" truecount="2" falsecount="0"/>
7522
+ <line num="187" count="11" type="cond" truecount="4" falsecount="2"/>
7579
7523
  <line num="191" count="11" type="stmt"/>
7580
- <line num="193" count="11" type="cond" truecount="4" falsecount="1"/>
7581
- <line num="194" count="11" type="stmt"/>
7582
- <line num="200" count="0" type="stmt"/>
7524
+ <line num="192" count="11" type="stmt"/>
7525
+ <line num="194" count="11" type="cond" truecount="4" falsecount="1"/>
7526
+ <line num="195" count="11" type="stmt"/>
7583
7527
  <line num="201" count="0" type="stmt"/>
7584
7528
  <line num="202" count="0" type="stmt"/>
7585
- <line num="204" count="0" type="stmt"/>
7586
- <line num="206" count="0" type="stmt"/>
7587
- <line num="210" count="0" type="stmt"/>
7588
- <line num="212" count="0" type="cond" truecount="0" falsecount="2"/>
7589
- <line num="215" count="0" type="stmt"/>
7529
+ <line num="203" count="0" type="stmt"/>
7530
+ <line num="205" count="0" type="stmt"/>
7531
+ <line num="207" count="0" type="stmt"/>
7532
+ <line num="211" count="0" type="stmt"/>
7533
+ <line num="213" count="0" type="cond" truecount="0" falsecount="2"/>
7590
7534
  <line num="216" count="0" type="stmt"/>
7591
7535
  <line num="217" count="0" type="stmt"/>
7592
7536
  <line num="218" count="0" type="stmt"/>
7593
- <line num="222" count="0" type="stmt"/>
7537
+ <line num="219" count="0" type="stmt"/>
7594
7538
  <line num="223" count="0" type="stmt"/>
7595
- <line num="224" count="0" type="cond" truecount="0" falsecount="3"/>
7596
- <line num="225" count="0" type="stmt"/>
7597
- <line num="227" count="0" type="stmt"/>
7598
- <line num="231" count="0" type="cond" truecount="0" falsecount="3"/>
7599
- <line num="234" count="0" type="stmt"/>
7600
- <line num="242" count="0" type="cond" truecount="0" falsecount="1"/>
7601
- <line num="243" count="0" type="stmt"/>
7602
- <line num="252" count="0" type="stmt"/>
7603
- <line num="254" count="0" type="stmt"/>
7539
+ <line num="224" count="0" type="stmt"/>
7540
+ <line num="225" count="0" type="cond" truecount="0" falsecount="3"/>
7541
+ <line num="226" count="0" type="stmt"/>
7542
+ <line num="228" count="0" type="stmt"/>
7543
+ <line num="232" count="0" type="cond" truecount="0" falsecount="3"/>
7544
+ <line num="235" count="0" type="stmt"/>
7545
+ <line num="243" count="0" type="cond" truecount="0" falsecount="1"/>
7546
+ <line num="244" count="0" type="stmt"/>
7547
+ <line num="253" count="0" type="stmt"/>
7604
7548
  <line num="255" count="0" type="stmt"/>
7605
7549
  <line num="256" count="0" type="stmt"/>
7606
- <line num="260" count="2" type="stmt"/>
7607
- <line num="261" count="2" type="cond" truecount="1" falsecount="1"/>
7608
- <line num="265" count="5" type="stmt"/>
7609
- <line num="269" count="2" type="stmt"/>
7610
- <line num="270" count="2" type="cond" truecount="1" falsecount="1"/>
7611
- <line num="274" count="2" type="stmt"/>
7612
- <line num="275" count="2" type="cond" truecount="1" falsecount="1"/>
7613
- <line num="279" count="0" type="stmt"/>
7550
+ <line num="257" count="0" type="stmt"/>
7551
+ <line num="261" count="2" type="stmt"/>
7552
+ <line num="262" count="2" type="cond" truecount="1" falsecount="1"/>
7553
+ <line num="266" count="5" type="stmt"/>
7554
+ <line num="270" count="2" type="stmt"/>
7555
+ <line num="271" count="2" type="cond" truecount="1" falsecount="1"/>
7556
+ <line num="275" count="2" type="stmt"/>
7557
+ <line num="276" count="2" type="cond" truecount="1" falsecount="1"/>
7614
7558
  <line num="280" count="0" type="stmt"/>
7615
7559
  <line num="281" count="0" type="stmt"/>
7616
7560
  <line num="282" count="0" type="stmt"/>
7617
7561
  <line num="283" count="0" type="stmt"/>
7618
- <line num="285" count="0" type="stmt"/>
7619
- <line num="290" count="48" type="stmt"/>
7562
+ <line num="284" count="0" type="stmt"/>
7563
+ <line num="286" count="0" type="stmt"/>
7564
+ <line num="291" count="48" type="stmt"/>
7620
7565
  </file>
7621
7566
  <file name="oracle.ts" path="/home/runner/work/budibase/budibase/packages/server/src/integrations/oracle.ts">
7622
- <metrics statements="121" coveredstatements="39" conditionals="68" coveredconditionals="18" methods="26" coveredmethods="9"/>
7567
+ <metrics statements="123" coveredstatements="39" conditionals="70" coveredconditionals="18" methods="26" coveredmethods="9"/>
7623
7568
  <line num="1" count="48" type="stmt"/>
7624
7569
  <line num="11" count="48" type="stmt"/>
7625
7570
  <line num="18" count="48" type="stmt"/>
7626
7571
  <line num="19" count="48" type="stmt"/>
7627
- <line num="28" count="48" type="stmt"/>
7628
- <line num="29" count="48" type="stmt"/>
7629
- <line num="30" count="48" type="stmt"/>
7630
- <line num="32" count="0" type="stmt"/>
7631
- <line num="43" count="48" type="stmt"/>
7632
- <line num="90" count="48" type="stmt"/>
7633
- <line num="136" count="48" type="stmt"/>
7634
- <line num="145" count="7" type="stmt"/>
7635
- <line num="147" count="7" type="stmt"/>
7636
- <line num="148" count="7" type="stmt"/>
7637
- <line num="150" count="7" type="stmt"/>
7638
- <line num="179" count="7" type="stmt"/>
7639
- <line num="180" count="7" type="stmt"/>
7640
- <line num="184" count="0" type="stmt"/>
7572
+ <line num="34" count="48" type="stmt"/>
7573
+ <line num="35" count="48" type="stmt"/>
7574
+ <line num="36" count="48" type="stmt"/>
7575
+ <line num="38" count="0" type="stmt"/>
7576
+ <line num="49" count="48" type="stmt"/>
7577
+ <line num="96" count="48" type="stmt"/>
7578
+ <line num="98" count="48" type="stmt"/>
7579
+ <line num="107" count="7" type="stmt"/>
7580
+ <line num="109" count="7" type="stmt"/>
7581
+ <line num="110" count="7" type="stmt"/>
7582
+ <line num="112" count="7" type="stmt"/>
7583
+ <line num="141" count="7" type="stmt"/>
7584
+ <line num="142" count="7" type="stmt"/>
7585
+ <line num="146" count="0" type="stmt"/>
7586
+ <line num="150" count="0" type="stmt"/>
7587
+ <line num="154" count="47" type="stmt"/>
7588
+ <line num="163" count="0" type="stmt"/>
7589
+ <line num="165" count="0" type="cond" truecount="0" falsecount="1"/>
7590
+ <line num="166" count="0" type="stmt"/>
7591
+ <line num="167" count="0" type="stmt"/>
7592
+ <line num="168" count="0" type="stmt"/>
7593
+ <line num="169" count="0" type="stmt"/>
7594
+ <line num="170" count="0" type="stmt"/>
7595
+ <line num="171" count="0" type="stmt"/>
7596
+ <line num="172" count="0" type="stmt"/>
7597
+ <line num="173" count="0" type="stmt"/>
7598
+ <line num="174" count="0" type="stmt"/>
7599
+ <line num="175" count="0" type="stmt"/>
7600
+ <line num="177" count="0" type="stmt"/>
7601
+ <line num="178" count="0" type="cond" truecount="0" falsecount="1"/>
7602
+ <line num="179" count="0" type="stmt"/>
7603
+ <line num="183" count="0" type="stmt"/>
7604
+ <line num="186" count="0" type="stmt"/>
7605
+ <line num="187" count="0" type="cond" truecount="0" falsecount="1"/>
7641
7606
  <line num="188" count="0" type="stmt"/>
7642
- <line num="192" count="47" type="stmt"/>
7607
+ <line num="195" count="0" type="stmt"/>
7608
+ <line num="198" count="0" type="cond" truecount="0" falsecount="3"/>
7609
+ <line num="199" count="0" type="stmt"/>
7610
+ <line num="200" count="0" type="cond" truecount="0" falsecount="1"/>
7643
7611
  <line num="201" count="0" type="stmt"/>
7644
- <line num="203" count="0" type="cond" truecount="0" falsecount="1"/>
7645
- <line num="204" count="0" type="stmt"/>
7646
- <line num="205" count="0" type="stmt"/>
7647
- <line num="206" count="0" type="stmt"/>
7648
- <line num="207" count="0" type="stmt"/>
7649
7612
  <line num="208" count="0" type="stmt"/>
7650
- <line num="209" count="0" type="stmt"/>
7651
- <line num="210" count="0" type="stmt"/>
7652
- <line num="211" count="0" type="stmt"/>
7653
- <line num="212" count="0" type="stmt"/>
7654
7613
  <line num="213" count="0" type="stmt"/>
7655
- <line num="215" count="0" type="stmt"/>
7656
- <line num="216" count="0" type="cond" truecount="0" falsecount="1"/>
7657
7614
  <line num="217" count="0" type="stmt"/>
7658
7615
  <line num="221" count="0" type="stmt"/>
7659
- <line num="224" count="0" type="stmt"/>
7660
- <line num="225" count="0" type="cond" truecount="0" falsecount="1"/>
7661
- <line num="226" count="0" type="stmt"/>
7662
- <line num="233" count="0" type="stmt"/>
7663
- <line num="236" count="0" type="cond" truecount="0" falsecount="3"/>
7664
- <line num="237" count="0" type="stmt"/>
7665
- <line num="238" count="0" type="cond" truecount="0" falsecount="1"/>
7666
- <line num="239" count="0" type="stmt"/>
7667
- <line num="246" count="0" type="stmt"/>
7668
- <line num="251" count="0" type="stmt"/>
7616
+ <line num="231" count="0" type="stmt"/>
7617
+ <line num="234" count="0" type="cond" truecount="0" falsecount="1"/>
7618
+ <line num="238" count="0" type="stmt"/>
7619
+ <line num="241" count="0" type="cond" truecount="0" falsecount="3"/>
7620
+ <line num="242" count="0" type="stmt"/>
7621
+ <line num="245" count="0" type="stmt"/>
7622
+ <line num="251" count="0" type="cond" truecount="0" falsecount="1"/>
7623
+ <line num="252" count="0" type="stmt"/>
7669
7624
  <line num="255" count="0" type="stmt"/>
7670
- <line num="259" count="0" type="stmt"/>
7625
+ <line num="264" count="0" type="stmt"/>
7626
+ <line num="267" count="0" type="stmt"/>
7671
7627
  <line num="269" count="0" type="stmt"/>
7672
- <line num="272" count="0" type="cond" truecount="0" falsecount="1"/>
7673
- <line num="276" count="0" type="stmt"/>
7674
- <line num="279" count="0" type="cond" truecount="0" falsecount="3"/>
7675
- <line num="280" count="0" type="stmt"/>
7676
- <line num="283" count="0" type="stmt"/>
7677
- <line num="289" count="0" type="cond" truecount="0" falsecount="1"/>
7678
- <line num="290" count="0" type="stmt"/>
7628
+ <line num="272" count="0" type="stmt"/>
7629
+ <line num="273" count="0" type="stmt"/>
7630
+ <line num="274" count="0" type="cond" truecount="0" falsecount="1"/>
7631
+ <line num="275" count="0" type="stmt"/>
7632
+ <line num="281" count="0" type="stmt"/>
7633
+ <line num="285" count="0" type="stmt"/>
7634
+ <line num="288" count="0" type="stmt"/>
7635
+ <line num="291" count="0" type="stmt"/>
7679
7636
  <line num="293" count="0" type="stmt"/>
7680
- <line num="302" count="0" type="stmt"/>
7681
- <line num="305" count="0" type="stmt"/>
7682
- <line num="307" count="0" type="stmt"/>
7637
+ <line num="294" count="0" type="stmt"/>
7638
+ <line num="295" count="0" type="cond" truecount="0" falsecount="1"/>
7639
+ <line num="296" count="0" type="stmt"/>
7640
+ <line num="304" count="0" type="stmt"/>
7641
+ <line num="308" count="0" type="stmt"/>
7642
+ <line num="309" count="0" type="cond" truecount="0" falsecount="2"/>
7683
7643
  <line num="310" count="0" type="stmt"/>
7684
- <line num="311" count="0" type="stmt"/>
7685
- <line num="312" count="0" type="cond" truecount="0" falsecount="1"/>
7686
- <line num="313" count="0" type="stmt"/>
7687
- <line num="319" count="0" type="stmt"/>
7688
- <line num="323" count="0" type="stmt"/>
7689
- <line num="326" count="0" type="stmt"/>
7690
- <line num="329" count="0" type="stmt"/>
7691
- <line num="331" count="0" type="stmt"/>
7692
- <line num="332" count="0" type="stmt"/>
7693
- <line num="333" count="0" type="cond" truecount="0" falsecount="1"/>
7694
- <line num="334" count="0" type="stmt"/>
7695
- <line num="339" count="0" type="stmt"/>
7696
- <line num="343" count="0" type="stmt"/>
7697
- <line num="344" count="0" type="cond" truecount="0" falsecount="1"/>
7698
- <line num="345" count="0" type="stmt"/>
7699
- <line num="351" count="0" type="stmt"/>
7700
- <line num="352" count="0" type="stmt"/>
7701
- <line num="353" count="0" type="stmt"/>
7702
- <line num="358" count="7" type="stmt"/>
7703
- <line num="359" count="7" type="stmt"/>
7704
- <line num="360" count="7" type="stmt"/>
7705
- <line num="362" count="7" type="stmt"/>
7706
- <line num="363" count="7" type="cond" truecount="2" falsecount="0"/>
7707
- <line num="365" count="7" type="stmt"/>
7708
- <line num="367" count="7" type="cond" truecount="1" falsecount="0"/>
7709
- <line num="368" count="7" type="stmt"/>
7710
- <line num="369" count="7" type="stmt"/>
7711
- <line num="371" count="0" type="stmt"/>
7712
- <line num="377" count="7" type="stmt"/>
7713
- <line num="379" count="7" type="cond" truecount="2" falsecount="0"/>
7714
- <line num="382" count="7" type="stmt"/>
7715
- <line num="387" count="7" type="stmt"/>
7716
- <line num="391" count="2" type="stmt"/>
7717
- <line num="392" count="2" type="cond" truecount="4" falsecount="0"/>
7718
- <line num="398" count="1" type="stmt"/>
7719
- <line num="399" count="1" type="cond" truecount="1" falsecount="1"/>
7720
- <line num="403" count="2" type="stmt"/>
7721
- <line num="404" count="2" type="cond" truecount="4" falsecount="0"/>
7722
- <line num="410" count="2" type="stmt"/>
7723
- <line num="411" count="2" type="cond" truecount="4" falsecount="0"/>
7724
- <line num="417" count="0" type="stmt"/>
7725
- <line num="418" count="0" type="stmt"/>
7726
- <line num="419" count="0" type="cond" truecount="0" falsecount="2"/>
7727
- <line num="420" count="0" type="stmt"/>
7728
- <line num="421" count="0" type="stmt"/>
7644
+ <line num="311" count="0" type="cond" truecount="0" falsecount="1"/>
7645
+ <line num="314" count="0" type="stmt"/>
7646
+ <line num="322" count="0" type="stmt"/>
7647
+ <line num="323" count="0" type="stmt"/>
7648
+ <line num="324" count="0" type="stmt"/>
7649
+ <line num="329" count="7" type="stmt"/>
7650
+ <line num="330" count="7" type="stmt"/>
7651
+ <line num="331" count="7" type="stmt"/>
7652
+ <line num="333" count="7" type="stmt"/>
7653
+ <line num="334" count="7" type="cond" truecount="2" falsecount="0"/>
7654
+ <line num="336" count="7" type="stmt"/>
7655
+ <line num="338" count="7" type="cond" truecount="1" falsecount="0"/>
7656
+ <line num="339" count="7" type="stmt"/>
7657
+ <line num="340" count="7" type="stmt"/>
7658
+ <line num="342" count="0" type="stmt"/>
7659
+ <line num="348" count="7" type="stmt"/>
7660
+ <line num="350" count="7" type="cond" truecount="2" falsecount="0"/>
7661
+ <line num="353" count="7" type="stmt"/>
7662
+ <line num="358" count="7" type="stmt"/>
7663
+ <line num="362" count="2" type="stmt"/>
7664
+ <line num="363" count="2" type="cond" truecount="4" falsecount="0"/>
7665
+ <line num="369" count="1" type="stmt"/>
7666
+ <line num="370" count="1" type="cond" truecount="1" falsecount="1"/>
7667
+ <line num="374" count="2" type="stmt"/>
7668
+ <line num="375" count="2" type="cond" truecount="4" falsecount="0"/>
7669
+ <line num="381" count="2" type="stmt"/>
7670
+ <line num="382" count="2" type="cond" truecount="4" falsecount="0"/>
7671
+ <line num="388" count="0" type="stmt"/>
7672
+ <line num="389" count="0" type="stmt"/>
7673
+ <line num="390" count="0" type="cond" truecount="0" falsecount="2"/>
7674
+ <line num="391" count="0" type="stmt"/>
7675
+ <line num="392" count="0" type="stmt"/>
7676
+ <line num="393" count="0" type="stmt"/>
7677
+ <line num="395" count="0" type="stmt"/>
7678
+ <line num="399" count="0" type="cond" truecount="0" falsecount="1"/>
7679
+ <line num="400" count="0" type="stmt"/>
7680
+ <line num="401" count="0" type="stmt"/>
7681
+ <line num="405" count="0" type="stmt"/>
7682
+ <line num="408" count="0" type="cond" truecount="0" falsecount="10"/>
7683
+ <line num="409" count="0" type="stmt"/>
7684
+ <line num="410" count="0" type="cond" truecount="0" falsecount="6"/>
7685
+ <line num="411" count="0" type="stmt"/>
7686
+ <line num="414" count="0" type="cond" truecount="0" falsecount="2"/>
7687
+ <line num="419" count="0" type="stmt"/>
7729
7688
  <line num="422" count="0" type="stmt"/>
7730
7689
  <line num="424" count="0" type="stmt"/>
7731
- <line num="428" count="0" type="cond" truecount="0" falsecount="1"/>
7732
- <line num="429" count="0" type="stmt"/>
7733
- <line num="430" count="0" type="stmt"/>
7734
- <line num="434" count="0" type="stmt"/>
7735
- <line num="437" count="0" type="cond" truecount="0" falsecount="10"/>
7736
- <line num="438" count="0" type="stmt"/>
7737
- <line num="439" count="0" type="cond" truecount="0" falsecount="6"/>
7738
- <line num="440" count="0" type="stmt"/>
7739
- <line num="443" count="0" type="cond" truecount="0" falsecount="2"/>
7740
- <line num="448" count="0" type="stmt"/>
7741
- <line num="451" count="0" type="stmt"/>
7742
- <line num="453" count="0" type="stmt"/>
7743
- <line num="460" count="48" type="stmt"/>
7690
+ <line num="431" count="48" type="stmt"/>
7744
7691
  </file>
7745
7692
  <file name="postgres.ts" path="/home/runner/work/budibase/budibase/packages/server/src/integrations/postgres.ts">
7746
- <metrics statements="100" coveredstatements="54" conditionals="48" coveredconditionals="20" methods="17" coveredmethods="11"/>
7693
+ <metrics statements="101" coveredstatements="54" conditionals="48" coveredconditionals="20" methods="17" coveredmethods="11"/>
7747
7694
  <line num="1" count="48" type="stmt"/>
7748
7695
  <line num="10" count="48" type="stmt"/>
7749
7696
  <line num="17" count="48" type="stmt"/>
7750
7697
  <line num="19" count="48" type="stmt"/>
7751
- <line num="20" count="48" type="stmt"/>
7752
- <line num="25" count="48" type="cond" truecount="0" falsecount="1"/>
7753
- <line num="26" count="0" type="stmt"/>
7698
+ <line num="21" count="48" type="stmt"/>
7699
+ <line num="26" count="48" type="cond" truecount="0" falsecount="1"/>
7754
7700
  <line num="27" count="0" type="stmt"/>
7755
7701
  <line num="28" count="0" type="stmt"/>
7756
- <line num="31" count="48" type="stmt"/>
7757
- <line num="45" count="48" type="stmt"/>
7758
- <line num="118" count="10" type="stmt"/>
7759
- <line num="120" count="10" type="stmt"/>
7702
+ <line num="29" count="0" type="stmt"/>
7703
+ <line num="32" count="48" type="stmt"/>
7704
+ <line num="46" count="48" type="stmt"/>
7705
+ <line num="119" count="10" type="stmt"/>
7760
7706
  <line num="121" count="10" type="stmt"/>
7761
- <line num="125" count="10" type="stmt"/>
7762
- <line num="136" count="10" type="stmt"/>
7707
+ <line num="122" count="10" type="stmt"/>
7708
+ <line num="126" count="10" type="stmt"/>
7763
7709
  <line num="137" count="10" type="stmt"/>
7764
- <line num="139" count="10" type="stmt"/>
7765
- <line num="148" count="10" type="stmt"/>
7710
+ <line num="138" count="10" type="stmt"/>
7711
+ <line num="140" count="10" type="stmt"/>
7766
7712
  <line num="149" count="10" type="stmt"/>
7767
- <line num="153" count="0" type="stmt"/>
7768
- <line num="157" count="0" type="stmt"/>
7769
- <line num="161" count="10" type="stmt"/>
7770
- <line num="162" count="10" type="cond" truecount="1" falsecount="0"/>
7771
- <line num="163" count="10" type="stmt"/>
7772
- <line num="165" count="10" type="stmt"/>
7713
+ <line num="150" count="10" type="stmt"/>
7714
+ <line num="154" count="0" type="stmt"/>
7715
+ <line num="158" count="0" type="stmt"/>
7716
+ <line num="162" count="10" type="stmt"/>
7717
+ <line num="163" count="10" type="cond" truecount="1" falsecount="0"/>
7718
+ <line num="164" count="10" type="stmt"/>
7773
7719
  <line num="166" count="10" type="stmt"/>
7774
7720
  <line num="167" count="10" type="stmt"/>
7775
- <line num="171" count="10" type="stmt"/>
7721
+ <line num="168" count="10" type="stmt"/>
7776
7722
  <line num="172" count="10" type="stmt"/>
7777
7723
  <line num="173" count="10" type="stmt"/>
7778
7724
  <line num="174" count="10" type="stmt"/>
7779
- <line num="175" count="10" type="cond" truecount="1" falsecount="1"/>
7780
- <line num="176" count="0" type="stmt"/>
7781
- <line num="178" count="10" type="stmt"/>
7782
- <line num="185" count="10" type="cond" truecount="1" falsecount="0"/>
7783
- <line num="186" count="10" type="stmt"/>
7784
- <line num="188" count="10" type="stmt"/>
7725
+ <line num="175" count="10" type="stmt"/>
7726
+ <line num="176" count="10" type="cond" truecount="1" falsecount="1"/>
7727
+ <line num="177" count="0" type="stmt"/>
7728
+ <line num="179" count="10" type="stmt"/>
7729
+ <line num="186" count="10" type="cond" truecount="1" falsecount="0"/>
7730
+ <line num="187" count="10" type="stmt"/>
7785
7731
  <line num="189" count="10" type="stmt"/>
7786
- <line num="192" count="10" type="cond" truecount="3" falsecount="0"/>
7787
- <line num="193" count="8" type="stmt"/>
7788
- <line num="194" count="8" type="cond" truecount="1" falsecount="2"/>
7789
- <line num="195" count="0" type="stmt"/>
7732
+ <line num="190" count="10" type="stmt"/>
7733
+ <line num="193" count="10" type="cond" truecount="3" falsecount="0"/>
7734
+ <line num="194" count="8" type="stmt"/>
7735
+ <line num="195" count="8" type="cond" truecount="1" falsecount="2"/>
7790
7736
  <line num="196" count="0" type="stmt"/>
7791
7737
  <line num="197" count="0" type="stmt"/>
7792
- <line num="201" count="10" type="stmt"/>
7793
- <line num="202" count="10" type="cond" truecount="2" falsecount="0"/>
7794
- <line num="204" count="0" type="stmt"/>
7795
- <line num="206" count="0" type="stmt"/>
7796
- <line num="208" count="10" type="cond" truecount="1" falsecount="0"/>
7797
- <line num="209" count="10" type="stmt"/>
7798
- <line num="220" count="0" type="stmt"/>
7738
+ <line num="198" count="0" type="stmt"/>
7739
+ <line num="202" count="10" type="stmt"/>
7740
+ <line num="203" count="10" type="cond" truecount="2" falsecount="0"/>
7741
+ <line num="205" count="0" type="stmt"/>
7742
+ <line num="207" count="0" type="stmt"/>
7743
+ <line num="209" count="10" type="cond" truecount="1" falsecount="0"/>
7744
+ <line num="210" count="10" type="stmt"/>
7799
7745
  <line num="221" count="0" type="stmt"/>
7800
7746
  <line num="222" count="0" type="stmt"/>
7801
7747
  <line num="223" count="0" type="stmt"/>
7802
7748
  <line num="224" count="0" type="stmt"/>
7803
7749
  <line num="225" count="0" type="stmt"/>
7804
- <line num="226" count="0" type="cond" truecount="0" falsecount="1"/>
7805
- <line num="227" count="0" type="stmt"/>
7806
- <line num="229" count="0" type="cond" truecount="0" falsecount="2"/>
7807
- <line num="231" count="0" type="cond" truecount="0" falsecount="3"/>
7808
- <line num="232" count="0" type="stmt"/>
7809
- <line num="236" count="0" type="stmt"/>
7810
- <line num="239" count="0" type="stmt"/>
7750
+ <line num="226" count="0" type="stmt"/>
7751
+ <line num="227" count="0" type="cond" truecount="0" falsecount="1"/>
7752
+ <line num="228" count="0" type="stmt"/>
7753
+ <line num="230" count="0" type="cond" truecount="0" falsecount="2"/>
7754
+ <line num="232" count="0" type="cond" truecount="0" falsecount="3"/>
7755
+ <line num="233" count="0" type="stmt"/>
7756
+ <line num="237" count="0" type="stmt"/>
7811
7757
  <line num="240" count="0" type="stmt"/>
7812
7758
  <line num="242" count="0" type="stmt"/>
7813
7759
  <line num="244" count="0" type="stmt"/>
7814
- <line num="245" count="0" type="stmt"/>
7815
7760
  <line num="246" count="0" type="stmt"/>
7816
- <line num="249" count="0" type="cond" truecount="0" falsecount="3"/>
7817
- <line num="250" count="0" type="stmt"/>
7818
- <line num="258" count="0" type="stmt"/>
7819
- <line num="264" count="0" type="cond" truecount="0" falsecount="2"/>
7820
- <line num="267" count="0" type="cond" truecount="0" falsecount="2"/>
7821
- <line num="268" count="0" type="cond" truecount="0" falsecount="3"/>
7822
- <line num="269" count="0" type="stmt"/>
7823
- <line num="277" count="0" type="stmt"/>
7824
- <line num="278" count="0" type="stmt"/>
7825
- <line num="279" count="0" type="stmt"/>
7826
- <line num="282" count="0" type="stmt"/>
7761
+ <line num="247" count="0" type="stmt"/>
7762
+ <line num="248" count="0" type="stmt"/>
7763
+ <line num="251" count="0" type="cond" truecount="0" falsecount="3"/>
7764
+ <line num="252" count="0" type="stmt"/>
7765
+ <line num="260" count="0" type="stmt"/>
7766
+ <line num="265" count="0" type="stmt"/>
7767
+ <line num="269" count="0" type="cond" truecount="0" falsecount="2"/>
7768
+ <line num="272" count="0" type="cond" truecount="0" falsecount="2"/>
7769
+ <line num="273" count="0" type="cond" truecount="0" falsecount="3"/>
7770
+ <line num="274" count="0" type="stmt"/>
7771
+ <line num="283" count="0" type="stmt"/>
7827
7772
  <line num="284" count="0" type="stmt"/>
7828
- <line num="289" count="2" type="stmt"/>
7829
- <line num="290" count="2" type="cond" truecount="2" falsecount="0"/>
7830
- <line num="294" count="3" type="stmt"/>
7831
- <line num="295" count="3" type="stmt"/>
7832
- <line num="299" count="2" type="stmt"/>
7833
- <line num="300" count="2" type="cond" truecount="2" falsecount="0"/>
7834
- <line num="304" count="2" type="stmt"/>
7835
- <line num="305" count="2" type="cond" truecount="2" falsecount="0"/>
7836
- <line num="309" count="1" type="stmt"/>
7837
- <line num="310" count="1" type="stmt"/>
7838
- <line num="311" count="1" type="cond" truecount="1" falsecount="1"/>
7839
- <line num="312" count="0" type="stmt"/>
7840
- <line num="313" count="0" type="stmt"/>
7841
- <line num="314" count="0" type="stmt"/>
7842
- <line num="316" count="0" type="stmt"/>
7843
- <line num="317" count="0" type="stmt"/>
7844
- <line num="319" count="1" type="stmt"/>
7845
- <line num="320" count="1" type="cond" truecount="1" falsecount="1"/>
7846
- <line num="325" count="48" type="stmt"/>
7773
+ <line num="285" count="0" type="stmt"/>
7774
+ <line num="288" count="0" type="stmt"/>
7775
+ <line num="290" count="0" type="stmt"/>
7776
+ <line num="295" count="2" type="stmt"/>
7777
+ <line num="296" count="2" type="cond" truecount="2" falsecount="0"/>
7778
+ <line num="300" count="3" type="stmt"/>
7779
+ <line num="301" count="3" type="stmt"/>
7780
+ <line num="305" count="2" type="stmt"/>
7781
+ <line num="306" count="2" type="cond" truecount="2" falsecount="0"/>
7782
+ <line num="310" count="2" type="stmt"/>
7783
+ <line num="311" count="2" type="cond" truecount="2" falsecount="0"/>
7784
+ <line num="315" count="1" type="stmt"/>
7785
+ <line num="316" count="1" type="stmt"/>
7786
+ <line num="317" count="1" type="cond" truecount="1" falsecount="1"/>
7787
+ <line num="318" count="0" type="stmt"/>
7788
+ <line num="319" count="0" type="stmt"/>
7789
+ <line num="320" count="0" type="stmt"/>
7790
+ <line num="322" count="0" type="stmt"/>
7791
+ <line num="323" count="0" type="stmt"/>
7792
+ <line num="325" count="1" type="stmt"/>
7793
+ <line num="326" count="1" type="cond" truecount="1" falsecount="1"/>
7794
+ <line num="331" count="48" type="stmt"/>
7847
7795
  </file>
7848
7796
  <file name="redis.ts" path="/home/runner/work/budibase/budibase/packages/server/src/integrations/redis.ts">
7849
7797
  <metrics statements="30" coveredstatements="28" conditionals="1" coveredconditionals="0" methods="16" coveredmethods="16"/>
@@ -8974,9 +8922,9 @@
8974
8922
  </file>
8975
8923
  </package>
8976
8924
  <package name="src.migrations.functions">
8977
- <metrics statements="73" coveredstatements="67" conditionals="34" coveredconditionals="29" methods="14" coveredmethods="14"/>
8925
+ <metrics statements="72" coveredstatements="66" conditionals="34" coveredconditionals="29" methods="14" coveredmethods="14"/>
8978
8926
  <file name="appUrls.ts" path="/home/runner/work/budibase/budibase/packages/server/src/migrations/functions/appUrls.ts">
8979
- <metrics statements="12" coveredstatements="10" conditionals="1" coveredconditionals="1" methods="2" coveredmethods="2"/>
8927
+ <metrics statements="11" coveredstatements="9" conditionals="1" coveredconditionals="1" methods="2" coveredmethods="2"/>
8980
8928
  <line num="1" count="45" type="stmt"/>
8981
8929
  <line num="2" count="45" type="stmt"/>
8982
8930
  <line num="11" count="45" type="stmt"/>
@@ -8986,9 +8934,8 @@
8986
8934
  <line num="19" count="0" type="stmt"/>
8987
8935
  <line num="22" count="1" type="cond" truecount="1" falsecount="0"/>
8988
8936
  <line num="23" count="1" type="stmt"/>
8989
- <line num="30" count="1" type="stmt"/>
8990
- <line num="31" count="1" type="stmt"/>
8991
- <line num="32" count="1" type="stmt"/>
8937
+ <line num="24" count="1" type="stmt"/>
8938
+ <line num="25" count="1" type="stmt"/>
8992
8939
  </file>
8993
8940
  <file name="syncQuotas.ts" path="/home/runner/work/budibase/budibase/packages/server/src/migrations/functions/syncQuotas.ts">
8994
8941
  <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
@@ -9564,32 +9511,79 @@
9564
9511
  </file>
9565
9512
  </package>
9566
9513
  <package name="src.sdk">
9567
- <metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
9514
+ <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
9568
9515
  <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/index.ts">
9569
- <metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
9570
- <line num="1" count="47" type="stmt"/>
9571
- <line num="2" count="47" type="stmt"/>
9572
- <line num="3" count="47" type="stmt"/>
9573
- <line num="5" count="47" type="stmt"/>
9574
- <line num="12" count="47" type="stmt"/>
9575
- <line num="15" count="47" type="stmt"/>
9516
+ <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
9517
+ <line num="1" count="48" type="stmt"/>
9518
+ <line num="2" count="48" type="stmt"/>
9519
+ <line num="3" count="48" type="stmt"/>
9520
+ <line num="4" count="48" type="stmt"/>
9521
+ <line num="5" count="48" type="stmt"/>
9522
+ <line num="7" count="48" type="stmt"/>
9523
+ <line num="16" count="48" type="stmt"/>
9524
+ </file>
9525
+ </package>
9526
+ <package name="src.sdk.app.applications">
9527
+ <metrics statements="34" coveredstatements="29" conditionals="25" coveredconditionals="17" methods="2" coveredmethods="2"/>
9528
+ <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/app/applications/index.ts">
9529
+ <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
9530
+ <line num="1" count="48" type="stmt"/>
9531
+ <line num="2" count="48" type="stmt"/>
9532
+ <line num="4" count="48" type="stmt"/>
9533
+ </file>
9534
+ <file name="sync.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/app/applications/sync.ts">
9535
+ <metrics statements="22" coveredstatements="17" conditionals="5" coveredconditionals="1" methods="1" coveredmethods="1"/>
9536
+ <line num="1" count="48" type="stmt"/>
9537
+ <line num="2" count="48" type="stmt"/>
9538
+ <line num="3" count="48" type="stmt"/>
9539
+ <line num="5" count="48" type="stmt"/>
9540
+ <line num="6" count="1" type="cond" truecount="0" falsecount="1"/>
9541
+ <line num="7" count="0" type="stmt"/>
9542
+ <line num="13" count="1" type="cond" truecount="0" falsecount="1"/>
9543
+ <line num="14" count="0" type="stmt"/>
9544
+ <line num="18" count="1" type="stmt"/>
9545
+ <line num="21" count="1" type="stmt"/>
9546
+ <line num="22" count="1" type="stmt"/>
9547
+ <line num="23" count="1" type="cond" truecount="0" falsecount="1"/>
9548
+ <line num="25" count="0" type="stmt"/>
9549
+ <line num="30" count="1" type="stmt"/>
9550
+ <line num="35" count="1" type="stmt"/>
9551
+ <line num="36" count="1" type="stmt"/>
9552
+ <line num="38" count="0" type="stmt"/>
9553
+ <line num="40" count="1" type="stmt"/>
9554
+ <line num="44" count="1" type="stmt"/>
9555
+ <line num="46" count="1" type="cond" truecount="1" falsecount="1"/>
9556
+ <line num="47" count="0" type="stmt"/>
9557
+ <line num="49" count="1" type="stmt"/>
9558
+ </file>
9559
+ <file name="utils.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/app/applications/utils.ts">
9560
+ <metrics statements="9" coveredstatements="9" conditionals="20" coveredconditionals="16" methods="1" coveredmethods="1"/>
9561
+ <line num="1" count="48" type="stmt"/>
9562
+ <line num="3" count="48" type="stmt"/>
9563
+ <line num="6" count="254" type="cond" truecount="5" falsecount="1"/>
9564
+ <line num="8" count="1" type="cond" truecount="3" falsecount="1"/>
9565
+ <line num="9" count="253" type="cond" truecount="4" falsecount="1"/>
9566
+ <line num="11" count="253" type="cond" truecount="3" falsecount="1"/>
9567
+ <line num="13" count="254" type="cond" truecount="1" falsecount="0"/>
9568
+ <line num="14" count="254" type="stmt"/>
9569
+ <line num="16" count="254" type="stmt"/>
9576
9570
  </file>
9577
9571
  </package>
9578
9572
  <package name="src.sdk.app.automations">
9579
9573
  <metrics statements="20" coveredstatements="18" conditionals="7" coveredconditionals="4" methods="4" coveredmethods="4"/>
9580
9574
  <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/app/automations/index.ts">
9581
9575
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
9582
- <line num="1" count="47" type="stmt"/>
9583
- <line num="3" count="47" type="stmt"/>
9576
+ <line num="1" count="48" type="stmt"/>
9577
+ <line num="3" count="48" type="stmt"/>
9584
9578
  </file>
9585
9579
  <file name="webhook.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/app/automations/webhook.ts">
9586
9580
  <metrics statements="18" coveredstatements="16" conditionals="7" coveredconditionals="4" methods="4" coveredmethods="4"/>
9587
- <line num="2" count="47" type="stmt"/>
9588
- <line num="3" count="47" type="stmt"/>
9581
+ <line num="2" count="48" type="stmt"/>
9582
+ <line num="3" count="48" type="stmt"/>
9589
9583
  <line num="6" count="1" type="stmt"/>
9590
- <line num="9" count="47" type="stmt"/>
9584
+ <line num="9" count="48" type="stmt"/>
9591
9585
  <line num="14" count="1" type="stmt"/>
9592
- <line num="24" count="47" type="stmt"/>
9586
+ <line num="24" count="48" type="stmt"/>
9593
9587
  <line num="25" count="10" type="stmt"/>
9594
9588
  <line num="27" count="10" type="cond" truecount="2" falsecount="2"/>
9595
9589
  <line num="28" count="0" type="stmt"/>
@@ -9597,7 +9591,7 @@
9597
9591
  <line num="32" count="10" type="stmt"/>
9598
9592
  <line num="33" count="10" type="stmt"/>
9599
9593
  <line num="34" count="10" type="stmt"/>
9600
- <line num="37" count="47" type="stmt"/>
9594
+ <line num="37" count="48" type="stmt"/>
9601
9595
  <line num="38" count="1" type="stmt"/>
9602
9596
  <line num="39" count="1" type="cond" truecount="2" falsecount="1"/>
9603
9597
  <line num="40" count="0" type="stmt"/>
@@ -9608,27 +9602,27 @@
9608
9602
  <metrics statements="203" coveredstatements="96" conditionals="80" coveredconditionals="41" methods="40" coveredmethods="14"/>
9609
9603
  <file name="constants.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/app/backups/constants.ts">
9610
9604
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
9611
- <line num="1" count="47" type="stmt"/>
9612
- <line num="2" count="47" type="stmt"/>
9605
+ <line num="1" count="48" type="stmt"/>
9606
+ <line num="2" count="48" type="stmt"/>
9613
9607
  </file>
9614
9608
  <file name="exports.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/app/backups/exports.ts">
9615
9609
  <metrics statements="72" coveredstatements="43" conditionals="36" coveredconditionals="20" methods="15" coveredmethods="10"/>
9616
- <line num="1" count="47" type="stmt"/>
9617
- <line num="2" count="47" type="stmt"/>
9618
- <line num="3" count="47" type="stmt"/>
9619
- <line num="4" count="47" type="stmt"/>
9620
- <line num="5" count="47" type="stmt"/>
9621
- <line num="10" count="47" type="stmt"/>
9622
- <line num="11" count="47" type="stmt"/>
9623
- <line num="12" count="47" type="stmt"/>
9624
- <line num="13" count="47" type="stmt"/>
9625
- <line num="14" count="47" type="stmt"/>
9626
- <line num="15" count="47" type="stmt"/>
9627
- <line num="16" count="47" type="stmt"/>
9610
+ <line num="1" count="48" type="stmt"/>
9611
+ <line num="2" count="48" type="stmt"/>
9612
+ <line num="3" count="48" type="stmt"/>
9613
+ <line num="4" count="48" type="stmt"/>
9614
+ <line num="5" count="48" type="stmt"/>
9615
+ <line num="10" count="48" type="stmt"/>
9616
+ <line num="11" count="48" type="stmt"/>
9617
+ <line num="12" count="48" type="stmt"/>
9618
+ <line num="13" count="48" type="stmt"/>
9619
+ <line num="14" count="48" type="stmt"/>
9620
+ <line num="15" count="48" type="stmt"/>
9621
+ <line num="16" count="48" type="stmt"/>
9628
9622
  <line num="26" count="1" type="stmt"/>
9629
9623
  <line num="27" count="1" type="stmt"/>
9630
9624
  <line num="37" count="1" type="stmt"/>
9631
- <line num="47" count="47" type="cond" truecount="0" falsecount="1"/>
9625
+ <line num="47" count="48" type="cond" truecount="0" falsecount="1"/>
9632
9626
  <line num="48" count="1" type="stmt"/>
9633
9627
  <line num="50" count="1" type="cond" truecount="4" falsecount="2"/>
9634
9628
  <line num="51" count="1" type="cond" truecount="3" falsecount="1"/>
@@ -9646,7 +9640,7 @@
9646
9640
  <line num="71" count="0" type="stmt"/>
9647
9641
  <line num="73" count="1" type="stmt"/>
9648
9642
  <line num="74" count="10" type="cond" truecount="2" falsecount="0"/>
9649
- <line num="84" count="47" type="stmt"/>
9643
+ <line num="84" count="48" type="stmt"/>
9650
9644
  <line num="85" count="1" type="stmt"/>
9651
9645
  <line num="86" count="1" type="stmt"/>
9652
9646
  <line num="89" count="1" type="cond" truecount="1" falsecount="1"/>
@@ -9666,7 +9660,7 @@
9666
9660
  <line num="120" count="1" type="stmt"/>
9667
9661
  <line num="121" count="1" type="stmt"/>
9668
9662
  <line num="125" count="0" type="stmt"/>
9669
- <line num="136" count="47" type="stmt"/>
9663
+ <line num="136" count="48" type="stmt"/>
9670
9664
  <line num="140" count="0" type="stmt"/>
9671
9665
  <line num="141" count="0" type="stmt"/>
9672
9666
  <line num="142" count="0" type="stmt"/>
@@ -9682,24 +9676,24 @@
9682
9676
  <line num="158" count="0" type="stmt"/>
9683
9677
  <line num="160" count="0" type="stmt"/>
9684
9678
  <line num="161" count="0" type="stmt"/>
9685
- <line num="170" count="47" type="stmt"/>
9679
+ <line num="170" count="48" type="stmt"/>
9686
9680
  <line num="171" count="1" type="stmt"/>
9687
9681
  <line num="172" count="1" type="stmt"/>
9688
9682
  </file>
9689
9683
  <file name="imports.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/app/backups/imports.ts">
9690
9684
  <metrics statements="93" coveredstatements="41" conditionals="42" coveredconditionals="21" methods="11" coveredmethods="4"/>
9691
- <line num="1" count="47" type="stmt"/>
9692
- <line num="3" count="47" type="stmt"/>
9693
- <line num="4" count="47" type="stmt"/>
9694
- <line num="5" count="47" type="stmt"/>
9695
- <line num="6" count="47" type="stmt"/>
9696
- <line num="7" count="47" type="stmt"/>
9697
- <line num="8" count="47" type="stmt"/>
9698
- <line num="9" count="47" type="stmt"/>
9699
- <line num="10" count="47" type="stmt"/>
9700
- <line num="11" count="47" type="stmt"/>
9701
- <line num="17" count="47" type="stmt"/>
9702
- <line num="18" count="47" type="stmt"/>
9685
+ <line num="1" count="48" type="stmt"/>
9686
+ <line num="3" count="48" type="stmt"/>
9687
+ <line num="4" count="48" type="stmt"/>
9688
+ <line num="5" count="48" type="stmt"/>
9689
+ <line num="6" count="48" type="stmt"/>
9690
+ <line num="7" count="48" type="stmt"/>
9691
+ <line num="8" count="48" type="stmt"/>
9692
+ <line num="9" count="48" type="stmt"/>
9693
+ <line num="10" count="48" type="stmt"/>
9694
+ <line num="11" count="48" type="stmt"/>
9695
+ <line num="17" count="48" type="stmt"/>
9696
+ <line num="18" count="48" type="stmt"/>
9703
9697
  <line num="30" count="2" type="stmt"/>
9704
9698
  <line num="31" count="2" type="stmt"/>
9705
9699
  <line num="32" count="1" type="stmt"/>
@@ -9745,16 +9739,16 @@
9745
9739
  <line num="122" count="0" type="stmt"/>
9746
9740
  <line num="123" count="0" type="stmt"/>
9747
9741
  <line num="124" count="0" type="stmt"/>
9748
- <line num="128" count="47" type="stmt"/>
9742
+ <line num="128" count="48" type="stmt"/>
9749
9743
  <line num="129" count="0" type="stmt"/>
9750
9744
  <line num="130" count="0" type="stmt"/>
9751
9745
  <line num="132" count="0" type="stmt"/>
9752
9746
  <line num="137" count="0" type="stmt"/>
9753
- <line num="140" count="47" type="stmt"/>
9747
+ <line num="140" count="48" type="stmt"/>
9754
9748
  <line num="141" count="0" type="stmt"/>
9755
- <line num="144" count="47" type="stmt"/>
9749
+ <line num="144" count="48" type="stmt"/>
9756
9750
  <line num="145" count="0" type="stmt"/>
9757
- <line num="148" count="47" type="stmt"/>
9751
+ <line num="148" count="48" type="stmt"/>
9758
9752
  <line num="153" count="2" type="stmt"/>
9759
9753
  <line num="155" count="2" type="cond" truecount="11" falsecount="3"/>
9760
9754
  <line num="157" count="2" type="cond" truecount="2" falsecount="0"/>
@@ -9784,38 +9778,38 @@
9784
9778
  </file>
9785
9779
  <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/app/backups/index.ts">
9786
9780
  <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
9787
- <line num="1" count="47" type="stmt"/>
9788
- <line num="2" count="47" type="stmt"/>
9789
- <line num="3" count="47" type="stmt"/>
9790
- <line num="5" count="47" type="stmt"/>
9781
+ <line num="1" count="48" type="stmt"/>
9782
+ <line num="2" count="48" type="stmt"/>
9783
+ <line num="3" count="48" type="stmt"/>
9784
+ <line num="5" count="48" type="stmt"/>
9791
9785
  </file>
9792
9786
  <file name="statistics.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/app/backups/statistics.ts">
9793
9787
  <metrics statements="32" coveredstatements="6" conditionals="2" coveredconditionals="0" methods="14" coveredmethods="0"/>
9794
- <line num="1" count="47" type="stmt"/>
9795
- <line num="3" count="47" type="stmt"/>
9788
+ <line num="1" count="48" type="stmt"/>
9789
+ <line num="3" count="48" type="stmt"/>
9796
9790
  <line num="11" count="0" type="cond" truecount="0" falsecount="2"/>
9797
9791
  <line num="12" count="0" type="stmt"/>
9798
9792
  <line num="14" count="0" type="stmt"/>
9799
9793
  <line num="15" count="0" type="stmt"/>
9800
9794
  <line num="16" count="0" type="stmt"/>
9801
9795
  <line num="17" count="0" type="stmt"/>
9802
- <line num="22" count="47" type="stmt"/>
9796
+ <line num="22" count="48" type="stmt"/>
9803
9797
  <line num="23" count="0" type="stmt"/>
9804
9798
  <line num="25" count="0" type="stmt"/>
9805
9799
  <line num="26" count="0" type="stmt"/>
9806
9800
  <line num="27" count="0" type="stmt"/>
9807
9801
  <line num="28" count="0" type="stmt"/>
9808
- <line num="34" count="47" type="stmt"/>
9802
+ <line num="34" count="48" type="stmt"/>
9809
9803
  <line num="35" count="0" type="stmt"/>
9810
9804
  <line num="37" count="0" type="stmt"/>
9811
9805
  <line num="38" count="0" type="stmt"/>
9812
9806
  <line num="39" count="0" type="stmt"/>
9813
- <line num="45" count="47" type="stmt"/>
9807
+ <line num="45" count="48" type="stmt"/>
9814
9808
  <line num="46" count="0" type="stmt"/>
9815
9809
  <line num="48" count="0" type="stmt"/>
9816
9810
  <line num="49" count="0" type="stmt"/>
9817
9811
  <line num="50" count="0" type="stmt"/>
9818
- <line num="56" count="47" type="stmt"/>
9812
+ <line num="56" count="48" type="stmt"/>
9819
9813
  <line num="57" count="0" type="stmt"/>
9820
9814
  <line num="58" count="0" type="stmt"/>
9821
9815
  <line num="59" count="0" type="stmt"/>
@@ -9829,9 +9823,9 @@
9829
9823
  <metrics statements="22" coveredstatements="11" conditionals="8" coveredconditionals="4" methods="5" coveredmethods="3"/>
9830
9824
  <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/app/tables/index.ts">
9831
9825
  <metrics statements="22" coveredstatements="11" conditionals="8" coveredconditionals="4" methods="5" coveredmethods="3"/>
9832
- <line num="1" count="47" type="stmt"/>
9833
- <line num="2" count="47" type="stmt"/>
9834
- <line num="3" count="47" type="stmt"/>
9826
+ <line num="1" count="48" type="stmt"/>
9827
+ <line num="2" count="48" type="stmt"/>
9828
+ <line num="3" count="48" type="stmt"/>
9835
9829
  <line num="11" count="271" type="cond" truecount="1" falsecount="0"/>
9836
9830
  <line num="12" count="268" type="stmt"/>
9837
9831
  <line num="14" count="271" type="stmt"/>
@@ -9850,7 +9844,48 @@
9850
9844
  <line num="48" count="0" type="stmt"/>
9851
9845
  <line num="49" count="0" type="stmt"/>
9852
9846
  <line num="51" count="39" type="stmt"/>
9853
- <line num="55" count="47" type="stmt"/>
9847
+ <line num="55" count="48" type="stmt"/>
9848
+ </file>
9849
+ </package>
9850
+ <package name="src.sdk.users">
9851
+ <metrics statements="32" coveredstatements="28" conditionals="8" coveredconditionals="5" methods="5" coveredmethods="3"/>
9852
+ <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/users/index.ts">
9853
+ <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
9854
+ <line num="1" count="48" type="stmt"/>
9855
+ <line num="3" count="48" type="stmt"/>
9856
+ </file>
9857
+ <file name="utils.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/users/utils.ts">
9858
+ <metrics statements="30" coveredstatements="26" conditionals="8" coveredconditionals="5" methods="5" coveredmethods="3"/>
9859
+ <line num="1" count="48" type="stmt"/>
9860
+ <line num="2" count="48" type="stmt"/>
9861
+ <line num="3" count="48" type="stmt"/>
9862
+ <line num="8" count="48" type="stmt"/>
9863
+ <line num="10" count="48" type="stmt"/>
9864
+ <line num="12" count="2" type="cond" truecount="1" falsecount="0"/>
9865
+ <line num="13" count="1" type="stmt"/>
9866
+ <line num="15" count="1" type="stmt"/>
9867
+ <line num="16" count="1" type="stmt"/>
9868
+ <line num="17" count="1" type="stmt"/>
9869
+ <line num="22" count="1" type="cond" truecount="1" falsecount="1"/>
9870
+ <line num="23" count="0" type="stmt"/>
9871
+ <line num="26" count="1" type="cond" truecount="0" falsecount="1"/>
9872
+ <line num="27" count="0" type="stmt"/>
9873
+ <line num="29" count="1" type="cond" truecount="2" falsecount="1"/>
9874
+ <line num="30" count="1" type="stmt"/>
9875
+ <line num="35" count="0" type="stmt"/>
9876
+ <line num="38" count="48" type="stmt"/>
9877
+ <line num="39" count="3" type="stmt"/>
9878
+ <line num="40" count="3" type="stmt"/>
9879
+ <line num="46" count="0" type="stmt"/>
9880
+ <line num="49" count="48" type="stmt"/>
9881
+ <line num="51" count="1" type="stmt"/>
9882
+ <line num="52" count="1" type="stmt"/>
9883
+ <line num="56" count="1" type="stmt"/>
9884
+ <line num="57" count="1" type="stmt"/>
9885
+ <line num="58" count="2" type="stmt"/>
9886
+ <line num="59" count="2" type="cond" truecount="1" falsecount="0"/>
9887
+ <line num="60" count="1" type="stmt"/>
9888
+ <line num="63" count="1" type="stmt"/>
9854
9889
  </file>
9855
9890
  </package>
9856
9891
  <package name="src.tests.utilities">
@@ -10696,29 +10731,29 @@
10696
10731
  </file>
10697
10732
  <file name="global.ts" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/global.ts">
10698
10733
  <metrics statements="68" coveredstatements="51" conditionals="68" coveredconditionals="43" methods="16" coveredmethods="11"/>
10699
- <line num="1" count="52" type="stmt"/>
10700
- <line num="2" count="52" type="stmt"/>
10701
- <line num="9" count="52" type="stmt"/>
10702
- <line num="10" count="52" type="stmt"/>
10703
- <line num="13" count="52" type="stmt"/>
10704
- <line num="17" count="244" type="cond" truecount="2" falsecount="0"/>
10705
- <line num="19" count="244" type="cond" truecount="3" falsecount="0"/>
10734
+ <line num="1" count="53" type="stmt"/>
10735
+ <line num="2" count="53" type="stmt"/>
10736
+ <line num="9" count="53" type="stmt"/>
10737
+ <line num="10" count="53" type="stmt"/>
10738
+ <line num="13" count="53" type="stmt"/>
10739
+ <line num="17" count="246" type="cond" truecount="2" falsecount="0"/>
10740
+ <line num="19" count="246" type="cond" truecount="3" falsecount="0"/>
10706
10741
  <line num="20" count="3" type="stmt"/>
10707
- <line num="23" count="241" type="cond" truecount="1" falsecount="3"/>
10742
+ <line num="23" count="243" type="cond" truecount="1" falsecount="3"/>
10708
10743
  <line num="24" count="0" type="stmt"/>
10709
10744
  <line num="25" count="0" type="stmt"/>
10710
10745
  <line num="26" count="0" type="stmt"/>
10711
10746
  <line num="27" count="0" type="stmt"/>
10712
- <line num="30" count="241" type="cond" truecount="1" falsecount="0"/>
10713
- <line num="31" count="241" type="stmt"/>
10714
- <line num="34" count="241" type="cond" truecount="5" falsecount="0"/>
10715
- <line num="35" count="209" type="stmt"/>
10716
- <line num="36" count="32" type="cond" truecount="10" falsecount="2"/>
10717
- <line num="37" count="27" type="stmt"/>
10747
+ <line num="30" count="243" type="cond" truecount="1" falsecount="0"/>
10748
+ <line num="31" count="243" type="stmt"/>
10749
+ <line num="34" count="243" type="cond" truecount="5" falsecount="0"/>
10750
+ <line num="35" count="210" type="stmt"/>
10751
+ <line num="36" count="33" type="cond" truecount="10" falsecount="2"/>
10752
+ <line num="37" count="28" type="stmt"/>
10718
10753
  <line num="38" count="5" type="cond" truecount="6" falsecount="3"/>
10719
10754
  <line num="39" count="0" type="stmt"/>
10720
- <line num="42" count="241" type="stmt"/>
10721
- <line num="43" count="241" type="stmt"/>
10755
+ <line num="42" count="243" type="stmt"/>
10756
+ <line num="43" count="243" type="stmt"/>
10722
10757
  <line num="50" count="0" type="cond" truecount="0" falsecount="3"/>
10723
10758
  <line num="51" count="0" type="stmt"/>
10724
10759
  <line num="53" count="0" type="cond" truecount="0" falsecount="1"/>
@@ -10730,35 +10765,35 @@
10730
10765
  <line num="67" count="237" type="cond" truecount="8" falsecount="3"/>
10731
10766
  <line num="68" count="0" type="stmt"/>
10732
10767
  <line num="71" count="237" type="stmt"/>
10733
- <line num="74" count="52" type="stmt"/>
10768
+ <line num="74" count="53" type="stmt"/>
10734
10769
  <line num="77" count="235" type="cond" truecount="3" falsecount="1"/>
10735
10770
  <line num="78" count="235" type="stmt"/>
10736
- <line num="81" count="52" type="stmt"/>
10771
+ <line num="81" count="53" type="stmt"/>
10737
10772
  <line num="82" count="2" type="stmt"/>
10738
10773
  <line num="83" count="2" type="stmt"/>
10739
- <line num="86" count="52" type="stmt"/>
10774
+ <line num="86" count="53" type="stmt"/>
10740
10775
  <line num="87" count="2" type="stmt"/>
10741
10776
  <line num="88" count="2" type="stmt"/>
10742
10777
  <line num="89" count="2" type="stmt"/>
10743
- <line num="92" count="52" type="stmt"/>
10744
- <line num="93" count="32" type="stmt"/>
10745
- <line num="94" count="32" type="stmt"/>
10746
- <line num="96" count="32" type="cond" truecount="2" falsecount="0"/>
10778
+ <line num="92" count="53" type="stmt"/>
10779
+ <line num="93" count="33" type="stmt"/>
10780
+ <line num="94" count="33" type="stmt"/>
10781
+ <line num="96" count="33" type="cond" truecount="2" falsecount="0"/>
10747
10782
  <line num="97" count="30" type="stmt"/>
10748
10783
  <line num="98" count="0" type="stmt"/>
10749
10784
  <line num="100" count="30" type="stmt"/>
10750
10785
  <line num="101" count="0" type="stmt"/>
10751
- <line num="104" count="2" type="stmt"/>
10752
- <line num="110" count="7" type="stmt"/>
10753
- <line num="112" count="32" type="stmt"/>
10754
- <line num="113" count="7" type="stmt"/>
10755
- <line num="115" count="7" type="stmt"/>
10756
- <line num="116" count="7" type="stmt"/>
10757
- <line num="117" count="7" type="stmt"/>
10758
- <line num="119" count="32" type="cond" truecount="0" falsecount="1"/>
10786
+ <line num="104" count="3" type="stmt"/>
10787
+ <line num="110" count="9" type="stmt"/>
10788
+ <line num="112" count="33" type="stmt"/>
10789
+ <line num="113" count="9" type="stmt"/>
10790
+ <line num="115" count="9" type="stmt"/>
10791
+ <line num="116" count="9" type="stmt"/>
10792
+ <line num="117" count="9" type="stmt"/>
10793
+ <line num="119" count="33" type="cond" truecount="0" falsecount="1"/>
10759
10794
  <line num="120" count="0" type="stmt"/>
10760
- <line num="123" count="32" type="stmt"/>
10761
- <line num="126" count="52" type="stmt"/>
10795
+ <line num="123" count="33" type="stmt"/>
10796
+ <line num="126" count="53" type="stmt"/>
10762
10797
  <line num="127" count="30" type="stmt"/>
10763
10798
  <line num="128" count="30" type="stmt"/>
10764
10799
  <line num="129" count="0" type="stmt"/>
@@ -11448,9 +11483,9 @@
11448
11483
  </file>
11449
11484
  </package>
11450
11485
  <package name="src.utilities.usageQuota">
11451
- <metrics statements="41" coveredstatements="34" conditionals="8" coveredconditionals="6" methods="9" coveredmethods="7"/>
11486
+ <metrics statements="41" coveredstatements="35" conditionals="8" coveredconditionals="7" methods="9" coveredmethods="7"/>
11452
11487
  <file name="rows.ts" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/usageQuota/rows.ts">
11453
- <metrics statements="36" coveredstatements="34" conditionals="7" coveredconditionals="6" methods="7" coveredmethods="7"/>
11488
+ <metrics statements="36" coveredstatements="35" conditionals="7" coveredconditionals="7" methods="7" coveredmethods="7"/>
11454
11489
  <line num="1" count="45" type="stmt"/>
11455
11490
  <line num="2" count="45" type="stmt"/>
11456
11491
  <line num="5" count="45" type="stmt"/>
@@ -11466,10 +11501,10 @@
11466
11501
  <line num="27" count="30" type="stmt"/>
11467
11502
  <line num="28" count="30" type="stmt"/>
11468
11503
  <line num="33" count="30" type="stmt"/>
11469
- <line num="34" count="3" type="stmt"/>
11470
- <line num="36" count="3" type="stmt"/>
11471
- <line num="37" count="3" type="cond" truecount="0" falsecount="1"/>
11472
- <line num="38" count="0" type="stmt"/>
11504
+ <line num="34" count="4" type="stmt"/>
11505
+ <line num="36" count="4" type="stmt"/>
11506
+ <line num="37" count="4" type="cond" truecount="1" falsecount="0"/>
11507
+ <line num="38" count="1" type="stmt"/>
11473
11508
  <line num="41" count="3" type="stmt"/>
11474
11509
  <line num="51" count="45" type="stmt"/>
11475
11510
  <line num="52" count="27" type="stmt"/>