Skip to content

Commit

Permalink
feat: made each part of sponsors required
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisv09 committed Jun 26, 2024
1 parent 17e7daa commit 39b34b6
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions strapi/src/api/sponsor/content-types/sponsor/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,29 @@
"info": {
"singularName": "sponsor",
"pluralName": "sponsors",
"displayName": "Sponsor"
"displayName": "Sponsor",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"Name": {
"type": "string"
"type": "string",
"required": true,
"unique": true
},
"Logo": {
"type": "media",
"multiple": false,
"required": true,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false
]
},
"Type": {
"type": "enumeration",
Expand All @@ -32,7 +36,8 @@
"Bronze",
"Tech",
"Community"
]
],
"required": true
}
}
}

0 comments on commit 39b34b6

Please sign in to comment.