diff --git a/src/api/content/content-types/content/schema.json b/src/api/content/content-types/content/schema.json index f409d59..17e707a 100644 --- a/src/api/content/content-types/content/schema.json +++ b/src/api/content/content-types/content/schema.json @@ -28,24 +28,12 @@ "relation": "oneToOne", "target": "api::content-type.content-type" }, - "titles": { - "displayName": "title", - "type": "component", - "repeatable": true, - "component": "translations.title" - }, "ranged_contents": { "type": "relation", "relation": "oneToMany", "target": "api::ranged-content.ranged-content", "mappedBy": "content" }, - "text_set": { - "displayName": "text_set", - "type": "component", - "repeatable": true, - "component": "sets.text-set" - }, "thumbnail": { "type": "media", "multiple": false, diff --git a/src/components/sets/audio-set.json b/src/components/sets/audio-set.json index ea224f5..74f7c23 100644 --- a/src/components/sets/audio-set.json +++ b/src/components/sets/audio-set.json @@ -2,15 +2,11 @@ "collectionName": "components_sets_audio_sets", "info": { "displayName": "audio_set", - "icon": "headphones" + "icon": "headphones", + "description": "" }, "options": {}, "attributes": { - "language": { - "type": "relation", - "relation": "oneToOne", - "target": "api::language.language" - }, "status": { "type": "enumeration", "enum": [ @@ -22,11 +18,12 @@ "default": "Incomplete" }, "audiofile": { + "type": "media", + "multiple": true, + "required": false, "allowedTypes": [ "files" - ], - "type": "media", - "multiple": true + ] }, "source_language": { "type": "relation", diff --git a/src/components/sets/text-set.json b/src/components/sets/text-set.json index 3869b0e..aa3ef18 100644 --- a/src/components/sets/text-set.json +++ b/src/components/sets/text-set.json @@ -7,11 +7,6 @@ }, "options": {}, "attributes": { - "language": { - "type": "relation", - "relation": "oneToOne", - "target": "api::language.language" - }, "status": { "type": "enumeration", "enum": [ diff --git a/src/components/sets/video-set.json b/src/components/sets/video-set.json index 0bf0964..3e0a4cd 100644 --- a/src/components/sets/video-set.json +++ b/src/components/sets/video-set.json @@ -2,15 +2,11 @@ "collectionName": "components_sets_video_sets", "info": { "displayName": "Video Set", - "icon": "film" + "icon": "film", + "description": "" }, "options": {}, "attributes": { - "language": { - "type": "relation", - "relation": "oneToOne", - "target": "api::language.language" - }, "status": { "type": "enumeration", "enum": [ @@ -31,11 +27,12 @@ "type": "string" }, "subfile": { + "type": "media", + "multiple": false, + "required": false, "allowedTypes": [ "files" - ], - "type": "media", - "multiple": false + ] }, "subbers": { "type": "relation",