@budibase/server 1.0.220-alpha.1 → 1.0.220-alpha.4
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.58a51c8a.css +6 -0
- package/builder/assets/index.7ef9cfe3.js +977 -0
- package/builder/assets/{vendor.001dcf8c.js → vendor.7f11b0ca.js} +74 -74
- package/builder/index.html +3 -3
- package/coverage/clover.xml +175 -201
- package/coverage/coverage-final.json +6 -6
- 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 +13 -166
- package/coverage/lcov-report/api/controllers/index.html +28 -28
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +18 -39
- 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 +2 -5
- 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 +5 -5
- package/coverage/lcov-report/api/routes/utils/validators.js.html +16 -4
- 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 +34 -34
- 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 +18 -6
- package/coverage/lcov-report/middleware/index.html +11 -11
- 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/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 +15 -15
- package/coverage/lcov-report/utilities/index.js.html +9 -24
- 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 +271 -315
- package/dist/api/controllers/application.js +17 -17
- package/dist/api/controllers/dev.js +2 -40
- package/dist/api/controllers/layout.js +6 -11
- package/dist/api/controllers/static/index.js +1 -5
- package/dist/api/routes/dev.js +1 -2
- package/dist/api/routes/utils/validators.js +4 -0
- package/dist/middleware/currentapp.js +3 -0
- package/dist/package.json +7 -7
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utilities/index.js +1 -5
- package/package.json +8 -8
- package/src/api/controllers/application.ts +17 -23
- package/src/api/controllers/dev.js +2 -53
- package/src/api/controllers/layout.js +10 -17
- package/src/api/controllers/static/index.js +1 -6
- package/src/api/routes/dev.js +0 -1
- package/src/api/routes/tests/application.spec.js +5 -7
- package/src/api/routes/utils/validators.js +4 -0
- package/src/middleware/currentapp.js +4 -0
- package/src/utilities/index.js +1 -6
- package/builder/assets/index.7786f497.css +0 -6
- package/builder/assets/index.b4622e74.js +0 -978
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.
|
|
14
|
-
<link rel="modulepreload" href="/builder/assets/vendor.
|
|
13
|
+
<script type="module" crossorigin src="/builder/assets/index.7ef9cfe3.js"></script>
|
|
14
|
+
<link rel="modulepreload" href="/builder/assets/vendor.7f11b0ca.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.58a51c8a.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="1657724745478" clover="3.2.0">
|
|
3
|
+
<project timestamp="1657724745478" name="All files">
|
|
4
|
+
<metrics statements="4377" coveredstatements="3163" conditionals="1827" coveredconditionals="963" methods="632" coveredmethods="446" elements="6836" coveredelements="4572" complexity="0" loc="4377" ncloc="4377" packages="23" files="129" classes="129"/>
|
|
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="964" coveredstatements="697" conditionals="286" coveredconditionals="135" methods="139" coveredmethods="94"/>
|
|
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="27" type="stmt"/>
|
|
@@ -469,102 +469,77 @@
|
|
|
469
469
|
<line num="262" count="0" type="stmt"/>
|
|
470
470
|
</file>
|
|
471
471
|
<file name="dev.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/dev.js">
|
|
472
|
-
<metrics statements="
|
|
472
|
+
<metrics statements="70" coveredstatements="42" conditionals="17" coveredconditionals="5" methods="10" coveredmethods="5"/>
|
|
473
473
|
<line num="1" count="27" type="stmt"/>
|
|
474
474
|
<line num="2" count="27" type="stmt"/>
|
|
475
475
|
<line num="3" count="27" type="stmt"/>
|
|
476
476
|
<line num="4" count="27" type="stmt"/>
|
|
477
477
|
<line num="5" count="27" type="stmt"/>
|
|
478
|
+
<line num="6" count="27" type="stmt"/>
|
|
479
|
+
<line num="7" count="27" type="stmt"/>
|
|
480
|
+
<line num="8" count="27" type="stmt"/>
|
|
481
|
+
<line num="9" count="27" type="stmt"/>
|
|
478
482
|
<line num="10" count="27" type="stmt"/>
|
|
479
|
-
<line num="
|
|
480
|
-
<line num="
|
|
481
|
-
<line num="
|
|
482
|
-
<line num="
|
|
483
|
-
<line num="
|
|
484
|
-
<line num="
|
|
485
|
-
<line num="
|
|
486
|
-
<line num="
|
|
487
|
-
<line num="33" count="0" type="stmt"/>
|
|
483
|
+
<line num="13" count="0" type="stmt"/>
|
|
484
|
+
<line num="14" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
485
|
+
<line num="15" count="0" type="stmt"/>
|
|
486
|
+
<line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
487
|
+
<line num="29" count="0" type="stmt"/>
|
|
488
|
+
<line num="30" count="0" type="stmt"/>
|
|
489
|
+
<line num="32" count="0" type="stmt"/>
|
|
490
|
+
<line num="33" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
488
491
|
<line num="34" count="0" type="stmt"/>
|
|
489
|
-
<line num="
|
|
490
|
-
<line num="37" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
492
|
+
<line num="37" count="0" type="stmt"/>
|
|
491
493
|
<line num="38" count="0" type="stmt"/>
|
|
492
|
-
<line num="41" count="0" type="stmt"/>
|
|
493
494
|
<line num="42" count="0" type="stmt"/>
|
|
495
|
+
<line num="43" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
496
|
+
<line num="44" count="0" type="stmt"/>
|
|
494
497
|
<line num="46" count="0" type="stmt"/>
|
|
495
|
-
<line num="
|
|
496
|
-
<line num="
|
|
497
|
-
<line num="
|
|
498
|
-
<line num="
|
|
499
|
-
<line num="
|
|
500
|
-
<line num="
|
|
501
|
-
<line num="
|
|
502
|
-
<line num="
|
|
503
|
-
<line num="
|
|
504
|
-
<line num="
|
|
505
|
-
<line num="
|
|
506
|
-
<line num="
|
|
507
|
-
<line num="
|
|
498
|
+
<line num="49" count="27" type="stmt"/>
|
|
499
|
+
<line num="50" count="54" type="stmt"/>
|
|
500
|
+
<line num="51" count="0" type="stmt"/>
|
|
501
|
+
<line num="55" count="27" type="stmt"/>
|
|
502
|
+
<line num="56" count="54" type="stmt"/>
|
|
503
|
+
<line num="57" count="0" type="stmt"/>
|
|
504
|
+
<line num="61" count="27" type="stmt"/>
|
|
505
|
+
<line num="62" count="54" type="stmt"/>
|
|
506
|
+
<line num="63" count="0" type="stmt"/>
|
|
507
|
+
<line num="67" count="27" type="stmt"/>
|
|
508
|
+
<line num="68" count="0" type="stmt"/>
|
|
509
|
+
<line num="69" count="0" type="stmt"/>
|
|
510
|
+
<line num="70" count="0" type="stmt"/>
|
|
508
511
|
<line num="72" count="0" type="stmt"/>
|
|
509
|
-
<line num="73" count="0" type="stmt"/>
|
|
510
512
|
<line num="74" count="0" type="stmt"/>
|
|
511
|
-
<line num="
|
|
512
|
-
<line num="
|
|
513
|
-
<line num="
|
|
513
|
+
<line num="79" count="27" type="stmt"/>
|
|
514
|
+
<line num="80" count="1" type="stmt"/>
|
|
515
|
+
<line num="81" count="1" type="stmt"/>
|
|
514
516
|
<line num="84" count="1" type="stmt"/>
|
|
515
517
|
<line num="85" count="1" type="stmt"/>
|
|
516
|
-
<line num="
|
|
517
|
-
<line num="
|
|
518
|
+
<line num="86" count="1" type="stmt"/>
|
|
519
|
+
<line num="87" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
520
|
+
<line num="88" count="0" type="stmt"/>
|
|
518
521
|
<line num="90" count="1" type="stmt"/>
|
|
519
522
|
<line num="91" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
520
|
-
<line num="
|
|
521
|
-
<line num="
|
|
522
|
-
<line num="
|
|
523
|
-
<line num="99" count="0" type="stmt"/>
|
|
524
|
-
<line num="102" count="0" type="stmt"/>
|
|
523
|
+
<line num="95" count="0" type="stmt"/>
|
|
524
|
+
<line num="98" count="0" type="stmt"/>
|
|
525
|
+
<line num="101" count="1" type="stmt"/>
|
|
525
526
|
<line num="105" count="1" type="stmt"/>
|
|
526
|
-
<line num="
|
|
527
|
-
<line num="
|
|
528
|
-
<line num="112" count="
|
|
527
|
+
<line num="106" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
528
|
+
<line num="108" count="0" type="stmt"/>
|
|
529
|
+
<line num="112" count="1" type="stmt"/>
|
|
530
|
+
<line num="113" count="1" type="stmt"/>
|
|
531
|
+
<line num="114" count="1" type="stmt"/>
|
|
532
|
+
<line num="115" count="1" type="stmt"/>
|
|
529
533
|
<line num="116" count="1" type="stmt"/>
|
|
530
534
|
<line num="117" count="1" type="stmt"/>
|
|
531
535
|
<line num="118" count="1" type="stmt"/>
|
|
532
|
-
<line num="119" count="1" type="stmt"/>
|
|
533
|
-
<line num="120" count="1" type="stmt"/>
|
|
534
536
|
<line num="121" count="1" type="stmt"/>
|
|
535
|
-
<line num="
|
|
537
|
+
<line num="123" count="0" type="stmt"/>
|
|
536
538
|
<line num="125" count="1" type="stmt"/>
|
|
537
|
-
<line num="
|
|
538
|
-
<line num="
|
|
539
|
-
<line num="
|
|
539
|
+
<line num="129" count="27" type="stmt"/>
|
|
540
|
+
<line num="130" count="1" type="stmt"/>
|
|
541
|
+
<line num="131" count="1" type="stmt"/>
|
|
540
542
|
<line num="134" count="1" type="stmt"/>
|
|
541
|
-
<line num="135" count="1" type="stmt"/>
|
|
542
|
-
<line num="138" count="1" type="stmt"/>
|
|
543
|
-
<line num="142" count="27" type="stmt"/>
|
|
544
|
-
<line num="144" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
545
|
-
<line num="145" count="0" type="stmt"/>
|
|
546
|
-
<line num="146" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
547
|
-
<line num="147" count="0" type="stmt"/>
|
|
548
|
-
<line num="149" count="0" type="stmt"/>
|
|
549
|
-
<line num="152" count="0" type="stmt"/>
|
|
550
|
-
<line num="155" count="0" type="stmt"/>
|
|
551
|
-
<line num="156" count="0" type="stmt"/>
|
|
552
|
-
<line num="157" count="0" type="stmt"/>
|
|
553
|
-
<line num="160" count="0" type="stmt"/>
|
|
554
|
-
<line num="161" count="0" type="stmt"/>
|
|
555
|
-
<line num="162" count="0" type="stmt"/>
|
|
556
|
-
<line num="164" count="0" type="stmt"/>
|
|
557
|
-
<line num="165" count="0" type="stmt"/>
|
|
558
|
-
<line num="166" count="0" type="stmt"/>
|
|
559
|
-
<line num="172" count="0" type="stmt"/>
|
|
560
|
-
<line num="174" count="0" type="stmt"/>
|
|
561
|
-
<line num="175" count="0" type="stmt"/>
|
|
562
|
-
<line num="176" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
563
|
-
<line num="177" count="0" type="stmt"/>
|
|
564
|
-
<line num="178" count="0" type="stmt"/>
|
|
565
|
-
<line num="181" count="0" type="stmt"/>
|
|
566
|
-
<line num="183" count="0" type="stmt"/>
|
|
567
|
-
<line num="184" count="0" type="stmt"/>
|
|
568
543
|
</file>
|
|
569
544
|
<file name="integration.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/integration.js">
|
|
570
545
|
<metrics statements="14" coveredstatements="13" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
|
|
@@ -584,37 +559,35 @@
|
|
|
584
559
|
<line num="21" count="1" type="stmt"/>
|
|
585
560
|
</file>
|
|
586
561
|
<file name="layout.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/layout.js">
|
|
587
|
-
<metrics statements="
|
|
562
|
+
<metrics statements="28" coveredstatements="24" conditionals="6" coveredconditionals="4" methods="3" coveredmethods="2"/>
|
|
563
|
+
<line num="1" count="43" type="stmt"/>
|
|
564
|
+
<line num="2" count="43" type="stmt"/>
|
|
565
|
+
<line num="3" count="43" type="stmt"/>
|
|
588
566
|
<line num="4" count="43" type="stmt"/>
|
|
589
|
-
<line num="5" count="43" type="stmt"/>
|
|
590
567
|
<line num="6" count="43" type="stmt"/>
|
|
591
|
-
<line num="7" count="
|
|
592
|
-
<line num="
|
|
593
|
-
<line num="10" count="6" type="
|
|
594
|
-
<line num="11" count="
|
|
595
|
-
<line num="
|
|
596
|
-
<line num="
|
|
597
|
-
<line num="
|
|
598
|
-
<line num="
|
|
599
|
-
<line num="
|
|
568
|
+
<line num="7" count="6" type="stmt"/>
|
|
569
|
+
<line num="8" count="6" type="stmt"/>
|
|
570
|
+
<line num="10" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
571
|
+
<line num="11" count="0" type="stmt"/>
|
|
572
|
+
<line num="15" count="0" type="stmt"/>
|
|
573
|
+
<line num="18" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
574
|
+
<line num="19" count="6" type="stmt"/>
|
|
575
|
+
<line num="20" count="6" type="stmt"/>
|
|
576
|
+
<line num="21" count="6" type="stmt"/>
|
|
600
577
|
<line num="23" count="6" type="stmt"/>
|
|
601
578
|
<line num="24" count="6" type="stmt"/>
|
|
602
|
-
<line num="
|
|
603
|
-
<line num="
|
|
604
|
-
<line num="
|
|
605
|
-
<line num="
|
|
579
|
+
<line num="27" count="43" type="stmt"/>
|
|
580
|
+
<line num="28" count="1" type="stmt"/>
|
|
581
|
+
<line num="29" count="1" type="stmt"/>
|
|
582
|
+
<line num="30" count="1" type="stmt"/>
|
|
606
583
|
<line num="32" count="1" type="stmt"/>
|
|
607
|
-
<line num="
|
|
608
|
-
<line num="
|
|
609
|
-
<line num="
|
|
610
|
-
<line num="
|
|
611
|
-
<line num="44" count="
|
|
612
|
-
<line num="45" count="1" type="
|
|
613
|
-
<line num="46" count="
|
|
614
|
-
<line num="50" count="1" type="stmt"/>
|
|
615
|
-
<line num="51" count="1" type="stmt"/>
|
|
616
|
-
<line num="52" count="1" type="stmt"/>
|
|
617
|
-
<line num="53" count="1" type="stmt"/>
|
|
584
|
+
<line num="38" count="0" type="stmt"/>
|
|
585
|
+
<line num="39" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
586
|
+
<line num="40" count="0" type="stmt"/>
|
|
587
|
+
<line num="43" count="1" type="stmt"/>
|
|
588
|
+
<line num="44" count="1" type="stmt"/>
|
|
589
|
+
<line num="45" count="1" type="stmt"/>
|
|
590
|
+
<line num="46" count="1" type="stmt"/>
|
|
618
591
|
</file>
|
|
619
592
|
<file name="metadata.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/metadata.js">
|
|
620
593
|
<metrics statements="24" coveredstatements="21" conditionals="4" coveredconditionals="2" methods="4" coveredmethods="3"/>
|
|
@@ -2398,7 +2371,7 @@
|
|
|
2398
2371
|
<line num="17" count="27" type="stmt"/>
|
|
2399
2372
|
<line num="18" count="27" type="stmt"/>
|
|
2400
2373
|
<line num="21" count="27" type="stmt"/>
|
|
2401
|
-
<line num="
|
|
2374
|
+
<line num="26" count="27" type="stmt"/>
|
|
2402
2375
|
</file>
|
|
2403
2376
|
<file name="integration.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/integration.js">
|
|
2404
2377
|
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -2562,9 +2535,9 @@
|
|
|
2562
2535
|
</file>
|
|
2563
2536
|
</package>
|
|
2564
2537
|
<package name="api.routes.utils">
|
|
2565
|
-
<metrics statements="
|
|
2538
|
+
<metrics statements="36" coveredstatements="36" conditionals="5" coveredconditionals="4" methods="14" coveredmethods="14"/>
|
|
2566
2539
|
<file name="validators.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/utils/validators.js">
|
|
2567
|
-
<metrics statements="
|
|
2540
|
+
<metrics statements="36" coveredstatements="36" conditionals="5" coveredconditionals="4" methods="14" coveredmethods="14"/>
|
|
2568
2541
|
<line num="1" count="27" type="stmt"/>
|
|
2569
2542
|
<line num="2" count="27" type="stmt"/>
|
|
2570
2543
|
<line num="3" count="27" type="stmt"/>
|
|
@@ -2572,34 +2545,35 @@
|
|
|
2572
2545
|
<line num="8" count="27" type="stmt"/>
|
|
2573
2546
|
<line num="10" count="27" type="stmt"/>
|
|
2574
2547
|
<line num="11" count="27" type="stmt"/>
|
|
2575
|
-
<line num="
|
|
2576
|
-
<line num="
|
|
2577
|
-
<line num="
|
|
2578
|
-
<line num="
|
|
2579
|
-
<line num="
|
|
2580
|
-
<line num="
|
|
2581
|
-
<line num="
|
|
2582
|
-
<line num="
|
|
2583
|
-
<line num="
|
|
2584
|
-
<line num="
|
|
2548
|
+
<line num="12" count="27" type="stmt"/>
|
|
2549
|
+
<line num="14" count="27" type="stmt"/>
|
|
2550
|
+
<line num="16" count="81" type="stmt"/>
|
|
2551
|
+
<line num="28" count="27" type="stmt"/>
|
|
2552
|
+
<line num="30" count="108" type="stmt"/>
|
|
2553
|
+
<line num="35" count="27" type="stmt"/>
|
|
2554
|
+
<line num="37" count="27" type="stmt"/>
|
|
2555
|
+
<line num="51" count="81" type="stmt"/>
|
|
2556
|
+
<line num="66" count="27" type="stmt"/>
|
|
2557
|
+
<line num="68" count="27" type="stmt"/>
|
|
2585
2558
|
<line num="80" count="27" type="stmt"/>
|
|
2586
|
-
<line num="
|
|
2587
|
-
<line num="
|
|
2588
|
-
<line num="
|
|
2589
|
-
<line num="
|
|
2590
|
-
<line num="
|
|
2559
|
+
<line num="81" count="27" type="stmt"/>
|
|
2560
|
+
<line num="98" count="27" type="stmt"/>
|
|
2561
|
+
<line num="100" count="27" type="stmt"/>
|
|
2562
|
+
<line num="119" count="27" type="stmt"/>
|
|
2563
|
+
<line num="121" count="27" type="stmt"/>
|
|
2591
2564
|
<line num="134" count="27" type="stmt"/>
|
|
2592
|
-
<line num="
|
|
2593
|
-
<line num="
|
|
2594
|
-
<line num="150" count="
|
|
2595
|
-
<line num="
|
|
2596
|
-
<line num="
|
|
2597
|
-
<line num="
|
|
2598
|
-
<line num="
|
|
2599
|
-
<line num="
|
|
2600
|
-
<line num="
|
|
2601
|
-
<line num="
|
|
2602
|
-
<line num="
|
|
2565
|
+
<line num="135" count="27" type="stmt"/>
|
|
2566
|
+
<line num="137" count="27" type="stmt"/>
|
|
2567
|
+
<line num="150" count="27" type="stmt"/>
|
|
2568
|
+
<line num="151" count="54" type="stmt"/>
|
|
2569
|
+
<line num="153" count="54" type="stmt"/>
|
|
2570
|
+
<line num="160" count="27" type="stmt"/>
|
|
2571
|
+
<line num="162" count="27" type="stmt"/>
|
|
2572
|
+
<line num="185" count="108" type="stmt"/>
|
|
2573
|
+
<line num="198" count="27" type="cond" truecount="0" falsecount="1"/>
|
|
2574
|
+
<line num="200" count="54" type="stmt"/>
|
|
2575
|
+
<line num="212" count="27" type="stmt"/>
|
|
2576
|
+
<line num="214" count="54" type="stmt"/>
|
|
2603
2577
|
</file>
|
|
2604
2578
|
</package>
|
|
2605
2579
|
<package name="automations">
|
|
@@ -3659,7 +3633,7 @@
|
|
|
3659
3633
|
</file>
|
|
3660
3634
|
</package>
|
|
3661
3635
|
<package name="middleware">
|
|
3662
|
-
<metrics statements="
|
|
3636
|
+
<metrics statements="184" coveredstatements="156" conditionals="123" coveredconditionals="94" methods="25" coveredmethods="25"/>
|
|
3663
3637
|
<file name="appInfo.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/appInfo.js">
|
|
3664
3638
|
<metrics statements="10" coveredstatements="8" conditionals="11" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
3665
3639
|
<line num="1" count="27" type="stmt"/>
|
|
@@ -3719,7 +3693,7 @@
|
|
|
3719
3693
|
<line num="89" count="1" type="stmt"/>
|
|
3720
3694
|
</file>
|
|
3721
3695
|
<file name="currentapp.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/currentapp.js">
|
|
3722
|
-
<metrics statements="
|
|
3696
|
+
<metrics statements="65" coveredstatements="50" conditionals="55" coveredconditionals="44" methods="2" coveredmethods="2"/>
|
|
3723
3697
|
<line num="6" count="32" type="stmt"/>
|
|
3724
3698
|
<line num="7" count="32" type="stmt"/>
|
|
3725
3699
|
<line num="8" count="32" type="stmt"/>
|
|
@@ -3764,25 +3738,27 @@
|
|
|
3764
3738
|
<line num="74" count="0" type="stmt"/>
|
|
3765
3739
|
<line num="75" count="0" type="stmt"/>
|
|
3766
3740
|
<line num="76" count="0" type="stmt"/>
|
|
3767
|
-
<line num="
|
|
3768
|
-
<line num="
|
|
3769
|
-
<line num="88" count="235" type="
|
|
3770
|
-
<line num="89" count="
|
|
3771
|
-
<line num="92" count="235" type="
|
|
3772
|
-
<line num="
|
|
3773
|
-
<line num="
|
|
3774
|
-
<line num="101" count="0" type="stmt"/>
|
|
3775
|
-
<line num="102" count="0" type="stmt"/>
|
|
3741
|
+
<line num="79" count="0" type="stmt"/>
|
|
3742
|
+
<line num="80" count="0" type="stmt"/>
|
|
3743
|
+
<line num="88" count="235" type="cond" truecount="1" falsecount="1"/>
|
|
3744
|
+
<line num="89" count="0" type="stmt"/>
|
|
3745
|
+
<line num="92" count="235" type="stmt"/>
|
|
3746
|
+
<line num="93" count="235" type="stmt"/>
|
|
3747
|
+
<line num="96" count="235" type="cond" truecount="1" falsecount="1"/>
|
|
3776
3748
|
<line num="103" count="0" type="stmt"/>
|
|
3777
3749
|
<line num="104" count="0" type="stmt"/>
|
|
3778
|
-
<line num="
|
|
3779
|
-
<line num="
|
|
3780
|
-
<line num="
|
|
3781
|
-
<line num="
|
|
3750
|
+
<line num="105" count="0" type="stmt"/>
|
|
3751
|
+
<line num="106" count="0" type="stmt"/>
|
|
3752
|
+
<line num="107" count="0" type="stmt"/>
|
|
3753
|
+
<line num="108" count="0" type="stmt"/>
|
|
3782
3754
|
<line num="111" count="235" type="stmt"/>
|
|
3783
|
-
<line num="
|
|
3784
|
-
<line num="
|
|
3785
|
-
<line num="
|
|
3755
|
+
<line num="112" count="235" type="cond" truecount="1" falsecount="1"/>
|
|
3756
|
+
<line num="113" count="235" type="stmt"/>
|
|
3757
|
+
<line num="114" count="235" type="cond" truecount="2" falsecount="0"/>
|
|
3758
|
+
<line num="115" count="235" type="stmt"/>
|
|
3759
|
+
<line num="124" count="235" type="cond" truecount="2" falsecount="0"/>
|
|
3760
|
+
<line num="130" count="9" type="stmt"/>
|
|
3761
|
+
<line num="133" count="235" type="stmt"/>
|
|
3786
3762
|
</file>
|
|
3787
3763
|
<file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
|
|
3788
3764
|
<metrics statements="19" coveredstatements="16" conditionals="8" coveredconditionals="5" methods="4" coveredmethods="4"/>
|
|
@@ -4211,7 +4187,7 @@
|
|
|
4211
4187
|
</file>
|
|
4212
4188
|
</package>
|
|
4213
4189
|
<package name="utilities">
|
|
4214
|
-
<metrics statements="
|
|
4190
|
+
<metrics statements="342" coveredstatements="251" conditionals="141" coveredconditionals="85" methods="67" coveredmethods="48"/>
|
|
4215
4191
|
<file name="budibaseDir.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/budibaseDir.js">
|
|
4216
4192
|
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
4217
4193
|
<line num="1" count="45" type="stmt"/>
|
|
@@ -4363,7 +4339,7 @@
|
|
|
4363
4339
|
<line num="101" count="0" type="stmt"/>
|
|
4364
4340
|
</file>
|
|
4365
4341
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/index.js">
|
|
4366
|
-
<metrics statements="
|
|
4342
|
+
<metrics statements="76" coveredstatements="62" conditionals="30" coveredconditionals="16" methods="16" coveredmethods="15"/>
|
|
4367
4343
|
<line num="1" count="47" type="stmt"/>
|
|
4368
4344
|
<line num="2" count="47" type="stmt"/>
|
|
4369
4345
|
<line num="3" count="47" type="stmt"/>
|
|
@@ -4387,61 +4363,59 @@
|
|
|
4387
4363
|
<line num="43" count="0" type="stmt"/>
|
|
4388
4364
|
<line num="57" count="47" type="stmt"/>
|
|
4389
4365
|
<line num="58" count="252" type="cond" truecount="1" falsecount="1"/>
|
|
4390
|
-
<line num="
|
|
4391
|
-
<line num="
|
|
4392
|
-
<line num="
|
|
4393
|
-
<line num="
|
|
4394
|
-
<line num="
|
|
4395
|
-
<line num="
|
|
4396
|
-
<line num="74" count="
|
|
4397
|
-
<line num="
|
|
4398
|
-
<line num="
|
|
4399
|
-
<line num="
|
|
4366
|
+
<line num="59" count="0" type="stmt"/>
|
|
4367
|
+
<line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4368
|
+
<line num="65" count="0" type="stmt"/>
|
|
4369
|
+
<line num="67" count="0" type="stmt"/>
|
|
4370
|
+
<line num="69" count="252" type="stmt"/>
|
|
4371
|
+
<line num="73" count="47" type="stmt"/>
|
|
4372
|
+
<line num="74" count="2" type="stmt"/>
|
|
4373
|
+
<line num="79" count="47" type="stmt"/>
|
|
4374
|
+
<line num="80" count="3" type="stmt"/>
|
|
4375
|
+
<line num="81" count="3" type="stmt"/>
|
|
4376
|
+
<line num="84" count="3" type="stmt"/>
|
|
4400
4377
|
<line num="85" count="3" type="stmt"/>
|
|
4401
4378
|
<line num="86" count="3" type="stmt"/>
|
|
4402
|
-
<line num="
|
|
4379
|
+
<line num="87" count="0" type="stmt"/>
|
|
4380
|
+
<line num="88" count="0" type="stmt"/>
|
|
4403
4381
|
<line num="90" count="3" type="stmt"/>
|
|
4404
4382
|
<line num="91" count="3" type="stmt"/>
|
|
4405
|
-
<line num="
|
|
4406
|
-
<line num="
|
|
4407
|
-
<line num="95" count="
|
|
4408
|
-
<line num="
|
|
4383
|
+
<line num="93" count="3" type="stmt"/>
|
|
4384
|
+
<line num="94" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
4385
|
+
<line num="95" count="0" type="stmt"/>
|
|
4386
|
+
<line num="97" count="3" type="stmt"/>
|
|
4409
4387
|
<line num="98" count="3" type="stmt"/>
|
|
4410
|
-
<line num="
|
|
4411
|
-
<line num="
|
|
4412
|
-
<line num="
|
|
4413
|
-
<line num="
|
|
4414
|
-
<line num="
|
|
4415
|
-
<line num="
|
|
4416
|
-
<line num="
|
|
4417
|
-
<line num="116" count="
|
|
4418
|
-
<line num="117" count="
|
|
4419
|
-
<line num="118" count="
|
|
4420
|
-
<line num="
|
|
4421
|
-
<line num="
|
|
4422
|
-
<line num="
|
|
4423
|
-
<line num="123" count="0" type="stmt"/>
|
|
4424
|
-
<line num="128" count="4" type="cond" truecount="3" falsecount="1"/>
|
|
4388
|
+
<line num="105" count="47" type="stmt"/>
|
|
4389
|
+
<line num="106" count="1" type="stmt"/>
|
|
4390
|
+
<line num="107" count="1" type="stmt"/>
|
|
4391
|
+
<line num="111" count="47" type="stmt"/>
|
|
4392
|
+
<line num="112" count="4" type="stmt"/>
|
|
4393
|
+
<line num="113" count="4" type="stmt"/>
|
|
4394
|
+
<line num="115" count="4" type="stmt"/>
|
|
4395
|
+
<line num="116" count="4" type="stmt"/>
|
|
4396
|
+
<line num="117" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4397
|
+
<line num="118" count="0" type="stmt"/>
|
|
4398
|
+
<line num="123" count="4" type="cond" truecount="3" falsecount="1"/>
|
|
4399
|
+
<line num="124" count="0" type="stmt"/>
|
|
4400
|
+
<line num="128" count="47" type="stmt"/>
|
|
4425
4401
|
<line num="129" count="0" type="stmt"/>
|
|
4426
|
-
<line num="
|
|
4427
|
-
<line num="
|
|
4428
|
-
<line num="
|
|
4429
|
-
<line num="
|
|
4430
|
-
<line num="
|
|
4431
|
-
<line num="
|
|
4432
|
-
<line num="
|
|
4433
|
-
<line num="
|
|
4434
|
-
<line num="
|
|
4435
|
-
<line num="
|
|
4436
|
-
<line num="
|
|
4437
|
-
<line num="
|
|
4438
|
-
<line num="158" count="
|
|
4439
|
-
<line num="
|
|
4440
|
-
<line num="
|
|
4441
|
-
<line num="
|
|
4442
|
-
<line num="
|
|
4443
|
-
<line num="166" count="0" type="stmt"/>
|
|
4444
|
-
<line num="168" count="1" type="stmt"/>
|
|
4402
|
+
<line num="138" count="47" type="stmt"/>
|
|
4403
|
+
<line num="139" count="1" type="stmt"/>
|
|
4404
|
+
<line num="141" count="1" type="stmt"/>
|
|
4405
|
+
<line num="142" count="1" type="stmt"/>
|
|
4406
|
+
<line num="147" count="47" type="stmt"/>
|
|
4407
|
+
<line num="148" count="36" type="stmt"/>
|
|
4408
|
+
<line num="149" count="36" type="stmt"/>
|
|
4409
|
+
<line num="150" count="36" type="stmt"/>
|
|
4410
|
+
<line num="151" count="36" type="cond" truecount="2" falsecount="0"/>
|
|
4411
|
+
<line num="152" count="36" type="cond" truecount="1" falsecount="1"/>
|
|
4412
|
+
<line num="153" count="0" type="stmt"/>
|
|
4413
|
+
<line num="155" count="36" type="cond" truecount="3" falsecount="1"/>
|
|
4414
|
+
<line num="158" count="47" type="stmt"/>
|
|
4415
|
+
<line num="159" count="1" type="stmt"/>
|
|
4416
|
+
<line num="160" count="1" type="cond" truecount="2" falsecount="2"/>
|
|
4417
|
+
<line num="161" count="0" type="stmt"/>
|
|
4418
|
+
<line num="163" count="1" type="stmt"/>
|
|
4445
4419
|
</file>
|
|
4446
4420
|
<file name="scriptRunner.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/scriptRunner.js">
|
|
4447
4421
|
<metrics statements="13" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|