@budibase/server 1.0.80-alpha.3 → 1.0.80-alpha.6
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.f8c92447.js → index.5a72dc45.js} +98 -96
- package/builder/assets/{index.c57242d4.css → index.dd19c61c.css} +1 -1
- package/builder/index.html +2 -2
- package/coverage/clover.xml +182 -154
- package/coverage/coverage-final.json +7 -7
- 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/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/index.js.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 +71 -8
- package/coverage/lcov-report/api/controllers/row/index.html +33 -33
- package/coverage/lcov-report/api/controllers/row/index.js.html +35 -8
- package/coverage/lcov-report/api/controllers/row/internal.js.html +56 -8
- 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 +51 -9
- package/coverage/lcov-report/api/controllers/table/index.html +14 -14
- package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/internal.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/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/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/row.js.html +65 -2
- 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/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/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/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 +26 -26
- 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 +2 -2
- 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/resourceId.js.html +12 -12
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/usageQuota.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/index.js.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/index.js.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 +295 -250
- package/dist/api/controllers/row/external.js +18 -0
- package/dist/api/controllers/row/index.js +11 -0
- package/dist/api/controllers/row/internal.js +11 -0
- package/dist/api/controllers/table/external.js +8 -2
- package/dist/api/routes/row.js +15 -1
- package/dist/integrations/base/sqlTable.js +13 -5
- package/dist/package.json +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/api/controllers/row/external.js +21 -0
- package/src/api/controllers/row/index.js +9 -0
- package/src/api/controllers/row/internal.js +16 -0
- package/src/api/controllers/table/external.js +16 -2
- package/src/api/routes/row.js +21 -0
- package/src/definitions/datasource.ts +6 -0
- package/src/integrations/base/sqlTable.ts +24 -6
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="1646739540502" clover="3.2.0">
|
|
3
|
+
<project timestamp="1646739540502" name="All files">
|
|
4
|
+
<metrics statements="5007" coveredstatements="3720" conditionals="2058" coveredconditionals="1119" methods="731" coveredmethods="523" elements="7796" coveredelements="5362" complexity="0" loc="5007" ncloc="5007" packages="23" files="146" classes="146"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="31" coveredstatements="29" 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">
|
|
@@ -1319,9 +1319,9 @@
|
|
|
1319
1319
|
</file>
|
|
1320
1320
|
</package>
|
|
1321
1321
|
<package name="api.controllers.row">
|
|
1322
|
-
<metrics statements="
|
|
1322
|
+
<metrics statements="661" coveredstatements="414" conditionals="298" coveredconditionals="127" methods="98" coveredmethods="57"/>
|
|
1323
1323
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
|
|
1324
|
-
<metrics statements="
|
|
1324
|
+
<metrics statements="102" coveredstatements="16" conditionals="46" coveredconditionals="0" methods="15" coveredmethods="0"/>
|
|
1325
1325
|
<line num="6" count="40" type="stmt"/>
|
|
1326
1326
|
<line num="10" count="40" type="stmt"/>
|
|
1327
1327
|
<line num="11" count="40" type="stmt"/>
|
|
@@ -1396,26 +1396,37 @@
|
|
|
1396
1396
|
<line num="156" count="0" type="stmt"/>
|
|
1397
1397
|
<line num="157" count="0" type="stmt"/>
|
|
1398
1398
|
<line num="158" count="0" type="stmt"/>
|
|
1399
|
-
<line num="159" count="0" type="
|
|
1399
|
+
<line num="159" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1400
1400
|
<line num="160" count="0" type="stmt"/>
|
|
1401
|
-
<line num="161" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1402
1401
|
<line num="162" count="0" type="stmt"/>
|
|
1402
|
+
<line num="163" count="0" type="stmt"/>
|
|
1403
1403
|
<line num="164" count="0" type="stmt"/>
|
|
1404
|
-
<line num="
|
|
1405
|
-
<line num="169" count="0" type="stmt"/>
|
|
1406
|
-
<line num="170" count="0" type="stmt"/>
|
|
1404
|
+
<line num="168" count="0" type="stmt"/>
|
|
1407
1405
|
<line num="173" count="0" type="stmt"/>
|
|
1408
|
-
<line num="
|
|
1406
|
+
<line num="176" count="40" type="stmt"/>
|
|
1407
|
+
<line num="177" count="0" type="stmt"/>
|
|
1408
|
+
<line num="178" count="0" type="stmt"/>
|
|
1409
1409
|
<line num="179" count="0" type="stmt"/>
|
|
1410
|
+
<line num="180" count="0" type="stmt"/>
|
|
1410
1411
|
<line num="181" count="0" type="stmt"/>
|
|
1411
|
-
<line num="182" count="0" type="
|
|
1412
|
+
<line num="182" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1412
1413
|
<line num="183" count="0" type="stmt"/>
|
|
1413
1414
|
<line num="185" count="0" type="stmt"/>
|
|
1414
1415
|
<line num="186" count="0" type="stmt"/>
|
|
1415
|
-
<line num="
|
|
1416
|
+
<line num="190" count="0" type="stmt"/>
|
|
1417
|
+
<line num="191" count="0" type="stmt"/>
|
|
1418
|
+
<line num="194" count="0" type="stmt"/>
|
|
1419
|
+
<line num="195" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1420
|
+
<line num="200" count="0" type="stmt"/>
|
|
1421
|
+
<line num="202" count="0" type="stmt"/>
|
|
1422
|
+
<line num="203" count="0" type="stmt"/>
|
|
1423
|
+
<line num="204" count="0" type="stmt"/>
|
|
1424
|
+
<line num="206" count="0" type="stmt"/>
|
|
1425
|
+
<line num="207" count="0" type="stmt"/>
|
|
1426
|
+
<line num="220" count="0" type="stmt"/>
|
|
1416
1427
|
</file>
|
|
1417
1428
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/index.js">
|
|
1418
|
-
<metrics statements="
|
|
1429
|
+
<metrics statements="90" coveredstatements="80" conditionals="34" coveredconditionals="32" methods="12" coveredmethods="11"/>
|
|
1419
1430
|
<line num="1" count="40" type="stmt"/>
|
|
1420
1431
|
<line num="2" count="40" type="stmt"/>
|
|
1421
1432
|
<line num="3" count="40" type="stmt"/>
|
|
@@ -1501,9 +1512,14 @@
|
|
|
1501
1512
|
<line num="134" count="2" type="stmt"/>
|
|
1502
1513
|
<line num="135" count="2" type="stmt"/>
|
|
1503
1514
|
<line num="137" count="0" type="stmt"/>
|
|
1515
|
+
<line num="141" count="40" type="stmt"/>
|
|
1516
|
+
<line num="142" count="0" type="stmt"/>
|
|
1517
|
+
<line num="143" count="0" type="stmt"/>
|
|
1518
|
+
<line num="144" count="0" type="stmt"/>
|
|
1519
|
+
<line num="146" count="0" type="stmt"/>
|
|
1504
1520
|
</file>
|
|
1505
1521
|
<file name="internal.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internal.js">
|
|
1506
|
-
<metrics statements="
|
|
1522
|
+
<metrics statements="203" coveredstatements="167" conditionals="62" coveredconditionals="39" methods="26" coveredmethods="22"/>
|
|
1507
1523
|
<line num="1" count="40" type="stmt"/>
|
|
1508
1524
|
<line num="8" count="40" type="stmt"/>
|
|
1509
1525
|
<line num="9" count="40" type="stmt"/>
|
|
@@ -1669,36 +1685,44 @@
|
|
|
1669
1685
|
<line num="358" count="40" type="stmt"/>
|
|
1670
1686
|
<line num="359" count="2" type="stmt"/>
|
|
1671
1687
|
<line num="365" count="40" type="stmt"/>
|
|
1672
|
-
<line num="366" count="
|
|
1673
|
-
<line num="367" count="
|
|
1674
|
-
<line num="368" count="
|
|
1675
|
-
<line num="
|
|
1676
|
-
<line num="
|
|
1677
|
-
<line num="
|
|
1678
|
-
<line num="
|
|
1679
|
-
<line num="
|
|
1680
|
-
<line num="
|
|
1681
|
-
<line num="
|
|
1682
|
-
<line num="
|
|
1683
|
-
<line num="
|
|
1684
|
-
<line num="391" count="
|
|
1685
|
-
<line num="
|
|
1686
|
-
<line num="
|
|
1687
|
-
<line num="
|
|
1688
|
-
<line num="
|
|
1689
|
-
<line num="
|
|
1690
|
-
<line num="
|
|
1691
|
-
<line num="
|
|
1692
|
-
<line num="
|
|
1693
|
-
<line num="
|
|
1694
|
-
<line num="
|
|
1695
|
-
<line num="
|
|
1696
|
-
<line num="
|
|
1697
|
-
<line num="
|
|
1698
|
-
<line num="
|
|
1699
|
-
<line num="418" count="
|
|
1700
|
-
<line num="
|
|
1701
|
-
<line num="
|
|
1688
|
+
<line num="366" count="0" type="stmt"/>
|
|
1689
|
+
<line num="367" count="0" type="stmt"/>
|
|
1690
|
+
<line num="368" count="0" type="stmt"/>
|
|
1691
|
+
<line num="369" count="0" type="stmt"/>
|
|
1692
|
+
<line num="374" count="0" type="stmt"/>
|
|
1693
|
+
<line num="376" count="0" type="stmt"/>
|
|
1694
|
+
<line num="378" count="0" type="stmt"/>
|
|
1695
|
+
<line num="381" count="40" type="stmt"/>
|
|
1696
|
+
<line num="382" count="2" type="stmt"/>
|
|
1697
|
+
<line num="383" count="2" type="stmt"/>
|
|
1698
|
+
<line num="384" count="2" type="stmt"/>
|
|
1699
|
+
<line num="386" count="2" type="stmt"/>
|
|
1700
|
+
<line num="391" count="2" type="stmt"/>
|
|
1701
|
+
<line num="396" count="2" type="stmt"/>
|
|
1702
|
+
<line num="399" count="1" type="stmt"/>
|
|
1703
|
+
<line num="401" count="1" type="stmt"/>
|
|
1704
|
+
<line num="403" count="2" type="stmt"/>
|
|
1705
|
+
<line num="404" count="2" type="stmt"/>
|
|
1706
|
+
<line num="405" count="2" type="stmt"/>
|
|
1707
|
+
<line num="406" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1708
|
+
<line num="407" count="0" type="stmt"/>
|
|
1709
|
+
<line num="409" count="1" type="stmt"/>
|
|
1710
|
+
<line num="410" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1711
|
+
<line num="411" count="1" type="stmt"/>
|
|
1712
|
+
<line num="412" count="1" type="stmt"/>
|
|
1713
|
+
<line num="414" count="0" type="stmt"/>
|
|
1714
|
+
<line num="417" count="2" type="stmt"/>
|
|
1715
|
+
<line num="418" count="2" type="stmt"/>
|
|
1716
|
+
<line num="420" count="1" type="stmt"/>
|
|
1717
|
+
<line num="426" count="2" type="stmt"/>
|
|
1718
|
+
<line num="427" count="5" type="stmt"/>
|
|
1719
|
+
<line num="428" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1720
|
+
<line num="430" count="1" type="stmt"/>
|
|
1721
|
+
<line num="431" count="1" type="stmt"/>
|
|
1722
|
+
<line num="432" count="1" type="stmt"/>
|
|
1723
|
+
<line num="434" count="1" type="stmt"/>
|
|
1724
|
+
<line num="435" count="1" type="stmt"/>
|
|
1725
|
+
<line num="439" count="2" type="stmt"/>
|
|
1702
1726
|
</file>
|
|
1703
1727
|
<file name="internalSearch.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internalSearch.js">
|
|
1704
1728
|
<metrics statements="152" coveredstatements="93" conditionals="95" coveredconditionals="38" methods="33" coveredmethods="18"/>
|
|
@@ -1977,7 +2001,7 @@
|
|
|
1977
2001
|
</file>
|
|
1978
2002
|
</package>
|
|
1979
2003
|
<package name="api.controllers.table">
|
|
1980
|
-
<metrics statements="
|
|
2004
|
+
<metrics statements="534" coveredstatements="285" conditionals="286" coveredconditionals="102" methods="78" coveredmethods="41"/>
|
|
1981
2005
|
<file name="bulkFormula.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/bulkFormula.js">
|
|
1982
2006
|
<metrics statements="75" coveredstatements="52" conditionals="55" coveredconditionals="24" methods="16" coveredmethods="13"/>
|
|
1983
2007
|
<line num="1" count="40" type="stmt"/>
|
|
@@ -2057,7 +2081,7 @@
|
|
|
2057
2081
|
<line num="171" count="106" type="stmt"/>
|
|
2058
2082
|
</file>
|
|
2059
2083
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/external.js">
|
|
2060
|
-
<metrics statements="
|
|
2084
|
+
<metrics statements="138" coveredstatements="11" conditionals="79" coveredconditionals="0" methods="14" coveredmethods="0"/>
|
|
2061
2085
|
<line num="4" count="40" type="stmt"/>
|
|
2062
2086
|
<line num="11" count="40" type="stmt"/>
|
|
2063
2087
|
<line num="16" count="40" type="stmt"/>
|
|
@@ -2066,132 +2090,136 @@
|
|
|
2066
2090
|
<line num="19" count="40" type="stmt"/>
|
|
2067
2091
|
<line num="20" count="40" type="stmt"/>
|
|
2068
2092
|
<line num="21" count="40" type="stmt"/>
|
|
2069
|
-
<line num="
|
|
2070
|
-
<line num="
|
|
2071
|
-
<line num="
|
|
2072
|
-
<line num="
|
|
2073
|
-
<line num="
|
|
2074
|
-
<line num="
|
|
2075
|
-
<line num="
|
|
2076
|
-
<line num="
|
|
2077
|
-
<line num="
|
|
2078
|
-
<line num="
|
|
2079
|
-
<line num="59" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2093
|
+
<line num="31" count="0" type="stmt"/>
|
|
2094
|
+
<line num="42" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2095
|
+
<line num="43" count="0" type="stmt"/>
|
|
2096
|
+
<line num="45" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2097
|
+
<line num="46" count="0" type="stmt"/>
|
|
2098
|
+
<line num="48" count="0" type="stmt"/>
|
|
2099
|
+
<line num="52" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2100
|
+
<line num="54" count="0" type="stmt"/>
|
|
2101
|
+
<line num="55" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2102
|
+
<line num="59" count="0" type="stmt"/>
|
|
2080
2103
|
<line num="60" count="0" type="stmt"/>
|
|
2081
2104
|
<line num="62" count="0" type="stmt"/>
|
|
2082
|
-
<line num="
|
|
2083
|
-
<line num="
|
|
2084
|
-
<line num="
|
|
2085
|
-
<line num="
|
|
2086
|
-
<line num="
|
|
2087
|
-
<line num="81" count="0" type="
|
|
2088
|
-
<line num="
|
|
2089
|
-
<line num="
|
|
2090
|
-
<line num="
|
|
2091
|
-
<line num="
|
|
2092
|
-
<line num="
|
|
2093
|
-
<line num="
|
|
2094
|
-
<line num="
|
|
2105
|
+
<line num="63" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2106
|
+
<line num="64" count="0" type="stmt"/>
|
|
2107
|
+
<line num="66" count="0" type="stmt"/>
|
|
2108
|
+
<line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2109
|
+
<line num="73" count="0" type="stmt"/>
|
|
2110
|
+
<line num="81" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2111
|
+
<line num="82" count="0" type="stmt"/>
|
|
2112
|
+
<line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2113
|
+
<line num="85" count="0" type="stmt"/>
|
|
2114
|
+
<line num="87" count="0" type="stmt"/>
|
|
2115
|
+
<line num="91" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2116
|
+
<line num="92" count="0" type="stmt"/>
|
|
2117
|
+
<line num="94" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2095
2118
|
<line num="100" count="0" type="stmt"/>
|
|
2096
|
-
<line num="
|
|
2097
|
-
<line num="
|
|
2098
|
-
<line num="
|
|
2099
|
-
<line num="119" count="0" type="stmt"/>
|
|
2119
|
+
<line num="101" count="0" type="stmt"/>
|
|
2120
|
+
<line num="102" count="0" type="stmt"/>
|
|
2121
|
+
<line num="104" count="0" type="stmt"/>
|
|
2100
2122
|
<line num="120" count="0" type="stmt"/>
|
|
2123
|
+
<line num="121" count="0" type="stmt"/>
|
|
2124
|
+
<line num="122" count="0" type="stmt"/>
|
|
2125
|
+
<line num="123" count="0" type="stmt"/>
|
|
2101
2126
|
<line num="124" count="0" type="stmt"/>
|
|
2102
|
-
<line num="125" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2103
|
-
<line num="127" count="0" type="stmt"/>
|
|
2104
2127
|
<line num="128" count="0" type="stmt"/>
|
|
2105
2128
|
<line num="129" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2106
|
-
<line num="130" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2107
2129
|
<line num="131" count="0" type="stmt"/>
|
|
2108
|
-
<line num="
|
|
2109
|
-
<line num="
|
|
2110
|
-
<line num="
|
|
2130
|
+
<line num="132" count="0" type="stmt"/>
|
|
2131
|
+
<line num="133" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2132
|
+
<line num="134" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2133
|
+
<line num="135" count="0" type="stmt"/>
|
|
2111
2134
|
<line num="140" count="0" type="stmt"/>
|
|
2112
|
-
<line num="
|
|
2113
|
-
<line num="
|
|
2114
|
-
<line num="
|
|
2135
|
+
<line num="142" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2136
|
+
<line num="143" count="0" type="stmt"/>
|
|
2137
|
+
<line num="144" count="0" type="stmt"/>
|
|
2115
2138
|
<line num="149" count="0" type="stmt"/>
|
|
2116
|
-
<line num="
|
|
2139
|
+
<line num="150" count="0" type="stmt"/>
|
|
2140
|
+
<line num="151" count="0" type="stmt"/>
|
|
2117
2141
|
<line num="153" count="0" type="stmt"/>
|
|
2118
|
-
<line num="
|
|
2119
|
-
<line num="
|
|
2120
|
-
<line num="
|
|
2121
|
-
<line num="162" count="0" type="
|
|
2122
|
-
<line num="
|
|
2123
|
-
<line num="
|
|
2124
|
-
<line num="167" count="0" type="
|
|
2125
|
-
<line num="
|
|
2142
|
+
<line num="156" count="0" type="stmt"/>
|
|
2143
|
+
<line num="157" count="0" type="stmt"/>
|
|
2144
|
+
<line num="158" count="0" type="stmt"/>
|
|
2145
|
+
<line num="162" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2146
|
+
<line num="165" count="40" type="stmt"/>
|
|
2147
|
+
<line num="166" count="0" type="stmt"/>
|
|
2148
|
+
<line num="167" count="0" type="stmt"/>
|
|
2149
|
+
<line num="169" count="0" type="stmt"/>
|
|
2126
2150
|
<line num="170" count="0" type="stmt"/>
|
|
2127
|
-
<line num="
|
|
2128
|
-
<line num="
|
|
2129
|
-
<line num="
|
|
2130
|
-
<line num="182" count="0" type="
|
|
2131
|
-
<line num="
|
|
2132
|
-
<line num="186" count="0" type="
|
|
2151
|
+
<line num="172" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2152
|
+
<line num="173" count="0" type="stmt"/>
|
|
2153
|
+
<line num="175" count="0" type="stmt"/>
|
|
2154
|
+
<line num="182" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2155
|
+
<line num="183" count="0" type="stmt"/>
|
|
2156
|
+
<line num="186" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2133
2157
|
<line num="187" count="0" type="stmt"/>
|
|
2134
|
-
<line num="188" count="0" type="stmt"/>
|
|
2135
2158
|
<line num="190" count="0" type="stmt"/>
|
|
2159
|
+
<line num="191" count="0" type="stmt"/>
|
|
2160
|
+
<line num="192" count="0" type="stmt"/>
|
|
2136
2161
|
<line num="193" count="0" type="stmt"/>
|
|
2137
|
-
<line num="194" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2138
2162
|
<line num="195" count="0" type="stmt"/>
|
|
2139
|
-
<line num="197" count="0" type="stmt"/>
|
|
2140
2163
|
<line num="198" count="0" type="stmt"/>
|
|
2164
|
+
<line num="199" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2141
2165
|
<line num="200" count="0" type="stmt"/>
|
|
2142
|
-
<line num="
|
|
2143
|
-
<line num="202" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2166
|
+
<line num="202" count="0" type="stmt"/>
|
|
2144
2167
|
<line num="203" count="0" type="stmt"/>
|
|
2145
|
-
<line num="
|
|
2146
|
-
<line num="
|
|
2147
|
-
<line num="
|
|
2148
|
-
<line num="
|
|
2149
|
-
<line num="
|
|
2168
|
+
<line num="205" count="0" type="stmt"/>
|
|
2169
|
+
<line num="206" count="0" type="stmt"/>
|
|
2170
|
+
<line num="207" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2171
|
+
<line num="208" count="0" type="stmt"/>
|
|
2172
|
+
<line num="214" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2173
|
+
<line num="215" count="0" type="stmt"/>
|
|
2150
2174
|
<line num="217" count="0" type="stmt"/>
|
|
2151
|
-
<line num="
|
|
2152
|
-
<line num="
|
|
2153
|
-
<line num="
|
|
2154
|
-
<line num="227" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2175
|
+
<line num="218" count="0" type="stmt"/>
|
|
2176
|
+
<line num="221" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2177
|
+
<line num="222" count="0" type="stmt"/>
|
|
2155
2178
|
<line num="228" count="0" type="stmt"/>
|
|
2156
|
-
<line num="
|
|
2157
|
-
<line num="
|
|
2158
|
-
<line num="
|
|
2159
|
-
<line num="
|
|
2160
|
-
<line num="
|
|
2161
|
-
<line num="
|
|
2179
|
+
<line num="229" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2180
|
+
<line num="230" count="0" type="stmt"/>
|
|
2181
|
+
<line num="232" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2182
|
+
<line num="233" count="0" type="stmt"/>
|
|
2183
|
+
<line num="236" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2184
|
+
<line num="237" count="0" type="stmt"/>
|
|
2185
|
+
<line num="240" count="0" type="stmt"/>
|
|
2186
|
+
<line num="241" count="0" type="stmt"/>
|
|
2162
2187
|
<line num="244" count="0" type="stmt"/>
|
|
2163
|
-
<line num="246" count="0" type="
|
|
2164
|
-
<line num="
|
|
2165
|
-
<line num="
|
|
2166
|
-
<line num="
|
|
2167
|
-
<line num="
|
|
2168
|
-
<line num="256" count="0" type="stmt"/>
|
|
2169
|
-
<line num="257" count="0" type="stmt"/>
|
|
2170
|
-
<line num="262" count="0" type="stmt"/>
|
|
2188
|
+
<line num="246" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2189
|
+
<line num="249" count="0" type="stmt"/>
|
|
2190
|
+
<line num="258" count="0" type="stmt"/>
|
|
2191
|
+
<line num="259" count="0" type="stmt"/>
|
|
2192
|
+
<line num="260" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2171
2193
|
<line num="263" count="0" type="stmt"/>
|
|
2172
|
-
<line num="
|
|
2173
|
-
<line num="268" count="
|
|
2194
|
+
<line num="267" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2195
|
+
<line num="268" count="0" type="stmt"/>
|
|
2174
2196
|
<line num="269" count="0" type="stmt"/>
|
|
2175
|
-
<line num="
|
|
2176
|
-
<line num="271" count="0" type="stmt"/>
|
|
2177
|
-
<line num="273" count="0" type="stmt"/>
|
|
2178
|
-
<line num="275" count="0" type="stmt"/>
|
|
2197
|
+
<line num="274" count="0" type="stmt"/>
|
|
2179
2198
|
<line num="276" count="0" type="stmt"/>
|
|
2180
2199
|
<line num="277" count="0" type="stmt"/>
|
|
2181
2200
|
<line num="279" count="0" type="stmt"/>
|
|
2182
|
-
<line num="
|
|
2183
|
-
<line num="
|
|
2184
|
-
<line num="284" count="0" type="
|
|
2201
|
+
<line num="282" count="40" type="stmt"/>
|
|
2202
|
+
<line num="283" count="0" type="stmt"/>
|
|
2203
|
+
<line num="284" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2185
2204
|
<line num="285" count="0" type="stmt"/>
|
|
2186
2205
|
<line num="287" count="0" type="stmt"/>
|
|
2187
|
-
<line num="
|
|
2206
|
+
<line num="289" count="0" type="stmt"/>
|
|
2207
|
+
<line num="290" count="0" type="stmt"/>
|
|
2188
2208
|
<line num="291" count="0" type="stmt"/>
|
|
2189
|
-
<line num="
|
|
2190
|
-
<line num="293" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
2209
|
+
<line num="293" count="0" type="stmt"/>
|
|
2191
2210
|
<line num="294" count="0" type="stmt"/>
|
|
2192
2211
|
<line num="296" count="0" type="stmt"/>
|
|
2193
|
-
<line num="
|
|
2194
|
-
<line num="
|
|
2212
|
+
<line num="298" count="0" type="stmt"/>
|
|
2213
|
+
<line num="299" count="0" type="stmt"/>
|
|
2214
|
+
<line num="301" count="0" type="stmt"/>
|
|
2215
|
+
<line num="304" count="40" type="stmt"/>
|
|
2216
|
+
<line num="305" count="0" type="stmt"/>
|
|
2217
|
+
<line num="306" count="0" type="stmt"/>
|
|
2218
|
+
<line num="307" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
2219
|
+
<line num="308" count="0" type="stmt"/>
|
|
2220
|
+
<line num="310" count="0" type="stmt"/>
|
|
2221
|
+
<line num="314" count="0" type="stmt"/>
|
|
2222
|
+
<line num="317" count="0" type="stmt"/>
|
|
2195
2223
|
</file>
|
|
2196
2224
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/index.js">
|
|
2197
2225
|
<metrics statements="56" coveredstatements="44" conditionals="23" coveredconditionals="17" methods="9" coveredmethods="6"/>
|
|
@@ -2979,7 +3007,7 @@
|
|
|
2979
3007
|
<line num="13" count="24" type="stmt"/>
|
|
2980
3008
|
<line num="15" count="24" type="stmt"/>
|
|
2981
3009
|
<line num="17" count="24" type="stmt"/>
|
|
2982
|
-
<line num="
|
|
3010
|
+
<line num="276" count="24" type="stmt"/>
|
|
2983
3011
|
</file>
|
|
2984
3012
|
<file name="screen.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/screen.js">
|
|
2985
3013
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -4304,7 +4332,7 @@
|
|
|
4304
4332
|
<line num="61" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
4305
4333
|
<line num="62" count="3" type="stmt"/>
|
|
4306
4334
|
<line num="66" count="25" type="stmt"/>
|
|
4307
|
-
<line num="68" count="
|
|
4335
|
+
<line num="68" count="2703" type="stmt"/>
|
|
4308
4336
|
<line num="71" count="183" type="cond" truecount="4" falsecount="0"/>
|
|
4309
4337
|
<line num="72" count="1" type="stmt"/>
|
|
4310
4338
|
<line num="75" count="182" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -4441,18 +4469,18 @@
|
|
|
4441
4469
|
</file>
|
|
4442
4470
|
<file name="resourceId.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/resourceId.js">
|
|
4443
4471
|
<metrics statements="29" coveredstatements="29" conditionals="12" coveredconditionals="12" methods="9" coveredmethods="9"/>
|
|
4444
|
-
<line num="3" count="
|
|
4445
|
-
<line num="4" count="
|
|
4446
|
-
<line num="5" count="
|
|
4447
|
-
<line num="6" count="
|
|
4448
|
-
<line num="10" count="
|
|
4449
|
-
<line num="11" count="
|
|
4472
|
+
<line num="3" count="798" type="stmt"/>
|
|
4473
|
+
<line num="4" count="798" type="stmt"/>
|
|
4474
|
+
<line num="5" count="798" type="stmt"/>
|
|
4475
|
+
<line num="6" count="798" type="stmt"/>
|
|
4476
|
+
<line num="10" count="798" type="stmt"/>
|
|
4477
|
+
<line num="11" count="798" type="stmt"/>
|
|
4450
4478
|
<line num="15" count="99" type="stmt"/>
|
|
4451
4479
|
<line num="16" count="99" type="stmt"/>
|
|
4452
|
-
<line num="20" count="
|
|
4453
|
-
<line num="21" count="
|
|
4454
|
-
<line num="22" count="
|
|
4455
|
-
<line num="23" count="
|
|
4480
|
+
<line num="20" count="798" type="stmt"/>
|
|
4481
|
+
<line num="21" count="798" type="stmt"/>
|
|
4482
|
+
<line num="22" count="798" type="stmt"/>
|
|
4483
|
+
<line num="23" count="798" type="stmt"/>
|
|
4456
4484
|
<line num="24" count="86" type="cond" truecount="2" falsecount="0"/>
|
|
4457
4485
|
<line num="25" count="86" type="cond" truecount="2" falsecount="0"/>
|
|
4458
4486
|
<line num="26" count="1" type="stmt"/>
|
|
@@ -4463,7 +4491,7 @@
|
|
|
4463
4491
|
<line num="34" count="85" type="stmt"/>
|
|
4464
4492
|
<line num="39" count="25" type="stmt"/>
|
|
4465
4493
|
<line num="41" count="25" type="stmt"/>
|
|
4466
|
-
<line num="42" count="
|
|
4494
|
+
<line num="42" count="626" type="stmt"/>
|
|
4467
4495
|
<line num="45" count="25" type="stmt"/>
|
|
4468
4496
|
<line num="46" count="73" type="stmt"/>
|
|
4469
4497
|
<line num="52" count="25" type="stmt"/>
|