Added the statuses

This commit is contained in:
DrMint 2021-12-19 02:02:54 +01:00
parent 23e467d4fc
commit 25aa9ef8f4
8 changed files with 101 additions and 6 deletions

View File

@ -11,7 +11,8 @@
"displayName": "Weapon Story Story", "displayName": "Weapon Story Story",
"type": "component", "type": "component",
"repeatable": true, "repeatable": true,
"component": "translations.weapon-story-story" "component": "translations.weapon-story-story",
"required": false
}, },
"category": { "category": {
"type": "relation", "type": "relation",

View File

@ -2,7 +2,8 @@
"collectionName": "components_translations_audio_sets", "collectionName": "components_translations_audio_sets",
"info": { "info": {
"displayName": "Audio Sets", "displayName": "Audio Sets",
"icon": "file-audio" "icon": "file-audio",
"description": ""
}, },
"options": {}, "options": {},
"attributes": { "attributes": {
@ -10,6 +11,31 @@
"type": "relation", "type": "relation",
"relation": "oneToOne", "relation": "oneToOne",
"target": "api::language.language" "target": "api::language.language"
},
"audiofile": {
"type": "media",
"multiple": false,
"required": true,
"allowedTypes": [
"files"
]
},
"source": {
"type": "component",
"repeatable": false,
"component": "basics.source",
"required": true
},
"status": {
"type": "enumeration",
"enum": [
"Incomplete",
"Draft",
"Review",
"Done"
],
"default": "Incomplete",
"required": true
} }
} }
} }

View File

@ -20,6 +20,17 @@
}, },
"note": { "note": {
"type": "text" "type": "text"
},
"status": {
"type": "enumeration",
"enum": [
"Incomplete",
"Draft",
"Review",
"Done"
],
"default": "Incomplete",
"required": true
} }
} }
} }

View File

@ -14,6 +14,17 @@
"type": "relation", "type": "relation",
"relation": "oneToOne", "relation": "oneToOne",
"target": "api::language.language" "target": "api::language.language"
},
"status": {
"type": "enumeration",
"enum": [
"Incomplete",
"Draft",
"Review",
"Done"
],
"default": "Incomplete",
"required": true
} }
} }
} }

View File

@ -15,7 +15,7 @@
"pages": { "pages": {
"type": "media", "type": "media",
"multiple": true, "multiple": true,
"required": false, "required": true,
"allowedTypes": [ "allowedTypes": [
"images" "images"
] ]
@ -26,6 +26,17 @@
"repeatable": false, "repeatable": false,
"component": "basics.source", "component": "basics.source",
"required": true "required": true
},
"status": {
"type": "enumeration",
"enum": [
"Incomplete",
"Draft",
"Review",
"Done"
],
"default": "Incomplete",
"required": true
} }
} }
} }

View File

@ -20,6 +20,17 @@
"type": "relation", "type": "relation",
"relation": "oneToOne", "relation": "oneToOne",
"target": "api::language.language" "target": "api::language.language"
},
"status": {
"type": "enumeration",
"enum": [
"Incomplete",
"Draft",
"Review",
"Done"
],
"default": "Incomplete",
"required": true
} }
} }
} }

View File

@ -13,7 +13,8 @@
"target": "api::language.language" "target": "api::language.language"
}, },
"video_url": { "video_url": {
"type": "string" "type": "string",
"required": true
}, },
"video_embed": { "video_embed": {
"type": "string" "type": "string"
@ -25,11 +26,23 @@
"required": true "required": true
}, },
"subfile": { "subfile": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [ "allowedTypes": [
"files" "files"
]
},
"status": {
"type": "enumeration",
"enum": [
"Incomplete",
"Draft",
"Review",
"Done"
], ],
"type": "media", "required": true,
"multiple": false "default": "Incomplete"
} }
} }
} }

View File

@ -26,6 +26,17 @@
"type": "relation", "type": "relation",
"relation": "oneToOne", "relation": "oneToOne",
"target": "api::language.language" "target": "api::language.language"
},
"status": {
"type": "enumeration",
"enum": [
"Incomplete",
"Draft",
"Review",
"Done"
],
"default": "Incomplete",
"required": true
} }
} }
} }