@budibase/server 1.1.16 → 1.1.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 (163) hide show
  1. package/builder/assets/{index.c7fcf112.js → index.efac36d9.js} +1 -1
  2. package/builder/index.html +1 -1
  3. package/coverage/clover.xml +115 -120
  4. package/coverage/coverage-final.json +1 -1
  5. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  6. package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
  7. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/component.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/index.html +1 -1
  14. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  15. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  20. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  21. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  23. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  24. package/coverage/lcov-report/api/controllers/row/index.html +1 -1
  25. package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
  26. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  33. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  34. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  35. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  39. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  40. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  42. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  43. package/coverage/lcov-report/api/index.html +1 -1
  44. package/coverage/lcov-report/api/index.js.html +1 -1
  45. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  46. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  47. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  48. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/index.html +1 -1
  56. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/utils/index.html +1 -1
  70. package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
  71. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  73. package/coverage/lcov-report/automations/actions.js.html +1 -1
  74. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  75. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  76. package/coverage/lcov-report/automations/index.html +1 -1
  77. package/coverage/lcov-report/automations/index.js.html +1 -1
  78. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  79. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  80. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  81. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  82. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  83. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/index.html +1 -1
  85. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  95. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  96. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  97. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  98. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  99. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  100. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  101. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  102. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  103. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  104. package/coverage/lcov-report/constants/index.html +1 -1
  105. package/coverage/lcov-report/constants/index.js.html +1 -1
  106. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  107. package/coverage/lcov-report/constants/screens.js.html +1 -1
  108. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  109. package/coverage/lcov-report/db/index.html +1 -1
  110. package/coverage/lcov-report/db/index.js.html +1 -1
  111. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  112. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  113. package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
  114. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  115. package/coverage/lcov-report/db/newid.js.html +1 -1
  116. package/coverage/lcov-report/db/utils.js.html +1 -1
  117. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  118. package/coverage/lcov-report/events/index.html +1 -1
  119. package/coverage/lcov-report/events/index.js.html +1 -1
  120. package/coverage/lcov-report/events/utils.js.html +1 -1
  121. package/coverage/lcov-report/index.html +19 -19
  122. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  123. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  124. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  125. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  126. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  127. package/coverage/lcov-report/middleware/index.html +1 -1
  128. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  129. package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
  130. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  131. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  132. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  133. package/coverage/lcov-report/threads/automation.js.html +25 -43
  134. package/coverage/lcov-report/threads/index.html +20 -20
  135. package/coverage/lcov-report/threads/query.js.html +1 -1
  136. package/coverage/lcov-report/threads/utils.js.html +1 -1
  137. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  138. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  139. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  140. package/coverage/lcov-report/utilities/global.js.html +1 -1
  141. package/coverage/lcov-report/utilities/index.html +1 -1
  142. package/coverage/lcov-report/utilities/index.js.html +1 -1
  143. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  144. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  145. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  146. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  147. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  148. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
  149. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  150. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  151. package/coverage/lcov-report/utilities/security.js.html +1 -1
  152. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  153. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  154. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  155. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  156. package/coverage/lcov-report/utilities/users.js.html +1 -1
  157. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  158. package/coverage/lcov.info +197 -206
  159. package/dist/package.json +6 -6
  160. package/dist/threads/automation.js +5 -11
  161. package/dist/tsconfig.build.tsbuildinfo +1 -1
  162. package/package.json +7 -7
  163. package/src/threads/automation.js +5 -11
@@ -6801,34 +6801,32 @@ BRH:0
6801
6801
  end_of_record
6802
6802
  TN:
6803
6803
  SF:src/threads/automation.js
6804
- FN:21,typecastForLooping
6805
- FN:46,getLoopIterations
6806
- FN:62,(anonymous_2)
6807
- FN:84,(anonymous_3)
6808
- FN:91,(anonymous_4)
6809
- FN:99,(anonymous_5)
6810
- FN:108,(anonymous_6)
6811
- FN:117,(anonymous_7)
6812
- FN:135,(anonymous_8)
6813
- FN:237,(anonymous_9)
6814
- FN:268,(anonymous_10)
6815
- FN:335,(anonymous_11)
6816
- FN:337,(anonymous_12)
6817
- FNF:13
6818
- FNH:9
6804
+ FN:19,typecastForLooping
6805
+ FN:44,getLoopIterations
6806
+ FN:60,(anonymous_2)
6807
+ FN:82,(anonymous_3)
6808
+ FN:89,(anonymous_4)
6809
+ FN:97,(anonymous_5)
6810
+ FN:106,(anonymous_6)
6811
+ FN:115,(anonymous_7)
6812
+ FN:133,(anonymous_8)
6813
+ FN:234,(anonymous_9)
6814
+ FN:329,(anonymous_10)
6815
+ FN:331,(anonymous_11)
6816
+ FNF:12
6817
+ FNH:7
6819
6818
  FNDA:0,typecastForLooping
6820
6819
  FNDA:0,getLoopIterations
6821
6820
  FNDA:6,(anonymous_2)
6822
6821
  FNDA:6,(anonymous_3)
6823
6822
  FNDA:5,(anonymous_4)
6824
- FNDA:6,(anonymous_5)
6823
+ FNDA:0,(anonymous_5)
6825
6824
  FNDA:11,(anonymous_6)
6826
6825
  FNDA:0,(anonymous_7)
6827
6826
  FNDA:6,(anonymous_8)
6828
6827
  FNDA:0,(anonymous_9)
6829
- FNDA:5,(anonymous_10)
6828
+ FNDA:6,(anonymous_10)
6830
6829
  FNDA:6,(anonymous_11)
6831
- FNDA:6,(anonymous_12)
6832
6830
  DA:1,3
6833
6831
  DA:2,3
6834
6832
  DA:3,3
@@ -6841,240 +6839,233 @@ DA:9,3
6841
6839
  DA:10,3
6842
6840
  DA:11,3
6843
6841
  DA:12,3
6844
- DA:13,3
6845
6842
  DA:14,3
6843
+ DA:15,3
6846
6844
  DA:16,3
6847
6845
  DA:17,3
6848
- DA:18,3
6849
- DA:19,3
6850
- DA:22,0
6846
+ DA:20,0
6847
+ DA:21,0
6851
6848
  DA:23,0
6849
+ DA:24,0
6852
6850
  DA:25,0
6853
6851
  DA:26,0
6854
- DA:27,0
6855
6852
  DA:28,0
6856
- DA:30,0
6853
+ DA:29,0
6857
6854
  DA:31,0
6858
6855
  DA:33,0
6859
- DA:35,0
6856
+ DA:34,0
6860
6857
  DA:36,0
6861
- DA:38,0
6858
+ DA:39,0
6862
6859
  DA:41,0
6863
- DA:43,0
6860
+ DA:45,0
6861
+ DA:46,0
6864
6862
  DA:47,0
6865
- DA:48,0
6866
6863
  DA:49,0
6867
- DA:51,0
6864
+ DA:61,6
6865
+ DA:62,6
6868
6866
  DA:63,6
6869
6867
  DA:64,6
6870
6868
  DA:65,6
6871
6869
  DA:66,6
6872
- DA:67,6
6873
6870
  DA:68,6
6874
- DA:70,6
6871
+ DA:69,6
6875
6872
  DA:71,6
6876
- DA:73,6
6877
- DA:74,6
6878
- DA:77,6
6873
+ DA:72,6
6874
+ DA:75,6
6875
+ DA:76,6
6879
6876
  DA:78,6
6880
- DA:80,6
6881
- DA:81,6
6882
- DA:85,6
6883
- DA:86,0
6884
- DA:88,6
6885
- DA:92,5
6886
- DA:93,5
6887
- DA:94,0
6888
- DA:96,5
6889
- DA:100,6
6877
+ DA:79,6
6878
+ DA:83,6
6879
+ DA:84,0
6880
+ DA:86,6
6881
+ DA:90,5
6882
+ DA:91,5
6883
+ DA:92,0
6884
+ DA:94,5
6885
+ DA:98,0
6886
+ DA:99,0
6890
6887
  DA:101,0
6891
- DA:103,6
6892
- DA:104,6
6893
- DA:105,6
6888
+ DA:102,0
6889
+ DA:103,0
6890
+ DA:107,11
6894
6891
  DA:109,11
6895
- DA:111,11
6896
- DA:112,6
6897
- DA:114,11
6898
- DA:118,0
6899
- DA:128,0
6892
+ DA:110,6
6893
+ DA:112,11
6894
+ DA:116,0
6895
+ DA:126,0
6896
+ DA:134,6
6897
+ DA:135,6
6900
6898
  DA:136,6
6901
- DA:137,6
6902
6899
  DA:138,6
6903
6900
  DA:139,6
6901
+ DA:140,6
6904
6902
  DA:141,6
6905
- DA:142,6
6906
- DA:143,6
6907
- DA:144,6
6903
+ DA:142,5
6904
+ DA:144,5
6908
6905
  DA:145,5
6909
- DA:147,5
6910
- DA:148,5
6911
- DA:149,5
6912
- DA:150,0
6913
- DA:151,0
6914
- DA:152,0
6915
- DA:155,5
6916
- DA:156,0
6917
- DA:157,0
6918
- DA:160,5
6906
+ DA:146,5
6907
+ DA:147,0
6908
+ DA:148,0
6909
+ DA:149,0
6910
+ DA:152,5
6911
+ DA:153,0
6912
+ DA:154,0
6913
+ DA:157,5
6914
+ DA:158,5
6919
6915
  DA:161,5
6920
- DA:164,5
6921
- DA:165,0
6922
- DA:170,0
6916
+ DA:162,0
6917
+ DA:167,0
6918
+ DA:168,0
6919
+ DA:169,0
6923
6920
  DA:171,0
6924
- DA:172,0
6925
- DA:174,0
6926
- DA:178,0
6927
- DA:179,0
6928
- DA:180,0
6929
- DA:184,0
6930
- DA:188,0
6921
+ DA:175,0
6922
+ DA:176,0
6923
+ DA:177,0
6924
+ DA:181,0
6925
+ DA:185,0
6926
+ DA:187,0
6931
6927
  DA:190,0
6932
- DA:193,0
6933
- DA:199,0
6934
- DA:200,0
6928
+ DA:196,0
6929
+ DA:197,0
6930
+ DA:198,0
6935
6931
  DA:201,0
6936
- DA:204,0
6937
- DA:205,0
6938
- DA:213,0
6939
- DA:214,0
6940
- DA:221,0
6941
- DA:225,0
6942
- DA:229,0
6943
- DA:230,0
6932
+ DA:202,0
6933
+ DA:210,0
6934
+ DA:211,0
6935
+ DA:218,0
6936
+ DA:222,0
6937
+ DA:226,0
6938
+ DA:227,0
6939
+ DA:228,0
6944
6940
  DA:231,0
6941
+ DA:232,0
6942
+ DA:233,0
6945
6943
  DA:234,0
6946
6944
  DA:235,0
6947
- DA:236,0
6948
- DA:237,0
6949
6945
  DA:238,0
6950
6946
  DA:241,0
6951
- DA:244,0
6952
- DA:245,0
6953
- DA:249,0
6954
- DA:250,0
6955
- DA:251,0
6956
- DA:256,5
6957
- DA:257,0
6958
- DA:258,0
6947
+ DA:242,0
6948
+ DA:246,0
6949
+ DA:247,0
6950
+ DA:248,0
6951
+ DA:253,5
6952
+ DA:254,0
6953
+ DA:255,0
6954
+ DA:259,5
6955
+ DA:260,5
6956
+ DA:261,5
6959
6957
  DA:262,5
6960
- DA:263,5
6961
6958
  DA:264,5
6962
- DA:265,5
6963
- DA:267,5
6964
- DA:268,5
6965
- DA:269,5
6966
- DA:276,5
6967
- DA:279,5
6968
- DA:280,0
6969
- DA:281,0
6970
- DA:285,0
6971
- DA:287,5
6972
- DA:288,0
6973
- DA:290,5
6959
+ DA:270,5
6960
+ DA:273,5
6961
+ DA:274,0
6962
+ DA:275,0
6963
+ DA:279,0
6964
+ DA:281,5
6965
+ DA:282,0
6966
+ DA:284,5
6967
+ DA:292,0
6968
+ DA:293,0
6969
+ DA:295,5
6970
+ DA:296,0
6971
+ DA:297,0
6974
6972
  DA:298,0
6975
6973
  DA:299,0
6976
- DA:301,5
6977
- DA:302,0
6978
- DA:303,0
6979
- DA:304,0
6980
- DA:305,0
6974
+ DA:300,0
6975
+ DA:305,5
6981
6976
  DA:306,0
6982
- DA:311,5
6983
- DA:312,0
6984
- DA:317,0
6985
- DA:324,0
6986
- DA:325,0
6977
+ DA:311,0
6978
+ DA:318,0
6979
+ DA:319,0
6980
+ DA:324,6
6981
+ DA:325,6
6982
+ DA:329,3
6987
6983
  DA:330,6
6988
6984
  DA:331,6
6989
- DA:335,3
6985
+ DA:332,6
6990
6986
  DA:336,6
6991
6987
  DA:337,6
6992
6988
  DA:338,6
6993
- DA:342,6
6994
- DA:343,6
6995
- DA:344,6
6996
- DA:346,0
6997
- LF:165
6998
- LH:84
6999
- BRDA:22,0,0,0
7000
- BRDA:22,0,1,0
7001
- BRDA:22,1,0,0
7002
- BRDA:22,1,1,0
7003
- BRDA:28,2,0,0
7004
- BRDA:28,2,1,0
7005
- BRDA:30,3,0,0
7006
- BRDA:30,3,1,0
7007
- BRDA:35,4,0,0
7008
- BRDA:35,4,1,0
7009
- BRDA:48,5,0,0
7010
- BRDA:48,5,1,0
7011
- BRDA:48,6,0,0
7012
- BRDA:48,6,1,0
7013
- BRDA:51,7,0,0
7014
- BRDA:51,7,1,0
7015
- BRDA:62,8,0,0
7016
- BRDA:64,9,0,4
7017
- BRDA:64,9,1,2
7018
- BRDA:85,10,0,0
7019
- BRDA:85,10,1,6
7020
- BRDA:93,11,0,0
7021
- BRDA:93,11,1,5
7022
- BRDA:100,12,0,0
7023
- BRDA:100,12,1,6
7024
- BRDA:111,13,0,6
7025
- BRDA:111,13,1,5
7026
- BRDA:149,14,0,0
7027
- BRDA:149,14,1,5
7028
- BRDA:155,15,0,0
7029
- BRDA:155,15,1,5
7030
- BRDA:164,16,0,0
7031
- BRDA:164,16,1,5
7032
- BRDA:164,17,0,5
7033
- BRDA:164,17,1,0
7034
- BRDA:184,18,0,0
7035
- BRDA:184,18,1,0
7036
- BRDA:185,19,0,0
7037
- BRDA:185,19,1,0
7038
- BRDA:200,20,0,0
7039
- BRDA:200,20,1,0
7040
- BRDA:204,21,0,0
7041
- BRDA:204,21,1,0
7042
- BRDA:213,22,0,0
7043
- BRDA:213,22,1,0
7044
- BRDA:221,23,0,0
7045
- BRDA:221,23,1,0
7046
- BRDA:222,24,0,0
7047
- BRDA:222,24,1,0
7048
- BRDA:236,25,0,0
7049
- BRDA:236,25,1,0
7050
- BRDA:236,26,0,0
7051
- BRDA:236,26,1,0
7052
- BRDA:241,27,0,0
7053
- BRDA:241,27,1,0
7054
- BRDA:244,28,0,0
7055
- BRDA:244,28,1,0
7056
- BRDA:256,29,0,0
7057
- BRDA:256,29,1,5
7058
- BRDA:267,30,0,5
7059
- BRDA:267,30,1,0
7060
- BRDA:279,31,0,0
7061
- BRDA:279,31,1,5
7062
- BRDA:279,32,0,5
7063
- BRDA:279,32,1,0
7064
- BRDA:287,33,0,0
7065
- BRDA:287,33,1,5
7066
- BRDA:287,34,0,5
7067
- BRDA:287,34,1,0
7068
- BRDA:301,35,0,0
7069
- BRDA:301,35,1,5
7070
- BRDA:303,36,0,0
7071
- BRDA:303,36,1,0
7072
- BRDA:311,37,0,0
7073
- BRDA:311,37,1,5
7074
- BRDA:311,38,0,5
7075
- BRDA:311,38,1,5
7076
- BRF:77
7077
- BRH:21
6989
+ DA:340,0
6990
+ LF:160
6991
+ LH:75
6992
+ BRDA:20,0,0,0
6993
+ BRDA:20,0,1,0
6994
+ BRDA:20,1,0,0
6995
+ BRDA:20,1,1,0
6996
+ BRDA:26,2,0,0
6997
+ BRDA:26,2,1,0
6998
+ BRDA:28,3,0,0
6999
+ BRDA:28,3,1,0
7000
+ BRDA:33,4,0,0
7001
+ BRDA:33,4,1,0
7002
+ BRDA:46,5,0,0
7003
+ BRDA:46,5,1,0
7004
+ BRDA:46,6,0,0
7005
+ BRDA:46,6,1,0
7006
+ BRDA:49,7,0,0
7007
+ BRDA:49,7,1,0
7008
+ BRDA:60,8,0,0
7009
+ BRDA:62,9,0,4
7010
+ BRDA:62,9,1,2
7011
+ BRDA:83,10,0,0
7012
+ BRDA:83,10,1,6
7013
+ BRDA:91,11,0,0
7014
+ BRDA:91,11,1,5
7015
+ BRDA:98,12,0,0
7016
+ BRDA:98,12,1,0
7017
+ BRDA:109,13,0,6
7018
+ BRDA:109,13,1,5
7019
+ BRDA:146,14,0,0
7020
+ BRDA:146,14,1,5
7021
+ BRDA:152,15,0,0
7022
+ BRDA:152,15,1,5
7023
+ BRDA:161,16,0,0
7024
+ BRDA:161,16,1,5
7025
+ BRDA:161,17,0,5
7026
+ BRDA:161,17,1,0
7027
+ BRDA:181,18,0,0
7028
+ BRDA:181,18,1,0
7029
+ BRDA:182,19,0,0
7030
+ BRDA:182,19,1,0
7031
+ BRDA:197,20,0,0
7032
+ BRDA:197,20,1,0
7033
+ BRDA:201,21,0,0
7034
+ BRDA:201,21,1,0
7035
+ BRDA:210,22,0,0
7036
+ BRDA:210,22,1,0
7037
+ BRDA:218,23,0,0
7038
+ BRDA:218,23,1,0
7039
+ BRDA:219,24,0,0
7040
+ BRDA:219,24,1,0
7041
+ BRDA:233,25,0,0
7042
+ BRDA:233,25,1,0
7043
+ BRDA:233,26,0,0
7044
+ BRDA:233,26,1,0
7045
+ BRDA:238,27,0,0
7046
+ BRDA:238,27,1,0
7047
+ BRDA:241,28,0,0
7048
+ BRDA:241,28,1,0
7049
+ BRDA:253,29,0,0
7050
+ BRDA:253,29,1,5
7051
+ BRDA:273,30,0,0
7052
+ BRDA:273,30,1,5
7053
+ BRDA:273,31,0,5
7054
+ BRDA:273,31,1,0
7055
+ BRDA:281,32,0,0
7056
+ BRDA:281,32,1,5
7057
+ BRDA:281,33,0,5
7058
+ BRDA:281,33,1,0
7059
+ BRDA:295,34,0,0
7060
+ BRDA:295,34,1,5
7061
+ BRDA:297,35,0,0
7062
+ BRDA:297,35,1,0
7063
+ BRDA:305,36,0,0
7064
+ BRDA:305,36,1,5
7065
+ BRDA:305,37,0,5
7066
+ BRDA:305,37,1,5
7067
+ BRF:75
7068
+ BRH:19
7078
7069
  end_of_record
7079
7070
  TN:
7080
7071
  SF:src/threads/query.js
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.1.15",
4
+ "version": "1.1.16",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -77,11 +77,11 @@
77
77
  "license": "GPL-3.0",
78
78
  "dependencies": {
79
79
  "@apidevtools/swagger-parser": "10.0.3",
80
- "@budibase/backend-core": "^1.1.15",
81
- "@budibase/client": "^1.1.15",
82
- "@budibase/pro": "1.1.15",
83
- "@budibase/string-templates": "^1.1.15",
84
- "@budibase/types": "^1.1.15",
80
+ "@budibase/backend-core": "^1.1.16",
81
+ "@budibase/client": "^1.1.16",
82
+ "@budibase/pro": "1.1.16",
83
+ "@budibase/string-templates": "^1.1.16",
84
+ "@budibase/types": "^1.1.16",
85
85
  "@bull-board/api": "3.7.0",
86
86
  "@bull-board/koa": "3.9.4",
87
87
  "@elastic/elasticsearch": "7.10.0",
@@ -13,9 +13,7 @@ const actions = require("../automations/actions");
13
13
  const automationUtils = require("../automations/automationUtils");
14
14
  const AutomationEmitter = require("../events/AutomationEmitter");
15
15
  const { processObject } = require("@budibase/string-templates");
16
- const { DEFAULT_TENANT_ID } = require("@budibase/backend-core/constants");
17
16
  const { DocumentTypes } = require("../db/utils");
18
- const { doInTenant } = require("@budibase/backend-core/tenancy");
19
17
  const { definitions: triggerDefs } = require("../automations/triggerInfo");
20
18
  const { doInAppContext, getAppDB } = require("@budibase/backend-core/context");
21
19
  const { AutomationErrors, LoopStepTypes } = require("../constants");
@@ -132,7 +130,6 @@ class Orchestrator {
132
130
  var _a;
133
131
  return __awaiter(this, void 0, void 0, function* () {
134
132
  let automation = this._automation;
135
- const app = yield this.getApp();
136
133
  let stopped = false;
137
134
  let loopStep = null;
138
135
  let stepCount = 0;
@@ -237,14 +234,11 @@ class Orchestrator {
237
234
  inputs = automationUtils.cleanInputValues(inputs, step.schema.inputs);
238
235
  try {
239
236
  // appId is always passed
240
- let tenantId = app.tenantId || DEFAULT_TENANT_ID;
241
- const outputs = yield doInTenant(tenantId, () => {
242
- return stepFn({
243
- inputs: inputs,
244
- appId: this._appId,
245
- emitter: this._emitter,
246
- context: this._context,
247
- });
237
+ const outputs = yield stepFn({
238
+ inputs: inputs,
239
+ appId: this._appId,
240
+ emitter: this._emitter,
241
+ context: this._context,
248
242
  });
249
243
  this._context.steps[stepCount] = outputs;
250
244
  // if filter causes us to stop execution don't break the loop, set a var