@budibase/server 1.0.39 → 1.0.43

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 (174) hide show
  1. package/builder/assets/{index.3079d0f9.js → index.a7d4a7f5.js} +3 -3
  2. package/builder/index.html +1 -1
  3. package/coverage/clover.xml +71 -70
  4. package/coverage/coverage-final.json +1 -1
  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/application.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/component.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  15. package/coverage/lcov-report/api/controllers/hosting.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/index.html +1 -1
  17. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  21. package/coverage/lcov-report/api/controllers/query/index.html +14 -14
  22. package/coverage/lcov-report/api/controllers/query/index.js.html +18 -9
  23. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  24. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  25. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  26. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/index.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
  33. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  35. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  36. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/table/internal.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/table/utils.js.html +1 -1
  39. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  40. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  42. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  43. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  44. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  45. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  46. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  47. package/coverage/lcov-report/api/index.html +1 -1
  48. package/coverage/lcov-report/api/index.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/application.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/hosting.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/index.html +1 -1
  62. package/coverage/lcov-report/api/routes/index.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/row.js.html +1 -1
  71. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/static.js.html +1 -1
  74. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  75. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  76. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  77. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  78. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  79. package/coverage/lcov-report/automations/actions.js.html +1 -1
  80. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  81. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  82. package/coverage/lcov-report/automations/index.html +1 -1
  83. package/coverage/lcov-report/automations/index.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/index.html +1 -1
  93. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  95. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  96. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  97. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  98. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  99. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  100. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  101. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  102. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  103. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  104. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  105. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  106. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  107. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  108. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  109. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  110. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  111. package/coverage/lcov-report/automations/utils.js.html +1 -1
  112. package/coverage/lcov-report/constants/index.html +1 -1
  113. package/coverage/lcov-report/constants/index.js.html +1 -1
  114. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  115. package/coverage/lcov-report/constants/screens.js.html +1 -1
  116. package/coverage/lcov-report/db/client.js.html +1 -1
  117. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  118. package/coverage/lcov-report/db/index.html +1 -1
  119. package/coverage/lcov-report/db/index.js.html +1 -1
  120. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  121. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  122. package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
  123. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  124. package/coverage/lcov-report/db/newid.js.html +1 -1
  125. package/coverage/lcov-report/db/utils.js.html +1 -1
  126. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  127. package/coverage/lcov-report/events/index.html +1 -1
  128. package/coverage/lcov-report/events/index.js.html +1 -1
  129. package/coverage/lcov-report/events/utils.js.html +1 -1
  130. package/coverage/lcov-report/index.html +14 -14
  131. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  132. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  133. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  134. package/coverage/lcov-report/middleware/authorized.js.html +1 -1
  135. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  136. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  137. package/coverage/lcov-report/middleware/index.html +1 -1
  138. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  139. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  140. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  141. package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
  142. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  143. package/coverage/lcov-report/threads/automation.js.html +1 -1
  144. package/coverage/lcov-report/threads/index.html +1 -1
  145. package/coverage/lcov-report/threads/index.js.html +1 -1
  146. package/coverage/lcov-report/threads/query.js.html +1 -1
  147. package/coverage/lcov-report/threads/utils.js.html +1 -1
  148. package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
  149. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  150. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  151. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  152. package/coverage/lcov-report/utilities/global.js.html +1 -1
  153. package/coverage/lcov-report/utilities/index.html +1 -1
  154. package/coverage/lcov-report/utilities/index.js.html +1 -1
  155. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  156. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  157. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  158. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  159. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  160. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
  161. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  162. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  163. package/coverage/lcov-report/utilities/security.js.html +1 -1
  164. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  165. package/coverage/lcov-report/utilities/users.js.html +1 -1
  166. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  167. package/coverage/lcov.info +100 -97
  168. package/dist/api/controllers/query/index.js +4 -1
  169. package/dist/integrations/s3.js +1 -1
  170. package/dist/package.json +4 -4
  171. package/dist/tsconfig.tsbuildinfo +1 -1
  172. package/package.json +5 -5
  173. package/src/api/controllers/query/index.js +4 -1
  174. package/src/integrations/s3.ts +1 -1
@@ -133,7 +133,7 @@ exports.processFormulas = (table, rows) => {
133
133
  <div class='footer quiet pad2 space-top1 center small'>
134
134
  Code coverage generated by
135
135
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
136
- at Thu Jan 13 2022 15:16:54 GMT+0000 (Coordinated Universal Time)
136
+ at Mon Jan 17 2022 16:42:36 GMT+0000 (Coordinated Universal Time)
137
137
  </div>
138
138
  </div>
139
139
  <script src="../../prettify.js"></script>
@@ -136,7 +136,7 @@ module.exports = ScriptRunner
136
136
  <div class='footer quiet pad2 space-top1 center small'>
137
137
  Code coverage generated by
138
138
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
139
- at Thu Jan 13 2022 15:16:54 GMT+0000 (Coordinated Universal Time)
139
+ at Mon Jan 17 2022 16:42:36 GMT+0000 (Coordinated Universal Time)
140
140
  </div>
141
141
  </div>
142
142
  <script src="../prettify.js"></script>
@@ -274,7 +274,7 @@ exports.CURRENTLY_SUPPORTED_LEVELS = CURRENTLY_SUPPORTED_LEVELS
274
274
  <div class='footer quiet pad2 space-top1 center small'>
275
275
  Code coverage generated by
276
276
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
277
- at Thu Jan 13 2022 15:16:54 GMT+0000 (Coordinated Universal Time)
277
+ at Mon Jan 17 2022 16:42:36 GMT+0000 (Coordinated Universal Time)
278
278
  </div>
279
279
  </div>
280
280
  <script src="../prettify.js"></script>
@@ -85,7 +85,7 @@
85
85
  <div class='footer quiet pad2 space-top1 center small'>
86
86
  Code coverage generated by
87
87
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
88
- at Thu Jan 13 2022 15:16:54 GMT+0000 (Coordinated Universal Time)
88
+ at Mon Jan 17 2022 16:42:36 GMT+0000 (Coordinated Universal Time)
89
89
  </div>
90
90
  </div>
91
91
  <script src="../prettify.js"></script>
@@ -136,7 +136,7 @@ exports.getFullUser = async (ctx, userId) =&gt; {
136
136
  <div class='footer quiet pad2 space-top1 center small'>
137
137
  Code coverage generated by
138
138
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
139
- at Thu Jan 13 2022 15:16:54 GMT+0000 (Coordinated Universal Time)
139
+ at Mon Jan 17 2022 16:42:36 GMT+0000 (Coordinated Universal Time)
140
140
  </div>
141
141
  </div>
142
142
  <script src="../prettify.js"></script>
@@ -403,7 +403,7 @@ exports.removeAppFromUserRoles = async (ctx, appId) =&gt; {
403
403
  <div class='footer quiet pad2 space-top1 center small'>
404
404
  Code coverage generated by
405
405
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
406
- at Thu Jan 13 2022 15:16:54 GMT+0000 (Coordinated Universal Time)
406
+ at Mon Jan 17 2022 16:42:36 GMT+0000 (Coordinated Universal Time)
407
407
  </div>
408
408
  </div>
409
409
  <script src="../prettify.js"></script>
@@ -1986,20 +1986,20 @@ BRH:4
1986
1986
  end_of_record
1987
1987
  TN:
1988
1988
  SF:src/api/controllers/query/index.js
1989
- FN:16,enrichQueries
1990
- FN:27,(anonymous_1)
1991
- FN:36,(anonymous_2)
1992
- FN:39,(anonymous_3)
1993
- FN:78,(anonymous_4)
1994
- FN:93,(anonymous_5)
1995
- FN:104,(anonymous_6)
1996
- FN:135,execute
1997
- FN:163,(anonymous_8)
1998
- FN:167,(anonymous_9)
1999
- FN:171,(anonymous_10)
2000
- FN:178,(anonymous_11)
2001
- FN:184,(anonymous_12)
2002
- FN:190,(anonymous_13)
1989
+ FN:19,enrichQueries
1990
+ FN:30,(anonymous_1)
1991
+ FN:39,(anonymous_2)
1992
+ FN:42,(anonymous_3)
1993
+ FN:81,(anonymous_4)
1994
+ FN:96,(anonymous_5)
1995
+ FN:107,(anonymous_6)
1996
+ FN:138,execute
1997
+ FN:166,(anonymous_8)
1998
+ FN:170,(anonymous_9)
1999
+ FN:174,(anonymous_10)
2000
+ FN:181,(anonymous_11)
2001
+ FN:187,(anonymous_12)
2002
+ FN:193,(anonymous_13)
2003
2003
  FNF:14
2004
2004
  FNH:12
2005
2005
  FNDA:5,enrichQueries
@@ -2023,110 +2023,113 @@ DA:8,34
2023
2023
  DA:9,34
2024
2024
  DA:10,34
2025
2025
  DA:11,34
2026
- DA:13,34
2027
- DA:17,5
2028
- DA:18,5
2029
- DA:19,5
2030
- DA:20,4
2031
- DA:21,4
2032
- DA:24,5
2033
- DA:27,34
2034
- DA:28,2
2035
- DA:30,2
2036
- DA:36,2
2037
- DA:39,34
2038
- DA:40,0
2039
- DA:41,0
2026
+ DA:12,34
2027
+ DA:14,34
2028
+ DA:20,5
2029
+ DA:21,5
2030
+ DA:22,5
2031
+ DA:23,4
2032
+ DA:24,4
2033
+ DA:27,5
2034
+ DA:30,34
2035
+ DA:31,2
2036
+ DA:33,2
2037
+ DA:39,2
2038
+ DA:42,34
2040
2039
  DA:43,0
2041
2040
  DA:44,0
2041
+ DA:46,0
2042
2042
  DA:47,0
2043
- DA:49,0
2044
2043
  DA:50,0
2045
- DA:60,0
2046
- DA:61,0
2047
- DA:62,0
2044
+ DA:52,0
2045
+ DA:53,0
2048
2046
  DA:63,0
2047
+ DA:64,0
2048
+ DA:65,0
2049
2049
  DA:66,0
2050
2050
  DA:69,0
2051
- DA:71,0
2052
- DA:75,0
2053
- DA:78,34
2054
- DA:79,28
2055
- DA:80,28
2051
+ DA:72,0
2052
+ DA:74,0
2053
+ DA:78,0
2054
+ DA:81,34
2056
2055
  DA:82,28
2057
2056
  DA:83,28
2057
+ DA:85,28
2058
2058
  DA:86,28
2059
- DA:87,28
2060
2059
  DA:89,28
2061
2060
  DA:90,28
2062
- DA:93,34
2063
- DA:94,3
2064
- DA:95,3
2061
+ DA:92,28
2062
+ DA:93,28
2063
+ DA:96,34
2065
2064
  DA:97,3
2066
- DA:98,1
2067
- DA:99,1
2068
- DA:101,3
2069
- DA:104,34
2070
- DA:105,8
2071
- DA:107,8
2072
- DA:111,8
2073
- DA:113,8
2065
+ DA:98,3
2066
+ DA:100,3
2067
+ DA:101,1
2068
+ DA:102,1
2069
+ DA:104,3
2070
+ DA:107,34
2071
+ DA:108,8
2072
+ DA:110,8
2074
2073
  DA:114,8
2075
- DA:124,7
2076
- DA:131,1
2077
- DA:136,2
2078
- DA:138,2
2074
+ DA:116,8
2075
+ DA:117,8
2076
+ DA:127,7
2077
+ DA:134,1
2079
2078
  DA:139,2
2079
+ DA:141,2
2080
2080
  DA:142,2
2081
- DA:143,2
2082
- DA:153,1
2083
- DA:154,1
2084
- DA:156,0
2085
- DA:159,1
2086
- DA:163,34
2087
- DA:164,2
2088
- DA:167,34
2089
- DA:168,0
2090
- DA:171,34
2091
- DA:172,2
2092
- DA:173,2
2093
- DA:174,2
2081
+ DA:145,2
2082
+ DA:146,2
2083
+ DA:156,1
2084
+ DA:157,1
2085
+ DA:159,0
2086
+ DA:162,1
2087
+ DA:166,34
2088
+ DA:167,2
2089
+ DA:170,34
2090
+ DA:171,0
2091
+ DA:174,34
2092
+ DA:175,2
2094
2093
  DA:176,2
2095
- DA:178,1
2096
- DA:179,1
2097
- DA:180,1
2094
+ DA:177,2
2095
+ DA:179,2
2096
+ DA:181,1
2097
+ DA:182,1
2098
2098
  DA:183,1
2099
- DA:184,1
2100
2099
  DA:186,1
2101
- DA:190,34
2102
- DA:191,2
2103
- DA:192,2
2104
- DA:193,2
2100
+ DA:187,1
2101
+ DA:189,1
2102
+ DA:193,34
2105
2103
  DA:194,2
2106
2104
  DA:195,2
2107
- LF:88
2108
- LH:71
2109
- BRDA:18,0,0,2
2110
- BRDA:18,0,1,3
2111
- BRDA:20,1,0,4
2112
- BRDA:20,1,1,0
2113
- BRDA:24,2,0,2
2114
- BRDA:24,2,1,3
2115
- BRDA:47,3,0,0
2116
- BRDA:47,3,1,0
2117
- BRDA:82,4,0,28
2118
- BRDA:82,4,1,0
2119
- BRDA:97,5,0,1
2120
- BRDA:97,5,1,2
2121
- BRDA:135,6,0,0
2122
- BRDA:153,7,0,1
2123
- BRDA:153,7,1,0
2124
- BRDA:153,8,0,1
2125
- BRDA:153,8,1,1
2126
- BRDA:176,9,0,1
2127
- BRDA:176,9,1,1
2128
- BRF:19
2129
- BRH:13
2105
+ DA:196,2
2106
+ DA:197,2
2107
+ DA:198,2
2108
+ LF:89
2109
+ LH:72
2110
+ BRDA:15,0,0,34
2111
+ BRDA:15,0,1,34
2112
+ BRDA:21,1,0,2
2113
+ BRDA:21,1,1,3
2114
+ BRDA:23,2,0,4
2115
+ BRDA:23,2,1,0
2116
+ BRDA:27,3,0,2
2117
+ BRDA:27,3,1,3
2118
+ BRDA:50,4,0,0
2119
+ BRDA:50,4,1,0
2120
+ BRDA:85,5,0,28
2121
+ BRDA:85,5,1,0
2122
+ BRDA:100,6,0,1
2123
+ BRDA:100,6,1,2
2124
+ BRDA:138,7,0,0
2125
+ BRDA:156,8,0,1
2126
+ BRDA:156,8,1,0
2127
+ BRDA:156,9,0,1
2128
+ BRDA:156,9,1,1
2129
+ BRDA:179,10,0,1
2130
+ BRDA:179,10,1,1
2131
+ BRF:21
2132
+ BRH:15
2130
2133
  end_of_record
2131
2134
  TN:
2132
2135
  SF:src/api/controllers/query/validation.js
@@ -15,7 +15,10 @@ const { Thread, ThreadType } = require("../../../threads");
15
15
  const { save: saveDatasource } = require("../datasource");
16
16
  const { RestImporter } = require("./import");
17
17
  const { invalidateDynamicVariables } = require("../../../threads/utils");
18
- const Runner = new Thread(ThreadType.QUERY, { timeoutMs: 10000 });
18
+ const environment = require("../../../environment");
19
+ const Runner = new Thread(ThreadType.QUERY, {
20
+ timeoutMs: environment.QUERY_THREAD_TIMEOUT || 10000,
21
+ });
19
22
  // simple function to append "readable" to all read queries
20
23
  function enrichQueries(input) {
21
24
  const wasArray = Array.isArray(input);
@@ -38,7 +38,7 @@ var S3Module;
38
38
  signatureVersion: {
39
39
  type: "string",
40
40
  required: false,
41
- default: "v4"
41
+ default: "v4",
42
42
  },
43
43
  },
44
44
  query: {
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/server",
3
3
  "email": "hi@budibase.com",
4
- "version": "1.0.38",
4
+ "version": "1.0.42",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -70,9 +70,9 @@
70
70
  "license": "GPL-3.0",
71
71
  "dependencies": {
72
72
  "@apidevtools/swagger-parser": "^10.0.3",
73
- "@budibase/backend-core": "^1.0.38",
74
- "@budibase/client": "^1.0.38",
75
- "@budibase/string-templates": "^1.0.38",
73
+ "@budibase/backend-core": "^1.0.42",
74
+ "@budibase/client": "^1.0.42",
75
+ "@budibase/string-templates": "^1.0.42",
76
76
  "@bull-board/api": "^3.7.0",
77
77
  "@bull-board/koa": "^3.7.0",
78
78
  "@elastic/elasticsearch": "7.10.0",