@budibase/server 2.7.29 → 2.7.30

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
@@ -30474,11 +30474,13 @@ function checkDatasourceTypes(schema, config) {
30474
30474
  async function enrichDatasourceWithValues(datasource2) {
30475
30475
  const cloned = (0, import_fp3.cloneDeep)(datasource2);
30476
30476
  const env = await getEnvironmentVariables2();
30477
+ const { entities, ...clonedWithoutEntities } = cloned;
30477
30478
  const processed = (0, import_string_templates2.processObjectSync)(
30478
- cloned,
30479
+ clonedWithoutEntities,
30479
30480
  { env },
30480
30481
  { onlyFound: true }
30481
30482
  );
30483
+ processed.entities = entities;
30482
30484
  const definition26 = await getDefinition(processed.source);
30483
30485
  processed.config = checkDatasourceTypes(definition26, processed.config);
30484
30486
  return {