Create awtis & mizik routes & models
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/models.html#lifecycle-hooks)
|
||||
* to customize this model
|
||||
*/
|
||||
|
||||
module.exports = {};
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"kind": "collectionType",
|
||||
"collectionName": "mizik",
|
||||
"info": {
|
||||
"name": "mizik",
|
||||
"description": ""
|
||||
},
|
||||
"options": {
|
||||
"increments": true,
|
||||
"timestamps": true,
|
||||
"draftAndPublish": true
|
||||
},
|
||||
"attributes": {
|
||||
"titre": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"transcription": {
|
||||
"type": "richtext"
|
||||
},
|
||||
"traductions": {
|
||||
"type": "component",
|
||||
"repeatable": false,
|
||||
"component": "trad.traductions"
|
||||
},
|
||||
"annee": {
|
||||
"type": "integer"
|
||||
},
|
||||
"liens": {
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "url.liens"
|
||||
},
|
||||
"awtis": {
|
||||
"collection": "awtis",
|
||||
"via": "miziks"
|
||||
},
|
||||
"kouteyAchtey": {
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "store.store"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user