Rename teaser_image to teaserImage

main
trivernis 5 months ago
parent c6ac05f4db
commit c61a85e0cd
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -59,15 +59,16 @@
"target": "api::blog-collection.blog-collection", "target": "api::blog-collection.blog-collection",
"inversedBy": "posts" "inversedBy": "posts"
}, },
"teaser_image": { "teaserImage": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [ "allowedTypes": [
"images", "images",
"files", "files",
"videos", "videos",
"audios" "audios"
], ],
"type": "media",
"multiple": false,
"pluginOptions": { "pluginOptions": {
"i18n": { "i18n": {
"localized": true "localized": true

@ -978,7 +978,7 @@ export interface ApiBlogPostBlogPost extends Schema.CollectionType {
'manyToOne', 'manyToOne',
'api::blog-collection.blog-collection' 'api::blog-collection.blog-collection'
>; >;
teaser_image: Attribute.Media<'images' | 'files' | 'videos' | 'audios'> & teaserImage: Attribute.Media<'images' | 'files' | 'videos' | 'audios'> &
Attribute.SetPluginOptions<{ Attribute.SetPluginOptions<{
i18n: { i18n: {
localized: true; localized: true;

Loading…
Cancel
Save