@budibase/backend-core 2.11.15-alpha.2 → 2.11.16
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/dist/index.js +2 -22
- package/dist/index.js.map +3 -3
- package/dist/index.js.meta.json +1 -1
- package/dist/package.json +4 -4
- package/dist/plugins.js +1 -21
- package/dist/plugins.js.map +3 -3
- package/dist/plugins.js.meta.json +1 -1
- package/dist/src/plugin/utils.js +1 -15
- package/dist/src/plugin/utils.js.map +1 -1
- package/package.json +4 -4
- package/src/plugin/utils.ts +1 -20
package/dist/index.js
CHANGED
|
@@ -480,7 +480,7 @@ var init_migrations = __esm({
|
|
|
480
480
|
});
|
|
481
481
|
|
|
482
482
|
// ../types/src/sdk/datasources.ts
|
|
483
|
-
var QueryType, DatasourceFieldType, SourceName
|
|
483
|
+
var QueryType, DatasourceFieldType, SourceName;
|
|
484
484
|
var init_datasources = __esm({
|
|
485
485
|
"../types/src/sdk/datasources.ts"() {
|
|
486
486
|
"use strict";
|
|
@@ -524,12 +524,6 @@ var init_datasources = __esm({
|
|
|
524
524
|
SourceName2["SNOWFLAKE"] = "SNOWFLAKE";
|
|
525
525
|
return SourceName2;
|
|
526
526
|
})(SourceName || {});
|
|
527
|
-
DatasourceFeature = /* @__PURE__ */ ((DatasourceFeature2) => {
|
|
528
|
-
DatasourceFeature2["CONNECTION_CHECKING"] = "connection";
|
|
529
|
-
DatasourceFeature2["FETCH_TABLE_NAMES"] = "fetch_table_names";
|
|
530
|
-
DatasourceFeature2["EXPORT_SCHEMA"] = "export_schema";
|
|
531
|
-
return DatasourceFeature2;
|
|
532
|
-
})(DatasourceFeature || {});
|
|
533
527
|
}
|
|
534
528
|
});
|
|
535
529
|
|
|
@@ -12310,23 +12304,9 @@ function validateDatasource(schema) {
|
|
|
12310
12304
|
version: import_joi2.default.string().optional(),
|
|
12311
12305
|
schema: import_joi2.default.object({
|
|
12312
12306
|
docs: import_joi2.default.string(),
|
|
12313
|
-
plus: import_joi2.default.boolean().optional(),
|
|
12314
|
-
isSQL: import_joi2.default.boolean().optional(),
|
|
12315
|
-
auth: import_joi2.default.object({
|
|
12316
|
-
type: import_joi2.default.string().required()
|
|
12317
|
-
}).optional(),
|
|
12318
|
-
features: import_joi2.default.object(
|
|
12319
|
-
Object.fromEntries(
|
|
12320
|
-
Object.values(DatasourceFeature).map((key) => [
|
|
12321
|
-
key,
|
|
12322
|
-
import_joi2.default.boolean().optional()
|
|
12323
|
-
])
|
|
12324
|
-
)
|
|
12325
|
-
).optional(),
|
|
12326
|
-
relationships: import_joi2.default.boolean().optional(),
|
|
12327
|
-
description: import_joi2.default.string().required(),
|
|
12328
12307
|
friendlyName: import_joi2.default.string().required(),
|
|
12329
12308
|
type: import_joi2.default.string().allow(...DATASOURCE_TYPES),
|
|
12309
|
+
description: import_joi2.default.string().required(),
|
|
12330
12310
|
datasource: import_joi2.default.object().pattern(import_joi2.default.string(), fieldValidator).required(),
|
|
12331
12311
|
query: import_joi2.default.object().pattern(import_joi2.default.string(), queryValidator).unknown(true).required(),
|
|
12332
12312
|
extra: import_joi2.default.object().pattern(
|