@budibase/server 1.2.35 → 1.2.38
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.05962580.js → index.47bfb9a6.js} +48 -48
- package/builder/index.html +1 -1
- package/coverage/clover.xml +2 -2
- package/coverage/coverage-final.json +13 -13
- 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 +3 -3
- package/coverage/lcov-report/api/controllers/backup.js.html +3 -3
- package/coverage/lcov-report/api/controllers/cloud.js.html +4 -4
- package/coverage/lcov-report/api/controllers/component.js.html +3 -3
- package/coverage/lcov-report/api/controllers/datasource.js.html +3 -3
- package/coverage/lcov-report/api/controllers/dev.js.html +4 -4
- package/coverage/lcov-report/api/controllers/index.html +1 -1
- package/coverage/lcov-report/api/controllers/integration.js.html +3 -3
- 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 +3 -3
- 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 +1 -1
- package/coverage/lcov-report/api/controllers/view/index.js.html +3 -3
- package/coverage/lcov-report/api/controllers/view/utils.js.html +5 -5
- 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 +3 -3
- package/coverage/lcov-report/db/newid.js.html +1 -1
- package/coverage/lcov-report/db/utils.js.html +39 -39
- 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 +1 -1
- 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 +3 -3
- 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 +3 -3
- 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 +9 -9
- 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/dist/api/controllers/analytics.js +1 -1
- package/dist/api/controllers/application.js +8 -8
- package/dist/api/controllers/automation.js +2 -2
- package/dist/api/controllers/backup.js +2 -2
- package/dist/api/controllers/cloud.js +3 -3
- package/dist/api/controllers/component.js +2 -2
- package/dist/api/controllers/datasource.js +2 -2
- package/dist/api/controllers/deploy/index.js +6 -6
- package/dist/api/controllers/dev.js +3 -3
- package/dist/api/controllers/integration.js +2 -2
- package/dist/api/controllers/public/utils.js +1 -1
- package/dist/api/controllers/row/ExternalRequest.js +3 -3
- package/dist/api/controllers/row/internal.js +2 -2
- package/dist/api/controllers/static/index.js +2 -2
- package/dist/api/controllers/view/index.js +2 -2
- package/dist/api/controllers/view/utils.js +3 -3
- package/dist/db/linkedRows/linkUtils.js +2 -2
- package/dist/db/utils.js +37 -37
- package/dist/db/views/staticViews.js +4 -4
- package/dist/definitions/automations.js +6 -6
- package/dist/definitions/datasource.js +6 -70
- package/dist/integrations/airtable.js +13 -13
- package/dist/integrations/arangodb.js +8 -8
- package/dist/integrations/base/sql.js +28 -28
- package/dist/integrations/base/sqlTable.js +4 -4
- package/dist/integrations/couchdb.js +8 -8
- package/dist/integrations/dynamodb.js +21 -21
- package/dist/integrations/elasticsearch.js +12 -12
- package/dist/integrations/firebase.js +12 -12
- package/dist/integrations/googlesheets.js +14 -14
- package/dist/integrations/index.js +34 -34
- package/dist/integrations/microsoftSqlServer.js +14 -14
- package/dist/integrations/mongodb.js +9 -9
- package/dist/integrations/mysql.js +13 -13
- package/dist/integrations/oracle.js +13 -13
- package/dist/integrations/postgres.js +15 -15
- package/dist/integrations/redis.js +10 -10
- package/dist/integrations/rest.js +15 -14
- package/dist/integrations/s3.js +2 -2
- package/dist/integrations/snowflake.js +5 -5
- package/dist/integrations/utils.js +14 -14
- package/dist/middleware/builder.js +2 -2
- package/dist/migrations/functions/appUrls.js +2 -2
- package/dist/migrations/functions/backfill/app/queries.js +3 -1
- package/dist/migrations/functions/backfill/app.js +1 -1
- package/dist/migrations/functions/backfill/global/users.js +1 -1
- package/dist/package.json +6 -6
- package/dist/tests/utilities/TestConfiguration.js +2 -2
- package/dist/threads/automation.js +2 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utilities/routing/index.js +2 -2
- package/dist/utilities/security.js +8 -8
- package/package.json +7 -7
- package/src/api/controllers/analytics.ts +2 -2
- package/src/api/controllers/application.ts +9 -9
- package/src/api/controllers/automation.js +2 -2
- package/src/api/controllers/backup.js +2 -2
- package/src/api/controllers/cloud.js +3 -3
- package/src/api/controllers/component.js +2 -2
- package/src/api/controllers/datasource.js +2 -2
- package/src/api/controllers/deploy/index.ts +7 -7
- package/src/api/controllers/dev.js +3 -3
- package/src/api/controllers/integration.js +2 -2
- package/src/api/controllers/public/utils.ts +2 -2
- package/src/api/controllers/query/import/sources/openapi2.ts +1 -1
- package/src/api/controllers/query/import/sources/openapi3.ts +1 -1
- package/src/api/controllers/row/ExternalRequest.ts +5 -7
- package/src/api/controllers/row/internal.js +2 -2
- package/src/api/controllers/static/index.ts +2 -2
- package/src/api/controllers/view/index.js +2 -2
- package/src/api/controllers/view/utils.js +4 -4
- package/src/db/linkedRows/linkUtils.js +2 -2
- package/src/db/utils.js +38 -38
- package/src/db/views/staticViews.js +4 -9
- package/src/definitions/automations.ts +2 -2
- package/src/definitions/common.ts +14 -65
- package/src/definitions/datasource.ts +5 -250
- package/src/integrations/airtable.ts +16 -16
- package/src/integrations/arangodb.ts +11 -11
- package/src/integrations/base/sql.ts +16 -16
- package/src/integrations/base/sqlTable.ts +1 -6
- package/src/integrations/base/utils.ts +1 -2
- package/src/integrations/couchdb.ts +11 -11
- package/src/integrations/dynamodb.ts +24 -24
- package/src/integrations/elasticsearch.ts +15 -15
- package/src/integrations/firebase.ts +15 -15
- package/src/integrations/googlesheets.ts +19 -18
- package/src/integrations/index.ts +34 -34
- package/src/integrations/microsoftSqlServer.ts +19 -18
- package/src/integrations/mongodb.ts +12 -12
- package/src/integrations/mysql.ts +19 -18
- package/src/integrations/oracle.ts +16 -16
- package/src/integrations/postgres.ts +20 -20
- package/src/integrations/queries/sql.ts +1 -2
- package/src/integrations/redis.ts +10 -14
- package/src/integrations/rest.ts +22 -20
- package/src/integrations/s3.ts +2 -3
- package/src/integrations/snowflake.ts +5 -5
- package/src/integrations/tests/sql.spec.js +7 -7
- package/src/integrations/utils.ts +8 -9
- package/src/middleware/builder.js +2 -2
- package/src/migrations/functions/appUrls.ts +2 -2
- package/src/migrations/functions/backfill/app/queries.ts +3 -2
- package/src/migrations/functions/backfill/app.ts +1 -1
- package/src/migrations/functions/backfill/global/users.ts +1 -1
- package/src/migrations/functions/tests/appUrls.spec.js +3 -3
- package/src/migrations/tests/index.spec.ts +2 -2
- package/src/tests/utilities/TestConfiguration.js +2 -2
- package/src/threads/automation.ts +3 -3
- package/src/utilities/routing/index.js +2 -2
- package/src/utilities/security.js +8 -8
- package/dist/integrations/base/IntegrationBase.js +0 -2
- package/dist/integrations/base/datasourcePlus.js +0 -2
- package/src/integrations/base/IntegrationBase.ts +0 -6
- package/src/integrations/base/datasourcePlus.ts +0 -13
|
@@ -14,50 +14,50 @@ const googlesheets = require("./googlesheets");
|
|
|
14
14
|
const firebase = require("./firebase");
|
|
15
15
|
const redis = require("./redis");
|
|
16
16
|
const snowflake = require("./snowflake");
|
|
17
|
-
const {
|
|
17
|
+
const { SourceName } = require("@budibase/types");
|
|
18
18
|
const environment = require("../environment");
|
|
19
19
|
const DEFINITIONS = {
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
[
|
|
20
|
+
[SourceName.POSTGRES]: postgres.schema,
|
|
21
|
+
[SourceName.DYNAMODB]: dynamodb.schema,
|
|
22
|
+
[SourceName.MONGODB]: mongodb.schema,
|
|
23
|
+
[SourceName.ELASTICSEARCH]: elasticsearch.schema,
|
|
24
|
+
[SourceName.COUCHDB]: couchdb.schema,
|
|
25
|
+
[SourceName.SQL_SERVER]: sqlServer.schema,
|
|
26
|
+
[SourceName.S3]: s3.schema,
|
|
27
|
+
[SourceName.AIRTABLE]: airtable.schema,
|
|
28
|
+
[SourceName.MYSQL]: mysql.schema,
|
|
29
|
+
[SourceName.ARANGODB]: arangodb.schema,
|
|
30
|
+
[SourceName.REST]: rest.schema,
|
|
31
|
+
[SourceName.FIRESTORE]: firebase.schema,
|
|
32
|
+
[SourceName.REDIS]: redis.schema,
|
|
33
|
+
[SourceName.SNOWFLAKE]: snowflake.schema,
|
|
34
34
|
};
|
|
35
35
|
const INTEGRATIONS = {
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[
|
|
39
|
-
[
|
|
40
|
-
[
|
|
41
|
-
[
|
|
42
|
-
[
|
|
43
|
-
[
|
|
44
|
-
[
|
|
45
|
-
[
|
|
46
|
-
[
|
|
47
|
-
[
|
|
48
|
-
[
|
|
49
|
-
[
|
|
50
|
-
[
|
|
51
|
-
[
|
|
36
|
+
[SourceName.POSTGRES]: postgres.integration,
|
|
37
|
+
[SourceName.DYNAMODB]: dynamodb.integration,
|
|
38
|
+
[SourceName.MONGODB]: mongodb.integration,
|
|
39
|
+
[SourceName.ELASTICSEARCH]: elasticsearch.integration,
|
|
40
|
+
[SourceName.COUCHDB]: couchdb.integration,
|
|
41
|
+
[SourceName.SQL_SERVER]: sqlServer.integration,
|
|
42
|
+
[SourceName.S3]: s3.integration,
|
|
43
|
+
[SourceName.AIRTABLE]: airtable.integration,
|
|
44
|
+
[SourceName.MYSQL]: mysql.integration,
|
|
45
|
+
[SourceName.ARANGODB]: arangodb.integration,
|
|
46
|
+
[SourceName.REST]: rest.integration,
|
|
47
|
+
[SourceName.FIRESTORE]: firebase.integration,
|
|
48
|
+
[SourceName.GOOGLE_SHEETS]: googlesheets.integration,
|
|
49
|
+
[SourceName.REDIS]: redis.integration,
|
|
50
|
+
[SourceName.FIREBASE]: firebase.integration,
|
|
51
|
+
[SourceName.SNOWFLAKE]: snowflake.integration,
|
|
52
52
|
};
|
|
53
53
|
// optionally add oracle integration if the oracle binary can be installed
|
|
54
54
|
if (process.arch && !process.arch.startsWith("arm")) {
|
|
55
55
|
const oracle = require("./oracle");
|
|
56
|
-
DEFINITIONS[
|
|
57
|
-
INTEGRATIONS[
|
|
56
|
+
DEFINITIONS[SourceName.ORACLE] = oracle.schema;
|
|
57
|
+
INTEGRATIONS[SourceName.ORACLE] = oracle.integration;
|
|
58
58
|
}
|
|
59
59
|
if (environment.SELF_HOSTED) {
|
|
60
|
-
DEFINITIONS[
|
|
60
|
+
DEFINITIONS[SourceName.GOOGLE_SHEETS] = googlesheets.schema;
|
|
61
61
|
}
|
|
62
62
|
module.exports = {
|
|
63
63
|
definitions: DEFINITIONS,
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const
|
|
12
|
+
const types_1 = require("@budibase/types");
|
|
13
13
|
const utils_1 = require("./utils");
|
|
14
14
|
var MSSQLModule;
|
|
15
15
|
(function (MSSQLModule) {
|
|
@@ -24,54 +24,54 @@ var MSSQLModule;
|
|
|
24
24
|
type: "Relational",
|
|
25
25
|
datasource: {
|
|
26
26
|
user: {
|
|
27
|
-
type:
|
|
27
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
28
28
|
required: true,
|
|
29
29
|
default: "localhost",
|
|
30
30
|
},
|
|
31
31
|
password: {
|
|
32
|
-
type:
|
|
32
|
+
type: types_1.DatasourceFieldType.PASSWORD,
|
|
33
33
|
required: true,
|
|
34
34
|
},
|
|
35
35
|
server: {
|
|
36
|
-
type:
|
|
36
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
37
37
|
default: "localhost",
|
|
38
38
|
},
|
|
39
39
|
port: {
|
|
40
|
-
type:
|
|
40
|
+
type: types_1.DatasourceFieldType.NUMBER,
|
|
41
41
|
required: false,
|
|
42
42
|
default: 1433,
|
|
43
43
|
},
|
|
44
44
|
database: {
|
|
45
|
-
type:
|
|
45
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
46
46
|
default: "root",
|
|
47
47
|
},
|
|
48
48
|
schema: {
|
|
49
|
-
type:
|
|
49
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
50
50
|
default: DEFAULT_SCHEMA,
|
|
51
51
|
},
|
|
52
52
|
encrypt: {
|
|
53
|
-
type:
|
|
53
|
+
type: types_1.DatasourceFieldType.BOOLEAN,
|
|
54
54
|
default: true,
|
|
55
55
|
},
|
|
56
56
|
},
|
|
57
57
|
query: {
|
|
58
58
|
create: {
|
|
59
|
-
type:
|
|
59
|
+
type: types_1.QueryType.SQL,
|
|
60
60
|
},
|
|
61
61
|
read: {
|
|
62
|
-
type:
|
|
62
|
+
type: types_1.QueryType.SQL,
|
|
63
63
|
},
|
|
64
64
|
update: {
|
|
65
|
-
type:
|
|
65
|
+
type: types_1.QueryType.SQL,
|
|
66
66
|
},
|
|
67
67
|
delete: {
|
|
68
|
-
type:
|
|
68
|
+
type: types_1.QueryType.SQL,
|
|
69
69
|
},
|
|
70
70
|
},
|
|
71
71
|
};
|
|
72
72
|
class SqlServerIntegration extends Sql {
|
|
73
73
|
constructor(config) {
|
|
74
|
-
super(utils_1.
|
|
74
|
+
super(utils_1.SqlClient.MS_SQL);
|
|
75
75
|
this.index = 0;
|
|
76
76
|
this.tables = {};
|
|
77
77
|
this.schemaErrors = {};
|
|
@@ -124,7 +124,7 @@ var MSSQLModule;
|
|
|
124
124
|
}
|
|
125
125
|
// this is a hack to get the inserted ID back,
|
|
126
126
|
// no way to do this with Knex nicely
|
|
127
|
-
const sql = operation ===
|
|
127
|
+
const sql = operation === types_1.Operation.CREATE
|
|
128
128
|
? `${query.sql}; SELECT SCOPE_IDENTITY() AS id;`
|
|
129
129
|
: query.sql;
|
|
130
130
|
return yield request.query(sql);
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const
|
|
12
|
+
const types_1 = require("@budibase/types");
|
|
13
13
|
const mongodb_1 = require("mongodb");
|
|
14
14
|
var MongoDBModule;
|
|
15
15
|
(function (MongoDBModule) {
|
|
@@ -20,38 +20,38 @@ var MongoDBModule;
|
|
|
20
20
|
description: "MongoDB is a general purpose, document-based, distributed database built for modern application developers and for the cloud era.",
|
|
21
21
|
datasource: {
|
|
22
22
|
connectionString: {
|
|
23
|
-
type:
|
|
23
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
24
24
|
required: true,
|
|
25
25
|
default: "mongodb://localhost:27017",
|
|
26
26
|
},
|
|
27
27
|
db: {
|
|
28
|
-
type:
|
|
28
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
29
29
|
required: true,
|
|
30
30
|
},
|
|
31
31
|
},
|
|
32
32
|
query: {
|
|
33
33
|
create: {
|
|
34
|
-
type:
|
|
34
|
+
type: types_1.QueryType.JSON,
|
|
35
35
|
},
|
|
36
36
|
read: {
|
|
37
|
-
type:
|
|
37
|
+
type: types_1.QueryType.JSON,
|
|
38
38
|
},
|
|
39
39
|
update: {
|
|
40
|
-
type:
|
|
40
|
+
type: types_1.QueryType.JSON,
|
|
41
41
|
},
|
|
42
42
|
delete: {
|
|
43
|
-
type:
|
|
43
|
+
type: types_1.QueryType.JSON,
|
|
44
44
|
},
|
|
45
45
|
},
|
|
46
46
|
extra: {
|
|
47
47
|
collection: {
|
|
48
48
|
displayName: "Collection",
|
|
49
|
-
type:
|
|
49
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
50
50
|
required: true,
|
|
51
51
|
},
|
|
52
52
|
actionTypes: {
|
|
53
53
|
displayName: "Action Types",
|
|
54
|
-
type:
|
|
54
|
+
type: types_1.DatasourceFieldType.LIST,
|
|
55
55
|
required: true,
|
|
56
56
|
data: {
|
|
57
57
|
read: ["find", "findOne", "findOneAndUpdate", "count", "distinct"],
|
|
@@ -12,7 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const
|
|
15
|
+
const types_1 = require("@budibase/types");
|
|
16
16
|
const utils_1 = require("./utils");
|
|
17
17
|
const dayjs_1 = __importDefault(require("dayjs"));
|
|
18
18
|
const { NUMBER_REGEX } = require("../utilities");
|
|
@@ -28,51 +28,51 @@ var MySQLModule;
|
|
|
28
28
|
description: "MySQL Database Service is a fully managed database service to deploy cloud-native applications. ",
|
|
29
29
|
datasource: {
|
|
30
30
|
host: {
|
|
31
|
-
type:
|
|
31
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
32
32
|
default: "localhost",
|
|
33
33
|
required: true,
|
|
34
34
|
},
|
|
35
35
|
port: {
|
|
36
|
-
type:
|
|
36
|
+
type: types_1.DatasourceFieldType.NUMBER,
|
|
37
37
|
default: 3306,
|
|
38
38
|
required: false,
|
|
39
39
|
},
|
|
40
40
|
user: {
|
|
41
|
-
type:
|
|
41
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
42
42
|
default: "root",
|
|
43
43
|
required: true,
|
|
44
44
|
},
|
|
45
45
|
password: {
|
|
46
|
-
type:
|
|
46
|
+
type: types_1.DatasourceFieldType.PASSWORD,
|
|
47
47
|
default: "root",
|
|
48
48
|
required: true,
|
|
49
49
|
},
|
|
50
50
|
database: {
|
|
51
|
-
type:
|
|
51
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
52
52
|
required: true,
|
|
53
53
|
},
|
|
54
54
|
ssl: {
|
|
55
|
-
type:
|
|
55
|
+
type: types_1.DatasourceFieldType.OBJECT,
|
|
56
56
|
required: false,
|
|
57
57
|
},
|
|
58
58
|
rejectUnauthorized: {
|
|
59
|
-
type:
|
|
59
|
+
type: types_1.DatasourceFieldType.BOOLEAN,
|
|
60
60
|
default: true,
|
|
61
61
|
required: false,
|
|
62
62
|
},
|
|
63
63
|
},
|
|
64
64
|
query: {
|
|
65
65
|
create: {
|
|
66
|
-
type:
|
|
66
|
+
type: types_1.QueryType.SQL,
|
|
67
67
|
},
|
|
68
68
|
read: {
|
|
69
|
-
type:
|
|
69
|
+
type: types_1.QueryType.SQL,
|
|
70
70
|
},
|
|
71
71
|
update: {
|
|
72
|
-
type:
|
|
72
|
+
type: types_1.QueryType.SQL,
|
|
73
73
|
},
|
|
74
74
|
delete: {
|
|
75
|
-
type:
|
|
75
|
+
type: types_1.QueryType.SQL,
|
|
76
76
|
},
|
|
77
77
|
},
|
|
78
78
|
};
|
|
@@ -98,7 +98,7 @@ var MySQLModule;
|
|
|
98
98
|
}
|
|
99
99
|
class MySQLIntegration extends Sql {
|
|
100
100
|
constructor(config) {
|
|
101
|
-
super(utils_1.
|
|
101
|
+
super(utils_1.SqlClient.MY_SQL);
|
|
102
102
|
this.tables = {};
|
|
103
103
|
this.schemaErrors = {};
|
|
104
104
|
this.config = config;
|
|
@@ -12,7 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const
|
|
15
|
+
const types_1 = require("@budibase/types");
|
|
16
16
|
const utils_1 = require("./utils");
|
|
17
17
|
const oracledb_1 = __importDefault(require("oracledb"));
|
|
18
18
|
const sql_1 = __importDefault(require("./base/sql"));
|
|
@@ -28,40 +28,40 @@ var OracleModule;
|
|
|
28
28
|
description: "Oracle Database is an object-relational database management system developed by Oracle Corporation",
|
|
29
29
|
datasource: {
|
|
30
30
|
host: {
|
|
31
|
-
type:
|
|
31
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
32
32
|
default: "localhost",
|
|
33
33
|
required: true,
|
|
34
34
|
},
|
|
35
35
|
port: {
|
|
36
|
-
type:
|
|
36
|
+
type: types_1.DatasourceFieldType.NUMBER,
|
|
37
37
|
required: true,
|
|
38
38
|
default: 1521,
|
|
39
39
|
},
|
|
40
40
|
database: {
|
|
41
|
-
type:
|
|
41
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
42
42
|
required: true,
|
|
43
43
|
},
|
|
44
44
|
user: {
|
|
45
|
-
type:
|
|
45
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
46
46
|
required: true,
|
|
47
47
|
},
|
|
48
48
|
password: {
|
|
49
|
-
type:
|
|
49
|
+
type: types_1.DatasourceFieldType.PASSWORD,
|
|
50
50
|
required: true,
|
|
51
51
|
},
|
|
52
52
|
},
|
|
53
53
|
query: {
|
|
54
54
|
create: {
|
|
55
|
-
type:
|
|
55
|
+
type: types_1.QueryType.SQL,
|
|
56
56
|
},
|
|
57
57
|
read: {
|
|
58
|
-
type:
|
|
58
|
+
type: types_1.QueryType.SQL,
|
|
59
59
|
},
|
|
60
60
|
update: {
|
|
61
|
-
type:
|
|
61
|
+
type: types_1.QueryType.SQL,
|
|
62
62
|
},
|
|
63
63
|
delete: {
|
|
64
|
-
type:
|
|
64
|
+
type: types_1.QueryType.SQL,
|
|
65
65
|
},
|
|
66
66
|
},
|
|
67
67
|
};
|
|
@@ -74,7 +74,7 @@ var OracleModule;
|
|
|
74
74
|
};
|
|
75
75
|
class OracleIntegration extends sql_1.default {
|
|
76
76
|
constructor(config) {
|
|
77
|
-
super(utils_1.
|
|
77
|
+
super(utils_1.SqlClient.ORACLE);
|
|
78
78
|
this.index = 1;
|
|
79
79
|
this.tables = {};
|
|
80
80
|
this.schemaErrors = {};
|
|
@@ -324,7 +324,7 @@ var OracleModule;
|
|
|
324
324
|
else {
|
|
325
325
|
// read the row to be deleted up front for the return
|
|
326
326
|
let deletedRows;
|
|
327
|
-
if (operation ===
|
|
327
|
+
if (operation === types_1.Operation.DELETE) {
|
|
328
328
|
const queryFn = (query) => this.internalQuery(query);
|
|
329
329
|
deletedRows = yield this.getReturningRow(queryFn, json);
|
|
330
330
|
}
|
|
@@ -341,7 +341,7 @@ var OracleModule;
|
|
|
341
341
|
// get the last row that was updated
|
|
342
342
|
if (response.lastRowid &&
|
|
343
343
|
((_c = json.endpoint) === null || _c === void 0 ? void 0 : _c.entityId) &&
|
|
344
|
-
operation !==
|
|
344
|
+
operation !== types_1.Operation.DELETE) {
|
|
345
345
|
const lastRow = yield this.internalQuery({
|
|
346
346
|
sql: `SELECT * FROM \"${json.endpoint.entityId}\" WHERE ROWID = '${response.lastRowid}'`,
|
|
347
347
|
});
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const
|
|
12
|
+
const types_1 = require("@budibase/types");
|
|
13
13
|
const utils_1 = require("./utils");
|
|
14
14
|
var PostgresModule;
|
|
15
15
|
(function (PostgresModule) {
|
|
@@ -33,69 +33,69 @@ var PostgresModule;
|
|
|
33
33
|
description: "PostgreSQL, also known as Postgres, is a free and open-source relational database management system emphasizing extensibility and SQL compliance.",
|
|
34
34
|
datasource: {
|
|
35
35
|
host: {
|
|
36
|
-
type:
|
|
36
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
37
37
|
default: "localhost",
|
|
38
38
|
required: true,
|
|
39
39
|
},
|
|
40
40
|
port: {
|
|
41
|
-
type:
|
|
41
|
+
type: types_1.DatasourceFieldType.NUMBER,
|
|
42
42
|
required: true,
|
|
43
43
|
default: 5432,
|
|
44
44
|
},
|
|
45
45
|
database: {
|
|
46
|
-
type:
|
|
46
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
47
47
|
default: "postgres",
|
|
48
48
|
required: true,
|
|
49
49
|
},
|
|
50
50
|
user: {
|
|
51
|
-
type:
|
|
51
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
52
52
|
default: "root",
|
|
53
53
|
required: true,
|
|
54
54
|
},
|
|
55
55
|
password: {
|
|
56
|
-
type:
|
|
56
|
+
type: types_1.DatasourceFieldType.PASSWORD,
|
|
57
57
|
default: "root",
|
|
58
58
|
required: true,
|
|
59
59
|
},
|
|
60
60
|
schema: {
|
|
61
|
-
type:
|
|
61
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
62
62
|
default: "public",
|
|
63
63
|
required: true,
|
|
64
64
|
},
|
|
65
65
|
ssl: {
|
|
66
|
-
type:
|
|
66
|
+
type: types_1.DatasourceFieldType.BOOLEAN,
|
|
67
67
|
default: false,
|
|
68
68
|
required: false,
|
|
69
69
|
},
|
|
70
70
|
rejectUnauthorized: {
|
|
71
|
-
type:
|
|
71
|
+
type: types_1.DatasourceFieldType.BOOLEAN,
|
|
72
72
|
default: false,
|
|
73
73
|
required: false,
|
|
74
74
|
},
|
|
75
75
|
ca: {
|
|
76
|
-
type:
|
|
76
|
+
type: types_1.DatasourceFieldType.LONGFORM,
|
|
77
77
|
default: false,
|
|
78
78
|
required: false,
|
|
79
79
|
},
|
|
80
80
|
},
|
|
81
81
|
query: {
|
|
82
82
|
create: {
|
|
83
|
-
type:
|
|
83
|
+
type: types_1.QueryType.SQL,
|
|
84
84
|
},
|
|
85
85
|
read: {
|
|
86
|
-
type:
|
|
86
|
+
type: types_1.QueryType.SQL,
|
|
87
87
|
},
|
|
88
88
|
update: {
|
|
89
|
-
type:
|
|
89
|
+
type: types_1.QueryType.SQL,
|
|
90
90
|
},
|
|
91
91
|
delete: {
|
|
92
|
-
type:
|
|
92
|
+
type: types_1.QueryType.SQL,
|
|
93
93
|
},
|
|
94
94
|
},
|
|
95
95
|
};
|
|
96
96
|
class PostgresIntegration extends Sql {
|
|
97
97
|
constructor(config) {
|
|
98
|
-
super(utils_1.
|
|
98
|
+
super(utils_1.SqlClient.POSTGRES);
|
|
99
99
|
this.index = 1;
|
|
100
100
|
this.tables = {};
|
|
101
101
|
this.schemaErrors = {};
|
|
@@ -12,7 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const
|
|
15
|
+
const types_1 = require("@budibase/types");
|
|
16
16
|
const ioredis_1 = __importDefault(require("ioredis"));
|
|
17
17
|
var RedisModule;
|
|
18
18
|
(function (RedisModule) {
|
|
@@ -43,36 +43,36 @@ var RedisModule;
|
|
|
43
43
|
},
|
|
44
44
|
query: {
|
|
45
45
|
create: {
|
|
46
|
-
type:
|
|
46
|
+
type: types_1.QueryType.FIELDS,
|
|
47
47
|
fields: {
|
|
48
48
|
key: {
|
|
49
|
-
type:
|
|
49
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
50
50
|
required: true,
|
|
51
51
|
},
|
|
52
52
|
value: {
|
|
53
|
-
type:
|
|
53
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
54
54
|
required: true,
|
|
55
55
|
},
|
|
56
56
|
ttl: {
|
|
57
|
-
type:
|
|
57
|
+
type: types_1.DatasourceFieldType.NUMBER,
|
|
58
58
|
},
|
|
59
59
|
},
|
|
60
60
|
},
|
|
61
61
|
read: {
|
|
62
62
|
readable: true,
|
|
63
|
-
type:
|
|
63
|
+
type: types_1.QueryType.FIELDS,
|
|
64
64
|
fields: {
|
|
65
65
|
key: {
|
|
66
|
-
type:
|
|
66
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
67
67
|
required: true,
|
|
68
68
|
},
|
|
69
69
|
},
|
|
70
70
|
},
|
|
71
71
|
delete: {
|
|
72
|
-
type:
|
|
72
|
+
type: types_1.QueryType.FIELDS,
|
|
73
73
|
fields: {
|
|
74
74
|
key: {
|
|
75
|
-
type:
|
|
75
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
76
76
|
required: true,
|
|
77
77
|
},
|
|
78
78
|
},
|
|
@@ -80,7 +80,7 @@ var RedisModule;
|
|
|
80
80
|
command: {
|
|
81
81
|
readable: true,
|
|
82
82
|
displayName: "Redis Command",
|
|
83
|
-
type:
|
|
83
|
+
type: types_1.QueryType.JSON,
|
|
84
84
|
},
|
|
85
85
|
},
|
|
86
86
|
};
|
|
@@ -9,6 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const types_1 = require("@budibase/types");
|
|
12
13
|
const datasource_1 = require("../definitions/datasource");
|
|
13
14
|
const lodash_1 = require("lodash");
|
|
14
15
|
const BodyTypes = {
|
|
@@ -21,27 +22,27 @@ const BodyTypes = {
|
|
|
21
22
|
};
|
|
22
23
|
const coreFields = {
|
|
23
24
|
path: {
|
|
24
|
-
type:
|
|
25
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
25
26
|
display: "URL",
|
|
26
27
|
},
|
|
27
28
|
queryString: {
|
|
28
|
-
type:
|
|
29
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
29
30
|
},
|
|
30
31
|
headers: {
|
|
31
|
-
type:
|
|
32
|
+
type: types_1.DatasourceFieldType.OBJECT,
|
|
32
33
|
},
|
|
33
34
|
enabledHeaders: {
|
|
34
|
-
type:
|
|
35
|
+
type: types_1.DatasourceFieldType.OBJECT,
|
|
35
36
|
},
|
|
36
37
|
requestBody: {
|
|
37
|
-
type:
|
|
38
|
+
type: types_1.DatasourceFieldType.JSON,
|
|
38
39
|
},
|
|
39
40
|
bodyType: {
|
|
40
|
-
type:
|
|
41
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
41
42
|
enum: Object.values(BodyTypes),
|
|
42
43
|
},
|
|
43
44
|
pagination: {
|
|
44
|
-
type:
|
|
45
|
+
type: types_1.DatasourceFieldType.OBJECT,
|
|
45
46
|
},
|
|
46
47
|
};
|
|
47
48
|
var RestModule;
|
|
@@ -59,13 +60,13 @@ var RestModule;
|
|
|
59
60
|
type: "API",
|
|
60
61
|
datasource: {
|
|
61
62
|
url: {
|
|
62
|
-
type:
|
|
63
|
+
type: types_1.DatasourceFieldType.STRING,
|
|
63
64
|
default: "",
|
|
64
65
|
required: false,
|
|
65
66
|
deprecated: true,
|
|
66
67
|
},
|
|
67
68
|
defaultHeaders: {
|
|
68
|
-
type:
|
|
69
|
+
type: types_1.DatasourceFieldType.OBJECT,
|
|
69
70
|
required: false,
|
|
70
71
|
default: {},
|
|
71
72
|
},
|
|
@@ -74,30 +75,30 @@ var RestModule;
|
|
|
74
75
|
create: {
|
|
75
76
|
readable: true,
|
|
76
77
|
displayName: "POST",
|
|
77
|
-
type:
|
|
78
|
+
type: types_1.QueryType.FIELDS,
|
|
78
79
|
fields: coreFields,
|
|
79
80
|
},
|
|
80
81
|
read: {
|
|
81
82
|
displayName: "GET",
|
|
82
83
|
readable: true,
|
|
83
|
-
type:
|
|
84
|
+
type: types_1.QueryType.FIELDS,
|
|
84
85
|
fields: coreFields,
|
|
85
86
|
},
|
|
86
87
|
update: {
|
|
87
88
|
displayName: "PUT",
|
|
88
89
|
readable: true,
|
|
89
|
-
type:
|
|
90
|
+
type: types_1.QueryType.FIELDS,
|
|
90
91
|
fields: coreFields,
|
|
91
92
|
},
|
|
92
93
|
patch: {
|
|
93
94
|
displayName: "PATCH",
|
|
94
95
|
readable: true,
|
|
95
|
-
type:
|
|
96
|
+
type: types_1.QueryType.FIELDS,
|
|
96
97
|
fields: coreFields,
|
|
97
98
|
},
|
|
98
99
|
delete: {
|
|
99
100
|
displayName: "DELETE",
|
|
100
|
-
type:
|
|
101
|
+
type: types_1.QueryType.FIELDS,
|
|
101
102
|
fields: coreFields,
|
|
102
103
|
},
|
|
103
104
|
},
|
package/dist/integrations/s3.js
CHANGED
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const
|
|
12
|
+
const types_1 = require("@budibase/types");
|
|
13
13
|
var S3Module;
|
|
14
14
|
(function (S3Module) {
|
|
15
15
|
const AWS = require("aws-sdk");
|
|
@@ -44,7 +44,7 @@ var S3Module;
|
|
|
44
44
|
},
|
|
45
45
|
query: {
|
|
46
46
|
read: {
|
|
47
|
-
type:
|
|
47
|
+
type: types_1.QueryType.FIELDS,
|
|
48
48
|
fields: {
|
|
49
49
|
bucket: {
|
|
50
50
|
type: "string",
|