@budibase/server 2.0.15 → 2.0.17

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 (157) hide show
  1. package/builder/assets/{index.e969ba05.js → index.e349ec0e.js} +181 -181
  2. package/builder/index.html +1 -1
  3. package/coverage/clover.xml +226 -221
  4. package/coverage/coverage-final.json +2 -2
  5. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  6. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  7. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/datasource.js.html +57 -36
  10. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/index.html +19 -19
  12. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  15. package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  18. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  21. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/row/index.html +15 -15
  23. package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
  24. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +18 -9
  25. package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
  26. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  31. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  33. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  35. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  36. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  39. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  40. package/coverage/lcov-report/api/index.html +1 -1
  41. package/coverage/lcov-report/api/index.js.html +1 -1
  42. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  43. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  44. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  45. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  46. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  47. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  48. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/index.html +1 -1
  52. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/utils/index.html +1 -1
  66. package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  69. package/coverage/lcov-report/automations/actions.js.html +1 -1
  70. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  71. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  72. package/coverage/lcov-report/automations/index.html +1 -1
  73. package/coverage/lcov-report/automations/index.js.html +1 -1
  74. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  75. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  76. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  77. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  78. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  79. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  80. package/coverage/lcov-report/automations/steps/index.html +1 -1
  81. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  82. package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
  83. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  91. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  92. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  93. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  94. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  95. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  96. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  97. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  98. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  99. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  100. package/coverage/lcov-report/constants/index.html +1 -1
  101. package/coverage/lcov-report/constants/index.js.html +1 -1
  102. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  103. package/coverage/lcov-report/constants/screens.js.html +1 -1
  104. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  105. package/coverage/lcov-report/db/index.html +1 -1
  106. package/coverage/lcov-report/db/index.js.html +1 -1
  107. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  108. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  109. package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
  110. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  111. package/coverage/lcov-report/db/newid.js.html +1 -1
  112. package/coverage/lcov-report/db/utils.js.html +1 -1
  113. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  114. package/coverage/lcov-report/events/index.html +1 -1
  115. package/coverage/lcov-report/events/index.js.html +1 -1
  116. package/coverage/lcov-report/events/utils.js.html +1 -1
  117. package/coverage/lcov-report/index.html +25 -25
  118. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  119. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  120. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  121. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  122. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  123. package/coverage/lcov-report/middleware/index.html +1 -1
  124. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  125. package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
  126. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  127. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  128. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  129. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  130. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  131. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  132. package/coverage/lcov-report/utilities/global.js.html +1 -1
  133. package/coverage/lcov-report/utilities/index.html +1 -1
  134. package/coverage/lcov-report/utilities/index.js.html +1 -1
  135. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  136. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  137. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  138. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  139. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  140. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
  141. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  142. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  143. package/coverage/lcov-report/utilities/security.js.html +1 -1
  144. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  145. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  146. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  147. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  148. package/coverage/lcov-report/utilities/users.js.html +1 -1
  149. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  150. package/coverage/lcov.info +403 -393
  151. package/dist/api/controllers/datasource.js +17 -11
  152. package/dist/api/controllers/row/internalSearch.js +4 -1
  153. package/dist/package.json +6 -6
  154. package/dist/tsconfig.build.tsbuildinfo +1 -1
  155. package/package.json +7 -7
  156. package/src/api/controllers/datasource.js +20 -13
  157. package/src/api/controllers/row/internalSearch.js +4 -1
@@ -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.e969ba05.js"></script>
13
+ <script type="module" crossorigin src="/builder/assets/index.e349ec0e.js"></script>
14
14
  <link rel="stylesheet" href="/builder/assets/index.dfa4073c.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="1664876829873" clover="3.2.0">
3
- <project timestamp="1664876829873" name="All files">
4
- <metrics statements="4106" coveredstatements="2991" conditionals="1763" coveredconditionals="966" methods="611" coveredmethods="429" elements="6480" coveredelements="4386" complexity="0" loc="4106" ncloc="4106" packages="22" files="122" classes="122"/>
2
+ <coverage generated="1664889606217" clover="3.2.0">
3
+ <project timestamp="1664889606217" name="All files">
4
+ <metrics statements="4111" coveredstatements="2993" conditionals="1766" coveredconditionals="970" methods="612" coveredmethods="429" elements="6489" coveredelements="4392" complexity="0" loc="4111" ncloc="4111" packages="22" files="122" classes="122"/>
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="899" coveredstatements="630" conditionals="280" coveredconditionals="125" methods="133" coveredmethods="87"/>
47
+ <metrics statements="902" coveredstatements="631" conditionals="278" coveredconditionals="125" methods="134" coveredmethods="87"/>
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"/>
@@ -282,7 +282,7 @@
282
282
  <line num="107" count="0" type="stmt"/>
283
283
  </file>
284
284
  <file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/datasource.js">
285
- <metrics statements="141" coveredstatements="82" conditionals="61" coveredconditionals="20" methods="20" coveredmethods="11"/>
285
+ <metrics statements="144" coveredstatements="83" conditionals="59" coveredconditionals="20" methods="21" coveredmethods="11"/>
286
286
  <line num="8" count="45" type="stmt"/>
287
287
  <line num="9" count="45" type="stmt"/>
288
288
  <line num="10" count="45" type="stmt"/>
@@ -316,114 +316,117 @@
316
316
  <line num="68" count="0" type="stmt"/>
317
317
  <line num="71" count="0" type="stmt"/>
318
318
  <line num="72" count="0" type="stmt"/>
319
- <line num="74" count="0" type="stmt"/>
320
- <line num="75" count="0" type="cond" truecount="0" falsecount="2"/>
321
- <line num="76" count="0" type="stmt"/>
322
- <line num="78" count="0" type="stmt"/>
323
- <line num="84" count="45" type="stmt"/>
324
- <line num="85" count="6" type="stmt"/>
325
- <line num="86" count="6" type="stmt"/>
326
- <line num="87" count="6" type="stmt"/>
327
- <line num="89" count="6" type="cond" truecount="2" falsecount="0"/>
328
- <line num="90" count="5" type="stmt"/>
329
- <line num="93" count="1" type="cond" truecount="1" falsecount="1"/>
319
+ <line num="73" count="0" type="stmt"/>
320
+ <line num="75" count="0" type="stmt"/>
321
+ <line num="76" count="0" type="cond" truecount="0" falsecount="2"/>
322
+ <line num="77" count="0" type="stmt"/>
323
+ <line num="79" count="0" type="stmt"/>
324
+ <line num="85" count="45" type="stmt"/>
325
+ <line num="87" count="0" type="stmt"/>
326
+ <line num="88" count="0" type="cond" truecount="0" falsecount="2"/>
327
+ <line num="89" count="0" type="stmt"/>
328
+ <line num="91" count="0" type="stmt"/>
329
+ <line num="92" count="0" type="stmt"/>
330
+ <line num="94" count="0" type="cond" truecount="0" falsecount="2"/>
330
331
  <line num="95" count="0" type="stmt"/>
331
- <line num="98" count="1" type="stmt"/>
332
- <line num="99" count="1" type="stmt"/>
333
- <line num="101" count="0" type="cond" truecount="0" falsecount="3"/>
334
- <line num="105" count="1" type="cond" truecount="1" falsecount="1"/>
335
- <line num="106" count="1" type="stmt"/>
336
- <line num="110" count="1" type="stmt"/>
337
- <line num="113" count="45" type="stmt"/>
338
- <line num="114" count="6" type="stmt"/>
339
- <line num="115" count="6" type="stmt"/>
340
- <line num="116" count="6" type="stmt"/>
341
- <line num="117" count="6" type="stmt"/>
342
- <line num="118" count="6" type="stmt"/>
343
- <line num="119" count="6" type="stmt"/>
344
- <line num="120" count="6" type="cond" truecount="2" falsecount="2"/>
345
- <line num="122" count="0" type="stmt"/>
346
- <line num="125" count="6" type="stmt"/>
347
- <line num="126" count="6" type="stmt"/>
348
- <line num="127" count="6" type="stmt"/>
349
- <line num="130" count="6" type="cond" truecount="1" falsecount="1"/>
350
- <line num="131" count="6" type="stmt"/>
351
- <line num="132" count="6" type="cond" truecount="3" falsecount="1"/>
352
- <line num="133" count="0" type="stmt"/>
332
+ <line num="103" count="45" type="stmt"/>
333
+ <line num="104" count="6" type="stmt"/>
334
+ <line num="105" count="6" type="stmt"/>
335
+ <line num="106" count="6" type="stmt"/>
336
+ <line num="108" count="6" type="cond" truecount="2" falsecount="0"/>
337
+ <line num="109" count="5" type="stmt"/>
338
+ <line num="112" count="1" type="cond" truecount="1" falsecount="1"/>
339
+ <line num="114" count="0" type="stmt"/>
340
+ <line num="117" count="1" type="stmt"/>
341
+ <line num="118" count="1" type="stmt"/>
342
+ <line num="120" count="0" type="cond" truecount="0" falsecount="3"/>
343
+ <line num="124" count="1" type="cond" truecount="1" falsecount="1"/>
344
+ <line num="125" count="1" type="stmt"/>
345
+ <line num="129" count="1" type="stmt"/>
346
+ <line num="132" count="45" type="stmt"/>
347
+ <line num="133" count="6" type="stmt"/>
348
+ <line num="134" count="6" type="stmt"/>
349
+ <line num="135" count="6" type="stmt"/>
350
+ <line num="136" count="6" type="stmt"/>
353
351
  <line num="137" count="6" type="stmt"/>
354
352
  <line num="138" count="6" type="stmt"/>
355
- <line num="139" count="6" type="stmt"/>
356
- <line num="142" count="45" type="stmt"/>
357
- <line num="143" count="64" type="stmt"/>
358
- <line num="144" count="64" type="stmt"/>
359
- <line num="145" count="64" type="stmt"/>
360
- <line num="147" count="64" type="stmt"/>
361
- <line num="153" count="64" type="stmt"/>
362
- <line num="154" count="64" type="cond" truecount="1" falsecount="1"/>
363
- <line num="155" count="0" type="stmt"/>
364
- <line num="156" count="0" type="stmt"/>
365
- <line num="157" count="0" type="stmt"/>
366
- <line num="160" count="64" type="stmt"/>
367
- <line num="161" count="64" type="stmt"/>
353
+ <line num="139" count="6" type="cond" truecount="2" falsecount="2"/>
354
+ <line num="141" count="0" type="stmt"/>
355
+ <line num="144" count="6" type="stmt"/>
356
+ <line num="145" count="6" type="stmt"/>
357
+ <line num="146" count="6" type="stmt"/>
358
+ <line num="149" count="6" type="cond" truecount="1" falsecount="1"/>
359
+ <line num="150" count="6" type="stmt"/>
360
+ <line num="151" count="6" type="cond" truecount="3" falsecount="1"/>
361
+ <line num="152" count="0" type="stmt"/>
362
+ <line num="156" count="6" type="stmt"/>
363
+ <line num="157" count="6" type="stmt"/>
364
+ <line num="158" count="6" type="stmt"/>
365
+ <line num="161" count="45" type="stmt"/>
368
366
  <line num="162" count="64" type="stmt"/>
369
- <line num="165" count="64" type="cond" truecount="1" falsecount="1"/>
367
+ <line num="163" count="64" type="stmt"/>
368
+ <line num="164" count="64" type="stmt"/>
370
369
  <line num="166" count="64" type="stmt"/>
371
- <line num="167" count="63" type="cond" truecount="3" falsecount="1"/>
372
- <line num="168" count="0" type="stmt"/>
373
- <line num="172" count="63" type="stmt"/>
374
- <line num="173" count="63" type="cond" truecount="1" falsecount="1"/>
370
+ <line num="172" count="64" type="stmt"/>
371
+ <line num="173" count="64" type="cond" truecount="1" falsecount="1"/>
375
372
  <line num="174" count="0" type="stmt"/>
376
- <line num="176" count="63" type="stmt"/>
377
- <line num="179" count="45" type="stmt"/>
378
- <line num="180" count="1" type="stmt"/>
379
- <line num="181" count="1" type="stmt"/>
380
- <line num="183" count="1" type="stmt"/>
381
- <line num="185" count="1" type="stmt"/>
382
- <line num="186" count="1" type="stmt"/>
383
- <line num="187" count="1" type="stmt"/>
384
- <line num="195" count="1" type="stmt"/>
385
- <line num="196" count="1" type="stmt"/>
386
- <line num="198" count="1" type="stmt"/>
387
- <line num="199" count="1" type="stmt"/>
388
- <line num="202" count="45" type="stmt"/>
373
+ <line num="175" count="0" type="stmt"/>
374
+ <line num="176" count="0" type="stmt"/>
375
+ <line num="177" count="0" type="stmt"/>
376
+ <line num="180" count="64" type="stmt"/>
377
+ <line num="181" count="64" type="stmt"/>
378
+ <line num="182" count="64" type="stmt"/>
379
+ <line num="185" count="64" type="cond" truecount="1" falsecount="1"/>
380
+ <line num="186" count="64" type="stmt"/>
381
+ <line num="187" count="63" type="cond" truecount="3" falsecount="1"/>
382
+ <line num="188" count="0" type="stmt"/>
383
+ <line num="192" count="63" type="stmt"/>
384
+ <line num="193" count="63" type="cond" truecount="1" falsecount="1"/>
385
+ <line num="194" count="0" type="stmt"/>
386
+ <line num="196" count="63" type="stmt"/>
387
+ <line num="199" count="45" type="stmt"/>
388
+ <line num="200" count="1" type="stmt"/>
389
+ <line num="201" count="1" type="stmt"/>
389
390
  <line num="203" count="1" type="stmt"/>
390
- <line num="204" count="1" type="stmt"/>
391
- <line num="208" count="45" type="stmt"/>
392
- <line num="209" count="1" type="stmt"/>
393
- <line num="210" count="1" type="stmt"/>
394
- <line num="211" count="1" type="stmt"/>
395
- <line num="213" count="0" type="stmt"/>
396
- <line num="218" count="0" type="stmt"/>
397
- <line num="219" count="0" type="stmt"/>
398
- <line num="220" count="0" type="stmt"/>
399
- <line num="224" count="0" type="cond" truecount="0" falsecount="2"/>
400
- <line num="225" count="0" type="stmt"/>
401
- <line num="227" count="0" type="cond" truecount="0" falsecount="2"/>
402
- <line num="228" count="0" type="stmt"/>
403
- <line num="230" count="0" type="stmt"/>
404
- <line num="231" count="0" type="stmt"/>
405
- <line num="234" count="45" type="stmt"/>
406
- <line num="235" count="0" type="stmt"/>
391
+ <line num="205" count="1" type="stmt"/>
392
+ <line num="206" count="1" type="stmt"/>
393
+ <line num="207" count="1" type="stmt"/>
394
+ <line num="215" count="1" type="stmt"/>
395
+ <line num="216" count="1" type="stmt"/>
396
+ <line num="218" count="1" type="stmt"/>
397
+ <line num="219" count="1" type="stmt"/>
398
+ <line num="222" count="45" type="stmt"/>
399
+ <line num="223" count="1" type="stmt"/>
400
+ <line num="224" count="1" type="stmt"/>
401
+ <line num="228" count="45" type="stmt"/>
402
+ <line num="229" count="1" type="stmt"/>
403
+ <line num="230" count="1" type="stmt"/>
404
+ <line num="231" count="1" type="stmt"/>
405
+ <line num="233" count="0" type="stmt"/>
407
406
  <line num="238" count="0" type="stmt"/>
408
407
  <line num="239" count="0" type="stmt"/>
409
- <line num="242" count="0" type="cond" truecount="0" falsecount="2"/>
410
- <line num="243" count="0" type="cond" truecount="0" falsecount="2"/>
411
- <line num="244" count="0" type="stmt"/>
412
- <line num="246" count="0" type="stmt"/>
413
- <line num="247" count="0" type="stmt"/>
414
- <line num="249" count="0" type="cond" truecount="0" falsecount="2"/>
408
+ <line num="240" count="0" type="stmt"/>
409
+ <line num="244" count="0" type="cond" truecount="0" falsecount="2"/>
410
+ <line num="245" count="0" type="stmt"/>
411
+ <line num="247" count="0" type="cond" truecount="0" falsecount="2"/>
412
+ <line num="248" count="0" type="stmt"/>
415
413
  <line num="250" count="0" type="stmt"/>
416
- <line num="254" count="0" type="stmt"/>
414
+ <line num="251" count="0" type="stmt"/>
415
+ <line num="254" count="45" type="stmt"/>
417
416
  <line num="255" count="0" type="stmt"/>
418
- <line num="256" count="0" type="cond" truecount="0" falsecount="4"/>
419
- <line num="257" count="0" type="stmt"/>
420
417
  <line num="258" count="0" type="stmt"/>
421
- <line num="259" count="0" type="cond" truecount="0" falsecount="2"/>
422
- <line num="260" count="0" type="stmt"/>
418
+ <line num="259" count="0" type="stmt"/>
419
+ <line num="261" count="0" type="stmt"/>
420
+ <line num="262" count="0" type="stmt"/>
421
+ <line num="263" count="0" type="cond" truecount="0" falsecount="4"/>
422
+ <line num="264" count="0" type="stmt"/>
423
+ <line num="265" count="0" type="stmt"/>
423
424
  <line num="266" count="0" type="cond" truecount="0" falsecount="2"/>
424
425
  <line num="267" count="0" type="stmt"/>
425
- <line num="268" count="0" type="stmt"/>
426
+ <line num="273" count="0" type="cond" truecount="0" falsecount="2"/>
427
+ <line num="274" count="0" type="stmt"/>
426
428
  <line num="275" count="0" type="stmt"/>
429
+ <line num="282" count="0" type="stmt"/>
427
430
  </file>
428
431
  <file name="dev.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/dev.js">
429
432
  <metrics statements="70" coveredstatements="42" conditionals="17" coveredconditionals="5" methods="10" coveredmethods="5"/>
@@ -1012,7 +1015,7 @@
1012
1015
  </file>
1013
1016
  </package>
1014
1017
  <package name="api.controllers.row">
1015
- <metrics statements="665" coveredstatements="432" conditionals="317" coveredconditionals="152" methods="94" coveredmethods="58"/>
1018
+ <metrics statements="667" coveredstatements="433" conditionals="322" coveredconditionals="156" methods="94" coveredmethods="58"/>
1016
1019
  <file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
1017
1020
  <metrics statements="120" coveredstatements="18" conditionals="54" coveredconditionals="0" methods="15" coveredmethods="0"/>
1018
1021
  <line num="6" count="45" type="stmt"/>
@@ -1361,7 +1364,7 @@
1361
1364
  <line num="468" count="2" type="stmt"/>
1362
1365
  </file>
1363
1366
  <file name="internalSearch.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internalSearch.js">
1364
- <metrics statements="206" coveredstatements="162" conditionals="128" coveredconditionals="88" methods="41" coveredmethods="28"/>
1367
+ <metrics statements="208" coveredstatements="163" conditionals="133" coveredconditionals="92" methods="41" coveredmethods="28"/>
1365
1368
  <line num="1" count="45" type="stmt"/>
1366
1369
  <line num="2" count="45" type="stmt"/>
1367
1370
  <line num="3" count="45" type="stmt"/>
@@ -1421,84 +1424,84 @@
1421
1424
  <line num="154" count="61" type="cond" truecount="2" falsecount="0"/>
1422
1425
  <line num="157" count="148" type="cond" truecount="4" falsecount="0"/>
1423
1426
  <line num="158" count="138" type="stmt"/>
1424
- <line num="161" count="148" type="cond" truecount="4" falsecount="0"/>
1425
- <line num="162" count="58" type="cond" truecount="2" falsecount="0"/>
1426
- <line num="164" count="148" type="stmt"/>
1427
- <line num="168" count="31" type="stmt"/>
1428
- <line num="169" count="31" type="cond" truecount="2" falsecount="0"/>
1429
- <line num="170" count="31" type="cond" truecount="2" falsecount="0"/>
1427
+ <line num="162" count="148" type="cond" truecount="4" falsecount="1"/>
1428
+ <line num="163" count="0" type="stmt"/>
1429
+ <line num="164" count="148" type="cond" truecount="4" falsecount="0"/>
1430
+ <line num="165" count="58" type="cond" truecount="2" falsecount="0"/>
1431
+ <line num="167" count="148" type="stmt"/>
1430
1432
  <line num="171" count="31" type="stmt"/>
1431
- <line num="173" count="31" type="cond" truecount="1" falsecount="1"/>
1433
+ <line num="172" count="31" type="cond" truecount="2" falsecount="0"/>
1434
+ <line num="173" count="31" type="cond" truecount="2" falsecount="0"/>
1432
1435
  <line num="174" count="31" type="stmt"/>
1433
- <line num="175" count="31" type="stmt"/>
1436
+ <line num="176" count="31" type="cond" truecount="1" falsecount="1"/>
1437
+ <line num="177" count="31" type="stmt"/>
1434
1438
  <line num="178" count="31" type="stmt"/>
1435
- <line num="180" count="45" type="cond" truecount="2" falsecount="2"/>
1436
- <line num="181" count="0" type="stmt"/>
1437
- <line num="183" count="45" type="stmt"/>
1438
- <line num="186" count="31" type="cond" truecount="1" falsecount="0"/>
1439
- <line num="187" count="8" type="cond" truecount="3" falsecount="1"/>
1440
- <line num="188" count="0" type="stmt"/>
1441
- <line num="190" count="8" type="cond" truecount="2" falsecount="0"/>
1442
- <line num="191" count="2" type="stmt"/>
1443
- <line num="193" count="6" type="stmt"/>
1444
- <line num="194" count="6" type="stmt"/>
1445
- <line num="195" count="12" type="stmt"/>
1446
- <line num="199" count="6" type="stmt"/>
1447
- <line num="202" count="31" type="stmt"/>
1448
- <line num="203" count="2" type="cond" truecount="1" falsecount="1"/>
1449
- <line num="204" count="2" type="stmt"/>
1450
- <line num="207" count="31" type="stmt"/>
1451
- <line num="208" count="2" type="stmt"/>
1452
- <line num="211" count="31" type="stmt"/>
1453
- <line num="212" count="2" type="cond" truecount="1" falsecount="1"/>
1454
- <line num="213" count="0" type="cond" truecount="0" falsecount="2"/>
1455
- <line num="214" count="0" type="stmt"/>
1456
- <line num="216" count="0" type="stmt"/>
1457
- <line num="219" count="2" type="stmt"/>
1458
- <line num="220" count="2" type="stmt"/>
1459
- <line num="221" count="2" type="stmt"/>
1460
- <line num="226" count="2" type="stmt"/>
1461
- <line num="230" count="372" type="stmt"/>
1462
- <line num="232" count="69" type="stmt"/>
1463
- <line num="233" count="69" type="stmt"/>
1439
+ <line num="181" count="31" type="stmt"/>
1440
+ <line num="183" count="45" type="cond" truecount="2" falsecount="2"/>
1441
+ <line num="184" count="0" type="stmt"/>
1442
+ <line num="186" count="45" type="stmt"/>
1443
+ <line num="189" count="31" type="cond" truecount="1" falsecount="0"/>
1444
+ <line num="190" count="8" type="cond" truecount="3" falsecount="1"/>
1445
+ <line num="191" count="0" type="stmt"/>
1446
+ <line num="193" count="8" type="cond" truecount="2" falsecount="0"/>
1447
+ <line num="194" count="2" type="stmt"/>
1448
+ <line num="196" count="6" type="stmt"/>
1449
+ <line num="197" count="6" type="stmt"/>
1450
+ <line num="198" count="12" type="stmt"/>
1451
+ <line num="202" count="6" type="stmt"/>
1452
+ <line num="205" count="31" type="stmt"/>
1453
+ <line num="206" count="2" type="cond" truecount="1" falsecount="1"/>
1454
+ <line num="207" count="2" type="stmt"/>
1455
+ <line num="210" count="31" type="stmt"/>
1456
+ <line num="211" count="2" type="stmt"/>
1457
+ <line num="214" count="31" type="stmt"/>
1458
+ <line num="215" count="2" type="cond" truecount="1" falsecount="1"/>
1459
+ <line num="216" count="0" type="cond" truecount="0" falsecount="2"/>
1460
+ <line num="217" count="0" type="stmt"/>
1461
+ <line num="219" count="0" type="stmt"/>
1462
+ <line num="222" count="2" type="stmt"/>
1463
+ <line num="223" count="2" type="stmt"/>
1464
+ <line num="224" count="2" type="stmt"/>
1465
+ <line num="229" count="2" type="stmt"/>
1466
+ <line num="233" count="372" type="stmt"/>
1467
+ <line num="235" count="69" type="stmt"/>
1464
1468
  <line num="236" count="69" type="stmt"/>
1465
- <line num="237" count="69" type="cond" truecount="1" falsecount="1"/>
1466
- <line num="238" count="0" type="stmt"/>
1467
- <line num="240" count="69" type="cond" truecount="2" falsecount="0"/>
1468
- <line num="241" count="65" type="cond" truecount="2" falsecount="0"/>
1469
- <line num="243" count="69" type="stmt"/>
1470
- <line num="248" count="31" type="cond" truecount="1" falsecount="1"/>
1471
- <line num="249" count="31" type="stmt"/>
1472
- <line num="250" count="2" type="cond" truecount="1" falsecount="1"/>
1473
- <line num="251" count="0" type="stmt"/>
1474
- <line num="253" count="2" type="stmt"/>
1475
- <line num="257" count="2" type="stmt"/>
1476
- <line num="260" count="31" type="cond" truecount="1" falsecount="1"/>
1477
- <line num="261" count="31" type="stmt"/>
1478
- <line num="262" count="2" type="cond" truecount="1" falsecount="1"/>
1479
- <line num="263" count="0" type="stmt"/>
1480
- <line num="265" count="2" type="cond" truecount="3" falsecount="1"/>
1469
+ <line num="239" count="69" type="stmt"/>
1470
+ <line num="240" count="69" type="cond" truecount="1" falsecount="1"/>
1471
+ <line num="241" count="0" type="stmt"/>
1472
+ <line num="243" count="69" type="cond" truecount="2" falsecount="0"/>
1473
+ <line num="244" count="65" type="cond" truecount="2" falsecount="0"/>
1474
+ <line num="246" count="69" type="stmt"/>
1475
+ <line num="251" count="31" type="cond" truecount="1" falsecount="1"/>
1476
+ <line num="252" count="31" type="stmt"/>
1477
+ <line num="253" count="2" type="cond" truecount="1" falsecount="1"/>
1478
+ <line num="254" count="0" type="stmt"/>
1479
+ <line num="256" count="2" type="stmt"/>
1480
+ <line num="260" count="2" type="stmt"/>
1481
+ <line num="263" count="31" type="cond" truecount="1" falsecount="1"/>
1482
+ <line num="264" count="31" type="stmt"/>
1483
+ <line num="265" count="2" type="cond" truecount="1" falsecount="1"/>
1481
1484
  <line num="266" count="0" type="stmt"/>
1482
1485
  <line num="268" count="2" type="cond" truecount="3" falsecount="1"/>
1483
1486
  <line num="269" count="0" type="stmt"/>
1484
- <line num="271" count="2" type="stmt"/>
1485
- <line num="272" count="2" type="stmt"/>
1486
- <line num="273" count="2" type="stmt"/>
1487
- <line num="276" count="31" type="cond" truecount="1" falsecount="1"/>
1488
- <line num="277" count="31" type="stmt"/>
1489
- <line num="278" count="0" type="cond" truecount="0" falsecount="2"/>
1490
- <line num="279" count="0" type="stmt"/>
1491
- <line num="281" count="0" type="stmt"/>
1492
- <line num="285" count="0" type="stmt"/>
1493
- <line num="288" count="31" type="cond" truecount="1" falsecount="1"/>
1494
- <line num="289" count="31" type="stmt"/>
1487
+ <line num="271" count="2" type="cond" truecount="3" falsecount="1"/>
1488
+ <line num="272" count="0" type="stmt"/>
1489
+ <line num="274" count="2" type="stmt"/>
1490
+ <line num="275" count="2" type="stmt"/>
1491
+ <line num="276" count="2" type="stmt"/>
1492
+ <line num="279" count="31" type="cond" truecount="1" falsecount="1"/>
1493
+ <line num="280" count="31" type="stmt"/>
1494
+ <line num="281" count="0" type="cond" truecount="0" falsecount="2"/>
1495
+ <line num="282" count="0" type="stmt"/>
1496
+ <line num="284" count="0" type="stmt"/>
1497
+ <line num="288" count="0" type="stmt"/>
1495
1498
  <line num="291" count="31" type="cond" truecount="1" falsecount="1"/>
1496
1499
  <line num="292" count="31" type="stmt"/>
1497
- <line num="293" count="6" type="cond" truecount="1" falsecount="1"/>
1498
- <line num="294" count="0" type="stmt"/>
1499
- <line num="296" count="6" type="stmt"/>
1500
- <line num="299" count="31" type="cond" truecount="1" falsecount="1"/>
1501
- <line num="300" count="31" type="stmt"/>
1500
+ <line num="294" count="31" type="cond" truecount="1" falsecount="1"/>
1501
+ <line num="295" count="31" type="stmt"/>
1502
+ <line num="296" count="6" type="cond" truecount="1" falsecount="1"/>
1503
+ <line num="297" count="0" type="stmt"/>
1504
+ <line num="299" count="6" type="stmt"/>
1502
1505
  <line num="302" count="31" type="cond" truecount="1" falsecount="1"/>
1503
1506
  <line num="303" count="31" type="stmt"/>
1504
1507
  <line num="305" count="31" type="cond" truecount="1" falsecount="1"/>
@@ -1509,65 +1512,67 @@
1509
1512
  <line num="312" count="31" type="stmt"/>
1510
1513
  <line num="314" count="31" type="cond" truecount="1" falsecount="1"/>
1511
1514
  <line num="315" count="31" type="stmt"/>
1512
- <line num="318" count="31" type="cond" truecount="1" falsecount="1"/>
1513
- <line num="319" count="31" type="stmt"/>
1514
- <line num="320" count="31" type="stmt"/>
1515
- <line num="321" count="31" type="stmt"/>
1515
+ <line num="317" count="31" type="cond" truecount="1" falsecount="1"/>
1516
+ <line num="318" count="31" type="stmt"/>
1517
+ <line num="321" count="31" type="cond" truecount="1" falsecount="1"/>
1518
+ <line num="322" count="31" type="stmt"/>
1516
1519
  <line num="323" count="31" type="stmt"/>
1517
- <line num="327" count="31" type="stmt"/>
1518
- <line num="332" count="31" type="cond" truecount="2" falsecount="0"/>
1519
- <line num="333" count="16" type="stmt"/>
1520
+ <line num="324" count="31" type="stmt"/>
1521
+ <line num="326" count="31" type="stmt"/>
1522
+ <line num="330" count="31" type="stmt"/>
1520
1523
  <line num="335" count="31" type="cond" truecount="2" falsecount="0"/>
1521
- <line num="336" count="2" type="cond" truecount="1" falsecount="1"/>
1522
- <line num="337" count="2" type="stmt"/>
1523
- <line num="338" count="2" type="stmt"/>
1524
- <line num="340" count="31" type="stmt"/>
1525
- <line num="344" count="31" type="stmt"/>
1526
- <line num="345" count="31" type="stmt"/>
1527
- <line num="346" count="31" type="stmt"/>
1524
+ <line num="336" count="16" type="stmt"/>
1525
+ <line num="338" count="31" type="cond" truecount="2" falsecount="0"/>
1526
+ <line num="339" count="2" type="cond" truecount="1" falsecount="1"/>
1527
+ <line num="340" count="2" type="stmt"/>
1528
+ <line num="341" count="2" type="stmt"/>
1529
+ <line num="343" count="31" type="stmt"/>
1528
1530
  <line num="347" count="31" type="stmt"/>
1529
1531
  <line num="348" count="31" type="stmt"/>
1530
- <line num="353" count="45" type="stmt"/>
1531
- <line num="362" count="45" type="stmt"/>
1532
- <line num="363" count="31" type="stmt"/>
1533
- <line num="370" count="31" type="stmt"/>
1534
- <line num="372" count="31" type="stmt"/>
1535
- <line num="375" count="31" type="cond" truecount="3" falsecount="1"/>
1536
- <line num="376" count="31" type="stmt"/>
1537
- <line num="378" count="31" type="cond" truecount="1" falsecount="1"/>
1532
+ <line num="349" count="31" type="stmt"/>
1533
+ <line num="350" count="31" type="stmt"/>
1534
+ <line num="351" count="31" type="stmt"/>
1535
+ <line num="356" count="45" type="stmt"/>
1536
+ <line num="365" count="45" type="stmt"/>
1537
+ <line num="366" count="31" type="stmt"/>
1538
+ <line num="373" count="31" type="stmt"/>
1539
+ <line num="375" count="31" type="stmt"/>
1540
+ <line num="378" count="31" type="cond" truecount="3" falsecount="1"/>
1538
1541
  <line num="379" count="31" type="stmt"/>
1539
- <line num="381" count="31" type="stmt"/>
1540
- <line num="400" count="45" type="stmt"/>
1541
- <line num="401" count="1" type="stmt"/>
1542
- <line num="402" count="1" type="cond" truecount="2" falsecount="0"/>
1543
- <line num="403" count="1" type="cond" truecount="1" falsecount="1"/>
1544
- <line num="404" count="0" type="stmt"/>
1545
- <line num="406" count="1" type="stmt"/>
1546
- <line num="407" count="1" type="cond" truecount="1" falsecount="1"/>
1547
- <line num="408" count="0" type="stmt"/>
1548
- <line num="410" count="1" type="stmt"/>
1549
- <line num="419" count="1" type="cond" truecount="1" falsecount="1"/>
1550
- <line num="420" count="0" type="stmt"/>
1542
+ <line num="381" count="31" type="cond" truecount="1" falsecount="1"/>
1543
+ <line num="382" count="31" type="stmt"/>
1544
+ <line num="384" count="31" type="stmt"/>
1545
+ <line num="403" count="45" type="stmt"/>
1546
+ <line num="404" count="1" type="stmt"/>
1547
+ <line num="405" count="1" type="cond" truecount="2" falsecount="0"/>
1548
+ <line num="406" count="1" type="cond" truecount="1" falsecount="1"/>
1549
+ <line num="407" count="0" type="stmt"/>
1550
+ <line num="409" count="1" type="stmt"/>
1551
+ <line num="410" count="1" type="cond" truecount="1" falsecount="1"/>
1552
+ <line num="411" count="0" type="stmt"/>
1553
+ <line num="413" count="1" type="stmt"/>
1551
1554
  <line num="422" count="1" type="cond" truecount="1" falsecount="1"/>
1552
- <line num="423" count="1" type="stmt"/>
1553
- <line num="425" count="0" type="stmt"/>
1554
- <line num="430" count="0" type="stmt"/>
1555
- <line num="448" count="45" type="stmt"/>
1556
- <line num="449" count="15" type="stmt"/>
1557
- <line num="450" count="15" type="cond" truecount="5" falsecount="0"/>
1558
- <line num="451" count="14" type="stmt"/>
1559
- <line num="453" count="15" type="stmt"/>
1560
- <line num="454" count="15" type="stmt"/>
1561
- <line num="460" count="15" type="stmt"/>
1562
- <line num="467" count="15" type="stmt"/>
1563
- <line num="473" count="15" type="stmt"/>
1564
- <line num="494" count="45" type="stmt"/>
1565
- <line num="495" count="1" type="stmt"/>
1566
- <line num="496" count="1" type="cond" truecount="2" falsecount="3"/>
1567
- <line num="497" count="1" type="stmt"/>
1568
- <line num="499" count="1" type="stmt"/>
1555
+ <line num="423" count="0" type="stmt"/>
1556
+ <line num="425" count="1" type="cond" truecount="1" falsecount="1"/>
1557
+ <line num="426" count="1" type="stmt"/>
1558
+ <line num="428" count="0" type="stmt"/>
1559
+ <line num="433" count="0" type="stmt"/>
1560
+ <line num="451" count="45" type="stmt"/>
1561
+ <line num="452" count="15" type="stmt"/>
1562
+ <line num="453" count="15" type="cond" truecount="5" falsecount="0"/>
1563
+ <line num="454" count="14" type="stmt"/>
1564
+ <line num="456" count="15" type="stmt"/>
1565
+ <line num="457" count="15" type="stmt"/>
1566
+ <line num="463" count="15" type="stmt"/>
1567
+ <line num="470" count="15" type="stmt"/>
1568
+ <line num="476" count="15" type="stmt"/>
1569
+ <line num="497" count="45" type="stmt"/>
1570
+ <line num="498" count="1" type="stmt"/>
1571
+ <line num="499" count="1" type="cond" truecount="2" falsecount="3"/>
1569
1572
  <line num="500" count="1" type="stmt"/>
1570
- <line num="501" count="1" type="stmt"/>
1573
+ <line num="502" count="1" type="stmt"/>
1574
+ <line num="503" count="1" type="stmt"/>
1575
+ <line num="504" count="1" type="stmt"/>
1571
1576
  </file>
1572
1577
  <file name="staticFormula.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/staticFormula.js">
1573
1578
  <metrics statements="63" coveredstatements="23" conditionals="31" coveredconditionals="5" methods="6" coveredmethods="2"/>