Created new field for new content

This commit is contained in:
DrMint 2022-05-14 22:42:15 +02:00
parent b77f893f42
commit 9a4e916d29
2 changed files with 20 additions and 12 deletions

View File

@ -46,18 +46,6 @@
"repeatable": true,
"component": "sets.text-set"
},
"video_set": {
"displayName": "Video Set",
"type": "component",
"repeatable": true,
"component": "sets.video-set"
},
"audio_set": {
"displayName": "audio_set",
"type": "component",
"repeatable": true,
"component": "sets.audio-set"
},
"thumbnail": {
"type": "media",
"multiple": false,
@ -77,6 +65,11 @@
"relation": "oneToOne",
"target": "api::content.content",
"inversedBy": "next_recommended"
},
"translations": {
"type": "component",
"repeatable": true,
"component": "translations.title"
}
}
}

View File

@ -24,6 +24,21 @@
},
"description": {
"type": "text"
},
"text_set": {
"type": "component",
"repeatable": false,
"component": "sets.text-set"
},
"video_set": {
"type": "component",
"repeatable": false,
"component": "sets.video-set"
},
"audio_set": {
"type": "component",
"repeatable": false,
"component": "sets.audio-set"
}
}
}