Add user to awtis & teks

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2021-05-22 23:28:30 +02:00
parent a31c8db7a0
commit 24f8b3b418
6 changed files with 280 additions and 3 deletions
+51
View File
@@ -654,6 +654,9 @@
"okiMizikID": {
"type": "integer"
},
"user": {
"type": "string"
},
"published_at": {
"type": "string"
},
@@ -666,6 +669,51 @@
}
}
},
"user": {
"required": [
"id",
"username",
"email"
],
"properties": {
"id": {
"type": "string"
},
"username": {
"type": "string"
},
"email": {
"type": "string"
},
"provider": {
"type": "string"
},
"password": {
"type": "string"
},
"resetPasswordToken": {
"type": "string"
},
"confirmationToken": {
"type": "string"
},
"confirmed": {
"type": "boolean"
},
"blocked": {
"type": "boolean"
},
"role": {
"type": "string"
},
"created_by": {
"type": "string"
},
"updated_by": {
"type": "string"
}
}
},
"published_at": {
"type": "string",
"format": "date-time"
@@ -699,6 +747,9 @@
"type": "string"
}
},
"user": {
"type": "string"
},
"published_at": {
"type": "string",
"format": "date-time"
+6 -1
View File
@@ -35,11 +35,16 @@
"images"
],
"plugin": "upload",
"required": false
"required": false,
"pluginOptions": {}
},
"teks": {
"via": "awtis",
"collection": "teks"
},
"user": {
"plugin": "users-permissions",
"model": "user"
}
}
}
+51
View File
@@ -620,6 +620,9 @@
"type": "string"
}
},
"user": {
"type": "string"
},
"published_at": {
"type": "string"
},
@@ -736,6 +739,51 @@
"okiMizikID": {
"type": "integer"
},
"user": {
"required": [
"id",
"username",
"email"
],
"properties": {
"id": {
"type": "string"
},
"username": {
"type": "string"
},
"email": {
"type": "string"
},
"provider": {
"type": "string"
},
"password": {
"type": "string"
},
"resetPasswordToken": {
"type": "string"
},
"confirmationToken": {
"type": "string"
},
"confirmed": {
"type": "boolean"
},
"blocked": {
"type": "boolean"
},
"role": {
"type": "string"
},
"created_by": {
"type": "string"
},
"updated_by": {
"type": "string"
}
}
},
"published_at": {
"type": "string",
"format": "date-time"
@@ -849,6 +897,9 @@
"okiMizikID": {
"type": "integer"
},
"user": {
"type": "string"
},
"published_at": {
"type": "string",
"format": "date-time"
+6 -1
View File
@@ -52,10 +52,15 @@
"images"
],
"plugin": "upload",
"required": false
"required": false,
"pluginOptions": {}
},
"okiMizikID": {
"type": "integer"
},
"user": {
"plugin": "users-permissions",
"model": "user"
}
}
}
@@ -11,7 +11,7 @@
"url": "https://o-k-i.net"
},
"license": null,
"x-generation-date": "04/29/2021 8:08:20 PM"
"x-generation-date": "05/22/2021 11:23:50 PM"
},
"x-strapi-config": {
"path": "/dokiman",
@@ -988,6 +988,9 @@
"okiMizikID": {
"type": "integer"
},
"user": {
"type": "string"
},
"published_at": {
"type": "string"
},
@@ -1000,6 +1003,51 @@
}
}
},
"user": {
"required": [
"id",
"username",
"email"
],
"properties": {
"id": {
"type": "string"
},
"username": {
"type": "string"
},
"email": {
"type": "string"
},
"provider": {
"type": "string"
},
"password": {
"type": "string"
},
"resetPasswordToken": {
"type": "string"
},
"confirmationToken": {
"type": "string"
},
"confirmed": {
"type": "boolean"
},
"blocked": {
"type": "boolean"
},
"role": {
"type": "string"
},
"created_by": {
"type": "string"
},
"updated_by": {
"type": "string"
}
}
},
"published_at": {
"type": "string",
"format": "date-time"
@@ -1033,6 +1081,9 @@
"type": "string"
}
},
"user": {
"type": "string"
},
"published_at": {
"type": "string",
"format": "date-time"
@@ -1151,6 +1202,9 @@
"type": "string"
}
},
"user": {
"type": "string"
},
"published_at": {
"type": "string"
},
@@ -1267,6 +1321,51 @@
"okiMizikID": {
"type": "integer"
},
"user": {
"required": [
"id",
"username",
"email"
],
"properties": {
"id": {
"type": "string"
},
"username": {
"type": "string"
},
"email": {
"type": "string"
},
"provider": {
"type": "string"
},
"password": {
"type": "string"
},
"resetPasswordToken": {
"type": "string"
},
"confirmationToken": {
"type": "string"
},
"confirmed": {
"type": "boolean"
},
"blocked": {
"type": "boolean"
},
"role": {
"type": "string"
},
"created_by": {
"type": "string"
},
"updated_by": {
"type": "string"
}
}
},
"published_at": {
"type": "string",
"format": "date-time"
@@ -1380,6 +1479,9 @@
"okiMizikID": {
"type": "integer"
},
"user": {
"type": "string"
},
"published_at": {
"type": "string",
"format": "date-time"
@@ -0,0 +1,63 @@
{
"kind": "collectionType",
"collectionName": "users-permissions_user",
"info": {
"name": "user",
"description": ""
},
"options": {
"draftAndPublish": false,
"timestamps": true
},
"attributes": {
"username": {
"type": "string",
"minLength": 3,
"unique": true,
"configurable": false,
"required": true
},
"email": {
"type": "email",
"minLength": 6,
"configurable": false,
"required": true
},
"provider": {
"type": "string",
"configurable": false
},
"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,
"configurable": false
},
"blocked": {
"type": "boolean",
"default": false,
"configurable": false
},
"role": {
"model": "role",
"via": "users",
"plugin": "users-permissions",
"configurable": false
}
}
}