From aba4fc42b8680e0a8612c01f2c0e46bcd1577c98 Mon Sep 17 00:00:00 2001 From: benjacanas Date: Mon, 21 Mar 2022 10:03:02 -0300 Subject: [PATCH] schemas nav --- src/schema/schema.js | 69 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/src/schema/schema.js b/src/schema/schema.js index 072051c7..7527055e 100644 --- a/src/schema/schema.js +++ b/src/schema/schema.js @@ -1241,9 +1241,78 @@ type StrapiLayoutFooter { location: StrapiLayoutFooterLocation contact: StrapiLayoutFooterContact internalLink: StrapiLayoutFooterInternalLink + navbar: StrapiLayoutNavbar logo: LocalFile } + +type StrapiLayoutNavbar { + id: Int + navbarItem: [StrapiLayoutNavbarNavbarItem] + logo: StrapiLayoutNavbarLogo +} + +type StrapiLayoutNavbarNavbarItem { + id: Int + label: String + landing: StrapiLayoutNavbarNavbarItemLanding + url: String + visible: Boolean + dropdown: Boolean +} + +type StrapiLayoutNavbarNavbarItemLanding { + id: Int + name: String + slug: String + published_at( + formatString: String + fromNow: Boolean + difference: String + locale: String + ): Date + created_at( + formatString: String + fromNow: Boolean + difference: String + locale: String + ): Date + updated_at( + formatString: String + fromNow: Boolean + difference: String + locale: String + ): Date +} + +type StrapiLayoutNavbarLogo { + id: Int + name: String + alternativeText: String + caption: String + width: Int + height: Int + hash: String + ext: String + mime: String + size: Float + url: String + provider: String + created_at( + formatString: String + fromNow: Boolean + difference: String + locale: String + ): Date + updated_at( + formatString: String + fromNow: Boolean + difference: String + locale: String + ): Date + localFile: File +} + type StrapiLayoutFooterSubscription { id: Int title: String