@budibase/server 1.3.15-alpha.7 → 1.3.15-alpha.9
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.6e6a747c.js → index.15b76cd8.js} +205 -205
- package/builder/assets/{index.ecdac070.css → index.3850883f.css} +1 -1
- package/builder/index.html +2 -2
- package/coverage/clover.xml +49 -50
- package/coverage/coverage-final.json +2 -2
- 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 +25 -37
- 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 +15 -15
- 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 +2 -2
- 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 +2 -2
- 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 +5 -5
- package/coverage/lcov-report/api/routes/utils/validators.js.html +9 -6
- 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 +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 +15 -15
- 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/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 +74 -77
- package/dist/api/controllers/component.js +12 -16
- package/dist/api/controllers/plugin/index.js +6 -3
- package/dist/api/controllers/row/external.js +1 -1
- package/dist/api/routes/application.js +3 -2
- package/dist/api/routes/public/tables.js +1 -1
- package/dist/api/routes/table.js +1 -1
- package/dist/api/routes/utils/validators.js +2 -1
- package/dist/package.json +6 -6
- package/dist/tests/utilities/TestConfiguration.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/specs/openapi.json +3 -3
- package/specs/openapi.yaml +3 -3
- package/specs/resources/query.js +1 -1
- package/src/api/controllers/component.js +17 -21
- package/src/api/controllers/plugin/index.ts +8 -4
- package/src/api/controllers/row/external.js +1 -1
- package/src/api/routes/application.ts +13 -2
- package/src/api/routes/public/tables.ts +1 -1
- package/src/api/routes/table.js +1 -1
- package/src/api/routes/utils/validators.js +2 -1
- package/src/definitions/openapi.ts +3 -3
- package/src/tests/utilities/TestConfiguration.js +1 -1
package/builder/index.html
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
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.
|
|
14
|
-
<link rel="stylesheet" href="/builder/assets/index.
|
|
13
|
+
<script type="module" crossorigin src="/builder/assets/index.15b76cd8.js"></script>
|
|
14
|
+
<link rel="stylesheet" href="/builder/assets/index.3850883f.css">
|
|
15
15
|
</head>
|
|
16
16
|
<body id="app">
|
|
17
17
|
|
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="1663174638594" clover="3.2.0">
|
|
3
|
+
<project timestamp="1663174638594" name="All files">
|
|
4
|
+
<metrics statements="4210" coveredstatements="3072" conditionals="1784" coveredconditionals="974" methods="627" coveredmethods="439" elements="6621" coveredelements="4485" complexity="0" loc="4210" ncloc="4210" packages="22" files="126" classes="126"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="35" coveredstatements="34" 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">
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
</file>
|
|
45
45
|
</package>
|
|
46
46
|
<package name="api.controllers">
|
|
47
|
-
<metrics statements="
|
|
47
|
+
<metrics statements="1010" coveredstatements="715" conditionals="314" coveredconditionals="142" methods="149" coveredmethods="96"/>
|
|
48
48
|
<file name="apikeys.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/apikeys.js">
|
|
49
49
|
<metrics statements="24" coveredstatements="24" conditionals="4" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
50
50
|
<line num="1" count="28" type="stmt"/>
|
|
@@ -313,36 +313,34 @@
|
|
|
313
313
|
<line num="110" count="0" type="stmt"/>
|
|
314
314
|
</file>
|
|
315
315
|
<file name="component.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/component.js">
|
|
316
|
-
<metrics statements="
|
|
316
|
+
<metrics statements="27" coveredstatements="22" conditionals="2" coveredconditionals="2" methods="5" coveredmethods="2"/>
|
|
317
317
|
<line num="1" count="28" type="stmt"/>
|
|
318
318
|
<line num="2" count="28" type="stmt"/>
|
|
319
319
|
<line num="3" count="28" type="stmt"/>
|
|
320
320
|
<line num="4" count="28" type="stmt"/>
|
|
321
|
-
<line num="
|
|
322
|
-
<line num="7" count="
|
|
321
|
+
<line num="6" count="28" type="stmt"/>
|
|
322
|
+
<line num="7" count="1" type="stmt"/>
|
|
323
323
|
<line num="8" count="1" type="stmt"/>
|
|
324
324
|
<line num="9" count="1" type="stmt"/>
|
|
325
|
-
<line num="
|
|
326
|
-
<line num="
|
|
325
|
+
<line num="11" count="1" type="stmt"/>
|
|
326
|
+
<line num="13" count="1" type="stmt"/>
|
|
327
327
|
<line num="14" count="1" type="stmt"/>
|
|
328
|
-
<line num="
|
|
328
|
+
<line num="20" count="1" type="stmt"/>
|
|
329
329
|
<line num="21" count="1" type="stmt"/>
|
|
330
330
|
<line num="22" count="1" type="stmt"/>
|
|
331
|
-
<line num="23" count="
|
|
332
|
-
<line num="24" count="
|
|
333
|
-
<line num="
|
|
331
|
+
<line num="23" count="52" type="cond" truecount="2" falsecount="0"/>
|
|
332
|
+
<line num="24" count="1" type="stmt"/>
|
|
333
|
+
<line num="26" count="51" type="stmt"/>
|
|
334
334
|
<line num="27" count="51" type="stmt"/>
|
|
335
|
-
<line num="
|
|
336
|
-
<line num="37" count="1" type="
|
|
337
|
-
<line num="
|
|
338
|
-
<line num="
|
|
339
|
-
<line num="
|
|
335
|
+
<line num="36" count="1" type="stmt"/>
|
|
336
|
+
<line num="37" count="1" type="stmt"/>
|
|
337
|
+
<line num="42" count="1" type="stmt"/>
|
|
338
|
+
<line num="43" count="0" type="stmt"/>
|
|
339
|
+
<line num="44" count="0" type="stmt"/>
|
|
340
340
|
<line num="46" count="0" type="stmt"/>
|
|
341
341
|
<line num="47" count="0" type="stmt"/>
|
|
342
|
-
<line num="
|
|
343
|
-
<line num="
|
|
344
|
-
<line num="57" count="1" type="stmt"/>
|
|
345
|
-
<line num="59" count="0" type="stmt"/>
|
|
342
|
+
<line num="53" count="1" type="stmt"/>
|
|
343
|
+
<line num="55" count="0" type="stmt"/>
|
|
346
344
|
</file>
|
|
347
345
|
<file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/datasource.js">
|
|
348
346
|
<metrics statements="141" coveredstatements="82" conditionals="61" coveredconditionals="20" methods="20" coveredmethods="11"/>
|
|
@@ -2632,9 +2630,9 @@
|
|
|
2632
2630
|
</file>
|
|
2633
2631
|
</package>
|
|
2634
2632
|
<package name="api.routes.utils">
|
|
2635
|
-
<metrics statements="
|
|
2633
|
+
<metrics statements="37" coveredstatements="37" conditionals="5" coveredconditionals="4" methods="14" coveredmethods="14"/>
|
|
2636
2634
|
<file name="validators.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/utils/validators.js">
|
|
2637
|
-
<metrics statements="
|
|
2635
|
+
<metrics statements="37" coveredstatements="37" conditionals="5" coveredconditionals="4" methods="14" coveredmethods="14"/>
|
|
2638
2636
|
<line num="1" count="28" type="stmt"/>
|
|
2639
2637
|
<line num="2" count="28" type="stmt"/>
|
|
2640
2638
|
<line num="3" count="28" type="stmt"/>
|
|
@@ -2643,34 +2641,35 @@
|
|
|
2643
2641
|
<line num="10" count="28" type="stmt"/>
|
|
2644
2642
|
<line num="11" count="28" type="stmt"/>
|
|
2645
2643
|
<line num="12" count="28" type="stmt"/>
|
|
2646
|
-
<line num="
|
|
2647
|
-
<line num="
|
|
2648
|
-
<line num="
|
|
2649
|
-
<line num="
|
|
2650
|
-
<line num="
|
|
2651
|
-
<line num="
|
|
2652
|
-
<line num="
|
|
2653
|
-
<line num="
|
|
2654
|
-
<line num="
|
|
2655
|
-
<line num="
|
|
2644
|
+
<line num="13" count="28" type="stmt"/>
|
|
2645
|
+
<line num="15" count="28" type="stmt"/>
|
|
2646
|
+
<line num="17" count="84" type="stmt"/>
|
|
2647
|
+
<line num="29" count="28" type="stmt"/>
|
|
2648
|
+
<line num="31" count="112" type="stmt"/>
|
|
2649
|
+
<line num="36" count="28" type="stmt"/>
|
|
2650
|
+
<line num="38" count="28" type="stmt"/>
|
|
2651
|
+
<line num="52" count="84" type="stmt"/>
|
|
2652
|
+
<line num="67" count="28" type="stmt"/>
|
|
2653
|
+
<line num="69" count="28" type="stmt"/>
|
|
2656
2654
|
<line num="81" count="28" type="stmt"/>
|
|
2657
|
-
<line num="
|
|
2658
|
-
<line num="
|
|
2659
|
-
<line num="
|
|
2660
|
-
<line num="
|
|
2661
|
-
<line num="
|
|
2655
|
+
<line num="82" count="28" type="stmt"/>
|
|
2656
|
+
<line num="99" count="28" type="stmt"/>
|
|
2657
|
+
<line num="101" count="28" type="stmt"/>
|
|
2658
|
+
<line num="120" count="28" type="stmt"/>
|
|
2659
|
+
<line num="122" count="28" type="stmt"/>
|
|
2662
2660
|
<line num="135" count="28" type="stmt"/>
|
|
2663
|
-
<line num="
|
|
2664
|
-
<line num="
|
|
2665
|
-
<line num="151" count="
|
|
2666
|
-
<line num="
|
|
2667
|
-
<line num="
|
|
2668
|
-
<line num="
|
|
2669
|
-
<line num="
|
|
2670
|
-
<line num="
|
|
2671
|
-
<line num="
|
|
2672
|
-
<line num="
|
|
2673
|
-
<line num="
|
|
2661
|
+
<line num="136" count="28" type="stmt"/>
|
|
2662
|
+
<line num="138" count="28" type="stmt"/>
|
|
2663
|
+
<line num="151" count="28" type="stmt"/>
|
|
2664
|
+
<line num="152" count="56" type="stmt"/>
|
|
2665
|
+
<line num="154" count="56" type="stmt"/>
|
|
2666
|
+
<line num="161" count="28" type="stmt"/>
|
|
2667
|
+
<line num="163" count="28" type="stmt"/>
|
|
2668
|
+
<line num="186" count="112" type="stmt"/>
|
|
2669
|
+
<line num="199" count="28" type="cond" truecount="0" falsecount="1"/>
|
|
2670
|
+
<line num="201" count="56" type="stmt"/>
|
|
2671
|
+
<line num="213" count="28" type="stmt"/>
|
|
2672
|
+
<line num="215" count="112" type="stmt"/>
|
|
2674
2673
|
</file>
|
|
2675
2674
|
</package>
|
|
2676
2675
|
<package name="automations">
|