@budibase/worker 2.2.12-alpha.6 → 2.2.12-alpha.60
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 +377 -343
- package/coverage/coverage-final.json +11 -9
- package/coverage/lcov-report/index.html +44 -44
- package/coverage/lcov-report/src/api/controllers/global/auth.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/configs.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/email.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/events.ts.html +136 -0
- package/coverage/lcov-report/src/api/controllers/global/index.html +32 -17
- 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 +47 -8
- 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 +16 -4
- package/coverage/lcov-report/src/api/routes/global/auth.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/configs.ts.html +7 -7
- package/coverage/lcov-report/src/api/routes/global/email.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/events.ts.html +109 -0
- package/coverage/lcov-report/src/api/routes/global/index.html +22 -7
- package/coverage/lcov-report/src/api/routes/global/license.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/roles.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/self.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/templates.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/users.ts.html +47 -5
- package/coverage/lcov-report/src/api/routes/global/workspaces.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/index.html +5 -5
- package/coverage/lcov-report/src/api/routes/index.ts.html +10 -4
- package/coverage/lcov-report/src/api/routes/system/accounts.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/environment.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/restore.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/status.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/tenants.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/validation/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/validation/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/validation/users.ts.html +1 -1
- package/coverage/lcov-report/src/constants/index.html +1 -1
- package/coverage/lcov-report/src/constants/index.ts.html +1 -1
- package/coverage/lcov-report/src/constants/templates/index.html +1 -1
- package/coverage/lcov-report/src/constants/templates/index.ts.html +1 -1
- package/coverage/lcov-report/src/db/index.html +1 -1
- package/coverage/lcov-report/src/db/index.ts.html +1 -1
- package/coverage/lcov-report/src/environment.ts.html +1 -1
- package/coverage/lcov-report/src/index.html +10 -10
- package/coverage/lcov-report/src/index.ts.html +10 -7
- 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 +34 -10
- package/coverage/lcov-report/src/sdk/users/index.html +19 -19
- package/coverage/lcov-report/src/sdk/users/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/users/users.ts.html +11 -5
- 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 +5 -2
- package/coverage/lcov-report/src/tests/controllers.ts.html +1 -1
- package/coverage/lcov-report/src/tests/index.html +1 -1
- package/coverage/lcov-report/src/tests/index.ts.html +1 -1
- package/coverage/lcov-report/src/tests/mocks/email.ts.html +1 -1
- package/coverage/lcov-report/src/tests/mocks/index.html +1 -1
- package/coverage/lcov-report/src/tests/mocks/index.ts.html +1 -1
- package/coverage/lcov-report/src/tests/structures/configs.ts.html +1 -1
- package/coverage/lcov-report/src/tests/structures/groups.ts.html +1 -1
- package/coverage/lcov-report/src/tests/structures/index.html +1 -1
- package/coverage/lcov-report/src/tests/structures/index.ts.html +1 -1
- package/coverage/lcov-report/src/tests/structures/users.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/appService.ts.html +36 -9
- 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 +11 -11
- 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 +641 -578
- package/package.json +6 -6
- package/src/api/controllers/global/events.ts +17 -0
- package/src/api/controllers/global/users.ts +13 -0
- package/src/api/index.ts +4 -0
- package/src/api/routes/global/configs.ts +6 -6
- package/src/api/routes/global/events.ts +8 -0
- package/src/api/routes/global/users.ts +14 -0
- package/src/api/routes/index.ts +2 -0
- package/src/index.ts +2 -1
- package/src/sdk/users/events.ts +8 -0
- package/src/sdk/users/users.ts +5 -3
- package/src/tests/api/users.ts +1 -0
- package/src/utilities/appService.ts +12 -3
- package/tsconfig.json +2 -1
package/coverage/clover.xml
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1675270216041" clover="3.2.0">
|
|
3
|
+
<project timestamp="1675270216042" name="All files">
|
|
4
|
+
<metrics statements="1875" coveredstatements="1541" conditionals="502" coveredconditionals="347" methods="529" coveredmethods="440" elements="2906" coveredelements="2328" complexity="0" loc="1875" ncloc="1875" packages="22" files="83" classes="83"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="81" coveredstatements="55" conditionals="27" coveredconditionals="15" methods="16" coveredmethods="8"/>
|
|
7
7
|
<file name="environment.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/environment.ts">
|
|
8
8
|
<metrics statements="21" coveredstatements="17" conditionals="21" coveredconditionals="14" methods="6" coveredmethods="6"/>
|
|
9
9
|
<line num="1" count="18" type="stmt"/>
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<line num="101" count="1187" type="stmt"/>
|
|
30
30
|
</file>
|
|
31
31
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/index.ts">
|
|
32
|
-
<metrics statements="
|
|
32
|
+
<metrics statements="60" coveredstatements="38" conditionals="6" coveredconditionals="1" methods="10" coveredmethods="2"/>
|
|
33
33
|
<line num="2" count="18" type="stmt"/>
|
|
34
34
|
<line num="5" count="18" type="cond" truecount="0" falsecount="1"/>
|
|
35
35
|
<line num="6" count="0" type="stmt"/>
|
|
@@ -52,43 +52,44 @@
|
|
|
52
52
|
<line num="37" count="18" type="stmt"/>
|
|
53
53
|
<line num="38" count="18" type="stmt"/>
|
|
54
54
|
<line num="39" count="18" type="stmt"/>
|
|
55
|
-
<line num="
|
|
55
|
+
<line num="40" count="18" type="stmt"/>
|
|
56
56
|
<line num="43" count="18" type="stmt"/>
|
|
57
|
-
<line num="
|
|
58
|
-
<line num="
|
|
59
|
-
<line num="50" count="
|
|
60
|
-
<line num="
|
|
57
|
+
<line num="44" count="18" type="stmt"/>
|
|
58
|
+
<line num="47" count="18" type="stmt"/>
|
|
59
|
+
<line num="50" count="18" type="cond" truecount="0" falsecount="1"/>
|
|
60
|
+
<line num="51" count="0" type="stmt"/>
|
|
61
61
|
<line num="53" count="0" type="stmt"/>
|
|
62
62
|
<line num="54" count="0" type="stmt"/>
|
|
63
63
|
<line num="55" count="0" type="stmt"/>
|
|
64
|
-
<line num="
|
|
65
|
-
<line num="
|
|
64
|
+
<line num="56" count="0" type="stmt"/>
|
|
65
|
+
<line num="58" count="0" type="stmt"/>
|
|
66
66
|
<line num="63" count="18" type="stmt"/>
|
|
67
|
-
<line num="
|
|
67
|
+
<line num="64" count="18" type="stmt"/>
|
|
68
68
|
<line num="66" count="18" type="stmt"/>
|
|
69
69
|
<line num="67" count="18" type="stmt"/>
|
|
70
|
-
<line num="68" count="
|
|
71
|
-
<line num="69" count="0" type="
|
|
72
|
-
<line num="
|
|
70
|
+
<line num="68" count="18" type="stmt"/>
|
|
71
|
+
<line num="69" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
72
|
+
<line num="70" count="0" type="stmt"/>
|
|
73
73
|
<line num="72" count="0" type="stmt"/>
|
|
74
74
|
<line num="73" count="0" type="stmt"/>
|
|
75
75
|
<line num="74" count="0" type="stmt"/>
|
|
76
|
-
<line num="75" count="0" type="
|
|
77
|
-
<line num="76" count="0" type="
|
|
78
|
-
<line num="
|
|
79
|
-
<line num="81" count="
|
|
76
|
+
<line num="75" count="0" type="stmt"/>
|
|
77
|
+
<line num="76" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
78
|
+
<line num="77" count="0" type="stmt"/>
|
|
79
|
+
<line num="81" count="18" type="stmt"/>
|
|
80
80
|
<line num="82" count="0" type="stmt"/>
|
|
81
|
-
<line num="
|
|
82
|
-
<line num="86" count="18" type="
|
|
81
|
+
<line num="83" count="0" type="stmt"/>
|
|
82
|
+
<line num="86" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
83
83
|
<line num="87" count="18" type="stmt"/>
|
|
84
|
-
<line num="
|
|
85
|
-
<line num="91" count="
|
|
84
|
+
<line num="88" count="18" type="stmt"/>
|
|
85
|
+
<line num="91" count="18" type="stmt"/>
|
|
86
86
|
<line num="92" count="0" type="stmt"/>
|
|
87
87
|
<line num="93" count="0" type="stmt"/>
|
|
88
|
-
<line num="
|
|
89
|
-
<line num="97" count="
|
|
90
|
-
<line num="
|
|
91
|
-
<line num="101" count="
|
|
88
|
+
<line num="94" count="0" type="stmt"/>
|
|
89
|
+
<line num="97" count="18" type="stmt"/>
|
|
90
|
+
<line num="98" count="0" type="stmt"/>
|
|
91
|
+
<line num="101" count="18" type="stmt"/>
|
|
92
|
+
<line num="102" count="0" type="stmt"/>
|
|
92
93
|
</file>
|
|
93
94
|
</package>
|
|
94
95
|
<package name="src.api">
|
|
@@ -102,33 +103,33 @@
|
|
|
102
103
|
<line num="5" count="18" type="stmt"/>
|
|
103
104
|
<line num="6" count="18" type="stmt"/>
|
|
104
105
|
<line num="9" count="18" type="stmt"/>
|
|
105
|
-
<line num="
|
|
106
|
-
<line num="
|
|
107
|
-
<line num="
|
|
108
|
-
<line num="
|
|
109
|
-
<line num="
|
|
110
|
-
<line num="
|
|
111
|
-
<line num="
|
|
112
|
-
<line num="
|
|
113
|
-
<line num="
|
|
114
|
-
<line num="
|
|
115
|
-
<line num="
|
|
116
|
-
<line num="
|
|
117
|
-
<line num="
|
|
118
|
-
<line num="
|
|
119
|
-
<line num="
|
|
120
|
-
<line num="
|
|
121
|
-
<line num="
|
|
122
|
-
<line num="
|
|
123
|
-
<line num="
|
|
124
|
-
<line num="
|
|
125
|
-
<line num="
|
|
126
|
-
<line num="
|
|
127
|
-
<line num="
|
|
106
|
+
<line num="71" count="18" type="stmt"/>
|
|
107
|
+
<line num="109" count="18" type="stmt"/>
|
|
108
|
+
<line num="111" count="18" type="stmt"/>
|
|
109
|
+
<line num="112" count="18" type="stmt"/>
|
|
110
|
+
<line num="125" count="0" type="stmt"/>
|
|
111
|
+
<line num="132" count="123" type="cond" truecount="1" falsecount="0"/>
|
|
112
|
+
<line num="133" count="24" type="stmt"/>
|
|
113
|
+
<line num="135" count="99" type="cond" truecount="1" falsecount="0"/>
|
|
114
|
+
<line num="139" count="2" type="stmt"/>
|
|
115
|
+
<line num="141" count="97" type="stmt"/>
|
|
116
|
+
<line num="146" count="18" type="stmt"/>
|
|
117
|
+
<line num="147" count="121" type="stmt"/>
|
|
118
|
+
<line num="148" count="121" type="stmt"/>
|
|
119
|
+
<line num="150" count="14" type="stmt"/>
|
|
120
|
+
<line num="151" count="14" type="cond" truecount="1" falsecount="2"/>
|
|
121
|
+
<line num="152" count="14" type="stmt"/>
|
|
122
|
+
<line num="153" count="14" type="stmt"/>
|
|
123
|
+
<line num="158" count="14" type="stmt"/>
|
|
124
|
+
<line num="162" count="18" type="stmt"/>
|
|
125
|
+
<line num="165" count="18" type="stmt"/>
|
|
126
|
+
<line num="166" count="306" type="stmt"/>
|
|
127
|
+
<line num="167" count="306" type="stmt"/>
|
|
128
|
+
<line num="170" count="18" type="stmt"/>
|
|
128
129
|
</file>
|
|
129
130
|
</package>
|
|
130
131
|
<package name="src.api.controllers.global">
|
|
131
|
-
<metrics statements="
|
|
132
|
+
<metrics statements="606" coveredstatements="394" conditionals="160" coveredconditionals="92" methods="157" coveredmethods="111"/>
|
|
132
133
|
<file name="auth.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/auth.ts">
|
|
133
134
|
<metrics statements="119" coveredstatements="72" conditionals="18" coveredconditionals="5" methods="39" coveredmethods="24"/>
|
|
134
135
|
<line num="10" count="18" type="stmt"/>
|
|
@@ -432,6 +433,17 @@
|
|
|
432
433
|
<line num="23" count="1" type="stmt"/>
|
|
433
434
|
<line num="33" count="1" type="stmt"/>
|
|
434
435
|
</file>
|
|
436
|
+
<file name="events.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/events.ts">
|
|
437
|
+
<metrics statements="8" coveredstatements="3" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
438
|
+
<line num="5" count="18" type="stmt"/>
|
|
439
|
+
<line num="6" count="18" type="stmt"/>
|
|
440
|
+
<line num="8" count="18" type="stmt"/>
|
|
441
|
+
<line num="9" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
442
|
+
<line num="11" count="0" type="stmt"/>
|
|
443
|
+
<line num="12" count="0" type="stmt"/>
|
|
444
|
+
<line num="14" count="0" type="stmt"/>
|
|
445
|
+
<line num="16" count="0" type="stmt"/>
|
|
446
|
+
</file>
|
|
435
447
|
<file name="license.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/license.ts">
|
|
436
448
|
<metrics statements="21" coveredstatements="6" conditionals="2" coveredconditionals="0" methods="10" coveredmethods="5"/>
|
|
437
449
|
<line num="1" count="18" type="stmt"/>
|
|
@@ -610,7 +622,7 @@
|
|
|
610
622
|
<line num="76" count="0" type="stmt"/>
|
|
611
623
|
</file>
|
|
612
624
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/users.ts">
|
|
613
|
-
<metrics statements="
|
|
625
|
+
<metrics statements="113" coveredstatements="80" conditionals="32" coveredconditionals="17" methods="31" coveredmethods="26"/>
|
|
614
626
|
<line num="1" count="18" type="stmt"/>
|
|
615
627
|
<line num="2" count="18" type="stmt"/>
|
|
616
628
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -706,18 +718,24 @@
|
|
|
706
718
|
<line num="209" count="2" type="stmt"/>
|
|
707
719
|
<line num="210" count="2" type="stmt"/>
|
|
708
720
|
<line num="213" count="18" type="stmt"/>
|
|
709
|
-
<line num="214" count="
|
|
710
|
-
<line num="
|
|
711
|
-
<line num="217" count="
|
|
712
|
-
<line num="
|
|
713
|
-
<line num="
|
|
714
|
-
<line num="226" count="
|
|
721
|
+
<line num="214" count="0" type="stmt"/>
|
|
722
|
+
<line num="216" count="0" type="stmt"/>
|
|
723
|
+
<line num="217" count="0" type="stmt"/>
|
|
724
|
+
<line num="219" count="0" type="stmt"/>
|
|
725
|
+
<line num="221" count="0" type="stmt"/>
|
|
726
|
+
<line num="226" count="18" type="stmt"/>
|
|
715
727
|
<line num="227" count="1" type="stmt"/>
|
|
716
728
|
<line num="228" count="1" type="stmt"/>
|
|
717
|
-
<line num="
|
|
718
|
-
<line num="
|
|
719
|
-
<line num="
|
|
720
|
-
<line num="
|
|
729
|
+
<line num="230" count="1" type="stmt"/>
|
|
730
|
+
<line num="231" count="1" type="stmt"/>
|
|
731
|
+
<line num="232" count="1" type="stmt"/>
|
|
732
|
+
<line num="239" count="1" type="stmt"/>
|
|
733
|
+
<line num="240" count="1" type="stmt"/>
|
|
734
|
+
<line num="241" count="1" type="stmt"/>
|
|
735
|
+
<line num="242" count="1" type="stmt"/>
|
|
736
|
+
<line num="245" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
737
|
+
<line num="247" count="0" type="stmt"/>
|
|
738
|
+
<line num="249" count="0" type="stmt"/>
|
|
721
739
|
</file>
|
|
722
740
|
<file name="workspaces.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/workspaces.ts">
|
|
723
741
|
<metrics statements="26" coveredstatements="5" conditionals="1" coveredconditionals="0" methods="9" coveredmethods="4"/>
|
|
@@ -821,9 +839,9 @@
|
|
|
821
839
|
</file>
|
|
822
840
|
</package>
|
|
823
841
|
<package name="src.api.routes">
|
|
824
|
-
<metrics statements="
|
|
842
|
+
<metrics statements="19" coveredstatements="19" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
825
843
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/index.ts">
|
|
826
|
-
<metrics statements="
|
|
844
|
+
<metrics statements="19" coveredstatements="19" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
827
845
|
<line num="2" count="18" type="stmt"/>
|
|
828
846
|
<line num="3" count="18" type="stmt"/>
|
|
829
847
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -840,12 +858,13 @@
|
|
|
840
858
|
<line num="15" count="18" type="stmt"/>
|
|
841
859
|
<line num="16" count="18" type="stmt"/>
|
|
842
860
|
<line num="17" count="18" type="stmt"/>
|
|
843
|
-
<line num="
|
|
861
|
+
<line num="18" count="18" type="stmt"/>
|
|
844
862
|
<line num="20" count="18" type="stmt"/>
|
|
863
|
+
<line num="21" count="18" type="stmt"/>
|
|
845
864
|
</file>
|
|
846
865
|
</package>
|
|
847
866
|
<package name="src.api.routes.global">
|
|
848
|
-
<metrics statements="
|
|
867
|
+
<metrics statements="94" coveredstatements="94" conditionals="2" coveredconditionals="2" methods="29" coveredmethods="29"/>
|
|
849
868
|
<file name="auth.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/auth.ts">
|
|
850
869
|
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
851
870
|
<line num="1" count="18" type="stmt"/>
|
|
@@ -889,6 +908,14 @@
|
|
|
889
908
|
<line num="29" count="18" type="stmt"/>
|
|
890
909
|
<line num="36" count="18" type="stmt"/>
|
|
891
910
|
</file>
|
|
911
|
+
<file name="events.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/events.ts">
|
|
912
|
+
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
913
|
+
<line num="1" count="18" type="stmt"/>
|
|
914
|
+
<line num="2" count="18" type="stmt"/>
|
|
915
|
+
<line num="4" count="18" type="stmt"/>
|
|
916
|
+
<line num="6" count="18" type="stmt"/>
|
|
917
|
+
<line num="8" count="18" type="stmt"/>
|
|
918
|
+
</file>
|
|
892
919
|
<file name="license.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/license.ts">
|
|
893
920
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
894
921
|
<line num="1" count="18" type="stmt"/>
|
|
@@ -930,7 +957,7 @@
|
|
|
930
957
|
<line num="37" count="18" type="stmt"/>
|
|
931
958
|
</file>
|
|
932
959
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/users.ts">
|
|
933
|
-
<metrics statements="
|
|
960
|
+
<metrics statements="19" coveredstatements="19" conditionals="2" coveredconditionals="2" methods="7" coveredmethods="7"/>
|
|
934
961
|
<line num="1" count="18" type="stmt"/>
|
|
935
962
|
<line num="2" count="18" type="stmt"/>
|
|
936
963
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -942,13 +969,14 @@
|
|
|
942
969
|
<line num="12" count="18" type="stmt"/>
|
|
943
970
|
<line num="25" count="18" type="stmt"/>
|
|
944
971
|
<line num="33" count="18" type="stmt"/>
|
|
945
|
-
<line num="
|
|
946
|
-
<line num="
|
|
947
|
-
<line num="
|
|
948
|
-
<line num="
|
|
949
|
-
<line num="
|
|
950
|
-
<line num="
|
|
951
|
-
<line num="
|
|
972
|
+
<line num="43" count="18" type="stmt"/>
|
|
973
|
+
<line num="48" count="18" type="stmt"/>
|
|
974
|
+
<line num="49" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
975
|
+
<line num="50" count="11" type="stmt"/>
|
|
976
|
+
<line num="52" count="12" type="stmt"/>
|
|
977
|
+
<line num="58" count="18" type="stmt"/>
|
|
978
|
+
<line num="66" count="18" type="stmt"/>
|
|
979
|
+
<line num="130" count="18" type="stmt"/>
|
|
952
980
|
</file>
|
|
953
981
|
<file name="workspaces.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/workspaces.ts">
|
|
954
982
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
@@ -1207,9 +1235,9 @@
|
|
|
1207
1235
|
</file>
|
|
1208
1236
|
</package>
|
|
1209
1237
|
<package name="src.sdk.users">
|
|
1210
|
-
<metrics statements="
|
|
1238
|
+
<metrics statements="322" coveredstatements="290" conditionals="116" coveredconditionals="96" methods="70" coveredmethods="60"/>
|
|
1211
1239
|
<file name="events.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/users/events.ts">
|
|
1212
|
-
<metrics statements="
|
|
1240
|
+
<metrics statements="70" coveredstatements="68" conditionals="36" coveredconditionals="34" methods="18" coveredmethods="16"/>
|
|
1213
1241
|
<line num="1" count="18" type="stmt"/>
|
|
1214
1242
|
<line num="2" count="18" type="stmt"/>
|
|
1215
1243
|
<line num="5" count="18" type="stmt"/>
|
|
@@ -1244,38 +1272,42 @@
|
|
|
1244
1272
|
<line num="69" count="2" type="stmt"/>
|
|
1245
1273
|
<line num="72" count="11" type="cond" truecount="1" falsecount="0"/>
|
|
1246
1274
|
<line num="73" count="1" type="stmt"/>
|
|
1247
|
-
<line num="76" count="11" type="cond" truecount="
|
|
1248
|
-
<line num="
|
|
1249
|
-
<line num="
|
|
1250
|
-
<line num="
|
|
1251
|
-
<line num="88" count="
|
|
1275
|
+
<line num="76" count="11" type="cond" truecount="0" falsecount="1"/>
|
|
1276
|
+
<line num="77" count="0" type="stmt"/>
|
|
1277
|
+
<line num="80" count="11" type="cond" truecount="1" falsecount="0"/>
|
|
1278
|
+
<line num="85" count="1" type="stmt"/>
|
|
1279
|
+
<line num="88" count="84" type="stmt"/>
|
|
1252
1280
|
<line num="91" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1253
|
-
<line num="92" count="
|
|
1254
|
-
<line num="95" count="95" type="
|
|
1255
|
-
<line num="
|
|
1256
|
-
<line num="99" count="
|
|
1257
|
-
<line num="
|
|
1258
|
-
<line num="
|
|
1281
|
+
<line num="92" count="56" type="stmt"/>
|
|
1282
|
+
<line num="95" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1283
|
+
<line num="96" count="48" type="stmt"/>
|
|
1284
|
+
<line num="99" count="95" type="stmt"/>
|
|
1285
|
+
<line num="102" count="123" type="cond" truecount="2" falsecount="0"/>
|
|
1286
|
+
<line num="103" count="123" type="cond" truecount="2" falsecount="0"/>
|
|
1259
1287
|
<line num="105" count="18" type="stmt"/>
|
|
1260
|
-
<line num="106" count="
|
|
1288
|
+
<line num="106" count="95" type="stmt"/>
|
|
1261
1289
|
<line num="109" count="18" type="stmt"/>
|
|
1262
|
-
<line num="110" count="
|
|
1290
|
+
<line num="110" count="11" type="stmt"/>
|
|
1263
1291
|
<line num="113" count="18" type="stmt"/>
|
|
1264
|
-
<line num="114" count="
|
|
1265
|
-
<line num="
|
|
1266
|
-
<line num="
|
|
1267
|
-
<line num="
|
|
1268
|
-
<line num="
|
|
1269
|
-
<line num="
|
|
1270
|
-
<line num="
|
|
1271
|
-
<line num="
|
|
1272
|
-
<line num="
|
|
1273
|
-
<line num="
|
|
1274
|
-
<line num="
|
|
1275
|
-
<line num="
|
|
1276
|
-
<line num="
|
|
1277
|
-
<line num="
|
|
1278
|
-
<line num="
|
|
1292
|
+
<line num="114" count="95" type="stmt"/>
|
|
1293
|
+
<line num="117" count="18" type="stmt"/>
|
|
1294
|
+
<line num="118" count="11" type="stmt"/>
|
|
1295
|
+
<line num="121" count="18" type="stmt"/>
|
|
1296
|
+
<line num="122" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
1297
|
+
<line num="128" count="18" type="stmt"/>
|
|
1298
|
+
<line num="134" count="190" type="cond" truecount="1" falsecount="0"/>
|
|
1299
|
+
<line num="135" count="84" type="stmt"/>
|
|
1300
|
+
<line num="139" count="106" type="cond" truecount="3" falsecount="0"/>
|
|
1301
|
+
<line num="140" count="2" type="stmt"/>
|
|
1302
|
+
<line num="144" count="104" type="stmt"/>
|
|
1303
|
+
<line num="150" count="18" type="stmt"/>
|
|
1304
|
+
<line num="156" count="22" type="cond" truecount="1" falsecount="0"/>
|
|
1305
|
+
<line num="157" count="5" type="stmt"/>
|
|
1306
|
+
<line num="161" count="17" type="cond" truecount="0" falsecount="1"/>
|
|
1307
|
+
<line num="162" count="0" type="stmt"/>
|
|
1308
|
+
<line num="166" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
1309
|
+
<line num="167" count="14" type="stmt"/>
|
|
1310
|
+
<line num="171" count="3" type="stmt"/>
|
|
1279
1311
|
</file>
|
|
1280
1312
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/users/index.ts">
|
|
1281
1313
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -1287,253 +1319,253 @@
|
|
|
1287
1319
|
<line num="2" count="18" type="stmt"/>
|
|
1288
1320
|
<line num="3" count="18" type="stmt"/>
|
|
1289
1321
|
<line num="18" count="18" type="stmt"/>
|
|
1290
|
-
<line num="34" count="18" type="stmt"/>
|
|
1291
1322
|
<line num="35" count="18" type="stmt"/>
|
|
1292
1323
|
<line num="36" count="18" type="stmt"/>
|
|
1293
1324
|
<line num="37" count="18" type="stmt"/>
|
|
1294
|
-
<line num="
|
|
1295
|
-
<line num="
|
|
1296
|
-
<line num="42" count="
|
|
1325
|
+
<line num="38" count="18" type="stmt"/>
|
|
1326
|
+
<line num="40" count="18" type="stmt"/>
|
|
1327
|
+
<line num="42" count="18" type="stmt"/>
|
|
1297
1328
|
<line num="43" count="1" type="stmt"/>
|
|
1298
|
-
<line num="
|
|
1299
|
-
<line num="
|
|
1300
|
-
<line num="52" count="
|
|
1329
|
+
<line num="44" count="1" type="stmt"/>
|
|
1330
|
+
<line num="49" count="2" type="stmt"/>
|
|
1331
|
+
<line num="52" count="18" type="stmt"/>
|
|
1301
1332
|
<line num="53" count="0" type="stmt"/>
|
|
1302
|
-
<line num="
|
|
1303
|
-
<line num="
|
|
1304
|
-
<line num="
|
|
1305
|
-
<line num="
|
|
1306
|
-
<line num="72" count="0" type="
|
|
1307
|
-
<line num="
|
|
1308
|
-
<line num="
|
|
1309
|
-
<line num="79" count="0" type="
|
|
1333
|
+
<line num="54" count="0" type="stmt"/>
|
|
1334
|
+
<line num="59" count="18" type="cond" truecount="0" falsecount="1"/>
|
|
1335
|
+
<line num="65" count="0" type="stmt"/>
|
|
1336
|
+
<line num="67" count="0" type="stmt"/>
|
|
1337
|
+
<line num="72" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1338
|
+
<line num="73" count="0" type="stmt"/>
|
|
1339
|
+
<line num="77" count="0" type="stmt"/>
|
|
1340
|
+
<line num="79" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1310
1341
|
<line num="80" count="0" type="stmt"/>
|
|
1311
|
-
<line num="81" count="0" type="
|
|
1312
|
-
<line num="82" count="0" type="
|
|
1342
|
+
<line num="81" count="0" type="stmt"/>
|
|
1343
|
+
<line num="82" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1313
1344
|
<line num="83" count="0" type="stmt"/>
|
|
1314
|
-
<line num="
|
|
1345
|
+
<line num="84" count="0" type="stmt"/>
|
|
1315
1346
|
<line num="87" count="0" type="stmt"/>
|
|
1316
|
-
<line num="
|
|
1317
|
-
<line num="
|
|
1318
|
-
<line num="100" count="
|
|
1347
|
+
<line num="88" count="0" type="stmt"/>
|
|
1348
|
+
<line num="90" count="0" type="stmt"/>
|
|
1349
|
+
<line num="100" count="18" type="stmt"/>
|
|
1319
1350
|
<line num="101" count="10" type="stmt"/>
|
|
1320
|
-
<line num="102" count="10" type="
|
|
1321
|
-
<line num="103" count="10" type="
|
|
1322
|
-
<line num="
|
|
1323
|
-
<line num="
|
|
1324
|
-
<line num="
|
|
1351
|
+
<line num="102" count="10" type="stmt"/>
|
|
1352
|
+
<line num="103" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
1353
|
+
<line num="104" count="10" type="stmt"/>
|
|
1354
|
+
<line num="106" count="10" type="stmt"/>
|
|
1355
|
+
<line num="115" count="18" type="stmt"/>
|
|
1325
1356
|
<line num="124" count="95" type="stmt"/>
|
|
1326
|
-
<line num="
|
|
1327
|
-
<line num="128" count="
|
|
1328
|
-
<line num="129" count="
|
|
1329
|
-
<line num="130" count="
|
|
1330
|
-
<line num="131" count="1" type="
|
|
1331
|
-
<line num="132" count="
|
|
1332
|
-
<line num="
|
|
1333
|
-
<line num="
|
|
1334
|
-
<line num="
|
|
1335
|
-
<line num="147" count="
|
|
1336
|
-
<line num="
|
|
1337
|
-
<line num="151" count="
|
|
1338
|
-
<line num="
|
|
1339
|
-
<line num="
|
|
1340
|
-
<line num="
|
|
1341
|
-
<line num="
|
|
1342
|
-
<line num="
|
|
1343
|
-
<line num="
|
|
1344
|
-
<line num="176" count="90" type="
|
|
1345
|
-
<line num="177" count="90" type="
|
|
1346
|
-
<line num="178" count="
|
|
1347
|
-
<line num="
|
|
1348
|
-
<line num="184" count="90" type="
|
|
1349
|
-
<line num="185" count="90" type="
|
|
1350
|
-
<line num="186" count="
|
|
1351
|
-
<line num="
|
|
1352
|
-
<line num="
|
|
1353
|
-
<line num="197" count="
|
|
1354
|
-
<line num="
|
|
1355
|
-
<line num="200" count="
|
|
1356
|
-
<line num="
|
|
1357
|
+
<line num="125" count="95" type="stmt"/>
|
|
1358
|
+
<line num="128" count="95" type="cond" truecount="2" falsecount="0"/>
|
|
1359
|
+
<line num="129" count="93" type="cond" truecount="1" falsecount="1"/>
|
|
1360
|
+
<line num="130" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1361
|
+
<line num="131" count="1" type="stmt"/>
|
|
1362
|
+
<line num="132" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1363
|
+
<line num="133" count="0" type="stmt"/>
|
|
1364
|
+
<line num="136" count="95" type="cond" truecount="2" falsecount="0"/>
|
|
1365
|
+
<line num="138" count="95" type="stmt"/>
|
|
1366
|
+
<line num="147" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1367
|
+
<line num="148" count="1" type="stmt"/>
|
|
1368
|
+
<line num="151" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1369
|
+
<line num="152" count="84" type="stmt"/>
|
|
1370
|
+
<line num="155" count="95" type="stmt"/>
|
|
1371
|
+
<line num="159" count="18" type="stmt"/>
|
|
1372
|
+
<line num="164" count="90" type="stmt"/>
|
|
1373
|
+
<line num="171" count="90" type="stmt"/>
|
|
1374
|
+
<line num="174" count="18" type="stmt"/>
|
|
1375
|
+
<line num="176" count="90" type="cond" truecount="1" falsecount="0"/>
|
|
1376
|
+
<line num="177" count="90" type="stmt"/>
|
|
1377
|
+
<line num="178" count="90" type="cond" truecount="2" falsecount="1"/>
|
|
1378
|
+
<line num="179" count="0" type="stmt"/>
|
|
1379
|
+
<line num="184" count="90" type="cond" truecount="3" falsecount="0"/>
|
|
1380
|
+
<line num="185" count="90" type="stmt"/>
|
|
1381
|
+
<line num="186" count="90" type="cond" truecount="4" falsecount="0"/>
|
|
1382
|
+
<line num="187" count="1" type="stmt"/>
|
|
1383
|
+
<line num="192" count="96" type="stmt"/>
|
|
1384
|
+
<line num="197" count="94" type="cond" truecount="1" falsecount="0"/>
|
|
1385
|
+
<line num="198" count="87" type="stmt"/>
|
|
1386
|
+
<line num="200" count="94" type="cond" truecount="1" falsecount="0"/>
|
|
1387
|
+
<line num="201" count="87" type="stmt"/>
|
|
1357
1388
|
<line num="203" count="94" type="stmt"/>
|
|
1358
|
-
<line num="
|
|
1359
|
-
<line num="
|
|
1360
|
-
<line num="208" count="
|
|
1361
|
-
<line num="
|
|
1362
|
-
<line num="
|
|
1389
|
+
<line num="204" count="94" type="stmt"/>
|
|
1390
|
+
<line num="206" count="94" type="cond" truecount="1" falsecount="0"/>
|
|
1391
|
+
<line num="208" count="94" type="cond" truecount="1" falsecount="2"/>
|
|
1392
|
+
<line num="209" count="0" type="stmt"/>
|
|
1393
|
+
<line num="213" count="94" type="cond" truecount="1" falsecount="0"/>
|
|
1363
1394
|
<line num="215" count="13" type="stmt"/>
|
|
1364
|
-
<line num="216" count="
|
|
1365
|
-
<line num="217" count="
|
|
1366
|
-
<line num="
|
|
1367
|
-
<line num="
|
|
1368
|
-
<line num="
|
|
1369
|
-
<line num="
|
|
1370
|
-
<line num="
|
|
1371
|
-
<line num="232" count="82" type="
|
|
1372
|
-
<line num="233" count="
|
|
1373
|
-
<line num="
|
|
1374
|
-
<line num="
|
|
1375
|
-
<line num="
|
|
1376
|
-
<line num="242" count="
|
|
1395
|
+
<line num="216" count="13" type="stmt"/>
|
|
1396
|
+
<line num="217" count="12" type="cond" truecount="3" falsecount="0"/>
|
|
1397
|
+
<line num="218" count="1" type="stmt"/>
|
|
1398
|
+
<line num="220" count="11" type="stmt"/>
|
|
1399
|
+
<line num="222" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1400
|
+
<line num="225" count="1" type="stmt"/>
|
|
1401
|
+
<line num="230" count="93" type="cond" truecount="3" falsecount="0"/>
|
|
1402
|
+
<line num="232" count="82" type="stmt"/>
|
|
1403
|
+
<line num="233" count="82" type="cond" truecount="3" falsecount="0"/>
|
|
1404
|
+
<line num="234" count="3" type="stmt"/>
|
|
1405
|
+
<line num="238" count="90" type="stmt"/>
|
|
1406
|
+
<line num="240" count="89" type="stmt"/>
|
|
1407
|
+
<line num="242" count="89" type="cond" truecount="3" falsecount="0"/>
|
|
1377
1408
|
<line num="243" count="1" type="stmt"/>
|
|
1378
1409
|
<line num="244" count="1" type="stmt"/>
|
|
1379
|
-
<line num="
|
|
1380
|
-
<line num="250" count="89" type="
|
|
1381
|
-
<line num="251" count="
|
|
1382
|
-
<line num="
|
|
1383
|
-
<line num="254" count="
|
|
1410
|
+
<line num="245" count="1" type="stmt"/>
|
|
1411
|
+
<line num="250" count="89" type="stmt"/>
|
|
1412
|
+
<line num="251" count="89" type="cond" truecount="1" falsecount="0"/>
|
|
1413
|
+
<line num="252" count="77" type="stmt"/>
|
|
1414
|
+
<line num="254" count="77" type="cond" truecount="0" falsecount="1"/>
|
|
1384
1415
|
<line num="255" count="0" type="stmt"/>
|
|
1385
|
-
<line num="
|
|
1386
|
-
<line num="
|
|
1416
|
+
<line num="256" count="0" type="stmt"/>
|
|
1417
|
+
<line num="261" count="89" type="stmt"/>
|
|
1387
1418
|
<line num="263" count="89" type="stmt"/>
|
|
1388
|
-
<line num="
|
|
1419
|
+
<line num="264" count="89" type="stmt"/>
|
|
1389
1420
|
<line num="266" count="89" type="stmt"/>
|
|
1390
1421
|
<line num="267" count="89" type="stmt"/>
|
|
1391
|
-
<line num="
|
|
1422
|
+
<line num="268" count="89" type="stmt"/>
|
|
1392
1423
|
<line num="271" count="89" type="stmt"/>
|
|
1393
1424
|
<line num="273" count="89" type="stmt"/>
|
|
1394
|
-
<line num="
|
|
1395
|
-
<line num="
|
|
1425
|
+
<line num="275" count="89" type="stmt"/>
|
|
1426
|
+
<line num="281" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1396
1427
|
<line num="282" count="0" type="stmt"/>
|
|
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="
|
|
1428
|
+
<line num="284" count="0" type="stmt"/>
|
|
1429
|
+
<line num="289" count="18" type="stmt"/>
|
|
1430
|
+
<line num="294" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1431
|
+
<line num="295" count="95" type="stmt"/>
|
|
1432
|
+
<line num="296" count="42" type="stmt"/>
|
|
1433
|
+
<line num="300" count="95" type="stmt"/>
|
|
1434
|
+
<line num="304" count="18" type="stmt"/>
|
|
1435
|
+
<line num="305" count="16" type="stmt"/>
|
|
1436
|
+
<line num="306" count="11" type="stmt"/>
|
|
1437
|
+
<line num="311" count="11" type="stmt"/>
|
|
1438
|
+
<line num="315" count="11" type="stmt"/>
|
|
1439
|
+
<line num="323" count="18" type="stmt"/>
|
|
1440
|
+
<line num="326" count="16" type="stmt"/>
|
|
1441
|
+
<line num="327" count="11" type="stmt"/>
|
|
1442
|
+
<line num="332" count="11" type="stmt"/>
|
|
1443
|
+
<line num="335" count="11" type="stmt"/>
|
|
1444
|
+
<line num="342" count="18" type="stmt"/>
|
|
1445
|
+
<line num="345" count="16" type="stmt"/>
|
|
1446
|
+
<line num="346" count="11" type="stmt"/>
|
|
1447
|
+
<line num="351" count="11" type="stmt"/>
|
|
1448
|
+
<line num="355" count="11" type="stmt"/>
|
|
1449
|
+
<line num="369" count="18" type="stmt"/>
|
|
1419
1450
|
<line num="370" count="11" type="stmt"/>
|
|
1420
|
-
<line num="
|
|
1451
|
+
<line num="372" count="11" type="stmt"/>
|
|
1421
1452
|
<line num="373" count="11" type="stmt"/>
|
|
1422
|
-
<line num="
|
|
1453
|
+
<line num="375" count="11" type="stmt"/>
|
|
1423
1454
|
<line num="376" count="11" type="stmt"/>
|
|
1424
|
-
<line num="
|
|
1455
|
+
<line num="378" count="11" type="stmt"/>
|
|
1425
1456
|
<line num="379" count="11" type="stmt"/>
|
|
1426
|
-
<line num="
|
|
1427
|
-
<line num="
|
|
1457
|
+
<line num="381" count="11" type="stmt"/>
|
|
1458
|
+
<line num="384" count="18" type="stmt"/>
|
|
1428
1459
|
<line num="388" count="6" type="stmt"/>
|
|
1429
|
-
<line num="
|
|
1430
|
-
<line num="391" count="
|
|
1431
|
-
<line num="
|
|
1432
|
-
<line num="
|
|
1460
|
+
<line num="390" count="6" type="stmt"/>
|
|
1461
|
+
<line num="391" count="6" type="stmt"/>
|
|
1462
|
+
<line num="393" count="10" type="stmt"/>
|
|
1463
|
+
<line num="394" count="6" type="stmt"/>
|
|
1433
1464
|
<line num="395" count="6" type="stmt"/>
|
|
1434
|
-
<line num="
|
|
1435
|
-
<line num="398" count="
|
|
1436
|
-
<line num="
|
|
1437
|
-
<line num="
|
|
1438
|
-
<line num="408" count="
|
|
1439
|
-
<line num="
|
|
1440
|
-
<line num="
|
|
1441
|
-
<line num="
|
|
1442
|
-
<line num="
|
|
1443
|
-
<line num="
|
|
1444
|
-
<line num="
|
|
1445
|
-
<line num="
|
|
1446
|
-
<line num="434" count="6" type="stmt"/>
|
|
1465
|
+
<line num="397" count="6" type="stmt"/>
|
|
1466
|
+
<line num="398" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
1467
|
+
<line num="400" count="6" type="stmt"/>
|
|
1468
|
+
<line num="404" count="4" type="stmt"/>
|
|
1469
|
+
<line num="408" count="4" type="stmt"/>
|
|
1470
|
+
<line num="410" count="6" type="stmt"/>
|
|
1471
|
+
<line num="411" count="6" type="stmt"/>
|
|
1472
|
+
<line num="415" count="6" type="stmt"/>
|
|
1473
|
+
<line num="416" count="6" type="stmt"/>
|
|
1474
|
+
<line num="428" count="6" type="stmt"/>
|
|
1475
|
+
<line num="429" count="6" type="stmt"/>
|
|
1476
|
+
<line num="432" count="6" type="stmt"/>
|
|
1447
1477
|
<line num="435" count="6" type="stmt"/>
|
|
1448
|
-
<line num="
|
|
1449
|
-
<line num="
|
|
1450
|
-
<line num="
|
|
1451
|
-
<line num="
|
|
1452
|
-
<line num="448" count="6" type="
|
|
1478
|
+
<line num="436" count="6" type="stmt"/>
|
|
1479
|
+
<line num="437" count="6" type="stmt"/>
|
|
1480
|
+
<line num="440" count="6" type="stmt"/>
|
|
1481
|
+
<line num="441" count="6" type="stmt"/>
|
|
1482
|
+
<line num="448" count="6" type="cond" truecount="3" falsecount="0"/>
|
|
1453
1483
|
<line num="449" count="6" type="stmt"/>
|
|
1454
|
-
<line num="450" count="
|
|
1455
|
-
<line num="
|
|
1456
|
-
<line num="
|
|
1457
|
-
<line num="
|
|
1458
|
-
<line num="
|
|
1459
|
-
<line num="
|
|
1460
|
-
<line num="469" count="2" type="
|
|
1461
|
-
<line num="470" count="2" type="
|
|
1462
|
-
<line num="471" count="
|
|
1463
|
-
<line num="
|
|
1464
|
-
<line num="
|
|
1465
|
-
<line num="476" count="
|
|
1466
|
-
<line num="
|
|
1467
|
-
<line num="
|
|
1484
|
+
<line num="450" count="6" type="stmt"/>
|
|
1485
|
+
<line num="451" count="6" type="stmt"/>
|
|
1486
|
+
<line num="452" count="0" type="stmt"/>
|
|
1487
|
+
<line num="454" count="6" type="stmt"/>
|
|
1488
|
+
<line num="457" count="6" type="stmt"/>
|
|
1489
|
+
<line num="466" count="18" type="stmt"/>
|
|
1490
|
+
<line num="469" count="2" type="cond" truecount="3" falsecount="0"/>
|
|
1491
|
+
<line num="470" count="2" type="stmt"/>
|
|
1492
|
+
<line num="471" count="2" type="stmt"/>
|
|
1493
|
+
<line num="472" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
1494
|
+
<line num="473" count="0" type="stmt"/>
|
|
1495
|
+
<line num="476" count="2" type="stmt"/>
|
|
1496
|
+
<line num="477" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1497
|
+
<line num="478" count="1" type="stmt"/>
|
|
1498
|
+
<line num="483" count="18" type="stmt"/>
|
|
1468
1499
|
<line num="486" count="2" type="stmt"/>
|
|
1469
|
-
<line num="
|
|
1470
|
-
<line num="
|
|
1471
|
-
<line num="
|
|
1500
|
+
<line num="488" count="2" type="stmt"/>
|
|
1501
|
+
<line num="494" count="2" type="stmt"/>
|
|
1502
|
+
<line num="495" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1472
1503
|
<line num="496" count="1" type="stmt"/>
|
|
1473
|
-
<line num="
|
|
1474
|
-
<line num="
|
|
1475
|
-
<line num="510" count="
|
|
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="535" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1504
|
+
<line num="498" count="1" type="stmt"/>
|
|
1505
|
+
<line num="506" count="2" type="stmt"/>
|
|
1506
|
+
<line num="510" count="2" type="stmt"/>
|
|
1507
|
+
<line num="512" count="3" type="stmt"/>
|
|
1508
|
+
<line num="517" count="3" type="stmt"/>
|
|
1509
|
+
<line num="521" count="2" type="stmt"/>
|
|
1510
|
+
<line num="522" count="2" type="stmt"/>
|
|
1511
|
+
<line num="523" count="3" type="stmt"/>
|
|
1512
|
+
<line num="528" count="2" type="stmt"/>
|
|
1513
|
+
<line num="529" count="2" type="stmt"/>
|
|
1514
|
+
<line num="530" count="3" type="stmt"/>
|
|
1515
|
+
<line num="531" count="3" type="stmt"/>
|
|
1516
|
+
<line num="535" count="2" type="stmt"/>
|
|
1487
1517
|
<line num="536" count="3" type="stmt"/>
|
|
1488
|
-
<line num="
|
|
1489
|
-
<line num="
|
|
1490
|
-
<line num="
|
|
1491
|
-
<line num="
|
|
1492
|
-
<line num="551" count="
|
|
1518
|
+
<line num="537" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1519
|
+
<line num="538" count="3" type="stmt"/>
|
|
1520
|
+
<line num="540" count="0" type="stmt"/>
|
|
1521
|
+
<line num="548" count="2" type="stmt"/>
|
|
1522
|
+
<line num="551" count="18" type="stmt"/>
|
|
1493
1523
|
<line num="552" count="4" type="stmt"/>
|
|
1494
|
-
<line num="
|
|
1495
|
-
<line num="
|
|
1496
|
-
<line num="
|
|
1497
|
-
<line num="558" count="4" type="
|
|
1498
|
-
<line num="559" count="
|
|
1499
|
-
<line num="560" count="
|
|
1500
|
-
<line num="
|
|
1501
|
-
<line num="
|
|
1524
|
+
<line num="553" count="4" type="stmt"/>
|
|
1525
|
+
<line num="554" count="4" type="stmt"/>
|
|
1526
|
+
<line num="556" count="4" type="cond" truecount="3" falsecount="0"/>
|
|
1527
|
+
<line num="558" count="4" type="stmt"/>
|
|
1528
|
+
<line num="559" count="4" type="stmt"/>
|
|
1529
|
+
<line num="560" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
1530
|
+
<line num="561" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1531
|
+
<line num="562" count="0" type="stmt"/>
|
|
1532
|
+
<line num="564" count="1" type="stmt"/>
|
|
1502
1533
|
<line num="569" count="3" type="stmt"/>
|
|
1503
1534
|
<line num="571" count="3" type="stmt"/>
|
|
1504
|
-
<line num="572" count="3" type="stmt"/>
|
|
1505
1535
|
<line num="573" count="3" type="stmt"/>
|
|
1536
|
+
<line num="574" count="3" type="stmt"/>
|
|
1506
1537
|
<line num="575" count="3" type="stmt"/>
|
|
1507
|
-
<line num="
|
|
1508
|
-
<line num="
|
|
1509
|
-
<line num="580" count="3" type="stmt"/>
|
|
1538
|
+
<line num="577" count="3" type="stmt"/>
|
|
1539
|
+
<line num="580" count="18" type="stmt"/>
|
|
1510
1540
|
<line num="581" count="3" type="stmt"/>
|
|
1511
1541
|
<line num="582" count="3" type="stmt"/>
|
|
1512
1542
|
<line num="583" count="3" type="stmt"/>
|
|
1543
|
+
<line num="584" count="3" type="stmt"/>
|
|
1513
1544
|
<line num="585" count="3" type="stmt"/>
|
|
1514
|
-
<line num="
|
|
1515
|
-
<line num="
|
|
1516
|
-
<line num="
|
|
1517
|
-
<line num="
|
|
1518
|
-
<line num="
|
|
1519
|
-
<line num="
|
|
1520
|
-
<line num="
|
|
1521
|
-
<line num="604" count="
|
|
1522
|
-
<line num="
|
|
1523
|
-
<line num="
|
|
1524
|
-
<line num="
|
|
1525
|
-
<line num="
|
|
1526
|
-
<line num="
|
|
1527
|
-
<line num="
|
|
1528
|
-
<line num="
|
|
1529
|
-
<line num="618" count="
|
|
1530
|
-
<line num="
|
|
1531
|
-
<line num="
|
|
1532
|
-
<line num="624" count="4" type="stmt"/>
|
|
1545
|
+
<line num="587" count="3" type="stmt"/>
|
|
1546
|
+
<line num="590" count="18" type="stmt"/>
|
|
1547
|
+
<line num="593" count="5" type="stmt"/>
|
|
1548
|
+
<line num="598" count="6" type="stmt"/>
|
|
1549
|
+
<line num="599" count="5" type="stmt"/>
|
|
1550
|
+
<line num="602" count="5" type="stmt"/>
|
|
1551
|
+
<line num="603" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
1552
|
+
<line num="604" count="2" type="stmt"/>
|
|
1553
|
+
<line num="606" count="4" type="stmt"/>
|
|
1554
|
+
<line num="610" count="5" type="stmt"/>
|
|
1555
|
+
<line num="613" count="5" type="stmt"/>
|
|
1556
|
+
<line num="614" count="5" type="stmt"/>
|
|
1557
|
+
<line num="615" count="4" type="stmt"/>
|
|
1558
|
+
<line num="616" count="4" type="stmt"/>
|
|
1559
|
+
<line num="617" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
1560
|
+
<line num="618" count="2" type="stmt"/>
|
|
1561
|
+
<line num="620" count="4" type="stmt"/>
|
|
1562
|
+
<line num="621" count="4" type="stmt"/>
|
|
1533
1563
|
<line num="625" count="4" type="stmt"/>
|
|
1534
|
-
<line num="
|
|
1535
|
-
<line num="
|
|
1536
|
-
<line num="
|
|
1564
|
+
<line num="626" count="4" type="stmt"/>
|
|
1565
|
+
<line num="627" count="4" type="stmt"/>
|
|
1566
|
+
<line num="629" count="0" type="stmt"/>
|
|
1567
|
+
<line num="630" count="0" type="stmt"/>
|
|
1568
|
+
<line num="637" count="5" type="stmt"/>
|
|
1537
1569
|
</file>
|
|
1538
1570
|
</package>
|
|
1539
1571
|
<package name="src.tests">
|
|
@@ -1883,29 +1915,29 @@
|
|
|
1883
1915
|
<line num="42" count="2" type="stmt"/>
|
|
1884
1916
|
<line num="45" count="18" type="stmt"/>
|
|
1885
1917
|
<line num="46" count="1" type="stmt"/>
|
|
1886
|
-
<line num="
|
|
1887
|
-
<line num="57" count="2" type="stmt"/>
|
|
1918
|
+
<line num="57" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
1888
1919
|
<line num="58" count="2" type="stmt"/>
|
|
1889
1920
|
<line num="59" count="2" type="stmt"/>
|
|
1890
|
-
<line num="
|
|
1891
|
-
<line num="70" count="
|
|
1921
|
+
<line num="60" count="2" type="stmt"/>
|
|
1922
|
+
<line num="70" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
1892
1923
|
<line num="71" count="6" type="stmt"/>
|
|
1893
|
-
<line num="
|
|
1894
|
-
<line num="
|
|
1895
|
-
<line num="82" count="
|
|
1924
|
+
<line num="72" count="6" type="stmt"/>
|
|
1925
|
+
<line num="79" count="6" type="stmt"/>
|
|
1926
|
+
<line num="82" count="18" type="stmt"/>
|
|
1896
1927
|
<line num="83" count="3" type="stmt"/>
|
|
1897
|
-
<line num="
|
|
1898
|
-
<line num="
|
|
1899
|
-
<line num="
|
|
1900
|
-
<line num="99" count="6" type="
|
|
1901
|
-
<line num="
|
|
1902
|
-
<line num="
|
|
1903
|
-
<line num="
|
|
1904
|
-
<line num="119" count="
|
|
1905
|
-
<line num="
|
|
1906
|
-
<line num="128" count="
|
|
1907
|
-
<line num="
|
|
1908
|
-
<line num="136" count="
|
|
1928
|
+
<line num="84" count="3" type="stmt"/>
|
|
1929
|
+
<line num="90" count="3" type="stmt"/>
|
|
1930
|
+
<line num="95" count="18" type="stmt"/>
|
|
1931
|
+
<line num="99" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
1932
|
+
<line num="100" count="6" type="stmt"/>
|
|
1933
|
+
<line num="106" count="6" type="stmt"/>
|
|
1934
|
+
<line num="113" count="6" type="stmt"/>
|
|
1935
|
+
<line num="119" count="18" type="stmt"/>
|
|
1936
|
+
<line num="120" count="23" type="stmt"/>
|
|
1937
|
+
<line num="128" count="18" type="stmt"/>
|
|
1938
|
+
<line num="129" count="5" type="stmt"/>
|
|
1939
|
+
<line num="136" count="18" type="stmt"/>
|
|
1940
|
+
<line num="137" count="9" type="stmt"/>
|
|
1909
1941
|
</file>
|
|
1910
1942
|
</package>
|
|
1911
1943
|
<package name="src.tests.mocks">
|
|
@@ -1976,28 +2008,30 @@
|
|
|
1976
2008
|
</file>
|
|
1977
2009
|
</package>
|
|
1978
2010
|
<package name="src.utilities">
|
|
1979
|
-
<metrics statements="
|
|
2011
|
+
<metrics statements="161" coveredstatements="130" conditionals="74" coveredconditionals="45" methods="32" coveredmethods="30"/>
|
|
1980
2012
|
<file name="appService.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/appService.ts">
|
|
1981
|
-
<metrics statements="
|
|
2013
|
+
<metrics statements="21" coveredstatements="10" conditionals="6" coveredconditionals="2" methods="2" coveredmethods="2"/>
|
|
1982
2014
|
<line num="1" count="18" type="stmt"/>
|
|
1983
2015
|
<line num="2" count="18" type="stmt"/>
|
|
1984
2016
|
<line num="3" count="18" type="stmt"/>
|
|
1985
2017
|
<line num="4" count="18" type="stmt"/>
|
|
1986
|
-
<line num="
|
|
1987
|
-
<line num="
|
|
1988
|
-
<line num="10" count="0" type="stmt"/>
|
|
2018
|
+
<line num="8" count="101" type="cond" truecount="1" falsecount="0"/>
|
|
2019
|
+
<line num="9" count="101" type="stmt"/>
|
|
1989
2020
|
<line num="11" count="0" type="stmt"/>
|
|
1990
|
-
<line num="12" count="0" type="
|
|
1991
|
-
<line num="13" count="0" type="
|
|
1992
|
-
<line num="
|
|
1993
|
-
<line num="16" count="0" type="
|
|
2021
|
+
<line num="12" count="0" type="stmt"/>
|
|
2022
|
+
<line num="13" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
2023
|
+
<line num="14" count="0" type="stmt"/>
|
|
2024
|
+
<line num="16" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1994
2025
|
<line num="17" count="0" type="stmt"/>
|
|
1995
|
-
<line num="
|
|
2026
|
+
<line num="18" count="0" type="stmt"/>
|
|
1996
2027
|
<line num="20" count="0" type="stmt"/>
|
|
1997
|
-
<line num="23" count="
|
|
1998
|
-
<line num="
|
|
1999
|
-
<line num="
|
|
2000
|
-
<line num="
|
|
2028
|
+
<line num="23" count="0" type="stmt"/>
|
|
2029
|
+
<line num="25" count="0" type="stmt"/>
|
|
2030
|
+
<line num="28" count="101" type="stmt"/>
|
|
2031
|
+
<line num="29" count="101" type="stmt"/>
|
|
2032
|
+
<line num="33" count="101" type="stmt"/>
|
|
2033
|
+
<line num="38" count="101" type="cond" truecount="1" falsecount="2"/>
|
|
2034
|
+
<line num="39" count="0" type="stmt"/>
|
|
2001
2035
|
</file>
|
|
2002
2036
|
<file name="email.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/email.ts">
|
|
2003
2037
|
<metrics statements="72" coveredstatements="60" conditionals="45" coveredconditionals="27" methods="10" coveredmethods="10"/>
|