@budibase/server 1.0.176-alpha.0 → 1.0.178-alpha.0
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.451e8e27.js +1315 -0
- package/builder/assets/{index.e2fc8aa4.css → index.8a6f249b.css} +2 -2
- package/builder/index.html +2 -2
- package/coverage/clover.xml +27 -21
- 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/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 +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/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 +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/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 +4 -4
- 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 +14 -14
- 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 +43 -10
- package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
- package/coverage/lcov-report/middleware/index.html +14 -14
- 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 +1 -1
- 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 +44 -32
- package/dist/middleware/builder.js +9 -2
- package/dist/package.json +5 -5
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utilities/redis.js +1 -1
- package/package.json +6 -6
- package/src/middleware/builder.js +13 -2
- package/src/utilities/redis.js +2 -0
- package/builder/assets/index.c662c427.js +0 -1300
package/builder/index.html
CHANGED
|
@@ -10,10 +10,10 @@
|
|
|
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.451e8e27.js"></script>
|
|
14
14
|
<link rel="modulepreload" href="/builder/assets/vendor.9bf2fcb4.js">
|
|
15
15
|
<link rel="stylesheet" href="/builder/assets/vendor.5e1fe644.css">
|
|
16
|
-
<link rel="stylesheet" href="/builder/assets/index.
|
|
16
|
+
<link rel="stylesheet" href="/builder/assets/index.8a6f249b.css">
|
|
17
17
|
</head>
|
|
18
18
|
<body id="app">
|
|
19
19
|
|
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="1653402345676" clover="3.2.0">
|
|
3
|
+
<project timestamp="1653402345676" name="All files">
|
|
4
|
+
<metrics statements="4174" coveredstatements="2993" conditionals="1723" coveredconditionals="889" methods="612" coveredmethods="430" elements="6509" coveredelements="4312" complexity="0" loc="4174" ncloc="4174" 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">
|
|
@@ -3060,10 +3060,10 @@
|
|
|
3060
3060
|
<line num="188" count="54" type="stmt"/>
|
|
3061
3061
|
<line num="189" count="193" type="stmt"/>
|
|
3062
3062
|
<line num="195" count="54" type="stmt"/>
|
|
3063
|
-
<line num="196" count="
|
|
3064
|
-
<line num="197" count="
|
|
3063
|
+
<line num="196" count="3" type="stmt"/>
|
|
3064
|
+
<line num="197" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
3065
3065
|
<line num="198" count="1" type="stmt"/>
|
|
3066
|
-
<line num="200" count="
|
|
3066
|
+
<line num="200" count="2" type="stmt"/>
|
|
3067
3067
|
<line num="206" count="54" type="cond" truecount="0" falsecount="2"/>
|
|
3068
3068
|
<line num="207" count="225" type="stmt"/>
|
|
3069
3069
|
<line num="214" count="54" type="stmt"/>
|
|
@@ -3479,7 +3479,7 @@
|
|
|
3479
3479
|
</file>
|
|
3480
3480
|
</package>
|
|
3481
3481
|
<package name="middleware">
|
|
3482
|
-
<metrics statements="
|
|
3482
|
+
<metrics statements="180" coveredstatements="154" conditionals="123" coveredconditionals="94" methods="25" coveredmethods="25"/>
|
|
3483
3483
|
<file name="appInfo.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/appInfo.js">
|
|
3484
3484
|
<metrics statements="10" coveredstatements="8" conditionals="11" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
3485
3485
|
<line num="1" count="24" type="stmt"/>
|
|
@@ -3494,7 +3494,7 @@
|
|
|
3494
3494
|
<line num="18" count="7" type="stmt"/>
|
|
3495
3495
|
</file>
|
|
3496
3496
|
<file name="builder.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/builder.js">
|
|
3497
|
-
<metrics statements="
|
|
3497
|
+
<metrics statements="42" coveredstatements="37" conditionals="28" coveredconditionals="22" methods="4" coveredmethods="4"/>
|
|
3498
3498
|
<line num="1" count="25" type="stmt"/>
|
|
3499
3499
|
<line num="7" count="25" type="stmt"/>
|
|
3500
3500
|
<line num="8" count="25" type="stmt"/>
|
|
@@ -3516,21 +3516,27 @@
|
|
|
3516
3516
|
<line num="51" count="1" type="stmt"/>
|
|
3517
3517
|
<line num="52" count="1" type="stmt"/>
|
|
3518
3518
|
<line num="53" count="1" type="stmt"/>
|
|
3519
|
-
<line num="54" count="1" type="stmt"/>
|
|
3520
3519
|
<line num="55" count="1" type="stmt"/>
|
|
3521
|
-
<line num="
|
|
3520
|
+
<line num="57" count="1" type="stmt"/>
|
|
3522
3521
|
<line num="58" count="1" type="stmt"/>
|
|
3523
|
-
<line num="
|
|
3524
|
-
<line num="
|
|
3525
|
-
<line num="65" count="
|
|
3526
|
-
<line num="66" count="
|
|
3527
|
-
<line num="68" count="
|
|
3528
|
-
<line num="69" count="
|
|
3529
|
-
<line num="
|
|
3530
|
-
<line num="72" count="176" type="
|
|
3531
|
-
<line num="
|
|
3532
|
-
<line num="
|
|
3533
|
-
<line num="
|
|
3522
|
+
<line num="59" count="1" type="stmt"/>
|
|
3523
|
+
<line num="61" count="1" type="stmt"/>
|
|
3524
|
+
<line num="65" count="25" type="stmt"/>
|
|
3525
|
+
<line num="66" count="181" type="stmt"/>
|
|
3526
|
+
<line num="68" count="181" type="cond" truecount="2" falsecount="0"/>
|
|
3527
|
+
<line num="69" count="5" type="stmt"/>
|
|
3528
|
+
<line num="71" count="176" type="stmt"/>
|
|
3529
|
+
<line num="72" count="176" type="stmt"/>
|
|
3530
|
+
<line num="74" count="176" type="stmt"/>
|
|
3531
|
+
<line num="75" count="176" type="cond" truecount="2" falsecount="0"/>
|
|
3532
|
+
<line num="76" count="176" type="cond" truecount="1" falsecount="1"/>
|
|
3533
|
+
<line num="77" count="0" type="stmt"/>
|
|
3534
|
+
<line num="80" count="176" type="cond" truecount="2" falsecount="0"/>
|
|
3535
|
+
<line num="81" count="176" type="cond" truecount="2" falsecount="0"/>
|
|
3536
|
+
<line num="83" count="176" type="cond" truecount="4" falsecount="0"/>
|
|
3537
|
+
<line num="84" count="175" type="stmt"/>
|
|
3538
|
+
<line num="87" count="1" type="stmt"/>
|
|
3539
|
+
<line num="89" count="1" type="stmt"/>
|
|
3534
3540
|
</file>
|
|
3535
3541
|
<file name="currentapp.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/currentapp.js">
|
|
3536
3542
|
<metrics statements="63" coveredstatements="50" conditionals="55" coveredconditionals="44" methods="2" coveredmethods="2"/>
|