@budibase/backend-core 2.11.27-alpha.0 → 2.11.28

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 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, DatasourceFeature;
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
 
@@ -12355,23 +12349,9 @@ function validateDatasource(schema) {
12355
12349
  version: import_joi2.default.string().optional(),
12356
12350
  schema: import_joi2.default.object({
12357
12351
  docs: import_joi2.default.string(),
12358
- plus: import_joi2.default.boolean().optional(),
12359
- isSQL: import_joi2.default.boolean().optional(),
12360
- auth: import_joi2.default.object({
12361
- type: import_joi2.default.string().required()
12362
- }).optional(),
12363
- features: import_joi2.default.object(
12364
- Object.fromEntries(
12365
- Object.values(DatasourceFeature).map((key) => [
12366
- key,
12367
- import_joi2.default.boolean().optional()
12368
- ])
12369
- )
12370
- ).optional(),
12371
- relationships: import_joi2.default.boolean().optional(),
12372
- description: import_joi2.default.string().required(),
12373
12352
  friendlyName: import_joi2.default.string().required(),
12374
12353
  type: import_joi2.default.string().allow(...DATASOURCE_TYPES),
12354
+ description: import_joi2.default.string().required(),
12375
12355
  datasource: import_joi2.default.object().pattern(import_joi2.default.string(), fieldValidator).required(),
12376
12356
  query: import_joi2.default.object().pattern(import_joi2.default.string(), queryValidator).unknown(true).required(),
12377
12357
  extra: import_joi2.default.object().pattern(