@nocobase/plugin-action-custom-request 1.6.2 → 1.6.4

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,20 +8,20 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "1.6.2",
11
+ "@nocobase/client": "1.6.4",
12
12
  "react": "18.2.0",
13
13
  "react-i18next": "11.18.6",
14
14
  "@formily/react": "2.3.0",
15
- "@nocobase/logger": "1.6.2",
16
- "@nocobase/server": "1.6.2",
17
- "@nocobase/test": "1.6.2",
15
+ "@nocobase/logger": "1.6.4",
16
+ "@nocobase/server": "1.6.4",
17
+ "@nocobase/test": "1.6.4",
18
18
  "@formily/antd-v5": "1.1.9",
19
- "@nocobase/utils": "1.6.2",
19
+ "@nocobase/utils": "1.6.4",
20
20
  "antd": "5.12.8",
21
21
  "file-saver": "2.0.5",
22
22
  "@formily/shared": "2.3.2",
23
- "@nocobase/actions": "1.6.2",
24
- "@nocobase/evaluators": "1.6.2",
23
+ "@nocobase/actions": "1.6.4",
24
+ "@nocobase/evaluators": "1.6.4",
25
25
  "axios": "1.7.7",
26
- "@nocobase/database": "1.6.2"
26
+ "@nocobase/database": "1.6.4"
27
27
  };
@@ -20,7 +20,7 @@
20
20
  "ms": "ms",
21
21
  "Input request data": "Inserisci dati richiesta",
22
22
  "Only support standard JSON data": "Supporta solo dati JSON standard",
23
- "Content-Type only support \"application/json\", and no need to specify": "Content-Type supporta solo \"application/json\", e non è necessario specificarlo",
23
+ "\"Content-Type\" only support \"application/json\", and no need to specify": "Content-Type supporta solo \"application/json\", e non è necessario specificarlo",
24
24
  "When the HTTP method is Post, Put or Patch, and this custom request inside the form, the request body will be automatically filled in with the form data": "Quando il metodo HTTP è Post, Put o Patch, e questa richiesta personalizzata è all'interno del modulo, il corpo della richiesta verrà automaticamente riempito con i dati del modulo",
25
25
  "Please configure the request settings first": "Per favore configura prima le impostazioni della richiesta"
26
26
  }
@@ -96,10 +96,10 @@ async function send(ctx, next) {
96
96
  $nForm
97
97
  } = values;
98
98
  if (ctx.state.currentRole !== "root") {
99
- const crRepo = ctx.db.getRepository("customRequestsRoles");
99
+ const crRepo = ctx.db.getRepository("uiButtonSchemasRoles");
100
100
  const hasRoles = await crRepo.find({
101
101
  filter: {
102
- customRequestKey: filterByTk
102
+ uid: filterByTk
103
103
  }
104
104
  });
105
105
  if (hasRoles.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-action-custom-request",
3
- "version": "1.6.2",
3
+ "version": "1.6.4",
4
4
  "main": "dist/server/index.js",
5
5
  "homepage": "https://docs.nocobase.com/handbook/action-custom-request",
6
6
  "homepage.zh-CN": "https://docs-cn.nocobase.com/handbook/action-custom-request",
@@ -22,7 +22,7 @@
22
22
  "@nocobase/server": "1.x",
23
23
  "@nocobase/test": "1.x"
24
24
  },
25
- "gitHead": "d1f1a2c1a038986f751abdeb82e9df97a2fd9e25",
25
+ "gitHead": "1df12e1cf58be1c829904346425e857319de3dee",
26
26
  "keywords": [
27
27
  "Actions"
28
28
  ]