Changes to audio and video sets

This commit is contained in:
DrMint 2023-05-17 11:51:32 +02:00
parent 4a2e013397
commit ed7baa41ff
6 changed files with 2219 additions and 1240 deletions

3392
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -10,8 +10,8 @@
"strapi": "strapi" "strapi": "strapi"
}, },
"dependencies": { "dependencies": {
"@strapi/plugin-graphql": "4.10.1", "@strapi/plugin-graphql": "4.10.5",
"@strapi/strapi": "4.10.1", "@strapi/strapi": "4.10.5",
"sqlite3": "5.1.6" "sqlite3": "5.1.6"
}, },
"author": { "author": {

View File

@ -138,6 +138,11 @@
"type": "component", "type": "component",
"repeatable": true, "repeatable": true,
"component": "collections-component.library-images" "component": "collections-component.library-images"
},
"download_available": {
"type": "boolean",
"default": false,
"required": true
} }
} }
} }

View File

@ -561,6 +561,36 @@
}, },
"player_name_tooltip": { "player_name_tooltip": {
"type": "text" "type": "text"
},
"download_scans": {
"type": "string"
},
"search_placeholder": {
"type": "string"
},
"performance_mode": {
"type": "string"
},
"performance_mode_tooltip": {
"type": "text"
},
"transcriber": {
"type": "string"
},
"translator": {
"type": "string"
},
"proofreader": {
"type": "string"
},
"dubber": {
"type": "string"
},
"subber": {
"type": "string"
},
"author": {
"type": "string"
} }
} }
} }

View File

@ -17,14 +17,6 @@
], ],
"default": "Incomplete" "default": "Incomplete"
}, },
"audiofile": {
"type": "media",
"multiple": true,
"required": false,
"allowedTypes": [
"files"
]
},
"source_language": { "source_language": {
"type": "relation", "type": "relation",
"relation": "oneToOne", "relation": "oneToOne",
@ -32,7 +24,7 @@
}, },
"dubbers": { "dubbers": {
"type": "relation", "type": "relation",
"relation": "oneToOne", "relation": "oneToMany",
"target": "api::recorder.recorder" "target": "api::recorder.recorder"
}, },
"notes": { "notes": {

View File

@ -23,24 +23,18 @@
"relation": "oneToOne", "relation": "oneToOne",
"target": "api::language.language" "target": "api::language.language"
}, },
"video_url": {
"type": "string"
},
"subfile": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"files"
]
},
"subbers": { "subbers": {
"type": "relation", "type": "relation",
"relation": "oneToOne", "relation": "oneToMany",
"target": "api::recorder.recorder" "target": "api::recorder.recorder"
}, },
"notes": { "notes": {
"type": "text" "type": "text"
},
"has_subfile": {
"type": "boolean",
"default": false,
"required": true
} }
} }
} }