@budibase/server 1.0.123-alpha.1 → 1.0.124

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 (175) hide show
  1. package/builder/assets/{index.3a7314b2.js → index.5351a3fb.js} +2 -2
  2. package/builder/index.html +1 -1
  3. package/coverage/clover.xml +180 -158
  4. package/coverage/coverage-final.json +4 -4
  5. package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  71. package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
  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 +5 -5
  106. package/coverage/lcov-report/constants/index.js.html +28 -4
  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 +9 -6
  113. package/coverage/lcov-report/db/linkedRows/index.html +10 -10
  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 +25 -25
  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/threads/automation.js.html +1 -1
  135. package/coverage/lcov-report/threads/index.html +1 -1
  136. package/coverage/lcov-report/threads/query.js.html +1 -1
  137. package/coverage/lcov-report/threads/utils.js.html +1 -1
  138. package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
  139. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  140. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  141. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  142. package/coverage/lcov-report/utilities/global.js.html +1 -1
  143. package/coverage/lcov-report/utilities/index.html +1 -1
  144. package/coverage/lcov-report/utilities/index.js.html +1 -1
  145. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  146. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  147. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  148. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  149. package/coverage/lcov-report/utilities/rowProcessor/index.html +25 -25
  150. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +31 -22
  151. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +94 -10
  152. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  153. package/coverage/lcov-report/utilities/security.js.html +1 -1
  154. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  155. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  156. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  157. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  158. package/coverage/lcov-report/utilities/users.js.html +1 -1
  159. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  160. package/coverage/lcov.info +332 -292
  161. package/dist/api/controllers/table/internal.js +21 -0
  162. package/dist/constants/index.js +7 -0
  163. package/dist/db/linkedRows/LinkController.js +1 -0
  164. package/dist/package.json +5 -5
  165. package/dist/tsconfig.build.tsbuildinfo +1 -1
  166. package/dist/utilities/rowProcessor/index.js +11 -6
  167. package/dist/utilities/rowProcessor/utils.js +27 -1
  168. package/package.json +6 -6
  169. package/src/api/controllers/table/internal.ts +27 -2
  170. package/src/api/routes/tests/routing.spec.js +0 -1
  171. package/src/constants/index.js +8 -0
  172. package/src/db/linkedRows/LinkController.js +1 -0
  173. package/src/definitions/common.ts +1 -0
  174. package/src/utilities/rowProcessor/index.js +12 -9
  175. package/src/utilities/rowProcessor/utils.js +29 -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.3a7314b2.js"></script>
13
+ <script type="module" crossorigin src="/builder/assets/index.5351a3fb.js"></script>
14
14
  <link rel="modulepreload" href="/builder/assets/vendor.5240f480.js">
15
15
  <link rel="stylesheet" href="/builder/assets/vendor.5e1fe644.css">
16
16
  <link rel="stylesheet" href="/builder/assets/index.89795487.css">
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1650997821967" clover="3.2.0">
3
- <project timestamp="1650997821968" name="All files">
4
- <metrics statements="4099" coveredstatements="2959" conditionals="1671" coveredconditionals="861" methods="612" coveredmethods="431" elements="6382" coveredelements="4251" complexity="0" loc="4099" ncloc="4099" packages="23" files="131" classes="131"/>
2
+ <coverage generated="1651013268692" clover="3.2.0">
3
+ <project timestamp="1651013268692" name="All files">
4
+ <metrics statements="4121" coveredstatements="2973" conditionals="1687" coveredconditionals="874" methods="613" coveredmethods="432" elements="6421" coveredelements="4279" complexity="0" loc="4121" ncloc="4121" packages="23" files="131" classes="131"/>
5
5
  <package name="api">
6
6
  <metrics statements="33" coveredstatements="31" 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">
@@ -2899,9 +2899,9 @@
2899
2899
  </file>
2900
2900
  </package>
2901
2901
  <package name="constants">
2902
- <metrics statements="34" coveredstatements="34" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
2902
+ <metrics statements="35" coveredstatements="35" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
2903
2903
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/index.js">
2904
- <metrics statements="27" coveredstatements="27" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
2904
+ <metrics statements="28" coveredstatements="28" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
2905
2905
  <line num="1" count="48" type="stmt"/>
2906
2906
  <line num="2" count="48" type="stmt"/>
2907
2907
  <line num="3" count="48" type="stmt"/>
@@ -2922,13 +2922,14 @@
2922
2922
  <line num="95" count="48" type="stmt"/>
2923
2923
  <line num="157" count="48" type="stmt"/>
2924
2924
  <line num="165" count="48" type="stmt"/>
2925
- <line num="166" count="48" type="stmt"/>
2926
2925
  <line num="173" count="48" type="stmt"/>
2927
- <line num="178" count="48" type="stmt"/>
2928
- <line num="184" count="48" type="stmt"/>
2929
- <line num="189" count="48" type="stmt"/>
2930
- <line num="193" count="48" type="stmt"/>
2931
- <line num="200" count="48" type="stmt"/>
2926
+ <line num="174" count="48" type="stmt"/>
2927
+ <line num="181" count="48" type="stmt"/>
2928
+ <line num="186" count="48" type="stmt"/>
2929
+ <line num="192" count="48" type="stmt"/>
2930
+ <line num="197" count="48" type="stmt"/>
2931
+ <line num="201" count="48" type="stmt"/>
2932
+ <line num="208" count="48" type="stmt"/>
2932
2933
  </file>
2933
2934
  <file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
2934
2935
  <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
@@ -3107,9 +3108,9 @@
3107
3108
  </file>
3108
3109
  </package>
3109
3110
  <package name="db.linkedRows">
3110
- <metrics statements="295" coveredstatements="283" conditionals="134" coveredconditionals="113" methods="60" coveredmethods="57"/>
3111
+ <metrics statements="296" coveredstatements="284" conditionals="134" coveredconditionals="113" methods="60" coveredmethods="57"/>
3111
3112
  <file name="LinkController.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/LinkController.js">
3112
- <metrics statements="150" coveredstatements="145" conditionals="68" coveredconditionals="60" methods="27" coveredmethods="24"/>
3113
+ <metrics statements="151" coveredstatements="146" conditionals="68" coveredconditionals="60" methods="27" coveredmethods="24"/>
3113
3114
  <line num="1" count="41" type="stmt"/>
3114
3115
  <line num="6" count="41" type="stmt"/>
3115
3116
  <line num="7" count="41" type="stmt"/>
@@ -3228,38 +3229,39 @@
3228
3229
  <line num="375" count="35" type="stmt"/>
3229
3230
  <line num="377" count="35" type="cond" truecount="2" falsecount="0"/>
3230
3231
  <line num="378" count="2" type="stmt"/>
3231
- <line num="382" count="35" type="stmt"/>
3232
- <line num="383" count="35" type="cond" truecount="2" falsecount="0"/>
3233
- <line num="387" count="1" type="stmt"/>
3234
- <line num="390" count="34" type="stmt"/>
3232
+ <line num="379" count="2" type="stmt"/>
3233
+ <line num="383" count="35" type="stmt"/>
3234
+ <line num="384" count="35" type="cond" truecount="2" falsecount="0"/>
3235
+ <line num="388" count="1" type="stmt"/>
3235
3236
  <line num="391" count="34" type="stmt"/>
3236
- <line num="393" count="34" type="cond" truecount="2" falsecount="0"/>
3237
- <line num="394" count="1" type="stmt"/>
3238
- <line num="398" count="20" type="stmt"/>
3239
- <line num="407" count="2" type="stmt"/>
3240
- <line num="409" count="2" type="stmt"/>
3237
+ <line num="392" count="34" type="stmt"/>
3238
+ <line num="394" count="34" type="cond" truecount="2" falsecount="0"/>
3239
+ <line num="395" count="1" type="stmt"/>
3240
+ <line num="399" count="20" type="stmt"/>
3241
+ <line num="408" count="2" type="stmt"/>
3241
3242
  <line num="410" count="2" type="stmt"/>
3242
- <line num="411" count="6" type="stmt"/>
3243
- <line num="413" count="6" type="cond" truecount="2" falsecount="0"/>
3244
- <line num="417" count="1" type="stmt"/>
3245
- <line num="421" count="2" type="stmt"/>
3246
- <line num="432" count="2" type="stmt"/>
3243
+ <line num="411" count="2" type="stmt"/>
3244
+ <line num="412" count="6" type="stmt"/>
3245
+ <line num="414" count="6" type="cond" truecount="2" falsecount="0"/>
3246
+ <line num="418" count="1" type="stmt"/>
3247
+ <line num="422" count="2" type="stmt"/>
3247
3248
  <line num="433" count="2" type="stmt"/>
3248
3249
  <line num="434" count="2" type="stmt"/>
3249
- <line num="435" count="7" type="stmt"/>
3250
+ <line num="435" count="2" type="stmt"/>
3250
3251
  <line num="436" count="7" type="stmt"/>
3251
- <line num="437" count="7" type="cond" truecount="2" falsecount="0"/>
3252
- <line num="438" count="3" type="stmt"/>
3252
+ <line num="437" count="7" type="stmt"/>
3253
+ <line num="438" count="7" type="cond" truecount="2" falsecount="0"/>
3253
3254
  <line num="439" count="3" type="stmt"/>
3254
3255
  <line num="440" count="3" type="stmt"/>
3255
- <line num="448" count="2" type="stmt"/>
3256
- <line num="449" count="2" type="cond" truecount="2" falsecount="0"/>
3257
- <line num="450" count="1" type="stmt"/>
3258
- <line num="453" count="1" type="stmt"/>
3256
+ <line num="441" count="3" type="stmt"/>
3257
+ <line num="449" count="2" type="stmt"/>
3258
+ <line num="450" count="2" type="cond" truecount="2" falsecount="0"/>
3259
+ <line num="451" count="1" type="stmt"/>
3259
3260
  <line num="454" count="1" type="stmt"/>
3260
- <line num="459" count="1" type="stmt"/>
3261
+ <line num="455" count="1" type="stmt"/>
3261
3262
  <line num="460" count="1" type="stmt"/>
3262
- <line num="464" count="41" type="stmt"/>
3263
+ <line num="461" count="1" type="stmt"/>
3264
+ <line num="465" count="41" type="stmt"/>
3263
3265
  </file>
3264
3266
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/index.js">
3265
3267
  <metrics statements="91" coveredstatements="88" conditionals="40" coveredconditionals="33" methods="20" coveredmethods="20"/>
@@ -4365,9 +4367,9 @@
4365
4367
  </file>
4366
4368
  </package>
4367
4369
  <package name="utilities.rowProcessor">
4368
- <metrics statements="141" coveredstatements="87" conditionals="118" coveredconditionals="52" methods="21" coveredmethods="11"/>
4370
+ <metrics statements="161" coveredstatements="99" conditionals="134" coveredconditionals="65" methods="22" coveredmethods="12"/>
4369
4371
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/index.js">
4370
- <metrics statements="124" coveredstatements="75" conditionals="100" coveredconditionals="43" methods="20" coveredmethods="10"/>
4372
+ <metrics statements="130" coveredstatements="79" conditionals="101" coveredconditionals="47" methods="20" coveredmethods="10"/>
4371
4373
  <line num="1" count="41" type="stmt"/>
4372
4374
  <line num="2" count="41" type="stmt"/>
4373
4375
  <line num="3" count="41" type="stmt"/>
@@ -4377,141 +4379,161 @@
4377
4379
  <line num="7" count="41" type="stmt"/>
4378
4380
  <line num="12" count="41" type="stmt"/>
4379
4381
  <line num="13" count="41" type="stmt"/>
4380
- <line num="15" count="41" type="stmt"/>
4381
- <line num="20" count="41" type="stmt"/>
4382
- <line num="26" count="11" type="cond" truecount="4" falsecount="0"/>
4383
- <line num="27" count="2" type="cond" truecount="3" falsecount="1"/>
4384
- <line num="29" count="9" type="cond" truecount="1" falsecount="1"/>
4385
- <line num="30" count="0" type="stmt"/>
4386
- <line num="32" count="9" type="stmt"/>
4387
- <line num="64" count="9" type="stmt"/>
4388
- <line num="71" count="2" type="cond" truecount="2" falsecount="0"/>
4389
- <line num="72" count="1" type="stmt"/>
4390
- <line num="74" count="1" type="stmt"/>
4391
- <line num="90" count="0" type="stmt"/>
4392
- <line num="94" count="0" type="stmt"/>
4393
- <line num="95" count="0" type="cond" truecount="0" falsecount="2"/>
4394
- <line num="96" count="0" type="stmt"/>
4395
- <line num="98" count="0" type="stmt"/>
4396
- <line num="100" count="0" type="stmt"/>
4397
- <line num="111" count="0" type="cond" truecount="0" falsecount="2"/>
4398
- <line num="112" count="0" type="stmt"/>
4399
- <line num="114" count="0" type="stmt"/>
4400
- <line num="116" count="0" type="cond" truecount="0" falsecount="2"/>
4401
- <line num="117" count="0" type="stmt"/>
4402
- <line num="119" count="0" type="stmt"/>
4382
+ <line num="14" count="41" type="stmt"/>
4383
+ <line num="16" count="41" type="stmt"/>
4384
+ <line num="21" count="41" type="stmt"/>
4385
+ <line num="27" count="11" type="cond" truecount="4" falsecount="0"/>
4386
+ <line num="28" count="2" type="cond" truecount="3" falsecount="1"/>
4387
+ <line num="30" count="9" type="cond" truecount="1" falsecount="1"/>
4388
+ <line num="31" count="0" type="stmt"/>
4389
+ <line num="33" count="9" type="stmt"/>
4390
+ <line num="65" count="9" type="stmt"/>
4391
+ <line num="72" count="2" type="cond" truecount="2" falsecount="0"/>
4392
+ <line num="73" count="1" type="stmt"/>
4393
+ <line num="75" count="1" type="stmt"/>
4394
+ <line num="91" count="0" type="stmt"/>
4395
+ <line num="95" count="0" type="stmt"/>
4396
+ <line num="96" count="0" type="cond" truecount="0" falsecount="2"/>
4397
+ <line num="97" count="0" type="stmt"/>
4398
+ <line num="99" count="0" type="stmt"/>
4399
+ <line num="101" count="0" type="stmt"/>
4400
+ <line num="112" count="0" type="cond" truecount="0" falsecount="2"/>
4401
+ <line num="113" count="0" type="stmt"/>
4402
+ <line num="115" count="0" type="stmt"/>
4403
+ <line num="117" count="0" type="cond" truecount="0" falsecount="2"/>
4404
+ <line num="118" count="0" type="stmt"/>
4403
4405
  <line num="120" count="0" type="stmt"/>
4404
- <line num="139" count="77" type="cond" truecount="2" falsecount="0"/>
4405
- <line num="140" count="77" type="stmt"/>
4406
+ <line num="121" count="0" type="stmt"/>
4407
+ <line num="140" count="77" type="cond" truecount="2" falsecount="0"/>
4408
+ <line num="141" count="77" type="stmt"/>
4406
4409
  <line num="142" count="77" type="stmt"/>
4407
- <line num="143" count="77" type="stmt"/>
4408
- <line num="144" count="214" type="cond" truecount="1" falsecount="1"/>
4409
- <line num="145" count="214" type="stmt"/>
4410
- <line num="147" count="0" type="cond" truecount="0" falsecount="5"/>
4411
- <line num="149" count="0" type="cond" truecount="0" falsecount="2"/>
4412
- <line num="155" count="0" type="stmt"/>
4413
- <line num="157" count="0" type="stmt"/>
4414
- <line num="159" count="0" type="cond" truecount="0" falsecount="2"/>
4410
+ <line num="144" count="77" type="stmt"/>
4411
+ <line num="147" count="77" type="cond" truecount="4" falsecount="0"/>
4412
+ <line num="148" count="77" type="stmt"/>
4413
+ <line num="149" count="214" type="cond" truecount="1" falsecount="1"/>
4414
+ <line num="150" count="214" type="stmt"/>
4415
+ <line num="152" count="0" type="cond" truecount="0" falsecount="2"/>
4416
+ <line num="153" count="0" type="stmt"/>
4417
+ <line num="155" count="0" type="cond" truecount="0" falsecount="5"/>
4418
+ <line num="157" count="0" type="cond" truecount="0" falsecount="4"/>
4419
+ <line num="158" count="0" type="stmt"/>
4415
4420
  <line num="160" count="0" type="stmt"/>
4416
- <line num="162" count="0" type="stmt"/>
4417
- <line num="164" count="0" type="cond" truecount="0" falsecount="5"/>
4421
+ <line num="162" count="0" type="cond" truecount="0" falsecount="2"/>
4422
+ <line num="163" count="0" type="stmt"/>
4418
4423
  <line num="165" count="0" type="stmt"/>
4419
- <line num="167" count="0" type="stmt"/>
4420
- <line num="169" count="0" type="stmt"/>
4424
+ <line num="167" count="0" type="cond" truecount="0" falsecount="2"/>
4425
+ <line num="168" count="0" type="stmt"/>
4421
4426
  <line num="170" count="0" type="stmt"/>
4422
- <line num="172" count="0" type="cond" truecount="0" falsecount="2"/>
4423
- <line num="173" count="0" type="cond" truecount="0" falsecount="2"/>
4424
- <line num="174" count="0" type="stmt"/>
4425
- <line num="176" count="0" type="stmt"/>
4426
- <line num="179" count="77" type="stmt"/>
4427
- <line num="181" count="41" type="stmt"/>
4428
- <line num="183" count="41" type="stmt"/>
4429
- <line num="191" count="41" type="stmt"/>
4430
- <line num="193" count="180" type="cond" truecount="1" falsecount="1"/>
4431
- <line num="194" count="0" type="stmt"/>
4432
- <line num="197" count="180" type="cond" truecount="2" falsecount="0"/>
4433
- <line num="198" count="16" type="stmt"/>
4434
- <line num="199" count="164" type="cond" truecount="2" falsecount="0"/>
4435
- <line num="200" count="22" type="stmt"/>
4436
- <line num="203" count="142" type="stmt"/>
4437
- <line num="215" count="41" type="stmt"/>
4438
- <line num="221" count="77" type="stmt"/>
4439
- <line num="223" count="77" type="stmt"/>
4427
+ <line num="172" count="0" type="stmt"/>
4428
+ <line num="173" count="0" type="stmt"/>
4429
+ <line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
4430
+ <line num="176" count="0" type="cond" truecount="0" falsecount="2"/>
4431
+ <line num="177" count="0" type="stmt"/>
4432
+ <line num="179" count="0" type="stmt"/>
4433
+ <line num="182" count="77" type="stmt"/>
4434
+ <line num="184" count="41" type="stmt"/>
4435
+ <line num="185" count="41" type="stmt"/>
4436
+ <line num="186" count="41" type="stmt"/>
4437
+ <line num="194" count="41" type="stmt"/>
4438
+ <line num="196" count="180" type="cond" truecount="1" falsecount="1"/>
4439
+ <line num="197" count="0" type="stmt"/>
4440
+ <line num="200" count="180" type="cond" truecount="2" falsecount="0"/>
4441
+ <line num="201" count="16" type="stmt"/>
4442
+ <line num="202" count="164" type="cond" truecount="2" falsecount="0"/>
4443
+ <line num="203" count="22" type="stmt"/>
4444
+ <line num="206" count="142" type="stmt"/>
4445
+ <line num="218" count="41" type="stmt"/>
4440
4446
  <line num="224" count="77" type="stmt"/>
4441
- <line num="225" count="77" type="stmt"/>
4442
- <line num="226" count="349" type="stmt"/>
4443
- <line num="228" count="349" type="cond" truecount="2" falsecount="0"/>
4444
- <line num="229" count="170" type="cond" truecount="2" falsecount="0"/>
4445
- <line num="230" count="3" type="stmt"/>
4446
- <line num="232" count="170" type="stmt"/>
4447
- <line num="235" count="179" type="cond" truecount="1" falsecount="1"/>
4448
- <line num="236" count="0" type="stmt"/>
4449
- <line num="240" count="179" type="stmt"/>
4450
- <line num="244" count="77" type="cond" truecount="4" falsecount="0"/>
4451
- <line num="245" count="71" type="stmt"/>
4452
- <line num="246" count="71" type="stmt"/>
4453
- <line num="250" count="77" type="stmt"/>
4454
- <line num="262" count="41" type="cond" truecount="1" falsecount="0"/>
4455
- <line num="263" count="112" type="stmt"/>
4456
- <line num="264" count="112" type="cond" truecount="2" falsecount="0"/>
4457
- <line num="265" count="98" type="stmt"/>
4458
- <line num="266" count="98" type="stmt"/>
4459
- <line num="269" count="112" type="stmt"/>
4447
+ <line num="226" count="77" type="stmt"/>
4448
+ <line num="227" count="77" type="stmt"/>
4449
+ <line num="228" count="77" type="stmt"/>
4450
+ <line num="229" count="349" type="stmt"/>
4451
+ <line num="231" count="349" type="cond" truecount="2" falsecount="0"/>
4452
+ <line num="232" count="170" type="cond" truecount="2" falsecount="0"/>
4453
+ <line num="233" count="3" type="stmt"/>
4454
+ <line num="235" count="170" type="stmt"/>
4455
+ <line num="238" count="179" type="cond" truecount="1" falsecount="1"/>
4456
+ <line num="239" count="0" type="stmt"/>
4457
+ <line num="243" count="179" type="stmt"/>
4458
+ <line num="247" count="77" type="cond" truecount="4" falsecount="0"/>
4459
+ <line num="248" count="71" type="stmt"/>
4460
+ <line num="249" count="71" type="stmt"/>
4461
+ <line num="253" count="77" type="stmt"/>
4462
+ <line num="265" count="41" type="cond" truecount="1" falsecount="0"/>
4463
+ <line num="266" count="112" type="stmt"/>
4464
+ <line num="267" count="112" type="cond" truecount="2" falsecount="0"/>
4465
+ <line num="268" count="98" type="stmt"/>
4466
+ <line num="269" count="98" type="stmt"/>
4460
4467
  <line num="272" count="112" type="stmt"/>
4461
4468
  <line num="275" count="112" type="stmt"/>
4462
- <line num="276" count="320" type="cond" truecount="2" falsecount="0"/>
4463
- <line num="277" count="8" type="stmt"/>
4464
- <line num="278" count="8" type="cond" truecount="4" falsecount="0"/>
4465
- <line num="279" count="6" type="stmt"/>
4466
- <line num="281" count="2" type="stmt"/>
4467
- <line num="282" count="2" type="stmt"/>
4468
- <line num="287" count="112" type="cond" truecount="2" falsecount="0"/>
4469
- <line num="288" count="33" type="stmt"/>
4469
+ <line num="278" count="112" type="stmt"/>
4470
+ <line num="279" count="320" type="cond" truecount="2" falsecount="0"/>
4471
+ <line num="280" count="8" type="stmt"/>
4472
+ <line num="281" count="8" type="cond" truecount="4" falsecount="0"/>
4473
+ <line num="282" count="6" type="stmt"/>
4474
+ <line num="284" count="2" type="stmt"/>
4475
+ <line num="285" count="2" type="stmt"/>
4470
4476
  <line num="290" count="112" type="cond" truecount="2" falsecount="0"/>
4471
- <line num="303" count="41" type="stmt"/>
4472
- <line num="304" count="14" type="stmt"/>
4473
- <line num="305" count="14" type="cond" truecount="1" falsecount="1"/>
4474
- <line num="306" count="14" type="stmt"/>
4475
- <line num="308" count="14" type="stmt"/>
4476
- <line num="309" count="14" type="cond" truecount="1" falsecount="1"/>
4477
- <line num="310" count="14" type="stmt"/>
4478
- <line num="313" count="0" type="stmt"/>
4479
- <line num="315" count="0" type="cond" truecount="0" falsecount="2"/>
4477
+ <line num="291" count="33" type="stmt"/>
4478
+ <line num="293" count="112" type="cond" truecount="2" falsecount="0"/>
4479
+ <line num="306" count="41" type="stmt"/>
4480
+ <line num="307" count="14" type="stmt"/>
4481
+ <line num="308" count="14" type="cond" truecount="1" falsecount="1"/>
4482
+ <line num="309" count="14" type="stmt"/>
4483
+ <line num="311" count="14" type="stmt"/>
4484
+ <line num="312" count="14" type="cond" truecount="1" falsecount="1"/>
4485
+ <line num="313" count="14" type="stmt"/>
4480
4486
  <line num="316" count="0" type="stmt"/>
4481
- <line num="319" count="0" type="cond" truecount="0" falsecount="2"/>
4482
- <line num="320" count="0" type="stmt"/>
4483
- <line num="321" count="0" type="cond" truecount="0" falsecount="2"/>
4484
- <line num="322" count="0" type="stmt"/>
4485
- <line num="325" count="0" type="cond" truecount="0" falsecount="4"/>
4486
- <line num="326" count="0" type="stmt"/>
4487
- <line num="327" count="0" type="cond" truecount="0" falsecount="4"/>
4487
+ <line num="318" count="0" type="cond" truecount="0" falsecount="2"/>
4488
+ <line num="319" count="0" type="stmt"/>
4489
+ <line num="322" count="0" type="cond" truecount="0" falsecount="2"/>
4490
+ <line num="323" count="0" type="stmt"/>
4491
+ <line num="324" count="0" type="cond" truecount="0" falsecount="2"/>
4492
+ <line num="325" count="0" type="stmt"/>
4493
+ <line num="328" count="0" type="cond" truecount="0" falsecount="4"/>
4488
4494
  <line num="329" count="0" type="stmt"/>
4489
- <line num="330" count="0" type="cond" truecount="0" falsecount="2"/>
4490
- <line num="331" count="0" type="stmt"/>
4491
- <line num="332" count="0" type="cond" truecount="0" falsecount="2"/>
4492
- <line num="333" count="0" type="stmt"/>
4493
- <line num="336" count="0" type="cond" truecount="0" falsecount="2"/>
4494
- <line num="337" count="0" type="stmt"/>
4495
+ <line num="330" count="0" type="cond" truecount="0" falsecount="4"/>
4496
+ <line num="332" count="0" type="stmt"/>
4497
+ <line num="333" count="0" type="cond" truecount="0" falsecount="2"/>
4498
+ <line num="334" count="0" type="stmt"/>
4499
+ <line num="335" count="0" type="cond" truecount="0" falsecount="2"/>
4500
+ <line num="336" count="0" type="stmt"/>
4501
+ <line num="339" count="0" type="cond" truecount="0" falsecount="2"/>
4502
+ <line num="340" count="0" type="stmt"/>
4495
4503
  </file>
4496
4504
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/utils.js">
4497
- <metrics statements="17" coveredstatements="12" conditionals="18" coveredconditionals="9" methods="1" coveredmethods="1"/>
4498
- <line num="1" count="41" type="stmt"/>
4499
- <line num="2" count="41" type="stmt"/>
4505
+ <metrics statements="31" coveredstatements="20" conditionals="33" coveredconditionals="18" methods="2" coveredmethods="2"/>
4506
+ <line num="6" count="41" type="stmt"/>
4500
4507
  <line num="7" count="41" type="stmt"/>
4501
- <line num="12" count="278" type="stmt"/>
4502
- <line num="13" count="278" type="cond" truecount="2" falsecount="0"/>
4503
- <line num="14" count="166" type="stmt"/>
4504
- <line num="15" count="166" type="cond" truecount="2" falsecount="0"/>
4505
- <line num="17" count="278" type="stmt"/>
4506
- <line num="18" count="798" type="stmt"/>
4507
- <line num="19" count="798" type="cond" truecount="1" falsecount="1"/>
4508
- <line num="24" count="798" type="stmt"/>
4508
+ <line num="13" count="41" type="stmt"/>
4509
+ <line num="14" count="2" type="cond" truecount="4" falsecount="1"/>
4510
+ <line num="15" count="0" type="stmt"/>
4511
+ <line num="18" count="2" type="cond" truecount="1" falsecount="1"/>
4512
+ <line num="19" count="0" type="stmt"/>
4513
+ <line num="20" count="2" type="cond" truecount="1" falsecount="1"/>
4514
+ <line num="21" count="0" type="stmt"/>
4515
+ <line num="22" count="2" type="cond" truecount="1" falsecount="1"/>
4516
+ <line num="23" count="0" type="stmt"/>
4517
+ <line num="24" count="2" type="cond" truecount="1" falsecount="1"/>
4518
+ <line num="25" count="0" type="stmt"/>
4519
+ <line num="26" count="2" type="cond" truecount="1" falsecount="1"/>
4509
4520
  <line num="27" count="0" type="stmt"/>
4510
- <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
4511
- <line num="29" count="0" type="stmt"/>
4512
- <line num="30" count="0" type="cond" truecount="0" falsecount="2"/>
4513
- <line num="31" count="0" type="stmt"/>
4514
- <line num="38" count="278" type="cond" truecount="2" falsecount="0"/>
4521
+ <line num="29" count="2" type="stmt"/>
4522
+ <line num="35" count="41" type="stmt"/>
4523
+ <line num="40" count="278" type="stmt"/>
4524
+ <line num="41" count="278" type="cond" truecount="2" falsecount="0"/>
4525
+ <line num="42" count="166" type="stmt"/>
4526
+ <line num="43" count="166" type="cond" truecount="2" falsecount="0"/>
4527
+ <line num="45" count="278" type="stmt"/>
4528
+ <line num="46" count="798" type="stmt"/>
4529
+ <line num="47" count="798" type="cond" truecount="1" falsecount="1"/>
4530
+ <line num="52" count="798" type="stmt"/>
4531
+ <line num="55" count="0" type="stmt"/>
4532
+ <line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
4533
+ <line num="57" count="0" type="stmt"/>
4534
+ <line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
4535
+ <line num="59" count="0" type="stmt"/>
4536
+ <line num="66" count="278" type="cond" truecount="2" falsecount="0"/>
4515
4537
  </file>
4516
4538
  </package>
4517
4539
  <package name="utilities.usageQuota">