@budibase/server 1.0.151-alpha.2 → 1.0.151
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.e05b34c9.js} +163 -163
- package/builder/index.html +1 -1
- package/coverage/clover.xml +21 -21
- package/coverage/coverage-final.json +3 -3
- 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 +1 -1
- package/coverage/lcov-report/constants/index.js.html +1 -1
- 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 +4 -4
- 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 +1 -1
- package/coverage/lcov-report/threads/index.html +1 -1
- 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 +32 -34
- package/dist/api/controllers/view/exporters.js +1 -1
- package/dist/automations/steps/queryRows.js +0 -1
- package/dist/integrations/base/sql.js +27 -1
- package/dist/package.json +6 -5
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +7 -6
- package/src/api/controllers/view/exporters.js +1 -1
- package/src/automations/steps/queryRows.js +0 -1
- package/src/integrations/base/sql.ts +28 -1
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.e05b34c9.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="4130" coveredstatements="2972" conditionals="
|
|
2
|
+
<coverage generated="1652262124898" clover="3.2.0">
|
|
3
|
+
<project timestamp="1652262124898" name="All files">
|
|
4
|
+
<metrics statements="4130" coveredstatements="2972" conditionals="1694" coveredconditionals="873" methods="609" coveredmethods="427" elements="6433" coveredelements="4272" complexity="0" loc="4130" ncloc="4130" 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"/>
|
|
@@ -4553,15 +4553,15 @@
|
|
|
4553
4553
|
<line num="6" count="40" type="stmt"/>
|
|
4554
4554
|
<line num="8" count="40" type="stmt"/>
|
|
4555
4555
|
<line num="10" count="40" type="stmt"/>
|
|
4556
|
-
<line num="13" count="
|
|
4557
|
-
<line num="14" count="
|
|
4556
|
+
<line num="13" count="35" type="stmt"/>
|
|
4557
|
+
<line num="14" count="35" type="stmt"/>
|
|
4558
4558
|
<line num="15" count="15" type="stmt"/>
|
|
4559
4559
|
<line num="16" count="15" type="cond" truecount="2" falsecount="0"/>
|
|
4560
4560
|
<line num="17" count="13" type="stmt"/>
|
|
4561
4561
|
<line num="19" count="15" type="cond" truecount="2" falsecount="0"/>
|
|
4562
4562
|
<line num="20" count="13" type="stmt"/>
|
|
4563
4563
|
<line num="22" count="2" type="stmt"/>
|
|
4564
|
-
<line num="25" count="
|
|
4564
|
+
<line num="25" count="35" type="stmt"/>
|
|
4565
4565
|
<line num="28" count="40" type="stmt"/>
|
|
4566
4566
|
<line num="30" count="15" type="stmt"/>
|
|
4567
4567
|
<line num="31" count="15" type="stmt"/>
|
|
@@ -4572,9 +4572,9 @@
|
|
|
4572
4572
|
<line num="41" count="0" type="stmt"/>
|
|
4573
4573
|
<line num="44" count="3" type="stmt"/>
|
|
4574
4574
|
<line num="54" count="40" type="stmt"/>
|
|
4575
|
-
<line num="55" count="
|
|
4576
|
-
<line num="56" count="
|
|
4577
|
-
<line num="58" count="
|
|
4575
|
+
<line num="55" count="35" type="stmt"/>
|
|
4576
|
+
<line num="56" count="35" type="stmt"/>
|
|
4577
|
+
<line num="58" count="35" type="stmt"/>
|
|
4578
4578
|
<line num="59" count="13" type="stmt"/>
|
|
4579
4579
|
<line num="60" count="13" type="stmt"/>
|
|
4580
4580
|
<line num="61" count="26" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -4583,7 +4583,7 @@
|
|
|
4583
4583
|
<line num="65" count="15" type="stmt"/>
|
|
4584
4584
|
<line num="67" count="0" type="stmt"/>
|
|
4585
4585
|
<line num="75" count="13" type="stmt"/>
|
|
4586
|
-
<line num="78" count="
|
|
4586
|
+
<line num="78" count="35" type="stmt"/>
|
|
4587
4587
|
</file>
|
|
4588
4588
|
<file name="usageQuoteReset.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/usageQuota/usageQuoteReset.js">
|
|
4589
4589
|
<metrics statements="5" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
|