@budibase/server 1.0.95 → 1.0.98-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/builder/assets/{index.7c8961b4.css → index.0b7cf958.css} +1 -1
- package/builder/assets/index.55c226d0.js +1292 -0
- package/builder/assets/{vendor.a7c6ad0a.js → vendor.8e34a169.js} +1 -1
- package/builder/index.html +3 -3
- package/coverage/clover.xml +274 -273
- package/coverage/coverage-final.json +18 -18
- 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 +2 -2
- 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 +4 -4
- 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 +2 -2
- 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 +10 -10
- package/coverage/lcov-report/api/controllers/row/index.js.html +20 -20
- package/coverage/lcov-report/api/controllers/row/internal.js.html +47 -35
- 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 +6 -6
- 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 +4 -4
- package/coverage/lcov-report/api/controllers/table/index.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/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 +15 -15
- package/coverage/lcov-report/api/index.js.html +15 -27
- package/coverage/lcov-report/api/routes/analytics.js.html +3 -3
- 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 +1 -1
- package/coverage/lcov-report/api/routes/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.js.html +1 -1
- package/coverage/lcov-report/api/routes/static.js.html +3 -6
- 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 +3 -3
- 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 +10 -10
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +7 -7
- package/coverage/lcov-report/db/newid.js.html +2 -2
- package/coverage/lcov-report/db/utils.js.html +4 -4
- package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
- package/coverage/lcov-report/events/index.html +1 -1
- package/coverage/lcov-report/events/index.js.html +1 -1
- package/coverage/lcov-report/events/utils.js.html +1 -1
- package/coverage/lcov-report/index.html +25 -25
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
- package/coverage/lcov-report/middleware/authorized.js.html +1 -1
- package/coverage/lcov-report/middleware/builder.js.html +1 -1
- package/coverage/lcov-report/middleware/currentapp.js.html +15 -12
- 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 +3 -3
- package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/usageQuota.js.html +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 +24 -24
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +8 -8
- 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 +415 -416
- package/dist/api/controllers/auth.js +1 -1
- package/dist/api/controllers/public/rows.js +2 -2
- package/dist/api/controllers/query/import/index.js +2 -1
- package/dist/api/controllers/query/import/sources/base/index.js +12 -1
- package/dist/api/controllers/query/import/sources/curl.js +2 -2
- package/dist/api/controllers/query/import/sources/openapi3.js +174 -0
- package/dist/api/controllers/query/import/sources/tests/openapi3/data/crud/crud.json +253 -0
- package/dist/api/controllers/query/import/sources/tests/openapi3/data/petstore/petstore.json +1225 -0
- package/dist/api/controllers/row/internal.js +2 -1
- package/dist/api/controllers/static/index.js +2 -15
- package/dist/api/controllers/table/external.js +3 -3
- package/dist/api/index.js +3 -6
- package/dist/api/routes/analytics.js +2 -2
- package/dist/api/routes/static.js +1 -2
- package/dist/db/views/staticViews.js +2 -0
- package/dist/definitions/datasource.js +1 -0
- package/dist/integrations/base/sql.js +16 -9
- package/dist/integrations/dynamodb.js +3 -1
- package/dist/integrations/firebase.js +192 -0
- package/dist/integrations/index.js +3 -0
- package/dist/integrations/rest.js +2 -1
- package/dist/middleware/currentapp.js +7 -6
- package/dist/middleware/publicApi.js +2 -2
- package/dist/package.json +7 -8
- package/dist/tests/utilities/TestConfiguration.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -9
- package/scripts/dev/manage.js +2 -1
- package/src/api/controllers/auth.js +1 -1
- package/src/api/controllers/public/rows.ts +2 -4
- package/src/api/controllers/query/import/index.ts +2 -1
- package/src/api/controllers/query/import/sources/base/index.ts +12 -2
- package/src/api/controllers/query/import/sources/curl.ts +2 -2
- package/src/api/controllers/query/import/sources/openapi3.ts +205 -0
- package/src/api/controllers/query/import/sources/tests/openapi3/data/crud/crud.json +253 -0
- package/src/api/controllers/query/import/sources/tests/openapi3/data/crud/crud.yaml +153 -0
- package/src/api/controllers/query/import/sources/tests/openapi3/data/petstore/petstore.json +1225 -0
- package/src/api/controllers/query/import/sources/tests/openapi3/data/petstore/petstore.yaml +804 -0
- package/src/api/controllers/query/import/sources/tests/openapi3/openapi3.spec.js +240 -0
- package/src/api/controllers/query/import/tests/index.spec.js +43 -0
- package/src/api/controllers/row/internal.js +5 -1
- package/src/api/controllers/static/index.js +2 -18
- package/src/api/controllers/table/external.js +3 -3
- package/src/api/index.js +3 -7
- package/src/api/routes/analytics.js +2 -2
- package/src/api/routes/static.js +1 -2
- package/src/api/routes/tests/misc.spec.js +2 -2
- package/src/db/views/staticViews.js +2 -0
- package/src/definitions/datasource.ts +1 -0
- package/src/definitions/openapi.ts +472 -472
- package/src/integrations/base/sql.ts +14 -9
- package/src/integrations/dynamodb.ts +3 -1
- package/src/integrations/firebase.ts +205 -0
- package/src/integrations/index.ts +3 -0
- package/src/integrations/rest.ts +2 -1
- package/src/integrations/tests/sql.spec.js +51 -0
- package/src/middleware/currentapp.js +7 -6
- package/src/middleware/publicApi.js +2 -2
- package/src/middleware/tests/authorized.spec.js +1 -3
- package/src/middleware/tests/currentapp.spec.js +4 -4
- package/src/tests/utilities/TestConfiguration.js +1 -1
- package/.eslintrc +0 -13
- package/builder/assets/index.3544c466.js +0 -1291
package/coverage/clover.xml
CHANGED
|
@@ -1,42 +1,41 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1648217622394" clover="3.2.0">
|
|
3
|
+
<project timestamp="1648217622394" name="All files">
|
|
4
|
+
<metrics statements="5055" coveredstatements="3733" conditionals="2072" coveredconditionals="1124" methods="734" coveredmethods="526" elements="7861" coveredelements="5383" complexity="0" loc="5055" ncloc="5055" packages="23" files="147" classes="147"/>
|
|
5
5
|
<package name="api">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="30" coveredstatements="28" 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">
|
|
8
|
-
<metrics statements="
|
|
8
|
+
<metrics statements="30" coveredstatements="28" conditionals="5" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
9
9
|
<line num="1" count="24" type="stmt"/>
|
|
10
|
+
<line num="6" count="24" type="stmt"/>
|
|
10
11
|
<line num="7" count="24" type="stmt"/>
|
|
11
12
|
<line num="8" count="24" type="stmt"/>
|
|
12
13
|
<line num="9" count="24" type="stmt"/>
|
|
13
14
|
<line num="10" count="24" type="stmt"/>
|
|
14
15
|
<line num="11" count="24" type="stmt"/>
|
|
15
16
|
<line num="12" count="24" type="stmt"/>
|
|
16
|
-
<line num="
|
|
17
|
-
<line num="
|
|
17
|
+
<line num="14" count="24" type="stmt"/>
|
|
18
|
+
<line num="16" count="24" type="stmt"/>
|
|
18
19
|
<line num="17" count="24" type="stmt"/>
|
|
19
|
-
<line num="
|
|
20
|
-
<line num="
|
|
21
|
-
<line num="37" count="
|
|
22
|
-
<line num="
|
|
23
|
-
<line num="
|
|
24
|
-
<line num="
|
|
25
|
-
<line num="62" count="
|
|
26
|
-
<line num="
|
|
27
|
-
<line num="
|
|
28
|
-
<line num="
|
|
29
|
-
<line num="
|
|
30
|
-
<line num="
|
|
31
|
-
<line num="77" count="
|
|
32
|
-
<line num="
|
|
33
|
-
<line num="81" count="
|
|
34
|
-
<line num="82" count="
|
|
20
|
+
<line num="19" count="24" type="stmt"/>
|
|
21
|
+
<line num="33" count="188" type="stmt"/>
|
|
22
|
+
<line num="37" count="188" type="stmt"/>
|
|
23
|
+
<line num="58" count="24" type="stmt"/>
|
|
24
|
+
<line num="59" count="186" type="stmt"/>
|
|
25
|
+
<line num="60" count="186" type="stmt"/>
|
|
26
|
+
<line num="62" count="39" type="cond" truecount="1" falsecount="2"/>
|
|
27
|
+
<line num="63" count="39" type="stmt"/>
|
|
28
|
+
<line num="68" count="39" type="cond" truecount="1" falsecount="1"/>
|
|
29
|
+
<line num="69" count="0" type="stmt"/>
|
|
30
|
+
<line num="70" count="0" type="stmt"/>
|
|
31
|
+
<line num="76" count="24" type="stmt"/>
|
|
32
|
+
<line num="77" count="624" type="stmt"/>
|
|
33
|
+
<line num="78" count="624" type="stmt"/>
|
|
34
|
+
<line num="81" count="24" type="stmt"/>
|
|
35
|
+
<line num="82" count="24" type="stmt"/>
|
|
35
36
|
<line num="85" count="24" type="stmt"/>
|
|
36
37
|
<line num="86" count="24" type="stmt"/>
|
|
37
|
-
<line num="
|
|
38
|
-
<line num="90" count="24" type="stmt"/>
|
|
39
|
-
<line num="92" count="24" type="stmt"/>
|
|
38
|
+
<line num="88" count="24" type="stmt"/>
|
|
40
39
|
</file>
|
|
41
40
|
</package>
|
|
42
41
|
<package name="api.controllers">
|
|
@@ -497,10 +496,10 @@
|
|
|
497
496
|
<line num="19" count="1" type="stmt"/>
|
|
498
497
|
<line num="20" count="1" type="stmt"/>
|
|
499
498
|
<line num="21" count="1" type="stmt"/>
|
|
500
|
-
<line num="22" count="
|
|
499
|
+
<line num="22" count="52" type="cond" truecount="2" falsecount="0"/>
|
|
501
500
|
<line num="23" count="1" type="stmt"/>
|
|
502
|
-
<line num="25" count="
|
|
503
|
-
<line num="26" count="
|
|
501
|
+
<line num="25" count="51" type="stmt"/>
|
|
502
|
+
<line num="26" count="51" type="stmt"/>
|
|
504
503
|
<line num="33" count="1" type="stmt"/>
|
|
505
504
|
</file>
|
|
506
505
|
<file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/datasource.js">
|
|
@@ -1311,7 +1310,7 @@
|
|
|
1311
1310
|
<line num="2" count="41" type="stmt"/>
|
|
1312
1311
|
<line num="4" count="41" type="stmt"/>
|
|
1313
1312
|
<line num="6" count="41" type="stmt"/>
|
|
1314
|
-
<line num="7" count="
|
|
1313
|
+
<line num="7" count="33" type="stmt"/>
|
|
1315
1314
|
<line num="28" count="41" type="stmt"/>
|
|
1316
1315
|
<line num="30" count="24" type="stmt"/>
|
|
1317
1316
|
<line num="33" count="41" type="stmt"/>
|
|
@@ -1319,7 +1318,7 @@
|
|
|
1319
1318
|
</file>
|
|
1320
1319
|
</package>
|
|
1321
1320
|
<package name="api.controllers.row">
|
|
1322
|
-
<metrics statements="
|
|
1321
|
+
<metrics statements="677" coveredstatements="419" conditionals="298" coveredconditionals="127" methods="98" coveredmethods="57"/>
|
|
1323
1322
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
|
|
1324
1323
|
<metrics statements="110" coveredstatements="18" conditionals="46" coveredconditionals="0" methods="15" coveredmethods="0"/>
|
|
1325
1324
|
<line num="6" count="40" type="stmt"/>
|
|
@@ -1441,37 +1440,37 @@
|
|
|
1441
1440
|
<line num="6" count="119" type="cond" truecount="1" falsecount="1"/>
|
|
1442
1441
|
<line num="7" count="0" type="stmt"/>
|
|
1443
1442
|
<line num="9" count="118" type="stmt"/>
|
|
1444
|
-
<line num="13" count="
|
|
1445
|
-
<line num="14" count="
|
|
1446
|
-
<line num="16" count="
|
|
1447
|
-
<line num="17" count="
|
|
1443
|
+
<line num="13" count="122" type="cond" truecount="4" falsecount="0"/>
|
|
1444
|
+
<line num="14" count="80" type="stmt"/>
|
|
1445
|
+
<line num="16" count="42" type="cond" truecount="4" falsecount="0"/>
|
|
1446
|
+
<line num="17" count="34" type="stmt"/>
|
|
1448
1447
|
<line num="19" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1449
1448
|
<line num="20" count="7" type="stmt"/>
|
|
1450
1449
|
<line num="24" count="40" type="stmt"/>
|
|
1451
|
-
<line num="25" count="
|
|
1452
|
-
<line num="26" count="
|
|
1453
|
-
<line num="27" count="
|
|
1454
|
-
<line num="29" count="
|
|
1450
|
+
<line num="25" count="7" type="stmt"/>
|
|
1451
|
+
<line num="26" count="7" type="stmt"/>
|
|
1452
|
+
<line num="27" count="7" type="stmt"/>
|
|
1453
|
+
<line num="29" count="7" type="cond" truecount="3" falsecount="1"/>
|
|
1455
1454
|
<line num="30" count="0" type="stmt"/>
|
|
1456
|
-
<line num="32" count="
|
|
1457
|
-
<line num="33" count="
|
|
1458
|
-
<line num="34" count="
|
|
1459
|
-
<line num="35" count="
|
|
1460
|
-
<line num="37" count="
|
|
1461
|
-
<line num="38" count="
|
|
1455
|
+
<line num="32" count="7" type="stmt"/>
|
|
1456
|
+
<line num="33" count="7" type="stmt"/>
|
|
1457
|
+
<line num="34" count="5" type="stmt"/>
|
|
1458
|
+
<line num="35" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1459
|
+
<line num="37" count="5" type="stmt"/>
|
|
1460
|
+
<line num="38" count="5" type="stmt"/>
|
|
1462
1461
|
<line num="40" count="2" type="stmt"/>
|
|
1463
1462
|
<line num="44" count="40" type="stmt"/>
|
|
1464
1463
|
<line num="45" count="74" type="stmt"/>
|
|
1465
1464
|
<line num="46" count="74" type="stmt"/>
|
|
1466
1465
|
<line num="47" count="74" type="stmt"/>
|
|
1467
1466
|
<line num="49" count="74" type="cond" truecount="4" falsecount="0"/>
|
|
1468
|
-
<line num="50" count="
|
|
1469
|
-
<line num="52" count="
|
|
1470
|
-
<line num="53" count="
|
|
1471
|
-
<line num="54" count="
|
|
1472
|
-
<line num="55" count="
|
|
1473
|
-
<line num="56" count="
|
|
1474
|
-
<line num="57" count="
|
|
1467
|
+
<line num="50" count="3" type="stmt"/>
|
|
1468
|
+
<line num="52" count="71" type="stmt"/>
|
|
1469
|
+
<line num="53" count="71" type="stmt"/>
|
|
1470
|
+
<line num="54" count="70" type="stmt"/>
|
|
1471
|
+
<line num="55" count="70" type="cond" truecount="2" falsecount="0"/>
|
|
1472
|
+
<line num="56" count="70" type="stmt"/>
|
|
1473
|
+
<line num="57" count="70" type="stmt"/>
|
|
1475
1474
|
<line num="59" count="1" type="stmt"/>
|
|
1476
1475
|
<line num="63" count="40" type="stmt"/>
|
|
1477
1476
|
<line num="64" count="7" type="stmt"/>
|
|
@@ -1527,7 +1526,7 @@
|
|
|
1527
1526
|
<line num="146" count="0" type="stmt"/>
|
|
1528
1527
|
</file>
|
|
1529
1528
|
<file name="internal.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internal.js">
|
|
1530
|
-
<metrics statements="
|
|
1529
|
+
<metrics statements="211" coveredstatements="170" conditionals="62" coveredconditionals="39" methods="26" coveredmethods="22"/>
|
|
1531
1530
|
<line num="1" count="40" type="stmt"/>
|
|
1532
1531
|
<line num="8" count="40" type="stmt"/>
|
|
1533
1532
|
<line num="9" count="40" type="stmt"/>
|
|
@@ -1567,177 +1566,178 @@
|
|
|
1567
1566
|
<line num="76" count="10" type="stmt"/>
|
|
1568
1567
|
<line num="78" count="5" type="stmt"/>
|
|
1569
1568
|
<line num="81" count="40" type="stmt"/>
|
|
1570
|
-
<line num="82" count="
|
|
1571
|
-
<line num="83" count="
|
|
1572
|
-
<line num="84" count="
|
|
1573
|
-
<line num="85" count="
|
|
1574
|
-
<line num="87" count="
|
|
1575
|
-
<line num="88" count="
|
|
1576
|
-
<line num="
|
|
1577
|
-
<line num="
|
|
1569
|
+
<line num="82" count="6" type="stmt"/>
|
|
1570
|
+
<line num="83" count="6" type="stmt"/>
|
|
1571
|
+
<line num="84" count="6" type="stmt"/>
|
|
1572
|
+
<line num="85" count="6" type="stmt"/>
|
|
1573
|
+
<line num="87" count="6" type="stmt"/>
|
|
1574
|
+
<line num="88" count="6" type="stmt"/>
|
|
1575
|
+
<line num="89" count="6" type="stmt"/>
|
|
1576
|
+
<line num="94" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1578
1577
|
<line num="97" count="0" type="stmt"/>
|
|
1579
|
-
<line num="
|
|
1580
|
-
<line num="
|
|
1581
|
-
<line num="
|
|
1582
|
-
<line num="
|
|
1583
|
-
<line num="
|
|
1584
|
-
<line num="109" count="
|
|
1585
|
-
<line num="
|
|
1586
|
-
<line num="
|
|
1587
|
-
<line num="
|
|
1588
|
-
<line num="120" count="
|
|
1589
|
-
<line num="
|
|
1590
|
-
<line num="
|
|
1591
|
-
<line num="
|
|
1592
|
-
<line num="
|
|
1593
|
-
<line num="
|
|
1594
|
-
<line num="
|
|
1595
|
-
<line num="
|
|
1596
|
-
<line num="
|
|
1597
|
-
<line num="
|
|
1598
|
-
<line num="
|
|
1599
|
-
<line num="
|
|
1600
|
-
<line num="
|
|
1601
|
-
<line num="152" count="
|
|
1602
|
-
<line num="
|
|
1603
|
-
<line num="
|
|
1604
|
-
<line num="
|
|
1605
|
-
<line num="
|
|
1606
|
-
<line num="164" count="
|
|
1607
|
-
<line num="
|
|
1608
|
-
<line num="
|
|
1609
|
-
<line num="
|
|
1610
|
-
<line num="
|
|
1611
|
-
<line num="
|
|
1612
|
-
<line num="
|
|
1613
|
-
<line num="
|
|
1614
|
-
<line num="
|
|
1615
|
-
<line num="
|
|
1616
|
-
<line num="
|
|
1617
|
-
<line num="
|
|
1618
|
-
<line num="
|
|
1619
|
-
<line num="
|
|
1620
|
-
<line num="
|
|
1621
|
-
<line num="202" count="
|
|
1622
|
-
<line num="
|
|
1623
|
-
<line num="
|
|
1624
|
-
<line num="
|
|
1625
|
-
<line num="
|
|
1626
|
-
<line num="216" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1578
|
+
<line num="101" count="0" type="stmt"/>
|
|
1579
|
+
<line num="104" count="6" type="stmt"/>
|
|
1580
|
+
<line num="106" count="6" type="stmt"/>
|
|
1581
|
+
<line num="107" count="6" type="stmt"/>
|
|
1582
|
+
<line num="108" count="26" type="cond" truecount="2" falsecount="0"/>
|
|
1583
|
+
<line num="109" count="7" type="stmt"/>
|
|
1584
|
+
<line num="113" count="6" type="stmt"/>
|
|
1585
|
+
<line num="114" count="6" type="stmt"/>
|
|
1586
|
+
<line num="119" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
1587
|
+
<line num="120" count="1" type="stmt"/>
|
|
1588
|
+
<line num="124" count="5" type="stmt"/>
|
|
1589
|
+
<line num="131" count="5" type="stmt"/>
|
|
1590
|
+
<line num="133" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
1591
|
+
<line num="135" count="0" type="stmt"/>
|
|
1592
|
+
<line num="136" count="0" type="stmt"/>
|
|
1593
|
+
<line num="137" count="0" type="stmt"/>
|
|
1594
|
+
<line num="140" count="5" type="stmt"/>
|
|
1595
|
+
<line num="146" count="40" type="stmt"/>
|
|
1596
|
+
<line num="147" count="71" type="stmt"/>
|
|
1597
|
+
<line num="148" count="71" type="stmt"/>
|
|
1598
|
+
<line num="149" count="71" type="stmt"/>
|
|
1599
|
+
<line num="151" count="71" type="cond" truecount="3" falsecount="1"/>
|
|
1600
|
+
<line num="152" count="71" type="stmt"/>
|
|
1601
|
+
<line num="156" count="71" type="stmt"/>
|
|
1602
|
+
<line num="157" count="71" type="stmt"/>
|
|
1603
|
+
<line num="158" count="71" type="stmt"/>
|
|
1604
|
+
<line num="163" count="71" type="cond" truecount="1" falsecount="1"/>
|
|
1605
|
+
<line num="164" count="0" type="stmt"/>
|
|
1606
|
+
<line num="168" count="71" type="stmt"/>
|
|
1607
|
+
<line num="175" count="70" type="stmt"/>
|
|
1608
|
+
<line num="181" count="40" type="stmt"/>
|
|
1609
|
+
<line num="182" count="7" type="stmt"/>
|
|
1610
|
+
<line num="185" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
1611
|
+
<line num="186" count="1" type="stmt"/>
|
|
1612
|
+
<line num="187" count="1" type="stmt"/>
|
|
1613
|
+
<line num="190" count="6" type="stmt"/>
|
|
1614
|
+
<line num="191" count="6" type="stmt"/>
|
|
1615
|
+
<line num="192" count="6" type="stmt"/>
|
|
1616
|
+
<line num="194" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
1617
|
+
<line num="195" count="5" type="stmt"/>
|
|
1618
|
+
<line num="200" count="0" type="stmt"/>
|
|
1619
|
+
<line num="201" count="0" type="stmt"/>
|
|
1620
|
+
<line num="202" count="0" type="stmt"/>
|
|
1621
|
+
<line num="206" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1622
|
+
<line num="207" count="3" type="stmt"/>
|
|
1623
|
+
<line num="209" count="3" type="stmt"/>
|
|
1624
|
+
<line num="210" count="3" type="stmt"/>
|
|
1627
1625
|
<line num="217" count="3" type="stmt"/>
|
|
1628
|
-
<line num="
|
|
1629
|
-
<line num="
|
|
1630
|
-
<line num="
|
|
1631
|
-
<line num="
|
|
1632
|
-
<line num="
|
|
1626
|
+
<line num="220" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1627
|
+
<line num="221" count="3" type="stmt"/>
|
|
1628
|
+
<line num="227" count="2" type="stmt"/>
|
|
1629
|
+
<line num="230" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
1630
|
+
<line num="234" count="0" type="stmt"/>
|
|
1633
1631
|
<line num="240" count="5" type="stmt"/>
|
|
1634
|
-
<line num="
|
|
1635
|
-
<line num="243" count="5" type="stmt"/>
|
|
1632
|
+
<line num="243" count="40" type="stmt"/>
|
|
1636
1633
|
<line num="244" count="5" type="stmt"/>
|
|
1637
|
-
<line num="
|
|
1638
|
-
<line num="
|
|
1639
|
-
<line num="
|
|
1640
|
-
<line num="
|
|
1641
|
-
<line num="
|
|
1642
|
-
<line num="
|
|
1643
|
-
<line num="
|
|
1644
|
-
<line num="
|
|
1645
|
-
<line num="
|
|
1646
|
-
<line num="
|
|
1647
|
-
<line num="
|
|
1648
|
-
<line num="261" count="
|
|
1649
|
-
<line num="262" count="
|
|
1650
|
-
<line num="
|
|
1651
|
-
<line num="
|
|
1634
|
+
<line num="246" count="5" type="stmt"/>
|
|
1635
|
+
<line num="247" count="5" type="stmt"/>
|
|
1636
|
+
<line num="248" count="5" type="stmt"/>
|
|
1637
|
+
<line num="249" count="5" type="stmt"/>
|
|
1638
|
+
<line num="252" count="40" type="stmt"/>
|
|
1639
|
+
<line num="253" count="18" type="stmt"/>
|
|
1640
|
+
<line num="254" count="18" type="stmt"/>
|
|
1641
|
+
<line num="255" count="18" type="stmt"/>
|
|
1642
|
+
<line num="256" count="15" type="stmt"/>
|
|
1643
|
+
<line num="257" count="15" type="stmt"/>
|
|
1644
|
+
<line num="260" count="40" type="stmt"/>
|
|
1645
|
+
<line num="261" count="4" type="stmt"/>
|
|
1646
|
+
<line num="262" count="4" type="stmt"/>
|
|
1647
|
+
<line num="263" count="4" type="stmt"/>
|
|
1648
|
+
<line num="265" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1649
|
+
<line num="266" count="0" type="stmt"/>
|
|
1652
1650
|
<line num="268" count="3" type="stmt"/>
|
|
1653
|
-
<line num="
|
|
1654
|
-
<line num="
|
|
1655
|
-
<line num="
|
|
1656
|
-
<line num="280" count="
|
|
1657
|
-
<line num="283" count="
|
|
1651
|
+
<line num="270" count="3" type="stmt"/>
|
|
1652
|
+
<line num="272" count="3" type="stmt"/>
|
|
1653
|
+
<line num="278" count="3" type="stmt"/>
|
|
1654
|
+
<line num="280" count="3" type="stmt"/>
|
|
1655
|
+
<line num="283" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1658
1656
|
<line num="284" count="0" type="stmt"/>
|
|
1659
|
-
<line num="
|
|
1660
|
-
<line num="288" count="
|
|
1661
|
-
<line num="
|
|
1662
|
-
<line num="292" count="
|
|
1663
|
-
<line num="
|
|
1664
|
-
<line num="
|
|
1665
|
-
<line num="
|
|
1657
|
+
<line num="287" count="0" type="stmt"/>
|
|
1658
|
+
<line num="288" count="0" type="stmt"/>
|
|
1659
|
+
<line num="290" count="3" type="stmt"/>
|
|
1660
|
+
<line num="292" count="3" type="stmt"/>
|
|
1661
|
+
<line num="295" count="40" type="stmt"/>
|
|
1662
|
+
<line num="296" count="2" type="stmt"/>
|
|
1663
|
+
<line num="297" count="2" type="stmt"/>
|
|
1664
|
+
<line num="298" count="2" type="stmt"/>
|
|
1666
1665
|
<line num="299" count="2" type="stmt"/>
|
|
1667
|
-
<line num="
|
|
1668
|
-
<line num="
|
|
1669
|
-
<line num="
|
|
1670
|
-
<line num="
|
|
1671
|
-
<line num="
|
|
1672
|
-
<line num="
|
|
1673
|
-
<line num="319" count="
|
|
1674
|
-
<line num="
|
|
1675
|
-
<line num="
|
|
1676
|
-
<line num="
|
|
1677
|
-
<line num="
|
|
1678
|
-
<line num="
|
|
1679
|
-
<line num="
|
|
1680
|
-
<line num="
|
|
1681
|
-
<line num="
|
|
1682
|
-
<line num="335" count="2" type="stmt"/>
|
|
1683
|
-
<line num="336" count="2" type="stmt"/>
|
|
1684
|
-
<line num="337" count="2" type="stmt"/>
|
|
1666
|
+
<line num="303" count="2" type="stmt"/>
|
|
1667
|
+
<line num="306" count="2" type="stmt"/>
|
|
1668
|
+
<line num="307" count="3" type="stmt"/>
|
|
1669
|
+
<line num="313" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1670
|
+
<line num="314" count="0" type="stmt"/>
|
|
1671
|
+
<line num="316" count="0" type="stmt"/>
|
|
1672
|
+
<line num="319" count="0" type="stmt"/>
|
|
1673
|
+
<line num="323" count="3" type="stmt"/>
|
|
1674
|
+
<line num="326" count="2" type="stmt"/>
|
|
1675
|
+
<line num="327" count="2" type="stmt"/>
|
|
1676
|
+
<line num="328" count="2" type="stmt"/>
|
|
1677
|
+
<line num="329" count="2" type="stmt"/>
|
|
1678
|
+
<line num="332" count="40" type="stmt"/>
|
|
1679
|
+
<line num="334" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1680
|
+
<line num="335" count="0" type="stmt"/>
|
|
1685
1681
|
<line num="338" count="2" type="stmt"/>
|
|
1686
|
-
<line num="
|
|
1687
|
-
<line num="
|
|
1688
|
-
<line num="
|
|
1689
|
-
<line num="
|
|
1690
|
-
<line num="
|
|
1691
|
-
<line num="
|
|
1692
|
-
<line num="
|
|
1693
|
-
<line num="
|
|
1682
|
+
<line num="339" count="2" type="stmt"/>
|
|
1683
|
+
<line num="340" count="2" type="stmt"/>
|
|
1684
|
+
<line num="341" count="2" type="stmt"/>
|
|
1685
|
+
<line num="342" count="2" type="stmt"/>
|
|
1686
|
+
<line num="345" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1687
|
+
<line num="346" count="0" type="stmt"/>
|
|
1688
|
+
<line num="348" count="2" type="stmt"/>
|
|
1689
|
+
<line num="352" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
1690
|
+
<line num="354" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1691
|
+
<line num="355" count="0" type="stmt"/>
|
|
1694
1692
|
<line num="357" count="2" type="stmt"/>
|
|
1695
|
-
<line num="
|
|
1693
|
+
<line num="358" count="2" type="stmt"/>
|
|
1696
1694
|
<line num="361" count="2" type="stmt"/>
|
|
1697
|
-
<line num="
|
|
1698
|
-
<line num="
|
|
1699
|
-
<line num="
|
|
1700
|
-
<line num="370" count="0" type="stmt"/>
|
|
1701
|
-
<line num="371" count="0" type="stmt"/>
|
|
1695
|
+
<line num="364" count="40" type="stmt"/>
|
|
1696
|
+
<line num="365" count="2" type="stmt"/>
|
|
1697
|
+
<line num="371" count="40" type="stmt"/>
|
|
1702
1698
|
<line num="372" count="0" type="stmt"/>
|
|
1703
|
-
<line num="
|
|
1704
|
-
<line num="
|
|
1699
|
+
<line num="373" count="0" type="stmt"/>
|
|
1700
|
+
<line num="374" count="0" type="stmt"/>
|
|
1701
|
+
<line num="375" count="0" type="stmt"/>
|
|
1702
|
+
<line num="376" count="0" type="stmt"/>
|
|
1705
1703
|
<line num="381" count="0" type="stmt"/>
|
|
1706
|
-
<line num="382" count="0" type="stmt"/>
|
|
1707
1704
|
<line num="383" count="0" type="stmt"/>
|
|
1705
|
+
<line num="385" count="0" type="stmt"/>
|
|
1708
1706
|
<line num="386" count="0" type="stmt"/>
|
|
1709
1707
|
<line num="387" count="0" type="stmt"/>
|
|
1710
|
-
<line num="390" count="
|
|
1711
|
-
<line num="391" count="
|
|
1712
|
-
<line num="
|
|
1713
|
-
<line num="393" count="2" type="stmt"/>
|
|
1708
|
+
<line num="390" count="0" type="stmt"/>
|
|
1709
|
+
<line num="391" count="0" type="stmt"/>
|
|
1710
|
+
<line num="394" count="40" type="stmt"/>
|
|
1714
1711
|
<line num="395" count="2" type="stmt"/>
|
|
1715
|
-
<line num="
|
|
1716
|
-
<line num="
|
|
1717
|
-
<line num="
|
|
1718
|
-
<line num="
|
|
1719
|
-
<line num="
|
|
1720
|
-
<line num="
|
|
1721
|
-
<line num="414" count="
|
|
1722
|
-
<line num="
|
|
1723
|
-
<line num="
|
|
1724
|
-
<line num="418" count="
|
|
1712
|
+
<line num="396" count="2" type="stmt"/>
|
|
1713
|
+
<line num="397" count="2" type="stmt"/>
|
|
1714
|
+
<line num="399" count="2" type="stmt"/>
|
|
1715
|
+
<line num="404" count="2" type="stmt"/>
|
|
1716
|
+
<line num="409" count="2" type="stmt"/>
|
|
1717
|
+
<line num="412" count="1" type="stmt"/>
|
|
1718
|
+
<line num="414" count="1" type="stmt"/>
|
|
1719
|
+
<line num="416" count="2" type="stmt"/>
|
|
1720
|
+
<line num="417" count="2" type="stmt"/>
|
|
1721
|
+
<line num="418" count="2" type="stmt"/>
|
|
1725
1722
|
<line num="419" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1726
|
-
<line num="420" count="
|
|
1727
|
-
<line num="
|
|
1728
|
-
<line num="423" count="
|
|
1729
|
-
<line num="
|
|
1730
|
-
<line num="
|
|
1731
|
-
<line num="
|
|
1732
|
-
<line num="
|
|
1733
|
-
<line num="
|
|
1734
|
-
<line num="
|
|
1735
|
-
<line num="439" count="
|
|
1736
|
-
<line num="440" count="
|
|
1737
|
-
<line num="441" count="
|
|
1723
|
+
<line num="420" count="0" type="stmt"/>
|
|
1724
|
+
<line num="422" count="1" type="stmt"/>
|
|
1725
|
+
<line num="423" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1726
|
+
<line num="424" count="1" type="stmt"/>
|
|
1727
|
+
<line num="425" count="1" type="stmt"/>
|
|
1728
|
+
<line num="427" count="0" type="stmt"/>
|
|
1729
|
+
<line num="430" count="2" type="stmt"/>
|
|
1730
|
+
<line num="431" count="2" type="stmt"/>
|
|
1731
|
+
<line num="433" count="1" type="stmt"/>
|
|
1732
|
+
<line num="439" count="2" type="stmt"/>
|
|
1733
|
+
<line num="440" count="5" type="stmt"/>
|
|
1734
|
+
<line num="441" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1738
1735
|
<line num="443" count="1" type="stmt"/>
|
|
1739
1736
|
<line num="444" count="1" type="stmt"/>
|
|
1740
|
-
<line num="
|
|
1737
|
+
<line num="445" count="1" type="stmt"/>
|
|
1738
|
+
<line num="447" count="1" type="stmt"/>
|
|
1739
|
+
<line num="448" count="1" type="stmt"/>
|
|
1740
|
+
<line num="452" count="2" type="stmt"/>
|
|
1741
1741
|
</file>
|
|
1742
1742
|
<file name="internalSearch.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internalSearch.js">
|
|
1743
1743
|
<metrics statements="152" coveredstatements="93" conditionals="95" coveredconditionals="38" methods="33" coveredmethods="18"/>
|
|
@@ -1978,15 +1978,15 @@
|
|
|
1978
1978
|
<line num="22" count="1" type="stmt"/>
|
|
1979
1979
|
<line num="23" count="1" type="stmt"/>
|
|
1980
1980
|
<line num="26" count="40" type="stmt"/>
|
|
1981
|
-
<line num="27" count="
|
|
1982
|
-
<line num="30" count="
|
|
1981
|
+
<line num="27" count="26" type="stmt"/>
|
|
1982
|
+
<line num="30" count="26" type="cond" truecount="1" falsecount="1"/>
|
|
1983
1983
|
<line num="31" count="0" type="stmt"/>
|
|
1984
1984
|
<line num="34" count="0" type="stmt"/>
|
|
1985
1985
|
<line num="35" count="0" type="stmt"/>
|
|
1986
|
-
<line num="37" count="
|
|
1987
|
-
<line num="39" count="
|
|
1986
|
+
<line num="37" count="26" type="stmt"/>
|
|
1987
|
+
<line num="39" count="23" type="cond" truecount="1" falsecount="1"/>
|
|
1988
1988
|
<line num="40" count="0" type="stmt"/>
|
|
1989
|
-
<line num="42" count="
|
|
1989
|
+
<line num="42" count="23" type="stmt"/>
|
|
1990
1990
|
<line num="45" count="40" type="stmt"/>
|
|
1991
1991
|
<line num="46" count="79" type="cond" truecount="2" falsecount="0"/>
|
|
1992
1992
|
<line num="47" count="2" type="stmt"/>
|
|
@@ -3058,7 +3058,7 @@
|
|
|
3058
3058
|
<line num="33" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
3059
3059
|
<line num="34" count="24" type="stmt"/>
|
|
3060
3060
|
<line num="37" count="24" type="stmt"/>
|
|
3061
|
-
<line num="
|
|
3061
|
+
<line num="54" count="24" type="stmt"/>
|
|
3062
3062
|
</file>
|
|
3063
3063
|
<file name="table.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/table.js">
|
|
3064
3064
|
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -3292,9 +3292,9 @@
|
|
|
3292
3292
|
<line num="51" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
3293
3293
|
<line num="55" count="4" type="stmt"/>
|
|
3294
3294
|
<line num="61" count="39" type="stmt"/>
|
|
3295
|
-
<line num="66" count="
|
|
3295
|
+
<line num="66" count="9" type="stmt"/>
|
|
3296
3296
|
<line num="69" count="39" type="stmt"/>
|
|
3297
|
-
<line num="74" count="
|
|
3297
|
+
<line num="74" count="4" type="stmt"/>
|
|
3298
3298
|
<line num="77" count="39" type="stmt"/>
|
|
3299
3299
|
<line num="82" count="6" type="stmt"/>
|
|
3300
3300
|
<line num="85" count="39" type="stmt"/>
|
|
@@ -3823,7 +3823,7 @@
|
|
|
3823
3823
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3824
3824
|
<line num="1" count="55" type="stmt"/>
|
|
3825
3825
|
<line num="3" count="55" type="stmt"/>
|
|
3826
|
-
<line num="4" count="
|
|
3826
|
+
<line num="4" count="995" type="stmt"/>
|
|
3827
3827
|
</file>
|
|
3828
3828
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3829
3829
|
<metrics statements="113" coveredstatements="103" conditionals="51" coveredconditionals="19" methods="32" coveredmethods="27"/>
|
|
@@ -3872,8 +3872,8 @@
|
|
|
3872
3872
|
<line num="155" count="0" type="stmt"/>
|
|
3873
3873
|
<line num="158" count="0" type="stmt"/>
|
|
3874
3874
|
<line num="167" count="55" type="cond" truecount="1" falsecount="0"/>
|
|
3875
|
-
<line num="168" count="
|
|
3876
|
-
<line num="169" count="
|
|
3875
|
+
<line num="168" count="265" type="cond" truecount="2" falsecount="0"/>
|
|
3876
|
+
<line num="169" count="265" type="stmt"/>
|
|
3877
3877
|
<line num="175" count="55" type="cond" truecount="0" falsecount="2"/>
|
|
3878
3878
|
<line num="176" count="3" type="stmt"/>
|
|
3879
3879
|
<line num="184" count="55" type="stmt"/>
|
|
@@ -3920,7 +3920,7 @@
|
|
|
3920
3920
|
<line num="326" count="55" type="cond" truecount="0" falsecount="2"/>
|
|
3921
3921
|
<line num="327" count="4" type="stmt"/>
|
|
3922
3922
|
<line num="334" count="55" type="stmt"/>
|
|
3923
|
-
<line num="335" count="
|
|
3923
|
+
<line num="335" count="131" type="stmt"/>
|
|
3924
3924
|
<line num="343" count="55" type="cond" truecount="0" falsecount="2"/>
|
|
3925
3925
|
<line num="344" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
3926
3926
|
<line num="345" count="3" type="stmt"/>
|
|
@@ -4154,9 +4154,9 @@
|
|
|
4154
4154
|
<line num="135" count="1" type="stmt"/>
|
|
4155
4155
|
<line num="137" count="0" type="stmt"/>
|
|
4156
4156
|
<line num="148" count="40" type="stmt"/>
|
|
4157
|
-
<line num="149" count="
|
|
4158
|
-
<line num="150" count="
|
|
4159
|
-
<line num="151" count="
|
|
4157
|
+
<line num="149" count="113" type="stmt"/>
|
|
4158
|
+
<line num="150" count="113" type="cond" truecount="2" falsecount="0"/>
|
|
4159
|
+
<line num="151" count="83" type="stmt"/>
|
|
4160
4160
|
<line num="154" count="30" type="stmt"/>
|
|
4161
4161
|
<line num="155" count="25" type="stmt"/>
|
|
4162
4162
|
<line num="158" count="30" type="stmt"/>
|
|
@@ -4174,12 +4174,12 @@
|
|
|
4174
4174
|
<line num="173" count="18" type="stmt"/>
|
|
4175
4175
|
<line num="178" count="30" type="stmt"/>
|
|
4176
4176
|
<line num="187" count="40" type="stmt"/>
|
|
4177
|
-
<line num="189" count="
|
|
4178
|
-
<line num="190" count="
|
|
4179
|
-
<line num="192" count="
|
|
4180
|
-
<line num="193" count="
|
|
4181
|
-
<line num="194" count="
|
|
4182
|
-
<line num="195" count="
|
|
4177
|
+
<line num="189" count="33" type="stmt"/>
|
|
4178
|
+
<line num="190" count="33" type="stmt"/>
|
|
4179
|
+
<line num="192" count="39" type="stmt"/>
|
|
4180
|
+
<line num="193" count="39" type="stmt"/>
|
|
4181
|
+
<line num="194" count="117" type="cond" truecount="4" falsecount="0"/>
|
|
4182
|
+
<line num="195" count="108" type="stmt"/>
|
|
4183
4183
|
<line num="197" count="9" type="stmt"/>
|
|
4184
4184
|
<line num="198" count="9" type="stmt"/>
|
|
4185
4185
|
<line num="199" count="9" type="cond" truecount="1" falsecount="1"/>
|
|
@@ -4189,7 +4189,7 @@
|
|
|
4189
4189
|
<line num="203" count="8" type="stmt"/>
|
|
4190
4190
|
<line num="205" count="9" type="stmt"/>
|
|
4191
4191
|
<line num="207" count="9" type="stmt"/>
|
|
4192
|
-
<line num="210" count="
|
|
4192
|
+
<line num="210" count="33" type="stmt"/>
|
|
4193
4193
|
</file>
|
|
4194
4194
|
<file name="linkUtils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/linkUtils.js">
|
|
4195
4195
|
<metrics statements="54" coveredstatements="50" conditionals="26" coveredconditionals="20" methods="13" coveredmethods="13"/>
|
|
@@ -4227,14 +4227,14 @@
|
|
|
4227
4227
|
<line num="80" count="30" type="stmt"/>
|
|
4228
4228
|
<line num="81" count="33" type="stmt"/>
|
|
4229
4229
|
<line num="85" count="40" type="stmt"/>
|
|
4230
|
-
<line num="86" count="
|
|
4231
|
-
<line num="87" count="
|
|
4230
|
+
<line num="86" count="113" type="stmt"/>
|
|
4231
|
+
<line num="87" count="322" type="stmt"/>
|
|
4232
4232
|
<line num="88" count="53" type="stmt"/>
|
|
4233
4233
|
<line num="91" count="40" type="stmt"/>
|
|
4234
|
-
<line num="92" count="
|
|
4235
|
-
<line num="93" count="
|
|
4236
|
-
<line num="94" count="
|
|
4237
|
-
<line num="95" count="
|
|
4234
|
+
<line num="92" count="68" type="stmt"/>
|
|
4235
|
+
<line num="93" count="68" type="stmt"/>
|
|
4236
|
+
<line num="94" count="68" type="cond" truecount="2" falsecount="0"/>
|
|
4237
|
+
<line num="95" count="41" type="stmt"/>
|
|
4238
4238
|
<line num="97" count="27" type="stmt"/>
|
|
4239
4239
|
<line num="98" count="27" type="cond" truecount="1" falsecount="1"/>
|
|
4240
4240
|
<line num="99" count="27" type="stmt"/>
|
|
@@ -4306,7 +4306,7 @@
|
|
|
4306
4306
|
</file>
|
|
4307
4307
|
</package>
|
|
4308
4308
|
<package name="middleware">
|
|
4309
|
-
<metrics statements="
|
|
4309
|
+
<metrics statements="279" coveredstatements="230" conditionals="188" coveredconditionals="132" methods="38" coveredmethods="33"/>
|
|
4310
4310
|
<file name="appInfo.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/appInfo.js">
|
|
4311
4311
|
<metrics statements="10" coveredstatements="8" conditionals="11" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
4312
4312
|
<line num="1" count="24" type="stmt"/>
|
|
@@ -4406,7 +4406,7 @@
|
|
|
4406
4406
|
<line num="77" count="1" type="stmt"/>
|
|
4407
4407
|
</file>
|
|
4408
4408
|
<file name="currentapp.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/currentapp.js">
|
|
4409
|
-
<metrics statements="
|
|
4409
|
+
<metrics statements="56" coveredstatements="46" conditionals="43" coveredconditionals="33" methods="2" coveredmethods="2"/>
|
|
4410
4410
|
<line num="6" count="29" type="stmt"/>
|
|
4411
4411
|
<line num="7" count="29" type="stmt"/>
|
|
4412
4412
|
<line num="8" count="29" type="stmt"/>
|
|
@@ -4454,14 +4454,15 @@
|
|
|
4454
4454
|
<line num="86" count="0" type="stmt"/>
|
|
4455
4455
|
<line num="87" count="0" type="stmt"/>
|
|
4456
4456
|
<line num="88" count="0" type="stmt"/>
|
|
4457
|
-
<line num="
|
|
4458
|
-
<line num="92" count="190" type="
|
|
4459
|
-
<line num="93" count="190" type="
|
|
4460
|
-
<line num="94" count="190" type="
|
|
4461
|
-
<line num="95" count="190" type="
|
|
4462
|
-
<line num="
|
|
4463
|
-
<line num="
|
|
4464
|
-
<line num="
|
|
4457
|
+
<line num="89" count="0" type="stmt"/>
|
|
4458
|
+
<line num="92" count="190" type="stmt"/>
|
|
4459
|
+
<line num="93" count="190" type="cond" truecount="1" falsecount="1"/>
|
|
4460
|
+
<line num="94" count="190" type="stmt"/>
|
|
4461
|
+
<line num="95" count="190" type="cond" truecount="2" falsecount="0"/>
|
|
4462
|
+
<line num="96" count="190" type="stmt"/>
|
|
4463
|
+
<line num="105" count="190" type="cond" truecount="2" falsecount="0"/>
|
|
4464
|
+
<line num="111" count="7" type="stmt"/>
|
|
4465
|
+
<line num="114" count="190" type="stmt"/>
|
|
4465
4466
|
</file>
|
|
4466
4467
|
<file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
|
|
4467
4468
|
<metrics statements="17" coveredstatements="14" conditionals="8" coveredconditionals="5" methods="4" coveredmethods="4"/>
|
|
@@ -5403,42 +5404,42 @@
|
|
|
5403
5404
|
<line num="223" count="78" type="stmt"/>
|
|
5404
5405
|
<line num="224" count="78" type="stmt"/>
|
|
5405
5406
|
<line num="225" count="78" type="stmt"/>
|
|
5406
|
-
<line num="226" count="
|
|
5407
|
-
<line num="228" count="
|
|
5408
|
-
<line num="229" count="
|
|
5407
|
+
<line num="226" count="353" type="stmt"/>
|
|
5408
|
+
<line num="228" count="353" type="cond" truecount="2" falsecount="0"/>
|
|
5409
|
+
<line num="229" count="172" type="cond" truecount="2" falsecount="0"/>
|
|
5409
5410
|
<line num="230" count="3" type="stmt"/>
|
|
5410
|
-
<line num="232" count="
|
|
5411
|
+
<line num="232" count="172" type="stmt"/>
|
|
5411
5412
|
<line num="235" count="181" type="cond" truecount="1" falsecount="1"/>
|
|
5412
5413
|
<line num="236" count="0" type="stmt"/>
|
|
5413
5414
|
<line num="240" count="181" type="stmt"/>
|
|
5414
5415
|
<line num="244" count="78" type="cond" truecount="4" falsecount="0"/>
|
|
5415
|
-
<line num="245" count="
|
|
5416
|
-
<line num="246" count="
|
|
5416
|
+
<line num="245" count="72" type="stmt"/>
|
|
5417
|
+
<line num="246" count="72" type="stmt"/>
|
|
5417
5418
|
<line num="250" count="78" type="stmt"/>
|
|
5418
5419
|
<line num="262" count="40" type="cond" truecount="1" falsecount="0"/>
|
|
5419
|
-
<line num="263" count="
|
|
5420
|
-
<line num="264" count="
|
|
5421
|
-
<line num="265" count="
|
|
5422
|
-
<line num="266" count="
|
|
5423
|
-
<line num="269" count="
|
|
5424
|
-
<line num="272" count="
|
|
5425
|
-
<line num="275" count="
|
|
5426
|
-
<line num="276" count="
|
|
5420
|
+
<line num="263" count="113" type="stmt"/>
|
|
5421
|
+
<line num="264" count="113" type="cond" truecount="2" falsecount="0"/>
|
|
5422
|
+
<line num="265" count="99" type="stmt"/>
|
|
5423
|
+
<line num="266" count="99" type="stmt"/>
|
|
5424
|
+
<line num="269" count="113" type="stmt"/>
|
|
5425
|
+
<line num="272" count="113" type="stmt"/>
|
|
5426
|
+
<line num="275" count="113" type="stmt"/>
|
|
5427
|
+
<line num="276" count="322" type="cond" truecount="2" falsecount="0"/>
|
|
5427
5428
|
<line num="277" count="8" type="stmt"/>
|
|
5428
5429
|
<line num="278" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
5429
5430
|
<line num="279" count="6" type="stmt"/>
|
|
5430
5431
|
<line num="281" count="2" type="stmt"/>
|
|
5431
5432
|
<line num="282" count="2" type="stmt"/>
|
|
5432
|
-
<line num="287" count="
|
|
5433
|
-
<line num="288" count="
|
|
5434
|
-
<line num="290" count="
|
|
5433
|
+
<line num="287" count="113" type="cond" truecount="2" falsecount="0"/>
|
|
5434
|
+
<line num="288" count="33" type="stmt"/>
|
|
5435
|
+
<line num="290" count="113" type="cond" truecount="2" falsecount="0"/>
|
|
5435
5436
|
<line num="303" count="40" type="stmt"/>
|
|
5436
|
-
<line num="304" count="
|
|
5437
|
-
<line num="305" count="
|
|
5438
|
-
<line num="306" count="
|
|
5439
|
-
<line num="308" count="
|
|
5440
|
-
<line num="309" count="
|
|
5441
|
-
<line num="310" count="
|
|
5437
|
+
<line num="304" count="14" type="stmt"/>
|
|
5438
|
+
<line num="305" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
5439
|
+
<line num="306" count="14" type="stmt"/>
|
|
5440
|
+
<line num="308" count="14" type="stmt"/>
|
|
5441
|
+
<line num="309" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
5442
|
+
<line num="310" count="14" type="stmt"/>
|
|
5442
5443
|
<line num="313" count="0" type="stmt"/>
|
|
5443
5444
|
<line num="315" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5444
5445
|
<line num="316" count="0" type="stmt"/>
|
|
@@ -5462,20 +5463,20 @@
|
|
|
5462
5463
|
<line num="1" count="40" type="stmt"/>
|
|
5463
5464
|
<line num="2" count="40" type="stmt"/>
|
|
5464
5465
|
<line num="7" count="40" type="stmt"/>
|
|
5465
|
-
<line num="12" count="
|
|
5466
|
-
<line num="13" count="
|
|
5466
|
+
<line num="12" count="281" type="stmt"/>
|
|
5467
|
+
<line num="13" count="281" type="cond" truecount="2" falsecount="0"/>
|
|
5467
5468
|
<line num="14" count="168" type="stmt"/>
|
|
5468
5469
|
<line num="15" count="168" type="cond" truecount="2" falsecount="0"/>
|
|
5469
|
-
<line num="17" count="
|
|
5470
|
-
<line num="18" count="
|
|
5471
|
-
<line num="19" count="
|
|
5472
|
-
<line num="24" count="
|
|
5470
|
+
<line num="17" count="281" type="stmt"/>
|
|
5471
|
+
<line num="18" count="804" type="stmt"/>
|
|
5472
|
+
<line num="19" count="804" type="cond" truecount="1" falsecount="1"/>
|
|
5473
|
+
<line num="24" count="804" type="stmt"/>
|
|
5473
5474
|
<line num="27" count="0" type="stmt"/>
|
|
5474
5475
|
<line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5475
5476
|
<line num="29" count="0" type="stmt"/>
|
|
5476
5477
|
<line num="30" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5477
5478
|
<line num="31" count="0" type="stmt"/>
|
|
5478
|
-
<line num="38" count="
|
|
5479
|
+
<line num="38" count="281" type="cond" truecount="2" falsecount="0"/>
|
|
5479
5480
|
</file>
|
|
5480
5481
|
</package>
|
|
5481
5482
|
<package name="utilities.usageQuota">
|