@budibase/server 1.2.39-alpha.8 → 1.2.41-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.720e99cf.js → index.e23fb647.js} +116 -116
- package/builder/index.html +1 -1
- package/coverage/clover.xml +65 -61
- package/coverage/coverage-final.json +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 +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/staticFormula.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/external.js.html +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 +15 -15
- package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/utils.js.html +37 -10
- 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 +15 -15
- 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/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 +92 -86
- package/dist/api/controllers/view/utils.js +11 -2
- package/dist/package.json +6 -6
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/src/api/controllers/view/utils.js +11 -2
package/coverage/lcov.info
CHANGED
|
@@ -3773,14 +3773,14 @@ end_of_record
|
|
|
3773
3773
|
TN:
|
|
3774
3774
|
SF:src/api/controllers/view/utils.js
|
|
3775
3775
|
FN:12,(anonymous_0)
|
|
3776
|
-
FN:
|
|
3777
|
-
FN:
|
|
3778
|
-
FN:
|
|
3779
|
-
FN:
|
|
3780
|
-
FN:
|
|
3781
|
-
FN:
|
|
3782
|
-
FN:
|
|
3783
|
-
FN:
|
|
3776
|
+
FN:37,(anonymous_1)
|
|
3777
|
+
FN:59,(anonymous_2)
|
|
3778
|
+
FN:70,(anonymous_3)
|
|
3779
|
+
FN:108,(anonymous_4)
|
|
3780
|
+
FN:124,(anonymous_5)
|
|
3781
|
+
FN:134,(anonymous_6)
|
|
3782
|
+
FN:142,(anonymous_7)
|
|
3783
|
+
FN:151,(anonymous_8)
|
|
3784
3784
|
FNF:9
|
|
3785
3785
|
FNH:6
|
|
3786
3786
|
FNDA:4,(anonymous_0)
|
|
@@ -3805,104 +3805,110 @@ DA:19,0
|
|
|
3805
3805
|
DA:20,0
|
|
3806
3806
|
DA:23,0
|
|
3807
3807
|
DA:24,0
|
|
3808
|
-
DA:
|
|
3809
|
-
DA:
|
|
3810
|
-
DA:
|
|
3811
|
-
DA:
|
|
3812
|
-
DA:
|
|
3813
|
-
DA:
|
|
3814
|
-
DA:
|
|
3815
|
-
DA:
|
|
3816
|
-
DA:
|
|
3817
|
-
DA:
|
|
3818
|
-
DA:
|
|
3819
|
-
DA:
|
|
3820
|
-
DA:
|
|
3821
|
-
DA:
|
|
3822
|
-
DA:
|
|
3823
|
-
DA:
|
|
3824
|
-
DA:
|
|
3825
|
-
DA:
|
|
3826
|
-
DA:
|
|
3827
|
-
DA:
|
|
3828
|
-
DA:
|
|
3808
|
+
DA:25,0
|
|
3809
|
+
DA:28,0
|
|
3810
|
+
DA:29,0
|
|
3811
|
+
DA:32,0
|
|
3812
|
+
DA:37,45
|
|
3813
|
+
DA:38,2
|
|
3814
|
+
DA:39,2
|
|
3815
|
+
DA:40,2
|
|
3816
|
+
DA:41,2
|
|
3817
|
+
DA:42,2
|
|
3818
|
+
DA:44,5
|
|
3819
|
+
DA:45,4
|
|
3820
|
+
DA:47,1
|
|
3821
|
+
DA:53,0
|
|
3822
|
+
DA:59,0
|
|
3823
|
+
DA:60,0
|
|
3824
|
+
DA:61,0
|
|
3825
|
+
DA:67,2
|
|
3826
|
+
DA:70,45
|
|
3827
|
+
DA:71,23
|
|
3828
|
+
DA:72,23
|
|
3829
3829
|
DA:73,23
|
|
3830
|
-
DA:
|
|
3831
|
-
DA:
|
|
3832
|
-
DA:
|
|
3833
|
-
DA:
|
|
3830
|
+
DA:74,23
|
|
3831
|
+
DA:79,23
|
|
3832
|
+
DA:80,0
|
|
3833
|
+
DA:82,23
|
|
3834
3834
|
DA:84,0
|
|
3835
3835
|
DA:85,0
|
|
3836
3836
|
DA:86,0
|
|
3837
|
-
DA:
|
|
3838
|
-
DA:
|
|
3839
|
-
DA:
|
|
3837
|
+
DA:92,0
|
|
3838
|
+
DA:93,0
|
|
3839
|
+
DA:94,0
|
|
3840
3840
|
DA:95,0
|
|
3841
|
-
DA:
|
|
3842
|
-
DA:
|
|
3843
|
-
DA:
|
|
3844
|
-
DA:
|
|
3845
|
-
DA:
|
|
3846
|
-
DA:
|
|
3847
|
-
DA:
|
|
3848
|
-
DA:
|
|
3849
|
-
DA:
|
|
3850
|
-
DA:
|
|
3851
|
-
DA:
|
|
3852
|
-
DA:
|
|
3853
|
-
DA:115,45
|
|
3841
|
+
DA:96,0
|
|
3842
|
+
DA:98,0
|
|
3843
|
+
DA:99,0
|
|
3844
|
+
DA:104,0
|
|
3845
|
+
DA:108,45
|
|
3846
|
+
DA:109,1
|
|
3847
|
+
DA:110,1
|
|
3848
|
+
DA:111,1
|
|
3849
|
+
DA:112,1
|
|
3850
|
+
DA:113,1
|
|
3851
|
+
DA:114,1
|
|
3852
|
+
DA:115,1
|
|
3854
3853
|
DA:117,0
|
|
3854
|
+
DA:118,0
|
|
3855
3855
|
DA:119,0
|
|
3856
3856
|
DA:120,0
|
|
3857
|
-
DA:
|
|
3858
|
-
DA:122,0
|
|
3859
|
-
DA:125,45
|
|
3857
|
+
DA:124,45
|
|
3860
3858
|
DA:126,0
|
|
3861
|
-
DA:127,0
|
|
3862
3859
|
DA:128,0
|
|
3863
3860
|
DA:129,0
|
|
3864
3861
|
DA:130,0
|
|
3865
|
-
DA:
|
|
3866
|
-
DA:134,
|
|
3867
|
-
DA:135,
|
|
3868
|
-
DA:136,
|
|
3869
|
-
DA:137,
|
|
3870
|
-
DA:
|
|
3862
|
+
DA:131,0
|
|
3863
|
+
DA:134,45
|
|
3864
|
+
DA:135,0
|
|
3865
|
+
DA:136,0
|
|
3866
|
+
DA:137,0
|
|
3867
|
+
DA:138,0
|
|
3868
|
+
DA:139,0
|
|
3871
3869
|
DA:142,45
|
|
3872
|
-
DA:143,
|
|
3873
|
-
DA:144,
|
|
3874
|
-
DA:145,
|
|
3875
|
-
DA:
|
|
3876
|
-
DA:
|
|
3877
|
-
|
|
3870
|
+
DA:143,6
|
|
3871
|
+
DA:144,6
|
|
3872
|
+
DA:145,6
|
|
3873
|
+
DA:146,1
|
|
3874
|
+
DA:148,5
|
|
3875
|
+
DA:151,45
|
|
3876
|
+
DA:152,1
|
|
3877
|
+
DA:153,0
|
|
3878
|
+
DA:154,0
|
|
3879
|
+
DA:156,0
|
|
3880
|
+
DA:158,0
|
|
3881
|
+
LF:86
|
|
3878
3882
|
LH:44
|
|
3879
3883
|
BRDA:14,0,0,4
|
|
3880
3884
|
BRDA:14,0,1,0
|
|
3881
3885
|
BRDA:19,1,0,0
|
|
3882
3886
|
BRDA:19,1,1,0
|
|
3883
|
-
BRDA:
|
|
3884
|
-
BRDA:
|
|
3885
|
-
BRDA:
|
|
3886
|
-
BRDA:
|
|
3887
|
-
BRDA:
|
|
3888
|
-
BRDA:
|
|
3889
|
-
BRDA:
|
|
3890
|
-
BRDA:
|
|
3891
|
-
BRDA:
|
|
3892
|
-
BRDA:
|
|
3887
|
+
BRDA:28,2,0,0
|
|
3888
|
+
BRDA:28,2,1,0
|
|
3889
|
+
BRDA:40,3,0,2
|
|
3890
|
+
BRDA:40,3,1,0
|
|
3891
|
+
BRDA:44,4,0,4
|
|
3892
|
+
BRDA:44,4,1,1
|
|
3893
|
+
BRDA:72,5,0,23
|
|
3894
|
+
BRDA:72,5,1,0
|
|
3895
|
+
BRDA:79,6,0,0
|
|
3896
|
+
BRDA:79,6,1,23
|
|
3893
3897
|
BRDA:85,7,0,0
|
|
3894
3898
|
BRDA:85,7,1,0
|
|
3895
|
-
BRDA:
|
|
3896
|
-
BRDA:
|
|
3897
|
-
BRDA:
|
|
3898
|
-
BRDA:
|
|
3899
|
-
BRDA:
|
|
3900
|
-
BRDA:
|
|
3901
|
-
BRDA:
|
|
3902
|
-
BRDA:
|
|
3903
|
-
BRDA:
|
|
3904
|
-
BRDA:
|
|
3905
|
-
|
|
3899
|
+
BRDA:94,8,0,0
|
|
3900
|
+
BRDA:94,8,1,0
|
|
3901
|
+
BRDA:98,9,0,0
|
|
3902
|
+
BRDA:98,9,1,0
|
|
3903
|
+
BRDA:98,10,0,0
|
|
3904
|
+
BRDA:98,10,1,0
|
|
3905
|
+
BRDA:110,11,0,1
|
|
3906
|
+
BRDA:110,11,1,0
|
|
3907
|
+
BRDA:145,12,0,1
|
|
3908
|
+
BRDA:145,12,1,5
|
|
3909
|
+
BRDA:153,13,0,0
|
|
3910
|
+
BRDA:153,13,1,0
|
|
3911
|
+
BRF:28
|
|
3906
3912
|
BRH:9
|
|
3907
3913
|
end_of_record
|
|
3908
3914
|
TN:
|
|
@@ -23,8 +23,17 @@ exports.getView = (viewName) => __awaiter(void 0, void 0, void 0, function* () {
|
|
|
23
23
|
if (viewName.startsWith(DocumentType.TABLE + SEPARATOR)) {
|
|
24
24
|
return null;
|
|
25
25
|
}
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
try {
|
|
27
|
+
const viewDoc = yield db.get(generateMemoryViewID(viewName));
|
|
28
|
+
return viewDoc.view;
|
|
29
|
+
}
|
|
30
|
+
catch (err) {
|
|
31
|
+
// Return null when PouchDB doesn't found the view
|
|
32
|
+
if (err.status === 404) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
throw err;
|
|
36
|
+
}
|
|
28
37
|
}
|
|
29
38
|
});
|
|
30
39
|
exports.getViews = () => __awaiter(void 0, void 0, void 0, function* () {
|
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.2.
|
|
4
|
+
"version": "1.2.40",
|
|
5
5
|
"description": "Budibase Web Server",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -77,11 +77,11 @@
|
|
|
77
77
|
"license": "GPL-3.0",
|
|
78
78
|
"dependencies": {
|
|
79
79
|
"@apidevtools/swagger-parser": "10.0.3",
|
|
80
|
-
"@budibase/backend-core": "1.2.
|
|
81
|
-
"@budibase/client": "1.2.
|
|
82
|
-
"@budibase/pro": "1.2.
|
|
83
|
-
"@budibase/string-templates": "1.2.
|
|
84
|
-
"@budibase/types": "1.2.
|
|
80
|
+
"@budibase/backend-core": "1.2.40",
|
|
81
|
+
"@budibase/client": "1.2.40",
|
|
82
|
+
"@budibase/pro": "1.2.40",
|
|
83
|
+
"@budibase/string-templates": "1.2.40",
|
|
84
|
+
"@budibase/types": "^1.2.40",
|
|
85
85
|
"@bull-board/api": "3.7.0",
|
|
86
86
|
"@bull-board/koa": "3.9.4",
|
|
87
87
|
"@elastic/elasticsearch": "7.10.0",
|