diff --git a/composer.json b/composer.json index 60ffb2e..42d4f12 100644 --- a/composer.json +++ b/composer.json @@ -19,19 +19,20 @@ "sort-packages": true }, "require": { + "axepress/wp-graphql-rank-math": "*", "lewebsimple/acf-extended-pro": "*", "lewebsimple/acf-polylang": "*", "lewebsimple/admin-site-enhancements-pro": "*", "lewebsimple/advanced-custom-fields-pro": "6.4.3", "lewebsimple/ithemes-security-pro": "*", "lewebsimple/kaliroots": "*", + "lewebsimple/rank-math-pro": "*", "lewebsimple/theia-smart-thumbnails-premium": "*", "lewebsimple/wp-offload-ses": "*", "wp-graphql/wp-graphql-jwt-authentication": "*", "wpackagist-plugin/clean-image-filenames": "*", "wpackagist-plugin/disable-comments": "*", - "wpackagist-plugin/redirection": "*", "wpackagist-plugin/wp-graphql": "*", "wpackagist-plugin/wpgraphql-acf": "*" } -} +} \ No newline at end of file diff --git a/composer.lock b/composer.lock index 02db3c5..75bded9 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,169 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1d0bcab2d02b10423807dd1a69a4ad14", + "content-hash": "a2f8ce11c2aa318d143b38ac84862305", "packages": [ + { + "name": "axepress/wp-graphql-plugin-boilerplate", + "version": "0.1.1", + "source": { + "type": "git", + "url": "https://github.com/AxeWP/wp-graphql-plugin-boilerplate.git", + "reference": "09495b61346453baabdf4c71a38ada3cfc91c3a7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/AxeWP/wp-graphql-plugin-boilerplate/zipball/09495b61346453baabdf4c71a38ada3cfc91c3a7", + "reference": "09495b61346453baabdf4c71a38ada3cfc91c3a7", + "shasum": "" + }, + "require": { + "php": ">=7.4" + }, + "require-dev": { + "axepress/wp-graphql-cs": "^2.0.0", + "axepress/wp-graphql-stubs": "^2.3.0", + "phpcompatibility/php-compatibility": "dev-develop as 9.9.9", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^2.0", + "phpstan/phpstan-deprecation-rules": "^2.0.1", + "szepeviktor/phpstan-wordpress": "^2.0", + "wp-cli/wp-cli-bundle": "^2.8.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "AxeWP\\GraphQL\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0-or-later" + ], + "authors": [ + { + "name": "AxePress Development", + "homepage": "https://axepress.dev" + }, + { + "name": "David Levine", + "role": "Developer" + } + ], + "description": "Boilerplate for creating WPGraphQL extensions", + "support": { + "issues": "https://github.com/AxeWP/wp-graphql-plugin-boilerplate/issues", + "source": "https://github.com/AxeWP/wp-graphql-plugin-boilerplate/tree/0.1.1" + }, + "funding": [ + { + "url": "https://github.com/AxeWp", + "type": "github" + } + ], + "time": "2025-06-07T02:03:50+00:00" + }, + { + "name": "axepress/wp-graphql-rank-math", + "version": "0.3.4", + "source": { + "type": "git", + "url": "https://github.com/AxeWP/wp-graphql-rank-math.git", + "reference": "167bdd4a5350717ed34069c304e0ffc3fe02bc7d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/AxeWP/wp-graphql-rank-math/zipball/167bdd4a5350717ed34069c304e0ffc3fe02bc7d", + "reference": "167bdd4a5350717ed34069c304e0ffc3fe02bc7d", + "shasum": "" + }, + "require": { + "axepress/wp-graphql-plugin-boilerplate": "^0.1.1", + "php": ">=7.4" + }, + "require-dev": { + "axepress/wp-graphql-cs": "^2.0.0", + "axepress/wp-graphql-stubs": "^2.0.0", + "codeception/lib-innerbrowser": "^1.0", + "codeception/module-asserts": "^1.0", + "codeception/module-cli": "^1.0", + "codeception/module-db": "^1.0", + "codeception/module-filesystem": "^1.0", + "codeception/module-phpbrowser": "^1.0", + "codeception/module-rest": "^2.0", + "codeception/module-webdriver": "^1.0", + "codeception/phpunit-wrapper": "^9.0", + "codeception/util-universalframework": "^1.0", + "lucatume/wp-browser": "<3.5", + "php-coveralls/php-coveralls": "^2.5", + "phpcompatibility/php-compatibility": "dev-develop as 9.9.9", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^2.1.5", + "phpunit/phpunit": "^9.5", + "szepeviktor/phpstan-wordpress": "^2.0.1", + "wp-cli/wp-cli-bundle": "^2.8.1", + "wp-graphql/wp-graphql-testcase": "~3.4.0" + }, + "type": "wordpress-plugin", + "extra": { + "strauss": { + "packages": [ + "axepress/wp-graphql-plugin-boilerplate" + ], + "classmap_prefix": "WPGraphQL_RankMath_", + "constant_prefix": "WPGRAPHQL_SEO_", + "namespace_prefix": "WPGraphQL\\RankMath\\Vendor\\", + "target_directory": "vendor-prefixed", + "update_call_sites": false, + "exclude_from_prefix": { + "namespaces": [], + "file_patterns": [] + }, + "include_modified_date": false, + "delete_vendor_packages": true + } + }, + "autoload": { + "files": [ + "access-functions.php" + ], + "psr-4": { + "WPGraphQL\\RankMath\\": "src/" + }, + "classmap": [ + "vendor-prefixed/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0-or-later" + ], + "authors": [ + { + "name": "AxePress Development", + "email": "support@axepress.dev", + "homepage": "https://axepress.dev" + }, + { + "name": "David Levine", + "role": "Developer" + } + ], + "description": "Adds WPGraphQL support for RankMath SEO", + "support": { + "email": "support@axepress.dev", + "forum": "https://github.com/AxeWP/wp-graphql-rank-math/discussions", + "issues": "https://github.com/AxeWP/wp-graphql-rank-math/issues", + "source": "https://github.com/AxeWP/wp-graphql-rank-math/tree/0.3.4" + }, + "funding": [ + { + "url": "https://github.com/sponsors/AxeWP", + "type": "github" + } + ], + "time": "2025-06-07T12:05:15+00:00" + }, { "name": "composer/installers", "version": "v2.3.0", @@ -317,6 +478,23 @@ "type": "wordpress-theme", "time": "2025-04-10T12:17:27+00:00" }, + { + "name": "lewebsimple/rank-math-pro", + "version": "v3.0.96", + "source": { + "type": "git", + "url": "ssh://git@gitea.websimple.com:222/wp-plugins/rank-math-pro.git", + "reference": "1460cc2b26bf74b2dc34210d75ba47362c936778" + }, + "dist": { + "type": "zip", + "url": "https://satis.ledevsimple.ca/dist/lewebsimple/rank-math-pro/lewebsimple-rank-math-pro-v3.0.96-2ffc77.zip", + "reference": "1460cc2b26bf74b2dc34210d75ba47362c936778", + "shasum": "052e62a8f1ab5520928a04b2281c57b0978999b4" + }, + "type": "wordpress-plugin", + "time": "2025-09-26T02:08:49+00:00" + }, { "name": "lewebsimple/theia-smart-thumbnails-premium", "version": "v2.3.0.1", @@ -442,24 +620,6 @@ "type": "wordpress-plugin", "homepage": "https://wordpress.org/plugins/disable-comments/" }, - { - "name": "wpackagist-plugin/redirection", - "version": "5.5.2", - "source": { - "type": "svn", - "url": "https://plugins.svn.wordpress.org/redirection/", - "reference": "tags/5.5.2" - }, - "dist": { - "type": "zip", - "url": "https://downloads.wordpress.org/plugin/redirection.5.5.2.zip" - }, - "require": { - "composer/installers": "^1.0 || ^2.0" - }, - "type": "wordpress-plugin", - "homepage": "https://wordpress.org/plugins/redirection/" - }, { "name": "wpackagist-plugin/wp-graphql", "version": "2.3.6", diff --git a/wp-content/themes/ccat/functions.php b/wp-content/themes/ccat/functions.php index 0f3495c..2c50db6 100644 --- a/wp-content/themes/ccat/functions.php +++ b/wp-content/themes/ccat/functions.php @@ -31,7 +31,6 @@ require_once __DIR__ . '/includes/graphql/auth.php'; require_once __DIR__ . '/includes/graphql/address.php'; require_once __DIR__ . '/includes/graphql/breadcrumbs.php'; require_once __DIR__ . '/includes/graphql/image-center.php'; -require_once __DIR__ . '/includes/graphql/sitemap.php'; // Roles diff --git a/wp-content/themes/ccat/includes/graphql/sitemap.php b/wp-content/themes/ccat/includes/graphql/sitemap.php deleted file mode 100644 index b3d9bbc..0000000 --- a/wp-content/themes/ccat/includes/graphql/sitemap.php +++ /dev/null @@ -1 +0,0 @@ - 80 ) score""" + GREAT + + """Unknown score.""" + UNKNOWN +} + +"""The Seo score information.""" +type RankMathSeoScore { + """The html output for the Frontend SEO badge""" + badgeHtml: String + + """Whether the SEO score should be displayed on the frontend""" + hasFrontendScore: Boolean + + """The SEO score""" + rating: RankMathSeoRatingEnum + + """The SEO score""" + score: Int +} + +"""The frontend SEO Score position""" +enum RankMathSeoScorePositionEnum { + """Above & below content""" + BOTH + + """Below content""" + BOTTOM + + """Custom (use shortcode)""" + CUSTOM + + """Above content""" + TOP +} + +"""The frontend SEO Score template type""" +enum RankMathSeoScoreTemplateTypeEnum { + """Circle template""" + CIRCLE + + """Square template""" + SQUARE +} + +"""The RankMath SEO site settings""" +type RankMathSettings { + """General settings.""" + general: RankMathGeneral + + """Meta settings.""" + meta: RankMathMeta + + """Sitemap settings.""" + sitemap: RankMathSitemap +} + +"""The RankMath SEO titles and meta site settings""" +type RankMathSitemap { + """Author sitemap settings. Null if authors are not indexable.""" + author: RankMathSitemapAuthorSettings + + """Content types included in the sitemap.""" + contentTypes( + """Limit results to specific content types.""" + include: [ContentTypeEnum] + ): [RankMathSitemapContentTypeSettings] + + """Sitemap general settings.""" + general: RankMathSitemapGeneralSettings + + """The URL to the sitemap index.""" + sitemapIndexUrl: String + + """Content types included in the sitemap.""" + taxonomies( + """Limit results to specific taxonomies.""" + include: [TaxonomyEnum] + ): [RankMathSitemapTaxonomySettings] +} + +"""The RankMath SEO Sitemap general settings.""" +type RankMathSitemapAuthorSettings { + """The connected authors whose URLs are included in the sitemap""" + connectedAuthors( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """The number of items to return after the referenced "after" cursor""" + first: Int + + """The number of items to return before the referenced "before" cursor""" + last: Int + ): RankMathSitemapAuthorSettingsToUserConnection + + """List of user roles excluded from the sitemap.""" + excludedRoles: [UserRoleEnum] + + """List of user IDs excluded from the sitemap.""" + excludedUserDatabaseIds: [Int] + + """The sitemap URL.""" + sitemapUrl: String +} + +""" +Connection between the RankMathSitemapAuthorSettings type and the User type +""" +type RankMathSitemapAuthorSettingsToUserConnection implements Connection & UserConnection { + """Edges for the RankMathSitemapAuthorSettingsToUserConnection connection""" + edges: [RankMathSitemapAuthorSettingsToUserConnectionEdge!]! + + """The nodes of the connection, without the edges""" + nodes: [User!]! + + """Information about pagination in a connection.""" + pageInfo: RankMathSitemapAuthorSettingsToUserConnectionPageInfo! +} + +"""An edge in a connection""" +type RankMathSitemapAuthorSettingsToUserConnectionEdge implements Edge & UserConnectionEdge { + """A cursor for use in pagination""" + cursor: String + + """The item at the end of the edge""" + node: User! +} + +""" +Pagination metadata specific to "RankMathSitemapAuthorSettingsToUserConnection" collections. Provides cursors and flags for navigating through sets of RankMathSitemapAuthorSettingsToUserConnection Nodes. +""" +type RankMathSitemapAuthorSettingsToUserConnectionPageInfo implements PageInfo & UserConnectionPageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String + + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: String +} + +"""The RankMath SEO Sitemap general settings.""" +type RankMathSitemapContentTypeSettings { + """The connected content nodes whose URLs are included in the sitemap""" + connectedContentNodes( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """The number of items to return after the referenced "after" cursor""" + first: Int + + """The number of items to return before the referenced "before" cursor""" + last: Int + ): RankMathSitemapContentTypeSettingsToContentNodeConnection + + """ + List of custom field (post meta) names which contain image URLs to include them in the sitemaps. + """ + customImageMetaKeys: [String] + + """Whether the content type is included in the sitemap.""" + isInSitemap: Boolean + + """The sitemap URL.""" + sitemapUrl: String + + """The content type.""" + type: ContentTypeEnum +} + +""" +Connection between the RankMathSitemapContentTypeSettings type and the ContentNode type +""" +type RankMathSitemapContentTypeSettingsToContentNodeConnection implements Connection & ContentNodeConnection { + """ + Edges for the RankMathSitemapContentTypeSettingsToContentNodeConnection connection + """ + edges: [RankMathSitemapContentTypeSettingsToContentNodeConnectionEdge!]! + + """The nodes of the connection, without the edges""" + nodes: [ContentNode!]! + + """Information about pagination in a connection.""" + pageInfo: RankMathSitemapContentTypeSettingsToContentNodeConnectionPageInfo! +} + +"""An edge in a connection""" +type RankMathSitemapContentTypeSettingsToContentNodeConnectionEdge implements ContentNodeConnectionEdge & Edge { + """A cursor for use in pagination""" + cursor: String + + """The item at the end of the edge""" + node: ContentNode! +} + +""" +Pagination metadata specific to "RankMathSitemapContentTypeSettingsToContentNodeConnection" collections. Provides cursors and flags for navigating through sets of RankMathSitemapContentTypeSettingsToContentNodeConnection Nodes. +""" +type RankMathSitemapContentTypeSettingsToContentNodeConnectionPageInfo implements ContentNodeConnectionPageInfo & PageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String + + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: String +} + +"""The RankMath SEO Sitemap general settings.""" +type RankMathSitemapGeneralSettings { + """Whether to notify search engines when the sitemap is updated.""" + canPingSearchEngines: Boolean @deprecated(reason: "This feature is no longer supported by Google, and has been removed from RankMath v1.0.211+.") + + """ + A list of post IDs excluded from the sitemap. This option **applies** to all posts types including posts, pages, and custom post types. + """ + excludedPostDatabaseIds: [Int] + + """ + A list of term IDs excluded from the sitemap. This option **applies** to all taxonomies. + """ + excludedTermDatabaseIds: [Int] + + """ + Whether the Featured Image is included in sitemaps too, even if it does not appear directly in the post content. + """ + hasFeaturedImage: Boolean + + """ + Whether reference to images from the post content is included in sitemaps. + """ + hasImages: Boolean + + """Max number of links on each sitemap page.""" + linksPerSitemap: Int +} + +"""The RankMath SEO Sitemap general settings.""" +type RankMathSitemapTaxonomySettings { + """The connected terms whose URLs are included in the sitemap""" + connectedTerms( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """The number of items to return after the referenced "after" cursor""" + first: Int + + """The number of items to return before the referenced "before" cursor""" + last: Int + ): RankMathSitemapTaxonomySettingsToTermNodeConnection + + """Whether to archive pages of terms that have no posts associated.""" + hasEmptyTerms: Boolean + + """Whether the content type is included in the sitemap.""" + isInSitemap: Boolean + + """The sitemap URL.""" + sitemapUrl: String + + """The taxonomy type.""" + type: TaxonomyEnum +} + +""" +Connection between the RankMathSitemapTaxonomySettings type and the TermNode type +""" +type RankMathSitemapTaxonomySettingsToTermNodeConnection implements Connection & TermNodeConnection { + """ + Edges for the RankMathSitemapTaxonomySettingsToTermNodeConnection connection + """ + edges: [RankMathSitemapTaxonomySettingsToTermNodeConnectionEdge!]! + + """The nodes of the connection, without the edges""" + nodes: [TermNode!]! + + """Information about pagination in a connection.""" + pageInfo: RankMathSitemapTaxonomySettingsToTermNodeConnectionPageInfo! +} + +"""An edge in a connection""" +type RankMathSitemapTaxonomySettingsToTermNodeConnectionEdge implements Edge & TermNodeConnectionEdge { + """A cursor for use in pagination""" + cursor: String + + """The item at the end of the edge""" + node: TermNode! +} + +""" +Pagination metadata specific to "RankMathSitemapTaxonomySettingsToTermNodeConnection" collections. Provides cursors and flags for navigating through sets of RankMathSitemapTaxonomySettingsToTermNodeConnection Nodes. +""" +type RankMathSitemapTaxonomySettingsToTermNodeConnectionPageInfo implements PageInfo & TermNodeConnectionPageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String + + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: String +} + +"""The rich snippet type.""" +enum RankMathSnippetTypeEnum { + """Article""" + ARTICLE + + """Book""" + BOOK + + """Course""" + COURSE + + """DataSet""" + DATASET + + """Event""" + EVENT + + """Fact Check""" + FACTCHECK + + """Job Posting""" + JOBPOSTING + + """Local Business""" + LOCAL_BUSINESS + + """Movie""" + MOVIE + + """Music""" + MUSIC + + """None (Click here to set one)""" + OFF + + """Person""" + PERSON + + """Product""" + PRODUCT + + """Recipe""" + RECIPE + + """Restaurant""" + RESTAURANT + + """Service""" + SERVICE + + """Software Application""" + SOFTWARE + + """Video""" + VIDEO +} + +"""The RankMath SEO Social settings.""" +type RankMathSocialMetaSettings { + """ + Additional social profile URLs to add to the sameAs property for the Organization Schema. + """ + additionalProfiles: [String] + + """A list of numeric Facebook admin User Ids.""" + facebookAdminId: [Int] + + """The facebook Facebook app ID.""" + facebookAppId: Int + + """ + The personal Facebook profile URL used to show authorship when articles are shared on Facebook. + """ + facebookAuthorUrl: String + + """The complete Facebook page URL.""" + facebookPageUrl: String + + """Twitter Username of the auther used in the `twitter:creater` tag.""" + twitterAuthorName: String +} + +"""The post_tag term object SEO data""" +type RankMathTagTermSeo implements RankMathSeo { + """The title to use in the breadcrumbs for this post""" + breadcrumbTitle: String + + """The canonical url.""" + canonicalUrl: String + + """The meta description.""" + description: String + + """The focus keywords you want to rank for""" + focusKeywords: [String] + + """The fully-rendered `head` tag for the given item""" + fullHead: String + + """The JSON+LD data""" + jsonLd: RankMathJsonLd + + """The open graph meta properties.""" + openGraph: RankMathOpenGraphMeta + + """A list of the robots meta properties to output.""" + robots: [String] + + """The title.""" + title: String +} + +"""The RankMath SEO Taxonomy meta settings.""" +type RankMathTaxonomyMetaSettings { + """The RankMath SEO meta settings for Catégories.""" + category: CategoryMetaSettings + + """The RankMath SEO meta settings for Formats.""" + postFormat: PostFormatMetaSettings + + """The RankMath SEO meta settings for Étiquettes.""" + tag: TagMetaSettings +} + +"""The template post object SEO data""" +type RankMathTemplateObjectSeo implements RankMathContentNodeSeo & RankMathSeo { + """The title to use in the breadcrumbs for this post""" + breadcrumbTitle: String + + """The canonical url.""" + canonicalUrl: String + + """The meta description.""" + description: String + + """The focus keywords you want to rank for""" + focusKeywords: [String] + + """The fully-rendered `head` tag for the given item""" + fullHead: String + + """Whether the item is considered pillar (cornerstone) content""" + isPillarContent: Boolean + + """The JSON+LD data""" + jsonLd: RankMathJsonLd + + """The open graph meta properties.""" + openGraph: RankMathOpenGraphMeta + + """A list of the robots meta properties to output.""" + robots: [String] + + """The SEO score""" + seoScore: RankMathSeoScore + + """The title.""" + title: String +} + +"""The template post type object SEO data""" +type RankMathTemplateTypeSeo implements RankMathSeo { + """The title to use in the breadcrumbs for this post""" + breadcrumbTitle: String + + """The canonical url.""" + canonicalUrl: String + + """The meta description.""" + description: String + + """The focus keywords you want to rank for""" + focusKeywords: [String] + + """The fully-rendered `head` tag for the given item""" + fullHead: String + + """The JSON+LD data""" + jsonLd: RankMathJsonLd + + """The open graph meta properties.""" + openGraph: RankMathOpenGraphMeta + + """A list of the robots meta properties to output.""" + robots: [String] + + """The title.""" + title: String +} + +"""The Twitter Card Type Enum""" +enum RankMathTwitterCardTypeEnum { + """The twitter App card""" + APP + + """The twitter Player card""" + PLAYER + + """Summary Card.""" + SUMMARY + + """Summary Card with Large Image.""" + SUMMARY_LARGE_IMAGE +} + +"""The user object SEO data""" +type RankMathUserSeo implements RankMathSeo { + """Additional social profile URLs to add to the sameAs property.""" + additionalProfiles: [String] + + """The title to use in the breadcrumbs for this post""" + breadcrumbTitle: String + + """The canonical url.""" + canonicalUrl: String + + """The meta description.""" + description: String + + """The complete Facebook profile URL.""" + facebookProfileUrl: String + + """The focus keywords you want to rank for""" + focusKeywords: [String] + + """The fully-rendered `head` tag for the given item""" + fullHead: String + + """The JSON+LD data""" + jsonLd: RankMathJsonLd + + """The open graph meta properties.""" + openGraph: RankMathOpenGraphMeta + + """A list of the robots meta properties to output.""" + robots: [String] + + """The title.""" + title: String + + """Twitter Username of the user.""" + twitterUserName: String +} + +"""The RankMath SEO Webmaster Tools settings""" +type RankMathWebmaster { + """The Baidu Webmaster Tools verification HTML code or ID.""" + baidu: String + + """The Bing Webmaster Tools verification HTML code or ID.""" + bing: String + + """The Google Search Console verification HTML code or ID.""" + google: String + + """The Norton Safe Web verification HTML code or ID.""" + norton: String + + """The Pinterest verification HTML code or ID.""" + pinterest: String + + """The Yandex verification HTML code or ID.""" + yandex: String +} + """The reading setting type""" type ReadingSettings { """L’ID de la page qui affichera les derniers articles""" @@ -17001,7 +20470,7 @@ enum RelationEnum { } """The Representation type""" -type Representation implements ContentNode & DatabaseIdentifier & Node & NodeWithRevisions & NodeWithTemplate & NodeWithTitle & UniformResourceIdentifiable & WithAcfGroupPostRepresentation { +type Representation implements ContentNode & DatabaseIdentifier & Node & NodeWithRankMathSeo & NodeWithRevisions & NodeWithTemplate & NodeWithTitle & UniformResourceIdentifiable & WithAcfGroupPostRepresentation { """The ancestors of the content node.""" ancestors( """ @@ -17189,6 +20658,9 @@ type Representation implements ContentNode & DatabaseIdentifier & Node & NodeWit where: RepresentationToRevisionConnectionWhereArgs ): RepresentationToRevisionConnection + """The RankMath SEO data for the node.""" + seo: RankMathRepresentationObjectSeo + """ The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. """ @@ -17464,7 +20936,7 @@ type ResetUserPasswordPayload { } """The Resource type""" -type Resource implements ContentNode & DatabaseIdentifier & Node & NodeWithExcerpt & NodeWithFeaturedImage & NodeWithRevisions & NodeWithTemplate & NodeWithTitle & Previewable & UniformResourceIdentifiable & WithAcfGroupPostResource { +type Resource implements ContentNode & DatabaseIdentifier & Node & NodeWithExcerpt & NodeWithFeaturedImage & NodeWithRankMathSeo & NodeWithRevisions & NodeWithTemplate & NodeWithTitle & Previewable & UniformResourceIdentifiable & WithAcfGroupPostResource { """The ancestors of the content node.""" ancestors( """ @@ -17693,6 +21165,9 @@ type Resource implements ContentNode & DatabaseIdentifier & Node & NodeWithExcer where: ResourceToRevisionConnectionWhereArgs ): ResourceToRevisionConnection + """The RankMath SEO data for the node.""" + seo: RankMathResourceObjectSeo + """ The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. """ @@ -17739,7 +21214,7 @@ type Resource implements ContentNode & DatabaseIdentifier & Node & NodeWithExcer } """The ResourceCategory type""" -type ResourceCategory implements DatabaseIdentifier & Node & TermNode & UniformResourceIdentifiable { +type ResourceCategory implements DatabaseIdentifier & Node & NodeWithRankMathSeo & TermNode & UniformResourceIdentifiable { """Breadcrumb navigation items for this content""" breadcrumbs: [BreadcrumbItem!] @@ -17864,6 +21339,9 @@ type ResourceCategory implements DatabaseIdentifier & Node & TermNode & UniformR where: ResourceCategoryToResourceConnectionWhereArgs ): ResourceCategoryToResourceConnection + """The RankMath SEO data for the node.""" + seo: RankMathResourceCategoryTermSeo + """An alphanumeric identifier for the object unique to its type.""" slug: String @@ -18224,6 +21702,67 @@ enum ResourceIdType { URI } +"""The RankMath SEO meta settings for Ressources.""" +type ResourceMetaSettings implements RankMathMetaSettingWithRobots { + """Advanced robots meta tag settings.""" + advancedRobotsMeta: RankMathAdvancedRobotsMeta + + """List of custom fields name to include in the Page analysis""" + analyzedFields: [String] + + """Default article type when creating a new Ressources.""" + articleType: RankMathArticleTypeEnum + + """Default description for single Ressources pages.""" + description: String + + """Whether to list bulk editing columns to the post listing screen.""" + hasBulkEditing: RankMathBulkEditingTypeEnum + + """ + Whether custom robots meta for author page are set. Otherwise the default meta will be used, as set in the Global Meta tab. + """ + hasCustomRobotsMeta: Boolean + + """ + Whether Link Suggestions meta box and the Pillar Content featured are enabled for this post type. + """ + hasLinkSuggestions: Boolean + + """Whether the SEO Controls meta box for user profile pages is enabled.""" + hasSeoControls: Boolean + + """ + Whether to show additional information (name & total number of posts) when an author archive is shared on Slack. + """ + hasSlackEnhancedSharing: Boolean + + """Custom values for robots meta tag.""" + robotsMeta: [RankMathRobotsMetaValueEnum] + + """ + Whether to use the Focus Keyword as the default text for the links instead of the post titles. + """ + shouldUseFocusKeyword: Boolean + + """Default rich snippet headline.""" + snippetDescription: String + + """Default rich snippet headline.""" + snippetHeadline: String + + """Default rich snippet select when creating a new Ressources.""" + snippetType: RankMathSnippetTypeEnum + + """ + The default image to display when sharing this post type on social media + """ + socialImage: MediaItem + + """Default title tag for single Ressources pages.""" + title: String +} + """Set relationships between the Resource to ResourceCategories""" input ResourceResourceCategoriesInput { """ @@ -19958,9 +23497,40 @@ type RootQuery implements WithAcfOptionsPageSiteOptions { where: RootQueryToProjectConnectionWhereArgs ): RootQueryToProjectConnection + """RankMath SEO site settings""" + rankMathSettings: RankMathSettings + """Fields of the 'ReadingSettings' settings group""" readingSettings: ReadingSettings + """RankMath SEO redirection""" + redirection( + """The ID of the redirection. Accepts either a global or database ID.""" + id: ID + ): RankMathRedirection + + """A RankMath SEO redirection object.""" + redirections( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """The number of items to return after the referenced "after" cursor""" + first: Int + + """The number of items to return before the referenced "before" cursor""" + last: Int + + """Arguments for filtering the connection""" + where: RootQueryToRankMathRedirectionConnectionWhereArgs + ): RootQueryToRankMathRedirectionConnection + """Connection between the RootQuery type and the EnqueuedScript type""" registeredScripts( """ @@ -22518,6 +26088,58 @@ input RootQueryToProjectConnectionWhereArgs { title: String } +"""Connection between the RootQuery type and the RankMathRedirection type""" +type RootQueryToRankMathRedirectionConnection implements Connection & RankMathRedirectionConnection { + """Edges for the RootQueryToRankMathRedirectionConnection connection""" + edges: [RootQueryToRankMathRedirectionConnectionEdge!]! + + """The nodes of the connection, without the edges""" + nodes: [RankMathRedirection!]! + + """Information about pagination in a connection.""" + pageInfo: RootQueryToRankMathRedirectionConnectionPageInfo! +} + +"""An edge in a connection""" +type RootQueryToRankMathRedirectionConnectionEdge implements Edge & RankMathRedirectionConnectionEdge { + """A cursor for use in pagination""" + cursor: String + + """The item at the end of the edge""" + node: RankMathRedirection! +} + +""" +Pagination metadata specific to "RootQueryToRankMathRedirectionConnection" collections. Provides cursors and flags for navigating through sets of RootQueryToRankMathRedirectionConnection Nodes. +""" +type RootQueryToRankMathRedirectionConnectionPageInfo implements PageInfo & RankMathRedirectionConnectionPageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String + + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: String +} + +""" +Arguments for filtering the RootQueryToRankMathRedirectionConnection connection +""" +input RootQueryToRankMathRedirectionConnectionWhereArgs { + """Order the results by a specific field.""" + orderby: RankMathRedirectionConnectionOrderbyInput + + """Search the status, redirection url, or sources for the provided value.""" + search: String + + """Filter the redirections by their status.""" + status: [RankMathRedirectionStatusEnum] +} + """Connection between the RootQuery type and the Representation type""" type RootQueryToRepresentationConnection implements Connection & RepresentationConnection { """Edges for the RootQueryToRepresentationConnection connection""" @@ -23718,7 +27340,7 @@ type SwitchToPayload { """ A taxonomy term used to organize and classify content. Tags do not have a hierarchy and are generally used for more specific classifications. """ -type Tag implements DatabaseIdentifier & MenuItemLinkable & Node & TermNode & UniformResourceIdentifiable { +type Tag implements DatabaseIdentifier & MenuItemLinkable & Node & NodeWithRankMathSeo & TermNode & UniformResourceIdentifiable { """Breadcrumb navigation items for this content""" breadcrumbs: [BreadcrumbItem!] @@ -23840,6 +27462,9 @@ type Tag implements DatabaseIdentifier & MenuItemLinkable & Node & TermNode & Un where: TagToPostConnectionWhereArgs ): TagToPostConnection + """The RankMath SEO data for the node.""" + seo: RankMathTagTermSeo + """An alphanumeric identifier for the object unique to its type.""" slug: String @@ -23928,6 +27553,37 @@ enum TagIdType { URI } +"""The RankMath SEO meta settings for Étiquettes.""" +type TagMetaSettings implements RankMathMetaSettingWithArchive & RankMathMetaSettingWithRobots { + """Advanced robots meta tag settings.""" + advancedRobotsMeta: RankMathAdvancedRobotsMeta + + """Description for archive pages.""" + archiveDescription: String + + """Default title tag for archive page.""" + archiveTitle: String + + """ + Whether custom robots meta for author page are set. Otherwise the default meta will be used, as set in the Global Meta tab. + """ + hasCustomRobotsMeta: Boolean + + """Whether the SEO Controls meta box for user profile pages is enabled.""" + hasSeoControls: Boolean + + """ + Whether to show additional information (name & total number of posts) when an author archive is shared on Slack. + """ + hasSlackEnhancedSharing: Boolean + + """Whether to include snippet data for this taxonomy.""" + hasSnippetData: Boolean + + """Custom values for robots meta tag.""" + robotsMeta: [RankMathRobotsMetaValueEnum] +} + """Connection between the Tag type and the ContentNode type""" type TagToContentNodeConnection implements Connection & ContentNodeConnection { """Edges for the TagToContentNodeConnection connection""" @@ -24459,7 +28115,7 @@ type TaxonomyToTermNodeConnectionPageInfo implements PageInfo & TermNodeConnecti } """The Template type""" -type Template implements ContentNode & DatabaseIdentifier & Node & NodeWithRevisions & NodeWithTemplate & NodeWithTitle & UniformResourceIdentifiable & WithAcfGroupPostTemplate { +type Template implements ContentNode & DatabaseIdentifier & Node & NodeWithRankMathSeo & NodeWithRevisions & NodeWithTemplate & NodeWithTitle & UniformResourceIdentifiable & WithAcfGroupPostTemplate { """The ancestors of the content node.""" ancestors( """ @@ -24644,6 +28300,9 @@ type Template implements ContentNode & DatabaseIdentifier & Node & NodeWithRevis where: TemplateToRevisionConnectionWhereArgs ): TemplateToRevisionConnection + """The RankMath SEO data for the node.""" + seo: RankMathTemplateObjectSeo + """ The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. """ @@ -24900,7 +28559,7 @@ type Template_VirtualPage implements ContentTemplate { """ Base interface for taxonomy terms such as categories and tags. Terms are used to organize and classify content. """ -interface TermNode implements Node & UniformResourceIdentifiable { +interface TermNode implements Node & NodeWithRankMathSeo & UniformResourceIdentifiable { """Breadcrumb navigation items for this content""" breadcrumbs: [BreadcrumbItem!] @@ -24978,6 +28637,9 @@ interface TermNode implements Node & UniformResourceIdentifiable { """The human friendly name of the object.""" name: String + """The RankMath SEO data for the node.""" + seo: RankMathSeo + """An alphanumeric identifier for the object unique to its type.""" slug: String @@ -26460,7 +30122,7 @@ type UpdateUserPayload { """ A registered user account. Users can be assigned roles, author content, and have various capabilities within the site. """ -type User implements Commenter & DatabaseIdentifier & Node & UniformResourceIdentifiable & WithAcfGroupUserProfile { +type User implements Commenter & DatabaseIdentifier & Node & NodeWithRankMathSeo & UniformResourceIdentifiable & WithAcfGroupUserProfile { """ Avatar object for user. The avatar object can be retrieved in different sizes by specifying the size argument. """ @@ -26821,6 +30483,9 @@ type User implements Commenter & DatabaseIdentifier & Node & UniformResourceIden last: Int ): UserToUserRoleConnection + """The RankMath SEO data for the node.""" + seo: RankMathUserSeo + """ Whether the Toolbar should be displayed when the user is viewing the site. """