From d9eedc05b864d1f710180ea1ae69d297bd8bef87 Mon Sep 17 00:00:00 2001 From: DrMint Date: Tue, 8 Feb 2022 09:43:05 +0100 Subject: [PATCH] Added subtitle and pretitle to content --- src/api/content/content-types/content/schema.json | 7 ++++--- src/components/translations/title.json | 9 ++++++++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/api/content/content-types/content/schema.json b/src/api/content/content-types/content/schema.json index 7a4985e..5fca5c8 100644 --- a/src/api/content/content-types/content/schema.json +++ b/src/api/content/content-types/content/schema.json @@ -59,11 +59,12 @@ "component": "sets.audio-set" }, "thumbnail": { + "type": "media", + "multiple": false, + "required": false, "allowedTypes": [ "images" - ], - "type": "media", - "multiple": false + ] } } } diff --git a/src/components/translations/title.json b/src/components/translations/title.json index 0cd8bb3..393de18 100644 --- a/src/components/translations/title.json +++ b/src/components/translations/title.json @@ -2,7 +2,8 @@ "collectionName": "components_translations_titles", "info": { "displayName": "title", - "icon": "feather" + "icon": "feather", + "description": "" }, "options": {}, "attributes": { @@ -14,6 +15,12 @@ "title": { "type": "string", "required": true + }, + "subtitle": { + "type": "string" + }, + "pre_title": { + "type": "string" } } }