@budibase/server 1.0.220-alpha.1 → 1.0.220-alpha.2

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 (171) hide show
  1. package/builder/assets/{index.b4622e74.js → index.e1885c5f.js} +175 -179
  2. package/builder/index.html +1 -1
  3. package/coverage/clover.xml +102 -129
  4. package/coverage/coverage-final.json +3 -3
  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 +13 -166
  13. package/coverage/lcov-report/api/controllers/index.html +20 -20
  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 +2 -5
  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 +26 -26
  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 +1 -1
  134. package/coverage/lcov-report/threads/index.html +1 -1
  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 +15 -15
  142. package/coverage/lcov-report/utilities/index.js.html +9 -24
  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 +154 -197
  159. package/dist/api/controllers/application.js +1 -1
  160. package/dist/api/controllers/dev.js +2 -40
  161. package/dist/api/controllers/static/index.js +1 -5
  162. package/dist/api/routes/dev.js +1 -2
  163. package/dist/package.json +6 -6
  164. package/dist/tsconfig.build.tsbuildinfo +1 -1
  165. package/dist/utilities/index.js +1 -5
  166. package/package.json +7 -7
  167. package/src/api/controllers/application.ts +1 -5
  168. package/src/api/controllers/dev.js +2 -53
  169. package/src/api/controllers/static/index.js +1 -6
  170. package/src/api/routes/dev.js +0 -1
  171. package/src/utilities/index.js +1 -6
@@ -772,19 +772,17 @@ BRH:20
772
772
  end_of_record
773
773
  TN:
774
774
  SF:src/api/controllers/dev.js
775
- FN:16,redirect
776
- FN:53,(anonymous_1)
777
- FN:54,(anonymous_2)
778
- FN:59,(anonymous_3)
779
- FN:60,(anonymous_4)
780
- FN:65,(anonymous_5)
781
- FN:66,(anonymous_6)
782
- FN:71,(anonymous_7)
783
- FN:83,(anonymous_8)
784
- FN:133,(anonymous_9)
785
- FN:142,(anonymous_10)
786
- FN:172,(anonymous_11)
787
- FNF:12
775
+ FN:12,redirect
776
+ FN:49,(anonymous_1)
777
+ FN:50,(anonymous_2)
778
+ FN:55,(anonymous_3)
779
+ FN:56,(anonymous_4)
780
+ FN:61,(anonymous_5)
781
+ FN:62,(anonymous_6)
782
+ FN:67,(anonymous_7)
783
+ FN:79,(anonymous_8)
784
+ FN:129,(anonymous_9)
785
+ FNF:10
788
786
  FNH:5
789
787
  FNDA:0,redirect
790
788
  FNDA:54,(anonymous_1)
@@ -796,131 +794,96 @@ FNDA:0,(anonymous_6)
796
794
  FNDA:0,(anonymous_7)
797
795
  FNDA:1,(anonymous_8)
798
796
  FNDA:1,(anonymous_9)
799
- FNDA:0,(anonymous_10)
800
- FNDA:0,(anonymous_11)
801
797
  DA:1,27
802
798
  DA:2,27
803
799
  DA:3,27
804
800
  DA:4,27
805
801
  DA:5,27
802
+ DA:6,27
803
+ DA:7,27
804
+ DA:8,27
805
+ DA:9,27
806
806
  DA:10,27
807
- DA:11,27
808
- DA:12,27
809
- DA:13,27
810
- DA:14,27
811
- DA:17,0
812
- DA:18,0
813
- DA:19,0
807
+ DA:13,0
808
+ DA:14,0
809
+ DA:15,0
810
+ DA:28,0
811
+ DA:29,0
812
+ DA:30,0
814
813
  DA:32,0
815
814
  DA:33,0
816
815
  DA:34,0
817
- DA:36,0
818
816
  DA:37,0
819
817
  DA:38,0
820
- DA:41,0
821
818
  DA:42,0
819
+ DA:43,0
820
+ DA:44,0
822
821
  DA:46,0
823
- DA:47,0
824
- DA:48,0
825
- DA:50,0
826
- DA:53,27
827
- DA:54,54
828
- DA:55,0
829
- DA:59,27
830
- DA:60,54
831
- DA:61,0
832
- DA:65,27
833
- DA:66,54
834
- DA:67,0
835
- DA:71,27
822
+ DA:49,27
823
+ DA:50,54
824
+ DA:51,0
825
+ DA:55,27
826
+ DA:56,54
827
+ DA:57,0
828
+ DA:61,27
829
+ DA:62,54
830
+ DA:63,0
831
+ DA:67,27
832
+ DA:68,0
833
+ DA:69,0
834
+ DA:70,0
836
835
  DA:72,0
837
- DA:73,0
838
836
  DA:74,0
839
- DA:76,0
840
- DA:78,0
841
- DA:83,27
837
+ DA:79,27
838
+ DA:80,1
839
+ DA:81,1
842
840
  DA:84,1
843
841
  DA:85,1
844
- DA:88,1
845
- DA:89,1
842
+ DA:86,1
843
+ DA:87,1
844
+ DA:88,0
846
845
  DA:90,1
847
846
  DA:91,1
848
- DA:92,0
849
- DA:94,1
850
- DA:95,1
851
- DA:99,0
852
- DA:102,0
847
+ DA:95,0
848
+ DA:98,0
849
+ DA:101,1
853
850
  DA:105,1
854
- DA:109,1
855
- DA:110,1
856
- DA:112,0
851
+ DA:106,1
852
+ DA:108,0
853
+ DA:112,1
854
+ DA:113,1
855
+ DA:114,1
856
+ DA:115,1
857
857
  DA:116,1
858
858
  DA:117,1
859
859
  DA:118,1
860
- DA:119,1
861
- DA:120,1
862
860
  DA:121,1
863
- DA:122,1
861
+ DA:123,0
864
862
  DA:125,1
865
- DA:127,0
866
- DA:129,1
867
- DA:133,27
863
+ DA:129,27
864
+ DA:130,1
865
+ DA:131,1
868
866
  DA:134,1
869
- DA:135,1
870
- DA:138,1
871
- DA:142,27
872
- DA:144,0
873
- DA:145,0
874
- DA:146,0
875
- DA:147,0
876
- DA:149,0
877
- DA:152,0
878
- DA:155,0
879
- DA:156,0
880
- DA:157,0
881
- DA:160,0
882
- DA:161,0
883
- DA:162,0
884
- DA:164,0
885
- DA:165,0
886
- DA:166,0
887
- DA:172,0
888
- DA:174,0
889
- DA:175,0
890
- DA:176,0
891
- DA:177,0
892
- DA:178,0
893
- DA:181,0
894
- DA:183,0
895
- DA:184,0
896
- LF:95
897
- LH:43
898
- BRDA:16,0,0,0
899
- BRDA:18,1,0,0
900
- BRDA:18,1,1,0
901
- BRDA:32,2,0,0
902
- BRDA:32,2,1,0
903
- BRDA:37,3,0,0
904
- BRDA:37,3,1,0
905
- BRDA:47,4,0,0
906
- BRDA:47,4,1,0
907
- BRDA:91,5,0,0
908
- BRDA:91,5,1,1
909
- BRDA:95,6,0,0
910
- BRDA:95,6,1,1
911
- BRDA:96,7,0,1
912
- BRDA:96,7,1,1
913
- BRDA:110,8,0,0
914
- BRDA:110,8,1,1
915
- BRDA:144,9,0,0
916
- BRDA:144,9,1,0
917
- BRDA:144,10,0,0
918
- BRDA:144,10,1,0
919
- BRDA:146,11,0,0
920
- BRDA:146,11,1,0
921
- BRDA:176,12,0,0
922
- BRDA:176,12,1,0
923
- BRF:25
867
+ LF:70
868
+ LH:42
869
+ BRDA:12,0,0,0
870
+ BRDA:14,1,0,0
871
+ BRDA:14,1,1,0
872
+ BRDA:28,2,0,0
873
+ BRDA:28,2,1,0
874
+ BRDA:33,3,0,0
875
+ BRDA:33,3,1,0
876
+ BRDA:43,4,0,0
877
+ BRDA:43,4,1,0
878
+ BRDA:87,5,0,0
879
+ BRDA:87,5,1,1
880
+ BRDA:91,6,0,0
881
+ BRDA:91,6,1,1
882
+ BRDA:92,7,0,1
883
+ BRDA:92,7,1,1
884
+ BRDA:106,8,0,0
885
+ BRDA:106,8,1,1
886
+ BRF:17
924
887
  BRH:5
925
888
  end_of_record
926
889
  TN:
@@ -4135,7 +4098,7 @@ DA:16,27
4135
4098
  DA:17,27
4136
4099
  DA:18,27
4137
4100
  DA:21,27
4138
- DA:27,27
4101
+ DA:26,27
4139
4102
  LF:12
4140
4103
  LH:12
4141
4104
  BRDA:16,0,0,27
@@ -7722,16 +7685,16 @@ FN:16,(anonymous_2)
7722
7685
  FN:30,(anonymous_3)
7723
7686
  FN:38,(anonymous_4)
7724
7687
  FN:57,(anonymous_5)
7725
- FN:78,(anonymous_6)
7726
- FN:84,(anonymous_7)
7727
- FN:110,(anonymous_8)
7728
- FN:111,(anonymous_9)
7729
- FN:116,(anonymous_10)
7730
- FN:133,(anonymous_11)
7731
- FN:143,(anonymous_12)
7732
- FN:145,(anonymous_13)
7733
- FN:152,(anonymous_14)
7734
- FN:163,(anonymous_15)
7688
+ FN:73,(anonymous_6)
7689
+ FN:79,(anonymous_7)
7690
+ FN:105,(anonymous_8)
7691
+ FN:106,(anonymous_9)
7692
+ FN:111,(anonymous_10)
7693
+ FN:128,(anonymous_11)
7694
+ FN:138,(anonymous_12)
7695
+ FN:140,(anonymous_13)
7696
+ FN:147,(anonymous_14)
7697
+ FN:158,(anonymous_15)
7735
7698
  FNF:16
7736
7699
  FNH:15
7737
7700
  FNDA:4,(anonymous_0)
@@ -7773,62 +7736,60 @@ DA:41,2
7773
7736
  DA:43,0
7774
7737
  DA:57,47
7775
7738
  DA:58,252
7776
- DA:60,0
7777
- DA:61,0
7739
+ DA:59,0
7778
7740
  DA:64,0
7779
- DA:69,0
7780
- DA:70,0
7781
- DA:72,0
7782
- DA:74,252
7783
- DA:78,47
7784
- DA:79,2
7785
- DA:84,47
7741
+ DA:65,0
7742
+ DA:67,0
7743
+ DA:69,252
7744
+ DA:73,47
7745
+ DA:74,2
7746
+ DA:79,47
7747
+ DA:80,3
7748
+ DA:81,3
7749
+ DA:84,3
7786
7750
  DA:85,3
7787
7751
  DA:86,3
7788
- DA:89,3
7752
+ DA:87,0
7753
+ DA:88,0
7789
7754
  DA:90,3
7790
7755
  DA:91,3
7791
- DA:92,0
7792
- DA:93,0
7793
- DA:95,3
7794
- DA:96,3
7756
+ DA:93,3
7757
+ DA:94,3
7758
+ DA:95,0
7759
+ DA:97,3
7795
7760
  DA:98,3
7796
- DA:99,3
7797
- DA:100,0
7798
- DA:102,3
7799
- DA:103,3
7800
- DA:110,47
7801
- DA:111,1
7802
- DA:112,1
7803
- DA:116,47
7804
- DA:117,4
7805
- DA:118,4
7806
- DA:120,4
7807
- DA:121,4
7808
- DA:122,0
7809
- DA:123,0
7810
- DA:128,4
7761
+ DA:105,47
7762
+ DA:106,1
7763
+ DA:107,1
7764
+ DA:111,47
7765
+ DA:112,4
7766
+ DA:113,4
7767
+ DA:115,4
7768
+ DA:116,4
7769
+ DA:117,0
7770
+ DA:118,0
7771
+ DA:123,4
7772
+ DA:124,0
7773
+ DA:128,47
7811
7774
  DA:129,0
7812
- DA:133,47
7813
- DA:134,0
7814
- DA:143,47
7815
- DA:144,1
7816
- DA:146,1
7817
- DA:147,1
7818
- DA:152,47
7819
- DA:153,36
7820
- DA:154,36
7775
+ DA:138,47
7776
+ DA:139,1
7777
+ DA:141,1
7778
+ DA:142,1
7779
+ DA:147,47
7780
+ DA:148,36
7781
+ DA:149,36
7782
+ DA:150,36
7783
+ DA:151,36
7784
+ DA:152,36
7785
+ DA:153,0
7821
7786
  DA:155,36
7822
- DA:156,36
7823
- DA:157,36
7824
- DA:158,0
7825
- DA:160,36
7826
- DA:163,47
7827
- DA:164,1
7828
- DA:165,1
7829
- DA:166,0
7830
- DA:168,1
7831
- LF:78
7787
+ DA:158,47
7788
+ DA:159,1
7789
+ DA:160,1
7790
+ DA:161,0
7791
+ DA:163,1
7792
+ LF:76
7832
7793
  LH:62
7833
7794
  BRDA:18,0,0,1
7834
7795
  BRDA:18,0,1,0
@@ -7838,33 +7799,29 @@ BRDA:39,2,0,2
7838
7799
  BRDA:39,2,1,0
7839
7800
  BRDA:58,3,0,0
7840
7801
  BRDA:58,3,1,252
7841
- BRDA:60,4,0,0
7842
- BRDA:60,4,1,0
7843
- BRDA:60,5,0,0
7844
- BRDA:60,5,1,0
7845
- BRDA:69,6,0,0
7846
- BRDA:69,6,1,0
7847
- BRDA:99,7,0,0
7848
- BRDA:99,7,1,3
7849
- BRDA:122,8,0,0
7850
- BRDA:122,8,1,0
7851
- BRDA:128,9,0,0
7852
- BRDA:128,9,1,4
7853
- BRDA:128,10,0,4
7854
- BRDA:128,10,1,4
7855
- BRDA:156,11,0,36
7856
- BRDA:156,11,1,33
7857
- BRDA:157,12,0,36
7858
- BRDA:157,12,1,0
7802
+ BRDA:64,4,0,0
7803
+ BRDA:64,4,1,0
7804
+ BRDA:94,5,0,0
7805
+ BRDA:94,5,1,3
7806
+ BRDA:117,6,0,0
7807
+ BRDA:117,6,1,0
7808
+ BRDA:123,7,0,0
7809
+ BRDA:123,7,1,4
7810
+ BRDA:123,8,0,4
7811
+ BRDA:123,8,1,4
7812
+ BRDA:151,9,0,36
7813
+ BRDA:151,9,1,33
7814
+ BRDA:152,10,0,36
7815
+ BRDA:152,10,1,0
7816
+ BRDA:155,11,0,0
7817
+ BRDA:155,11,1,36
7818
+ BRDA:155,12,0,36
7819
+ BRDA:155,12,1,33
7859
7820
  BRDA:160,13,0,0
7860
- BRDA:160,13,1,36
7861
- BRDA:160,14,0,36
7862
- BRDA:160,14,1,33
7863
- BRDA:165,15,0,0
7864
- BRDA:165,15,1,1
7865
- BRDA:165,16,0,1
7866
- BRDA:165,16,1,0
7867
- BRF:34
7821
+ BRDA:160,13,1,1
7822
+ BRDA:160,14,0,1
7823
+ BRDA:160,14,1,0
7824
+ BRF:30
7868
7825
  BRH:16
7869
7826
  end_of_record
7870
7827
  TN:
@@ -190,7 +190,7 @@ const fetchAppPackage = (ctx) => __awaiter(void 0, void 0, void 0, function* ()
190
190
  application,
191
191
  screens,
192
192
  layouts,
193
- clientLibPath: (0, utilities_1.clientLibraryPath)(ctx.params.appId, application.version, ctx),
193
+ clientLibPath: (0, utilities_1.clientLibraryPath)(ctx.params.appId, application.version),
194
194
  };
195
195
  });
196
196
  exports.fetchAppPackage = fetchAppPackage;
@@ -13,8 +13,8 @@ const env = require("../../environment");
13
13
  const { checkSlashesInUrl } = require("../../utilities");
14
14
  const { request } = require("../../utilities/workerRequests");
15
15
  const { clearLock } = require("../../utilities/redis");
16
- const { Replication, getProdAppID, dangerousGetDB, } = require("@budibase/backend-core/db");
17
- const { DocumentTypes, getRowParams } = require("../../db/utils");
16
+ const { Replication, getProdAppID } = require("@budibase/backend-core/db");
17
+ const { DocumentTypes } = require("../../db/utils");
18
18
  const { app: appCache } = require("@budibase/backend-core/cache");
19
19
  const { getProdAppDB, getAppDB } = require("@budibase/backend-core/context");
20
20
  const { events } = require("@budibase/backend-core");
@@ -129,41 +129,3 @@ exports.getBudibaseVersion = (ctx) => __awaiter(void 0, void 0, void 0, function
129
129
  };
130
130
  yield events.installation.versionChecked(version);
131
131
  });
132
- // TODO: remove as part of beta program
133
- exports.checkBetaAccess = (ctx) => __awaiter(void 0, void 0, void 0, function* () {
134
- // go to the cloud platform if running self hosted
135
- if (env.SELF_HOSTED || !env.MULTI_TENANCY) {
136
- let baseUrl = "";
137
- if (env.ACCOUNT_PORTAL_URL) {
138
- baseUrl = env.ACCOUNT_PORTAL_URL.replace("account.", "");
139
- }
140
- else {
141
- baseUrl = "https://budibase.app";
142
- }
143
- const response = yield fetch(`${baseUrl}/api/beta/access?email=${ctx.query.email}`);
144
- const json = yield response.json();
145
- ctx.body = json;
146
- return;
147
- }
148
- const userToCheck = ctx.query.email;
149
- const BETA_USERS_DB = "app_bb_f9b77d06b9db4e3ca185476ab87a2364";
150
- const BETA_USERS_TABLE = "ta_8c2c6df1c03f49cfb6340e85e066dd15";
151
- try {
152
- const db = dangerousGetDB(BETA_USERS_DB);
153
- const betaUsers = (yield db.allDocs(getRowParams(BETA_USERS_TABLE, null, {
154
- include_docs: true,
155
- }))).rows.map(row => row.doc);
156
- let access = false;
157
- for (let betaUser of betaUsers) {
158
- if (betaUser["Email address"].trim() === userToCheck) {
159
- access = true;
160
- break;
161
- }
162
- }
163
- ctx.body = { access };
164
- }
165
- catch (err) {
166
- console.error(err);
167
- ctx.body = { access: false };
168
- }
169
- });
@@ -69,11 +69,7 @@ exports.toggleBetaUiFeature = function (ctx) {
69
69
  };
70
70
  exports.serveBuilder = function (ctx) {
71
71
  return __awaiter(this, void 0, void 0, function* () {
72
- // Temporary: New Design UI
73
- const designUiCookie = ctx.cookies.get("beta:design_ui");
74
- // TODO: get this from the tmp Dir that we downloaded from MinIO
75
- const uiPath = designUiCookie ? "new_design_ui" : "builder";
76
- let builderPath = resolve(TOP_LEVEL_PATH, uiPath);
72
+ const builderPath = resolve(TOP_LEVEL_PATH, "builder");
77
73
  yield send(ctx, ctx.file, { root: builderPath });
78
74
  if (!ctx.file.includes("assets/")) {
79
75
  yield events.serve.servedBuilder();
@@ -18,6 +18,5 @@ if (env.isDev() || env.isTest()) {
18
18
  router
19
19
  .get("/api/dev/version", authorized(BUILDER), controller.getBudibaseVersion)
20
20
  .delete("/api/dev/:appId/lock", authorized(BUILDER), controller.clearLock)
21
- .post("/api/dev/:appId/revert", authorized(BUILDER), controller.revert)
22
- .get("/api/beta/access", controller.checkBetaAccess);
21
+ .post("/api/dev/:appId/revert", authorized(BUILDER), controller.revert);
23
22
  module.exports = router;
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.220-alpha.0",
4
+ "version": "1.0.220-alpha.1",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -77,10 +77,10 @@
77
77
  "license": "GPL-3.0",
78
78
  "dependencies": {
79
79
  "@apidevtools/swagger-parser": "10.0.3",
80
- "@budibase/backend-core": "^1.0.220-alpha.0",
81
- "@budibase/client": "^1.0.220-alpha.0",
82
- "@budibase/pro": "1.0.220-alpha.0",
83
- "@budibase/string-templates": "^1.0.220-alpha.0",
80
+ "@budibase/backend-core": "^1.0.220-alpha.1",
81
+ "@budibase/client": "^1.0.220-alpha.1",
82
+ "@budibase/pro": "1.0.220-alpha.1",
83
+ "@budibase/string-templates": "^1.0.220-alpha.1",
84
84
  "@bull-board/api": "3.7.0",
85
85
  "@bull-board/koa": "3.9.4",
86
86
  "@elastic/elasticsearch": "7.10.0",
@@ -151,7 +151,7 @@
151
151
  "@babel/core": "7.17.4",
152
152
  "@babel/preset-env": "7.16.11",
153
153
  "@budibase/standard-components": "^0.9.139",
154
- "@budibase/types": "^1.0.220-alpha.0",
154
+ "@budibase/types": "^1.0.220-alpha.1",
155
155
  "@jest/test-sequencer": "24.9.0",
156
156
  "@types/apidoc": "0.50.0",
157
157
  "@types/bson": "4.2.0",