From bf7c2ee332a5d588efb9d68535682dec687c13d5 Mon Sep 17 00:00:00 2001 From: Drina_Rincon Date: Thu, 31 Mar 2022 12:27:29 -0300 Subject: [PATCH] Modificar esquemas --- src/schema/blogSchema.js | 54 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/src/schema/blogSchema.js b/src/schema/blogSchema.js index 0a3a5f4c..08209392 100644 --- a/src/schema/blogSchema.js +++ b/src/schema/blogSchema.js @@ -448,7 +448,7 @@ type StrapiBlogCategory implements Node { type StrapiBlogPageBannerHead { id: Int title: String - image: localFile + image: LocalFile } type StrapiBlogPageBannerHeadImage { @@ -479,6 +479,58 @@ type StrapiBlogCategory implements Node { ): Date localFile: File } + + type StrapiBlogPageBannerHeadImageFormats { + large: StrapiBlogPageBannerHeadImageFormatsLarge + small: StrapiBlogPageBannerHeadImageFormatsSmall + medium: StrapiBlogPageBannerHeadImageFormatsMedium + thumbnail: StrapiBlogPageBannerHeadImageFormatsThumbnail + } + + type StrapiBlogPageBannerHeadImageFormatsLarge { + ext: String + url: String + hash: String + mime: String + name: String + size: Float + width: Int + height: Int + } + + type StrapiBlogPageBannerHeadImageFormatsSmall { + ext: String + url: String + hash: String + mime: String + name: String + size: Float + width: Int + height: Int + } + + type StrapiBlogPageBannerHeadImageFormatsMedium { + ext: String + url: String + hash: String + mime: String + name: String + size: Float + width: Int + height: Int + } + + type StrapiBlogPageBannerHeadImageFormatsThumbnail { + ext: String + url: String + hash: String + mime: String + name: String + size: Float + width: Int + height: Int + } + type StrapiBlogPagePageMetadata { id: Int