@nocobase/plugin-public-forms 2.1.20 → 2.1.21

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,12 +8,12 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "2.1.20",
11
+ "@nocobase/client": "2.1.21",
12
12
  "react-i18next": "11.18.6",
13
- "@nocobase/flow-engine": "2.1.20",
14
- "@nocobase/client-v2": "2.1.20",
15
- "@nocobase/plugin-ui-schema-storage": "2.1.20",
16
- "@nocobase/server": "2.1.20",
13
+ "@nocobase/flow-engine": "2.1.21",
14
+ "@nocobase/client-v2": "2.1.21",
15
+ "@nocobase/plugin-ui-schema-storage": "2.1.21",
16
+ "@nocobase/server": "2.1.21",
17
17
  "react": "18.2.0",
18
18
  "@ant-design/icons": "5.6.1",
19
19
  "antd": "5.24.2",
@@ -26,6 +26,6 @@ module.exports = {
26
26
  "@formily/core": "2.3.7",
27
27
  "@formily/shared": "2.3.7",
28
28
  "@formily/reactive": "2.3.7",
29
- "@nocobase/database": "2.1.20",
29
+ "@nocobase/database": "2.1.21",
30
30
  "dayjs": "1.11.13"
31
31
  };
@@ -320,7 +320,7 @@ class PluginPublicFormsServer extends import_server.Plugin {
320
320
  ctx.permission = {
321
321
  skip: true
322
322
  };
323
- } else if (["list", "get"].includes(actionName) && ctx.PublicForm["targetCollections"].includes(resourceName) || (collection == null ? void 0 : collection.options.template) === "file" && actionName === "create" || resourceName === "storages" && ["getBasicInfo", "createPresignedUrl"].includes(actionName) || resourceName === "vditor" && ["check"].includes(actionName) || resourceName === "map-configuration" && actionName === "get") {
323
+ } else if (["list", "get"].includes(actionName) && ctx.PublicForm["targetCollections"].includes(resourceName) || (collection == null ? void 0 : collection.options.template) === "file" && actionName === "create" || resourceName === "storages" && ["getBasicInfo", "createPresignedUrl", "check"].includes(actionName) || resourceName === "vditor" && ["check"].includes(actionName) || resourceName === "map-configuration" && actionName === "get") {
324
324
  ctx.permission = {
325
325
  skip: true
326
326
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-public-forms",
3
- "version": "2.1.20",
3
+ "version": "2.1.21",
4
4
  "main": "dist/server/index.js",
5
5
  "displayName": "Public forms",
6
6
  "displayName.ru-RU": "Публичные формы",
@@ -25,5 +25,5 @@
25
25
  "devDependencies": {
26
26
  "react-device-detect": "2.2.3"
27
27
  },
28
- "gitHead": "ca646ba28bb11da083e3436866552932ed780b6f"
28
+ "gitHead": "491141417d8338022651c9e99afbd2d84c1e2b0b"
29
29
  }