diff --git a/src/api/content/content-types/content/schema.json b/src/api/content/content-types/content/schema.json index 90aab37..f409d59 100644 --- a/src/api/content/content-types/content/schema.json +++ b/src/api/content/content-types/content/schema.json @@ -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" } } } diff --git a/src/components/translations/title.json b/src/components/translations/title.json index 68ac494..f808570 100644 --- a/src/components/translations/title.json +++ b/src/components/translations/title.json @@ -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" } } }