@budibase/server 2.1.43-alpha.12 → 2.1.43-alpha.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/builder/assets/{index.84840a7c.js → index.b6d78dd4.js} +186 -186
  2. package/builder/index.html +1 -1
  3. package/coverage/clover.xml +173 -165
  4. package/coverage/coverage-final.json +9 -9
  5. package/coverage/lcov-report/index.html +45 -45
  6. package/coverage/lcov-report/src/api/controllers/analytics.ts.html +1 -1
  7. package/coverage/lcov-report/src/api/controllers/apikeys.ts.html +1 -1
  8. package/coverage/lcov-report/src/api/controllers/application.ts.html +1 -1
  9. package/coverage/lcov-report/src/api/controllers/auth.ts.html +1 -1
  10. package/coverage/lcov-report/src/api/controllers/automation.ts.html +1 -1
  11. package/coverage/lcov-report/src/api/controllers/backup.ts.html +1 -1
  12. package/coverage/lcov-report/src/api/controllers/cloud.ts.html +1 -1
  13. package/coverage/lcov-report/src/api/controllers/component.ts.html +1 -1
  14. package/coverage/lcov-report/src/api/controllers/datasource.ts.html +1 -1
  15. package/coverage/lcov-report/src/api/controllers/deploy/Deployment.ts.html +1 -1
  16. package/coverage/lcov-report/src/api/controllers/deploy/index.html +10 -10
  17. package/coverage/lcov-report/src/api/controllers/deploy/index.ts.html +24 -6
  18. package/coverage/lcov-report/src/api/controllers/dev.ts.html +1 -1
  19. package/coverage/lcov-report/src/api/controllers/index.html +21 -21
  20. package/coverage/lcov-report/src/api/controllers/integration.ts.html +1 -1
  21. package/coverage/lcov-report/src/api/controllers/layout.ts.html +1 -1
  22. package/coverage/lcov-report/src/api/controllers/metadata.ts.html +1 -1
  23. package/coverage/lcov-report/src/api/controllers/migrations.ts.html +1 -1
  24. package/coverage/lcov-report/src/api/controllers/permission.ts.html +1 -1
  25. package/coverage/lcov-report/src/api/controllers/plugin/file.ts.html +1 -1
  26. package/coverage/lcov-report/src/api/controllers/plugin/github.ts.html +1 -1
  27. package/coverage/lcov-report/src/api/controllers/plugin/index.html +1 -1
  28. package/coverage/lcov-report/src/api/controllers/plugin/index.ts.html +1 -1
  29. package/coverage/lcov-report/src/api/controllers/plugin/npm.ts.html +1 -1
  30. package/coverage/lcov-report/src/api/controllers/plugin/uploaders.ts.html +1 -1
  31. package/coverage/lcov-report/src/api/controllers/plugin/url.ts.html +1 -1
  32. package/coverage/lcov-report/src/api/controllers/plugin/utils.ts.html +1 -1
  33. package/coverage/lcov-report/src/api/controllers/public/applications.ts.html +1 -1
  34. package/coverage/lcov-report/src/api/controllers/public/index.html +10 -10
  35. package/coverage/lcov-report/src/api/controllers/public/mapping/applications.ts.html +1 -1
  36. package/coverage/lcov-report/src/api/controllers/public/mapping/index.html +1 -1
  37. package/coverage/lcov-report/src/api/controllers/public/mapping/index.ts.html +1 -1
  38. package/coverage/lcov-report/src/api/controllers/public/mapping/queries.ts.html +1 -1
  39. package/coverage/lcov-report/src/api/controllers/public/mapping/rows.ts.html +1 -1
  40. package/coverage/lcov-report/src/api/controllers/public/mapping/tables.ts.html +1 -1
  41. package/coverage/lcov-report/src/api/controllers/public/mapping/users.ts.html +1 -1
  42. package/coverage/lcov-report/src/api/controllers/public/queries.ts.html +1 -1
  43. package/coverage/lcov-report/src/api/controllers/public/rows.ts.html +1 -1
  44. package/coverage/lcov-report/src/api/controllers/public/tables.ts.html +1 -1
  45. package/coverage/lcov-report/src/api/controllers/public/users.ts.html +12 -6
  46. package/coverage/lcov-report/src/api/controllers/public/utils.ts.html +1 -1
  47. package/coverage/lcov-report/src/api/controllers/query/import/index.html +1 -1
  48. package/coverage/lcov-report/src/api/controllers/query/import/index.ts.html +1 -1
  49. package/coverage/lcov-report/src/api/controllers/query/import/sources/base/index.html +1 -1
  50. package/coverage/lcov-report/src/api/controllers/query/import/sources/base/index.ts.html +1 -1
  51. package/coverage/lcov-report/src/api/controllers/query/import/sources/base/openapi.ts.html +1 -1
  52. package/coverage/lcov-report/src/api/controllers/query/import/sources/curl.ts.html +1 -1
  53. package/coverage/lcov-report/src/api/controllers/query/import/sources/index.html +1 -1
  54. package/coverage/lcov-report/src/api/controllers/query/import/sources/openapi2.ts.html +1 -1
  55. package/coverage/lcov-report/src/api/controllers/query/import/sources/openapi3.ts.html +1 -1
  56. package/coverage/lcov-report/src/api/controllers/query/index.html +1 -1
  57. package/coverage/lcov-report/src/api/controllers/query/index.ts.html +1 -1
  58. package/coverage/lcov-report/src/api/controllers/query/validation.ts.html +1 -1
  59. package/coverage/lcov-report/src/api/controllers/role.ts.html +10 -10
  60. package/coverage/lcov-report/src/api/controllers/routing.ts.html +1 -1
  61. package/coverage/lcov-report/src/api/controllers/row/ExternalRequest.ts.html +1 -1
  62. package/coverage/lcov-report/src/api/controllers/row/external.ts.html +1 -1
  63. package/coverage/lcov-report/src/api/controllers/row/index.html +1 -1
  64. package/coverage/lcov-report/src/api/controllers/row/index.ts.html +1 -1
  65. package/coverage/lcov-report/src/api/controllers/row/internal.ts.html +1 -1
  66. package/coverage/lcov-report/src/api/controllers/row/internalSearch.ts.html +1 -1
  67. package/coverage/lcov-report/src/api/controllers/row/staticFormula.ts.html +1 -1
  68. package/coverage/lcov-report/src/api/controllers/row/utils.ts.html +1 -1
  69. package/coverage/lcov-report/src/api/controllers/screen.ts.html +1 -1
  70. package/coverage/lcov-report/src/api/controllers/script.ts.html +1 -1
  71. package/coverage/lcov-report/src/api/controllers/static/index.html +1 -1
  72. package/coverage/lcov-report/src/api/controllers/static/index.ts.html +1 -1
  73. package/coverage/lcov-report/src/api/controllers/table/bulkFormula.ts.html +1 -1
  74. package/coverage/lcov-report/src/api/controllers/table/external.ts.html +1 -1
  75. package/coverage/lcov-report/src/api/controllers/table/index.html +1 -1
  76. package/coverage/lcov-report/src/api/controllers/table/index.ts.html +1 -1
  77. package/coverage/lcov-report/src/api/controllers/table/internal.ts.html +1 -1
  78. package/coverage/lcov-report/src/api/controllers/table/utils.ts.html +1 -1
  79. package/coverage/lcov-report/src/api/controllers/templates.ts.html +1 -1
  80. package/coverage/lcov-report/src/api/controllers/user.ts.html +6 -6
  81. package/coverage/lcov-report/src/api/controllers/view/exporters.ts.html +1 -1
  82. package/coverage/lcov-report/src/api/controllers/view/index.html +1 -1
  83. package/coverage/lcov-report/src/api/controllers/view/index.ts.html +1 -1
  84. package/coverage/lcov-report/src/api/controllers/view/utils.ts.html +1 -1
  85. package/coverage/lcov-report/src/api/controllers/view/viewBuilder.ts.html +1 -1
  86. package/coverage/lcov-report/src/api/controllers/webhook.ts.html +1 -1
  87. package/coverage/lcov-report/src/api/index.html +1 -1
  88. package/coverage/lcov-report/src/api/index.ts.html +1 -1
  89. package/coverage/lcov-report/src/api/routes/analytics.ts.html +1 -1
  90. package/coverage/lcov-report/src/api/routes/apikeys.ts.html +1 -1
  91. package/coverage/lcov-report/src/api/routes/application.ts.html +1 -1
  92. package/coverage/lcov-report/src/api/routes/auth.ts.html +1 -1
  93. package/coverage/lcov-report/src/api/routes/automation.ts.html +1 -1
  94. package/coverage/lcov-report/src/api/routes/backup.ts.html +1 -1
  95. package/coverage/lcov-report/src/api/routes/cloud.ts.html +1 -1
  96. package/coverage/lcov-report/src/api/routes/component.ts.html +1 -1
  97. package/coverage/lcov-report/src/api/routes/datasource.ts.html +1 -1
  98. package/coverage/lcov-report/src/api/routes/deploy.ts.html +1 -1
  99. package/coverage/lcov-report/src/api/routes/dev.ts.html +1 -1
  100. package/coverage/lcov-report/src/api/routes/index.html +1 -1
  101. package/coverage/lcov-report/src/api/routes/index.ts.html +1 -1
  102. package/coverage/lcov-report/src/api/routes/integration.ts.html +1 -1
  103. package/coverage/lcov-report/src/api/routes/layout.ts.html +1 -1
  104. package/coverage/lcov-report/src/api/routes/metadata.ts.html +1 -1
  105. package/coverage/lcov-report/src/api/routes/migrations.ts.html +1 -1
  106. package/coverage/lcov-report/src/api/routes/permission.ts.html +1 -1
  107. package/coverage/lcov-report/src/api/routes/plugin.ts.html +1 -1
  108. package/coverage/lcov-report/src/api/routes/public/applications.ts.html +1 -1
  109. package/coverage/lcov-report/src/api/routes/public/index.html +1 -1
  110. package/coverage/lcov-report/src/api/routes/public/index.ts.html +1 -1
  111. package/coverage/lcov-report/src/api/routes/public/middleware/index.html +1 -1
  112. package/coverage/lcov-report/src/api/routes/public/middleware/mapper.ts.html +1 -1
  113. package/coverage/lcov-report/src/api/routes/public/queries.ts.html +1 -1
  114. package/coverage/lcov-report/src/api/routes/public/rows.ts.html +1 -1
  115. package/coverage/lcov-report/src/api/routes/public/tables.ts.html +1 -1
  116. package/coverage/lcov-report/src/api/routes/public/tests/index.html +1 -1
  117. package/coverage/lcov-report/src/api/routes/public/tests/utils.ts.html +1 -1
  118. package/coverage/lcov-report/src/api/routes/public/users.ts.html +1 -1
  119. package/coverage/lcov-report/src/api/routes/public/utils/Endpoint.ts.html +1 -1
  120. package/coverage/lcov-report/src/api/routes/public/utils/index.html +1 -1
  121. package/coverage/lcov-report/src/api/routes/query.ts.html +1 -1
  122. package/coverage/lcov-report/src/api/routes/role.ts.html +1 -1
  123. package/coverage/lcov-report/src/api/routes/routing.ts.html +1 -1
  124. package/coverage/lcov-report/src/api/routes/row.ts.html +1 -1
  125. package/coverage/lcov-report/src/api/routes/screen.ts.html +1 -1
  126. package/coverage/lcov-report/src/api/routes/script.ts.html +1 -1
  127. package/coverage/lcov-report/src/api/routes/static.ts.html +1 -1
  128. package/coverage/lcov-report/src/api/routes/table.ts.html +1 -1
  129. package/coverage/lcov-report/src/api/routes/templates.ts.html +1 -1
  130. package/coverage/lcov-report/src/api/routes/tests/utilities/TestFunctions.ts.html +1 -1
  131. package/coverage/lcov-report/src/api/routes/tests/utilities/index.html +1 -1
  132. package/coverage/lcov-report/src/api/routes/tests/utilities/index.ts.html +1 -1
  133. package/coverage/lcov-report/src/api/routes/user.ts.html +1 -1
  134. package/coverage/lcov-report/src/api/routes/utils/index.html +1 -1
  135. package/coverage/lcov-report/src/api/routes/utils/validators.ts.html +1 -1
  136. package/coverage/lcov-report/src/api/routes/view.ts.html +1 -1
  137. package/coverage/lcov-report/src/api/routes/webhook.ts.html +1 -1
  138. package/coverage/lcov-report/src/app.ts.html +1 -1
  139. package/coverage/lcov-report/src/automations/actions.ts.html +1 -1
  140. package/coverage/lcov-report/src/automations/automationUtils.ts.html +1 -1
  141. package/coverage/lcov-report/src/automations/bullboard.ts.html +1 -1
  142. package/coverage/lcov-report/src/automations/index.html +1 -1
  143. package/coverage/lcov-report/src/automations/index.ts.html +1 -1
  144. package/coverage/lcov-report/src/automations/logging/index.html +1 -1
  145. package/coverage/lcov-report/src/automations/logging/index.ts.html +1 -1
  146. package/coverage/lcov-report/src/automations/steps/bash.ts.html +1 -1
  147. package/coverage/lcov-report/src/automations/steps/createRow.ts.html +1 -1
  148. package/coverage/lcov-report/src/automations/steps/delay.ts.html +1 -1
  149. package/coverage/lcov-report/src/automations/steps/deleteRow.ts.html +1 -1
  150. package/coverage/lcov-report/src/automations/steps/discord.ts.html +1 -1
  151. package/coverage/lcov-report/src/automations/steps/executeQuery.ts.html +1 -1
  152. package/coverage/lcov-report/src/automations/steps/executeScript.ts.html +1 -1
  153. package/coverage/lcov-report/src/automations/steps/filter.ts.html +1 -1
  154. package/coverage/lcov-report/src/automations/steps/index.html +1 -1
  155. package/coverage/lcov-report/src/automations/steps/integromat.ts.html +1 -1
  156. package/coverage/lcov-report/src/automations/steps/loop.ts.html +1 -1
  157. package/coverage/lcov-report/src/automations/steps/outgoingWebhook.ts.html +1 -1
  158. package/coverage/lcov-report/src/automations/steps/queryRows.ts.html +1 -1
  159. package/coverage/lcov-report/src/automations/steps/sendSmtpEmail.ts.html +1 -1
  160. package/coverage/lcov-report/src/automations/steps/serverLog.ts.html +1 -1
  161. package/coverage/lcov-report/src/automations/steps/slack.ts.html +1 -1
  162. package/coverage/lcov-report/src/automations/steps/updateRow.ts.html +1 -1
  163. package/coverage/lcov-report/src/automations/steps/utils.ts.html +1 -1
  164. package/coverage/lcov-report/src/automations/steps/zapier.ts.html +1 -1
  165. package/coverage/lcov-report/src/automations/tests/utilities/index.html +1 -1
  166. package/coverage/lcov-report/src/automations/tests/utilities/index.ts.html +1 -1
  167. package/coverage/lcov-report/src/automations/triggerInfo/app.ts.html +1 -1
  168. package/coverage/lcov-report/src/automations/triggerInfo/cron.ts.html +1 -1
  169. package/coverage/lcov-report/src/automations/triggerInfo/index.html +1 -1
  170. package/coverage/lcov-report/src/automations/triggerInfo/index.ts.html +1 -1
  171. package/coverage/lcov-report/src/automations/triggerInfo/rowDeleted.ts.html +1 -1
  172. package/coverage/lcov-report/src/automations/triggerInfo/rowSaved.ts.html +1 -1
  173. package/coverage/lcov-report/src/automations/triggerInfo/rowUpdated.ts.html +1 -1
  174. package/coverage/lcov-report/src/automations/triggerInfo/webhook.ts.html +1 -1
  175. package/coverage/lcov-report/src/automations/triggers.ts.html +1 -1
  176. package/coverage/lcov-report/src/automations/utils.ts.html +1 -1
  177. package/coverage/lcov-report/src/constants/index.html +1 -1
  178. package/coverage/lcov-report/src/constants/index.ts.html +1 -1
  179. package/coverage/lcov-report/src/constants/layouts.ts.html +1 -1
  180. package/coverage/lcov-report/src/constants/screens.ts.html +1 -1
  181. package/coverage/lcov-report/src/db/defaultData/datasource_bb_default.ts.html +1 -1
  182. package/coverage/lcov-report/src/db/defaultData/employeeImport.ts.html +1 -1
  183. package/coverage/lcov-report/src/db/defaultData/expensesImport.ts.html +1 -1
  184. package/coverage/lcov-report/src/db/defaultData/index.html +1 -1
  185. package/coverage/lcov-report/src/db/defaultData/inventoryImport.ts.html +1 -1
  186. package/coverage/lcov-report/src/db/defaultData/jobsImport.ts.html +1 -1
  187. package/coverage/lcov-report/src/db/dynamoClient.ts.html +1 -1
  188. package/coverage/lcov-report/src/db/inMemoryView.ts.html +1 -1
  189. package/coverage/lcov-report/src/db/index.html +1 -1
  190. package/coverage/lcov-report/src/db/index.ts.html +1 -1
  191. package/coverage/lcov-report/src/db/linkedRows/LinkController.ts.html +1 -1
  192. package/coverage/lcov-report/src/db/linkedRows/LinkDocument.ts.html +1 -1
  193. package/coverage/lcov-report/src/db/linkedRows/index.html +1 -1
  194. package/coverage/lcov-report/src/db/linkedRows/index.ts.html +1 -1
  195. package/coverage/lcov-report/src/db/linkedRows/linkUtils.ts.html +1 -1
  196. package/coverage/lcov-report/src/db/newid.ts.html +1 -1
  197. package/coverage/lcov-report/src/db/utils.ts.html +1 -1
  198. package/coverage/lcov-report/src/definitions/automations.ts.html +1 -1
  199. package/coverage/lcov-report/src/definitions/datasource.ts.html +1 -1
  200. package/coverage/lcov-report/src/definitions/index.html +1 -1
  201. package/coverage/lcov-report/src/environment.ts.html +1 -1
  202. package/coverage/lcov-report/src/events/AutomationEmitter.ts.html +1 -1
  203. package/coverage/lcov-report/src/events/BudibaseEmitter.ts.html +1 -1
  204. package/coverage/lcov-report/src/events/index.html +1 -1
  205. package/coverage/lcov-report/src/events/index.ts.html +1 -1
  206. package/coverage/lcov-report/src/events/utils.ts.html +1 -1
  207. package/coverage/lcov-report/src/index.html +1 -1
  208. package/coverage/lcov-report/src/index.ts.html +1 -1
  209. package/coverage/lcov-report/src/integrations/airtable.ts.html +1 -1
  210. package/coverage/lcov-report/src/integrations/arangodb.ts.html +1 -1
  211. package/coverage/lcov-report/src/integrations/base/index.html +1 -1
  212. package/coverage/lcov-report/src/integrations/base/query.ts.html +1 -1
  213. package/coverage/lcov-report/src/integrations/base/sql.ts.html +1 -1
  214. package/coverage/lcov-report/src/integrations/base/sqlTable.ts.html +1 -1
  215. package/coverage/lcov-report/src/integrations/base/utils.ts.html +1 -1
  216. package/coverage/lcov-report/src/integrations/couchdb.ts.html +1 -1
  217. package/coverage/lcov-report/src/integrations/dynamodb.ts.html +1 -1
  218. package/coverage/lcov-report/src/integrations/elasticsearch.ts.html +1 -1
  219. package/coverage/lcov-report/src/integrations/firebase.ts.html +1 -1
  220. package/coverage/lcov-report/src/integrations/googlesheets.ts.html +1 -1
  221. package/coverage/lcov-report/src/integrations/index.html +1 -1
  222. package/coverage/lcov-report/src/integrations/index.ts.html +1 -1
  223. package/coverage/lcov-report/src/integrations/microsoftSqlServer.ts.html +1 -1
  224. package/coverage/lcov-report/src/integrations/mongodb.ts.html +1 -1
  225. package/coverage/lcov-report/src/integrations/mysql.ts.html +1 -1
  226. package/coverage/lcov-report/src/integrations/oracle.ts.html +1 -1
  227. package/coverage/lcov-report/src/integrations/postgres.ts.html +1 -1
  228. package/coverage/lcov-report/src/integrations/queries/index.html +1 -1
  229. package/coverage/lcov-report/src/integrations/queries/sql.ts.html +1 -1
  230. package/coverage/lcov-report/src/integrations/redis.ts.html +1 -1
  231. package/coverage/lcov-report/src/integrations/rest.ts.html +1 -1
  232. package/coverage/lcov-report/src/integrations/s3.ts.html +1 -1
  233. package/coverage/lcov-report/src/integrations/snowflake.ts.html +1 -1
  234. package/coverage/lcov-report/src/integrations/tests/TestConfiguration.js.html +1 -1
  235. package/coverage/lcov-report/src/integrations/tests/index.html +1 -1
  236. package/coverage/lcov-report/src/integrations/utils.ts.html +1 -1
  237. package/coverage/lcov-report/src/middleware/appInfo.ts.html +1 -1
  238. package/coverage/lcov-report/src/middleware/authorized.ts.html +1 -1
  239. package/coverage/lcov-report/src/middleware/builder.ts.html +1 -1
  240. package/coverage/lcov-report/src/middleware/currentapp.ts.html +1 -1
  241. package/coverage/lcov-report/src/middleware/index.html +1 -1
  242. package/coverage/lcov-report/src/middleware/joi-validator.ts.html +1 -1
  243. package/coverage/lcov-report/src/middleware/publicApi.ts.html +1 -1
  244. package/coverage/lcov-report/src/middleware/resourceId.ts.html +1 -1
  245. package/coverage/lcov-report/src/middleware/selfhost.ts.html +1 -1
  246. package/coverage/lcov-report/src/middleware/utils.ts.html +1 -1
  247. package/coverage/lcov-report/src/migrations/functions/appUrls.ts.html +1 -1
  248. package/coverage/lcov-report/src/migrations/functions/backfill/app/automations.ts.html +1 -1
  249. package/coverage/lcov-report/src/migrations/functions/backfill/app/datasources.ts.html +1 -1
  250. package/coverage/lcov-report/src/migrations/functions/backfill/app/index.html +1 -1
  251. package/coverage/lcov-report/src/migrations/functions/backfill/app/layouts.ts.html +1 -1
  252. package/coverage/lcov-report/src/migrations/functions/backfill/app/queries.ts.html +1 -1
  253. package/coverage/lcov-report/src/migrations/functions/backfill/app/roles.ts.html +1 -1
  254. package/coverage/lcov-report/src/migrations/functions/backfill/app/screens.ts.html +1 -1
  255. package/coverage/lcov-report/src/migrations/functions/backfill/app/tables.ts.html +1 -1
  256. package/coverage/lcov-report/src/migrations/functions/backfill/app.ts.html +1 -1
  257. package/coverage/lcov-report/src/migrations/functions/backfill/global/configs.ts.html +1 -1
  258. package/coverage/lcov-report/src/migrations/functions/backfill/global/index.html +1 -1
  259. package/coverage/lcov-report/src/migrations/functions/backfill/global/quotas.ts.html +1 -1
  260. package/coverage/lcov-report/src/migrations/functions/backfill/global/users.ts.html +1 -1
  261. package/coverage/lcov-report/src/migrations/functions/backfill/global.ts.html +1 -1
  262. package/coverage/lcov-report/src/migrations/functions/backfill/index.html +1 -1
  263. package/coverage/lcov-report/src/migrations/functions/backfill/index.ts.html +1 -1
  264. package/coverage/lcov-report/src/migrations/functions/backfill/installation.ts.html +1 -1
  265. package/coverage/lcov-report/src/migrations/functions/index.html +1 -1
  266. package/coverage/lcov-report/src/migrations/functions/syncQuotas.ts.html +1 -1
  267. package/coverage/lcov-report/src/migrations/functions/tableSettings.ts.html +1 -1
  268. package/coverage/lcov-report/src/migrations/functions/usageQuotas/index.html +1 -1
  269. package/coverage/lcov-report/src/migrations/functions/usageQuotas/index.ts.html +1 -1
  270. package/coverage/lcov-report/src/migrations/functions/usageQuotas/syncApps.ts.html +1 -1
  271. package/coverage/lcov-report/src/migrations/functions/usageQuotas/syncPlugins.ts.html +1 -1
  272. package/coverage/lcov-report/src/migrations/functions/usageQuotas/syncRows.ts.html +1 -1
  273. package/coverage/lcov-report/src/migrations/functions/userEmailViewCasing.ts.html +1 -1
  274. package/coverage/lcov-report/src/migrations/index.html +1 -1
  275. package/coverage/lcov-report/src/migrations/index.ts.html +1 -1
  276. package/coverage/lcov-report/src/migrations/tests/helpers.ts.html +1 -1
  277. package/coverage/lcov-report/src/migrations/tests/index.html +1 -1
  278. package/coverage/lcov-report/src/migrations/tests/structures.ts.html +1 -1
  279. package/coverage/lcov-report/src/sdk/app/applications/index.html +18 -18
  280. package/coverage/lcov-report/src/sdk/app/applications/index.ts.html +1 -1
  281. package/coverage/lcov-report/src/sdk/app/applications/sync.ts.html +49 -25
  282. package/coverage/lcov-report/src/sdk/app/applications/utils.ts.html +1 -1
  283. package/coverage/lcov-report/src/sdk/app/automations/index.html +1 -1
  284. package/coverage/lcov-report/src/sdk/app/automations/index.ts.html +1 -1
  285. package/coverage/lcov-report/src/sdk/app/automations/webhook.ts.html +1 -1
  286. package/coverage/lcov-report/src/sdk/app/backups/constants.ts.html +1 -1
  287. package/coverage/lcov-report/src/sdk/app/backups/exports.ts.html +2 -2
  288. package/coverage/lcov-report/src/sdk/app/backups/imports.ts.html +1 -1
  289. package/coverage/lcov-report/src/sdk/app/backups/index.html +1 -1
  290. package/coverage/lcov-report/src/sdk/app/backups/index.ts.html +1 -1
  291. package/coverage/lcov-report/src/sdk/app/backups/statistics.ts.html +1 -1
  292. package/coverage/lcov-report/src/sdk/app/tables/index.html +1 -1
  293. package/coverage/lcov-report/src/sdk/app/tables/index.ts.html +1 -1
  294. package/coverage/lcov-report/src/sdk/index.html +1 -1
  295. package/coverage/lcov-report/src/sdk/index.ts.html +1 -1
  296. package/coverage/lcov-report/src/sdk/users/index.html +19 -19
  297. package/coverage/lcov-report/src/sdk/users/index.ts.html +1 -1
  298. package/coverage/lcov-report/src/sdk/users/utils.ts.html +38 -38
  299. package/coverage/lcov-report/src/startup.ts.html +1 -1
  300. package/coverage/lcov-report/src/tests/utilities/TestConfiguration.ts.html +1 -1
  301. package/coverage/lcov-report/src/tests/utilities/controllers.ts.html +1 -1
  302. package/coverage/lcov-report/src/tests/utilities/index.html +1 -1
  303. package/coverage/lcov-report/src/tests/utilities/index.ts.html +1 -1
  304. package/coverage/lcov-report/src/tests/utilities/structures.ts.html +1 -1
  305. package/coverage/lcov-report/src/threads/automation.ts.html +1 -1
  306. package/coverage/lcov-report/src/threads/index.html +1 -1
  307. package/coverage/lcov-report/src/threads/index.ts.html +1 -1
  308. package/coverage/lcov-report/src/threads/query.ts.html +1 -1
  309. package/coverage/lcov-report/src/threads/utils.ts.html +1 -1
  310. package/coverage/lcov-report/src/utilities/budibaseDir.ts.html +1 -1
  311. package/coverage/lcov-report/src/utilities/centralPath.ts.html +1 -1
  312. package/coverage/lcov-report/src/utilities/csvParser.ts.html +1 -1
  313. package/coverage/lcov-report/src/utilities/fileSystem/clientLibrary.ts.html +1 -1
  314. package/coverage/lcov-report/src/utilities/fileSystem/index.html +1 -1
  315. package/coverage/lcov-report/src/utilities/fileSystem/index.ts.html +1 -1
  316. package/coverage/lcov-report/src/utilities/fileSystem/processor.ts.html +1 -1
  317. package/coverage/lcov-report/src/utilities/global.ts.html +24 -24
  318. package/coverage/lcov-report/src/utilities/index.html +1 -1
  319. package/coverage/lcov-report/src/utilities/index.ts.html +1 -1
  320. package/coverage/lcov-report/src/utilities/plugins.ts.html +1 -1
  321. package/coverage/lcov-report/src/utilities/redis.ts.html +1 -1
  322. package/coverage/lcov-report/src/utilities/routing/index.html +1 -1
  323. package/coverage/lcov-report/src/utilities/routing/index.ts.html +1 -1
  324. package/coverage/lcov-report/src/utilities/rowProcessor/index.html +1 -1
  325. package/coverage/lcov-report/src/utilities/rowProcessor/index.ts.html +1 -1
  326. package/coverage/lcov-report/src/utilities/rowProcessor/map.ts.html +1 -1
  327. package/coverage/lcov-report/src/utilities/rowProcessor/utils.ts.html +1 -1
  328. package/coverage/lcov-report/src/utilities/scriptRunner.ts.html +1 -1
  329. package/coverage/lcov-report/src/utilities/security.ts.html +1 -1
  330. package/coverage/lcov-report/src/utilities/statusCodes.ts.html +1 -1
  331. package/coverage/lcov-report/src/utilities/usageQuota/index.html +1 -1
  332. package/coverage/lcov-report/src/utilities/usageQuota/rows.ts.html +5 -5
  333. package/coverage/lcov-report/src/utilities/usageQuota/usageQuoteReset.ts.html +1 -1
  334. package/coverage/lcov-report/src/utilities/users.ts.html +1 -1
  335. package/coverage/lcov-report/src/utilities/workerRequests.ts.html +1 -1
  336. package/coverage/lcov-report/src/watch.ts.html +1 -1
  337. package/coverage/lcov-report/src/websocket.ts.html +1 -1
  338. package/coverage/lcov.info +256 -241
  339. package/dist/api/controllers/deploy/index.js +6 -0
  340. package/dist/api/controllers/public/users.js +2 -0
  341. package/dist/package.json +6 -6
  342. package/dist/sdk/app/applications/sync.js +6 -2
  343. package/dist/tsconfig.build.tsbuildinfo +1 -1
  344. package/package.json +7 -7
  345. package/src/api/controllers/deploy/index.ts +6 -0
  346. package/src/api/controllers/public/users.ts +2 -0
  347. package/src/sdk/app/applications/sync.ts +10 -2
@@ -10,7 +10,7 @@
10
10
  href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
11
11
  rel="stylesheet"
12
12
  />
13
- <script type="module" crossorigin src="/builder/assets/index.84840a7c.js"></script>
13
+ <script type="module" crossorigin src="/builder/assets/index.b6d78dd4.js"></script>
14
14
  <link rel="stylesheet" href="/builder/assets/index.fcf52b47.css">
15
15
  </head>
16
16
  <body id="app">
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1670419653468" clover="3.2.0">
3
- <project timestamp="1670419653468" name="All files">
4
- <metrics statements="10563" coveredstatements="7245" conditionals="4252" coveredconditionals="2113" methods="1775" coveredmethods="1210" elements="16590" coveredelements="10568" complexity="0" loc="10563" ncloc="10563" packages="58" files="274" classes="274"/>
2
+ <coverage generated="1670492104069" clover="3.2.0">
3
+ <project timestamp="1670492104070" name="All files">
4
+ <metrics statements="10571" coveredstatements="7258" conditionals="4257" coveredconditionals="2120" methods="1776" coveredmethods="1216" elements="16604" coveredelements="10594" complexity="0" loc="10571" ncloc="10571" packages="58" files="274" classes="274"/>
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="1267" coveredstatements="945" conditionals="405" coveredconditionals="210" methods="202" coveredmethods="140"/>
244
+ <metrics statements="1267" coveredstatements="946" conditionals="405" coveredconditionals="210" methods="202" coveredmethods="143"/>
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="46" type="stmt"/>
@@ -1232,7 +1232,7 @@
1232
1232
  <line num="173" count="1" type="stmt"/>
1233
1233
  </file>
1234
1234
  <file name="role.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/role.ts">
1235
- <metrics statements="59" coveredstatements="55" conditionals="17" coveredconditionals="14" methods="7" coveredmethods="5"/>
1235
+ <metrics statements="59" coveredstatements="56" conditionals="17" coveredconditionals="14" methods="7" coveredmethods="7"/>
1236
1236
  <line num="1" count="46" type="stmt"/>
1237
1237
  <line num="2" count="46" type="stmt"/>
1238
1238
  <line num="9" count="46" type="stmt"/>
@@ -1283,7 +1283,7 @@
1283
1283
  <line num="79" count="1" type="cond" truecount="0" falsecount="1"/>
1284
1284
  <line num="80" count="0" type="stmt"/>
1285
1285
  <line num="83" count="1" type="stmt"/>
1286
- <line num="89" count="0" type="stmt"/>
1286
+ <line num="89" count="1" type="stmt"/>
1287
1287
  <line num="90" count="1" type="stmt"/>
1288
1288
  <line num="91" count="1" type="cond" truecount="0" falsecount="1"/>
1289
1289
  <line num="92" count="0" type="stmt"/>
@@ -1431,7 +1431,7 @@
1431
1431
  <line num="35" count="46" type="stmt"/>
1432
1432
  </file>
1433
1433
  <file name="user.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/user.ts">
1434
- <metrics statements="92" coveredstatements="31" conditionals="32" coveredconditionals="0" methods="13" coveredmethods="4"/>
1434
+ <metrics statements="92" coveredstatements="31" conditionals="32" coveredconditionals="0" methods="13" coveredmethods="5"/>
1435
1435
  <line num="1" count="48" type="stmt"/>
1436
1436
  <line num="2" count="48" type="stmt"/>
1437
1437
  <line num="3" count="48" type="stmt"/>
@@ -1577,7 +1577,7 @@
1577
1577
  </file>
1578
1578
  </package>
1579
1579
  <package name="src.api.controllers.deploy">
1580
- <metrics statements="135" coveredstatements="96" conditionals="19" coveredconditionals="7" methods="16" coveredmethods="9"/>
1580
+ <metrics statements="137" coveredstatements="98" conditionals="19" coveredconditionals="7" methods="16" coveredmethods="9"/>
1581
1581
  <file name="Deployment.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/deploy/Deployment.ts">
1582
1582
  <metrics statements="21" coveredstatements="13" conditionals="11" coveredconditionals="5" methods="6" coveredmethods="4"/>
1583
1583
  <line num="1" count="46" type="stmt"/>
@@ -1603,39 +1603,39 @@
1603
1603
  <line num="56" count="510" type="stmt"/>
1604
1604
  </file>
1605
1605
  <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/deploy/index.ts">
1606
- <metrics statements="114" coveredstatements="83" conditionals="8" coveredconditionals="2" methods="10" coveredmethods="5"/>
1606
+ <metrics statements="116" coveredstatements="85" conditionals="8" coveredconditionals="2" methods="10" coveredmethods="5"/>
1607
1607
  <line num="1" count="46" type="stmt"/>
1608
1608
  <line num="2" count="46" type="stmt"/>
1609
1609
  <line num="3" count="46" type="stmt"/>
1610
1610
  <line num="4" count="46" type="stmt"/>
1611
1611
  <line num="9" count="46" type="stmt"/>
1612
1612
  <line num="10" count="46" type="stmt"/>
1613
- <line num="13" count="46" type="stmt"/>
1613
+ <line num="11" count="46" type="stmt"/>
1614
1614
  <line num="14" count="46" type="stmt"/>
1615
- <line num="22" count="0" type="stmt"/>
1616
- <line num="24" count="0" type="stmt"/>
1617
- <line num="26" count="0" type="cond" truecount="0" falsecount="1"/>
1618
- <line num="30" count="0" type="stmt"/>
1615
+ <line num="15" count="46" type="stmt"/>
1616
+ <line num="23" count="0" type="stmt"/>
1617
+ <line num="25" count="0" type="stmt"/>
1618
+ <line num="27" count="0" type="cond" truecount="0" falsecount="1"/>
1619
1619
  <line num="31" count="0" type="stmt"/>
1620
1620
  <line num="32" count="0" type="stmt"/>
1621
- <line num="35" count="0" type="stmt"/>
1622
- <line num="39" count="510" type="stmt"/>
1621
+ <line num="33" count="0" type="stmt"/>
1622
+ <line num="36" count="0" type="stmt"/>
1623
1623
  <line num="40" count="510" type="stmt"/>
1624
- <line num="43" count="510" type="stmt"/>
1625
- <line num="45" count="510" type="stmt"/>
1626
- <line num="47" count="246" type="stmt"/>
1627
- <line num="50" count="510" type="stmt"/>
1628
- <line num="53" count="510" type="cond" truecount="1" falsecount="0"/>
1629
- <line num="54" count="255" type="stmt"/>
1630
- <line num="56" count="510" type="stmt"/>
1631
- <line num="62" count="510" type="stmt"/>
1624
+ <line num="41" count="510" type="stmt"/>
1625
+ <line num="44" count="510" type="stmt"/>
1626
+ <line num="46" count="510" type="stmt"/>
1627
+ <line num="48" count="246" type="stmt"/>
1628
+ <line num="51" count="510" type="stmt"/>
1629
+ <line num="54" count="510" type="cond" truecount="1" falsecount="0"/>
1630
+ <line num="55" count="255" type="stmt"/>
1631
+ <line num="57" count="510" type="stmt"/>
1632
1632
  <line num="63" count="510" type="stmt"/>
1633
1633
  <line num="64" count="510" type="stmt"/>
1634
- <line num="68" count="255" type="stmt"/>
1634
+ <line num="65" count="510" type="stmt"/>
1635
1635
  <line num="69" count="255" type="stmt"/>
1636
1636
  <line num="70" count="255" type="stmt"/>
1637
- <line num="76" count="1" type="stmt"/>
1638
- <line num="77" count="255" type="stmt"/>
1637
+ <line num="71" count="255" type="stmt"/>
1638
+ <line num="77" count="1" type="stmt"/>
1639
1639
  <line num="78" count="255" type="stmt"/>
1640
1640
  <line num="79" count="255" type="stmt"/>
1641
1641
  <line num="80" count="255" type="stmt"/>
@@ -1643,81 +1643,83 @@
1643
1643
  <line num="82" count="255" type="stmt"/>
1644
1644
  <line num="83" count="255" type="stmt"/>
1645
1645
  <line num="84" count="255" type="stmt"/>
1646
- <line num="85" count="1" type="stmt"/>
1647
- <line num="87" count="255" type="stmt"/>
1646
+ <line num="85" count="255" type="stmt"/>
1647
+ <line num="86" count="1" type="stmt"/>
1648
1648
  <line num="88" count="255" type="stmt"/>
1649
- <line num="93" count="255" type="stmt"/>
1650
- <line num="94" count="255" type="stmt"/>
1651
- <line num="95" count="255" type="stmt"/>
1652
- <line num="96" count="255" type="stmt"/>
1653
- <line num="99" count="255" type="cond" truecount="0" falsecount="1"/>
1654
- <line num="101" count="0" type="stmt"/>
1655
- <line num="109" count="255" type="stmt"/>
1656
- <line num="113" count="255" type="stmt"/>
1657
- <line num="114" count="255" type="stmt"/>
1649
+ <line num="89" count="255" type="stmt"/>
1650
+ <line num="92" count="255" type="stmt"/>
1651
+ <line num="99" count="255" type="stmt"/>
1652
+ <line num="100" count="255" type="stmt"/>
1653
+ <line num="101" count="255" type="stmt"/>
1654
+ <line num="102" count="255" type="stmt"/>
1655
+ <line num="105" count="255" type="cond" truecount="0" falsecount="1"/>
1656
+ <line num="107" count="0" type="stmt"/>
1658
1657
  <line num="115" count="255" type="stmt"/>
1659
- <line num="116" count="255" type="stmt"/>
1660
- <line num="117" count="255" type="stmt"/>
1661
- <line num="118" count="255" type="stmt"/>
1662
1658
  <line num="119" count="255" type="stmt"/>
1659
+ <line num="120" count="255" type="stmt"/>
1660
+ <line num="121" count="255" type="stmt"/>
1663
1661
  <line num="122" count="255" type="stmt"/>
1664
1662
  <line num="123" count="255" type="stmt"/>
1665
1663
  <line num="124" count="255" type="stmt"/>
1666
1664
  <line num="125" count="255" type="stmt"/>
1667
- <line num="126" count="9" type="stmt"/>
1668
- <line num="128" count="246" type="stmt"/>
1669
- <line num="132" count="255" type="stmt"/>
1670
- <line num="133" count="255" type="stmt"/>
1671
- <line num="134" count="255" type="stmt"/>
1672
- <line num="136" count="255" type="stmt"/>
1673
- <line num="137" count="255" type="stmt"/>
1665
+ <line num="128" count="255" type="stmt"/>
1666
+ <line num="129" count="255" type="stmt"/>
1667
+ <line num="130" count="255" type="stmt"/>
1668
+ <line num="131" count="255" type="stmt"/>
1669
+ <line num="132" count="9" type="stmt"/>
1670
+ <line num="134" count="246" type="stmt"/>
1674
1671
  <line num="138" count="255" type="stmt"/>
1675
1672
  <line num="139" count="255" type="stmt"/>
1676
1673
  <line num="140" count="255" type="stmt"/>
1677
- <line num="141" count="255" type="stmt"/>
1678
1674
  <line num="142" count="255" type="stmt"/>
1679
1675
  <line num="143" count="255" type="stmt"/>
1680
1676
  <line num="144" count="255" type="stmt"/>
1681
- <line num="146" count="0" type="stmt"/>
1682
- <line num="147" count="0" type="stmt"/>
1683
- <line num="148" count="0" type="stmt"/>
1684
- <line num="153" count="255" type="cond" truecount="1" falsecount="0"/>
1685
- <line num="154" count="255" type="stmt"/>
1686
- <line num="159" count="46" type="stmt"/>
1687
- <line num="160" count="0" type="stmt"/>
1688
- <line num="161" count="0" type="stmt"/>
1689
- <line num="162" count="0" type="stmt"/>
1690
- <line num="163" count="0" type="stmt"/>
1691
- <line num="164" count="0" type="cond" truecount="0" falsecount="1"/>
1692
- <line num="165" count="0" type="stmt"/>
1677
+ <line num="145" count="255" type="stmt"/>
1678
+ <line num="146" count="255" type="stmt"/>
1679
+ <line num="147" count="255" type="stmt"/>
1680
+ <line num="148" count="255" type="stmt"/>
1681
+ <line num="149" count="255" type="stmt"/>
1682
+ <line num="150" count="255" type="stmt"/>
1683
+ <line num="152" count="0" type="stmt"/>
1684
+ <line num="153" count="0" type="stmt"/>
1685
+ <line num="154" count="0" type="stmt"/>
1686
+ <line num="159" count="255" type="cond" truecount="1" falsecount="0"/>
1687
+ <line num="160" count="255" type="stmt"/>
1688
+ <line num="165" count="46" type="stmt"/>
1689
+ <line num="166" count="0" type="stmt"/>
1693
1690
  <line num="167" count="0" type="stmt"/>
1691
+ <line num="168" count="0" type="stmt"/>
1694
1692
  <line num="169" count="0" type="stmt"/>
1695
- <line num="173" count="46" type="stmt"/>
1696
- <line num="174" count="0" type="stmt"/>
1693
+ <line num="170" count="0" type="cond" truecount="0" falsecount="1"/>
1694
+ <line num="171" count="0" type="stmt"/>
1695
+ <line num="173" count="0" type="stmt"/>
1697
1696
  <line num="175" count="0" type="stmt"/>
1698
- <line num="176" count="0" type="stmt"/>
1699
- <line num="177" count="0" type="stmt"/>
1700
- <line num="179" count="0" type="stmt"/>
1701
- <line num="186" count="46" type="stmt"/>
1702
- <line num="187" count="0" type="stmt"/>
1703
- <line num="188" count="0" type="stmt"/>
1704
- <line num="189" count="0" type="stmt"/>
1705
- <line num="191" count="0" type="cond" truecount="0" falsecount="1"/>
1706
- <line num="192" count="0" type="stmt"/>
1697
+ <line num="179" count="46" type="stmt"/>
1698
+ <line num="180" count="0" type="stmt"/>
1699
+ <line num="181" count="0" type="stmt"/>
1700
+ <line num="182" count="0" type="stmt"/>
1701
+ <line num="183" count="0" type="stmt"/>
1702
+ <line num="185" count="0" type="stmt"/>
1703
+ <line num="192" count="46" type="stmt"/>
1704
+ <line num="193" count="0" type="stmt"/>
1707
1705
  <line num="194" count="0" type="stmt"/>
1708
- <line num="196" count="0" type="stmt"/>
1709
- <line num="199" count="46" type="stmt"/>
1710
- <line num="200" count="255" type="stmt"/>
1711
- <line num="201" count="255" type="stmt"/>
1712
- <line num="202" count="255" type="stmt"/>
1713
- <line num="203" count="255" type="stmt"/>
1714
- <line num="204" count="255" type="stmt"/>
1715
- <line num="205" count="255" type="stmt"/>
1706
+ <line num="195" count="0" type="stmt"/>
1707
+ <line num="197" count="0" type="cond" truecount="0" falsecount="1"/>
1708
+ <line num="198" count="0" type="stmt"/>
1709
+ <line num="200" count="0" type="stmt"/>
1710
+ <line num="202" count="0" type="stmt"/>
1711
+ <line num="205" count="46" type="stmt"/>
1712
+ <line num="206" count="255" type="stmt"/>
1716
1713
  <line num="207" count="255" type="stmt"/>
1714
+ <line num="208" count="255" type="stmt"/>
1717
1715
  <line num="209" count="255" type="stmt"/>
1716
+ <line num="210" count="255" type="stmt"/>
1718
1717
  <line num="211" count="255" type="stmt"/>
1719
- <line num="212" count="255" type="stmt"/>
1720
- <line num="215" count="46" type="stmt"/>
1718
+ <line num="213" count="255" type="stmt"/>
1719
+ <line num="215" count="255" type="stmt"/>
1720
+ <line num="217" count="255" type="stmt"/>
1721
+ <line num="218" count="255" type="stmt"/>
1722
+ <line num="221" count="46" type="stmt"/>
1721
1723
  </file>
1722
1724
  </package>
1723
1725
  <package name="src.api.controllers.plugin">
@@ -1902,7 +1904,7 @@
1902
1904
  </file>
1903
1905
  </package>
1904
1906
  <package name="src.api.controllers.public">
1905
- <metrics statements="188" coveredstatements="170" conditionals="55" coveredconditionals="42" methods="37" coveredmethods="36"/>
1907
+ <metrics statements="190" coveredstatements="172" conditionals="55" coveredconditionals="42" methods="37" coveredmethods="36"/>
1906
1908
  <file name="applications.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/public/applications.ts">
1907
1909
  <metrics statements="44" coveredstatements="42" conditionals="17" coveredconditionals="14" methods="14" coveredmethods="14"/>
1908
1910
  <line num="1" count="46" type="stmt"/>
@@ -2038,7 +2040,7 @@
2038
2040
  <line num="50" count="46" type="stmt"/>
2039
2041
  </file>
2040
2042
  <file name="users.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/public/users.ts">
2041
- <metrics statements="40" coveredstatements="39" conditionals="15" coveredconditionals="12" methods="7" coveredmethods="7"/>
2043
+ <metrics statements="42" coveredstatements="41" conditionals="15" coveredconditionals="12" methods="7" coveredmethods="7"/>
2042
2044
  <line num="1" count="46" type="stmt"/>
2043
2045
  <line num="7" count="46" type="stmt"/>
2044
2046
  <line num="8" count="46" type="stmt"/>
@@ -2068,17 +2070,19 @@
2068
2070
  <line num="48" count="2" type="stmt"/>
2069
2071
  <line num="53" count="2" type="cond" truecount="1" falsecount="0"/>
2070
2072
  <line num="54" count="1" type="stmt"/>
2071
- <line num="56" count="2" type="stmt"/>
2072
- <line num="57" count="2" type="stmt"/>
2073
+ <line num="55" count="1" type="stmt"/>
2074
+ <line num="56" count="1" type="stmt"/>
2073
2075
  <line num="58" count="2" type="stmt"/>
2074
- <line num="61" count="46" type="stmt"/>
2075
- <line num="62" count="2" type="stmt"/>
2076
- <line num="64" count="2" type="cond" truecount="1" falsecount="0"/>
2077
- <line num="65" count="1" type="stmt"/>
2076
+ <line num="59" count="2" type="stmt"/>
2077
+ <line num="60" count="2" type="stmt"/>
2078
+ <line num="63" count="46" type="stmt"/>
2079
+ <line num="64" count="2" type="stmt"/>
2080
+ <line num="66" count="2" type="cond" truecount="1" falsecount="0"/>
2078
2081
  <line num="67" count="1" type="stmt"/>
2079
- <line num="68" count="1" type="stmt"/>
2080
2082
  <line num="69" count="1" type="stmt"/>
2081
- <line num="72" count="46" type="stmt"/>
2083
+ <line num="70" count="1" type="stmt"/>
2084
+ <line num="71" count="1" type="stmt"/>
2085
+ <line num="74" count="46" type="stmt"/>
2082
2086
  </file>
2083
2087
  <file name="utils.ts" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/public/utils.ts">
2084
2088
  <metrics statements="26" coveredstatements="16" conditionals="11" coveredconditionals="7" methods="2" coveredmethods="2"/>
@@ -9553,7 +9557,7 @@
9553
9557
  </file>
9554
9558
  </package>
9555
9559
  <package name="src.sdk.app.applications">
9556
- <metrics statements="34" coveredstatements="29" conditionals="25" coveredconditionals="17" methods="2" coveredmethods="2"/>
9560
+ <metrics statements="38" coveredstatements="33" conditionals="30" coveredconditionals="22" methods="3" coveredmethods="3"/>
9557
9561
  <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/app/applications/index.ts">
9558
9562
  <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
9559
9563
  <line num="1" count="49" type="stmt"/>
@@ -9561,29 +9565,33 @@
9561
9565
  <line num="4" count="49" type="stmt"/>
9562
9566
  </file>
9563
9567
  <file name="sync.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/app/applications/sync.ts">
9564
- <metrics statements="22" coveredstatements="17" conditionals="5" coveredconditionals="1" methods="1" coveredmethods="1"/>
9568
+ <metrics statements="26" coveredstatements="21" conditionals="10" coveredconditionals="6" methods="2" coveredmethods="2"/>
9565
9569
  <line num="1" count="49" type="stmt"/>
9566
9570
  <line num="2" count="49" type="stmt"/>
9567
9571
  <line num="3" count="49" type="stmt"/>
9568
9572
  <line num="5" count="49" type="stmt"/>
9569
- <line num="6" count="1" type="cond" truecount="0" falsecount="1"/>
9570
- <line num="7" count="0" type="stmt"/>
9571
- <line num="13" count="1" type="cond" truecount="0" falsecount="1"/>
9572
- <line num="14" count="0" type="stmt"/>
9573
- <line num="18" count="1" type="stmt"/>
9574
- <line num="21" count="1" type="stmt"/>
9575
- <line num="22" count="1" type="stmt"/>
9576
- <line num="23" count="1" type="cond" truecount="0" falsecount="1"/>
9577
- <line num="25" count="0" type="stmt"/>
9578
- <line num="30" count="1" type="stmt"/>
9579
- <line num="35" count="1" type="stmt"/>
9580
- <line num="36" count="1" type="stmt"/>
9581
- <line num="38" count="0" type="stmt"/>
9582
- <line num="40" count="1" type="stmt"/>
9583
- <line num="44" count="1" type="stmt"/>
9584
- <line num="46" count="1" type="cond" truecount="1" falsecount="1"/>
9585
- <line num="47" count="0" type="stmt"/>
9586
- <line num="49" count="1" type="stmt"/>
9573
+ <line num="9" count="256" type="cond" truecount="0" falsecount="1"/>
9574
+ <line num="10" count="0" type="stmt"/>
9575
+ <line num="16" count="256" type="cond" truecount="0" falsecount="1"/>
9576
+ <line num="17" count="0" type="stmt"/>
9577
+ <line num="21" count="256" type="stmt"/>
9578
+ <line num="24" count="256" type="stmt"/>
9579
+ <line num="25" count="256" type="stmt"/>
9580
+ <line num="26" count="256" type="cond" truecount="0" falsecount="1"/>
9581
+ <line num="28" count="0" type="stmt"/>
9582
+ <line num="33" count="256" type="stmt"/>
9583
+ <line num="38" count="256" type="stmt"/>
9584
+ <line num="39" count="256" type="stmt"/>
9585
+ <line num="40" count="256" type="cond" truecount="5" falsecount="0"/>
9586
+ <line num="41" count="255" type="stmt"/>
9587
+ <line num="42" count="1274" type="stmt"/>
9588
+ <line num="44" count="256" type="stmt"/>
9589
+ <line num="46" count="0" type="stmt"/>
9590
+ <line num="48" count="256" type="stmt"/>
9591
+ <line num="52" count="256" type="stmt"/>
9592
+ <line num="54" count="256" type="cond" truecount="1" falsecount="1"/>
9593
+ <line num="55" count="0" type="stmt"/>
9594
+ <line num="57" count="256" type="stmt"/>
9587
9595
  </file>
9588
9596
  <file name="utils.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/app/applications/utils.ts">
9589
9597
  <metrics statements="9" coveredstatements="9" conditionals="20" coveredconditionals="16" methods="1" coveredmethods="1"/>
@@ -9668,7 +9676,7 @@
9668
9676
  <line num="70" count="1" type="cond" truecount="0" falsecount="1"/>
9669
9677
  <line num="71" count="0" type="stmt"/>
9670
9678
  <line num="73" count="1" type="stmt"/>
9671
- <line num="74" count="10" type="cond" truecount="2" falsecount="0"/>
9679
+ <line num="74" count="12" type="cond" truecount="2" falsecount="0"/>
9672
9680
  <line num="84" count="49" type="stmt"/>
9673
9681
  <line num="85" count="1" type="stmt"/>
9674
9682
  <line num="86" count="1" type="stmt"/>
@@ -9877,44 +9885,44 @@
9877
9885
  </file>
9878
9886
  </package>
9879
9887
  <package name="src.sdk.users">
9880
- <metrics statements="32" coveredstatements="28" conditionals="8" coveredconditionals="5" methods="5" coveredmethods="3"/>
9888
+ <metrics statements="32" coveredstatements="32" conditionals="8" coveredconditionals="7" methods="5" coveredmethods="5"/>
9881
9889
  <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/users/index.ts">
9882
9890
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
9883
9891
  <line num="1" count="49" type="stmt"/>
9884
9892
  <line num="3" count="49" type="stmt"/>
9885
9893
  </file>
9886
9894
  <file name="utils.ts" path="/home/runner/work/budibase/budibase/packages/server/src/sdk/users/utils.ts">
9887
- <metrics statements="30" coveredstatements="26" conditionals="8" coveredconditionals="5" methods="5" coveredmethods="3"/>
9895
+ <metrics statements="30" coveredstatements="30" conditionals="8" coveredconditionals="7" methods="5" coveredmethods="5"/>
9888
9896
  <line num="1" count="49" type="stmt"/>
9889
9897
  <line num="2" count="49" type="stmt"/>
9890
9898
  <line num="3" count="49" type="stmt"/>
9891
9899
  <line num="8" count="49" type="stmt"/>
9892
9900
  <line num="10" count="49" type="stmt"/>
9893
- <line num="12" count="2" type="cond" truecount="1" falsecount="0"/>
9894
- <line num="13" count="1" type="stmt"/>
9895
- <line num="15" count="1" type="stmt"/>
9896
- <line num="16" count="1" type="stmt"/>
9897
- <line num="17" count="1" type="stmt"/>
9898
- <line num="22" count="1" type="cond" truecount="1" falsecount="1"/>
9899
- <line num="23" count="0" type="stmt"/>
9900
- <line num="26" count="1" type="cond" truecount="0" falsecount="1"/>
9901
- <line num="27" count="0" type="stmt"/>
9902
- <line num="29" count="1" type="cond" truecount="2" falsecount="1"/>
9903
- <line num="30" count="1" type="stmt"/>
9904
- <line num="35" count="0" type="stmt"/>
9901
+ <line num="12" count="350" type="cond" truecount="1" falsecount="0"/>
9902
+ <line num="13" count="80" type="stmt"/>
9903
+ <line num="15" count="270" type="stmt"/>
9904
+ <line num="16" count="270" type="stmt"/>
9905
+ <line num="17" count="270" type="stmt"/>
9906
+ <line num="22" count="270" type="cond" truecount="1" falsecount="1"/>
9907
+ <line num="23" count="10" type="stmt"/>
9908
+ <line num="26" count="270" type="cond" truecount="1" falsecount="0"/>
9909
+ <line num="27" count="10" type="stmt"/>
9910
+ <line num="29" count="270" type="cond" truecount="3" falsecount="0"/>
9911
+ <line num="30" count="261" type="stmt"/>
9912
+ <line num="35" count="9" type="stmt"/>
9905
9913
  <line num="38" count="49" type="stmt"/>
9906
- <line num="39" count="3" type="stmt"/>
9907
- <line num="40" count="3" type="stmt"/>
9908
- <line num="46" count="0" type="stmt"/>
9914
+ <line num="39" count="258" type="stmt"/>
9915
+ <line num="40" count="258" type="stmt"/>
9916
+ <line num="46" count="11" type="stmt"/>
9909
9917
  <line num="49" count="49" type="stmt"/>
9910
- <line num="51" count="1" type="stmt"/>
9911
- <line num="52" count="1" type="stmt"/>
9912
- <line num="56" count="1" type="stmt"/>
9913
- <line num="57" count="1" type="stmt"/>
9914
- <line num="58" count="2" type="stmt"/>
9915
- <line num="59" count="2" type="cond" truecount="1" falsecount="0"/>
9916
- <line num="60" count="1" type="stmt"/>
9917
- <line num="63" count="1" type="stmt"/>
9918
+ <line num="51" count="256" type="stmt"/>
9919
+ <line num="52" count="256" type="stmt"/>
9920
+ <line num="56" count="256" type="stmt"/>
9921
+ <line num="57" count="256" type="stmt"/>
9922
+ <line num="58" count="350" type="stmt"/>
9923
+ <line num="59" count="350" type="cond" truecount="1" falsecount="0"/>
9924
+ <line num="60" count="261" type="stmt"/>
9925
+ <line num="63" count="256" type="stmt"/>
9918
9926
  </file>
9919
9927
  </package>
9920
9928
  <package name="src.tests.utilities">
@@ -10765,24 +10773,24 @@
10765
10773
  <line num="9" count="54" type="stmt"/>
10766
10774
  <line num="10" count="54" type="stmt"/>
10767
10775
  <line num="13" count="54" type="stmt"/>
10768
- <line num="17" count="248" type="cond" truecount="2" falsecount="0"/>
10769
- <line num="19" count="248" type="cond" truecount="3" falsecount="0"/>
10776
+ <line num="17" count="596" type="cond" truecount="2" falsecount="0"/>
10777
+ <line num="19" count="596" type="cond" truecount="3" falsecount="0"/>
10770
10778
  <line num="20" count="3" type="stmt"/>
10771
- <line num="23" count="245" type="cond" truecount="1" falsecount="3"/>
10779
+ <line num="23" count="593" type="cond" truecount="1" falsecount="3"/>
10772
10780
  <line num="24" count="0" type="stmt"/>
10773
10781
  <line num="25" count="0" type="stmt"/>
10774
10782
  <line num="26" count="0" type="stmt"/>
10775
10783
  <line num="27" count="0" type="stmt"/>
10776
- <line num="30" count="245" type="cond" truecount="1" falsecount="0"/>
10777
- <line num="31" count="245" type="stmt"/>
10778
- <line num="34" count="245" type="cond" truecount="5" falsecount="0"/>
10779
- <line num="35" count="212" type="stmt"/>
10780
- <line num="36" count="33" type="cond" truecount="10" falsecount="2"/>
10781
- <line num="37" count="28" type="stmt"/>
10784
+ <line num="30" count="593" type="cond" truecount="1" falsecount="0"/>
10785
+ <line num="31" count="593" type="stmt"/>
10786
+ <line num="34" count="593" type="cond" truecount="5" falsecount="0"/>
10787
+ <line num="35" count="481" type="stmt"/>
10788
+ <line num="36" count="112" type="cond" truecount="10" falsecount="2"/>
10789
+ <line num="37" count="107" type="stmt"/>
10782
10790
  <line num="38" count="5" type="cond" truecount="6" falsecount="3"/>
10783
10791
  <line num="39" count="0" type="stmt"/>
10784
- <line num="42" count="245" type="stmt"/>
10785
- <line num="43" count="245" type="stmt"/>
10792
+ <line num="42" count="593" type="stmt"/>
10793
+ <line num="43" count="593" type="stmt"/>
10786
10794
  <line num="50" count="0" type="cond" truecount="0" falsecount="3"/>
10787
10795
  <line num="51" count="0" type="stmt"/>
10788
10796
  <line num="53" count="0" type="cond" truecount="0" falsecount="1"/>
@@ -10805,23 +10813,23 @@
10805
10813
  <line num="88" count="2" type="stmt"/>
10806
10814
  <line num="89" count="2" type="stmt"/>
10807
10815
  <line num="92" count="54" type="stmt"/>
10808
- <line num="93" count="33" type="stmt"/>
10809
- <line num="94" count="33" type="stmt"/>
10810
- <line num="96" count="33" type="cond" truecount="2" falsecount="0"/>
10816
+ <line num="93" count="288" type="stmt"/>
10817
+ <line num="94" count="288" type="stmt"/>
10818
+ <line num="96" count="288" type="cond" truecount="2" falsecount="0"/>
10811
10819
  <line num="97" count="30" type="stmt"/>
10812
10820
  <line num="98" count="0" type="stmt"/>
10813
10821
  <line num="100" count="30" type="stmt"/>
10814
10822
  <line num="101" count="0" type="stmt"/>
10815
- <line num="104" count="3" type="stmt"/>
10816
- <line num="110" count="9" type="stmt"/>
10817
- <line num="112" count="33" type="stmt"/>
10818
- <line num="113" count="9" type="stmt"/>
10819
- <line num="115" count="9" type="stmt"/>
10820
- <line num="116" count="9" type="stmt"/>
10821
- <line num="117" count="9" type="stmt"/>
10822
- <line num="119" count="33" type="cond" truecount="0" falsecount="1"/>
10823
+ <line num="104" count="258" type="stmt"/>
10824
+ <line num="110" count="357" type="stmt"/>
10825
+ <line num="112" count="288" type="stmt"/>
10826
+ <line num="113" count="357" type="stmt"/>
10827
+ <line num="115" count="357" type="stmt"/>
10828
+ <line num="116" count="357" type="stmt"/>
10829
+ <line num="117" count="357" type="stmt"/>
10830
+ <line num="119" count="288" type="cond" truecount="0" falsecount="1"/>
10823
10831
  <line num="120" count="0" type="stmt"/>
10824
- <line num="123" count="33" type="stmt"/>
10832
+ <line num="123" count="357" type="stmt"/>
10825
10833
  <line num="126" count="54" type="stmt"/>
10826
10834
  <line num="127" count="30" type="stmt"/>
10827
10835
  <line num="128" count="30" type="stmt"/>
@@ -11530,10 +11538,10 @@
11530
11538
  <line num="27" count="30" type="stmt"/>
11531
11539
  <line num="28" count="30" type="stmt"/>
11532
11540
  <line num="33" count="30" type="stmt"/>
11533
- <line num="34" count="4" type="stmt"/>
11534
- <line num="36" count="4" type="stmt"/>
11535
- <line num="37" count="4" type="cond" truecount="1" falsecount="0"/>
11536
- <line num="38" count="1" type="stmt"/>
11541
+ <line num="34" count="23" type="stmt"/>
11542
+ <line num="36" count="23" type="stmt"/>
11543
+ <line num="37" count="23" type="cond" truecount="1" falsecount="0"/>
11544
+ <line num="38" count="20" type="stmt"/>
11537
11545
  <line num="41" count="3" type="stmt"/>
11538
11546
  <line num="51" count="46" type="stmt"/>
11539
11547
  <line num="52" count="27" type="stmt"/>