Added gallery to library items

This commit is contained in:
DrMint 2022-01-27 18:03:14 +01:00
parent ddf0b12ece
commit de3f1790f9
2 changed files with 13 additions and 0 deletions

View File

@ -70,6 +70,11 @@
"type": "relation", "type": "relation",
"relation": "oneToOne", "relation": "oneToOne",
"target": "api::content-type.content-type" "target": "api::content-type.content-type"
},
"categories": {
"type": "relation",
"relation": "oneToMany",
"target": "api::category.category"
} }
} }
} }

View File

@ -101,6 +101,14 @@
"type": "component", "type": "component",
"repeatable": true, "repeatable": true,
"component": "translations.library-items" "component": "translations.library-items"
},
"gallery": {
"allowedTypes": [
"images",
"videos"
],
"type": "media",
"multiple": true
} }
} }
} }