@budibase/server 1.0.207-alpha.9 → 1.0.209
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.24307ca0.css +6 -0
- package/builder/assets/index.d3ea58e7.js +1315 -0
- package/builder/index.html +2 -2
- package/coverage/clover.xml +122 -132
- package/coverage/coverage-final.json +5 -5
- 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 +6 -9
- 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 +7 -7
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query/index.html +1 -1
- package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/external.js.html +17 -47
- package/coverage/lcov-report/api/controllers/row/index.html +22 -22
- package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +2 -2
- package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +8 -17
- package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
- package/coverage/lcov-report/api/controllers/user.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
- package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
- package/coverage/lcov-report/api/index.html +1 -1
- package/coverage/lcov-report/api/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
- package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/routes/auth.js.html +1 -1
- package/coverage/lcov-report/api/routes/automation.js.html +1 -1
- package/coverage/lcov-report/api/routes/backup.js.html +1 -1
- package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
- package/coverage/lcov-report/api/routes/component.js.html +1 -1
- package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
- package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
- package/coverage/lcov-report/api/routes/dev.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +1 -1
- package/coverage/lcov-report/api/routes/integration.js.html +1 -1
- package/coverage/lcov-report/api/routes/layout.js.html +1 -1
- package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
- package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
- package/coverage/lcov-report/api/routes/permission.js.html +1 -1
- package/coverage/lcov-report/api/routes/query.js.html +1 -1
- package/coverage/lcov-report/api/routes/role.js.html +1 -1
- package/coverage/lcov-report/api/routes/routing.js.html +1 -1
- package/coverage/lcov-report/api/routes/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.js.html +1 -1
- package/coverage/lcov-report/api/routes/table.js.html +1 -1
- package/coverage/lcov-report/api/routes/templates.js.html +1 -1
- package/coverage/lcov-report/api/routes/user.js.html +1 -1
- package/coverage/lcov-report/api/routes/utils/index.html +1 -1
- package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
- package/coverage/lcov-report/api/routes/view.js.html +1 -1
- package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/actions.js.html +1 -1
- package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
- package/coverage/lcov-report/automations/bullboard.js.html +1 -1
- package/coverage/lcov-report/automations/index.html +5 -5
- 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 +4 -4
- 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 +10 -10
- 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 +6 -9
- 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 +27 -27
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
- package/coverage/lcov-report/middleware/builder.js.html +1 -1
- package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
- package/coverage/lcov-report/middleware/index.html +1 -1
- package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
- package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
- package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/utils.js.html +1 -1
- package/coverage/lcov-report/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 +1 -1
- package/coverage/lcov-report/utilities/index.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
- package/coverage/lcov-report/utilities/security.js.html +1 -1
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
- package/coverage/lcov.info +220 -238
- package/dist/api/controllers/backup.js +2 -3
- package/dist/api/controllers/row/external.js +7 -19
- package/dist/api/controllers/row/internalSearch.js +1 -1
- package/dist/api/controllers/row/utils.js +0 -3
- package/dist/automations/triggers.js +1 -1
- package/dist/db/utils.js +0 -1
- package/dist/definitions/datasource.js +0 -1
- package/dist/integrations/base/sql.js +3 -20
- package/dist/integrations/index.js +0 -4
- package/dist/integrations/microsoftSqlServer.js +1 -1
- package/dist/integrations/mongodb.js +6 -0
- package/dist/integrations/mysql.js +1 -1
- package/dist/integrations/postgres.js +1 -1
- package/dist/package.json +6 -8
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utilities/fileSystem/index.js +6 -16
- package/package.json +7 -9
- package/src/api/controllers/backup.js +2 -3
- package/src/api/controllers/row/external.js +9 -19
- package/src/api/controllers/row/internalSearch.js +1 -1
- package/src/api/controllers/row/utils.js +0 -3
- package/src/automations/triggers.js +1 -1
- package/src/db/utils.js +0 -1
- package/src/definitions/common.ts +0 -1
- package/src/definitions/datasource.ts +0 -1
- package/src/integrations/base/sql.ts +11 -25
- package/src/integrations/index.ts +0 -4
- package/src/integrations/microsoftSqlServer.ts +0 -1
- package/src/integrations/mongodb.ts +6 -0
- package/src/integrations/mysql.ts +0 -1
- package/src/integrations/postgres.ts +0 -1
- package/src/utilities/fileSystem/index.js +8 -22
- package/builder/assets/index.650b000d.js +0 -1312
- package/builder/assets/index.937e02c1.css +0 -6
- package/dist/integrations/snowflake.js +0 -101
- package/scripts/integrations/oracle/instantclient/linux/arm64/basiclite-19.10.zip +0 -0
- package/scripts/integrations/oracle/instantclient/linux/arm64/install.sh +0 -23
- package/scripts/integrations/oracle/instantclient/linux/install.sh +0 -10
- package/src/integrations/snowflake.ts +0 -98
package/builder/index.html
CHANGED
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
|
|
11
11
|
rel="stylesheet"
|
|
12
12
|
/>
|
|
13
|
-
<script type="module" crossorigin src="/builder/assets/index.
|
|
13
|
+
<script type="module" crossorigin src="/builder/assets/index.d3ea58e7.js"></script>
|
|
14
14
|
<link rel="modulepreload" href="/builder/assets/vendor.9bf2fcb4.js">
|
|
15
15
|
<link rel="stylesheet" href="/builder/assets/vendor.5e1fe644.css">
|
|
16
|
-
<link rel="stylesheet" href="/builder/assets/index.
|
|
16
|
+
<link rel="stylesheet" href="/builder/assets/index.24307ca0.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="1655993321852" clover="3.2.0">
|
|
3
|
+
<project timestamp="1655993321852" name="All files">
|
|
4
|
+
<metrics statements="4281" coveredstatements="3126" conditionals="1775" coveredconditionals="950" methods="623" coveredmethods="446" elements="6679" coveredelements="4522" complexity="0" loc="4281" ncloc="4281" packages="23" files="129" classes="129"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="34" coveredstatements="34" conditionals="3" coveredconditionals="1" methods="4" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
</file>
|
|
44
44
|
</package>
|
|
45
45
|
<package name="api.controllers">
|
|
46
|
-
<metrics statements="
|
|
46
|
+
<metrics statements="949" coveredstatements="693" conditionals="282" coveredconditionals="136" methods="136" coveredmethods="94"/>
|
|
47
47
|
<file name="apikeys.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/apikeys.js">
|
|
48
48
|
<metrics statements="24" coveredstatements="24" conditionals="4" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
49
49
|
<line num="1" count="27" type="stmt"/>
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
<line num="251" count="2" type="stmt"/>
|
|
222
222
|
</file>
|
|
223
223
|
<file name="backup.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/backup.js">
|
|
224
|
-
<metrics statements="
|
|
224
|
+
<metrics statements="13" coveredstatements="13" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
225
225
|
<line num="1" count="27" type="stmt"/>
|
|
226
226
|
<line num="2" count="27" type="stmt"/>
|
|
227
227
|
<line num="3" count="27" type="stmt"/>
|
|
@@ -231,11 +231,10 @@
|
|
|
231
231
|
<line num="8" count="1" type="stmt"/>
|
|
232
232
|
<line num="9" count="1" type="stmt"/>
|
|
233
233
|
<line num="10" count="1" type="stmt"/>
|
|
234
|
-
<line num="
|
|
234
|
+
<line num="12" count="1" type="stmt"/>
|
|
235
235
|
<line num="13" count="1" type="stmt"/>
|
|
236
236
|
<line num="14" count="1" type="stmt"/>
|
|
237
237
|
<line num="15" count="1" type="stmt"/>
|
|
238
|
-
<line num="16" count="1" type="stmt"/>
|
|
239
238
|
</file>
|
|
240
239
|
<file name="cloud.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/cloud.js">
|
|
241
240
|
<metrics statements="54" coveredstatements="10" conditionals="23" coveredconditionals="0" methods="8" coveredmethods="0"/>
|
|
@@ -1071,9 +1070,9 @@
|
|
|
1071
1070
|
</file>
|
|
1072
1071
|
</package>
|
|
1073
1072
|
<package name="api.controllers.row">
|
|
1074
|
-
<metrics statements="
|
|
1073
|
+
<metrics statements="590" coveredstatements="342" conditionals="268" coveredconditionals="96" methods="86" coveredmethods="46"/>
|
|
1075
1074
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
|
|
1076
|
-
<metrics statements="
|
|
1075
|
+
<metrics statements="110" coveredstatements="18" conditionals="46" coveredconditionals="0" methods="15" coveredmethods="0"/>
|
|
1077
1076
|
<line num="6" count="44" type="stmt"/>
|
|
1078
1077
|
<line num="10" count="44" type="stmt"/>
|
|
1079
1078
|
<line num="11" count="44" type="stmt"/>
|
|
@@ -1151,45 +1150,39 @@
|
|
|
1151
1150
|
<line num="159" count="0" type="stmt"/>
|
|
1152
1151
|
<line num="160" count="0" type="stmt"/>
|
|
1153
1152
|
<line num="161" count="0" type="stmt"/>
|
|
1154
|
-
<line num="162" count="0" type="
|
|
1155
|
-
<line num="163" count="0" type="
|
|
1156
|
-
<line num="
|
|
1153
|
+
<line num="162" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1154
|
+
<line num="163" count="0" type="stmt"/>
|
|
1155
|
+
<line num="165" count="0" type="stmt"/>
|
|
1157
1156
|
<line num="166" count="0" type="stmt"/>
|
|
1158
|
-
<line num="
|
|
1159
|
-
<line num="
|
|
1160
|
-
<line num="
|
|
1161
|
-
<line num="178" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1157
|
+
<line num="167" count="0" type="stmt"/>
|
|
1158
|
+
<line num="171" count="0" type="stmt"/>
|
|
1159
|
+
<line num="177" count="0" type="stmt"/>
|
|
1162
1160
|
<line num="179" count="0" type="stmt"/>
|
|
1163
1161
|
<line num="180" count="0" type="stmt"/>
|
|
1164
1162
|
<line num="181" count="0" type="stmt"/>
|
|
1165
|
-
<line num="
|
|
1166
|
-
<line num="
|
|
1163
|
+
<line num="184" count="0" type="stmt"/>
|
|
1164
|
+
<line num="185" count="0" type="stmt"/>
|
|
1165
|
+
<line num="188" count="44" type="stmt"/>
|
|
1167
1166
|
<line num="189" count="0" type="stmt"/>
|
|
1168
1167
|
<line num="190" count="0" type="stmt"/>
|
|
1169
1168
|
<line num="191" count="0" type="stmt"/>
|
|
1170
|
-
<line num="
|
|
1169
|
+
<line num="192" count="0" type="stmt"/>
|
|
1170
|
+
<line num="193" count="0" type="stmt"/>
|
|
1171
|
+
<line num="194" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1171
1172
|
<line num="195" count="0" type="stmt"/>
|
|
1172
|
-
<line num="
|
|
1173
|
-
<line num="
|
|
1174
|
-
<line num="200" count="0" type="stmt"/>
|
|
1175
|
-
<line num="201" count="0" type="stmt"/>
|
|
1173
|
+
<line num="197" count="0" type="stmt"/>
|
|
1174
|
+
<line num="198" count="0" type="stmt"/>
|
|
1176
1175
|
<line num="202" count="0" type="stmt"/>
|
|
1177
1176
|
<line num="203" count="0" type="stmt"/>
|
|
1178
|
-
<line num="
|
|
1179
|
-
<line num="
|
|
1180
|
-
<line num="207" count="0" type="stmt"/>
|
|
1181
|
-
<line num="208" count="0" type="stmt"/>
|
|
1177
|
+
<line num="206" count="0" type="stmt"/>
|
|
1178
|
+
<line num="207" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1182
1179
|
<line num="212" count="0" type="stmt"/>
|
|
1183
|
-
<line num="
|
|
1180
|
+
<line num="214" count="0" type="stmt"/>
|
|
1181
|
+
<line num="215" count="0" type="stmt"/>
|
|
1184
1182
|
<line num="216" count="0" type="stmt"/>
|
|
1185
|
-
<line num="
|
|
1186
|
-
<line num="
|
|
1187
|
-
<line num="
|
|
1188
|
-
<line num="225" count="0" type="stmt"/>
|
|
1189
|
-
<line num="226" count="0" type="stmt"/>
|
|
1190
|
-
<line num="228" count="0" type="stmt"/>
|
|
1191
|
-
<line num="229" count="0" type="stmt"/>
|
|
1192
|
-
<line num="242" count="0" type="stmt"/>
|
|
1183
|
+
<line num="218" count="0" type="stmt"/>
|
|
1184
|
+
<line num="219" count="0" type="stmt"/>
|
|
1185
|
+
<line num="232" count="0" type="stmt"/>
|
|
1193
1186
|
</file>
|
|
1194
1187
|
<file name="internal.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internal.js">
|
|
1195
1188
|
<metrics statements="213" coveredstatements="172" conditionals="64" coveredconditionals="40" methods="26" coveredmethods="22"/>
|
|
@@ -1630,7 +1623,7 @@
|
|
|
1630
1623
|
<line num="155" count="79" type="stmt"/>
|
|
1631
1624
|
</file>
|
|
1632
1625
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/utils.js">
|
|
1633
|
-
<metrics statements="
|
|
1626
|
+
<metrics statements="51" coveredstatements="35" conditionals="32" coveredconditionals="13" methods="6" coveredmethods="4"/>
|
|
1634
1627
|
<line num="1" count="44" type="stmt"/>
|
|
1635
1628
|
<line num="2" count="44" type="stmt"/>
|
|
1636
1629
|
<line num="3" count="44" type="stmt"/>
|
|
@@ -1670,20 +1663,18 @@
|
|
|
1670
1663
|
<line num="60" count="0" type="stmt"/>
|
|
1671
1664
|
<line num="65" count="224" type="cond" truecount="2" falsecount="2"/>
|
|
1672
1665
|
<line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1673
|
-
<line num="67" count="0" type="
|
|
1674
|
-
<line num="68" count="0" type="
|
|
1675
|
-
<line num="
|
|
1676
|
-
<line num="
|
|
1677
|
-
<line num="
|
|
1678
|
-
<line num="
|
|
1679
|
-
<line num="
|
|
1680
|
-
<line num="82" count="
|
|
1666
|
+
<line num="67" count="0" type="stmt"/>
|
|
1667
|
+
<line num="68" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1668
|
+
<line num="72" count="0" type="stmt"/>
|
|
1669
|
+
<line num="75" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1670
|
+
<line num="77" count="0" type="stmt"/>
|
|
1671
|
+
<line num="79" count="224" type="cond" truecount="2" falsecount="2"/>
|
|
1672
|
+
<line num="81" count="0" type="stmt"/>
|
|
1673
|
+
<line num="82" count="0" type="stmt"/>
|
|
1681
1674
|
<line num="84" count="0" type="stmt"/>
|
|
1682
|
-
<line num="
|
|
1683
|
-
<line num="
|
|
1684
|
-
<line num="
|
|
1685
|
-
<line num="92" count="224" type="cond" truecount="2" falsecount="0"/>
|
|
1686
|
-
<line num="94" count="83" type="stmt"/>
|
|
1675
|
+
<line num="87" count="224" type="stmt"/>
|
|
1676
|
+
<line num="89" count="224" type="cond" truecount="2" falsecount="0"/>
|
|
1677
|
+
<line num="91" count="83" type="stmt"/>
|
|
1687
1678
|
</file>
|
|
1688
1679
|
</package>
|
|
1689
1680
|
<package name="api.controllers.table">
|
|
@@ -2538,7 +2529,7 @@
|
|
|
2538
2529
|
</file>
|
|
2539
2530
|
</package>
|
|
2540
2531
|
<package name="automations">
|
|
2541
|
-
<metrics statements="163" coveredstatements="128" conditionals="
|
|
2532
|
+
<metrics statements="163" coveredstatements="128" conditionals="64" coveredconditionals="46" methods="21" coveredmethods="13"/>
|
|
2542
2533
|
<file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
|
|
2543
2534
|
<metrics statements="24" coveredstatements="24" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
|
|
2544
2535
|
<line num="1" count="44" type="stmt"/>
|
|
@@ -2669,7 +2660,7 @@
|
|
|
2669
2660
|
<line num="26" count="43" type="stmt"/>
|
|
2670
2661
|
</file>
|
|
2671
2662
|
<file name="triggers.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggers.js">
|
|
2672
|
-
<metrics statements="46" coveredstatements="44" conditionals="
|
|
2663
|
+
<metrics statements="46" coveredstatements="44" conditionals="25" coveredconditionals="21" methods="8" coveredmethods="8"/>
|
|
2673
2664
|
<line num="1" count="43" type="stmt"/>
|
|
2674
2665
|
<line num="2" count="43" type="stmt"/>
|
|
2675
2666
|
<line num="3" count="43" type="stmt"/>
|
|
@@ -2708,7 +2699,7 @@
|
|
|
2708
2699
|
<line num="90" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
2709
2700
|
<line num="98" count="1" type="stmt"/>
|
|
2710
2701
|
<line num="99" count="1" type="stmt"/>
|
|
2711
|
-
<line num="100" count="1" type="
|
|
2702
|
+
<line num="100" count="1" type="stmt"/>
|
|
2712
2703
|
<line num="101" count="1" type="stmt"/>
|
|
2713
2704
|
<line num="103" count="1" type="stmt"/>
|
|
2714
2705
|
<line num="105" count="6" type="stmt"/>
|
|
@@ -3067,7 +3058,7 @@
|
|
|
3067
3058
|
</file>
|
|
3068
3059
|
</package>
|
|
3069
3060
|
<package name="db">
|
|
3070
|
-
<metrics statements="
|
|
3061
|
+
<metrics statements="140" coveredstatements="112" conditionals="58" coveredconditionals="19" methods="36" coveredmethods="27"/>
|
|
3071
3062
|
<file name="inMemoryView.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/inMemoryView.js">
|
|
3072
3063
|
<metrics statements="23" coveredstatements="4" conditionals="8" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
3073
3064
|
<line num="1" count="44" type="stmt"/>
|
|
@@ -3112,7 +3103,7 @@
|
|
|
3112
3103
|
<line num="4" count="923" type="stmt"/>
|
|
3113
3104
|
</file>
|
|
3114
3105
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3115
|
-
<metrics statements="
|
|
3106
|
+
<metrics statements="106" coveredstatements="97" conditionals="48" coveredconditionals="18" methods="30" coveredmethods="25"/>
|
|
3116
3107
|
<line num="1" count="57" type="stmt"/>
|
|
3117
3108
|
<line num="14" count="57" type="stmt"/>
|
|
3118
3109
|
<line num="16" count="57" type="stmt"/>
|
|
@@ -3139,87 +3130,86 @@
|
|
|
3139
3130
|
<line num="84" count="57" type="stmt"/>
|
|
3140
3131
|
<line num="85" count="57" type="stmt"/>
|
|
3141
3132
|
<line num="86" count="57" type="stmt"/>
|
|
3142
|
-
<line num="
|
|
3133
|
+
<line num="88" count="57" type="stmt"/>
|
|
3143
3134
|
<line num="89" count="57" type="stmt"/>
|
|
3144
|
-
<line num="
|
|
3145
|
-
<line num="92" count="
|
|
3146
|
-
<line num="
|
|
3147
|
-
<line num="109" count="
|
|
3148
|
-
<line num="
|
|
3149
|
-
<line num="
|
|
3150
|
-
<line num="
|
|
3151
|
-
<line num="124" count="
|
|
3152
|
-
<line num="
|
|
3153
|
-
<line num="132" count="
|
|
3154
|
-
<line num="
|
|
3155
|
-
<line num="144" count="
|
|
3156
|
-
<line num="145" count="
|
|
3157
|
-
<line num="
|
|
3158
|
-
<line num="
|
|
3159
|
-
<line num="
|
|
3160
|
-
<line num="159" count="
|
|
3161
|
-
<line num="
|
|
3162
|
-
<line num="
|
|
3163
|
-
<line num="172" count="
|
|
3164
|
-
<line num="173" count="309" type="
|
|
3165
|
-
<line num="
|
|
3166
|
-
<line num="180" count="
|
|
3167
|
-
<line num="
|
|
3168
|
-
<line num="189" count="
|
|
3169
|
-
<line num="
|
|
3170
|
-
<line num="196" count="
|
|
3171
|
-
<line num="197" count="3" type="
|
|
3172
|
-
<line num="198" count="
|
|
3173
|
-
<line num="
|
|
3174
|
-
<line num="
|
|
3175
|
-
<line num="207" count="
|
|
3176
|
-
<line num="
|
|
3177
|
-
<line num="215" count="
|
|
3178
|
-
<line num="
|
|
3179
|
-
<line num="
|
|
3135
|
+
<line num="91" count="57" type="stmt"/>
|
|
3136
|
+
<line num="92" count="74" type="stmt"/>
|
|
3137
|
+
<line num="108" count="1077" type="cond" truecount="2" falsecount="0"/>
|
|
3138
|
+
<line num="109" count="1060" type="stmt"/>
|
|
3139
|
+
<line num="111" count="1077" type="stmt"/>
|
|
3140
|
+
<line num="118" count="57" type="stmt"/>
|
|
3141
|
+
<line num="123" count="57" type="cond" truecount="0" falsecount="2"/>
|
|
3142
|
+
<line num="124" count="267" type="stmt"/>
|
|
3143
|
+
<line num="131" count="57" type="stmt"/>
|
|
3144
|
+
<line num="132" count="128" type="stmt"/>
|
|
3145
|
+
<line num="143" count="57" type="cond" truecount="0" falsecount="3"/>
|
|
3146
|
+
<line num="144" count="41" type="cond" truecount="2" falsecount="0"/>
|
|
3147
|
+
<line num="145" count="27" type="stmt"/>
|
|
3148
|
+
<line num="148" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
3149
|
+
<line num="150" count="14" type="stmt"/>
|
|
3150
|
+
<line num="158" count="57" type="stmt"/>
|
|
3151
|
+
<line num="159" count="0" type="stmt"/>
|
|
3152
|
+
<line num="162" count="0" type="stmt"/>
|
|
3153
|
+
<line num="171" count="57" type="cond" truecount="1" falsecount="0"/>
|
|
3154
|
+
<line num="172" count="309" type="cond" truecount="2" falsecount="0"/>
|
|
3155
|
+
<line num="173" count="309" type="stmt"/>
|
|
3156
|
+
<line num="179" count="57" type="cond" truecount="0" falsecount="2"/>
|
|
3157
|
+
<line num="180" count="3" type="stmt"/>
|
|
3158
|
+
<line num="188" count="57" type="stmt"/>
|
|
3159
|
+
<line num="189" count="231" type="stmt"/>
|
|
3160
|
+
<line num="195" count="57" type="stmt"/>
|
|
3161
|
+
<line num="196" count="3" type="stmt"/>
|
|
3162
|
+
<line num="197" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
3163
|
+
<line num="198" count="1" type="stmt"/>
|
|
3164
|
+
<line num="200" count="2" type="stmt"/>
|
|
3165
|
+
<line num="206" count="57" type="cond" truecount="0" falsecount="2"/>
|
|
3166
|
+
<line num="207" count="261" type="stmt"/>
|
|
3167
|
+
<line num="214" count="57" type="stmt"/>
|
|
3168
|
+
<line num="215" count="27" type="stmt"/>
|
|
3169
|
+
<line num="229" count="57" type="stmt"/>
|
|
3170
|
+
<line num="237" count="9" type="stmt"/>
|
|
3180
3171
|
<line num="238" count="9" type="stmt"/>
|
|
3181
3172
|
<line num="239" count="9" type="stmt"/>
|
|
3182
3173
|
<line num="240" count="9" type="stmt"/>
|
|
3183
|
-
<line num="
|
|
3184
|
-
<line num="247" count="
|
|
3185
|
-
<line num="
|
|
3186
|
-
<line num="255" count="
|
|
3187
|
-
<line num="
|
|
3188
|
-
<line num="262" count="
|
|
3189
|
-
<line num="
|
|
3190
|
-
<line num="270" count="
|
|
3191
|
-
<line num="
|
|
3192
|
-
<line num="277" count="
|
|
3193
|
-
<line num="
|
|
3194
|
-
<line num="285" count="
|
|
3195
|
-
<line num="
|
|
3196
|
-
<line num="292" count="
|
|
3197
|
-
<line num="
|
|
3198
|
-
<line num="300" count="
|
|
3199
|
-
<line num="
|
|
3200
|
-
<line num="309" count="
|
|
3201
|
-
<line num="
|
|
3202
|
-
<line num="317" count="
|
|
3203
|
-
<line num="
|
|
3204
|
-
<line num="326" count="
|
|
3205
|
-
<line num="327" count="
|
|
3206
|
-
<line num="
|
|
3207
|
-
<line num="
|
|
3208
|
-
<line num="342" count="
|
|
3209
|
-
<line num="
|
|
3210
|
-
<line num="346" count="
|
|
3211
|
-
<line num="
|
|
3212
|
-
<line num="350" count="
|
|
3213
|
-
<line num="351" count="0" type="
|
|
3214
|
-
<line num="352" count="0" type="
|
|
3215
|
-
<line num="
|
|
3216
|
-
<line num="
|
|
3217
|
-
<line num="358" count="
|
|
3218
|
-
<line num="
|
|
3219
|
-
<line num="362" count="
|
|
3220
|
-
<line num="
|
|
3221
|
-
<line num="369" count="
|
|
3222
|
-
<line num="370" count="60" type="stmt"/>
|
|
3174
|
+
<line num="246" count="57" type="cond" truecount="0" falsecount="1"/>
|
|
3175
|
+
<line num="247" count="0" type="stmt"/>
|
|
3176
|
+
<line num="254" count="57" type="stmt"/>
|
|
3177
|
+
<line num="255" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
3178
|
+
<line num="261" count="57" type="cond" truecount="0" falsecount="2"/>
|
|
3179
|
+
<line num="262" count="247" type="stmt"/>
|
|
3180
|
+
<line num="269" count="57" type="stmt"/>
|
|
3181
|
+
<line num="270" count="23" type="stmt"/>
|
|
3182
|
+
<line num="276" count="57" type="cond" truecount="0" falsecount="2"/>
|
|
3183
|
+
<line num="277" count="249" type="stmt"/>
|
|
3184
|
+
<line num="284" count="57" type="stmt"/>
|
|
3185
|
+
<line num="285" count="10" type="stmt"/>
|
|
3186
|
+
<line num="291" count="57" type="cond" truecount="0" falsecount="2"/>
|
|
3187
|
+
<line num="292" count="2" type="stmt"/>
|
|
3188
|
+
<line num="299" count="57" type="cond" truecount="1" falsecount="1"/>
|
|
3189
|
+
<line num="300" count="52" type="stmt"/>
|
|
3190
|
+
<line num="308" count="57" type="cond" truecount="0" falsecount="2"/>
|
|
3191
|
+
<line num="309" count="5" type="stmt"/>
|
|
3192
|
+
<line num="316" count="57" type="stmt"/>
|
|
3193
|
+
<line num="317" count="135" type="stmt"/>
|
|
3194
|
+
<line num="325" count="57" type="cond" truecount="0" falsecount="2"/>
|
|
3195
|
+
<line num="326" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3196
|
+
<line num="327" count="4" type="stmt"/>
|
|
3197
|
+
<line num="330" count="1" type="stmt"/>
|
|
3198
|
+
<line num="341" count="57" type="stmt"/>
|
|
3199
|
+
<line num="342" count="0" type="stmt"/>
|
|
3200
|
+
<line num="345" count="57" type="stmt"/>
|
|
3201
|
+
<line num="346" count="10" type="stmt"/>
|
|
3202
|
+
<line num="349" count="57" type="cond" truecount="0" falsecount="2"/>
|
|
3203
|
+
<line num="350" count="0" type="stmt"/>
|
|
3204
|
+
<line num="351" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3205
|
+
<line num="352" count="0" type="stmt"/>
|
|
3206
|
+
<line num="354" count="0" type="stmt"/>
|
|
3207
|
+
<line num="357" count="57" type="stmt"/>
|
|
3208
|
+
<line num="358" count="1" type="stmt"/>
|
|
3209
|
+
<line num="361" count="57" type="cond" truecount="0" falsecount="1"/>
|
|
3210
|
+
<line num="362" count="0" type="stmt"/>
|
|
3211
|
+
<line num="368" count="57" type="stmt"/>
|
|
3212
|
+
<line num="369" count="60" type="stmt"/>
|
|
3223
3213
|
</file>
|
|
3224
3214
|
</package>
|
|
3225
3215
|
<package name="db.linkedRows">
|