Create awtis & mizik routes & models
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"kind": "collectionType",
|
||||
"collectionName": "awtis",
|
||||
"info": {
|
||||
"name": "awtis",
|
||||
"description": ""
|
||||
},
|
||||
"options": {
|
||||
"increments": true,
|
||||
"timestamps": true,
|
||||
"draftAndPublish": true
|
||||
},
|
||||
"attributes": {
|
||||
"alias": {
|
||||
"type": "string",
|
||||
"unique": true,
|
||||
"required": true
|
||||
},
|
||||
"prenom": {
|
||||
"type": "string"
|
||||
},
|
||||
"nom": {
|
||||
"type": "string"
|
||||
},
|
||||
"bio": {
|
||||
"type": "richtext"
|
||||
},
|
||||
"naissance": {
|
||||
"type": "date"
|
||||
},
|
||||
"photo": {
|
||||
"collection": "file",
|
||||
"via": "related",
|
||||
"allowedTypes": [
|
||||
"images"
|
||||
],
|
||||
"plugin": "upload",
|
||||
"required": false
|
||||
},
|
||||
"miziks": {
|
||||
"via": "awtis",
|
||||
"collection": "mizik",
|
||||
"dominant": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user