From 3e56ba7eb31b84babef9ed56c4f1dca51c3bd8e9 Mon Sep 17 00:00:00 2001 From: Pascal Martineau Date: Wed, 28 Jan 2026 08:34:44 -0500 Subject: [PATCH] minor: update schema.graphql --- .../moonshine/server/graphql/schema.graphql | 75 ++++++++++++++++++- 1 file changed, 72 insertions(+), 3 deletions(-) diff --git a/wp-content/themes/moonshine/server/graphql/schema.graphql b/wp-content/themes/moonshine/server/graphql/schema.graphql index 337103b..45594b4 100644 --- a/wp-content/themes/moonshine/server/graphql/schema.graphql +++ b/wp-content/themes/moonshine/server/graphql/schema.graphql @@ -3250,6 +3250,19 @@ type GeneralSettings { """Code local de l’installation WordPress.""" language: String + """ + The media item representing the site icon configured in site settings, used as the site's favicon and app icon. + """ + siteIcon: GeneralSettingsToMediaItemConnectionEdge + + """ + Site icon URL configured in site settings, used as the site's favicon and app icon. + """ + siteIconUrl( + """Size of the site icon in pixels. Defaults to 512. Max 512.""" + size: Int + ): String + """ Le numéro du jour de la semaine à laquelle la semaine devrait commencer. """ @@ -3268,6 +3281,17 @@ type GeneralSettings { url: String } +"""Connection between the GeneralSettings type and the MediaItem type""" +type GeneralSettingsToMediaItemConnectionEdge implements Edge & MediaItemConnectionEdge & OneToOneConnection { + """ + Opaque reference to the nodes position in the connection. Value can be used with pagination args. + """ + cursor: String + + """The node of the connection, without the edges""" + node: MediaItem! +} + """The Login client options for the github provider.""" type GithubClientOptions implements LoginClientOptions { """The client ID.""" @@ -9478,6 +9502,18 @@ type RankMathAuthorArchiveMetaSettings implements RankMathMetaSettingWithArchive robotsMeta: [RankMathRobotsMetaValueEnum] } +"""The Breadcrumb trail.""" +type RankMathBreadcrumbs { + """Whether the given breadcrumb is hidden from the schema""" + isHidden: Boolean + + """The text for the given breadcrumb""" + text: String + + """The url for the given breadcrumb""" + url: String +} + """The RankMath SEO breadcrumbs settings.""" type RankMathBreadcrumbsConfig { """Format the label used for archive pages.""" @@ -9533,6 +9569,9 @@ type RankMathCategoryTermSeo implements RankMathSeo { """The title to use in the breadcrumbs for this post""" breadcrumbTitle: String + """The breadcrumbs trail for the given object""" + breadcrumbs: [RankMathBreadcrumbs] + """The canonical url.""" canonicalUrl: String @@ -9563,6 +9602,9 @@ interface RankMathContentNodeSeo implements RankMathSeo { """The title to use in the breadcrumbs for this post""" breadcrumbTitle: String + """The breadcrumbs trail for the given object""" + breadcrumbs: [RankMathBreadcrumbs] + """The canonical url.""" canonicalUrl: String @@ -9825,6 +9867,9 @@ type RankMathMediaItemObjectSeo implements RankMathContentNodeSeo & RankMathSeo """The title to use in the breadcrumbs for this post""" breadcrumbTitle: String + """The breadcrumbs trail for the given object""" + breadcrumbs: [RankMathBreadcrumbs] + """The canonical url.""" canonicalUrl: String @@ -9861,6 +9906,9 @@ type RankMathMediaItemTypeSeo implements RankMathSeo { """The title to use in the breadcrumbs for this post""" breadcrumbTitle: String + """The breadcrumbs trail for the given object""" + breadcrumbs: [RankMathBreadcrumbs] + """The canonical url.""" canonicalUrl: String @@ -10602,6 +10650,9 @@ type RankMathPageObjectSeo implements RankMathContentNodeSeo & RankMathSeo { """The title to use in the breadcrumbs for this post""" breadcrumbTitle: String + """The breadcrumbs trail for the given object""" + breadcrumbs: [RankMathBreadcrumbs] + """The canonical url.""" canonicalUrl: String @@ -10638,6 +10689,9 @@ type RankMathPageTypeSeo implements RankMathSeo { """The title to use in the breadcrumbs for this post""" breadcrumbTitle: String + """The breadcrumbs trail for the given object""" + breadcrumbs: [RankMathBreadcrumbs] + """The canonical url.""" canonicalUrl: String @@ -10668,6 +10722,9 @@ type RankMathPostFormatTermSeo implements RankMathSeo { """The title to use in the breadcrumbs for this post""" breadcrumbTitle: String + """The breadcrumbs trail for the given object""" + breadcrumbs: [RankMathBreadcrumbs] + """The canonical url.""" canonicalUrl: String @@ -10698,6 +10755,9 @@ type RankMathPostObjectSeo implements RankMathContentNodeSeo & RankMathSeo { """The title to use in the breadcrumbs for this post""" breadcrumbTitle: String + """The breadcrumbs trail for the given object""" + breadcrumbs: [RankMathBreadcrumbs] + """The canonical url.""" canonicalUrl: String @@ -10734,6 +10794,9 @@ type RankMathPostTypeSeo implements RankMathSeo { """The title to use in the breadcrumbs for this post""" breadcrumbTitle: String + """The breadcrumbs trail for the given object""" + breadcrumbs: [RankMathBreadcrumbs] + """The canonical url.""" canonicalUrl: String @@ -10806,6 +10869,9 @@ interface RankMathSeo { """The title to use in the breadcrumbs for this post""" breadcrumbTitle: String + """The breadcrumbs trail for the given object""" + breadcrumbs: [RankMathBreadcrumbs] + """The canonical url.""" canonicalUrl: String @@ -11253,6 +11319,9 @@ type RankMathTagTermSeo implements RankMathSeo { """The title to use in the breadcrumbs for this post""" breadcrumbTitle: String + """The breadcrumbs trail for the given object""" + breadcrumbs: [RankMathBreadcrumbs] + """The canonical url.""" canonicalUrl: String @@ -11313,6 +11382,9 @@ type RankMathUserSeo implements RankMathSeo { """The title to use in the breadcrumbs for this post""" breadcrumbTitle: String + """The breadcrumbs trail for the given object""" + breadcrumbs: [RankMathBreadcrumbs] + """The canonical url.""" canonicalUrl: String @@ -15551,9 +15623,6 @@ enum UserRoleEnum { """User role with specific capabilities""" SUBSCRIBER - - """User role with specific capabilities""" - TRANSLATOR } """Connection between the User type and the Comment type"""