Removed old content fields

This commit is contained in:
DrMint 2022-05-14 22:45:11 +02:00
parent 9a4e916d29
commit c8104e8a97
4 changed files with 12 additions and 35 deletions

View File

@ -28,24 +28,12 @@
"relation": "oneToOne", "relation": "oneToOne",
"target": "api::content-type.content-type" "target": "api::content-type.content-type"
}, },
"titles": {
"displayName": "title",
"type": "component",
"repeatable": true,
"component": "translations.title"
},
"ranged_contents": { "ranged_contents": {
"type": "relation", "type": "relation",
"relation": "oneToMany", "relation": "oneToMany",
"target": "api::ranged-content.ranged-content", "target": "api::ranged-content.ranged-content",
"mappedBy": "content" "mappedBy": "content"
}, },
"text_set": {
"displayName": "text_set",
"type": "component",
"repeatable": true,
"component": "sets.text-set"
},
"thumbnail": { "thumbnail": {
"type": "media", "type": "media",
"multiple": false, "multiple": false,

View File

@ -2,15 +2,11 @@
"collectionName": "components_sets_audio_sets", "collectionName": "components_sets_audio_sets",
"info": { "info": {
"displayName": "audio_set", "displayName": "audio_set",
"icon": "headphones" "icon": "headphones",
"description": ""
}, },
"options": {}, "options": {},
"attributes": { "attributes": {
"language": {
"type": "relation",
"relation": "oneToOne",
"target": "api::language.language"
},
"status": { "status": {
"type": "enumeration", "type": "enumeration",
"enum": [ "enum": [
@ -22,11 +18,12 @@
"default": "Incomplete" "default": "Incomplete"
}, },
"audiofile": { "audiofile": {
"type": "media",
"multiple": true,
"required": false,
"allowedTypes": [ "allowedTypes": [
"files" "files"
], ]
"type": "media",
"multiple": true
}, },
"source_language": { "source_language": {
"type": "relation", "type": "relation",

View File

@ -7,11 +7,6 @@
}, },
"options": {}, "options": {},
"attributes": { "attributes": {
"language": {
"type": "relation",
"relation": "oneToOne",
"target": "api::language.language"
},
"status": { "status": {
"type": "enumeration", "type": "enumeration",
"enum": [ "enum": [

View File

@ -2,15 +2,11 @@
"collectionName": "components_sets_video_sets", "collectionName": "components_sets_video_sets",
"info": { "info": {
"displayName": "Video Set", "displayName": "Video Set",
"icon": "film" "icon": "film",
"description": ""
}, },
"options": {}, "options": {},
"attributes": { "attributes": {
"language": {
"type": "relation",
"relation": "oneToOne",
"target": "api::language.language"
},
"status": { "status": {
"type": "enumeration", "type": "enumeration",
"enum": [ "enum": [
@ -31,11 +27,12 @@
"type": "string" "type": "string"
}, },
"subfile": { "subfile": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [ "allowedTypes": [
"files" "files"
], ]
"type": "media",
"multiple": false
}, },
"subbers": { "subbers": {
"type": "relation", "type": "relation",