Added gallery to library items
This commit is contained in:
parent
ddf0b12ece
commit
de3f1790f9
|
@ -70,6 +70,11 @@
|
|||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::content-type.content-type"
|
||||
},
|
||||
"categories": {
|
||||
"type": "relation",
|
||||
"relation": "oneToMany",
|
||||
"target": "api::category.category"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -101,6 +101,14 @@
|
|||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "translations.library-items"
|
||||
},
|
||||
"gallery": {
|
||||
"allowedTypes": [
|
||||
"images",
|
||||
"videos"
|
||||
],
|
||||
"type": "media",
|
||||
"multiple": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue