@budibase/server 1.3.15-alpha.7 → 1.3.15-alpha.9

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 (178) hide show
  1. package/builder/assets/{index.6e6a747c.js → index.15b76cd8.js} +205 -205
  2. package/builder/assets/{index.ecdac070.css → index.3850883f.css} +1 -1
  3. package/builder/index.html +2 -2
  4. package/coverage/clover.xml +49 -50
  5. package/coverage/coverage-final.json +2 -2
  6. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  7. package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/component.js.html +25 -37
  12. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/index.html +15 -15
  15. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  21. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  23. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  24. package/coverage/lcov-report/api/controllers/row/external.js.html +2 -2
  25. package/coverage/lcov-report/api/controllers/row/index.html +1 -1
  26. package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
  33. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  35. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  39. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  40. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  42. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  43. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  44. package/coverage/lcov-report/api/index.html +1 -1
  45. package/coverage/lcov-report/api/index.js.html +1 -1
  46. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  47. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  48. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/index.html +1 -1
  57. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/table.js.html +2 -2
  68. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/utils/index.html +5 -5
  71. package/coverage/lcov-report/api/routes/utils/validators.js.html +9 -6
  72. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  74. package/coverage/lcov-report/automations/actions.js.html +1 -1
  75. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  76. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  77. package/coverage/lcov-report/automations/index.html +1 -1
  78. package/coverage/lcov-report/automations/index.js.html +1 -1
  79. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  80. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  81. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  82. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  83. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/index.html +1 -1
  86. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  95. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  96. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  97. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  98. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  99. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  100. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  101. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  102. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  103. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  104. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  105. package/coverage/lcov-report/constants/index.html +1 -1
  106. package/coverage/lcov-report/constants/index.js.html +1 -1
  107. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  108. package/coverage/lcov-report/constants/screens.js.html +1 -1
  109. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  110. package/coverage/lcov-report/db/index.html +1 -1
  111. package/coverage/lcov-report/db/index.js.html +1 -1
  112. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  113. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  114. package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
  115. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  116. package/coverage/lcov-report/db/newid.js.html +1 -1
  117. package/coverage/lcov-report/db/utils.js.html +1 -1
  118. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  119. package/coverage/lcov-report/events/index.html +1 -1
  120. package/coverage/lcov-report/events/index.js.html +1 -1
  121. package/coverage/lcov-report/events/utils.js.html +1 -1
  122. package/coverage/lcov-report/index.html +15 -15
  123. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  124. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  125. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  126. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  127. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  128. package/coverage/lcov-report/middleware/index.html +1 -1
  129. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  130. package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
  131. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  132. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  133. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  134. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  135. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  136. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  137. package/coverage/lcov-report/utilities/global.js.html +1 -1
  138. package/coverage/lcov-report/utilities/index.html +1 -1
  139. package/coverage/lcov-report/utilities/index.js.html +1 -1
  140. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  141. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  142. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  143. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  144. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  145. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
  146. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  147. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  148. package/coverage/lcov-report/utilities/security.js.html +1 -1
  149. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  150. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  151. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  152. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  153. package/coverage/lcov-report/utilities/users.js.html +1 -1
  154. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  155. package/coverage/lcov.info +74 -77
  156. package/dist/api/controllers/component.js +12 -16
  157. package/dist/api/controllers/plugin/index.js +6 -3
  158. package/dist/api/controllers/row/external.js +1 -1
  159. package/dist/api/routes/application.js +3 -2
  160. package/dist/api/routes/public/tables.js +1 -1
  161. package/dist/api/routes/table.js +1 -1
  162. package/dist/api/routes/utils/validators.js +2 -1
  163. package/dist/package.json +6 -6
  164. package/dist/tests/utilities/TestConfiguration.js +1 -1
  165. package/dist/tsconfig.build.tsbuildinfo +1 -1
  166. package/package.json +7 -7
  167. package/specs/openapi.json +3 -3
  168. package/specs/openapi.yaml +3 -3
  169. package/specs/resources/query.js +1 -1
  170. package/src/api/controllers/component.js +17 -21
  171. package/src/api/controllers/plugin/index.ts +8 -4
  172. package/src/api/controllers/row/external.js +1 -1
  173. package/src/api/routes/application.ts +13 -2
  174. package/src/api/routes/public/tables.ts +1 -1
  175. package/src/api/routes/table.js +1 -1
  176. package/src/api/routes/utils/validators.js +2 -1
  177. package/src/definitions/openapi.ts +3 -3
  178. package/src/tests/utilities/TestConfiguration.js +1 -1
@@ -10,8 +10,8 @@
10
10
  href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
11
11
  rel="stylesheet"
12
12
  />
13
- <script type="module" crossorigin src="/builder/assets/index.6e6a747c.js"></script>
14
- <link rel="stylesheet" href="/builder/assets/index.ecdac070.css">
13
+ <script type="module" crossorigin src="/builder/assets/index.15b76cd8.js"></script>
14
+ <link rel="stylesheet" href="/builder/assets/index.3850883f.css">
15
15
  </head>
16
16
  <body id="app">
17
17
 
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1663152919170" clover="3.2.0">
3
- <project timestamp="1663152919170" name="All files">
4
- <metrics statements="4211" coveredstatements="3073" conditionals="1786" coveredconditionals="975" methods="627" coveredmethods="439" elements="6624" coveredelements="4487" complexity="0" loc="4211" ncloc="4211" packages="22" files="126" classes="126"/>
2
+ <coverage generated="1663174638594" clover="3.2.0">
3
+ <project timestamp="1663174638594" name="All files">
4
+ <metrics statements="4210" coveredstatements="3072" conditionals="1784" coveredconditionals="974" methods="627" coveredmethods="439" elements="6621" coveredelements="4485" complexity="0" loc="4210" ncloc="4210" packages="22" files="126" classes="126"/>
5
5
  <package name="api">
6
6
  <metrics statements="35" coveredstatements="34" conditionals="5" coveredconditionals="2" methods="4" coveredmethods="4"/>
7
7
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
@@ -44,7 +44,7 @@
44
44
  </file>
45
45
  </package>
46
46
  <package name="api.controllers">
47
- <metrics statements="1012" coveredstatements="717" conditionals="316" coveredconditionals="143" methods="149" coveredmethods="96"/>
47
+ <metrics statements="1010" coveredstatements="715" conditionals="314" coveredconditionals="142" methods="149" coveredmethods="96"/>
48
48
  <file name="apikeys.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/apikeys.js">
49
49
  <metrics statements="24" coveredstatements="24" conditionals="4" coveredconditionals="2" methods="4" coveredmethods="4"/>
50
50
  <line num="1" count="28" type="stmt"/>
@@ -313,36 +313,34 @@
313
313
  <line num="110" count="0" type="stmt"/>
314
314
  </file>
315
315
  <file name="component.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/component.js">
316
- <metrics statements="29" coveredstatements="24" conditionals="4" coveredconditionals="3" methods="5" coveredmethods="2"/>
316
+ <metrics statements="27" coveredstatements="22" conditionals="2" coveredconditionals="2" methods="5" coveredmethods="2"/>
317
317
  <line num="1" count="28" type="stmt"/>
318
318
  <line num="2" count="28" type="stmt"/>
319
319
  <line num="3" count="28" type="stmt"/>
320
320
  <line num="4" count="28" type="stmt"/>
321
- <line num="5" count="28" type="stmt"/>
322
- <line num="7" count="28" type="stmt"/>
321
+ <line num="6" count="28" type="stmt"/>
322
+ <line num="7" count="1" type="stmt"/>
323
323
  <line num="8" count="1" type="stmt"/>
324
324
  <line num="9" count="1" type="stmt"/>
325
- <line num="10" count="1" type="stmt"/>
326
- <line num="12" count="1" type="stmt"/>
325
+ <line num="11" count="1" type="stmt"/>
326
+ <line num="13" count="1" type="stmt"/>
327
327
  <line num="14" count="1" type="stmt"/>
328
- <line num="15" count="1" type="stmt"/>
328
+ <line num="20" count="1" type="stmt"/>
329
329
  <line num="21" count="1" type="stmt"/>
330
330
  <line num="22" count="1" type="stmt"/>
331
- <line num="23" count="1" type="stmt"/>
332
- <line num="24" count="52" type="cond" truecount="2" falsecount="0"/>
333
- <line num="25" count="1" type="stmt"/>
331
+ <line num="23" count="52" type="cond" truecount="2" falsecount="0"/>
332
+ <line num="24" count="1" type="stmt"/>
333
+ <line num="26" count="51" type="stmt"/>
334
334
  <line num="27" count="51" type="stmt"/>
335
- <line num="28" count="51" type="stmt"/>
336
- <line num="37" count="1" type="cond" truecount="1" falsecount="1"/>
337
- <line num="39" count="1" type="stmt"/>
338
- <line num="40" count="1" type="stmt"/>
339
- <line num="45" count="1" type="stmt"/>
335
+ <line num="36" count="1" type="stmt"/>
336
+ <line num="37" count="1" type="stmt"/>
337
+ <line num="42" count="1" type="stmt"/>
338
+ <line num="43" count="0" type="stmt"/>
339
+ <line num="44" count="0" type="stmt"/>
340
340
  <line num="46" count="0" type="stmt"/>
341
341
  <line num="47" count="0" type="stmt"/>
342
- <line num="49" count="0" type="stmt"/>
343
- <line num="50" count="0" type="stmt"/>
344
- <line num="57" count="1" type="stmt"/>
345
- <line num="59" count="0" type="stmt"/>
342
+ <line num="53" count="1" type="stmt"/>
343
+ <line num="55" count="0" type="stmt"/>
346
344
  </file>
347
345
  <file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/datasource.js">
348
346
  <metrics statements="141" coveredstatements="82" conditionals="61" coveredconditionals="20" methods="20" coveredmethods="11"/>
@@ -2632,9 +2630,9 @@
2632
2630
  </file>
2633
2631
  </package>
2634
2632
  <package name="api.routes.utils">
2635
- <metrics statements="36" coveredstatements="36" conditionals="5" coveredconditionals="4" methods="14" coveredmethods="14"/>
2633
+ <metrics statements="37" coveredstatements="37" conditionals="5" coveredconditionals="4" methods="14" coveredmethods="14"/>
2636
2634
  <file name="validators.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/utils/validators.js">
2637
- <metrics statements="36" coveredstatements="36" conditionals="5" coveredconditionals="4" methods="14" coveredmethods="14"/>
2635
+ <metrics statements="37" coveredstatements="37" conditionals="5" coveredconditionals="4" methods="14" coveredmethods="14"/>
2638
2636
  <line num="1" count="28" type="stmt"/>
2639
2637
  <line num="2" count="28" type="stmt"/>
2640
2638
  <line num="3" count="28" type="stmt"/>
@@ -2643,34 +2641,35 @@
2643
2641
  <line num="10" count="28" type="stmt"/>
2644
2642
  <line num="11" count="28" type="stmt"/>
2645
2643
  <line num="12" count="28" type="stmt"/>
2646
- <line num="14" count="28" type="stmt"/>
2647
- <line num="16" count="84" type="stmt"/>
2648
- <line num="28" count="28" type="stmt"/>
2649
- <line num="30" count="112" type="stmt"/>
2650
- <line num="35" count="28" type="stmt"/>
2651
- <line num="37" count="28" type="stmt"/>
2652
- <line num="51" count="84" type="stmt"/>
2653
- <line num="66" count="28" type="stmt"/>
2654
- <line num="68" count="28" type="stmt"/>
2655
- <line num="80" count="28" type="stmt"/>
2644
+ <line num="13" count="28" type="stmt"/>
2645
+ <line num="15" count="28" type="stmt"/>
2646
+ <line num="17" count="84" type="stmt"/>
2647
+ <line num="29" count="28" type="stmt"/>
2648
+ <line num="31" count="112" type="stmt"/>
2649
+ <line num="36" count="28" type="stmt"/>
2650
+ <line num="38" count="28" type="stmt"/>
2651
+ <line num="52" count="84" type="stmt"/>
2652
+ <line num="67" count="28" type="stmt"/>
2653
+ <line num="69" count="28" type="stmt"/>
2656
2654
  <line num="81" count="28" type="stmt"/>
2657
- <line num="98" count="28" type="stmt"/>
2658
- <line num="100" count="28" type="stmt"/>
2659
- <line num="119" count="28" type="stmt"/>
2660
- <line num="121" count="28" type="stmt"/>
2661
- <line num="134" count="28" type="stmt"/>
2655
+ <line num="82" count="28" type="stmt"/>
2656
+ <line num="99" count="28" type="stmt"/>
2657
+ <line num="101" count="28" type="stmt"/>
2658
+ <line num="120" count="28" type="stmt"/>
2659
+ <line num="122" count="28" type="stmt"/>
2662
2660
  <line num="135" count="28" type="stmt"/>
2663
- <line num="137" count="28" type="stmt"/>
2664
- <line num="150" count="28" type="stmt"/>
2665
- <line num="151" count="56" type="stmt"/>
2666
- <line num="153" count="56" type="stmt"/>
2667
- <line num="160" count="28" type="stmt"/>
2668
- <line num="162" count="28" type="stmt"/>
2669
- <line num="185" count="112" type="stmt"/>
2670
- <line num="198" count="28" type="cond" truecount="0" falsecount="1"/>
2671
- <line num="200" count="56" type="stmt"/>
2672
- <line num="212" count="28" type="stmt"/>
2673
- <line num="214" count="56" type="stmt"/>
2661
+ <line num="136" count="28" type="stmt"/>
2662
+ <line num="138" count="28" type="stmt"/>
2663
+ <line num="151" count="28" type="stmt"/>
2664
+ <line num="152" count="56" type="stmt"/>
2665
+ <line num="154" count="56" type="stmt"/>
2666
+ <line num="161" count="28" type="stmt"/>
2667
+ <line num="163" count="28" type="stmt"/>
2668
+ <line num="186" count="112" type="stmt"/>
2669
+ <line num="199" count="28" type="cond" truecount="0" falsecount="1"/>
2670
+ <line num="201" count="56" type="stmt"/>
2671
+ <line num="213" count="28" type="stmt"/>
2672
+ <line num="215" count="112" type="stmt"/>
2674
2673
  </file>
2675
2674
  </package>
2676
2675
  <package name="automations">