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",
"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,

View File

@ -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",

View File

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

View File

@ -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",