From c61a85e0cdf8953bc97a5d670533484d3f34f486 Mon Sep 17 00:00:00 2001 From: trivernis Date: Sat, 6 Jul 2024 15:16:32 +0200 Subject: [PATCH] Rename teaser_image to teaserImage --- src/api/blog-post/content-types/blog-post/schema.json | 7 ++++--- types/generated/contentTypes.d.ts | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/api/blog-post/content-types/blog-post/schema.json b/src/api/blog-post/content-types/blog-post/schema.json index 831f815..4a02029 100644 --- a/src/api/blog-post/content-types/blog-post/schema.json +++ b/src/api/blog-post/content-types/blog-post/schema.json @@ -59,15 +59,16 @@ "target": "api::blog-collection.blog-collection", "inversedBy": "posts" }, - "teaser_image": { + "teaserImage": { + "type": "media", + "multiple": false, + "required": false, "allowedTypes": [ "images", "files", "videos", "audios" ], - "type": "media", - "multiple": false, "pluginOptions": { "i18n": { "localized": true diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index 10aae36..a10c6e4 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -978,7 +978,7 @@ export interface ApiBlogPostBlogPost extends Schema.CollectionType { 'manyToOne', 'api::blog-collection.blog-collection' >; - teaser_image: Attribute.Media<'images' | 'files' | 'videos' | 'audios'> & + teaserImage: Attribute.Media<'images' | 'files' | 'videos' | 'audios'> & Attribute.SetPluginOptions<{ i18n: { localized: true;