2021-05-22 23:28:30 +02:00
|
|
|
{
|
|
|
|
|
"kind": "collectionType",
|
|
|
|
|
"collectionName": "users-permissions_user",
|
|
|
|
|
"info": {
|
|
|
|
|
"name": "user",
|
|
|
|
|
"description": ""
|
|
|
|
|
},
|
|
|
|
|
"options": {
|
|
|
|
|
"draftAndPublish": false,
|
2021-05-27 14:51:32 +02:00
|
|
|
"timestamps": true,
|
2021-05-28 16:38:54 +02:00
|
|
|
"privateAttributes": [
|
|
|
|
|
"createdAt",
|
2022-05-08 05:22:38 +04:00
|
|
|
"updatedAt",
|
|
|
|
|
"created_at",
|
|
|
|
|
"updated_at"
|
2021-05-28 16:38:54 +02:00
|
|
|
]
|
2021-05-22 23:28:30 +02:00
|
|
|
},
|
|
|
|
|
"attributes": {
|
|
|
|
|
"username": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"minLength": 3,
|
|
|
|
|
"unique": true,
|
|
|
|
|
"configurable": false,
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
"email": {
|
|
|
|
|
"type": "email",
|
|
|
|
|
"minLength": 6,
|
|
|
|
|
"configurable": false,
|
2021-05-27 13:41:11 +02:00
|
|
|
"required": true,
|
|
|
|
|
"private": true
|
2021-05-22 23:28:30 +02:00
|
|
|
},
|
|
|
|
|
"provider": {
|
|
|
|
|
"type": "string",
|
2021-05-27 13:41:11 +02:00
|
|
|
"configurable": false,
|
|
|
|
|
"private": true
|
2021-05-22 23:28:30 +02:00
|
|
|
},
|
|
|
|
|
"password": {
|
|
|
|
|
"type": "password",
|
|
|
|
|
"minLength": 6,
|
|
|
|
|
"configurable": false,
|
|
|
|
|
"private": true
|
|
|
|
|
},
|
|
|
|
|
"resetPasswordToken": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"configurable": false,
|
|
|
|
|
"private": true
|
|
|
|
|
},
|
|
|
|
|
"confirmationToken": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"configurable": false,
|
|
|
|
|
"private": true
|
|
|
|
|
},
|
|
|
|
|
"confirmed": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
2021-05-27 13:41:11 +02:00
|
|
|
"configurable": false,
|
|
|
|
|
"private": true
|
2021-05-22 23:28:30 +02:00
|
|
|
},
|
|
|
|
|
"blocked": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
2021-05-27 13:41:11 +02:00
|
|
|
"configurable": false,
|
|
|
|
|
"private": true
|
2021-05-22 23:28:30 +02:00
|
|
|
},
|
|
|
|
|
"role": {
|
|
|
|
|
"model": "role",
|
|
|
|
|
"via": "users",
|
|
|
|
|
"plugin": "users-permissions",
|
2021-05-27 13:41:11 +02:00
|
|
|
"configurable": false,
|
|
|
|
|
"private": true
|
2022-03-27 02:14:58 +04:00
|
|
|
},
|
|
|
|
|
"canAutoTranslate": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"private": false
|
2021-05-22 23:28:30 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|