This commit is contained in:
parent
19b541d51a
commit
acfdc38dd4
4 changed files with 49 additions and 69 deletions
|
|
@ -1,38 +1,36 @@
|
|||
{
|
||||
"kind": "collectionType",
|
||||
"collectionName": "blogs",
|
||||
"info": {
|
||||
"singularName": "blog",
|
||||
"pluralName": "blogs",
|
||||
"displayName": "Blog",
|
||||
"description": ""
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": true
|
||||
},
|
||||
"attributes": {
|
||||
"Title": {
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"unique": true
|
||||
},
|
||||
"Body": {
|
||||
"type": "richtext",
|
||||
"required": true
|
||||
},
|
||||
"Topics": {
|
||||
"displayName": "Tag",
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "shared.tag"
|
||||
},
|
||||
"Header": {
|
||||
"type": "media",
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"allowedTypes": [
|
||||
"images"
|
||||
]
|
||||
}
|
||||
}
|
||||
"kind": "collectionType",
|
||||
"collectionName": "blogs",
|
||||
"info": {
|
||||
"singularName": "blog",
|
||||
"pluralName": "blogs",
|
||||
"displayName": "Blog",
|
||||
"description": ""
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": true
|
||||
},
|
||||
"attributes": {
|
||||
"Title": {
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"unique": true
|
||||
},
|
||||
"Body": {
|
||||
"type": "richtext",
|
||||
"required": true
|
||||
},
|
||||
"Topics": {
|
||||
"displayName": "Tag",
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "shared.tag"
|
||||
},
|
||||
"Header": {
|
||||
"type": "media",
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"allowedTypes": ["images"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue