@nocobase/plugin-graph-collection-manager 0.18.0-alpha.9 → 0.19.0-alpha.2
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
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
"@ant-design/icons": "5.2.6",
|
|
3
3
|
"@formily/shared": "2.3.0",
|
|
4
|
-
"@nocobase/client": "0.
|
|
4
|
+
"@nocobase/client": "0.19.0-alpha.2",
|
|
5
5
|
"react": "18.2.0",
|
|
6
6
|
"@emotion/css": "11.11.2",
|
|
7
7
|
"@formily/react": "2.3.0",
|
|
8
|
-
"antd": "5.12.
|
|
8
|
+
"antd": "5.12.8",
|
|
9
9
|
"lodash": "4.17.21",
|
|
10
10
|
"react-router-dom": "6.21.0",
|
|
11
11
|
"@formily/reactive": "2.3.0",
|
|
12
|
-
"@nocobase/utils": "0.
|
|
12
|
+
"@nocobase/utils": "0.19.0-alpha.2",
|
|
13
13
|
"react-i18next": "11.18.6",
|
|
14
|
-
"@nocobase/server": "0.
|
|
14
|
+
"@nocobase/server": "0.19.0-alpha.2",
|
|
15
15
|
"ahooks": "3.7.8",
|
|
16
|
-
"@nocobase/database": "0.
|
|
16
|
+
"@nocobase/database": "0.19.0-alpha.2"
|
|
17
17
|
};
|
|
@@ -22,9 +22,9 @@ __export(graphPositions_exports, {
|
|
|
22
22
|
module.exports = __toCommonJS(graphPositions_exports);
|
|
23
23
|
var import_database = require("@nocobase/database");
|
|
24
24
|
var graphPositions_default = (0, import_database.defineCollection)({
|
|
25
|
-
|
|
26
|
-
duplicator: "required",
|
|
25
|
+
dumpRules: "required",
|
|
27
26
|
name: "graphPositions",
|
|
27
|
+
shared: true,
|
|
28
28
|
fields: [
|
|
29
29
|
{
|
|
30
30
|
type: "string",
|
package/dist/server/index.js
CHANGED
|
@@ -35,9 +35,7 @@ var import_server = require("@nocobase/server");
|
|
|
35
35
|
var import_path = __toESM(require("path"));
|
|
36
36
|
class GraphCollectionManagerPlugin extends import_server.Plugin {
|
|
37
37
|
async load() {
|
|
38
|
-
await this.
|
|
39
|
-
directory: import_path.default.resolve(__dirname, "collections")
|
|
40
|
-
});
|
|
38
|
+
await this.importCollections(import_path.default.resolve(__dirname, "collections"));
|
|
41
39
|
this.app.acl.allow("graphPositions", "*");
|
|
42
40
|
}
|
|
43
41
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"displayName.zh-CN": "可视化的数据表管理",
|
|
5
5
|
"description": "An ER diagram-like tool",
|
|
6
6
|
"description.zh-CN": "类似 ER 图的工具",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.19.0-alpha.2",
|
|
8
8
|
"license": "AGPL-3.0",
|
|
9
9
|
"main": "./dist/server/index.js",
|
|
10
10
|
"devDependencies": {
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"@nocobase/test": "0.x",
|
|
34
34
|
"@nocobase/utils": "0.x"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "cff5b77ecf12ccdb450d50d505b3aa44a68478c8"
|
|
37
37
|
}
|