@budibase/server 1.0.192-alpha.2 → 1.0.194
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.125b5754.js → index.5d9eaa3a.js} +147 -147
- package/builder/index.html +1 -1
- package/coverage/clover.xml +16 -18
- package/coverage/coverage-final.json +1 -1
- 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/auth.js.html +1 -1
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +1 -1
- package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +1 -1
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query/index.html +1 -1
- package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +15 -15
- package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +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 +1 -1
- package/coverage/lcov-report/automations/index.js.html +1 -1
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +1 -1
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
- package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/triggers.js.html +1 -1
- package/coverage/lcov-report/constants/index.html +1 -1
- package/coverage/lcov-report/constants/index.js.html +1 -1
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +1 -1
- package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
- package/coverage/lcov-report/db/index.html +1 -1
- package/coverage/lcov-report/db/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
- package/coverage/lcov-report/db/newid.js.html +1 -1
- package/coverage/lcov-report/db/utils.js.html +1 -1
- package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
- package/coverage/lcov-report/events/index.html +1 -1
- package/coverage/lcov-report/events/index.js.html +1 -1
- package/coverage/lcov-report/events/utils.js.html +1 -1
- package/coverage/lcov-report/index.html +14 -14
- 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 +25 -29
- package/dist/api/controllers/row/utils.js +0 -3
- package/dist/definitions/datasource.js +0 -1
- package/dist/integrations/index.js +0 -3
- package/dist/package.json +5 -6
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +6 -7
- package/src/api/controllers/row/utils.js +0 -3
- package/src/definitions/datasource.ts +0 -1
- package/src/integrations/index.ts +0 -3
- package/dist/integrations/snowflake.js +0 -101
- package/src/integrations/snowflake.ts +0 -98
|
@@ -205,7 +205,7 @@ exports.publicApiUserFix = ctx => {
|
|
|
205
205
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
206
206
|
Code coverage generated by
|
|
207
207
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
208
|
-
at Wed Jun 01 2022
|
|
208
|
+
at Wed Jun 01 2022 14:49:35 GMT+0000 (Coordinated Universal Time)
|
|
209
209
|
</div>
|
|
210
210
|
<script src="../prettify.js"></script>
|
|
211
211
|
<script>
|
|
@@ -487,7 +487,7 @@ exports.readGlobalUser = <span class="fstat-no" title="function not covered" >as
|
|
|
487
487
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
488
488
|
Code coverage generated by
|
|
489
489
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
490
|
-
at Wed Jun 01 2022
|
|
490
|
+
at Wed Jun 01 2022 14:49:35 GMT+0000 (Coordinated Universal Time)
|
|
491
491
|
</div>
|
|
492
492
|
<script src="../prettify.js"></script>
|
|
493
493
|
<script>
|
package/coverage/lcov.info
CHANGED
|
@@ -2699,7 +2699,7 @@ FN:14,(anonymous_1)
|
|
|
2699
2699
|
FN:19,(anonymous_2)
|
|
2700
2700
|
FN:26,(anonymous_3)
|
|
2701
2701
|
FN:45,(anonymous_4)
|
|
2702
|
-
FN:
|
|
2702
|
+
FN:67,(anonymous_5)
|
|
2703
2703
|
FNF:6
|
|
2704
2704
|
FNH:4
|
|
2705
2705
|
FNDA:2,(anonymous_0)
|
|
@@ -2749,19 +2749,17 @@ DA:65,214
|
|
|
2749
2749
|
DA:66,0
|
|
2750
2750
|
DA:67,0
|
|
2751
2751
|
DA:68,0
|
|
2752
|
-
DA:
|
|
2753
|
-
DA:71,0
|
|
2752
|
+
DA:72,0
|
|
2754
2753
|
DA:75,0
|
|
2755
|
-
DA:
|
|
2756
|
-
DA:
|
|
2757
|
-
DA:
|
|
2754
|
+
DA:77,0
|
|
2755
|
+
DA:79,214
|
|
2756
|
+
DA:81,0
|
|
2757
|
+
DA:82,0
|
|
2758
2758
|
DA:84,0
|
|
2759
|
-
DA:
|
|
2760
|
-
DA:
|
|
2761
|
-
DA:
|
|
2762
|
-
|
|
2763
|
-
DA:94,78
|
|
2764
|
-
LF:53
|
|
2759
|
+
DA:87,214
|
|
2760
|
+
DA:89,214
|
|
2761
|
+
DA:91,78
|
|
2762
|
+
LF:51
|
|
2765
2763
|
LH:35
|
|
2766
2764
|
BRDA:30,0,0,0
|
|
2767
2765
|
BRDA:30,0,1,26
|
|
@@ -2781,23 +2779,21 @@ BRDA:65,7,0,214
|
|
|
2781
2779
|
BRDA:65,7,1,0
|
|
2782
2780
|
BRDA:66,8,0,0
|
|
2783
2781
|
BRDA:66,8,1,0
|
|
2784
|
-
BRDA:
|
|
2785
|
-
BRDA:
|
|
2786
|
-
BRDA:
|
|
2787
|
-
BRDA:
|
|
2788
|
-
BRDA:
|
|
2789
|
-
BRDA:
|
|
2790
|
-
BRDA:
|
|
2791
|
-
BRDA:
|
|
2792
|
-
BRDA:
|
|
2793
|
-
BRDA:
|
|
2794
|
-
BRDA:
|
|
2795
|
-
BRDA:
|
|
2796
|
-
BRDA:
|
|
2797
|
-
BRDA:
|
|
2798
|
-
|
|
2799
|
-
BRDA:92,16,1,212
|
|
2800
|
-
BRF:34
|
|
2782
|
+
BRDA:68,9,0,0
|
|
2783
|
+
BRDA:68,9,1,0
|
|
2784
|
+
BRDA:69,10,0,0
|
|
2785
|
+
BRDA:69,10,1,0
|
|
2786
|
+
BRDA:75,11,0,0
|
|
2787
|
+
BRDA:75,11,1,0
|
|
2788
|
+
BRDA:75,12,0,0
|
|
2789
|
+
BRDA:75,12,1,0
|
|
2790
|
+
BRDA:79,13,0,0
|
|
2791
|
+
BRDA:79,13,1,214
|
|
2792
|
+
BRDA:79,14,0,214
|
|
2793
|
+
BRDA:79,14,1,0
|
|
2794
|
+
BRDA:89,15,0,2
|
|
2795
|
+
BRDA:89,15,1,212
|
|
2796
|
+
BRF:32
|
|
2801
2797
|
BRH:13
|
|
2802
2798
|
end_of_record
|
|
2803
2799
|
TN:
|
|
@@ -70,9 +70,6 @@ exports.validate = ({ tableId, row, table }) => __awaiter(void 0, void 0, void 0
|
|
|
70
70
|
// Validate.js doesn't seem to handle array
|
|
71
71
|
if (type === FieldTypes.ARRAY && row[fieldName]) {
|
|
72
72
|
if (row[fieldName].length) {
|
|
73
|
-
if (!Array.isArray(row[fieldName])) {
|
|
74
|
-
row[fieldName] = row[fieldName].split(",");
|
|
75
|
-
}
|
|
76
73
|
row[fieldName].map(val => {
|
|
77
74
|
if (!constraints.inclusion.includes(val) &&
|
|
78
75
|
constraints.inclusion.length !== 0) {
|
|
@@ -52,7 +52,6 @@ var SourceNames;
|
|
|
52
52
|
SourceNames["GOOGLE_SHEETS"] = "GOOGLE_SHEETS";
|
|
53
53
|
SourceNames["FIREBASE"] = "FIREBASE";
|
|
54
54
|
SourceNames["REDIS"] = "REDIS";
|
|
55
|
-
SourceNames["SNOWFLAKE"] = "SNOWFLAKE";
|
|
56
55
|
})(SourceNames = exports.SourceNames || (exports.SourceNames = {}));
|
|
57
56
|
var IncludeRelationships;
|
|
58
57
|
(function (IncludeRelationships) {
|
|
@@ -13,7 +13,6 @@ const rest = require("./rest");
|
|
|
13
13
|
const googlesheets = require("./googlesheets");
|
|
14
14
|
const firebase = require("./firebase");
|
|
15
15
|
const redis = require("./redis");
|
|
16
|
-
const snowflake = require("./snowflake");
|
|
17
16
|
const { SourceNames } = require("../definitions/datasource");
|
|
18
17
|
const environment = require("../environment");
|
|
19
18
|
const DEFINITIONS = {
|
|
@@ -30,7 +29,6 @@ const DEFINITIONS = {
|
|
|
30
29
|
[SourceNames.REST]: rest.schema,
|
|
31
30
|
[SourceNames.FIREBASE]: firebase.schema,
|
|
32
31
|
[SourceNames.REDIS]: redis.schema,
|
|
33
|
-
[SourceNames.SNOWFLAKE]: snowflake.schema,
|
|
34
32
|
};
|
|
35
33
|
const INTEGRATIONS = {
|
|
36
34
|
[SourceNames.POSTGRES]: postgres.integration,
|
|
@@ -48,7 +46,6 @@ const INTEGRATIONS = {
|
|
|
48
46
|
[SourceNames.GOOGLE_SHEETS]: googlesheets.integration,
|
|
49
47
|
[SourceNames.REDIS]: redis.integration,
|
|
50
48
|
[SourceNames.FIREBASE]: firebase.integration,
|
|
51
|
-
[SourceNames.SNOWFLAKE]: snowflake.integration,
|
|
52
49
|
};
|
|
53
50
|
// optionally add oracle integration if the oracle binary can be installed
|
|
54
51
|
if (!(process.arch === "arm64" && process.platform === "darwin")) {
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/server",
|
|
3
3
|
"email": "hi@budibase.com",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.193",
|
|
5
5
|
"description": "Budibase Web Server",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -70,10 +70,10 @@
|
|
|
70
70
|
"license": "GPL-3.0",
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@apidevtools/swagger-parser": "^10.0.3",
|
|
73
|
-
"@budibase/backend-core": "^1.0.
|
|
74
|
-
"@budibase/client": "^1.0.
|
|
75
|
-
"@budibase/pro": "1.0.
|
|
76
|
-
"@budibase/string-templates": "^1.0.
|
|
73
|
+
"@budibase/backend-core": "^1.0.193",
|
|
74
|
+
"@budibase/client": "^1.0.193",
|
|
75
|
+
"@budibase/pro": "1.0.193",
|
|
76
|
+
"@budibase/string-templates": "^1.0.193",
|
|
77
77
|
"@bull-board/api": "^3.7.0",
|
|
78
78
|
"@bull-board/koa": "^3.7.0",
|
|
79
79
|
"@elastic/elasticsearch": "7.10.0",
|
|
@@ -130,7 +130,6 @@
|
|
|
130
130
|
"pouchdb-replication-stream": "1.2.9",
|
|
131
131
|
"redis": "4",
|
|
132
132
|
"server-destroy": "1.0.1",
|
|
133
|
-
"snowflake-promise": "^4.5.0",
|
|
134
133
|
"svelte": "^3.38.2",
|
|
135
134
|
"swagger-parser": "^10.0.3",
|
|
136
135
|
"to-json-schema": "0.2.5",
|