@nocobase/plugin-action-custom-request 1.6.1 → 1.6.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.
package/dist/externalVersion.js
CHANGED
|
@@ -8,20 +8,20 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/client": "1.6.
|
|
11
|
+
"@nocobase/client": "1.6.3",
|
|
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.
|
|
16
|
-
"@nocobase/server": "1.6.
|
|
17
|
-
"@nocobase/test": "1.6.
|
|
15
|
+
"@nocobase/logger": "1.6.3",
|
|
16
|
+
"@nocobase/server": "1.6.3",
|
|
17
|
+
"@nocobase/test": "1.6.3",
|
|
18
18
|
"@formily/antd-v5": "1.1.9",
|
|
19
|
-
"@nocobase/utils": "1.6.
|
|
19
|
+
"@nocobase/utils": "1.6.3",
|
|
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.
|
|
24
|
-
"@nocobase/evaluators": "1.6.
|
|
23
|
+
"@nocobase/actions": "1.6.3",
|
|
24
|
+
"@nocobase/evaluators": "1.6.3",
|
|
25
25
|
"axios": "1.7.7",
|
|
26
|
-
"@nocobase/database": "1.6.
|
|
26
|
+
"@nocobase/database": "1.6.3"
|
|
27
27
|
};
|
package/dist/locale/it-IT.json
CHANGED
|
@@ -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("
|
|
99
|
+
const crRepo = ctx.db.getRepository("uiButtonSchemasRoles");
|
|
100
100
|
const hasRoles = await crRepo.find({
|
|
101
101
|
filter: {
|
|
102
|
-
|
|
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.
|
|
3
|
+
"version": "1.6.3",
|
|
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": "
|
|
25
|
+
"gitHead": "473210cb03d1874d107b007b1e7d3f4c62b20916",
|
|
26
26
|
"keywords": [
|
|
27
27
|
"Actions"
|
|
28
28
|
]
|