@budibase/worker 2.1.46-alpha.13 → 2.1.46-alpha.14
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 +477 -483
- package/coverage/coverage-final.json +81 -81
- package/coverage/lcov-report/index.html +30 -30
- package/coverage/lcov-report/src/api/controllers/global/auth.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/configs.ts.html +142 -199
- package/coverage/lcov-report/src/api/controllers/global/email.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/index.html +15 -15
- 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 +2 -2
- 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/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/license.ts.html +2 -2
- 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 +23 -8
- package/coverage/lcov-report/src/index.html +15 -15
- package/coverage/lcov-report/src/index.ts.html +3 -6
- 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 +14 -14
- package/coverage/lcov-report/src/sdk/users/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/users/users.ts.html +60 -9
- 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.js.html → email.ts.html} +4 -4
- package/coverage/lcov-report/src/tests/mocks/index.html +2 -2
- package/coverage/lcov-report/src/tests/mocks/index.ts.html +2 -2
- package/coverage/lcov-report/src/tests/structures/configs.ts.html +3 -3
- 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 +683 -682
- package/package.json +8 -7
- package/src/api/controllers/global/configs.ts +111 -130
- package/src/api/controllers/global/users.ts +1 -1
- package/src/api/routes/global/license.ts +1 -1
- package/src/environment.ts +5 -0
- package/src/index.ts +1 -2
- package/src/sdk/users/users.ts +18 -1
- package/src/tests/jestSetup.ts +3 -1
- package/src/tests/mocks/{email.js → email.ts} +1 -1
- package/src/tests/mocks/index.ts +1 -1
- package/src/tests/structures/configs.ts +2 -2
package/coverage/clover.xml
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1671105249683" clover="3.2.0">
|
|
3
|
+
<project timestamp="1671105249683" name="All files">
|
|
4
|
+
<metrics statements="1905" coveredstatements="1586" conditionals="639" coveredconditionals="463" methods="443" coveredmethods="349" elements="2987" coveredelements="2398" complexity="0" loc="1905" ncloc="1905" packages="22" files="81" classes="81"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
7
|
-
<file name="environment.ts" path="/
|
|
8
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="80" coveredstatements="53" conditionals="27" coveredconditionals="17" methods="16" coveredmethods="7"/>
|
|
7
|
+
<file name="environment.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/environment.ts">
|
|
8
|
+
<metrics statements="21" coveredstatements="16" conditionals="21" coveredconditionals="16" methods="5" coveredmethods="5"/>
|
|
9
9
|
<line num="1" count="18" type="stmt"/>
|
|
10
10
|
<line num="4" count="55" type="stmt"/>
|
|
11
11
|
<line num="8" count="157" type="stmt"/>
|
|
@@ -24,9 +24,11 @@
|
|
|
24
24
|
<line num="88" count="18" type="stmt"/>
|
|
25
25
|
<line num="90" count="630" type="cond" truecount="0" falsecount="1"/>
|
|
26
26
|
<line num="92" count="0" type="stmt"/>
|
|
27
|
-
<line num="
|
|
27
|
+
<line num="95" count="630" type="cond" truecount="0" falsecount="1"/>
|
|
28
|
+
<line num="97" count="0" type="stmt"/>
|
|
29
|
+
<line num="101" count="18" type="stmt"/>
|
|
28
30
|
</file>
|
|
29
|
-
<file name="index.ts" path="/
|
|
31
|
+
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/index.ts">
|
|
30
32
|
<metrics statements="59" coveredstatements="37" conditionals="6" coveredconditionals="1" methods="11" coveredmethods="2"/>
|
|
31
33
|
<line num="2" count="18" type="stmt"/>
|
|
32
34
|
<line num="5" count="18" type="cond" truecount="0" falsecount="1"/>
|
|
@@ -75,23 +77,23 @@
|
|
|
75
77
|
<line num="76" count="0" type="stmt"/>
|
|
76
78
|
<line num="80" count="18" type="stmt"/>
|
|
77
79
|
<line num="81" count="0" type="stmt"/>
|
|
78
|
-
<line num="
|
|
79
|
-
<line num="
|
|
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"/>
|
|
80
83
|
<line num="87" count="18" type="stmt"/>
|
|
81
|
-
<line num="
|
|
82
|
-
<line num="91" count="
|
|
84
|
+
<line num="90" count="18" type="stmt"/>
|
|
85
|
+
<line num="91" count="0" type="stmt"/>
|
|
83
86
|
<line num="92" count="0" type="stmt"/>
|
|
84
87
|
<line num="93" count="0" type="stmt"/>
|
|
85
|
-
<line num="
|
|
86
|
-
<line num="97" count="
|
|
87
|
-
<line num="
|
|
88
|
-
<line num="101" count="
|
|
89
|
-
<line num="102" 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"/>
|
|
90
92
|
</file>
|
|
91
93
|
</package>
|
|
92
94
|
<package name="src.api">
|
|
93
95
|
<metrics statements="30" coveredstatements="29" conditionals="9" coveredconditionals="7" methods="5" coveredmethods="3"/>
|
|
94
|
-
<file name="index.ts" path="/
|
|
96
|
+
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/index.ts">
|
|
95
97
|
<metrics statements="30" coveredstatements="29" conditionals="9" coveredconditionals="7" methods="5" coveredmethods="3"/>
|
|
96
98
|
<line num="1" count="18" type="stmt"/>
|
|
97
99
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -126,8 +128,8 @@
|
|
|
126
128
|
</file>
|
|
127
129
|
</package>
|
|
128
130
|
<package name="src.api.controllers.global">
|
|
129
|
-
<metrics statements="
|
|
130
|
-
<file name="auth.ts" path="/
|
|
131
|
+
<metrics statements="596" coveredstatements="394" conditionals="174" coveredconditionals="101" methods="137" coveredmethods="77"/>
|
|
132
|
+
<file name="auth.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/auth.ts">
|
|
131
133
|
<metrics statements="122" coveredstatements="75" conditionals="22" coveredconditionals="8" methods="41" coveredmethods="20"/>
|
|
132
134
|
<line num="1" count="18" type="stmt"/>
|
|
133
135
|
<line num="11" count="18" type="stmt"/>
|
|
@@ -252,189 +254,177 @@
|
|
|
252
254
|
<line num="275" count="1" type="stmt"/>
|
|
253
255
|
<line num="277" count="1" type="stmt"/>
|
|
254
256
|
</file>
|
|
255
|
-
<file name="configs.ts" path="/
|
|
256
|
-
<metrics statements="
|
|
257
|
+
<file name="configs.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/configs.ts">
|
|
258
|
+
<metrics statements="167" coveredstatements="112" conditionals="94" coveredconditionals="63" methods="25" coveredmethods="18"/>
|
|
257
259
|
<line num="1" count="18" type="stmt"/>
|
|
258
260
|
<line num="2" count="18" type="stmt"/>
|
|
259
261
|
<line num="3" count="18" type="stmt"/>
|
|
260
262
|
<line num="4" count="18" type="stmt"/>
|
|
261
|
-
<line num="11" count="18" type="stmt"/>
|
|
262
263
|
<line num="12" count="18" type="stmt"/>
|
|
263
|
-
<line num="
|
|
264
|
-
<line num="
|
|
265
|
-
<line num="
|
|
266
|
-
<line num="
|
|
267
|
-
<line num="
|
|
268
|
-
<line num="
|
|
269
|
-
<line num="
|
|
270
|
-
<line num="
|
|
271
|
-
<line num="
|
|
272
|
-
<line num="37" count="14" type="stmt"/>
|
|
273
|
-
<line num="40" count="4" type="stmt"/>
|
|
264
|
+
<line num="13" count="18" type="stmt"/>
|
|
265
|
+
<line num="29" count="41" type="stmt"/>
|
|
266
|
+
<line num="30" count="41" type="stmt"/>
|
|
267
|
+
<line num="33" count="41" type="cond" truecount="1" falsecount="0"/>
|
|
268
|
+
<line num="34" count="6" type="stmt"/>
|
|
269
|
+
<line num="37" count="41" type="cond" truecount="2" falsecount="0"/>
|
|
270
|
+
<line num="38" count="35" type="cond" truecount="2" falsecount="0"/>
|
|
271
|
+
<line num="39" count="14" type="stmt"/>
|
|
272
|
+
<line num="40" count="21" type="cond" truecount="2" falsecount="0"/>
|
|
274
273
|
<line num="41" count="4" type="stmt"/>
|
|
275
274
|
<line num="42" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
276
275
|
<line num="43" count="2" type="stmt"/>
|
|
277
|
-
<line num="45" count="
|
|
278
|
-
<line num="
|
|
279
|
-
<line num="
|
|
280
|
-
<line num="
|
|
281
|
-
<line num="
|
|
282
|
-
<line num="
|
|
283
|
-
<line num="
|
|
276
|
+
<line num="45" count="17" type="cond" truecount="2" falsecount="0"/>
|
|
277
|
+
<line num="46" count="6" type="stmt"/>
|
|
278
|
+
<line num="47" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
279
|
+
<line num="48" count="4" type="stmt"/>
|
|
280
|
+
<line num="50" count="11" type="cond" truecount="1" falsecount="0"/>
|
|
281
|
+
<line num="52" count="11" type="stmt"/>
|
|
282
|
+
<line num="53" count="11" type="cond" truecount="3" falsecount="0"/>
|
|
283
|
+
<line num="54" count="1" type="stmt"/>
|
|
284
284
|
<line num="58" count="11" type="stmt"/>
|
|
285
|
-
<line num="59" count="11" type="cond" truecount="
|
|
285
|
+
<line num="59" count="11" type="cond" truecount="1" falsecount="0"/>
|
|
286
286
|
<line num="60" count="1" type="stmt"/>
|
|
287
287
|
<line num="64" count="11" type="stmt"/>
|
|
288
288
|
<line num="65" count="11" type="cond" truecount="1" falsecount="0"/>
|
|
289
|
-
<line num="
|
|
290
|
-
<line num="
|
|
291
|
-
<line num="
|
|
292
|
-
<line num="76" count="
|
|
293
|
-
<line num="
|
|
294
|
-
<line num="
|
|
295
|
-
<line num="
|
|
296
|
-
<line num="
|
|
297
|
-
<line num="
|
|
298
|
-
<line num="
|
|
299
|
-
<line num="
|
|
300
|
-
<line num="
|
|
301
|
-
<line num="
|
|
302
|
-
<line num="
|
|
303
|
-
<line num="
|
|
304
|
-
<line num="
|
|
305
|
-
<line num="
|
|
306
|
-
<line num="
|
|
307
|
-
<line num="
|
|
308
|
-
<line num="
|
|
309
|
-
<line num="
|
|
310
|
-
<line num="
|
|
311
|
-
<line num="
|
|
312
|
-
<line num="
|
|
313
|
-
<line num="
|
|
314
|
-
<line num="
|
|
315
|
-
<line num="
|
|
316
|
-
<line num="
|
|
317
|
-
<line num="
|
|
318
|
-
<line num="
|
|
319
|
-
<line num="
|
|
320
|
-
<line num="130" count="
|
|
321
|
-
<line num="131" count="
|
|
322
|
-
<line num="
|
|
323
|
-
<line num="
|
|
324
|
-
<line num="140" count="
|
|
325
|
-
<line num="
|
|
326
|
-
<line num="
|
|
327
|
-
<line num="
|
|
328
|
-
<line num="
|
|
329
|
-
<line num="151" count="
|
|
330
|
-
<line num="
|
|
331
|
-
<line num="
|
|
332
|
-
<line num="
|
|
333
|
-
<line num="
|
|
334
|
-
<line num="
|
|
335
|
-
<line num="
|
|
336
|
-
<line num="
|
|
337
|
-
<line num="
|
|
338
|
-
<line num="
|
|
339
|
-
<line num="
|
|
340
|
-
<line num="
|
|
341
|
-
<line num="
|
|
342
|
-
<line num="
|
|
343
|
-
<line num="
|
|
344
|
-
<line num="
|
|
345
|
-
<line num="190" count="18" type="stmt"/>
|
|
346
|
-
<line num="191" count="0" type="stmt"/>
|
|
289
|
+
<line num="70" count="1" type="stmt"/>
|
|
290
|
+
<line num="74" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
291
|
+
<line num="75" count="1" type="stmt"/>
|
|
292
|
+
<line num="76" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
293
|
+
<line num="77" count="2" type="stmt"/>
|
|
294
|
+
<line num="78" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
295
|
+
<line num="79" count="1" type="stmt"/>
|
|
296
|
+
<line num="80" count="1" type="cond" truecount="3" falsecount="0"/>
|
|
297
|
+
<line num="81" count="1" type="stmt"/>
|
|
298
|
+
<line num="83" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
299
|
+
<line num="84" count="2" type="stmt"/>
|
|
300
|
+
<line num="85" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
301
|
+
<line num="89" count="1" type="stmt"/>
|
|
302
|
+
<line num="90" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
303
|
+
<line num="94" count="1" type="stmt"/>
|
|
304
|
+
<line num="96" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
305
|
+
<line num="98" count="1" type="stmt"/>
|
|
306
|
+
<line num="99" count="1" type="stmt"/>
|
|
307
|
+
<line num="100" count="1" type="cond" truecount="4" falsecount="0"/>
|
|
308
|
+
<line num="101" count="1" type="stmt"/>
|
|
309
|
+
<line num="105" count="1" type="stmt"/>
|
|
310
|
+
<line num="106" count="1" type="stmt"/>
|
|
311
|
+
<line num="107" count="1" type="cond" truecount="3" falsecount="0"/>
|
|
312
|
+
<line num="108" count="1" type="stmt"/>
|
|
313
|
+
<line num="112" count="1" type="stmt"/>
|
|
314
|
+
<line num="113" count="1" type="stmt"/>
|
|
315
|
+
<line num="114" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
316
|
+
<line num="120" count="1" type="stmt"/>
|
|
317
|
+
<line num="125" count="41" type="stmt"/>
|
|
318
|
+
<line num="128" count="18" type="stmt"/>
|
|
319
|
+
<line num="129" count="41" type="stmt"/>
|
|
320
|
+
<line num="130" count="41" type="stmt"/>
|
|
321
|
+
<line num="131" count="41" type="stmt"/>
|
|
322
|
+
<line num="133" count="41" type="cond" truecount="1" falsecount="0"/>
|
|
323
|
+
<line num="134" count="35" type="stmt"/>
|
|
324
|
+
<line num="140" count="41" type="stmt"/>
|
|
325
|
+
<line num="142" count="41" type="cond" truecount="1" falsecount="0"/>
|
|
326
|
+
<line num="144" count="15" type="stmt"/>
|
|
327
|
+
<line num="145" count="12" type="stmt"/>
|
|
328
|
+
<line num="148" count="3" type="stmt"/>
|
|
329
|
+
<line num="151" count="38" type="stmt"/>
|
|
330
|
+
<line num="152" count="38" type="stmt"/>
|
|
331
|
+
<line num="153" count="38" type="stmt"/>
|
|
332
|
+
<line num="154" count="38" type="stmt"/>
|
|
333
|
+
<line num="156" count="38" type="stmt"/>
|
|
334
|
+
<line num="157" count="42" type="stmt"/>
|
|
335
|
+
<line num="160" count="38" type="stmt"/>
|
|
336
|
+
<line num="166" count="0" type="stmt"/>
|
|
337
|
+
<line num="170" count="18" type="stmt"/>
|
|
338
|
+
<line num="171" count="0" type="stmt"/>
|
|
339
|
+
<line num="172" count="0" type="stmt"/>
|
|
340
|
+
<line num="180" count="0" type="stmt"/>
|
|
341
|
+
<line num="187" count="18" type="stmt"/>
|
|
342
|
+
<line num="188" count="36" type="stmt"/>
|
|
343
|
+
<line num="190" count="36" type="stmt"/>
|
|
344
|
+
<line num="191" count="36" type="cond" truecount="1" falsecount="2"/>
|
|
347
345
|
<line num="192" count="0" type="stmt"/>
|
|
348
|
-
<line num="
|
|
349
|
-
<line num="
|
|
350
|
-
<line num="
|
|
351
|
-
<line num="
|
|
352
|
-
<line num="
|
|
353
|
-
<line num="
|
|
354
|
-
<line num="
|
|
355
|
-
<line num="
|
|
356
|
-
<line num="
|
|
357
|
-
<line num="
|
|
358
|
-
<line num="
|
|
359
|
-
<line num="
|
|
360
|
-
<line num="
|
|
361
|
-
<line num="
|
|
362
|
-
<line num="
|
|
363
|
-
<line num="
|
|
364
|
-
<line num="
|
|
365
|
-
<line num="
|
|
366
|
-
<line num="242" count="
|
|
367
|
-
<line num="
|
|
368
|
-
<line num="
|
|
369
|
-
<line num="
|
|
346
|
+
<line num="193" count="0" type="stmt"/>
|
|
347
|
+
<line num="194" count="0" type="stmt"/>
|
|
348
|
+
<line num="196" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
349
|
+
<line num="197" count="0" type="stmt"/>
|
|
350
|
+
<line num="201" count="36" type="stmt"/>
|
|
351
|
+
<line num="203" count="36" type="stmt"/>
|
|
352
|
+
<line num="209" count="36" type="cond" truecount="2" falsecount="0"/>
|
|
353
|
+
<line num="210" count="27" type="stmt"/>
|
|
354
|
+
<line num="213" count="9" type="stmt"/>
|
|
355
|
+
<line num="216" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
356
|
+
<line num="220" count="18" type="stmt"/>
|
|
357
|
+
<line num="221" count="0" type="stmt"/>
|
|
358
|
+
<line num="222" count="0" type="stmt"/>
|
|
359
|
+
<line num="224" count="0" type="stmt"/>
|
|
360
|
+
<line num="228" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
361
|
+
<line num="229" count="0" type="stmt"/>
|
|
362
|
+
<line num="231" count="0" type="stmt"/>
|
|
363
|
+
<line num="238" count="0" type="stmt"/>
|
|
364
|
+
<line num="242" count="18" type="stmt"/>
|
|
365
|
+
<line num="243" count="0" type="stmt"/>
|
|
366
|
+
<line num="245" count="0" type="stmt"/>
|
|
367
|
+
<line num="247" count="0" type="stmt"/>
|
|
370
368
|
<line num="251" count="0" type="stmt"/>
|
|
371
|
-
<line num="
|
|
372
|
-
<line num="
|
|
373
|
-
<line num="
|
|
369
|
+
<line num="255" count="0" type="stmt"/>
|
|
370
|
+
<line num="260" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
371
|
+
<line num="261" count="0" type="stmt"/>
|
|
374
372
|
<line num="265" count="0" type="stmt"/>
|
|
375
|
-
<line num="
|
|
373
|
+
<line num="270" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
376
374
|
<line num="271" count="0" type="stmt"/>
|
|
377
|
-
<line num="
|
|
378
|
-
<line num="280" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
375
|
+
<line num="279" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
379
376
|
<line num="281" count="0" type="stmt"/>
|
|
380
|
-
<line num="
|
|
381
|
-
<line num="
|
|
382
|
-
<line num="
|
|
383
|
-
<line num="
|
|
377
|
+
<line num="284" count="0" type="stmt"/>
|
|
378
|
+
<line num="288" count="0" type="stmt"/>
|
|
379
|
+
<line num="289" count="0" type="stmt"/>
|
|
380
|
+
<line num="292" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
381
|
+
<line num="293" count="0" type="stmt"/>
|
|
382
|
+
<line num="295" count="0" type="stmt"/>
|
|
384
383
|
<line num="298" count="0" type="stmt"/>
|
|
385
|
-
<line num="
|
|
386
|
-
<line num="
|
|
387
|
-
<line num="
|
|
388
|
-
<line num="
|
|
384
|
+
<line num="300" count="0" type="stmt"/>
|
|
385
|
+
<line num="304" count="18" type="stmt"/>
|
|
386
|
+
<line num="305" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
387
|
+
<line num="306" count="0" type="stmt"/>
|
|
389
388
|
<line num="308" count="0" type="stmt"/>
|
|
390
|
-
<line num="
|
|
391
|
-
<line num="
|
|
392
|
-
<line num="
|
|
393
|
-
<line num="
|
|
394
|
-
<line num="318" count="0" type="stmt"/>
|
|
395
|
-
<line num="319" count="0" type="stmt"/>
|
|
396
|
-
<line num="322" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
389
|
+
<line num="309" count="0" type="stmt"/>
|
|
390
|
+
<line num="311" count="0" type="stmt"/>
|
|
391
|
+
<line num="312" count="0" type="stmt"/>
|
|
392
|
+
<line num="314" count="0" type="stmt"/>
|
|
397
393
|
<line num="323" count="0" type="stmt"/>
|
|
398
|
-
<line num="
|
|
399
|
-
<line num="
|
|
400
|
-
<line num="
|
|
401
|
-
<line num="
|
|
394
|
+
<line num="324" count="0" type="stmt"/>
|
|
395
|
+
<line num="325" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
396
|
+
<line num="326" count="0" type="stmt"/>
|
|
397
|
+
<line num="333" count="0" type="stmt"/>
|
|
398
|
+
<line num="334" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
402
399
|
<line num="335" count="0" type="stmt"/>
|
|
400
|
+
<line num="339" count="0" type="stmt"/>
|
|
401
|
+
<line num="342" count="0" type="stmt"/>
|
|
403
402
|
<line num="344" count="0" type="stmt"/>
|
|
404
|
-
<line num="
|
|
405
|
-
<line num="
|
|
406
|
-
<line num="
|
|
407
|
-
<line num="353" count="
|
|
408
|
-
<line num="354" count="
|
|
409
|
-
<line num="
|
|
410
|
-
<line num="
|
|
411
|
-
<line num="
|
|
412
|
-
<line num="
|
|
413
|
-
<line num="
|
|
414
|
-
<line num="
|
|
415
|
-
<line num="
|
|
416
|
-
<line num="
|
|
417
|
-
<line num="
|
|
418
|
-
<line num="
|
|
419
|
-
<line num="
|
|
420
|
-
<line num="
|
|
421
|
-
<line num="
|
|
422
|
-
<line num="382" count="4" type="stmt"/>
|
|
403
|
+
<line num="350" count="18" type="stmt"/>
|
|
404
|
+
<line num="351" count="36" type="stmt"/>
|
|
405
|
+
<line num="352" count="36" type="stmt"/>
|
|
406
|
+
<line num="353" count="36" type="stmt"/>
|
|
407
|
+
<line num="354" count="36" type="stmt"/>
|
|
408
|
+
<line num="355" count="23" type="stmt"/>
|
|
409
|
+
<line num="356" count="23" type="stmt"/>
|
|
410
|
+
<line num="358" count="13" type="stmt"/>
|
|
411
|
+
<line num="362" count="18" type="stmt"/>
|
|
412
|
+
<line num="363" count="4" type="stmt"/>
|
|
413
|
+
<line num="364" count="4" type="stmt"/>
|
|
414
|
+
<line num="366" count="4" type="stmt"/>
|
|
415
|
+
<line num="367" count="4" type="stmt"/>
|
|
416
|
+
<line num="370" count="4" type="stmt"/>
|
|
417
|
+
<line num="371" count="4" type="stmt"/>
|
|
418
|
+
<line num="372" count="4" type="cond" truecount="3" falsecount="0"/>
|
|
419
|
+
<line num="374" count="4" type="stmt"/>
|
|
420
|
+
<line num="378" count="4" type="stmt"/>
|
|
423
421
|
<line num="383" count="4" type="stmt"/>
|
|
424
|
-
<line num="
|
|
425
|
-
<line num="386" count="4" type="stmt"/>
|
|
426
|
-
<line num="389" count="4" type="stmt"/>
|
|
427
|
-
<line num="390" count="4" type="stmt"/>
|
|
428
|
-
<line num="391" count="4" type="cond" truecount="3" falsecount="0"/>
|
|
422
|
+
<line num="388" count="4" type="stmt"/>
|
|
429
423
|
<line num="393" count="4" type="stmt"/>
|
|
430
|
-
<line num="
|
|
431
|
-
<line num="
|
|
432
|
-
<line num="407" count="4" type="stmt"/>
|
|
433
|
-
<line num="412" count="4" type="stmt"/>
|
|
434
|
-
<line num="413" count="4" type="stmt"/>
|
|
435
|
-
<line num="438" count="0" type="stmt"/>
|
|
424
|
+
<line num="394" count="4" type="stmt"/>
|
|
425
|
+
<line num="419" count="0" type="stmt"/>
|
|
436
426
|
</file>
|
|
437
|
-
<file name="email.ts" path="/
|
|
427
|
+
<file name="email.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/email.ts">
|
|
438
428
|
<metrics statements="9" coveredstatements="7" conditionals="1" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
439
429
|
<line num="1" count="18" type="stmt"/>
|
|
440
430
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -446,7 +436,7 @@
|
|
|
446
436
|
<line num="23" count="1" type="stmt"/>
|
|
447
437
|
<line num="33" count="1" type="stmt"/>
|
|
448
438
|
</file>
|
|
449
|
-
<file name="license.ts" path="/
|
|
439
|
+
<file name="license.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/license.ts">
|
|
450
440
|
<metrics statements="21" coveredstatements="6" conditionals="2" coveredconditionals="0" methods="10" coveredmethods="0"/>
|
|
451
441
|
<line num="1" count="18" type="stmt"/>
|
|
452
442
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -470,7 +460,7 @@
|
|
|
470
460
|
<line num="32" count="18" type="stmt"/>
|
|
471
461
|
<line num="33" count="0" type="stmt"/>
|
|
472
462
|
</file>
|
|
473
|
-
<file name="roles.ts" path="/
|
|
463
|
+
<file name="roles.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/roles.ts">
|
|
474
464
|
<metrics statements="34" coveredstatements="34" conditionals="1" coveredconditionals="1" methods="5" coveredmethods="5"/>
|
|
475
465
|
<line num="1" count="18" type="stmt"/>
|
|
476
466
|
<line num="9" count="18" type="stmt"/>
|
|
@@ -507,7 +497,7 @@
|
|
|
507
497
|
<line num="62" count="1" type="stmt"/>
|
|
508
498
|
<line num="63" count="1" type="stmt"/>
|
|
509
499
|
</file>
|
|
510
|
-
<file name="self.ts" path="/
|
|
500
|
+
<file name="self.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/self.ts">
|
|
511
501
|
<metrics statements="78" coveredstatements="51" conditionals="11" coveredconditionals="4" methods="10" coveredmethods="5"/>
|
|
512
502
|
<line num="1" count="18" type="stmt"/>
|
|
513
503
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -588,7 +578,7 @@
|
|
|
588
578
|
<line num="161" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
589
579
|
<line num="162" count="1" type="stmt"/>
|
|
590
580
|
</file>
|
|
591
|
-
<file name="templates.ts" path="/
|
|
581
|
+
<file name="templates.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/templates.ts">
|
|
592
582
|
<metrics statements="32" coveredstatements="25" conditionals="2" coveredconditionals="2" methods="7" coveredmethods="3"/>
|
|
593
583
|
<line num="1" count="18" type="stmt"/>
|
|
594
584
|
<line num="6" count="18" type="stmt"/>
|
|
@@ -623,7 +613,7 @@
|
|
|
623
613
|
<line num="75" count="0" type="stmt"/>
|
|
624
614
|
<line num="76" count="0" type="stmt"/>
|
|
625
615
|
</file>
|
|
626
|
-
<file name="users.ts" path="/
|
|
616
|
+
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/users.ts">
|
|
627
617
|
<metrics statements="107" coveredstatements="79" conditionals="40" coveredconditionals="23" methods="33" coveredmethods="25"/>
|
|
628
618
|
<line num="1" count="18" type="stmt"/>
|
|
629
619
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -733,7 +723,7 @@
|
|
|
733
723
|
<line num="234" count="0" type="stmt"/>
|
|
734
724
|
<line num="236" count="0" type="stmt"/>
|
|
735
725
|
</file>
|
|
736
|
-
<file name="workspaces.ts" path="/
|
|
726
|
+
<file name="workspaces.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/workspaces.ts">
|
|
737
727
|
<metrics statements="26" coveredstatements="5" conditionals="1" coveredconditionals="0" methods="5" coveredmethods="0"/>
|
|
738
728
|
<line num="1" count="18" type="stmt"/>
|
|
739
729
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -765,7 +755,7 @@
|
|
|
765
755
|
</package>
|
|
766
756
|
<package name="src.api.controllers.system">
|
|
767
757
|
<metrics statements="50" coveredstatements="48" conditionals="8" coveredconditionals="8" methods="15" coveredmethods="15"/>
|
|
768
|
-
<file name="accounts.ts" path="/
|
|
758
|
+
<file name="accounts.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/system/accounts.ts">
|
|
769
759
|
<metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
770
760
|
<line num="2" count="18" type="stmt"/>
|
|
771
761
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -779,13 +769,13 @@
|
|
|
779
769
|
<line num="19" count="2" type="stmt"/>
|
|
780
770
|
<line num="20" count="2" type="stmt"/>
|
|
781
771
|
</file>
|
|
782
|
-
<file name="environment.ts" path="/
|
|
772
|
+
<file name="environment.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/system/environment.ts">
|
|
783
773
|
<metrics statements="3" coveredstatements="3" conditionals="2" coveredconditionals="2" methods="2" coveredmethods="2"/>
|
|
784
774
|
<line num="2" count="18" type="stmt"/>
|
|
785
775
|
<line num="4" count="18" type="stmt"/>
|
|
786
776
|
<line num="5" count="1" type="stmt"/>
|
|
787
777
|
</file>
|
|
788
|
-
<file name="migrations.ts" path="/
|
|
778
|
+
<file name="migrations.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/system/migrations.ts">
|
|
789
779
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
790
780
|
<line num="1" count="18" type="stmt"/>
|
|
791
781
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -796,7 +786,7 @@
|
|
|
796
786
|
<line num="11" count="1" type="stmt"/>
|
|
797
787
|
<line num="12" count="1" type="stmt"/>
|
|
798
788
|
</file>
|
|
799
|
-
<file name="restore.ts" path="/
|
|
789
|
+
<file name="restore.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/system/restore.ts">
|
|
800
790
|
<metrics statements="7" coveredstatements="7" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
801
791
|
<line num="1" count="18" type="stmt"/>
|
|
802
792
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -806,7 +796,7 @@
|
|
|
806
796
|
<line num="9" count="1" type="stmt"/>
|
|
807
797
|
<line num="10" count="1" type="stmt"/>
|
|
808
798
|
</file>
|
|
809
|
-
<file name="status.ts" path="/
|
|
799
|
+
<file name="status.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/system/status.ts">
|
|
810
800
|
<metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
|
|
811
801
|
<line num="1" count="18" type="stmt"/>
|
|
812
802
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -816,7 +806,7 @@
|
|
|
816
806
|
<line num="8" count="1" type="stmt"/>
|
|
817
807
|
<line num="10" count="1" type="stmt"/>
|
|
818
808
|
</file>
|
|
819
|
-
<file name="tenants.ts" path="/
|
|
809
|
+
<file name="tenants.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/system/tenants.ts">
|
|
820
810
|
<metrics statements="14" coveredstatements="12" conditionals="1" coveredconditionals="1" methods="2" coveredmethods="2"/>
|
|
821
811
|
<line num="2" count="18" type="stmt"/>
|
|
822
812
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -836,7 +826,7 @@
|
|
|
836
826
|
</package>
|
|
837
827
|
<package name="src.api.routes">
|
|
838
828
|
<metrics statements="18" coveredstatements="18" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
839
|
-
<file name="index.ts" path="/
|
|
829
|
+
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/index.ts">
|
|
840
830
|
<metrics statements="18" coveredstatements="18" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
841
831
|
<line num="2" count="18" type="stmt"/>
|
|
842
832
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -860,7 +850,7 @@
|
|
|
860
850
|
</package>
|
|
861
851
|
<package name="src.api.routes.global">
|
|
862
852
|
<metrics statements="88" coveredstatements="88" conditionals="2" coveredconditionals="2" methods="18" coveredmethods="18"/>
|
|
863
|
-
<file name="auth.ts" path="/
|
|
853
|
+
<file name="auth.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/auth.ts">
|
|
864
854
|
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
865
855
|
<line num="1" count="18" type="stmt"/>
|
|
866
856
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -873,7 +863,7 @@
|
|
|
873
863
|
<line num="31" count="18" type="stmt"/>
|
|
874
864
|
<line num="88" count="18" type="stmt"/>
|
|
875
865
|
</file>
|
|
876
|
-
<file name="configs.ts" path="/
|
|
866
|
+
<file name="configs.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/configs.ts">
|
|
877
867
|
<metrics statements="15" coveredstatements="15" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="7"/>
|
|
878
868
|
<line num="1" count="18" type="stmt"/>
|
|
879
869
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -891,7 +881,7 @@
|
|
|
891
881
|
<line num="99" count="18" type="stmt"/>
|
|
892
882
|
<line num="124" count="18" type="stmt"/>
|
|
893
883
|
</file>
|
|
894
|
-
<file name="email.ts" path="/
|
|
884
|
+
<file name="email.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/email.ts">
|
|
895
885
|
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
896
886
|
<line num="1" count="18" type="stmt"/>
|
|
897
887
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -903,7 +893,7 @@
|
|
|
903
893
|
<line num="29" count="18" type="stmt"/>
|
|
904
894
|
<line num="36" count="18" type="stmt"/>
|
|
905
895
|
</file>
|
|
906
|
-
<file name="license.ts" path="/
|
|
896
|
+
<file name="license.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/license.ts">
|
|
907
897
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
908
898
|
<line num="1" count="18" type="stmt"/>
|
|
909
899
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -911,7 +901,7 @@
|
|
|
911
901
|
<line num="6" count="18" type="stmt"/>
|
|
912
902
|
<line num="13" count="18" type="stmt"/>
|
|
913
903
|
</file>
|
|
914
|
-
<file name="roles.ts" path="/
|
|
904
|
+
<file name="roles.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/roles.ts">
|
|
915
905
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
916
906
|
<line num="1" count="18" type="stmt"/>
|
|
917
907
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -920,7 +910,7 @@
|
|
|
920
910
|
<line num="7" count="18" type="stmt"/>
|
|
921
911
|
<line num="16" count="18" type="stmt"/>
|
|
922
912
|
</file>
|
|
923
|
-
<file name="self.ts" path="/
|
|
913
|
+
<file name="self.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/self.ts">
|
|
924
914
|
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
925
915
|
<line num="1" count="18" type="stmt"/>
|
|
926
916
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -930,7 +920,7 @@
|
|
|
930
920
|
<line num="8" count="18" type="stmt"/>
|
|
931
921
|
<line num="18" count="18" type="stmt"/>
|
|
932
922
|
</file>
|
|
933
|
-
<file name="templates.ts" path="/
|
|
923
|
+
<file name="templates.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/templates.ts">
|
|
934
924
|
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
935
925
|
<line num="1" count="18" type="stmt"/>
|
|
936
926
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -943,7 +933,7 @@
|
|
|
943
933
|
<line num="23" count="18" type="stmt"/>
|
|
944
934
|
<line num="37" count="18" type="stmt"/>
|
|
945
935
|
</file>
|
|
946
|
-
<file name="users.ts" path="/
|
|
936
|
+
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/users.ts">
|
|
947
937
|
<metrics statements="18" coveredstatements="18" conditionals="2" coveredconditionals="2" methods="5" coveredmethods="5"/>
|
|
948
938
|
<line num="1" count="18" type="stmt"/>
|
|
949
939
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -964,7 +954,7 @@
|
|
|
964
954
|
<line num="57" count="18" type="stmt"/>
|
|
965
955
|
<line num="116" count="18" type="stmt"/>
|
|
966
956
|
</file>
|
|
967
|
-
<file name="workspaces.ts" path="/
|
|
957
|
+
<file name="workspaces.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/workspaces.ts">
|
|
968
958
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
969
959
|
<line num="1" count="18" type="stmt"/>
|
|
970
960
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -978,7 +968,7 @@
|
|
|
978
968
|
</package>
|
|
979
969
|
<package name="src.api.routes.system">
|
|
980
970
|
<metrics statements="33" coveredstatements="33" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
981
|
-
<file name="accounts.ts" path="/
|
|
971
|
+
<file name="accounts.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/accounts.ts">
|
|
982
972
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
983
973
|
<line num="1" count="18" type="stmt"/>
|
|
984
974
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -987,7 +977,7 @@
|
|
|
987
977
|
<line num="7" count="18" type="stmt"/>
|
|
988
978
|
<line num="19" count="18" type="stmt"/>
|
|
989
979
|
</file>
|
|
990
|
-
<file name="environment.ts" path="/
|
|
980
|
+
<file name="environment.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/environment.ts">
|
|
991
981
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
992
982
|
<line num="1" count="18" type="stmt"/>
|
|
993
983
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -995,7 +985,7 @@
|
|
|
995
985
|
<line num="6" count="18" type="stmt"/>
|
|
996
986
|
<line num="8" count="18" type="stmt"/>
|
|
997
987
|
</file>
|
|
998
|
-
<file name="migrations.ts" path="/
|
|
988
|
+
<file name="migrations.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/migrations.ts">
|
|
999
989
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1000
990
|
<line num="1" count="18" type="stmt"/>
|
|
1001
991
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -1004,7 +994,7 @@
|
|
|
1004
994
|
<line num="7" count="18" type="stmt"/>
|
|
1005
995
|
<line num="19" count="18" type="stmt"/>
|
|
1006
996
|
</file>
|
|
1007
|
-
<file name="restore.ts" path="/
|
|
997
|
+
<file name="restore.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/restore.ts">
|
|
1008
998
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1009
999
|
<line num="1" count="18" type="stmt"/>
|
|
1010
1000
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -1012,7 +1002,7 @@
|
|
|
1012
1002
|
<line num="6" count="18" type="stmt"/>
|
|
1013
1003
|
<line num="8" count="18" type="stmt"/>
|
|
1014
1004
|
</file>
|
|
1015
|
-
<file name="status.ts" path="/
|
|
1005
|
+
<file name="status.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/status.ts">
|
|
1016
1006
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1017
1007
|
<line num="1" count="18" type="stmt"/>
|
|
1018
1008
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -1020,7 +1010,7 @@
|
|
|
1020
1010
|
<line num="6" count="18" type="stmt"/>
|
|
1021
1011
|
<line num="8" count="18" type="stmt"/>
|
|
1022
1012
|
</file>
|
|
1023
|
-
<file name="tenants.ts" path="/
|
|
1013
|
+
<file name="tenants.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/tenants.ts">
|
|
1024
1014
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1025
1015
|
<line num="1" count="18" type="stmt"/>
|
|
1026
1016
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -1032,11 +1022,11 @@
|
|
|
1032
1022
|
</package>
|
|
1033
1023
|
<package name="src.api.routes.validation">
|
|
1034
1024
|
<metrics statements="13" coveredstatements="13" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
|
|
1035
|
-
<file name="index.ts" path="/
|
|
1025
|
+
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/validation/index.ts">
|
|
1036
1026
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1037
1027
|
<line num="1" count="18" type="stmt"/>
|
|
1038
1028
|
</file>
|
|
1039
|
-
<file name="users.ts" path="/
|
|
1029
|
+
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/validation/users.ts">
|
|
1040
1030
|
<metrics statements="12" coveredstatements="12" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
|
|
1041
1031
|
<line num="1" count="18" type="stmt"/>
|
|
1042
1032
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -1054,7 +1044,7 @@
|
|
|
1054
1044
|
</package>
|
|
1055
1045
|
<package name="src.constants">
|
|
1056
1046
|
<metrics statements="45" coveredstatements="45" conditionals="12" coveredconditionals="12" methods="6" coveredmethods="6"/>
|
|
1057
|
-
<file name="index.ts" path="/
|
|
1047
|
+
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/constants/index.ts">
|
|
1058
1048
|
<metrics statements="45" coveredstatements="45" conditionals="12" coveredconditionals="12" methods="6" coveredmethods="6"/>
|
|
1059
1049
|
<line num="1" count="18" type="stmt"/>
|
|
1060
1050
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -1105,7 +1095,7 @@
|
|
|
1105
1095
|
</package>
|
|
1106
1096
|
<package name="src.constants.templates">
|
|
1107
1097
|
<metrics statements="29" coveredstatements="28" conditionals="9" coveredconditionals="8" methods="7" coveredmethods="6"/>
|
|
1108
|
-
<file name="index.ts" path="/
|
|
1098
|
+
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/constants/templates/index.ts">
|
|
1109
1099
|
<metrics statements="29" coveredstatements="28" conditionals="9" coveredconditionals="8" methods="7" coveredmethods="6"/>
|
|
1110
1100
|
<line num="1" count="18" type="stmt"/>
|
|
1111
1101
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -1140,7 +1130,7 @@
|
|
|
1140
1130
|
</package>
|
|
1141
1131
|
<package name="src.db">
|
|
1142
1132
|
<metrics statements="7" coveredstatements="7" conditionals="3" coveredconditionals="3" methods="1" coveredmethods="1"/>
|
|
1143
|
-
<file name="index.ts" path="/
|
|
1133
|
+
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/db/index.ts">
|
|
1144
1134
|
<metrics statements="7" coveredstatements="7" conditionals="3" coveredconditionals="3" methods="1" coveredmethods="1"/>
|
|
1145
1135
|
<line num="1" count="18" type="stmt"/>
|
|
1146
1136
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -1153,7 +1143,7 @@
|
|
|
1153
1143
|
</package>
|
|
1154
1144
|
<package name="src.middleware">
|
|
1155
1145
|
<metrics statements="8" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="2" coveredmethods="2"/>
|
|
1156
|
-
<file name="cloudRestricted.ts" path="/
|
|
1146
|
+
<file name="cloudRestricted.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/middleware/cloudRestricted.ts">
|
|
1157
1147
|
<metrics statements="8" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="2" coveredmethods="2"/>
|
|
1158
1148
|
<line num="1" count="18" type="stmt"/>
|
|
1159
1149
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -1167,7 +1157,7 @@
|
|
|
1167
1157
|
</package>
|
|
1168
1158
|
<package name="src.migrations">
|
|
1169
1159
|
<metrics statements="22" coveredstatements="16" conditionals="4" coveredconditionals="2" methods="7" coveredmethods="1"/>
|
|
1170
|
-
<file name="index.ts" path="/
|
|
1160
|
+
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/migrations/index.ts">
|
|
1171
1161
|
<metrics statements="22" coveredstatements="16" conditionals="4" coveredconditionals="2" methods="7" coveredmethods="1"/>
|
|
1172
1162
|
<line num="1" count="18" type="stmt"/>
|
|
1173
1163
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -1195,7 +1185,7 @@
|
|
|
1195
1185
|
</package>
|
|
1196
1186
|
<package name="src.migrations.functions">
|
|
1197
1187
|
<metrics statements="7" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
1198
|
-
<file name="globalInfoSyncUsers.ts" path="/
|
|
1188
|
+
<file name="globalInfoSyncUsers.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/migrations/functions/globalInfoSyncUsers.ts">
|
|
1199
1189
|
<metrics statements="7" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
1200
1190
|
<line num="2" count="18" type="stmt"/>
|
|
1201
1191
|
<line num="11" count="18" type="stmt"/>
|
|
@@ -1208,7 +1198,7 @@
|
|
|
1208
1198
|
</package>
|
|
1209
1199
|
<package name="src.sdk">
|
|
1210
1200
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1211
|
-
<file name="index.ts" path="/
|
|
1201
|
+
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/index.ts">
|
|
1212
1202
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1213
1203
|
<line num="1" count="18" type="stmt"/>
|
|
1214
1204
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -1217,7 +1207,7 @@
|
|
|
1217
1207
|
</package>
|
|
1218
1208
|
<package name="src.sdk.accounts">
|
|
1219
1209
|
<metrics statements="30" coveredstatements="26" conditionals="5" coveredconditionals="2" methods="13" coveredmethods="13"/>
|
|
1220
|
-
<file name="accounts.ts" path="/
|
|
1210
|
+
<file name="accounts.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/accounts/accounts.ts">
|
|
1221
1211
|
<metrics statements="29" coveredstatements="25" conditionals="5" coveredconditionals="2" methods="13" coveredmethods="13"/>
|
|
1222
1212
|
<line num="2" count="18" type="stmt"/>
|
|
1223
1213
|
<line num="10" count="18" type="stmt"/>
|
|
@@ -1249,14 +1239,14 @@
|
|
|
1249
1239
|
<line num="54" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1250
1240
|
<line num="55" count="0" type="stmt"/>
|
|
1251
1241
|
</file>
|
|
1252
|
-
<file name="index.ts" path="/
|
|
1242
|
+
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/accounts/index.ts">
|
|
1253
1243
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1254
1244
|
<line num="1" count="18" type="stmt"/>
|
|
1255
1245
|
</file>
|
|
1256
1246
|
</package>
|
|
1257
1247
|
<package name="src.sdk.users">
|
|
1258
|
-
<metrics statements="
|
|
1259
|
-
<file name="events.ts" path="/
|
|
1248
|
+
<metrics statements="332" coveredstatements="301" conditionals="121" coveredconditionals="103" methods="78" coveredmethods="72"/>
|
|
1249
|
+
<file name="events.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/users/events.ts">
|
|
1260
1250
|
<metrics statements="69" coveredstatements="68" conditionals="37" coveredconditionals="36" methods="18" coveredmethods="18"/>
|
|
1261
1251
|
<line num="1" count="18" type="stmt"/>
|
|
1262
1252
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -1328,275 +1318,279 @@
|
|
|
1328
1318
|
<line num="159" count="14" type="stmt"/>
|
|
1329
1319
|
<line num="163" count="3" type="stmt"/>
|
|
1330
1320
|
</file>
|
|
1331
|
-
<file name="index.ts" path="/
|
|
1321
|
+
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/users/index.ts">
|
|
1332
1322
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1333
1323
|
<line num="1" count="18" type="stmt"/>
|
|
1334
1324
|
</file>
|
|
1335
|
-
<file name="users.ts" path="/
|
|
1336
|
-
<metrics statements="
|
|
1325
|
+
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/users/users.ts">
|
|
1326
|
+
<metrics statements="262" coveredstatements="232" conditionals="84" coveredconditionals="67" methods="60" coveredmethods="54"/>
|
|
1337
1327
|
<line num="1" count="18" type="stmt"/>
|
|
1338
1328
|
<line num="2" count="18" type="stmt"/>
|
|
1339
1329
|
<line num="3" count="18" type="stmt"/>
|
|
1340
1330
|
<line num="4" count="18" type="stmt"/>
|
|
1341
1331
|
<line num="19" count="18" type="stmt"/>
|
|
1342
|
-
<line num="34" count="18" type="stmt"/>
|
|
1343
1332
|
<line num="35" count="18" type="stmt"/>
|
|
1344
1333
|
<line num="36" count="18" type="stmt"/>
|
|
1345
|
-
<line num="
|
|
1346
|
-
<line num="
|
|
1347
|
-
<line num="41" count="
|
|
1334
|
+
<line num="37" count="18" type="stmt"/>
|
|
1335
|
+
<line num="39" count="18" type="stmt"/>
|
|
1336
|
+
<line num="41" count="18" type="stmt"/>
|
|
1348
1337
|
<line num="42" count="1" type="stmt"/>
|
|
1349
|
-
<line num="
|
|
1350
|
-
<line num="
|
|
1351
|
-
<line num="51" count="
|
|
1338
|
+
<line num="43" count="1" type="stmt"/>
|
|
1339
|
+
<line num="48" count="2" type="stmt"/>
|
|
1340
|
+
<line num="51" count="18" type="stmt"/>
|
|
1352
1341
|
<line num="52" count="0" type="stmt"/>
|
|
1353
|
-
<line num="
|
|
1354
|
-
<line num="
|
|
1342
|
+
<line num="53" count="0" type="stmt"/>
|
|
1343
|
+
<line num="58" count="18" type="cond" truecount="0" falsecount="1"/>
|
|
1355
1344
|
<line num="63" count="0" type="stmt"/>
|
|
1356
|
-
<line num="
|
|
1357
|
-
<line num="
|
|
1358
|
-
<line num="71" count="0" type="
|
|
1359
|
-
<line num="
|
|
1360
|
-
<line num="
|
|
1361
|
-
<line num="78" count="0" type="
|
|
1345
|
+
<line num="64" count="0" type="stmt"/>
|
|
1346
|
+
<line num="66" count="0" type="stmt"/>
|
|
1347
|
+
<line num="71" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1348
|
+
<line num="72" count="0" type="stmt"/>
|
|
1349
|
+
<line num="76" count="0" type="stmt"/>
|
|
1350
|
+
<line num="78" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1362
1351
|
<line num="79" count="0" type="stmt"/>
|
|
1363
|
-
<line num="80" count="0" type="
|
|
1364
|
-
<line num="81" count="0" type="
|
|
1352
|
+
<line num="80" count="0" type="stmt"/>
|
|
1353
|
+
<line num="81" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1365
1354
|
<line num="82" count="0" type="stmt"/>
|
|
1366
|
-
<line num="
|
|
1355
|
+
<line num="83" count="0" type="stmt"/>
|
|
1367
1356
|
<line num="86" count="0" type="stmt"/>
|
|
1368
|
-
<line num="
|
|
1369
|
-
<line num="
|
|
1370
|
-
<line num="99" count="
|
|
1357
|
+
<line num="87" count="0" type="stmt"/>
|
|
1358
|
+
<line num="89" count="0" type="stmt"/>
|
|
1359
|
+
<line num="99" count="18" type="stmt"/>
|
|
1371
1360
|
<line num="100" count="10" type="stmt"/>
|
|
1372
|
-
<line num="101" count="10" type="
|
|
1373
|
-
<line num="102" count="10" type="
|
|
1374
|
-
<line num="
|
|
1375
|
-
<line num="
|
|
1376
|
-
<line num="
|
|
1361
|
+
<line num="101" count="10" type="stmt"/>
|
|
1362
|
+
<line num="102" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
1363
|
+
<line num="103" count="10" type="stmt"/>
|
|
1364
|
+
<line num="105" count="10" type="stmt"/>
|
|
1365
|
+
<line num="114" count="18" type="stmt"/>
|
|
1377
1366
|
<line num="122" count="95" type="stmt"/>
|
|
1378
1367
|
<line num="123" count="95" type="stmt"/>
|
|
1379
|
-
<line num="
|
|
1380
|
-
<line num="127" count="
|
|
1381
|
-
<line num="128" count="
|
|
1382
|
-
<line num="129" count="
|
|
1383
|
-
<line num="130" count="1" type="
|
|
1384
|
-
<line num="131" count="
|
|
1385
|
-
<line num="
|
|
1386
|
-
<line num="
|
|
1387
|
-
<line num="
|
|
1388
|
-
<line num="146" count="
|
|
1389
|
-
<line num="
|
|
1390
|
-
<line num="150" count="
|
|
1391
|
-
<line num="
|
|
1392
|
-
<line num="
|
|
1393
|
-
<line num="158" count="
|
|
1394
|
-
<line num="
|
|
1395
|
-
<line num="
|
|
1396
|
-
<line num="
|
|
1397
|
-
<line num="
|
|
1398
|
-
<line num="
|
|
1399
|
-
<line num="
|
|
1400
|
-
<line num="
|
|
1401
|
-
<line num="
|
|
1402
|
-
<line num="
|
|
1403
|
-
<line num="
|
|
1404
|
-
<line num="
|
|
1405
|
-
<line num="
|
|
1406
|
-
<line num="
|
|
1407
|
-
<line num="
|
|
1408
|
-
<line num="
|
|
1409
|
-
<line num="
|
|
1410
|
-
<line num="
|
|
1411
|
-
<line num="
|
|
1412
|
-
<line num="
|
|
1413
|
-
<line num="
|
|
1414
|
-
<line num="
|
|
1415
|
-
<line num="
|
|
1416
|
-
<line num="
|
|
1417
|
-
<line num="
|
|
1418
|
-
<line num="
|
|
1419
|
-
<line num="
|
|
1420
|
-
<line num="
|
|
1421
|
-
<line num="
|
|
1422
|
-
<line num="
|
|
1423
|
-
<line num="
|
|
1424
|
-
<line num="
|
|
1425
|
-
<line num="
|
|
1426
|
-
<line num="
|
|
1427
|
-
<line num="
|
|
1428
|
-
<line num="
|
|
1429
|
-
<line num="
|
|
1430
|
-
<line num="
|
|
1431
|
-
<line num="
|
|
1432
|
-
<line num="
|
|
1433
|
-
<line num="
|
|
1434
|
-
<line num="
|
|
1435
|
-
<line num="238" count="0" type="stmt"/>
|
|
1436
|
-
<line num="243" count="89" type="stmt"/>
|
|
1437
|
-
<line num="245" count="89" type="stmt"/>
|
|
1438
|
-
<line num="246" count="89" type="stmt"/>
|
|
1439
|
-
<line num="248" count="89" type="stmt"/>
|
|
1368
|
+
<line num="124" count="95" type="stmt"/>
|
|
1369
|
+
<line num="127" count="95" type="cond" truecount="2" falsecount="0"/>
|
|
1370
|
+
<line num="128" count="93" type="cond" truecount="1" falsecount="1"/>
|
|
1371
|
+
<line num="129" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1372
|
+
<line num="130" count="1" type="stmt"/>
|
|
1373
|
+
<line num="131" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1374
|
+
<line num="132" count="0" type="stmt"/>
|
|
1375
|
+
<line num="135" count="95" type="cond" truecount="2" falsecount="0"/>
|
|
1376
|
+
<line num="137" count="95" type="stmt"/>
|
|
1377
|
+
<line num="146" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1378
|
+
<line num="147" count="1" type="stmt"/>
|
|
1379
|
+
<line num="150" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1380
|
+
<line num="151" count="84" type="stmt"/>
|
|
1381
|
+
<line num="154" count="95" type="stmt"/>
|
|
1382
|
+
<line num="158" count="18" type="stmt"/>
|
|
1383
|
+
<line num="160" count="91" type="stmt"/>
|
|
1384
|
+
<line num="163" count="91" type="stmt"/>
|
|
1385
|
+
<line num="170" count="91" type="stmt"/>
|
|
1386
|
+
<line num="173" count="91" type="stmt"/>
|
|
1387
|
+
<line num="175" count="91" type="cond" truecount="1" falsecount="0"/>
|
|
1388
|
+
<line num="176" count="91" type="stmt"/>
|
|
1389
|
+
<line num="177" count="91" type="cond" truecount="3" falsecount="0"/>
|
|
1390
|
+
<line num="178" count="1" type="stmt"/>
|
|
1391
|
+
<line num="183" count="90" type="cond" truecount="3" falsecount="0"/>
|
|
1392
|
+
<line num="184" count="90" type="stmt"/>
|
|
1393
|
+
<line num="185" count="90" type="cond" truecount="4" falsecount="0"/>
|
|
1394
|
+
<line num="186" count="1" type="stmt"/>
|
|
1395
|
+
<line num="191" count="18" type="stmt"/>
|
|
1396
|
+
<line num="194" count="94" type="stmt"/>
|
|
1397
|
+
<line num="196" count="94" type="cond" truecount="1" falsecount="0"/>
|
|
1398
|
+
<line num="197" count="87" type="stmt"/>
|
|
1399
|
+
<line num="199" count="94" type="cond" truecount="1" falsecount="0"/>
|
|
1400
|
+
<line num="200" count="87" type="stmt"/>
|
|
1401
|
+
<line num="202" count="94" type="stmt"/>
|
|
1402
|
+
<line num="203" count="94" type="stmt"/>
|
|
1403
|
+
<line num="205" count="94" type="cond" truecount="1" falsecount="0"/>
|
|
1404
|
+
<line num="207" count="94" type="cond" truecount="1" falsecount="2"/>
|
|
1405
|
+
<line num="208" count="0" type="stmt"/>
|
|
1406
|
+
<line num="212" count="94" type="cond" truecount="1" falsecount="0"/>
|
|
1407
|
+
<line num="214" count="13" type="stmt"/>
|
|
1408
|
+
<line num="215" count="13" type="stmt"/>
|
|
1409
|
+
<line num="216" count="12" type="cond" truecount="3" falsecount="0"/>
|
|
1410
|
+
<line num="217" count="1" type="stmt"/>
|
|
1411
|
+
<line num="219" count="11" type="stmt"/>
|
|
1412
|
+
<line num="221" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1413
|
+
<line num="224" count="1" type="stmt"/>
|
|
1414
|
+
<line num="229" count="93" type="cond" truecount="3" falsecount="0"/>
|
|
1415
|
+
<line num="231" count="82" type="stmt"/>
|
|
1416
|
+
<line num="232" count="82" type="cond" truecount="3" falsecount="0"/>
|
|
1417
|
+
<line num="233" count="2" type="stmt"/>
|
|
1418
|
+
<line num="237" count="91" type="stmt"/>
|
|
1419
|
+
<line num="239" count="89" type="stmt"/>
|
|
1420
|
+
<line num="241" count="89" type="cond" truecount="7" falsecount="0"/>
|
|
1421
|
+
<line num="242" count="1" type="stmt"/>
|
|
1422
|
+
<line num="243" count="1" type="stmt"/>
|
|
1423
|
+
<line num="244" count="1" type="stmt"/>
|
|
1440
1424
|
<line num="249" count="89" type="stmt"/>
|
|
1441
|
-
<line num="250" count="89" type="
|
|
1442
|
-
<line num="
|
|
1443
|
-
<line num="
|
|
1444
|
-
<line num="
|
|
1445
|
-
<line num="
|
|
1446
|
-
<line num="
|
|
1447
|
-
<line num="
|
|
1448
|
-
<line num="
|
|
1449
|
-
<line num="
|
|
1450
|
-
<line num="
|
|
1451
|
-
<line num="
|
|
1452
|
-
<line num="
|
|
1453
|
-
<line num="
|
|
1454
|
-
<line num="
|
|
1455
|
-
<line num="
|
|
1456
|
-
<line num="
|
|
1457
|
-
<line num="
|
|
1458
|
-
<line num="
|
|
1459
|
-
<line num="
|
|
1460
|
-
<line num="
|
|
1461
|
-
<line num="
|
|
1462
|
-
<line num="
|
|
1425
|
+
<line num="250" count="89" type="cond" truecount="1" falsecount="0"/>
|
|
1426
|
+
<line num="251" count="77" type="stmt"/>
|
|
1427
|
+
<line num="253" count="77" type="cond" truecount="0" falsecount="1"/>
|
|
1428
|
+
<line num="254" count="0" type="stmt"/>
|
|
1429
|
+
<line num="255" count="0" type="stmt"/>
|
|
1430
|
+
<line num="260" count="89" type="stmt"/>
|
|
1431
|
+
<line num="262" count="89" type="stmt"/>
|
|
1432
|
+
<line num="263" count="89" type="stmt"/>
|
|
1433
|
+
<line num="265" count="89" type="stmt"/>
|
|
1434
|
+
<line num="266" count="89" type="stmt"/>
|
|
1435
|
+
<line num="267" count="89" type="stmt"/>
|
|
1436
|
+
<line num="269" count="89" type="stmt"/>
|
|
1437
|
+
<line num="271" count="89" type="stmt"/>
|
|
1438
|
+
<line num="273" count="89" type="stmt"/>
|
|
1439
|
+
<line num="279" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1440
|
+
<line num="280" count="0" type="stmt"/>
|
|
1441
|
+
<line num="282" count="0" type="stmt"/>
|
|
1442
|
+
<line num="287" count="18" type="stmt"/>
|
|
1443
|
+
<line num="291" count="95" type="stmt"/>
|
|
1444
|
+
<line num="292" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1445
|
+
<line num="293" count="95" type="stmt"/>
|
|
1446
|
+
<line num="294" count="42" type="stmt"/>
|
|
1447
|
+
<line num="298" count="95" type="stmt"/>
|
|
1448
|
+
<line num="302" count="18" type="stmt"/>
|
|
1449
|
+
<line num="303" count="16" type="stmt"/>
|
|
1450
|
+
<line num="304" count="11" type="stmt"/>
|
|
1451
|
+
<line num="309" count="11" type="stmt"/>
|
|
1463
1452
|
<line num="313" count="11" type="stmt"/>
|
|
1464
|
-
<line num="
|
|
1465
|
-
<line num="323" count="
|
|
1453
|
+
<line num="321" count="18" type="stmt"/>
|
|
1454
|
+
<line num="323" count="11" type="stmt"/>
|
|
1455
|
+
<line num="324" count="16" type="stmt"/>
|
|
1466
1456
|
<line num="325" count="11" type="stmt"/>
|
|
1467
|
-
<line num="
|
|
1468
|
-
<line num="
|
|
1469
|
-
<line num="
|
|
1470
|
-
<line num="
|
|
1471
|
-
<line num="
|
|
1472
|
-
<line num="
|
|
1457
|
+
<line num="330" count="11" type="stmt"/>
|
|
1458
|
+
<line num="333" count="11" type="stmt"/>
|
|
1459
|
+
<line num="340" count="18" type="stmt"/>
|
|
1460
|
+
<line num="342" count="11" type="stmt"/>
|
|
1461
|
+
<line num="343" count="16" type="stmt"/>
|
|
1462
|
+
<line num="344" count="11" type="stmt"/>
|
|
1463
|
+
<line num="349" count="11" type="stmt"/>
|
|
1473
1464
|
<line num="353" count="11" type="stmt"/>
|
|
1474
|
-
<line num="
|
|
1475
|
-
<line num="
|
|
1476
|
-
<line num="
|
|
1477
|
-
<line num="
|
|
1478
|
-
<line num="
|
|
1479
|
-
<line num="
|
|
1480
|
-
<line num="
|
|
1481
|
-
<line num="
|
|
1482
|
-
<line num="
|
|
1483
|
-
<line num="
|
|
1484
|
-
<line num="
|
|
1485
|
-
<line num="
|
|
1486
|
-
<line num="
|
|
1487
|
-
<line num="
|
|
1488
|
-
<line num="
|
|
1489
|
-
<line num="379" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
1490
|
-
<line num="381" count="6" type="stmt"/>
|
|
1491
|
-
<line num="385" count="4" type="stmt"/>
|
|
1492
|
-
<line num="389" count="4" type="stmt"/>
|
|
1493
|
-
<line num="391" count="6" type="stmt"/>
|
|
1465
|
+
<line num="367" count="18" type="stmt"/>
|
|
1466
|
+
<line num="368" count="11" type="stmt"/>
|
|
1467
|
+
<line num="370" count="11" type="stmt"/>
|
|
1468
|
+
<line num="371" count="11" type="stmt"/>
|
|
1469
|
+
<line num="373" count="11" type="stmt"/>
|
|
1470
|
+
<line num="374" count="11" type="stmt"/>
|
|
1471
|
+
<line num="376" count="11" type="stmt"/>
|
|
1472
|
+
<line num="377" count="11" type="stmt"/>
|
|
1473
|
+
<line num="379" count="11" type="stmt"/>
|
|
1474
|
+
<line num="382" count="18" type="stmt"/>
|
|
1475
|
+
<line num="385" count="6" type="stmt"/>
|
|
1476
|
+
<line num="386" count="6" type="stmt"/>
|
|
1477
|
+
<line num="388" count="6" type="stmt"/>
|
|
1478
|
+
<line num="389" count="6" type="stmt"/>
|
|
1479
|
+
<line num="391" count="10" type="stmt"/>
|
|
1494
1480
|
<line num="392" count="6" type="stmt"/>
|
|
1495
|
-
<line num="
|
|
1496
|
-
<line num="
|
|
1481
|
+
<line num="393" count="6" type="stmt"/>
|
|
1482
|
+
<line num="395" count="6" type="stmt"/>
|
|
1483
|
+
<line num="396" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
1484
|
+
<line num="398" count="6" type="stmt"/>
|
|
1485
|
+
<line num="402" count="4" type="stmt"/>
|
|
1486
|
+
<line num="406" count="4" type="stmt"/>
|
|
1487
|
+
<line num="408" count="6" type="stmt"/>
|
|
1497
1488
|
<line num="409" count="6" type="stmt"/>
|
|
1498
|
-
<line num="410" count="6" type="stmt"/>
|
|
1499
1489
|
<line num="413" count="6" type="stmt"/>
|
|
1500
|
-
<line num="
|
|
1501
|
-
<line num="
|
|
1502
|
-
<line num="
|
|
1503
|
-
<line num="421" count="6" type="stmt"/>
|
|
1504
|
-
<line num="422" count="6" type="stmt"/>
|
|
1505
|
-
<line num="429" count="6" type="cond" truecount="3" falsecount="0"/>
|
|
1490
|
+
<line num="414" count="6" type="stmt"/>
|
|
1491
|
+
<line num="426" count="6" type="stmt"/>
|
|
1492
|
+
<line num="427" count="6" type="stmt"/>
|
|
1506
1493
|
<line num="430" count="6" type="stmt"/>
|
|
1507
|
-
<line num="
|
|
1508
|
-
<line num="
|
|
1509
|
-
<line num="433" count="0" type="stmt"/>
|
|
1494
|
+
<line num="433" count="6" type="stmt"/>
|
|
1495
|
+
<line num="434" count="6" type="stmt"/>
|
|
1510
1496
|
<line num="435" count="6" type="stmt"/>
|
|
1511
1497
|
<line num="438" count="6" type="stmt"/>
|
|
1512
|
-
<line num="
|
|
1513
|
-
<line num="
|
|
1514
|
-
<line num="
|
|
1515
|
-
<line num="
|
|
1516
|
-
<line num="
|
|
1517
|
-
<line num="
|
|
1518
|
-
<line num="
|
|
1519
|
-
<line num="
|
|
1520
|
-
<line num="458" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1521
|
-
<line num="459" count="1" type="stmt"/>
|
|
1498
|
+
<line num="439" count="6" type="stmt"/>
|
|
1499
|
+
<line num="446" count="6" type="cond" truecount="3" falsecount="0"/>
|
|
1500
|
+
<line num="447" count="6" type="stmt"/>
|
|
1501
|
+
<line num="448" count="6" type="stmt"/>
|
|
1502
|
+
<line num="449" count="6" type="stmt"/>
|
|
1503
|
+
<line num="450" count="0" type="stmt"/>
|
|
1504
|
+
<line num="452" count="6" type="stmt"/>
|
|
1505
|
+
<line num="455" count="6" type="stmt"/>
|
|
1522
1506
|
<line num="464" count="18" type="stmt"/>
|
|
1523
1507
|
<line num="466" count="2" type="stmt"/>
|
|
1524
|
-
<line num="467" count="2" type="
|
|
1508
|
+
<line num="467" count="2" type="cond" truecount="3" falsecount="0"/>
|
|
1509
|
+
<line num="468" count="2" type="stmt"/>
|
|
1525
1510
|
<line num="469" count="2" type="stmt"/>
|
|
1526
|
-
<line num="
|
|
1527
|
-
<line num="
|
|
1528
|
-
<line num="
|
|
1529
|
-
<line num="
|
|
1530
|
-
<line num="
|
|
1531
|
-
<line num="
|
|
1532
|
-
<line num="
|
|
1533
|
-
<line num="
|
|
1534
|
-
<line num="
|
|
1535
|
-
<line num="
|
|
1536
|
-
<line num="
|
|
1537
|
-
<line num="
|
|
1538
|
-
<line num="
|
|
1539
|
-
<line num="
|
|
1540
|
-
<line num="
|
|
1541
|
-
<line num="
|
|
1542
|
-
<line num="
|
|
1543
|
-
<line num="
|
|
1544
|
-
<line num="
|
|
1545
|
-
<line num="521" count="
|
|
1546
|
-
<line num="
|
|
1547
|
-
<line num="
|
|
1548
|
-
<line num="
|
|
1549
|
-
<line num="
|
|
1550
|
-
<line num="
|
|
1551
|
-
<line num="
|
|
1552
|
-
<line num="
|
|
1553
|
-
<line num="
|
|
1554
|
-
<line num="
|
|
1555
|
-
<line num="
|
|
1556
|
-
<line num="
|
|
1557
|
-
<line num="
|
|
1558
|
-
<line num="
|
|
1559
|
-
<line num="552" count="
|
|
1560
|
-
<line num="554" count="
|
|
1561
|
-
<line num="
|
|
1562
|
-
<line num="
|
|
1563
|
-
<line num="558" count="
|
|
1564
|
-
<line num="
|
|
1565
|
-
<line num="
|
|
1566
|
-
<line num="
|
|
1567
|
-
<line num="
|
|
1568
|
-
<line num="
|
|
1569
|
-
<line num="
|
|
1570
|
-
<line num="
|
|
1571
|
-
<line num="
|
|
1572
|
-
<line num="
|
|
1573
|
-
<line num="
|
|
1574
|
-
<line num="579" count="
|
|
1575
|
-
<line num="580" count="
|
|
1576
|
-
<line num="
|
|
1577
|
-
<line num="
|
|
1578
|
-
<line num="
|
|
1579
|
-
<line num="
|
|
1511
|
+
<line num="470" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
1512
|
+
<line num="471" count="0" type="stmt"/>
|
|
1513
|
+
<line num="474" count="2" type="stmt"/>
|
|
1514
|
+
<line num="475" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1515
|
+
<line num="476" count="1" type="stmt"/>
|
|
1516
|
+
<line num="481" count="18" type="stmt"/>
|
|
1517
|
+
<line num="483" count="2" type="stmt"/>
|
|
1518
|
+
<line num="484" count="2" type="stmt"/>
|
|
1519
|
+
<line num="486" count="2" type="stmt"/>
|
|
1520
|
+
<line num="492" count="2" type="stmt"/>
|
|
1521
|
+
<line num="493" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1522
|
+
<line num="494" count="1" type="stmt"/>
|
|
1523
|
+
<line num="496" count="1" type="stmt"/>
|
|
1524
|
+
<line num="504" count="2" type="stmt"/>
|
|
1525
|
+
<line num="508" count="2" type="stmt"/>
|
|
1526
|
+
<line num="510" count="3" type="stmt"/>
|
|
1527
|
+
<line num="515" count="3" type="stmt"/>
|
|
1528
|
+
<line num="519" count="2" type="stmt"/>
|
|
1529
|
+
<line num="520" count="2" type="stmt"/>
|
|
1530
|
+
<line num="521" count="3" type="stmt"/>
|
|
1531
|
+
<line num="526" count="2" type="stmt"/>
|
|
1532
|
+
<line num="527" count="2" type="stmt"/>
|
|
1533
|
+
<line num="528" count="3" type="stmt"/>
|
|
1534
|
+
<line num="529" count="3" type="stmt"/>
|
|
1535
|
+
<line num="533" count="2" type="stmt"/>
|
|
1536
|
+
<line num="534" count="3" type="stmt"/>
|
|
1537
|
+
<line num="535" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1538
|
+
<line num="536" count="3" type="stmt"/>
|
|
1539
|
+
<line num="538" count="0" type="stmt"/>
|
|
1540
|
+
<line num="546" count="2" type="stmt"/>
|
|
1541
|
+
<line num="549" count="18" type="stmt"/>
|
|
1542
|
+
<line num="550" count="4" type="stmt"/>
|
|
1543
|
+
<line num="551" count="4" type="stmt"/>
|
|
1544
|
+
<line num="552" count="4" type="stmt"/>
|
|
1545
|
+
<line num="554" count="4" type="cond" truecount="3" falsecount="0"/>
|
|
1546
|
+
<line num="556" count="4" type="stmt"/>
|
|
1547
|
+
<line num="557" count="4" type="stmt"/>
|
|
1548
|
+
<line num="558" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
1549
|
+
<line num="559" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1550
|
+
<line num="560" count="0" type="stmt"/>
|
|
1551
|
+
<line num="562" count="1" type="stmt"/>
|
|
1552
|
+
<line num="567" count="3" type="stmt"/>
|
|
1553
|
+
<line num="569" count="3" type="stmt"/>
|
|
1554
|
+
<line num="571" count="3" type="stmt"/>
|
|
1555
|
+
<line num="572" count="3" type="stmt"/>
|
|
1556
|
+
<line num="573" count="3" type="stmt"/>
|
|
1557
|
+
<line num="575" count="3" type="stmt"/>
|
|
1558
|
+
<line num="578" count="18" type="stmt"/>
|
|
1559
|
+
<line num="579" count="3" type="stmt"/>
|
|
1560
|
+
<line num="580" count="3" type="stmt"/>
|
|
1561
|
+
<line num="581" count="3" type="stmt"/>
|
|
1562
|
+
<line num="582" count="3" type="stmt"/>
|
|
1563
|
+
<line num="583" count="3" type="stmt"/>
|
|
1564
|
+
<line num="585" count="3" type="stmt"/>
|
|
1565
|
+
<line num="588" count="18" type="stmt"/>
|
|
1566
|
+
<line num="590" count="5" type="stmt"/>
|
|
1580
1567
|
<line num="591" count="5" type="stmt"/>
|
|
1581
|
-
<line num="
|
|
1582
|
-
<line num="
|
|
1583
|
-
<line num="
|
|
1584
|
-
<line num="
|
|
1585
|
-
<line num="
|
|
1586
|
-
<line num="
|
|
1587
|
-
<line num="
|
|
1588
|
-
<line num="
|
|
1589
|
-
<line num="
|
|
1590
|
-
<line num="
|
|
1591
|
-
<line num="
|
|
1592
|
-
<line num="
|
|
1593
|
-
<line num="
|
|
1594
|
-
<line num="618" count="
|
|
1568
|
+
<line num="596" count="6" type="stmt"/>
|
|
1569
|
+
<line num="597" count="5" type="stmt"/>
|
|
1570
|
+
<line num="600" count="5" type="stmt"/>
|
|
1571
|
+
<line num="601" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
1572
|
+
<line num="602" count="2" type="stmt"/>
|
|
1573
|
+
<line num="604" count="4" type="stmt"/>
|
|
1574
|
+
<line num="608" count="5" type="stmt"/>
|
|
1575
|
+
<line num="611" count="5" type="stmt"/>
|
|
1576
|
+
<line num="612" count="5" type="stmt"/>
|
|
1577
|
+
<line num="613" count="4" type="stmt"/>
|
|
1578
|
+
<line num="614" count="4" type="stmt"/>
|
|
1579
|
+
<line num="615" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
1580
|
+
<line num="616" count="2" type="stmt"/>
|
|
1581
|
+
<line num="618" count="4" type="stmt"/>
|
|
1582
|
+
<line num="619" count="4" type="stmt"/>
|
|
1583
|
+
<line num="623" count="4" type="stmt"/>
|
|
1584
|
+
<line num="624" count="4" type="stmt"/>
|
|
1585
|
+
<line num="625" count="4" type="stmt"/>
|
|
1586
|
+
<line num="627" count="0" type="stmt"/>
|
|
1587
|
+
<line num="628" count="0" type="stmt"/>
|
|
1588
|
+
<line num="635" count="5" type="stmt"/>
|
|
1595
1589
|
</file>
|
|
1596
1590
|
</package>
|
|
1597
1591
|
<package name="src.tests">
|
|
1598
1592
|
<metrics statements="127" coveredstatements="118" conditionals="16" coveredconditionals="12" methods="38" coveredmethods="33"/>
|
|
1599
|
-
<file name="TestConfiguration.ts" path="/
|
|
1593
|
+
<file name="TestConfiguration.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/TestConfiguration.ts">
|
|
1600
1594
|
<metrics statements="114" coveredstatements="105" conditionals="16" coveredconditionals="12" methods="38" coveredmethods="33"/>
|
|
1601
1595
|
<line num="1" count="18" type="stmt"/>
|
|
1602
1596
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -1713,7 +1707,7 @@
|
|
|
1713
1707
|
<line num="322" count="3" type="stmt"/>
|
|
1714
1708
|
<line num="330" count="18" type="stmt"/>
|
|
1715
1709
|
</file>
|
|
1716
|
-
<file name="controllers.ts" path="/
|
|
1710
|
+
<file name="controllers.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/controllers.ts">
|
|
1717
1711
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1718
1712
|
<line num="1" count="18" type="stmt"/>
|
|
1719
1713
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -1721,7 +1715,7 @@
|
|
|
1721
1715
|
<line num="4" count="18" type="stmt"/>
|
|
1722
1716
|
<line num="5" count="18" type="stmt"/>
|
|
1723
1717
|
</file>
|
|
1724
|
-
<file name="index.ts" path="/
|
|
1718
|
+
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/index.ts">
|
|
1725
1719
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1726
1720
|
<line num="1" count="18" type="stmt"/>
|
|
1727
1721
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -1735,7 +1729,7 @@
|
|
|
1735
1729
|
</package>
|
|
1736
1730
|
<package name="src.tests.api">
|
|
1737
1731
|
<metrics statements="185" coveredstatements="184" conditionals="127" coveredconditionals="104" methods="62" coveredmethods="60"/>
|
|
1738
|
-
<file name="accounts.ts" path="/
|
|
1732
|
+
<file name="accounts.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/accounts.ts">
|
|
1739
1733
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
1740
1734
|
<line num="3" count="18" type="stmt"/>
|
|
1741
1735
|
<line num="5" count="18" type="stmt"/>
|
|
@@ -1746,7 +1740,7 @@
|
|
|
1746
1740
|
<line num="20" count="18" type="stmt"/>
|
|
1747
1741
|
<line num="21" count="2" type="stmt"/>
|
|
1748
1742
|
</file>
|
|
1749
|
-
<file name="auth.ts" path="/
|
|
1743
|
+
<file name="auth.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/auth.ts">
|
|
1750
1744
|
<metrics statements="16" coveredstatements="16" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
|
|
1751
1745
|
<line num="2" count="18" type="stmt"/>
|
|
1752
1746
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -1765,13 +1759,13 @@
|
|
|
1765
1759
|
<line num="42" count="2" type="stmt"/>
|
|
1766
1760
|
<line num="43" count="2" type="stmt"/>
|
|
1767
1761
|
</file>
|
|
1768
|
-
<file name="base.ts" path="/
|
|
1762
|
+
<file name="base.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/base.ts">
|
|
1769
1763
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1770
1764
|
<line num="8" count="18" type="stmt"/>
|
|
1771
1765
|
<line num="13" count="270" type="stmt"/>
|
|
1772
1766
|
<line num="14" count="270" type="stmt"/>
|
|
1773
1767
|
</file>
|
|
1774
|
-
<file name="configs.ts" path="/
|
|
1768
|
+
<file name="configs.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/configs.ts">
|
|
1775
1769
|
<metrics statements="17" coveredstatements="17" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="6"/>
|
|
1776
1770
|
<line num="2" count="18" type="stmt"/>
|
|
1777
1771
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -1791,7 +1785,7 @@
|
|
|
1791
1785
|
<line num="42" count="18" type="stmt"/>
|
|
1792
1786
|
<line num="43" count="2" type="stmt"/>
|
|
1793
1787
|
</file>
|
|
1794
|
-
<file name="email.ts" path="/
|
|
1788
|
+
<file name="email.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/email.ts">
|
|
1795
1789
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
1796
1790
|
<line num="2" count="18" type="stmt"/>
|
|
1797
1791
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -1799,7 +1793,7 @@
|
|
|
1799
1793
|
<line num="9" count="18" type="stmt"/>
|
|
1800
1794
|
<line num="10" count="1" type="stmt"/>
|
|
1801
1795
|
</file>
|
|
1802
|
-
<file name="environment.ts" path="/
|
|
1796
|
+
<file name="environment.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/environment.ts">
|
|
1803
1797
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
1804
1798
|
<line num="2" count="18" type="stmt"/>
|
|
1805
1799
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -1807,7 +1801,7 @@
|
|
|
1807
1801
|
<line num="9" count="18" type="stmt"/>
|
|
1808
1802
|
<line num="10" count="1" type="stmt"/>
|
|
1809
1803
|
</file>
|
|
1810
|
-
<file name="groups.ts" path="/
|
|
1804
|
+
<file name="groups.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/groups.ts">
|
|
1811
1805
|
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
1812
1806
|
<line num="3" count="18" type="stmt"/>
|
|
1813
1807
|
<line num="5" count="18" type="stmt"/>
|
|
@@ -1817,7 +1811,7 @@
|
|
|
1817
1811
|
<line num="19" count="18" type="stmt"/>
|
|
1818
1812
|
<line num="20" count="1" type="stmt"/>
|
|
1819
1813
|
</file>
|
|
1820
|
-
<file name="index.ts" path="/
|
|
1814
|
+
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/index.ts">
|
|
1821
1815
|
<metrics statements="31" coveredstatements="31" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1822
1816
|
<line num="2" count="18" type="stmt"/>
|
|
1823
1817
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -1851,7 +1845,7 @@
|
|
|
1851
1845
|
<line num="48" count="18" type="stmt"/>
|
|
1852
1846
|
<line num="49" count="18" type="stmt"/>
|
|
1853
1847
|
</file>
|
|
1854
|
-
<file name="license.ts" path="/
|
|
1848
|
+
<file name="license.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/license.ts">
|
|
1855
1849
|
<metrics statements="5" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="1"/>
|
|
1856
1850
|
<line num="2" count="18" type="stmt"/>
|
|
1857
1851
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -1859,7 +1853,7 @@
|
|
|
1859
1853
|
<line num="9" count="18" type="stmt"/>
|
|
1860
1854
|
<line num="10" count="0" type="stmt"/>
|
|
1861
1855
|
</file>
|
|
1862
|
-
<file name="migrations.ts" path="/
|
|
1856
|
+
<file name="migrations.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/migrations.ts">
|
|
1863
1857
|
<metrics statements="7" coveredstatements="7" conditionals="24" coveredconditionals="24" methods="3" coveredmethods="3"/>
|
|
1864
1858
|
<line num="2" count="18" type="stmt"/>
|
|
1865
1859
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -1869,7 +1863,7 @@
|
|
|
1869
1863
|
<line num="16" count="18" type="stmt"/>
|
|
1870
1864
|
<line num="17" count="2" type="stmt"/>
|
|
1871
1865
|
</file>
|
|
1872
|
-
<file name="restore.ts" path="/
|
|
1866
|
+
<file name="restore.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/restore.ts">
|
|
1873
1867
|
<metrics statements="5" coveredstatements="5" conditionals="6" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
1874
1868
|
<line num="2" count="18" type="stmt"/>
|
|
1875
1869
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -1877,7 +1871,7 @@
|
|
|
1877
1871
|
<line num="9" count="18" type="stmt"/>
|
|
1878
1872
|
<line num="10" count="2" type="stmt"/>
|
|
1879
1873
|
</file>
|
|
1880
|
-
<file name="roles.ts" path="/
|
|
1874
|
+
<file name="roles.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/roles.ts">
|
|
1881
1875
|
<metrics statements="9" coveredstatements="9" conditionals="18" coveredconditionals="12" methods="4" coveredmethods="4"/>
|
|
1882
1876
|
<line num="2" count="18" type="stmt"/>
|
|
1883
1877
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -1889,7 +1883,7 @@
|
|
|
1889
1883
|
<line num="25" count="18" type="stmt"/>
|
|
1890
1884
|
<line num="26" count="1" type="stmt"/>
|
|
1891
1885
|
</file>
|
|
1892
|
-
<file name="self.ts" path="/
|
|
1886
|
+
<file name="self.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/self.ts">
|
|
1893
1887
|
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
1894
1888
|
<line num="3" count="18" type="stmt"/>
|
|
1895
1889
|
<line num="5" count="18" type="stmt"/>
|
|
@@ -1899,7 +1893,7 @@
|
|
|
1899
1893
|
<line num="19" count="18" type="stmt"/>
|
|
1900
1894
|
<line num="20" count="1" type="stmt"/>
|
|
1901
1895
|
</file>
|
|
1902
|
-
<file name="status.ts" path="/
|
|
1896
|
+
<file name="status.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/status.ts">
|
|
1903
1897
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
1904
1898
|
<line num="2" count="18" type="stmt"/>
|
|
1905
1899
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -1907,7 +1901,7 @@
|
|
|
1907
1901
|
<line num="9" count="18" type="stmt"/>
|
|
1908
1902
|
<line num="10" count="2" type="stmt"/>
|
|
1909
1903
|
</file>
|
|
1910
|
-
<file name="templates.ts" path="/
|
|
1904
|
+
<file name="templates.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/templates.ts">
|
|
1911
1905
|
<metrics statements="9" coveredstatements="9" conditionals="36" coveredconditionals="24" methods="4" coveredmethods="4"/>
|
|
1912
1906
|
<line num="2" count="18" type="stmt"/>
|
|
1913
1907
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -1919,7 +1913,7 @@
|
|
|
1919
1913
|
<line num="23" count="18" type="stmt"/>
|
|
1920
1914
|
<line num="24" count="1" type="stmt"/>
|
|
1921
1915
|
</file>
|
|
1922
|
-
<file name="tenants.ts" path="/
|
|
1916
|
+
<file name="tenants.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/tenants.ts">
|
|
1923
1917
|
<metrics statements="5" coveredstatements="5" conditionals="10" coveredconditionals="8" methods="2" coveredmethods="2"/>
|
|
1924
1918
|
<line num="2" count="18" type="stmt"/>
|
|
1925
1919
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -1927,7 +1921,7 @@
|
|
|
1927
1921
|
<line num="9" count="18" type="stmt"/>
|
|
1928
1922
|
<line num="10" count="3" type="stmt"/>
|
|
1929
1923
|
</file>
|
|
1930
|
-
<file name="users.ts" path="/
|
|
1924
|
+
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/users.ts">
|
|
1931
1925
|
<metrics statements="41" coveredstatements="41" conditionals="33" coveredconditionals="30" methods="15" coveredmethods="15"/>
|
|
1932
1926
|
<line num="8" count="18" type="stmt"/>
|
|
1933
1927
|
<line num="9" count="18" type="stmt"/>
|
|
@@ -1974,7 +1968,7 @@
|
|
|
1974
1968
|
</package>
|
|
1975
1969
|
<package name="src.tests.mocks">
|
|
1976
1970
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1977
|
-
<file name="email.
|
|
1971
|
+
<file name="email.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/mocks/email.ts">
|
|
1978
1972
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1979
1973
|
<line num="1" count="18" type="stmt"/>
|
|
1980
1974
|
<line num="3" count="4" type="stmt"/>
|
|
@@ -1982,7 +1976,7 @@
|
|
|
1982
1976
|
<line num="5" count="4" type="stmt"/>
|
|
1983
1977
|
<line num="9" count="4" type="stmt"/>
|
|
1984
1978
|
</file>
|
|
1985
|
-
<file name="index.ts" path="/
|
|
1979
|
+
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/mocks/index.ts">
|
|
1986
1980
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1987
1981
|
<line num="1" count="18" type="stmt"/>
|
|
1988
1982
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -1991,7 +1985,7 @@
|
|
|
1991
1985
|
</package>
|
|
1992
1986
|
<package name="src.tests.structures">
|
|
1993
1987
|
<metrics statements="35" coveredstatements="35" conditionals="0" coveredconditionals="0" methods="10" coveredmethods="10"/>
|
|
1994
|
-
<file name="configs.ts" path="/
|
|
1988
|
+
<file name="configs.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/structures/configs.ts">
|
|
1995
1989
|
<metrics statements="12" coveredstatements="12" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
|
|
1996
1990
|
<line num="1" count="18" type="stmt"/>
|
|
1997
1991
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -2006,13 +2000,13 @@
|
|
|
2006
2000
|
<line num="66" count="18" type="stmt"/>
|
|
2007
2001
|
<line num="67" count="12" type="stmt"/>
|
|
2008
2002
|
</file>
|
|
2009
|
-
<file name="groups.ts" path="/
|
|
2003
|
+
<file name="groups.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/structures/groups.ts">
|
|
2010
2004
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
2011
2005
|
<line num="1" count="18" type="stmt"/>
|
|
2012
2006
|
<line num="2" count="3" type="stmt"/>
|
|
2013
2007
|
<line num="10" count="3" type="stmt"/>
|
|
2014
2008
|
</file>
|
|
2015
|
-
<file name="index.ts" path="/
|
|
2009
|
+
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/structures/index.ts">
|
|
2016
2010
|
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2017
2011
|
<line num="1" count="18" type="stmt"/>
|
|
2018
2012
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -2025,7 +2019,7 @@
|
|
|
2025
2019
|
<line num="11" count="18" type="stmt"/>
|
|
2026
2020
|
<line num="22" count="18" type="stmt"/>
|
|
2027
2021
|
</file>
|
|
2028
|
-
<file name="users.ts" path="/
|
|
2022
|
+
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/structures/users.ts">
|
|
2029
2023
|
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
2030
2024
|
<line num="1" count="18" type="stmt"/>
|
|
2031
2025
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -2041,7 +2035,7 @@
|
|
|
2041
2035
|
</package>
|
|
2042
2036
|
<package name="src.utilities">
|
|
2043
2037
|
<metrics statements="159" coveredstatements="130" conditionals="114" coveredconditionals="75" methods="23" coveredmethods="22"/>
|
|
2044
|
-
<file name="appService.ts" path="/
|
|
2038
|
+
<file name="appService.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/appService.ts">
|
|
2045
2039
|
<metrics statements="19" coveredstatements="9" conditionals="6" coveredconditionals="2" methods="2" coveredmethods="2"/>
|
|
2046
2040
|
<line num="1" count="18" type="stmt"/>
|
|
2047
2041
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -2063,7 +2057,7 @@
|
|
|
2063
2057
|
<line num="29" count="101" type="cond" truecount="1" falsecount="2"/>
|
|
2064
2058
|
<line num="30" count="0" type="stmt"/>
|
|
2065
2059
|
</file>
|
|
2066
|
-
<file name="email.ts" path="/
|
|
2060
|
+
<file name="email.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/email.ts">
|
|
2067
2061
|
<metrics statements="72" coveredstatements="60" conditionals="85" coveredconditionals="57" methods="7" coveredmethods="7"/>
|
|
2068
2062
|
<line num="1" count="18" type="stmt"/>
|
|
2069
2063
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -2138,18 +2132,18 @@
|
|
|
2138
2132
|
<line num="253" count="15" type="stmt"/>
|
|
2139
2133
|
<line num="254" count="15" type="stmt"/>
|
|
2140
2134
|
</file>
|
|
2141
|
-
<file name="fileSystem.ts" path="/
|
|
2135
|
+
<file name="fileSystem.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/fileSystem.ts">
|
|
2142
2136
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
2143
2137
|
<line num="1" count="18" type="stmt"/>
|
|
2144
2138
|
<line num="3" count="18" type="stmt"/>
|
|
2145
2139
|
<line num="4" count="90" type="stmt"/>
|
|
2146
2140
|
</file>
|
|
2147
|
-
<file name="index.ts" path="/
|
|
2141
|
+
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/index.ts">
|
|
2148
2142
|
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
2149
2143
|
<line num="7" count="18" type="stmt"/>
|
|
2150
2144
|
<line num="8" count="21" type="stmt"/>
|
|
2151
2145
|
</file>
|
|
2152
|
-
<file name="redis.ts" path="/
|
|
2146
|
+
<file name="redis.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/redis.ts">
|
|
2153
2147
|
<metrics statements="39" coveredstatements="33" conditionals="11" coveredconditionals="7" methods="10" coveredmethods="9"/>
|
|
2154
2148
|
<line num="1" count="18" type="stmt"/>
|
|
2155
2149
|
<line num="4" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -2191,7 +2185,7 @@
|
|
|
2191
2185
|
<line num="109" count="1" type="stmt"/>
|
|
2192
2186
|
<line num="111" count="0" type="stmt"/>
|
|
2193
2187
|
</file>
|
|
2194
|
-
<file name="templates.ts" path="/
|
|
2188
|
+
<file name="templates.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/templates.ts">
|
|
2195
2189
|
<metrics statements="17" coveredstatements="17" conditionals="10" coveredconditionals="7" methods="1" coveredmethods="1"/>
|
|
2196
2190
|
<line num="1" count="18" type="stmt"/>
|
|
2197
2191
|
<line num="2" count="18" type="stmt"/>
|
|
@@ -2211,7 +2205,7 @@
|
|
|
2211
2205
|
<line num="46" count="5" type="stmt"/>
|
|
2212
2206
|
<line num="48" count="7" type="stmt"/>
|
|
2213
2207
|
</file>
|
|
2214
|
-
<file name="users.ts" path="/
|
|
2208
|
+
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/users.ts">
|
|
2215
2209
|
<metrics statements="7" coveredstatements="6" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
|
|
2216
2210
|
<line num="1" count="18" type="stmt"/>
|
|
2217
2211
|
<line num="3" count="18" type="stmt"/>
|