@nocobase/plugin-multi-app-share-collection 1.2.34-alpha → 1.2.36-alpha

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/LICENSE.txt CHANGED
@@ -1,8 +1,8 @@
1
- Updated Date: July 24, 2024
1
+ Updated Date: August 15, 2024
2
2
 
3
3
  NocoBase License Agreement
4
4
 
5
- NOCOBASE PTE. LTD. ("The Company") https://www.nocobase.com/ issues this License Agreement ("Agreement") to you. You, as an individual or a company ("User"), will be deemed to voluntarily accept all terms of this Agreement by using NocoBase (including but not limited to obtaining NocoBase source code or installation package in any form, installing and using NocoBase, purchasing NocoBase commercial license and services, purchasing NocoBase commercial plugins). If the User does not agree to any term of this Agreement, or cannot accurately understand our interpretation of the relevant terms, please stop using it immediately.
5
+ NOCOBASE PTE. LTD.,a Singaporean Exempt Private Company Limited by Shares with its principal place of business located at #03-01 ROBINSON 112 ("The Company") https://www.nocobase.com/ issues this License Agreement ("Agreement") to you. You, as an individual or a company ("User"), will be deemed to voluntarily accept all terms of this Agreement by using NocoBase (including but not limited to obtaining NocoBase source code or installation package in any form, installing and using NocoBase, purchasing NocoBase commercial license and services, purchasing NocoBase commercial plugins). If the User does not agree to any term of this Agreement, or cannot accurately understand our interpretation of the relevant terms, please stop using it immediately.
6
6
 
7
7
  This Agreement applies to any use, quotation, contract, invoice, and all software delivered by the Company. The User and the Company or NocoBase's agents can no longer sign a separate license agreement for the sale and delivery of the software.
8
8
 
@@ -80,7 +80,7 @@ Except for Third-Party Open Source Software, the Company owns all copyrights, tr
80
80
 
81
81
  6.6 Can sell plugins developed for Software in the Marketplace.
82
82
 
83
- 6.7 Can sell Upper Layer Applications developed based on Software to Customer who has obtained a commercial license.
83
+ 6.7 Users with a Professional or Enterprise Edition license can sell Upper Layer Application to their clients.
84
84
 
85
85
  6.8 Not restricted by the AGPL-3.0 agreement.
86
86
 
@@ -96,7 +96,7 @@ Except for Third-Party Open Source Software, the Company owns all copyrights, tr
96
96
 
97
97
  7.3 It is not allowed to provide any form of no-code, zero-code, low-code platform SaaS products to the public using the original or modified Software.
98
98
 
99
- 7.4 It is not allowed to sell Upper Layer Application to Customer who have not obtained a Commercial License.
99
+ 7.4 It is not allowed for Users with a standard license to sell Upper Layer Application to clients without a commercial license.
100
100
 
101
101
  7.5 It is not allowed to use reverse engineering, decompilation, and other means to try to discover the source code of Commercial Plugins that have not obtained source code license.
102
102
 
@@ -9,13 +9,13 @@
9
9
 
10
10
  module.exports = {
11
11
  "@formily/react": "2.3.0",
12
- "@nocobase/client": "1.2.34-alpha",
13
- "@nocobase/plugin-multi-app-manager": "1.2.34-alpha",
12
+ "@nocobase/client": "1.2.36-alpha",
13
+ "@nocobase/plugin-multi-app-manager": "1.2.36-alpha",
14
14
  "antd": "5.12.8",
15
15
  "react": "18.2.0",
16
- "@nocobase/utils": "1.2.34-alpha",
16
+ "@nocobase/utils": "1.2.36-alpha",
17
17
  "react-i18next": "11.18.6",
18
- "@nocobase/database": "1.2.34-alpha",
19
- "@nocobase/server": "1.2.34-alpha",
18
+ "@nocobase/database": "1.2.36-alpha",
19
+ "@nocobase/server": "1.2.36-alpha",
20
20
  "lodash": "4.17.21"
21
21
  };
@@ -38,8 +38,7 @@ class update_apps_collections_default extends import_server.Migration {
38
38
  if (!result) {
39
39
  return;
40
40
  }
41
- if (!this.app.db.getCollection("applications"))
42
- return;
41
+ if (!this.app.db.getCollection("applications")) return;
43
42
  await this.app.db.getCollection("collections").repository.destroy({
44
43
  where: {
45
44
  name: "applications"
@@ -186,8 +186,7 @@ class MultiAppShareCollectionPlugin extends import_server.Plugin {
186
186
  this.app.on("afterEnablePlugin", (pluginNames) => {
187
187
  traverseSubApps((subApp) => {
188
188
  for (const pluginName of import_lodash.default.castArray(pluginNames)) {
189
- if (subAppFilteredPlugins.includes(pluginName))
190
- return;
189
+ if (subAppFilteredPlugins.includes(pluginName)) return;
191
190
  subApp.runAsCLI(["pm", "enable", pluginName], { from: "user" });
192
191
  }
193
192
  });
@@ -195,8 +194,7 @@ class MultiAppShareCollectionPlugin extends import_server.Plugin {
195
194
  this.app.on("afterDisablePlugin", (pluginNames) => {
196
195
  traverseSubApps((subApp) => {
197
196
  for (const pluginName of import_lodash.default.castArray(pluginNames)) {
198
- if (subAppFilteredPlugins.includes(pluginName))
199
- return;
197
+ if (subAppFilteredPlugins.includes(pluginName)) return;
200
198
  subApp.runAsCLI(["pm", "disable", pluginName], { from: "user" });
201
199
  }
202
200
  });
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "多应用数据表共享",
5
5
  "description": "",
6
6
  "description.zh-CN": "",
7
- "version": "1.2.34-alpha",
7
+ "version": "1.2.36-alpha",
8
8
  "main": "./dist/server/index.js",
9
9
  "devDependencies": {
10
10
  "@formily/react": "2.x",
@@ -23,7 +23,7 @@
23
23
  "@nocobase/test": "1.x",
24
24
  "@nocobase/utils": "1.x"
25
25
  },
26
- "gitHead": "c62835e64106fcfb0b6554e75dac6c368276bcc2",
26
+ "gitHead": "850d812db1d8e7c0b62b77c6a262ab9faf9e203f",
27
27
  "keywords": [
28
28
  "System management"
29
29
  ]