Created new field for new content
This commit is contained in:
parent
b77f893f42
commit
9a4e916d29
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue