0.12.0 : modify user
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "harmony-back",
|
||||
"version": "0.11.21",
|
||||
"version": "0.12.0",
|
||||
"private": true,
|
||||
"description": "A Strapi application",
|
||||
"scripts": {
|
||||
|
||||
17
src/components/user/language.json
Normal file
17
src/components/user/language.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"collectionName": "components_user_languages",
|
||||
"info": {
|
||||
"displayName": "language",
|
||||
"icon": "feather",
|
||||
"description": ""
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"language": {
|
||||
"type": "string"
|
||||
},
|
||||
"level": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
"name": "Apache 2.0",
|
||||
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
|
||||
},
|
||||
"x-generation-date": "2025-11-11T01:04:38.039Z"
|
||||
"x-generation-date": "2025-11-11T18:08:56.370Z"
|
||||
},
|
||||
"x-strapi-config": {
|
||||
"plugins": [
|
||||
@@ -17865,6 +17865,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -18322,6 +18346,20 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"UserLanguageComponent": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "number"
|
||||
},
|
||||
"language": {
|
||||
"type": "string"
|
||||
},
|
||||
"level": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"AnnouncementRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -21458,6 +21496,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -25389,6 +25451,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -28879,6 +28965,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -32817,6 +32927,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -37006,6 +37140,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -41644,6 +41802,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -45572,6 +45754,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -49402,6 +49608,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -53219,6 +53449,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -57072,6 +57326,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -60817,6 +61095,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -64739,6 +65041,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -68734,6 +69060,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -72218,6 +72568,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -76631,6 +77005,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -80433,6 +80831,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -84556,6 +84978,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -88391,6 +88837,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -92330,6 +92800,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -96170,6 +96664,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -99515,6 +100033,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -104069,6 +104611,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -107952,6 +108518,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -111795,6 +112385,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocialTagsComponent"
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/GroupActivityComponent"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserLanguageComponent"
|
||||
}
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
|
||||
@@ -224,6 +224,27 @@
|
||||
"relation": "oneToMany",
|
||||
"target": "api::post-ownership.post-ownership",
|
||||
"mappedBy": "author"
|
||||
},
|
||||
"tags": {
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "social.tags"
|
||||
},
|
||||
"activities": {
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "group.activity"
|
||||
},
|
||||
"languages": {
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "user.language"
|
||||
},
|
||||
"bio": {
|
||||
"type": "text"
|
||||
},
|
||||
"experience": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
14
types/generated/components.d.ts
vendored
14
types/generated/components.d.ts
vendored
@@ -46,6 +46,19 @@ export interface SocialTags extends Struct.ComponentSchema {
|
||||
};
|
||||
}
|
||||
|
||||
export interface UserLanguage extends Struct.ComponentSchema {
|
||||
collectionName: 'components_user_languages';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'language';
|
||||
icon: 'feather';
|
||||
};
|
||||
attributes: {
|
||||
language: Schema.Attribute.String;
|
||||
level: Schema.Attribute.Integer;
|
||||
};
|
||||
}
|
||||
|
||||
export interface UserPermissions extends Struct.ComponentSchema {
|
||||
collectionName: 'components_user_permissions';
|
||||
info: {
|
||||
@@ -68,6 +81,7 @@ declare module '@strapi/strapi' {
|
||||
'address.full-address': AddressFullAddress;
|
||||
'group.activity': GroupActivity;
|
||||
'social.tags': SocialTags;
|
||||
'user.language': UserLanguage;
|
||||
'user.permissions': UserPermissions;
|
||||
}
|
||||
}
|
||||
|
||||
5
types/generated/contentTypes.d.ts
vendored
5
types/generated/contentTypes.d.ts
vendored
@@ -1828,6 +1828,7 @@ export interface PluginUsersPermissionsUser
|
||||
draftAndPublish: false;
|
||||
};
|
||||
attributes: {
|
||||
activities: Schema.Attribute.Component<'group.activity', true>;
|
||||
address: Schema.Attribute.Text;
|
||||
announcements: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
@@ -1837,6 +1838,7 @@ export interface PluginUsersPermissionsUser
|
||||
background: Schema.Attribute.Media<
|
||||
'images' | 'files' | 'videos' | 'audios'
|
||||
>;
|
||||
bio: Schema.Attribute.Text;
|
||||
blocked: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<false>;
|
||||
board: Schema.Attribute.Relation<'oneToOne', 'api::board.board'>;
|
||||
choral_memberships: Schema.Attribute.Relation<
|
||||
@@ -1866,6 +1868,7 @@ export interface PluginUsersPermissionsUser
|
||||
Schema.Attribute.SetMinMaxLength<{
|
||||
minLength: 6;
|
||||
}>;
|
||||
experience: Schema.Attribute.Integer;
|
||||
friends: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
'plugin::users-permissions.user'
|
||||
@@ -1878,6 +1881,7 @@ export interface PluginUsersPermissionsUser
|
||||
job: Schema.Attribute.Enumeration<
|
||||
['choir_director', 'choir_addict', 'choir_master', 'choir_singer', 'none']
|
||||
>;
|
||||
languages: Schema.Attribute.Component<'user.language', true>;
|
||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||
localizations: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
@@ -1912,6 +1916,7 @@ export interface PluginUsersPermissionsUser
|
||||
>;
|
||||
saved_posts: Schema.Attribute.Relation<'oneToMany', 'api::post.post'>;
|
||||
surname: Schema.Attribute.String;
|
||||
tags: Schema.Attribute.Component<'social.tags', true>;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
|
||||
Reference in New Issue
Block a user