2020-06-26 14:58:17 +02:00
|
|
|
{
|
|
|
|
"kind": "collectionType",
|
|
|
|
"collectionName": "articles",
|
|
|
|
"info": {
|
|
|
|
"name": "article"
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"increments": true,
|
|
|
|
"timestamps": true
|
|
|
|
},
|
|
|
|
"attributes": {
|
|
|
|
"name": {
|
2020-06-29 12:39:25 +02:00
|
|
|
"type": "string",
|
|
|
|
"required": true
|
2020-06-26 14:58:17 +02:00
|
|
|
},
|
|
|
|
"content": {
|
|
|
|
"type": "component",
|
|
|
|
"repeatable": false,
|
|
|
|
"component": "blog.content"
|
|
|
|
},
|
|
|
|
"content2repet": {
|
|
|
|
"type": "component",
|
|
|
|
"repeatable": true,
|
|
|
|
"component": "blog.content"
|
|
|
|
},
|
|
|
|
"dz": {
|
|
|
|
"type": "dynamiczone",
|
|
|
|
"components": [
|
|
|
|
"blog.content",
|
|
|
|
"blog.sub"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"address": {
|
|
|
|
"model": "address"
|
|
|
|
},
|
2020-06-29 15:48:51 +02:00
|
|
|
"category": {
|
|
|
|
"model": "category"
|
|
|
|
},
|
|
|
|
"rep": {
|
|
|
|
"type": "component",
|
|
|
|
"repeatable": true,
|
|
|
|
"component": "blog.rep"
|
|
|
|
},
|
|
|
|
"not": {
|
|
|
|
"type": "component",
|
|
|
|
"repeatable": false,
|
|
|
|
"component": "blog.sub"
|
2020-06-26 14:58:17 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|