@budibase/server 0.9.148-alpha.1 → 0.9.148-alpha.5
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.4ce261f8.js → index.91589f2c.js} +2 -2
- package/builder/index.html +1 -1
- package/coverage/clover.xml +39 -28
- package/coverage/coverage-final.json +2 -2
- 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/application.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/hosting.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/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query.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 +14 -14
- package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internal.js.html +66 -18
- package/coverage/lcov-report/api/controllers/row/internalSearch.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/index.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/utils.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 +1 -1
- package/coverage/lcov-report/api/controllers/view/index.html +1 -1
- 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/application.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/hosting.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +1 -1
- package/coverage/lcov-report/api/routes/index.js.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/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/row.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/static.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/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/createRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/deleteRow.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/outgoingWebhook.js.html +1 -1
- package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
- 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/thread.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/automations/utils.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/client.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 +22 -22
- 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/authorized.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 +15 -15
- package/coverage/lcov-report/middleware/joi-validator.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/usageQuota.js.html +17 -11
- 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/security.js.html +1 -1
- package/coverage/lcov-report/utilities/statusCodes.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 +62 -47
- package/dist/api/controllers/row/internal.js +19 -4
- package/dist/middleware/usageQuota.js +4 -2
- package/dist/package.json +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/api/controllers/row/internal.js +26 -10
- package/src/middleware/usageQuota.js +4 -2
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.91589f2c.js"></script>
|
|
14
14
|
<link rel="modulepreload" href="/builder/assets/vendor.5f8051e1.js">
|
|
15
15
|
<link rel="stylesheet" href="/builder/assets/vendor.d75d5eb7.css">
|
|
16
16
|
<link rel="stylesheet" href="/builder/assets/index.bf911dc7.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="1633088539149" clover="3.2.0">
|
|
3
|
+
<project timestamp="1633088539149" name="All files">
|
|
4
|
+
<metrics statements="3784" coveredstatements="2991" conditionals="1403" coveredconditionals="842" methods="543" coveredmethods="407" elements="5730" coveredelements="4240" complexity="0" loc="3784" ncloc="3784" packages="19" files="132" classes="132"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="29" coveredstatements="27" conditionals="5" coveredconditionals="2" methods="5" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -1076,7 +1076,7 @@
|
|
|
1076
1076
|
</file>
|
|
1077
1077
|
</package>
|
|
1078
1078
|
<package name="api.controllers.row">
|
|
1079
|
-
<metrics statements="
|
|
1079
|
+
<metrics statements="578" coveredstatements="309" conditionals="235" coveredconditionals="82" methods="88" coveredmethods="38"/>
|
|
1080
1080
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
|
|
1081
1081
|
<metrics statements="90" coveredstatements="14" conditionals="30" coveredconditionals="0" methods="13" coveredmethods="0"/>
|
|
1082
1082
|
<line num="5" count="34" type="stmt"/>
|
|
@@ -1259,7 +1259,7 @@
|
|
|
1259
1259
|
<line num="137" count="0" type="stmt"/>
|
|
1260
1260
|
</file>
|
|
1261
1261
|
<file name="internal.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internal.js">
|
|
1262
|
-
<metrics statements="
|
|
1262
|
+
<metrics statements="209" coveredstatements="173" conditionals="64" coveredconditionals="39" methods="25" coveredmethods="23"/>
|
|
1263
1263
|
<line num="1" count="34" type="stmt"/>
|
|
1264
1264
|
<line num="2" count="34" type="stmt"/>
|
|
1265
1265
|
<line num="8" count="34" type="stmt"/>
|
|
@@ -1447,18 +1447,28 @@
|
|
|
1447
1447
|
<line num="395" count="1" type="stmt"/>
|
|
1448
1448
|
<line num="400" count="1" type="stmt"/>
|
|
1449
1449
|
<line num="406" count="1" type="stmt"/>
|
|
1450
|
-
<line num="
|
|
1450
|
+
<line num="409" count="1" type="stmt"/>
|
|
1451
1451
|
<line num="411" count="1" type="stmt"/>
|
|
1452
|
+
<line num="413" count="1" type="stmt"/>
|
|
1452
1453
|
<line num="414" count="1" type="stmt"/>
|
|
1453
|
-
<line num="
|
|
1454
|
-
<line num="
|
|
1455
|
-
<line num="
|
|
1456
|
-
<line num="
|
|
1457
|
-
<line num="
|
|
1458
|
-
<line num="
|
|
1454
|
+
<line num="415" count="1" type="stmt"/>
|
|
1455
|
+
<line num="416" count="1" type="stmt"/>
|
|
1456
|
+
<line num="417" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1457
|
+
<line num="418" count="1" type="stmt"/>
|
|
1458
|
+
<line num="419" count="1" type="stmt"/>
|
|
1459
|
+
<line num="421" count="0" type="stmt"/>
|
|
1460
|
+
<line num="424" count="1" type="stmt"/>
|
|
1459
1461
|
<line num="425" count="1" type="stmt"/>
|
|
1460
|
-
<line num="
|
|
1461
|
-
<line num="
|
|
1462
|
+
<line num="427" count="1" type="stmt"/>
|
|
1463
|
+
<line num="433" count="1" type="stmt"/>
|
|
1464
|
+
<line num="434" count="3" type="stmt"/>
|
|
1465
|
+
<line num="435" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
1466
|
+
<line num="437" count="1" type="stmt"/>
|
|
1467
|
+
<line num="438" count="1" type="stmt"/>
|
|
1468
|
+
<line num="439" count="1" type="stmt"/>
|
|
1469
|
+
<line num="441" count="1" type="stmt"/>
|
|
1470
|
+
<line num="442" count="1" type="stmt"/>
|
|
1471
|
+
<line num="446" count="1" type="stmt"/>
|
|
1462
1472
|
</file>
|
|
1463
1473
|
<file name="internalSearch.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internalSearch.js">
|
|
1464
1474
|
<metrics statements="147" coveredstatements="7" conditionals="85" coveredconditionals="0" methods="33" coveredmethods="0"/>
|
|
@@ -3561,7 +3571,7 @@
|
|
|
3561
3571
|
</file>
|
|
3562
3572
|
</package>
|
|
3563
3573
|
<package name="middleware">
|
|
3564
|
-
<metrics statements="
|
|
3574
|
+
<metrics statements="194" coveredstatements="178" conditionals="126" coveredconditionals="102" methods="27" coveredmethods="27"/>
|
|
3565
3575
|
<file name="appInfo.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/appInfo.js">
|
|
3566
3576
|
<metrics statements="10" coveredstatements="8" conditionals="11" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
3567
3577
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -3746,7 +3756,7 @@
|
|
|
3746
3756
|
<line num="9" count="0" type="stmt"/>
|
|
3747
3757
|
</file>
|
|
3748
3758
|
<file name="usageQuota.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/usageQuota.js">
|
|
3749
|
-
<metrics statements="
|
|
3759
|
+
<metrics statements="32" coveredstatements="30" conditionals="22" coveredconditionals="19" methods="4" coveredmethods="4"/>
|
|
3750
3760
|
<line num="1" count="24" type="stmt"/>
|
|
3751
3761
|
<line num="2" count="24" type="stmt"/>
|
|
3752
3762
|
<line num="3" count="24" type="stmt"/>
|
|
@@ -3763,21 +3773,22 @@
|
|
|
3763
3773
|
<line num="39" count="7" type="stmt"/>
|
|
3764
3774
|
<line num="42" count="4" type="stmt"/>
|
|
3765
3775
|
<line num="43" count="4" type="stmt"/>
|
|
3766
|
-
<line num="44" count="4" type="
|
|
3767
|
-
<line num="45" count="
|
|
3768
|
-
<line num="
|
|
3769
|
-
<line num="49" count="
|
|
3770
|
-
<line num="50" count="2" type="
|
|
3776
|
+
<line num="44" count="4" type="cond" truecount="3" falsecount="1"/>
|
|
3777
|
+
<line num="45" count="0" type="stmt"/>
|
|
3778
|
+
<line num="48" count="4" type="cond" truecount="5" falsecount="0"/>
|
|
3779
|
+
<line num="49" count="2" type="stmt"/>
|
|
3780
|
+
<line num="50" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
3771
3781
|
<line num="51" count="2" type="stmt"/>
|
|
3772
|
-
<line num="52" count="
|
|
3782
|
+
<line num="52" count="2" type="stmt"/>
|
|
3773
3783
|
<line num="54" count="1" type="stmt"/>
|
|
3774
|
-
<line num="
|
|
3775
|
-
<line num="61" count="
|
|
3776
|
-
<line num="
|
|
3777
|
-
<line num="66" count="
|
|
3778
|
-
<line num="67" count="3" type="stmt"/>
|
|
3784
|
+
<line num="56" count="1" type="stmt"/>
|
|
3785
|
+
<line num="61" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
3786
|
+
<line num="63" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
3787
|
+
<line num="66" count="2" type="stmt"/>
|
|
3779
3788
|
<line num="68" count="3" type="stmt"/>
|
|
3780
|
-
<line num="
|
|
3789
|
+
<line num="69" count="3" type="stmt"/>
|
|
3790
|
+
<line num="70" count="3" type="stmt"/>
|
|
3791
|
+
<line num="72" count="0" type="stmt"/>
|
|
3781
3792
|
</file>
|
|
3782
3793
|
</package>
|
|
3783
3794
|
<package name="utilities">
|