@strapi/plugin-users-permissions 5.4.1 → 5.5.0
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/_chunks/{index-pmesAsoW.js → index-6xS_NVnz.js} +21 -14
- package/dist/_chunks/{index-pmesAsoW.js.map → index-6xS_NVnz.js.map} +1 -1
- package/dist/_chunks/{index-ZbIIl-VI.js → index-7urCw5UD.js} +3 -4
- package/dist/_chunks/{index-ZbIIl-VI.js.map → index-7urCw5UD.js.map} +1 -1
- package/dist/_chunks/{index-Cyk9nN3J.mjs → index-AVbfDpH6.mjs} +2 -2
- package/dist/_chunks/{index-Cyk9nN3J.mjs.map → index-AVbfDpH6.mjs.map} +1 -1
- package/dist/_chunks/{index-zaVC_4Mw.mjs → index-BLaxSWbC.mjs} +3 -3
- package/dist/_chunks/{index-zaVC_4Mw.mjs.map → index-BLaxSWbC.mjs.map} +1 -1
- package/dist/_chunks/{index-DNKYHd4J.mjs → index-BReXSOfU.mjs} +2 -2
- package/dist/_chunks/{index-DNKYHd4J.mjs.map → index-BReXSOfU.mjs.map} +1 -1
- package/dist/_chunks/{index-kMqoQ8VX.mjs → index-BYBVysRS.mjs} +3 -3
- package/dist/_chunks/{index-kMqoQ8VX.mjs.map → index-BYBVysRS.mjs.map} +1 -1
- package/dist/_chunks/{index-Cl7wdD8l.js → index-CCAQw4t9.js} +5 -6
- package/dist/_chunks/{index-Cl7wdD8l.js.map → index-CCAQw4t9.js.map} +1 -1
- package/dist/_chunks/{index-C5MSODBR.mjs → index-CvQ-xY7a.mjs} +21 -14
- package/dist/_chunks/{index-C5MSODBR.mjs.map → index-CvQ-xY7a.mjs.map} +1 -1
- package/dist/_chunks/{index-BtapqMRC.js → index-CzxZzlFc.js} +8 -9
- package/dist/_chunks/{index-BtapqMRC.js.map → index-CzxZzlFc.js.map} +1 -1
- package/dist/_chunks/{index-D_1N-X9K.js → index-Dz5Q1Yft.js} +3 -4
- package/dist/_chunks/{index-D_1N-X9K.js.map → index-Dz5Q1Yft.js.map} +1 -1
- package/dist/_chunks/{index-CQ0jOkIC-DAZ1lfuF.mjs → index-UBwCyQ_3-AADEvpEo.mjs} +235 -356
- package/dist/_chunks/index-UBwCyQ_3-AADEvpEo.mjs.map +1 -0
- package/dist/_chunks/{index-CQ0jOkIC-C4oUQUND.js → index-UBwCyQ_3-lG3F5mWr.js} +236 -358
- package/dist/_chunks/index-UBwCyQ_3-lG3F5mWr.js.map +1 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/package.json +7 -7
- package/server/graphql/types/index.js +1 -0
- package/server/graphql/types/me.js +1 -0
- package/server/graphql/types/user-input.js +20 -0
- package/dist/_chunks/index-CQ0jOkIC-C4oUQUND.js.map +0 -1
- package/dist/_chunks/index-CQ0jOkIC-DAZ1lfuF.mjs.map +0 -1
package/dist/admin/index.js
CHANGED
package/dist/admin/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/plugin-users-permissions",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "Protect your API with a full-authentication process based on JWT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"watch": "pack-up watch"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@strapi/design-system": "2.0.0-rc.
|
|
50
|
-
"@strapi/icons": "2.0.0-rc.
|
|
51
|
-
"@strapi/utils": "5.
|
|
49
|
+
"@strapi/design-system": "2.0.0-rc.14",
|
|
50
|
+
"@strapi/icons": "2.0.0-rc.14",
|
|
51
|
+
"@strapi/utils": "5.5.0",
|
|
52
52
|
"bcryptjs": "2.4.3",
|
|
53
53
|
"formik": "2.4.5",
|
|
54
54
|
"grant-koa": "5.4.8",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"yup": "0.32.9"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@strapi/pack-up": "5.0.
|
|
71
|
-
"@strapi/strapi": "5.
|
|
70
|
+
"@strapi/pack-up": "5.0.2",
|
|
71
|
+
"@strapi/strapi": "5.5.0",
|
|
72
72
|
"@testing-library/dom": "10.1.0",
|
|
73
73
|
"@testing-library/react": "15.0.7",
|
|
74
74
|
"@testing-library/user-event": "14.5.2",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"required": true,
|
|
97
97
|
"kind": "plugin"
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "7d785703f52464577d077c4618cbe68b44f8a9cd"
|
|
100
100
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const usersPermissionsUserUID = 'plugin::users-permissions.user';
|
|
4
|
+
|
|
5
|
+
module.exports = ({ nexus, strapi }) => {
|
|
6
|
+
const { getContentTypeInputName } = strapi.plugin('graphql').service('utils').naming;
|
|
7
|
+
|
|
8
|
+
const userContentType = strapi.getModel(usersPermissionsUserUID);
|
|
9
|
+
const userInputName = getContentTypeInputName(userContentType);
|
|
10
|
+
|
|
11
|
+
return nexus.extendInputType({
|
|
12
|
+
type: userInputName,
|
|
13
|
+
|
|
14
|
+
definition(t) {
|
|
15
|
+
// Manually add the private password field back to the data
|
|
16
|
+
// input type as it is used for CRUD operations on users
|
|
17
|
+
t.string('password');
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
};
|