@nocobase/plugin-data-source-manager 1.9.0-beta.4 → 1.9.0-beta.6

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.
@@ -8,14 +8,14 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "1.9.0-beta.4",
11
+ "@nocobase/client": "1.9.0-beta.6",
12
12
  "react": "18.2.0",
13
- "@nocobase/plugin-acl": "1.9.0-beta.4",
14
- "@nocobase/utils": "1.9.0-beta.4",
15
- "@nocobase/server": "1.9.0-beta.4",
16
- "@nocobase/data-source-manager": "1.9.0-beta.4",
13
+ "@nocobase/plugin-acl": "1.9.0-beta.6",
14
+ "@nocobase/utils": "1.9.0-beta.6",
15
+ "@nocobase/server": "1.9.0-beta.6",
16
+ "@nocobase/data-source-manager": "1.9.0-beta.6",
17
17
  "lodash": "4.17.21",
18
- "@nocobase/acl": "1.9.0-beta.4",
18
+ "@nocobase/acl": "1.9.0-beta.6",
19
19
  "@ant-design/icons": "5.6.1",
20
20
  "antd": "5.24.2",
21
21
  "react-router-dom": "6.28.1",
@@ -23,9 +23,9 @@ module.exports = {
23
23
  "@formily/shared": "2.3.2",
24
24
  "react-i18next": "11.18.6",
25
25
  "@emotion/css": "11.13.0",
26
- "@nocobase/database": "1.9.0-beta.4",
26
+ "@nocobase/database": "1.9.0-beta.6",
27
27
  "sequelize": "6.35.2",
28
- "@nocobase/test": "1.9.0-beta.4",
28
+ "@nocobase/test": "1.9.0-beta.6",
29
29
  "@formily/antd-v5": "1.2.3",
30
30
  "@formily/core": "2.3.0",
31
31
  "@formily/reactive": "2.3.0",
@@ -213,7 +213,7 @@ var data_sources_collections_default = {
213
213
  await transaction.commit();
214
214
  const dataSource = ctx.app.dataSourceManager.dataSources.get(dataSourceKey);
215
215
  if (dataSource) {
216
- await dataSource.load({ refresh: true });
216
+ await dataSource.load({ refresh: true, condition: toBeInserted ? { name: { $in: toBeInserted } } : {} });
217
217
  }
218
218
  ctx.body = true;
219
219
  await next();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-data-source-manager",
3
- "version": "1.9.0-beta.4",
3
+ "version": "1.9.0-beta.6",
4
4
  "main": "dist/server/index.js",
5
5
  "displayName": "Data source manager",
6
6
  "displayName.zh-CN": "数据源管理",
@@ -17,5 +17,5 @@
17
17
  "keywords": [
18
18
  "Data model tools"
19
19
  ],
20
- "gitHead": "0276aa12d87f82c73d62a9712134fe363e2c772a"
20
+ "gitHead": "ada5e359a91135cb9baf605c04c5c380f067a046"
21
21
  }