@nocobase/plugin-data-source-manager 1.4.0-alpha.20241027230531 → 1.4.0-alpha.20241031134640
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/externalVersion.js +10 -10
- package/dist/server/plugin.js +3 -1
- package/package.json +2 -2
package/dist/externalVersion.js
CHANGED
|
@@ -8,27 +8,27 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/client": "1.4.0-alpha.
|
|
11
|
+
"@nocobase/client": "1.4.0-alpha.20241031134640",
|
|
12
12
|
"react": "18.2.0",
|
|
13
|
-
"@nocobase/plugin-acl": "1.4.0-alpha.
|
|
14
|
-
"@nocobase/utils": "1.4.0-alpha.
|
|
15
|
-
"@nocobase/server": "1.4.0-alpha.
|
|
13
|
+
"@nocobase/plugin-acl": "1.4.0-alpha.20241031134640",
|
|
14
|
+
"@nocobase/utils": "1.4.0-alpha.20241031134640",
|
|
15
|
+
"@nocobase/server": "1.4.0-alpha.20241031134640",
|
|
16
16
|
"lodash": "4.17.21",
|
|
17
|
-
"@nocobase/data-source-manager": "1.4.0-alpha.
|
|
17
|
+
"@nocobase/data-source-manager": "1.4.0-alpha.20241031134640",
|
|
18
18
|
"@ant-design/icons": "5.2.6",
|
|
19
19
|
"antd": "5.12.8",
|
|
20
20
|
"react-router-dom": "6.21.0",
|
|
21
|
-
"@formily/shared": "2.3.
|
|
21
|
+
"@formily/shared": "2.3.2",
|
|
22
22
|
"react-i18next": "11.18.6",
|
|
23
23
|
"@formily/react": "2.3.0",
|
|
24
24
|
"@emotion/css": "11.13.0",
|
|
25
|
-
"@nocobase/database": "1.4.0-alpha.
|
|
26
|
-
"@nocobase/acl": "1.4.0-alpha.
|
|
25
|
+
"@nocobase/database": "1.4.0-alpha.20241031134640",
|
|
26
|
+
"@nocobase/acl": "1.4.0-alpha.20241031134640",
|
|
27
27
|
"sequelize": "6.35.2",
|
|
28
|
-
"@nocobase/test": "1.4.0-alpha.
|
|
28
|
+
"@nocobase/test": "1.4.0-alpha.20241031134640",
|
|
29
29
|
"@formily/antd-v5": "1.1.9",
|
|
30
30
|
"@formily/core": "2.3.0",
|
|
31
31
|
"@formily/reactive": "2.3.0",
|
|
32
32
|
"@dnd-kit/core": "6.1.0",
|
|
33
|
-
"antd-style": "3.
|
|
33
|
+
"antd-style": "3.7.1"
|
|
34
34
|
};
|
package/dist/server/plugin.js
CHANGED
|
@@ -309,7 +309,9 @@ class PluginDataSourceManagerServer extends import_server.Plugin {
|
|
|
309
309
|
});
|
|
310
310
|
this.app.db.on("dataSourcesCollections.afterDestroy", async (model) => {
|
|
311
311
|
const dataSource = this.app.dataSourceManager.dataSources.get(model.get("dataSourceKey"));
|
|
312
|
-
dataSource
|
|
312
|
+
if (dataSource) {
|
|
313
|
+
dataSource.collectionManager.removeCollection(model.get("name"));
|
|
314
|
+
}
|
|
313
315
|
});
|
|
314
316
|
this.app.db.on("dataSourcesFields.afterSaveWithAssociations", async (model) => {
|
|
315
317
|
model.load({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-data-source-manager",
|
|
3
|
-
"version": "1.4.0-alpha.
|
|
3
|
+
"version": "1.4.0-alpha.20241031134640",
|
|
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": "
|
|
20
|
+
"gitHead": "78cd6d9010f81b1c4d13d7673f6adf2eb0e598be"
|
|
21
21
|
}
|