diff --git a/src/api/library-content/content-types/library-content/schema.json b/src/api/library-content/content-types/library-content/schema.json index 2d2718d..55f001f 100644 --- a/src/api/library-content/content-types/library-content/schema.json +++ b/src/api/library-content/content-types/library-content/schema.json @@ -70,6 +70,11 @@ "type": "relation", "relation": "oneToOne", "target": "api::content-type.content-type" + }, + "categories": { + "type": "relation", + "relation": "oneToMany", + "target": "api::category.category" } } } diff --git a/src/api/library-item/content-types/library-item/schema.json b/src/api/library-item/content-types/library-item/schema.json index 4a97068..fbf589c 100644 --- a/src/api/library-item/content-types/library-item/schema.json +++ b/src/api/library-item/content-types/library-item/schema.json @@ -101,6 +101,14 @@ "type": "component", "repeatable": true, "component": "translations.library-items" + }, + "gallery": { + "allowedTypes": [ + "images", + "videos" + ], + "type": "media", + "multiple": true } } }