@budibase/worker 2.2.12-alpha.11 → 2.2.12-alpha.13

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 (110) hide show
  1. package/coverage/clover.xml +37 -35
  2. package/coverage/coverage-final.json +2 -2
  3. package/coverage/lcov-report/index.html +17 -17
  4. package/coverage/lcov-report/src/api/controllers/global/auth.ts.html +1 -1
  5. package/coverage/lcov-report/src/api/controllers/global/configs.ts.html +1 -1
  6. package/coverage/lcov-report/src/api/controllers/global/email.ts.html +1 -1
  7. package/coverage/lcov-report/src/api/controllers/global/index.html +1 -1
  8. package/coverage/lcov-report/src/api/controllers/global/license.ts.html +1 -1
  9. package/coverage/lcov-report/src/api/controllers/global/roles.ts.html +1 -1
  10. package/coverage/lcov-report/src/api/controllers/global/self.ts.html +1 -1
  11. package/coverage/lcov-report/src/api/controllers/global/templates.ts.html +1 -1
  12. package/coverage/lcov-report/src/api/controllers/global/users.ts.html +1 -1
  13. package/coverage/lcov-report/src/api/controllers/global/workspaces.ts.html +1 -1
  14. package/coverage/lcov-report/src/api/controllers/system/accounts.ts.html +1 -1
  15. package/coverage/lcov-report/src/api/controllers/system/environment.ts.html +1 -1
  16. package/coverage/lcov-report/src/api/controllers/system/index.html +1 -1
  17. package/coverage/lcov-report/src/api/controllers/system/migrations.ts.html +1 -1
  18. package/coverage/lcov-report/src/api/controllers/system/restore.ts.html +1 -1
  19. package/coverage/lcov-report/src/api/controllers/system/status.ts.html +1 -1
  20. package/coverage/lcov-report/src/api/controllers/system/tenants.ts.html +1 -1
  21. package/coverage/lcov-report/src/api/index.html +1 -1
  22. package/coverage/lcov-report/src/api/index.ts.html +1 -1
  23. package/coverage/lcov-report/src/api/routes/global/auth.ts.html +1 -1
  24. package/coverage/lcov-report/src/api/routes/global/configs.ts.html +1 -1
  25. package/coverage/lcov-report/src/api/routes/global/email.ts.html +1 -1
  26. package/coverage/lcov-report/src/api/routes/global/index.html +1 -1
  27. package/coverage/lcov-report/src/api/routes/global/license.ts.html +1 -1
  28. package/coverage/lcov-report/src/api/routes/global/roles.ts.html +1 -1
  29. package/coverage/lcov-report/src/api/routes/global/self.ts.html +1 -1
  30. package/coverage/lcov-report/src/api/routes/global/templates.ts.html +1 -1
  31. package/coverage/lcov-report/src/api/routes/global/users.ts.html +1 -1
  32. package/coverage/lcov-report/src/api/routes/global/workspaces.ts.html +1 -1
  33. package/coverage/lcov-report/src/api/routes/index.html +1 -1
  34. package/coverage/lcov-report/src/api/routes/index.ts.html +1 -1
  35. package/coverage/lcov-report/src/api/routes/system/accounts.ts.html +1 -1
  36. package/coverage/lcov-report/src/api/routes/system/environment.ts.html +1 -1
  37. package/coverage/lcov-report/src/api/routes/system/index.html +1 -1
  38. package/coverage/lcov-report/src/api/routes/system/migrations.ts.html +1 -1
  39. package/coverage/lcov-report/src/api/routes/system/restore.ts.html +1 -1
  40. package/coverage/lcov-report/src/api/routes/system/status.ts.html +1 -1
  41. package/coverage/lcov-report/src/api/routes/system/tenants.ts.html +1 -1
  42. package/coverage/lcov-report/src/api/routes/validation/index.html +1 -1
  43. package/coverage/lcov-report/src/api/routes/validation/index.ts.html +1 -1
  44. package/coverage/lcov-report/src/api/routes/validation/users.ts.html +1 -1
  45. package/coverage/lcov-report/src/constants/index.html +1 -1
  46. package/coverage/lcov-report/src/constants/index.ts.html +1 -1
  47. package/coverage/lcov-report/src/constants/templates/index.html +1 -1
  48. package/coverage/lcov-report/src/constants/templates/index.ts.html +1 -1
  49. package/coverage/lcov-report/src/db/index.html +1 -1
  50. package/coverage/lcov-report/src/db/index.ts.html +1 -1
  51. package/coverage/lcov-report/src/environment.ts.html +1 -1
  52. package/coverage/lcov-report/src/index.html +10 -10
  53. package/coverage/lcov-report/src/index.ts.html +10 -7
  54. package/coverage/lcov-report/src/middleware/cloudRestricted.ts.html +1 -1
  55. package/coverage/lcov-report/src/middleware/index.html +1 -1
  56. package/coverage/lcov-report/src/migrations/functions/globalInfoSyncUsers.ts.html +1 -1
  57. package/coverage/lcov-report/src/migrations/functions/index.html +1 -1
  58. package/coverage/lcov-report/src/migrations/index.html +1 -1
  59. package/coverage/lcov-report/src/migrations/index.ts.html +1 -1
  60. package/coverage/lcov-report/src/sdk/accounts/accounts.ts.html +1 -1
  61. package/coverage/lcov-report/src/sdk/accounts/index.html +1 -1
  62. package/coverage/lcov-report/src/sdk/accounts/index.ts.html +1 -1
  63. package/coverage/lcov-report/src/sdk/index.html +1 -1
  64. package/coverage/lcov-report/src/sdk/index.ts.html +1 -1
  65. package/coverage/lcov-report/src/sdk/users/events.ts.html +1 -1
  66. package/coverage/lcov-report/src/sdk/users/index.html +1 -1
  67. package/coverage/lcov-report/src/sdk/users/index.ts.html +1 -1
  68. package/coverage/lcov-report/src/sdk/users/users.ts.html +1 -1
  69. package/coverage/lcov-report/src/tests/TestConfiguration.ts.html +1 -1
  70. package/coverage/lcov-report/src/tests/api/accounts.ts.html +1 -1
  71. package/coverage/lcov-report/src/tests/api/auth.ts.html +1 -1
  72. package/coverage/lcov-report/src/tests/api/base.ts.html +1 -1
  73. package/coverage/lcov-report/src/tests/api/configs.ts.html +1 -1
  74. package/coverage/lcov-report/src/tests/api/email.ts.html +1 -1
  75. package/coverage/lcov-report/src/tests/api/environment.ts.html +1 -1
  76. package/coverage/lcov-report/src/tests/api/groups.ts.html +1 -1
  77. package/coverage/lcov-report/src/tests/api/index.html +1 -1
  78. package/coverage/lcov-report/src/tests/api/index.ts.html +1 -1
  79. package/coverage/lcov-report/src/tests/api/license.ts.html +1 -1
  80. package/coverage/lcov-report/src/tests/api/migrations.ts.html +1 -1
  81. package/coverage/lcov-report/src/tests/api/restore.ts.html +1 -1
  82. package/coverage/lcov-report/src/tests/api/roles.ts.html +1 -1
  83. package/coverage/lcov-report/src/tests/api/self.ts.html +1 -1
  84. package/coverage/lcov-report/src/tests/api/status.ts.html +1 -1
  85. package/coverage/lcov-report/src/tests/api/templates.ts.html +1 -1
  86. package/coverage/lcov-report/src/tests/api/tenants.ts.html +1 -1
  87. package/coverage/lcov-report/src/tests/api/users.ts.html +1 -1
  88. package/coverage/lcov-report/src/tests/controllers.ts.html +1 -1
  89. package/coverage/lcov-report/src/tests/index.html +1 -1
  90. package/coverage/lcov-report/src/tests/index.ts.html +1 -1
  91. package/coverage/lcov-report/src/tests/mocks/email.ts.html +1 -1
  92. package/coverage/lcov-report/src/tests/mocks/index.html +1 -1
  93. package/coverage/lcov-report/src/tests/mocks/index.ts.html +1 -1
  94. package/coverage/lcov-report/src/tests/structures/configs.ts.html +1 -1
  95. package/coverage/lcov-report/src/tests/structures/groups.ts.html +1 -1
  96. package/coverage/lcov-report/src/tests/structures/index.html +1 -1
  97. package/coverage/lcov-report/src/tests/structures/index.ts.html +1 -1
  98. package/coverage/lcov-report/src/tests/structures/users.ts.html +1 -1
  99. package/coverage/lcov-report/src/utilities/appService.ts.html +19 -7
  100. package/coverage/lcov-report/src/utilities/email.ts.html +1 -1
  101. package/coverage/lcov-report/src/utilities/fileSystem.ts.html +1 -1
  102. package/coverage/lcov-report/src/utilities/index.html +12 -12
  103. package/coverage/lcov-report/src/utilities/index.ts.html +1 -1
  104. package/coverage/lcov-report/src/utilities/redis.ts.html +1 -1
  105. package/coverage/lcov-report/src/utilities/templates.ts.html +1 -1
  106. package/coverage/lcov-report/src/utilities/users.ts.html +1 -1
  107. package/coverage/lcov.info +48 -46
  108. package/package.json +6 -6
  109. package/src/index.ts +2 -1
  110. package/src/utilities/appService.ts +5 -1
@@ -1,9 +1,9 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1673461560511" clover="3.2.0">
3
- <project timestamp="1673461560511" name="All files">
4
- <metrics statements="1847" coveredstatements="1525" conditionals="497" coveredconditionals="345" methods="523" coveredmethods="435" elements="2867" coveredelements="2305" complexity="0" loc="1847" ncloc="1847" packages="22" files="81" classes="81"/>
2
+ <coverage generated="1673513184711" clover="3.2.0">
3
+ <project timestamp="1673513184712" name="All files">
4
+ <metrics statements="1849" coveredstatements="1526" conditionals="497" coveredconditionals="345" methods="523" coveredmethods="435" elements="2869" coveredelements="2306" complexity="0" loc="1849" ncloc="1849" packages="22" files="81" classes="81"/>
5
5
  <package name="src">
6
- <metrics statements="80" coveredstatements="54" conditionals="27" coveredconditionals="15" methods="16" coveredmethods="8"/>
6
+ <metrics statements="81" coveredstatements="55" conditionals="27" coveredconditionals="15" methods="16" coveredmethods="8"/>
7
7
  <file name="environment.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/environment.ts">
8
8
  <metrics statements="21" coveredstatements="17" conditionals="21" coveredconditionals="14" methods="6" coveredmethods="6"/>
9
9
  <line num="1" count="18" type="stmt"/>
@@ -29,7 +29,7 @@
29
29
  <line num="101" count="1187" type="stmt"/>
30
30
  </file>
31
31
  <file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/index.ts">
32
- <metrics statements="59" coveredstatements="37" conditionals="6" coveredconditionals="1" methods="10" coveredmethods="2"/>
32
+ <metrics statements="60" coveredstatements="38" conditionals="6" coveredconditionals="1" methods="10" coveredmethods="2"/>
33
33
  <line num="2" count="18" type="stmt"/>
34
34
  <line num="5" count="18" type="cond" truecount="0" falsecount="1"/>
35
35
  <line num="6" count="0" type="stmt"/>
@@ -52,43 +52,44 @@
52
52
  <line num="37" count="18" type="stmt"/>
53
53
  <line num="38" count="18" type="stmt"/>
54
54
  <line num="39" count="18" type="stmt"/>
55
- <line num="42" count="18" type="stmt"/>
55
+ <line num="40" count="18" type="stmt"/>
56
56
  <line num="43" count="18" type="stmt"/>
57
- <line num="46" count="18" type="stmt"/>
58
- <line num="49" count="18" type="cond" truecount="0" falsecount="1"/>
59
- <line num="50" count="0" type="stmt"/>
60
- <line num="52" count="0" type="stmt"/>
57
+ <line num="44" count="18" type="stmt"/>
58
+ <line num="47" count="18" type="stmt"/>
59
+ <line num="50" count="18" type="cond" truecount="0" falsecount="1"/>
60
+ <line num="51" count="0" type="stmt"/>
61
61
  <line num="53" count="0" type="stmt"/>
62
62
  <line num="54" count="0" type="stmt"/>
63
63
  <line num="55" count="0" type="stmt"/>
64
- <line num="57" count="0" type="stmt"/>
65
- <line num="62" count="18" type="stmt"/>
64
+ <line num="56" count="0" type="stmt"/>
65
+ <line num="58" count="0" type="stmt"/>
66
66
  <line num="63" count="18" type="stmt"/>
67
- <line num="65" count="18" type="stmt"/>
67
+ <line num="64" count="18" type="stmt"/>
68
68
  <line num="66" count="18" type="stmt"/>
69
69
  <line num="67" count="18" type="stmt"/>
70
- <line num="68" count="0" type="cond" truecount="0" falsecount="1"/>
71
- <line num="69" count="0" type="stmt"/>
72
- <line num="71" count="0" type="stmt"/>
70
+ <line num="68" count="18" type="stmt"/>
71
+ <line num="69" count="0" type="cond" truecount="0" falsecount="1"/>
72
+ <line num="70" count="0" type="stmt"/>
73
73
  <line num="72" count="0" type="stmt"/>
74
74
  <line num="73" count="0" type="stmt"/>
75
75
  <line num="74" count="0" type="stmt"/>
76
- <line num="75" count="0" type="cond" truecount="0" falsecount="1"/>
77
- <line num="76" count="0" type="stmt"/>
78
- <line num="80" count="18" type="stmt"/>
79
- <line num="81" count="0" type="stmt"/>
76
+ <line num="75" count="0" type="stmt"/>
77
+ <line num="76" count="0" type="cond" truecount="0" falsecount="1"/>
78
+ <line num="77" count="0" type="stmt"/>
79
+ <line num="81" count="18" type="stmt"/>
80
80
  <line num="82" count="0" type="stmt"/>
81
- <line num="85" count="18" type="cond" truecount="1" falsecount="1"/>
82
- <line num="86" count="18" type="stmt"/>
81
+ <line num="83" count="0" type="stmt"/>
82
+ <line num="86" count="18" type="cond" truecount="1" falsecount="1"/>
83
83
  <line num="87" count="18" type="stmt"/>
84
- <line num="90" count="18" type="stmt"/>
85
- <line num="91" count="0" type="stmt"/>
84
+ <line num="88" count="18" type="stmt"/>
85
+ <line num="91" count="18" type="stmt"/>
86
86
  <line num="92" count="0" type="stmt"/>
87
87
  <line num="93" count="0" type="stmt"/>
88
- <line num="96" count="18" type="stmt"/>
89
- <line num="97" count="0" type="stmt"/>
90
- <line num="100" count="18" type="stmt"/>
91
- <line num="101" count="0" type="stmt"/>
88
+ <line num="94" count="0" type="stmt"/>
89
+ <line num="97" count="18" type="stmt"/>
90
+ <line num="98" count="0" type="stmt"/>
91
+ <line num="101" count="18" type="stmt"/>
92
+ <line num="102" count="0" type="stmt"/>
92
93
  </file>
93
94
  </package>
94
95
  <package name="src.api">
@@ -1976,9 +1977,9 @@
1976
1977
  </file>
1977
1978
  </package>
1978
1979
  <package name="src.utilities">
1979
- <metrics statements="159" coveredstatements="129" conditionals="74" coveredconditionals="45" methods="32" coveredmethods="30"/>
1980
+ <metrics statements="160" coveredstatements="129" conditionals="74" coveredconditionals="45" methods="32" coveredmethods="30"/>
1980
1981
  <file name="appService.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/appService.ts">
1981
- <metrics statements="19" coveredstatements="9" conditionals="6" coveredconditionals="2" methods="2" coveredmethods="2"/>
1982
+ <metrics statements="20" coveredstatements="9" conditionals="6" coveredconditionals="2" methods="2" coveredmethods="2"/>
1982
1983
  <line num="1" count="18" type="stmt"/>
1983
1984
  <line num="2" count="18" type="stmt"/>
1984
1985
  <line num="3" count="18" type="stmt"/>
@@ -1993,11 +1994,12 @@
1993
1994
  <line num="16" count="0" type="stmt"/>
1994
1995
  <line num="17" count="0" type="stmt"/>
1995
1996
  <line num="19" count="0" type="stmt"/>
1996
- <line num="20" count="0" type="stmt"/>
1997
- <line num="23" count="101" type="stmt"/>
1998
- <line num="24" count="101" type="stmt"/>
1999
- <line num="29" count="101" type="cond" truecount="1" falsecount="2"/>
2000
- <line num="30" count="0" type="stmt"/>
1997
+ <line num="22" count="0" type="stmt"/>
1998
+ <line num="24" count="0" type="stmt"/>
1999
+ <line num="27" count="101" type="stmt"/>
2000
+ <line num="28" count="101" type="stmt"/>
2001
+ <line num="33" count="101" type="cond" truecount="1" falsecount="2"/>
2002
+ <line num="34" count="0" type="stmt"/>
2001
2003
  </file>
2002
2004
  <file name="email.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/email.ts">
2003
2005
  <metrics statements="72" coveredstatements="60" conditionals="45" coveredconditionals="27" methods="10" coveredmethods="10"/>