@budibase/server 0.9.190-alpha.7 → 1.0.1
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.59c6065f.js → index.e95b024a.js} +140 -140
- package/builder/index.html +1 -1
- package/coverage/clover.xml +42 -45
- package/coverage/coverage-final.json +3 -3
- 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/hosting.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/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query.js.html +1 -1
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/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/external.js.html +1 -1
- 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 +8 -20
- 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/hosting.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/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 +536 -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 +436 -7
- 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/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 +13 -13
- 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 +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 +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/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/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
- package/coverage/lcov.info +63 -70
- package/dist/api/controllers/row/ExternalRequest.js +5 -2
- package/dist/api/controllers/table/internal.js +0 -4
- package/dist/api/routes/row.js +178 -0
- package/dist/api/routes/table.js +148 -5
- package/dist/definitions/datasource.js +12 -1
- package/dist/integrations/base/sql.js +1 -4
- package/dist/integrations/oracle.js +42 -22
- package/dist/package.json +10 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +11 -7
- package/scripts/docs/README.md +31 -0
- package/scripts/docs/generate.js +74 -0
- package/scripts/docs/toSwagger.js +320 -0
- package/scripts/integrations/oracle/docker-compose.yml +1 -1
- package/src/api/controllers/row/ExternalRequest.ts +8 -2
- package/src/api/controllers/table/internal.js +0 -4
- package/src/api/routes/row.js +178 -0
- package/src/api/routes/table.js +148 -5
- package/src/definitions/datasource.ts +11 -0
- package/src/integrations/base/sql.ts +1 -3
- package/src/integrations/oracle.ts +41 -35
package/builder/index.html
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
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.e95b024a.js"></script>
|
|
14
14
|
<link rel="modulepreload" href="/builder/assets/vendor.470042a4.js">
|
|
15
15
|
<link rel="stylesheet" href="/builder/assets/vendor.5e1fe644.css">
|
|
16
16
|
<link rel="stylesheet" href="/builder/assets/index.4fb3f887.css">
|
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="1638286938006" clover="3.2.0">
|
|
3
|
+
<project timestamp="1638286938007" name="All files">
|
|
4
|
+
<metrics statements="4376" coveredstatements="3233" conditionals="1744" coveredconditionals="948" methods="619" coveredmethods="440" elements="6739" coveredelements="4621" complexity="0" loc="4376" ncloc="4376" packages="20" files="138" classes="138"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="29" coveredstatements="27" 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">
|
|
@@ -1821,7 +1821,7 @@
|
|
|
1821
1821
|
</file>
|
|
1822
1822
|
</package>
|
|
1823
1823
|
<package name="api.controllers.table">
|
|
1824
|
-
<metrics statements="
|
|
1824
|
+
<metrics statements="422" coveredstatements="218" conditionals="221" coveredconditionals="81" methods="56" coveredmethods="27"/>
|
|
1825
1825
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/external.js">
|
|
1826
1826
|
<metrics statements="137" coveredstatements="11" conditionals="76" coveredconditionals="0" methods="14" coveredmethods="0"/>
|
|
1827
1827
|
<line num="1" count="34" type="stmt"/>
|
|
@@ -2019,7 +2019,7 @@
|
|
|
2019
2019
|
<line num="105" count="1" type="stmt"/>
|
|
2020
2020
|
</file>
|
|
2021
2021
|
<file name="internal.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/internal.js">
|
|
2022
|
-
<metrics statements="
|
|
2022
|
+
<metrics statements="60" coveredstatements="47" conditionals="32" coveredconditionals="23" methods="5" coveredmethods="3"/>
|
|
2023
2023
|
<line num="1" count="34" type="stmt"/>
|
|
2024
2024
|
<line num="2" count="34" type="stmt"/>
|
|
2025
2025
|
<line num="3" count="34" type="stmt"/>
|
|
@@ -2039,50 +2039,47 @@
|
|
|
2039
2039
|
<line num="45" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
2040
2040
|
<line num="46" count="4" type="stmt"/>
|
|
2041
2041
|
<line num="47" count="13" type="stmt"/>
|
|
2042
|
-
<line num="48" count="13" type="
|
|
2043
|
-
<line num="49" count="
|
|
2044
|
-
<line num="
|
|
2045
|
-
<line num="
|
|
2046
|
-
<line num="
|
|
2047
|
-
<line num="
|
|
2048
|
-
<line num="
|
|
2049
|
-
<line num="75" count="
|
|
2042
|
+
<line num="48" count="13" type="cond" truecount="3" falsecount="1"/>
|
|
2043
|
+
<line num="49" count="0" type="stmt"/>
|
|
2044
|
+
<line num="55" count="99" type="stmt"/>
|
|
2045
|
+
<line num="68" count="99" type="stmt"/>
|
|
2046
|
+
<line num="71" count="99" type="stmt"/>
|
|
2047
|
+
<line num="72" count="0" type="stmt"/>
|
|
2048
|
+
<line num="73" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2049
|
+
<line num="75" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2050
2050
|
<line num="76" count="0" type="stmt"/>
|
|
2051
|
-
<line num="
|
|
2052
|
-
<line num="
|
|
2053
|
-
<line num="
|
|
2054
|
-
<line num="
|
|
2055
|
-
<line num="
|
|
2056
|
-
<line num="
|
|
2057
|
-
<line num="
|
|
2058
|
-
<line num="
|
|
2051
|
+
<line num="80" count="99" type="stmt"/>
|
|
2052
|
+
<line num="81" count="99" type="stmt"/>
|
|
2053
|
+
<line num="89" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
2054
|
+
<line num="90" count="4" type="stmt"/>
|
|
2055
|
+
<line num="93" count="0" type="stmt"/>
|
|
2056
|
+
<line num="98" count="99" type="stmt"/>
|
|
2057
|
+
<line num="99" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
2058
|
+
<line num="100" count="1" type="stmt"/>
|
|
2059
2059
|
<line num="102" count="99" type="stmt"/>
|
|
2060
|
-
<line num="103" count="99" type="
|
|
2061
|
-
<line num="
|
|
2062
|
-
<line num="106" count="99" type="stmt"/>
|
|
2060
|
+
<line num="103" count="99" type="stmt"/>
|
|
2061
|
+
<line num="105" count="99" type="stmt"/>
|
|
2063
2062
|
<line num="107" count="99" type="stmt"/>
|
|
2064
|
-
<line num="
|
|
2065
|
-
<line num="111" count="
|
|
2066
|
-
<line num="
|
|
2067
|
-
<line num="
|
|
2063
|
+
<line num="110" count="34" type="stmt"/>
|
|
2064
|
+
<line num="111" count="2" type="stmt"/>
|
|
2065
|
+
<line num="112" count="2" type="stmt"/>
|
|
2066
|
+
<line num="113" count="2" type="stmt"/>
|
|
2068
2067
|
<line num="116" count="2" type="stmt"/>
|
|
2069
|
-
<line num="
|
|
2070
|
-
<line num="
|
|
2071
|
-
<line num="
|
|
2072
|
-
<line num="
|
|
2068
|
+
<line num="121" count="2" type="stmt"/>
|
|
2069
|
+
<line num="124" count="2" type="stmt"/>
|
|
2070
|
+
<line num="131" count="2" type="stmt"/>
|
|
2071
|
+
<line num="134" count="2" type="stmt"/>
|
|
2073
2072
|
<line num="135" count="2" type="stmt"/>
|
|
2074
|
-
<line num="
|
|
2075
|
-
<line num="
|
|
2076
|
-
<line num="
|
|
2077
|
-
<line num="142" count="2" type="
|
|
2078
|
-
<line num="
|
|
2079
|
-
<line num="146" count="
|
|
2080
|
-
<line num="
|
|
2073
|
+
<line num="136" count="2" type="stmt"/>
|
|
2074
|
+
<line num="138" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2075
|
+
<line num="139" count="0" type="stmt"/>
|
|
2076
|
+
<line num="142" count="2" type="stmt"/>
|
|
2077
|
+
<line num="145" count="34" type="stmt"/>
|
|
2078
|
+
<line num="146" count="0" type="stmt"/>
|
|
2079
|
+
<line num="147" count="0" type="stmt"/>
|
|
2080
|
+
<line num="148" count="0" type="stmt"/>
|
|
2081
|
+
<line num="149" count="0" type="stmt"/>
|
|
2081
2082
|
<line num="150" count="0" type="stmt"/>
|
|
2082
|
-
<line num="151" count="0" type="stmt"/>
|
|
2083
|
-
<line num="152" count="0" type="stmt"/>
|
|
2084
|
-
<line num="153" count="0" type="stmt"/>
|
|
2085
|
-
<line num="154" count="0" type="stmt"/>
|
|
2086
2083
|
</file>
|
|
2087
2084
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/utils.js">
|
|
2088
2085
|
<metrics statements="172" coveredstatements="116" conditionals="90" coveredconditionals="41" methods="27" coveredmethods="17"/>
|
|
@@ -2717,7 +2714,7 @@
|
|
|
2717
2714
|
<line num="12" count="23" type="stmt"/>
|
|
2718
2715
|
<line num="14" count="23" type="stmt"/>
|
|
2719
2716
|
<line num="16" count="23" type="stmt"/>
|
|
2720
|
-
<line num="
|
|
2717
|
+
<line num="254" count="23" type="stmt"/>
|
|
2721
2718
|
</file>
|
|
2722
2719
|
<file name="screen.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/screen.js">
|
|
2723
2720
|
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
@@ -2769,7 +2766,7 @@
|
|
|
2769
2766
|
<line num="13" count="23" type="stmt"/>
|
|
2770
2767
|
<line num="17" count="23" type="stmt"/>
|
|
2771
2768
|
<line num="29" count="23" type="stmt"/>
|
|
2772
|
-
<line num="
|
|
2769
|
+
<line num="211" count="23" type="stmt"/>
|
|
2773
2770
|
</file>
|
|
2774
2771
|
<file name="templates.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/templates.js">
|
|
2775
2772
|
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|