strapi/examples/getstarted/api/homepage/models/homepage.settings.json
HichamELBSI 7a4a87fa68 Merge branch 'develop' of github.com:strapi/strapi into fix/single-types-issues
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-04-23 17:18:14 +02:00

43 lines
729 B
JSON

{
"kind": "singleType",
"collectionName": "homepages",
"info": {
"name": "Homepage"
},
"options": {
"increments": true,
"timestamps": true
},
"attributes": {
"title": {
"type": "string"
},
"slug": {
"type": "uid",
"targetField": "title",
"required": true
},
"single": {
"model": "file",
"via": "related",
"allowedTypes": [
"images",
"files",
"videos"
],
"plugin": "upload",
"required": false
},
"multiple": {
"collection": "file",
"via": "related",
"allowedTypes": [
"images",
"videos"
],
"plugin": "upload",
"required": false
}
}
}