@budibase/worker 2.3.14 → 2.3.16
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.
- package/coverage/clover.xml +93 -90
- package/coverage/coverage-final.json +1 -1
- package/coverage/lcov-report/index.html +10 -10
- package/coverage/lcov-report/src/api/controllers/global/auth.ts.html +17 -8
- package/coverage/lcov-report/src/api/controllers/global/configs.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/email.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/events.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/index.html +11 -11
- package/coverage/lcov-report/src/api/controllers/global/license.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/roles.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/self.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/templates.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/users.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/workspaces.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/system/accounts.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/system/environment.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/system/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/system/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/system/restore.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/system/status.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/system/tenants.ts.html +1 -1
- package/coverage/lcov-report/src/api/index.html +1 -1
- package/coverage/lcov-report/src/api/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/auth.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/configs.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/email.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/events.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/license.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/roles.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/self.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/templates.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/users.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/workspaces.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/accounts.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/environment.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/restore.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/status.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/tenants.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/validation/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/validation/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/validation/users.ts.html +1 -1
- package/coverage/lcov-report/src/constants/index.html +1 -1
- package/coverage/lcov-report/src/constants/index.ts.html +1 -1
- package/coverage/lcov-report/src/constants/templates/index.html +1 -1
- package/coverage/lcov-report/src/constants/templates/index.ts.html +1 -1
- package/coverage/lcov-report/src/db/index.html +1 -1
- package/coverage/lcov-report/src/db/index.ts.html +1 -1
- package/coverage/lcov-report/src/environment.ts.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/cloudRestricted.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/index.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/globalInfoSyncUsers.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/index.html +1 -1
- package/coverage/lcov-report/src/migrations/index.html +1 -1
- package/coverage/lcov-report/src/migrations/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/accounts/accounts.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/accounts/index.html +1 -1
- package/coverage/lcov-report/src/sdk/accounts/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/index.html +1 -1
- package/coverage/lcov-report/src/sdk/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/users/events.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/users/index.html +1 -1
- package/coverage/lcov-report/src/sdk/users/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/users/users.ts.html +1 -1
- package/coverage/lcov-report/src/tests/TestConfiguration.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/accounts.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/auth.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/base.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/configs.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/email.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/environment.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/groups.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/index.html +1 -1
- package/coverage/lcov-report/src/tests/api/index.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/license.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/restore.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/roles.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/self.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/status.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/templates.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/tenants.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/users.ts.html +1 -1
- package/coverage/lcov-report/src/tests/controllers.ts.html +1 -1
- package/coverage/lcov-report/src/tests/index.html +1 -1
- package/coverage/lcov-report/src/tests/index.ts.html +1 -1
- package/coverage/lcov-report/src/tests/mocks/email.ts.html +1 -1
- package/coverage/lcov-report/src/tests/mocks/index.html +1 -1
- package/coverage/lcov-report/src/tests/mocks/index.ts.html +1 -1
- package/coverage/lcov-report/src/tests/structures/configs.ts.html +1 -1
- package/coverage/lcov-report/src/tests/structures/groups.ts.html +1 -1
- package/coverage/lcov-report/src/tests/structures/index.html +1 -1
- package/coverage/lcov-report/src/tests/structures/index.ts.html +1 -1
- package/coverage/lcov-report/src/tests/structures/users.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/appService.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/email.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/fileSystem.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/index.html +1 -1
- package/coverage/lcov-report/src/utilities/index.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/redis.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/templates.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/users.ts.html +1 -1
- package/coverage/lcov.info +132 -129
- package/package.json +6 -6
- package/src/api/controllers/global/auth.ts +5 -2
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1676473595137" clover="3.2.0">
|
|
3
|
+
<project timestamp="1676473595137" name="All files">
|
|
4
|
+
<metrics statements="1878" coveredstatements="1541" conditionals="504" coveredconditionals="347" methods="529" coveredmethods="440" elements="2911" coveredelements="2328" complexity="0" loc="1878" ncloc="1878" packages="22" files="83" classes="83"/>
|
|
5
5
|
<package name="src">
|
|
6
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">
|
|
@@ -129,9 +129,9 @@
|
|
|
129
129
|
</file>
|
|
130
130
|
</package>
|
|
131
131
|
<package name="src.api.controllers.global">
|
|
132
|
-
<metrics statements="
|
|
132
|
+
<metrics statements="609" coveredstatements="394" conditionals="162" coveredconditionals="92" methods="157" coveredmethods="111"/>
|
|
133
133
|
<file name="auth.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/auth.ts">
|
|
134
|
-
<metrics statements="
|
|
134
|
+
<metrics statements="122" coveredstatements="72" conditionals="18" coveredconditionals="5" methods="39" coveredmethods="24"/>
|
|
135
135
|
<line num="10" count="18" type="stmt"/>
|
|
136
136
|
<line num="11" count="18" type="stmt"/>
|
|
137
137
|
<line num="12" count="18" type="stmt"/>
|
|
@@ -148,109 +148,112 @@
|
|
|
148
148
|
<line num="27" count="3" type="stmt"/>
|
|
149
149
|
<line num="31" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
150
150
|
<line num="32" count="0" type="stmt"/>
|
|
151
|
-
<line num="33" count="0" type="
|
|
152
|
-
<line num="
|
|
153
|
-
<line num="
|
|
154
|
-
<line num="
|
|
155
|
-
<line num="
|
|
156
|
-
<line num="
|
|
157
|
-
<line num="
|
|
158
|
-
<line num="
|
|
159
|
-
<line num="
|
|
151
|
+
<line num="33" count="0" type="stmt"/>
|
|
152
|
+
<line num="34" count="0" type="stmt"/>
|
|
153
|
+
<line num="35" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
154
|
+
<line num="38" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
155
|
+
<line num="39" count="0" type="stmt"/>
|
|
156
|
+
<line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
157
|
+
<line num="44" count="1" type="stmt"/>
|
|
158
|
+
<line num="46" count="1" type="stmt"/>
|
|
159
|
+
<line num="49" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
160
|
+
<line num="50" count="0" type="stmt"/>
|
|
161
|
+
<line num="54" count="18" type="stmt"/>
|
|
160
162
|
<line num="55" count="0" type="stmt"/>
|
|
161
|
-
<line num="
|
|
162
|
-
<line num="57" count="0" type="stmt"/>
|
|
163
|
+
<line num="58" count="0" type="stmt"/>
|
|
163
164
|
<line num="59" count="0" type="stmt"/>
|
|
164
|
-
<line num="
|
|
165
|
-
<line num="
|
|
166
|
-
<line num="
|
|
167
|
-
<line num="
|
|
168
|
-
<line num="
|
|
169
|
-
<line num="
|
|
170
|
-
<line num="
|
|
165
|
+
<line num="60" count="0" type="stmt"/>
|
|
166
|
+
<line num="62" count="0" type="stmt"/>
|
|
167
|
+
<line num="67" count="18" type="stmt"/>
|
|
168
|
+
<line num="68" count="0" type="stmt"/>
|
|
169
|
+
<line num="69" count="0" type="stmt"/>
|
|
170
|
+
<line num="70" count="0" type="stmt"/>
|
|
171
|
+
<line num="73" count="18" type="stmt"/>
|
|
171
172
|
<line num="74" count="0" type="stmt"/>
|
|
172
|
-
<line num="75" count="0" type="
|
|
173
|
-
<line num="
|
|
174
|
-
<line num="
|
|
175
|
-
<line num="
|
|
176
|
-
<line num="
|
|
177
|
-
<line num="
|
|
178
|
-
<line num="
|
|
179
|
-
<line num="
|
|
180
|
-
<line num="94" count="2" type="
|
|
173
|
+
<line num="75" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
174
|
+
<line num="77" count="0" type="stmt"/>
|
|
175
|
+
<line num="78" count="0" type="stmt"/>
|
|
176
|
+
<line num="85" count="18" type="stmt"/>
|
|
177
|
+
<line num="86" count="2" type="stmt"/>
|
|
178
|
+
<line num="87" count="2" type="stmt"/>
|
|
179
|
+
<line num="88" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
180
|
+
<line num="89" count="0" type="stmt"/>
|
|
181
|
+
<line num="94" count="2" type="stmt"/>
|
|
181
182
|
<line num="95" count="2" type="stmt"/>
|
|
182
|
-
<line num="
|
|
183
|
-
<line num="
|
|
184
|
-
<line num="
|
|
185
|
-
<line num="
|
|
186
|
-
<line num="
|
|
187
|
-
<line num="
|
|
188
|
-
<line num="116" count="1" type="stmt"/>
|
|
183
|
+
<line num="97" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
184
|
+
<line num="98" count="2" type="stmt"/>
|
|
185
|
+
<line num="102" count="2" type="stmt"/>
|
|
186
|
+
<line num="105" count="0" type="stmt"/>
|
|
187
|
+
<line num="108" count="2" type="stmt"/>
|
|
188
|
+
<line num="116" count="18" type="stmt"/>
|
|
189
189
|
<line num="117" count="1" type="stmt"/>
|
|
190
190
|
<line num="118" count="1" type="stmt"/>
|
|
191
191
|
<line num="119" count="1" type="stmt"/>
|
|
192
192
|
<line num="120" count="1" type="stmt"/>
|
|
193
193
|
<line num="121" count="1" type="stmt"/>
|
|
194
|
-
<line num="
|
|
195
|
-
<line num="
|
|
196
|
-
<line num="
|
|
197
|
-
<line num="
|
|
198
|
-
<line num="
|
|
199
|
-
<line num="
|
|
200
|
-
<line num="
|
|
201
|
-
<line num="
|
|
202
|
-
<line num="
|
|
203
|
-
<line num="
|
|
204
|
-
<line num="
|
|
205
|
-
<line num="143" count="
|
|
194
|
+
<line num="122" count="1" type="stmt"/>
|
|
195
|
+
<line num="123" count="1" type="stmt"/>
|
|
196
|
+
<line num="124" count="1" type="stmt"/>
|
|
197
|
+
<line num="128" count="1" type="stmt"/>
|
|
198
|
+
<line num="129" count="1" type="stmt"/>
|
|
199
|
+
<line num="131" count="0" type="stmt"/>
|
|
200
|
+
<line num="132" count="0" type="stmt"/>
|
|
201
|
+
<line num="136" count="18" type="stmt"/>
|
|
202
|
+
<line num="137" count="1" type="cond" truecount="3" falsecount="0"/>
|
|
203
|
+
<line num="138" count="1" type="stmt"/>
|
|
204
|
+
<line num="140" count="1" type="stmt"/>
|
|
205
|
+
<line num="143" count="18" type="stmt"/>
|
|
206
|
+
<line num="144" count="0" type="stmt"/>
|
|
206
207
|
<line num="145" count="0" type="stmt"/>
|
|
207
|
-
<line num="
|
|
208
|
-
<line num="
|
|
209
|
-
<line num="
|
|
210
|
-
<line num="
|
|
211
|
-
<line num="161" count="0" type="stmt"/>
|
|
208
|
+
<line num="146" count="0" type="stmt"/>
|
|
209
|
+
<line num="148" count="0" type="stmt"/>
|
|
210
|
+
<line num="158" count="0" type="stmt"/>
|
|
211
|
+
<line num="161" count="36" type="stmt"/>
|
|
212
212
|
<line num="162" count="0" type="stmt"/>
|
|
213
213
|
<line num="163" count="0" type="stmt"/>
|
|
214
|
-
<line num="
|
|
215
|
-
<line num="
|
|
216
|
-
<line num="
|
|
217
|
-
<line num="
|
|
218
|
-
<line num="
|
|
219
|
-
<line num="
|
|
220
|
-
<line num="
|
|
221
|
-
<line num="
|
|
222
|
-
<line num="
|
|
223
|
-
<line num="
|
|
224
|
-
<line num="
|
|
225
|
-
<line num="
|
|
226
|
-
<line num="
|
|
227
|
-
<line num="
|
|
228
|
-
<line num="
|
|
214
|
+
<line num="164" count="0" type="stmt"/>
|
|
215
|
+
<line num="165" count="0" type="stmt"/>
|
|
216
|
+
<line num="166" count="0" type="stmt"/>
|
|
217
|
+
<line num="173" count="18" type="stmt"/>
|
|
218
|
+
<line num="174" count="0" type="stmt"/>
|
|
219
|
+
<line num="176" count="0" type="stmt"/>
|
|
220
|
+
<line num="180" count="0" type="stmt"/>
|
|
221
|
+
<line num="181" count="0" type="stmt"/>
|
|
222
|
+
<line num="187" count="0" type="stmt"/>
|
|
223
|
+
<line num="194" count="54" type="stmt"/>
|
|
224
|
+
<line num="195" count="0" type="stmt"/>
|
|
225
|
+
<line num="197" count="0" type="stmt"/>
|
|
226
|
+
<line num="201" count="0" type="stmt"/>
|
|
227
|
+
<line num="202" count="0" type="stmt"/>
|
|
228
|
+
<line num="208" count="0" type="stmt"/>
|
|
229
|
+
<line num="212" count="0" type="stmt"/>
|
|
229
230
|
<line num="213" count="0" type="stmt"/>
|
|
230
|
-
<line num="
|
|
231
|
-
<line num="
|
|
232
|
-
<line num="
|
|
233
|
-
<line num="
|
|
234
|
-
<line num="
|
|
231
|
+
<line num="214" count="0" type="stmt"/>
|
|
232
|
+
<line num="216" count="0" type="stmt"/>
|
|
233
|
+
<line num="221" count="18" type="stmt"/>
|
|
234
|
+
<line num="222" count="3" type="stmt"/>
|
|
235
|
+
<line num="223" count="3" type="stmt"/>
|
|
236
|
+
<line num="228" count="3" type="stmt"/>
|
|
235
237
|
<line num="229" count="3" type="stmt"/>
|
|
236
|
-
<line num="
|
|
237
|
-
<line num="
|
|
238
|
-
<line num="
|
|
239
|
-
<line num="242" count="2" type="stmt"/>
|
|
238
|
+
<line num="232" count="3" type="stmt"/>
|
|
239
|
+
<line num="236" count="3" type="stmt"/>
|
|
240
|
+
<line num="243" count="18" type="stmt"/>
|
|
240
241
|
<line num="244" count="2" type="stmt"/>
|
|
241
|
-
<line num="
|
|
242
|
+
<line num="245" count="2" type="stmt"/>
|
|
242
243
|
<line num="247" count="2" type="stmt"/>
|
|
243
|
-
<line num="
|
|
244
|
-
<line num="
|
|
245
|
-
<line num="
|
|
246
|
-
<line num="
|
|
247
|
-
<line num="
|
|
248
|
-
<line num="
|
|
244
|
+
<line num="249" count="2" type="stmt"/>
|
|
245
|
+
<line num="250" count="2" type="stmt"/>
|
|
246
|
+
<line num="255" count="2" type="stmt"/>
|
|
247
|
+
<line num="258" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
248
|
+
<line num="262" count="2" type="stmt"/>
|
|
249
|
+
<line num="268" count="54" type="stmt"/>
|
|
249
250
|
<line num="269" count="1" type="stmt"/>
|
|
250
|
-
<line num="
|
|
251
|
-
<line num="
|
|
252
|
-
<line num="
|
|
251
|
+
<line num="270" count="1" type="stmt"/>
|
|
252
|
+
<line num="272" count="1" type="stmt"/>
|
|
253
|
+
<line num="276" count="1" type="stmt"/>
|
|
253
254
|
<line num="277" count="1" type="stmt"/>
|
|
255
|
+
<line num="278" count="1" type="stmt"/>
|
|
256
|
+
<line num="280" count="1" type="stmt"/>
|
|
254
257
|
</file>
|
|
255
258
|
<file name="configs.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/configs.ts">
|
|
256
259
|
<metrics statements="166" coveredstatements="111" conditionals="92" coveredconditionals="63" methods="31" coveredmethods="24"/>
|