Added audio and video sets

This commit is contained in:
DrMint 2022-02-07 05:04:55 +01:00
parent b5fc2b5d0f
commit db7d5ff083
4 changed files with 106 additions and 10 deletions

View File

@ -45,6 +45,18 @@
"type": "component",
"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"
}
}
}

View File

@ -0,0 +1,45 @@
{
"collectionName": "components_sets_audio_sets",
"info": {
"displayName": "audio_set",
"icon": "headphones"
},
"options": {},
"attributes": {
"language": {
"type": "relation",
"relation": "oneToOne",
"target": "api::language.language"
},
"status": {
"type": "enumeration",
"enum": [
"Incomplete",
"Draft",
"Review",
"Done"
],
"default": "Incomplete"
},
"audiofile": {
"allowedTypes": [
"files"
],
"type": "media",
"multiple": true
},
"source_language": {
"type": "relation",
"relation": "oneToOne",
"target": "api::language.language"
},
"dubbers": {
"type": "relation",
"relation": "oneToOne",
"target": "api::recorder.recorder"
},
"notes": {
"type": "text"
}
}
}

View File

@ -0,0 +1,49 @@
{
"collectionName": "components_sets_video_sets",
"info": {
"displayName": "Video Set",
"icon": "film"
},
"options": {},
"attributes": {
"language": {
"type": "relation",
"relation": "oneToOne",
"target": "api::language.language"
},
"status": {
"type": "enumeration",
"enum": [
"Incomplete",
"Draft",
"Review",
"Done"
],
"default": "Incomplete",
"required": true
},
"source_language": {
"type": "relation",
"relation": "oneToOne",
"target": "api::language.language"
},
"video_url": {
"type": "string"
},
"subfile": {
"allowedTypes": [
"files"
],
"type": "media",
"multiple": false
},
"subbers": {
"type": "relation",
"relation": "oneToOne",
"target": "api::recorder.recorder"
},
"notes": {
"type": "text"
}
}
}

View File

@ -1,10 +0,0 @@
{
"collectionName": "components_source_library_texts",
"info": {
"displayName": "Library Text",
"icon": "align-justify",
"description": ""
},
"options": {},
"attributes": {}
}