@budibase/server 1.0.151-alpha.2 → 1.0.153
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/builder/assets/{index.8716cb1f.js → index.01cadea9.js} +163 -163
- package/builder/index.html +1 -1
- package/coverage/clover.xml +157 -136
- package/coverage/coverage-final.json +5 -5
- package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
- package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +1 -1
- package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +1 -1
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query/index.html +1 -1
- package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
- package/coverage/lcov-report/api/controllers/user.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +3 -3
- package/coverage/lcov-report/api/controllers/view/index.html +4 -4
- package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
- package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
- package/coverage/lcov-report/api/index.html +1 -1
- package/coverage/lcov-report/api/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
- package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/routes/auth.js.html +1 -1
- package/coverage/lcov-report/api/routes/automation.js.html +1 -1
- package/coverage/lcov-report/api/routes/backup.js.html +1 -1
- package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
- package/coverage/lcov-report/api/routes/component.js.html +1 -1
- package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
- package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
- package/coverage/lcov-report/api/routes/dev.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +1 -1
- package/coverage/lcov-report/api/routes/integration.js.html +1 -1
- package/coverage/lcov-report/api/routes/layout.js.html +1 -1
- package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
- package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
- package/coverage/lcov-report/api/routes/permission.js.html +1 -1
- package/coverage/lcov-report/api/routes/query.js.html +1 -1
- package/coverage/lcov-report/api/routes/role.js.html +1 -1
- package/coverage/lcov-report/api/routes/routing.js.html +1 -1
- package/coverage/lcov-report/api/routes/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.js.html +1 -1
- package/coverage/lcov-report/api/routes/table.js.html +1 -1
- package/coverage/lcov-report/api/routes/templates.js.html +1 -1
- package/coverage/lcov-report/api/routes/user.js.html +1 -1
- package/coverage/lcov-report/api/routes/utils/index.html +1 -1
- package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
- package/coverage/lcov-report/api/routes/view.js.html +1 -1
- package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/actions.js.html +1 -1
- package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
- package/coverage/lcov-report/automations/bullboard.js.html +1 -1
- package/coverage/lcov-report/automations/index.html +1 -1
- package/coverage/lcov-report/automations/index.js.html +1 -1
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +1 -1
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
- package/coverage/lcov-report/automations/steps/queryRows.js.html +2 -5
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/triggers.js.html +1 -1
- package/coverage/lcov-report/constants/index.html +5 -5
- package/coverage/lcov-report/constants/index.js.html +19 -4
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +1 -1
- package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
- package/coverage/lcov-report/db/index.html +1 -1
- package/coverage/lcov-report/db/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
- package/coverage/lcov-report/db/newid.js.html +1 -1
- package/coverage/lcov-report/db/utils.js.html +1 -1
- package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
- package/coverage/lcov-report/events/index.html +1 -1
- package/coverage/lcov-report/events/index.js.html +1 -1
- package/coverage/lcov-report/events/utils.js.html +1 -1
- package/coverage/lcov-report/index.html +23 -23
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
- package/coverage/lcov-report/middleware/builder.js.html +1 -1
- package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
- package/coverage/lcov-report/middleware/index.html +1 -1
- package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
- package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
- package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/utils.js.html +1 -1
- package/coverage/lcov-report/threads/automation.js.html +117 -63
- package/coverage/lcov-report/threads/index.html +19 -19
- package/coverage/lcov-report/threads/query.js.html +1 -1
- package/coverage/lcov-report/threads/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
- package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
- package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
- package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
- package/coverage/lcov-report/utilities/global.js.html +1 -1
- package/coverage/lcov-report/utilities/index.html +1 -1
- package/coverage/lcov-report/utilities/index.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
- package/coverage/lcov-report/utilities/security.js.html +1 -1
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/rows.js.html +8 -8
- package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
- package/coverage/lcov.info +261 -228
- package/dist/api/controllers/row/index.js +12 -17
- package/dist/api/controllers/view/exporters.js +1 -1
- package/dist/automations/steps/queryRows.js +0 -1
- package/dist/constants/index.js +4 -0
- package/dist/integrations/base/sql.js +27 -1
- package/dist/package.json +6 -5
- package/dist/threads/automation.js +46 -21
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +7 -6
- package/src/api/controllers/row/index.ts +19 -15
- package/src/api/controllers/view/exporters.js +1 -1
- package/src/api/routes/tests/row.spec.js +87 -5
- package/src/automations/steps/queryRows.js +0 -1
- package/src/constants/index.js +5 -0
- package/src/integrations/base/sql.ts +28 -1
- package/src/threads/automation.js +49 -31
package/builder/index.html
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
|
|
11
11
|
rel="stylesheet"
|
|
12
12
|
/>
|
|
13
|
-
<script type="module" crossorigin src="/builder/assets/index.
|
|
13
|
+
<script type="module" crossorigin src="/builder/assets/index.01cadea9.js"></script>
|
|
14
14
|
<link rel="modulepreload" href="/builder/assets/vendor.5240f480.js">
|
|
15
15
|
<link rel="stylesheet" href="/builder/assets/vendor.5e1fe644.css">
|
|
16
16
|
<link rel="stylesheet" href="/builder/assets/index.bb5e3dfd.css">
|
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1652269717424" clover="3.2.0">
|
|
3
|
+
<project timestamp="1652269717424" name="All files">
|
|
4
|
+
<metrics statements="4151" coveredstatements="2973" conditionals="1704" coveredconditionals="872" methods="611" coveredmethods="427" elements="6466" coveredelements="4272" complexity="0" loc="4151" ncloc="4151" packages="23" files="131" classes="131"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="33" coveredstatements="31" conditionals="5" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -1917,9 +1917,9 @@
|
|
|
1917
1917
|
</file>
|
|
1918
1918
|
</package>
|
|
1919
1919
|
<package name="api.controllers.view">
|
|
1920
|
-
<metrics statements="193" coveredstatements="143" conditionals="
|
|
1920
|
+
<metrics statements="193" coveredstatements="143" conditionals="83" coveredconditionals="53" methods="25" coveredmethods="18"/>
|
|
1921
1921
|
<file name="exporters.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/exporters.js">
|
|
1922
|
-
<metrics statements="11" coveredstatements="11" conditionals="
|
|
1922
|
+
<metrics statements="11" coveredstatements="11" conditionals="2" coveredconditionals="1" methods="4" coveredmethods="4"/>
|
|
1923
1923
|
<line num="1" count="41" type="stmt"/>
|
|
1924
1924
|
<line num="2" count="2" type="stmt"/>
|
|
1925
1925
|
<line num="4" count="1" type="stmt"/>
|
|
@@ -2764,21 +2764,21 @@
|
|
|
2764
2764
|
<line num="7" count="41" type="stmt"/>
|
|
2765
2765
|
<line num="12" count="41" type="stmt"/>
|
|
2766
2766
|
<line num="17" count="41" type="stmt"/>
|
|
2767
|
-
<line num="
|
|
2767
|
+
<line num="75" count="1" type="stmt"/>
|
|
2768
|
+
<line num="80" count="1" type="stmt"/>
|
|
2768
2769
|
<line num="81" count="1" type="stmt"/>
|
|
2769
|
-
<line num="
|
|
2770
|
-
<line num="85" count="
|
|
2770
|
+
<line num="84" count="41" type="stmt"/>
|
|
2771
|
+
<line num="85" count="1" type="stmt"/>
|
|
2771
2772
|
<line num="86" count="1" type="stmt"/>
|
|
2772
2773
|
<line num="87" count="1" type="stmt"/>
|
|
2773
|
-
<line num="88" count="1" type="
|
|
2774
|
-
<line num="89" count="1" type="
|
|
2774
|
+
<line num="88" count="1" type="cond" truecount="5" falsecount="1"/>
|
|
2775
|
+
<line num="89" count="1" type="stmt"/>
|
|
2775
2776
|
<line num="90" count="1" type="stmt"/>
|
|
2776
|
-
<line num="
|
|
2777
|
-
<line num="
|
|
2777
|
+
<line num="93" count="1" type="stmt"/>
|
|
2778
|
+
<line num="105" count="1" type="stmt"/>
|
|
2778
2779
|
<line num="106" count="1" type="stmt"/>
|
|
2779
2780
|
<line num="107" count="1" type="stmt"/>
|
|
2780
|
-
<line num="
|
|
2781
|
-
<line num="113" count="0" type="stmt"/>
|
|
2781
|
+
<line num="112" count="0" type="stmt"/>
|
|
2782
2782
|
</file>
|
|
2783
2783
|
<file name="sendSmtpEmail.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/sendSmtpEmail.js">
|
|
2784
2784
|
<metrics statements="11" coveredstatements="4" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
@@ -2903,9 +2903,9 @@
|
|
|
2903
2903
|
</file>
|
|
2904
2904
|
</package>
|
|
2905
2905
|
<package name="constants">
|
|
2906
|
-
<metrics statements="
|
|
2906
|
+
<metrics statements="36" coveredstatements="36" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
|
|
2907
2907
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/index.js">
|
|
2908
|
-
<metrics statements="
|
|
2908
|
+
<metrics statements="29" coveredstatements="29" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
2909
2909
|
<line num="1" count="48" type="stmt"/>
|
|
2910
2910
|
<line num="2" count="48" type="stmt"/>
|
|
2911
2911
|
<line num="3" count="48" type="stmt"/>
|
|
@@ -2933,7 +2933,8 @@
|
|
|
2933
2933
|
<line num="196" count="48" type="stmt"/>
|
|
2934
2934
|
<line num="201" count="48" type="stmt"/>
|
|
2935
2935
|
<line num="205" count="48" type="stmt"/>
|
|
2936
|
-
<line num="
|
|
2936
|
+
<line num="211" count="48" type="stmt"/>
|
|
2937
|
+
<line num="217" count="48" type="stmt"/>
|
|
2937
2938
|
</file>
|
|
2938
2939
|
<file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
|
|
2939
2940
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -3670,9 +3671,9 @@
|
|
|
3670
3671
|
</file>
|
|
3671
3672
|
</package>
|
|
3672
3673
|
<package name="threads">
|
|
3673
|
-
<metrics statements="
|
|
3674
|
+
<metrics statements="299" coveredstatements="204" conditionals="133" coveredconditionals="64" methods="33" coveredmethods="27"/>
|
|
3674
3675
|
<file name="automation.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/automation.js">
|
|
3675
|
-
<metrics statements="
|
|
3676
|
+
<metrics statements="163" coveredstatements="82" conditionals="75" coveredconditionals="20" methods="13" coveredmethods="9"/>
|
|
3676
3677
|
<line num="1" count="3" type="stmt"/>
|
|
3677
3678
|
<line num="2" count="3" type="stmt"/>
|
|
3678
3679
|
<line num="3" count="3" type="stmt"/>
|
|
@@ -3690,132 +3691,152 @@
|
|
|
3690
3691
|
<line num="16" count="3" type="stmt"/>
|
|
3691
3692
|
<line num="17" count="3" type="stmt"/>
|
|
3692
3693
|
<line num="18" count="3" type="stmt"/>
|
|
3693
|
-
<line num="
|
|
3694
|
-
<line num="
|
|
3695
|
-
<line num="
|
|
3696
|
-
<line num="
|
|
3697
|
-
<line num="
|
|
3698
|
-
<line num="
|
|
3699
|
-
<line num="
|
|
3700
|
-
<line num="
|
|
3701
|
-
<line num="
|
|
3702
|
-
<line num="
|
|
3703
|
-
<line num="
|
|
3704
|
-
<line num="
|
|
3705
|
-
<line num="
|
|
3706
|
-
<line num="
|
|
3707
|
-
<line num="
|
|
3708
|
-
<line num="
|
|
3709
|
-
<line num="
|
|
3710
|
-
<line num="
|
|
3711
|
-
<line num="
|
|
3712
|
-
<line num="
|
|
3713
|
-
<line num="
|
|
3714
|
-
<line num="
|
|
3715
|
-
<line num="
|
|
3694
|
+
<line num="21" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
3695
|
+
<line num="22" count="0" type="stmt"/>
|
|
3696
|
+
<line num="24" count="0" type="stmt"/>
|
|
3697
|
+
<line num="25" count="0" type="stmt"/>
|
|
3698
|
+
<line num="26" count="0" type="stmt"/>
|
|
3699
|
+
<line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3700
|
+
<line num="29" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3701
|
+
<line num="30" count="0" type="stmt"/>
|
|
3702
|
+
<line num="32" count="0" type="stmt"/>
|
|
3703
|
+
<line num="34" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3704
|
+
<line num="35" count="0" type="stmt"/>
|
|
3705
|
+
<line num="37" count="0" type="stmt"/>
|
|
3706
|
+
<line num="40" count="0" type="stmt"/>
|
|
3707
|
+
<line num="42" count="0" type="stmt"/>
|
|
3708
|
+
<line num="46" count="0" type="stmt"/>
|
|
3709
|
+
<line num="47" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
3710
|
+
<line num="48" count="0" type="stmt"/>
|
|
3711
|
+
<line num="50" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3712
|
+
<line num="62" count="6" type="stmt"/>
|
|
3713
|
+
<line num="63" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
3714
|
+
<line num="64" count="6" type="stmt"/>
|
|
3715
|
+
<line num="65" count="6" type="stmt"/>
|
|
3716
|
+
<line num="66" count="6" type="stmt"/>
|
|
3716
3717
|
<line num="67" count="6" type="stmt"/>
|
|
3717
|
-
<line num="68" count="6" type="stmt"/>
|
|
3718
3718
|
<line num="69" count="6" type="stmt"/>
|
|
3719
|
-
<line num="
|
|
3720
|
-
<line num="
|
|
3719
|
+
<line num="70" count="6" type="stmt"/>
|
|
3720
|
+
<line num="72" count="6" type="stmt"/>
|
|
3721
|
+
<line num="73" count="6" type="stmt"/>
|
|
3721
3722
|
<line num="76" count="6" type="stmt"/>
|
|
3722
|
-
<line num="
|
|
3723
|
-
<line num="
|
|
3724
|
-
<line num="
|
|
3725
|
-
<line num="
|
|
3726
|
-
<line num="
|
|
3723
|
+
<line num="77" count="6" type="stmt"/>
|
|
3724
|
+
<line num="79" count="6" type="stmt"/>
|
|
3725
|
+
<line num="80" count="6" type="stmt"/>
|
|
3726
|
+
<line num="84" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
3727
|
+
<line num="85" count="0" type="stmt"/>
|
|
3728
|
+
<line num="87" count="6" type="stmt"/>
|
|
3729
|
+
<line num="91" count="5" type="stmt"/>
|
|
3730
|
+
<line num="92" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
3731
|
+
<line num="93" count="0" type="stmt"/>
|
|
3732
|
+
<line num="95" count="5" type="stmt"/>
|
|
3733
|
+
<line num="99" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
3734
|
+
<line num="100" count="0" type="stmt"/>
|
|
3727
3735
|
<line num="102" count="6" type="stmt"/>
|
|
3728
3736
|
<line num="103" count="6" type="stmt"/>
|
|
3729
|
-
<line num="
|
|
3730
|
-
<line num="
|
|
3731
|
-
<line num="
|
|
3732
|
-
<line num="
|
|
3733
|
-
<line num="
|
|
3734
|
-
<line num="
|
|
3735
|
-
<line num="
|
|
3736
|
-
<line num="
|
|
3737
|
-
<line num="
|
|
3738
|
-
<line num="
|
|
3739
|
-
<line num="
|
|
3740
|
-
<line num="
|
|
3741
|
-
<line num="
|
|
3742
|
-
<line num="
|
|
3743
|
-
<line num="
|
|
3744
|
-
<line num="
|
|
3745
|
-
<line num="
|
|
3746
|
-
<line num="
|
|
3747
|
-
<line num="
|
|
3748
|
-
<line num="
|
|
3749
|
-
<line num="
|
|
3737
|
+
<line num="104" count="6" type="stmt"/>
|
|
3738
|
+
<line num="108" count="11" type="stmt"/>
|
|
3739
|
+
<line num="110" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
3740
|
+
<line num="111" count="6" type="stmt"/>
|
|
3741
|
+
<line num="113" count="11" type="stmt"/>
|
|
3742
|
+
<line num="117" count="0" type="stmt"/>
|
|
3743
|
+
<line num="127" count="0" type="stmt"/>
|
|
3744
|
+
<line num="135" count="6" type="stmt"/>
|
|
3745
|
+
<line num="136" count="6" type="stmt"/>
|
|
3746
|
+
<line num="137" count="6" type="stmt"/>
|
|
3747
|
+
<line num="138" count="6" type="stmt"/>
|
|
3748
|
+
<line num="140" count="6" type="stmt"/>
|
|
3749
|
+
<line num="141" count="6" type="stmt"/>
|
|
3750
|
+
<line num="142" count="6" type="stmt"/>
|
|
3751
|
+
<line num="143" count="6" type="stmt"/>
|
|
3752
|
+
<line num="144" count="5" type="stmt"/>
|
|
3753
|
+
<line num="146" count="5" type="stmt"/>
|
|
3754
|
+
<line num="147" count="5" type="stmt"/>
|
|
3755
|
+
<line num="148" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
3756
|
+
<line num="149" count="0" type="stmt"/>
|
|
3757
|
+
<line num="150" count="0" type="stmt"/>
|
|
3750
3758
|
<line num="151" count="0" type="stmt"/>
|
|
3751
|
-
<line num="
|
|
3752
|
-
<line num="
|
|
3753
|
-
<line num="
|
|
3754
|
-
<line num="
|
|
3755
|
-
<line num="
|
|
3756
|
-
<line num="
|
|
3757
|
-
<line num="
|
|
3758
|
-
<line num="
|
|
3759
|
-
<line num="
|
|
3760
|
-
<line num="
|
|
3759
|
+
<line num="154" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
3760
|
+
<line num="155" count="0" type="stmt"/>
|
|
3761
|
+
<line num="156" count="0" type="stmt"/>
|
|
3762
|
+
<line num="159" count="5" type="stmt"/>
|
|
3763
|
+
<line num="160" count="5" type="stmt"/>
|
|
3764
|
+
<line num="163" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
3765
|
+
<line num="164" count="0" type="stmt"/>
|
|
3766
|
+
<line num="169" count="0" type="stmt"/>
|
|
3767
|
+
<line num="170" count="0" type="stmt"/>
|
|
3768
|
+
<line num="171" count="0" type="stmt"/>
|
|
3769
|
+
<line num="173" count="0" type="stmt"/>
|
|
3770
|
+
<line num="177" count="0" type="stmt"/>
|
|
3761
3771
|
<line num="178" count="0" type="stmt"/>
|
|
3762
|
-
<line num="
|
|
3772
|
+
<line num="179" count="0" type="stmt"/>
|
|
3773
|
+
<line num="183" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3763
3774
|
<line num="187" count="0" type="stmt"/>
|
|
3764
|
-
<line num="
|
|
3775
|
+
<line num="189" count="0" type="stmt"/>
|
|
3776
|
+
<line num="192" count="0" type="stmt"/>
|
|
3765
3777
|
<line num="198" count="0" type="stmt"/>
|
|
3766
|
-
<line num="
|
|
3767
|
-
<line num="
|
|
3778
|
+
<line num="199" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3779
|
+
<line num="200" count="0" type="stmt"/>
|
|
3780
|
+
<line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3768
3781
|
<line num="204" count="0" type="stmt"/>
|
|
3769
|
-
<line num="
|
|
3770
|
-
<line num="
|
|
3771
|
-
<line num="
|
|
3772
|
-
<line num="
|
|
3773
|
-
<line num="
|
|
3774
|
-
<line num="
|
|
3775
|
-
<line num="226" count="0" type="stmt"/>
|
|
3782
|
+
<line num="212" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3783
|
+
<line num="213" count="0" type="stmt"/>
|
|
3784
|
+
<line num="220" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3785
|
+
<line num="224" count="0" type="stmt"/>
|
|
3786
|
+
<line num="228" count="0" type="stmt"/>
|
|
3787
|
+
<line num="229" count="0" type="stmt"/>
|
|
3776
3788
|
<line num="230" count="0" type="stmt"/>
|
|
3777
|
-
<line num="
|
|
3778
|
-
<line num="
|
|
3779
|
-
<line num="
|
|
3780
|
-
<line num="
|
|
3781
|
-
<line num="
|
|
3782
|
-
<line num="
|
|
3783
|
-
<line num="
|
|
3784
|
-
<line num="
|
|
3785
|
-
<line num="
|
|
3786
|
-
<line num="
|
|
3787
|
-
<line num="
|
|
3788
|
-
<line num="
|
|
3789
|
-
<line num="
|
|
3790
|
-
<line num="
|
|
3791
|
-
<line num="261" count="
|
|
3792
|
-
<line num="262" count="
|
|
3793
|
-
<line num="
|
|
3794
|
-
<line num="
|
|
3795
|
-
<line num="
|
|
3796
|
-
<line num="
|
|
3789
|
+
<line num="233" count="0" type="stmt"/>
|
|
3790
|
+
<line num="234" count="0" type="stmt"/>
|
|
3791
|
+
<line num="235" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
3792
|
+
<line num="236" count="0" type="stmt"/>
|
|
3793
|
+
<line num="237" count="0" type="stmt"/>
|
|
3794
|
+
<line num="240" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3795
|
+
<line num="243" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3796
|
+
<line num="244" count="0" type="stmt"/>
|
|
3797
|
+
<line num="248" count="0" type="stmt"/>
|
|
3798
|
+
<line num="249" count="0" type="stmt"/>
|
|
3799
|
+
<line num="250" count="0" type="stmt"/>
|
|
3800
|
+
<line num="255" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
3801
|
+
<line num="256" count="0" type="stmt"/>
|
|
3802
|
+
<line num="257" count="0" type="stmt"/>
|
|
3803
|
+
<line num="261" count="5" type="stmt"/>
|
|
3804
|
+
<line num="262" count="5" type="stmt"/>
|
|
3805
|
+
<line num="263" count="5" type="stmt"/>
|
|
3806
|
+
<line num="264" count="5" type="stmt"/>
|
|
3807
|
+
<line num="266" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
3808
|
+
<line num="267" count="5" type="stmt"/>
|
|
3809
|
+
<line num="268" count="5" type="stmt"/>
|
|
3810
|
+
<line num="275" count="5" type="stmt"/>
|
|
3811
|
+
<line num="278" count="5" type="cond" truecount="2" falsecount="2"/>
|
|
3797
3812
|
<line num="279" count="0" type="stmt"/>
|
|
3798
3813
|
<line num="280" count="0" type="stmt"/>
|
|
3799
|
-
<line num="
|
|
3800
|
-
<line num="
|
|
3801
|
-
<line num="284" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3802
|
-
<line num="285" count="0" type="stmt"/>
|
|
3803
|
-
<line num="286" count="0" type="stmt"/>
|
|
3814
|
+
<line num="284" count="0" type="stmt"/>
|
|
3815
|
+
<line num="286" count="5" type="cond" truecount="2" falsecount="2"/>
|
|
3804
3816
|
<line num="287" count="0" type="stmt"/>
|
|
3805
|
-
<line num="
|
|
3806
|
-
<line num="
|
|
3817
|
+
<line num="289" count="5" type="stmt"/>
|
|
3818
|
+
<line num="297" count="0" type="stmt"/>
|
|
3807
3819
|
<line num="298" count="0" type="stmt"/>
|
|
3820
|
+
<line num="300" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
3821
|
+
<line num="301" count="0" type="stmt"/>
|
|
3822
|
+
<line num="302" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3823
|
+
<line num="303" count="0" type="stmt"/>
|
|
3824
|
+
<line num="304" count="0" type="stmt"/>
|
|
3808
3825
|
<line num="305" count="0" type="stmt"/>
|
|
3809
|
-
<line num="
|
|
3810
|
-
<line num="
|
|
3811
|
-
<line num="
|
|
3812
|
-
<line num="
|
|
3813
|
-
<line num="
|
|
3814
|
-
<line num="
|
|
3815
|
-
<line num="
|
|
3816
|
-
<line num="
|
|
3817
|
-
<line num="
|
|
3818
|
-
<line num="
|
|
3826
|
+
<line num="310" count="5" type="cond" truecount="3" falsecount="1"/>
|
|
3827
|
+
<line num="311" count="0" type="stmt"/>
|
|
3828
|
+
<line num="316" count="0" type="stmt"/>
|
|
3829
|
+
<line num="323" count="0" type="stmt"/>
|
|
3830
|
+
<line num="324" count="0" type="stmt"/>
|
|
3831
|
+
<line num="328" count="6" type="stmt"/>
|
|
3832
|
+
<line num="332" count="3" type="stmt"/>
|
|
3833
|
+
<line num="333" count="6" type="stmt"/>
|
|
3834
|
+
<line num="334" count="6" type="stmt"/>
|
|
3835
|
+
<line num="335" count="6" type="stmt"/>
|
|
3836
|
+
<line num="339" count="6" type="stmt"/>
|
|
3837
|
+
<line num="340" count="6" type="stmt"/>
|
|
3838
|
+
<line num="341" count="6" type="stmt"/>
|
|
3839
|
+
<line num="343" count="0" type="stmt"/>
|
|
3819
3840
|
</file>
|
|
3820
3841
|
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/query.js">
|
|
3821
3842
|
<metrics statements="100" coveredstatements="92" conditionals="43" coveredconditionals="34" methods="11" coveredmethods="10"/>
|
|
@@ -4553,15 +4574,15 @@
|
|
|
4553
4574
|
<line num="6" count="40" type="stmt"/>
|
|
4554
4575
|
<line num="8" count="40" type="stmt"/>
|
|
4555
4576
|
<line num="10" count="40" type="stmt"/>
|
|
4556
|
-
<line num="13" count="
|
|
4557
|
-
<line num="14" count="
|
|
4577
|
+
<line num="13" count="35" type="stmt"/>
|
|
4578
|
+
<line num="14" count="35" type="stmt"/>
|
|
4558
4579
|
<line num="15" count="15" type="stmt"/>
|
|
4559
4580
|
<line num="16" count="15" type="cond" truecount="2" falsecount="0"/>
|
|
4560
4581
|
<line num="17" count="13" type="stmt"/>
|
|
4561
4582
|
<line num="19" count="15" type="cond" truecount="2" falsecount="0"/>
|
|
4562
4583
|
<line num="20" count="13" type="stmt"/>
|
|
4563
4584
|
<line num="22" count="2" type="stmt"/>
|
|
4564
|
-
<line num="25" count="
|
|
4585
|
+
<line num="25" count="35" type="stmt"/>
|
|
4565
4586
|
<line num="28" count="40" type="stmt"/>
|
|
4566
4587
|
<line num="30" count="15" type="stmt"/>
|
|
4567
4588
|
<line num="31" count="15" type="stmt"/>
|
|
@@ -4572,9 +4593,9 @@
|
|
|
4572
4593
|
<line num="41" count="0" type="stmt"/>
|
|
4573
4594
|
<line num="44" count="3" type="stmt"/>
|
|
4574
4595
|
<line num="54" count="40" type="stmt"/>
|
|
4575
|
-
<line num="55" count="
|
|
4576
|
-
<line num="56" count="
|
|
4577
|
-
<line num="58" count="
|
|
4596
|
+
<line num="55" count="35" type="stmt"/>
|
|
4597
|
+
<line num="56" count="35" type="stmt"/>
|
|
4598
|
+
<line num="58" count="35" type="stmt"/>
|
|
4578
4599
|
<line num="59" count="13" type="stmt"/>
|
|
4579
4600
|
<line num="60" count="13" type="stmt"/>
|
|
4580
4601
|
<line num="61" count="26" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -4583,7 +4604,7 @@
|
|
|
4583
4604
|
<line num="65" count="15" type="stmt"/>
|
|
4584
4605
|
<line num="67" count="0" type="stmt"/>
|
|
4585
4606
|
<line num="75" count="13" type="stmt"/>
|
|
4586
|
-
<line num="78" count="
|
|
4607
|
+
<line num="78" count="35" type="stmt"/>
|
|
4587
4608
|
</file>
|
|
4588
4609
|
<file name="usageQuoteReset.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/usageQuota/usageQuoteReset.js">
|
|
4589
4610
|
<metrics statements="5" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
|