@tachybase/plugin-multi-app-share-collection 1.2.16-alpha.1 → 1.2.16-alpha.3

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.
@@ -1,12 +1,12 @@
1
1
  module.exports = {
2
2
  "react": "18.3.1",
3
- "@tachybase/client": "1.2.16-alpha.1",
4
- "@tachybase/module-multi-app": "1.2.16-alpha.1",
5
- "@tachybase/schema": "1.2.16-alpha.1",
3
+ "@tachybase/client": "1.2.16-alpha.3",
4
+ "@tachybase/module-multi-app": "1.2.16-alpha.3",
5
+ "@tachybase/schema": "1.2.16-alpha.3",
6
6
  "antd": "5.22.5",
7
- "@tachybase/utils": "1.2.16-alpha.1",
7
+ "@tachybase/utils": "1.2.16-alpha.3",
8
8
  "react-i18next": "15.2.0",
9
- "@tachybase/database": "1.2.16-alpha.1",
10
- "@tachybase/server": "1.2.16-alpha.1",
9
+ "@tachybase/database": "1.2.16-alpha.3",
10
+ "@tachybase/server": "1.2.16-alpha.3",
11
11
  "lodash": "4.17.21"
12
12
  };
@@ -97,7 +97,7 @@ class SubAppPlugin extends import_server.Plugin {
97
97
  INSERT INTO ${subAppPluginsCollection.quotedTableName()} (${columnsInSql})
98
98
  SELECT ${columnsInSql}
99
99
  FROM ${mainAppPluginsCollection.quotedTableName()}
100
- WHERE "name" not in ('multi-app-manager', 'multi-app-share-collection');
100
+ WHERE "name" not in ('multi-app', 'multi-app-share-collection');
101
101
  `);
102
102
  const sequenceNameSql = `SELECT pg_get_serial_sequence('"${subAppPluginsCollection.collectionSchema()}"."${subAppPluginsCollection.model.tableName}"', 'id')`;
103
103
  const sequenceName = await subApp.db.sequelize.query(sequenceNameSql, { type: "SELECT" });
@@ -116,9 +116,9 @@ class MultiAppShareCollectionPlugin extends import_server.Plugin {
116
116
  if (!this.db.inDialect("postgres")) {
117
117
  throw new Error("multi-app-share-collection plugin only support postgres");
118
118
  }
119
- const plugin = this.pm.get("multi-app-manager");
119
+ const plugin = this.pm.get("multi-app");
120
120
  if (!plugin.enabled) {
121
- throw new Error(`${this.name} plugin need multi-app-manager plugin enabled`);
121
+ throw new Error(`${this.name} plugin need multi-app plugin enabled`);
122
122
  }
123
123
  }
124
124
  async beforeLoad() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/plugin-multi-app-share-collection",
3
3
  "displayName": "Multi-app share collection",
4
- "version": "1.2.16-alpha.1",
4
+ "version": "1.2.16-alpha.3",
5
5
  "description": "Multi-app share collection",
6
6
  "keywords": [
7
7
  "System management"
@@ -13,18 +13,18 @@
13
13
  "lodash": "4.17.21",
14
14
  "react": "~18.3.1",
15
15
  "react-i18next": "^15.2.0",
16
- "@tachybase/schema": "1.2.16-alpha.1"
16
+ "@tachybase/schema": "1.2.16-alpha.3"
17
17
  },
18
18
  "peerDependencies": {
19
- "@tachybase/client": "1.2.16-alpha.1",
20
- "@tachybase/database": "1.2.16-alpha.1",
21
- "@tachybase/module-collection": "1.2.16-alpha.1",
22
- "@tachybase/module-error-handler": "1.2.16-alpha.1",
23
- "@tachybase/module-user": "1.2.16-alpha.1",
24
- "@tachybase/module-multi-app": "1.2.16-alpha.1",
25
- "@tachybase/server": "1.2.16-alpha.1",
26
- "@tachybase/utils": "1.2.16-alpha.1",
27
- "@tachybase/test": "1.2.16-alpha.1"
19
+ "@tachybase/client": "1.2.16-alpha.3",
20
+ "@tachybase/database": "1.2.16-alpha.3",
21
+ "@tachybase/module-collection": "1.2.16-alpha.3",
22
+ "@tachybase/module-error-handler": "1.2.16-alpha.3",
23
+ "@tachybase/module-multi-app": "1.2.16-alpha.3",
24
+ "@tachybase/module-user": "1.2.16-alpha.3",
25
+ "@tachybase/server": "1.2.16-alpha.3",
26
+ "@tachybase/test": "1.2.16-alpha.3",
27
+ "@tachybase/utils": "1.2.16-alpha.3"
28
28
  },
29
29
  "description.zh-CN": "多应用数据共享",
30
30
  "displayName.zh-CN": "多应用数据共享",