From 94e619407c9031981a245fc07766fa66682b9e5d Mon Sep 17 00:00:00 2001 From: Wouter Vernaillen Date: Wed, 14 Aug 2024 18:55:17 +0200 Subject: [PATCH] added wp-env + 4 compont test pages, etc --- .wp-env.json | 20 + docs/2.getting-started/2.configuration.md | 1 + .../3.overriding-components.md | 0 docs/3.blocks/core-button.md | 47 + docs/3.blocks/core-buttons.md | 30 + docs/3.blocks/core-code.md | 3 + docs/3.blocks/core-column.md | 3 + docs/3.blocks/core-columns.md | 3 + docs/3.blocks/core-heading.md | 3 + docs/3.blocks/core-image.md | 3 + docs/3.blocks/core-list.md | 3 + docs/3.blocks/core-paragraph.md | 3 + docs/3.blocks/core-quote.md | 3 + docs/3.blocks/core-separator.md | 3 + package.json | 12 +- playground/.env-example | 9 + playground/app/app.config.ts | 6 +- playground/app/app.vue | 1 - playground/app/layouts/default.vue | 17 +- playground/app/pages/[...slug].vue | 1 + playground/app/schema.graphql | 12213 ++++++---------- playground/nuxt.config.ts | 2 +- playground/tailwind.config.ts | 38 + pnpm-lock.yaml | 562 +- src/runtime/components/BlockComponent.vue | 12 +- src/runtime/components/blocks/CoreButton.vue | 30 +- src/runtime/components/blocks/CoreButtons.vue | 26 +- src/runtime/components/blocks/CoreHeading.vue | 46 +- .../components/blocks/CoreParagraph.vue | 31 +- src/runtime/components/blocks/CoreSpacer.vue | 17 + .../queries/fragments/CoreSpacer.fragment.gql | 11 + .../fragments/EditorBlock.fragment.gql | 2 + wordpress/demo-content/CoreButton.txt | 65 + wordpress/demo-content/CoreHeading.txt | 45 + wordpress/demo-content/CoreParagraph.txt | 19 + wordpress/demo-content/CoreSpacer.txt | 35 + wordpress/wp-env-apache-modules.yml | 2 + wordpress/wp-env-cli.sh | 29 + 38 files changed, 5729 insertions(+), 7627 deletions(-) create mode 100644 .wp-env.json create mode 100644 docs/2.getting-started/2.configuration.md create mode 100644 docs/2.getting-started/3.overriding-components.md create mode 100644 docs/3.blocks/core-button.md create mode 100644 docs/3.blocks/core-buttons.md create mode 100644 docs/3.blocks/core-code.md create mode 100644 docs/3.blocks/core-column.md create mode 100644 docs/3.blocks/core-columns.md create mode 100644 docs/3.blocks/core-heading.md create mode 100644 docs/3.blocks/core-image.md create mode 100644 docs/3.blocks/core-list.md create mode 100644 docs/3.blocks/core-paragraph.md create mode 100644 docs/3.blocks/core-quote.md create mode 100644 docs/3.blocks/core-separator.md create mode 100644 playground/.env-example create mode 100644 playground/tailwind.config.ts create mode 100644 src/runtime/components/blocks/CoreSpacer.vue create mode 100644 src/runtime/queries/fragments/CoreSpacer.fragment.gql create mode 100644 wordpress/demo-content/CoreButton.txt create mode 100644 wordpress/demo-content/CoreHeading.txt create mode 100644 wordpress/demo-content/CoreParagraph.txt create mode 100644 wordpress/demo-content/CoreSpacer.txt create mode 100644 wordpress/wp-env-apache-modules.yml create mode 100755 wordpress/wp-env-cli.sh diff --git a/.wp-env.json b/.wp-env.json new file mode 100644 index 0000000..297cc2e --- /dev/null +++ b/.wp-env.json @@ -0,0 +1,20 @@ +{ + "core": "WordPress/WordPress#6.6.1", + "plugins": [ + "https://github.com/wpnuxt/wpnuxt-plugin/releases/download/v0.0.2/wpnuxt-plugin.zip", + "https://downloads.wordpress.org/plugin/faustwp.zip", + "https://github.com/wpengine/wp-graphql-content-blocks/releases/download/v4.0.1/wp-graphql-content-blocks.zip", + "https://downloads.wordpress.org/plugin/wp-graphql.zip" + ], + "port": 4000, + "config": { + "FRONTEND_URI": "http://localhost:3000" + }, + "mappings": { + "wp-cli.yml": "./wordpress/wp-env-apache-modules.yml", + "demo-content": "./wordpress/demo-content" + }, + "lifecycleScripts": { + "afterStart": "wp-env run cli wp rewrite structure /%postname%/ --hard" + } +} diff --git a/docs/2.getting-started/2.configuration.md b/docs/2.getting-started/2.configuration.md new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/docs/2.getting-started/2.configuration.md @@ -0,0 +1 @@ + diff --git a/docs/2.getting-started/3.overriding-components.md b/docs/2.getting-started/3.overriding-components.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/3.blocks/core-button.md b/docs/3.blocks/core-button.md new file mode 100644 index 0000000..878f50d --- /dev/null +++ b/docs/3.blocks/core-button.md @@ -0,0 +1,47 @@ +--- +title: CoreButton +--- + +## attributes + +``` +anchor?: string; +backgroundColor?: string; +cssClassName?: string; +fontFamily?: string; +fontSize?: string; +gradient?: string; +style?: string; +text?: string; +textAlign?: string; +textColor?: string; +linkTarget?: string; +rel?: string; +url?: string; +linkClassName?: string; +``` + +## default component + +```vue + + + + +``` diff --git a/docs/3.blocks/core-buttons.md b/docs/3.blocks/core-buttons.md new file mode 100644 index 0000000..c3f950e --- /dev/null +++ b/docs/3.blocks/core-buttons.md @@ -0,0 +1,30 @@ +--- +title: CoreButtons +--- + +```vue + + + + +``` diff --git a/docs/3.blocks/core-code.md b/docs/3.blocks/core-code.md new file mode 100644 index 0000000..cb15dc4 --- /dev/null +++ b/docs/3.blocks/core-code.md @@ -0,0 +1,3 @@ +--- +title: CoreCode +--- diff --git a/docs/3.blocks/core-column.md b/docs/3.blocks/core-column.md new file mode 100644 index 0000000..a83c528 --- /dev/null +++ b/docs/3.blocks/core-column.md @@ -0,0 +1,3 @@ +--- +title: CoreColumn +--- diff --git a/docs/3.blocks/core-columns.md b/docs/3.blocks/core-columns.md new file mode 100644 index 0000000..dd12369 --- /dev/null +++ b/docs/3.blocks/core-columns.md @@ -0,0 +1,3 @@ +--- +title: CoreColumns +--- diff --git a/docs/3.blocks/core-heading.md b/docs/3.blocks/core-heading.md new file mode 100644 index 0000000..fefe638 --- /dev/null +++ b/docs/3.blocks/core-heading.md @@ -0,0 +1,3 @@ +--- +title: CoreHeading +--- diff --git a/docs/3.blocks/core-image.md b/docs/3.blocks/core-image.md new file mode 100644 index 0000000..9a97f08 --- /dev/null +++ b/docs/3.blocks/core-image.md @@ -0,0 +1,3 @@ +--- +title: CoreImage +--- diff --git a/docs/3.blocks/core-list.md b/docs/3.blocks/core-list.md new file mode 100644 index 0000000..f334378 --- /dev/null +++ b/docs/3.blocks/core-list.md @@ -0,0 +1,3 @@ +--- +title: CoreList +--- diff --git a/docs/3.blocks/core-paragraph.md b/docs/3.blocks/core-paragraph.md new file mode 100644 index 0000000..ea986bd --- /dev/null +++ b/docs/3.blocks/core-paragraph.md @@ -0,0 +1,3 @@ +--- +title: CoreParagraph +--- diff --git a/docs/3.blocks/core-quote.md b/docs/3.blocks/core-quote.md new file mode 100644 index 0000000..f0f223d --- /dev/null +++ b/docs/3.blocks/core-quote.md @@ -0,0 +1,3 @@ +--- +title: CoreQuote +--- diff --git a/docs/3.blocks/core-separator.md b/docs/3.blocks/core-separator.md new file mode 100644 index 0000000..9f39a9c --- /dev/null +++ b/docs/3.blocks/core-separator.md @@ -0,0 +1,3 @@ +--- +title: CoreSeparator +--- diff --git a/package.json b/package.json index a1b1edc..62372e4 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,10 @@ "lint:fix": "eslint . --fix", "test": "vitest run", "test:watch": "vitest watch", - "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit" + "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit", + "wp-env": "wp-env", + "wp-env:create": "wp-env start --update && ./wordpress/wp-env-cli.sh", + "start": "pnpm run wp-env:create && pnpm run dev" }, "dependencies": { "@nuxt/image": "^1.7.0", @@ -42,10 +45,11 @@ "devDependencies": { "@nuxt/devtools": "^1.3.9", "@nuxt/eslint-config": "^0.5.0", - "@nuxt/module-builder": "^0.8.1", + "@nuxt/module-builder": "^0.8.3", "@nuxt/schema": "^3.12.4", - "@nuxt/test-utils": "^3.13.1", - "@types/node": "^22.2.0", + "@nuxt/test-utils": "^3.14.1", + "@types/node": "^22.3.0", + "@wordpress/env": "^10.5.0", "changelogen": "^0.5.5", "eslint": "^9.9.0", "nuxt": "^3.12.4", diff --git a/playground/.env-example b/playground/.env-example new file mode 100644 index 0000000..7fe442c --- /dev/null +++ b/playground/.env-example @@ -0,0 +1,9 @@ +NUXT_IMAGE_PROVIDER='ipx' + +WPNUXT_WORDPRESS_URL=http://localhost:4000 +WPNUXT_FRONTEND_URL=http://localhost:3000 +WPNUXT_FAUST_SECRET_KEY=yourKey + +WPNUXT_LOG_LEVEL=4 +WPNUXT_ENABLE_CACHE=true +WPNUXT_STAGING=true diff --git a/playground/app/app.config.ts b/playground/app/app.config.ts index 0b0f132..a159e80 100644 --- a/playground/app/app.config.ts +++ b/playground/app/app.config.ts @@ -1,7 +1,9 @@ export default defineAppConfig({ ui: { - variables: { - + primary: 'reefgold', + gray: 'neutral', + button: { + base: 'mb-1 mr-1' } } }) diff --git a/playground/app/app.vue b/playground/app/app.vue index d416d10..2b1be09 100644 --- a/playground/app/app.vue +++ b/playground/app/app.vue @@ -1,6 +1,5 @@ diff --git a/playground/app/layouts/default.vue b/playground/app/layouts/default.vue index 2007d37..2cfe77b 100644 --- a/playground/app/layouts/default.vue +++ b/playground/app/layouts/default.vue @@ -1,26 +1,11 @@ diff --git a/playground/app/schema.graphql b/playground/app/schema.graphql index 6e65c71..9d4594a 100644 --- a/playground/app/schema.graphql +++ b/playground/app/schema.graphql @@ -254,9 +254,6 @@ type Category implements DatabaseIdentifier & HierarchicalNode & HierarchicalTer where: CategoryToPostConnectionWhereArgs ): CategoryToPostConnection - """The Yoast SEO data of the Categories taxonomy.""" - seo: TaxonomySEO - """An alphanumeric identifier for the object unique to its type.""" slug: String @@ -315,9 +312,6 @@ interface CategoryConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -372,9 +366,6 @@ type CategoryToAncestorsCategoryConnectionPageInfo implements CategoryConnection """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -411,9 +402,6 @@ type CategoryToCategoryConnectionPageInfo implements CategoryConnectionPageInfo """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -538,9 +526,6 @@ type CategoryToContentNodeConnectionPageInfo implements ContentNodeConnectionPag """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -649,9 +634,6 @@ type CategoryToPostConnectionPageInfo implements PageInfo & PostConnectionPageIn """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -982,9 +964,6 @@ interface CommentConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -1011,7 +990,7 @@ enum CommentStatusEnum { """Comments with the Spam status""" SPAM - """Comments with the Bin status""" + """Comments with the Trash status""" TRASH } @@ -1047,9 +1026,6 @@ type CommentToCommentConnectionPageInfo implements CommentConnectionPageInfo & P """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -1588,9 +1564,6 @@ interface ContentNode implements Node & UniformResourceIdentifiable { """Whether the object is a node in the preview state""" previewRevisionId: ID - """The Yoast SEO data of the ContentNode""" - seo: PostTypeSEO - """ 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. """ @@ -1645,9 +1618,6 @@ interface ContentNodeConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -1732,9 +1702,6 @@ type ContentNodeToEnqueuedScriptConnectionPageInfo implements EnqueuedScriptConn """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -1773,9 +1740,6 @@ type ContentNodeToEnqueuedStylesheetConnectionPageInfo implements EnqueuedStyles """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -1987,9 +1951,6 @@ interface ContentTypeConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -1999,9 +1960,6 @@ enum ContentTypeEnum { """The Type of Content object""" ATTACHMENT - """The Type of Content object""" - GRAPHQL_DOCUMENT - """The Type of Content object""" PAGE @@ -2052,9 +2010,6 @@ type ContentTypeToContentNodeConnectionPageInfo implements ContentNodeConnection """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -2154,9 +2109,6 @@ type ContentTypeToTaxonomyConnectionPageInfo implements PageInfo & TaxonomyConne """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -2167,12 +2119,6 @@ enum ContentTypesOfCategoryEnum { POST } -"""Allowed Content Types of the GraphqlDocumentGroup taxonomy.""" -enum ContentTypesOfGraphqlDocumentGroupEnum { - """The Type of Content object""" - GRAPHQL_DOCUMENT -} - """Allowed Content Types of the PostFormat taxonomy.""" enum ContentTypesOfPostFormatEnum { """The Type of Content object""" @@ -2497,7 +2443,7 @@ type CoreBlockAttributes { """ The "content" field on the "CoreBlockAttributes" block or block attributes """ - content: BlockAttributesObject + content: BlockAttributesObject! """ The "lock" field on the "CoreBlockAttributes" block or block attributes @@ -6458,6 +6404,11 @@ type CoreMediaTextAttributes implements BlockWithSupportsAnchor { """ textColor: String + """ + The "useFeaturedImage" field on the "CoreMediaTextAttributes" block or block attributes + """ + useFeaturedImage: Boolean! + """ The "verticalAlignment" field on the "CoreMediaTextAttributes" block or block attributes """ @@ -6563,7 +6514,7 @@ type CoreMoreAttributes { """ The "customText" field on the "CoreMoreAttributes" block or block attributes """ - customText: String + customText: String! """ The "lock" field on the "CoreMoreAttributes" block or block attributes @@ -9517,11 +9468,6 @@ type CoreQuote implements BlockWithSupportsAnchor & EditorBlock & PageEditorBloc """Attributes of the CoreQuote Block Type""" type CoreQuoteAttributes implements BlockWithSupportsAnchor { - """ - The "align" field on the "CoreQuoteAttributes" block or block attributes - """ - align: String - """The anchor field for the block.""" anchor: String @@ -9580,6 +9526,11 @@ type CoreQuoteAttributes implements BlockWithSupportsAnchor { """ style: BlockAttributesObject + """ + The "textAlign" field on the "CoreQuoteAttributes" block or block attributes + """ + textAlign: String + """ The "textColor" field on the "CoreQuoteAttributes" block or block attributes """ @@ -10208,6 +10159,11 @@ type CoreSiteTaglineAttributes { """ gradient: String + """ + The "level" field on the "CoreSiteTaglineAttributes" block or block attributes + """ + level: Float! + """ The "lock" field on the "CoreSiteTaglineAttributes" block or block attributes """ @@ -11568,98 +11524,6 @@ type CreateCommentPayload { success: Boolean } -"""Input for the createGraphqlDocumentGroup mutation.""" -input CreateGraphqlDocumentGroupInput { - """The slug that the graphql_document_group will be an alias of""" - aliasOf: String - - """ - This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """The description of the graphql_document_group object""" - description: String - - """The name of the graphql_document_group object to mutate""" - name: String! - - """ - If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. - """ - slug: String -} - -"""The payload for the createGraphqlDocumentGroup mutation.""" -type CreateGraphqlDocumentGroupPayload { - """ - If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """The created graphql_document_group""" - graphqlDocumentGroup: GraphqlDocumentGroup -} - -"""Input for the createGraphqlDocument mutation.""" -input CreateGraphqlDocumentInput { - """Alias names for saved GraphQL query documents""" - alias: [String!] - - """ - This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """The content of the object""" - content: String - - """ - The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 - """ - date: String - - """Description for the saved GraphQL document""" - description: String - - """Allow, deny or default access grant for specific query""" - grant: String - - """Set connections between the graphqlDocument and graphqlDocumentGroups""" - graphqlDocumentGroups: GraphqlDocumentGraphqlDocumentGroupsInput - - """HTTP Cache-Control max-age directive for a saved GraphQL document""" - maxAgeHeader: Int - - """ - A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. - """ - menuOrder: Int - - """The password used to protect the content of the object""" - password: String - - """The slug of the object""" - slug: String - - """The status of the object""" - status: PostStatusEnum - - """The title of the object""" - title: String -} - -"""The payload for the createGraphqlDocument mutation.""" -type CreateGraphqlDocumentPayload { - """ - If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """The Post object mutation type.""" - graphqlDocument: GraphqlDocument -} - """Input for the createMediaItem mutation.""" input CreateMediaItemInput { """Alternative text to display when mediaItem is not displayed""" @@ -12108,64 +11972,6 @@ type DeleteCommentPayload { deletedId: ID } -"""Input for the deleteGraphqlDocumentGroup mutation.""" -input DeleteGraphqlDocumentGroupInput { - """ - This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """The ID of the graphqlDocumentGroup to delete""" - id: ID! -} - -"""The payload for the deleteGraphqlDocumentGroup mutation.""" -type DeleteGraphqlDocumentGroupPayload { - """ - If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """The ID of the deleted object""" - deletedId: ID - - """The deleted term object""" - graphqlDocumentGroup: GraphqlDocumentGroup -} - -"""Input for the deleteGraphqlDocument mutation.""" -input DeleteGraphqlDocumentInput { - """ - This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """ - Whether the object should be force deleted instead of being moved to the trash - """ - forceDelete: Boolean - - """The ID of the graphqlDocument to delete""" - id: ID! - - """Override the edit lock when another user is editing the post""" - ignoreEditLock: Boolean -} - -"""The payload for the deleteGraphqlDocument mutation.""" -type DeleteGraphqlDocumentPayload { - """ - If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """The ID of the deleted object""" - deletedId: ID - - """The object before it was deleted""" - graphqlDocument: GraphqlDocument -} - """Input for the deleteMediaItem mutation.""" input DeleteMediaItemInput { """ @@ -12504,9 +12310,6 @@ interface EnqueuedScriptConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -12604,9 +12407,6 @@ interface EnqueuedStylesheetConnectionPageInfo implements PageInfo & WPPageInfo """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -12680,20 +12480,59 @@ enum GlobalStylesheetTypesEnum { VARIABLES } -"""The graphqlDocument type""" -type GraphqlDocument implements ContentNode & DatabaseIdentifier & Node & NodeWithContentEditor & NodeWithTemplate & NodeWithTitle & UniformResourceIdentifiable { - """Alias names for saved GraphQL query documents""" - alias: [String!] +"""Content node with hierarchical (parent/child) relationships""" +interface HierarchicalContentNode implements ContentNode & DatabaseIdentifier & HierarchicalNode & Node & UniformResourceIdentifiable { + """ + Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). + """ + ancestors( + """ + 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: HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs + ): HierarchicalContentNodeToContentNodeAncestorsConnection + + """ + Connection between the HierarchicalContentNode type and the ContentNode type + """ + children( + """ + 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: HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs + ): HierarchicalContentNodeToContentNodeChildrenConnection """""" conditionalTags: ConditionalTags @deprecated(reason: "Deprecated in favor of using Next.js pages") - """The content of the post.""" - content( - """Format of the field output""" - format: PostObjectFieldFormatEnum - ): String - """Connection between the ContentNode type and the ContentType type""" contentType: ContentNodeToContentTypeConnectionEdge @@ -12709,9 +12548,6 @@ type GraphqlDocument implements ContentNode & DatabaseIdentifier & Node & NodeWi """The publishing date set in GMT.""" dateGmt: String - """Description for the saved GraphQL document""" - description: String - """The desired slug of the post""" desiredSlug: String @@ -12763,45 +12599,12 @@ type GraphqlDocument implements ContentNode & DatabaseIdentifier & Node & NodeWi last: Int ): ContentNodeToEnqueuedStylesheetConnection - """Allow, deny or default access grant for specific query""" - grant: String - - """ - Connection between the GraphqlDocument type and the graphqlDocumentGroup type - """ - graphqlDocumentGroups( - """ - 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: GraphqlDocumentToGraphqlDocumentGroupConnectionWhereArgs - ): GraphqlDocumentToGraphqlDocumentGroupConnection - - """The id field matches the WP_Post->ID field.""" - graphqlDocumentId: Int! @deprecated(reason: "Deprecated in favor of the databaseId field") - """ The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. """ guid: String - """Whether the graphql_document object is password protected.""" - hasPassword: Boolean - - """The globally unique identifier of the graphql_document object.""" + """The globally unique ID for the object""" id: ID! """Whether the node is a Comment""" @@ -12831,9 +12634,6 @@ type GraphqlDocument implements ContentNode & DatabaseIdentifier & Node & NodeWi """The permalink of the post""" link: String - """HTTP Cache-Control max-age directive for a saved GraphQL document""" - maxAgeHeader: Int - """ The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. """ @@ -12844,13 +12644,14 @@ type GraphqlDocument implements ContentNode & DatabaseIdentifier & Node & NodeWi """ modifiedGmt: String - """The password for the graphql_document object.""" - password: String + """The parent of the node. The parent object can be of various types""" + parent: HierarchicalContentNodeToParentContentNodeConnectionEdge - """ - Connection between the GraphqlDocument type and the graphqlDocument type - """ - preview: GraphqlDocumentToPreviewConnectionEdge @deprecated(reason: "The "GraphqlDocument" Type is not publicly queryable and does not support previews. This field will be removed in the future.") + """Database id of the parent node""" + parentDatabaseId: Int + + """The globally unique identifier of the parent node.""" + parentId: ID """The database id of the preview node""" previewRevisionDatabaseId: Int @@ -12858,9 +12659,6 @@ type GraphqlDocument implements ContentNode & DatabaseIdentifier & Node & NodeWi """Whether the object is a node in the preview state""" previewRevisionId: ID - """The Yoast SEO data of the ContentNode""" - seo: PostTypeSEO - """ 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. """ @@ -12869,73 +12667,45 @@ type GraphqlDocument implements ContentNode & DatabaseIdentifier & Node & NodeWi """The current status of the object""" status: String - """The template assigned to the node""" + """The template assigned to a node of content""" template: ContentTemplate """""" templates: [String] - """Connection between the GraphqlDocument type and the TermNode type""" - terms( - """ - 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: GraphqlDocumentToTermNodeConnectionWhereArgs - ): GraphqlDocumentToTermNodeConnection - - """ - The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. - """ - title( - """Format of the field output""" - format: PostObjectFieldFormatEnum - ): String - """The unique resource identifier path""" uri: String } -"""Connection to graphqlDocument Nodes""" -interface GraphqlDocumentConnection implements Connection { +""" +Connection between the HierarchicalContentNode type and the ContentNode type +""" +type HierarchicalContentNodeToContentNodeAncestorsConnection implements Connection & ContentNodeConnection { """ - A list of edges (relational context) between RootQuery and connected graphqlDocument Nodes + Edges for the HierarchicalContentNodeToContentNodeAncestorsConnection connection """ - edges: [GraphqlDocumentConnectionEdge!]! + edges: [HierarchicalContentNodeToContentNodeAncestorsConnectionEdge!]! - """A list of connected graphqlDocument Nodes""" - nodes: [GraphqlDocument!]! + """The nodes of the connection, without the edges""" + nodes: [ContentNode!]! """Information about pagination in a connection.""" - pageInfo: GraphqlDocumentConnectionPageInfo! + pageInfo: HierarchicalContentNodeToContentNodeAncestorsConnectionPageInfo! } -"""Edge between a Node and a connected graphqlDocument""" -interface GraphqlDocumentConnectionEdge implements Edge { - """ - Opaque reference to the nodes position in the connection. Value can be used with pagination args. - """ +"""An edge in a connection""" +type HierarchicalContentNodeToContentNodeAncestorsConnectionEdge implements ContentNodeConnectionEdge & Edge { + """A cursor for use in pagination""" cursor: String - """The connected graphqlDocument Node""" - node: GraphqlDocument! + """The item at the end of the edge""" + node: ContentNode! } -"""Page Info on the connected GraphqlDocumentConnectionEdge""" -interface GraphqlDocumentConnectionPageInfo implements PageInfo & WPPageInfo { +""" +Page Info on the "HierarchicalContentNodeToContentNodeAncestorsConnection" +""" +type HierarchicalContentNodeToContentNodeAncestorsConnectionPageInfo implements ContentNodeConnectionPageInfo & PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -12945,77 +12715,210 @@ interface GraphqlDocumentConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -"""Set relationships between the graphqlDocument to graphqlDocumentGroups""" -input GraphqlDocumentGraphqlDocumentGroupsInput { +""" +Arguments for filtering the HierarchicalContentNodeToContentNodeAncestorsConnection connection +""" +input HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs { + """The Types of content to filter""" + contentTypes: [ContentTypeEnum] + + """Filter the connection based on dates""" + dateQuery: DateQueryInput + """ - If true, this will append the graphqlDocumentGroup to existing related graphqlDocumentGroups. If false, this will replace existing relationships. Default true. + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords """ - append: Boolean + hasPassword: Boolean - """The input list of items to set.""" - nodes: [GraphqlDocumentGraphqlDocumentGroupsNodeInput] + """Specific database ID of the object""" + id: Int + + """Array of IDs for the objects to retrieve""" + in: [ID] + + """Get objects with a specific mimeType property""" + mimeType: MimeTypeEnum + + """Slug / post_name of the object""" + name: String + + """Specify objects to retrieve. Use slugs""" + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """What parameter to use to order the objects by.""" + orderby: [PostObjectsConnectionOrderbyInput] + + """Use ID to return only children. Use 0 to return only top-level items""" + parent: ID + + """Specify objects whose parent is in an array""" + parentIn: [ID] + + """Specify posts whose parent is not in an array""" + parentNotIn: [ID] + + """Show posts with a specific password.""" + password: String + + """Show Posts based on a keyword search""" + search: String + + """Retrieve posts where post status is in an array.""" + stati: [PostStatusEnum] + + """Show posts with a specific status.""" + status: PostStatusEnum + + """Title of the object""" + title: String } """ -List of graphqlDocumentGroups to connect the graphqlDocument to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. +Connection between the HierarchicalContentNode type and the ContentNode type """ -input GraphqlDocumentGraphqlDocumentGroupsNodeInput { +type HierarchicalContentNodeToContentNodeChildrenConnection implements Connection & ContentNodeConnection { """ - The description of the graphqlDocumentGroup. This field is used to set a description of the graphqlDocumentGroup if a new one is created during the mutation. + Edges for the HierarchicalContentNodeToContentNodeChildrenConnection connection """ - description: String + edges: [HierarchicalContentNodeToContentNodeChildrenConnectionEdge!]! - """ - The ID of the graphqlDocumentGroup. If present, this will be used to connect to the graphqlDocument. If no existing graphqlDocumentGroup exists with this ID, no connection will be made. - """ - id: ID + """The nodes of the connection, without the edges""" + nodes: [ContentNode!]! + + """Information about pagination in a connection.""" + pageInfo: HierarchicalContentNodeToContentNodeChildrenConnectionPageInfo! +} + +"""An edge in a connection""" +type HierarchicalContentNodeToContentNodeChildrenConnectionEdge implements ContentNodeConnectionEdge & Edge { + """A cursor for use in pagination""" + cursor: String + + """The item at the end of the edge""" + node: ContentNode! +} + +""" +Page Info on the "HierarchicalContentNodeToContentNodeChildrenConnection" +""" +type HierarchicalContentNodeToContentNodeChildrenConnectionPageInfo 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 +} + +""" +Arguments for filtering the HierarchicalContentNodeToContentNodeChildrenConnection connection +""" +input HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs { + """The Types of content to filter""" + contentTypes: [ContentTypeEnum] + + """Filter the connection based on dates""" + dateQuery: DateQueryInput """ - The name of the graphqlDocumentGroup. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords """ + hasPassword: Boolean + + """Specific database ID of the object""" + id: Int + + """Array of IDs for the objects to retrieve""" + in: [ID] + + """Get objects with a specific mimeType property""" + mimeType: MimeTypeEnum + + """Slug / post_name of the object""" name: String + """Specify objects to retrieve. Use slugs""" + nameIn: [String] + """ - The slug of the graphqlDocumentGroup. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored """ - slug: String -} + notIn: [ID] -"""The graphqlDocumentGroup type""" -type GraphqlDocumentGroup implements DatabaseIdentifier & Node & TermNode & UniformResourceIdentifiable { - """""" - conditionalTags: ConditionalTags @deprecated(reason: "Deprecated in favor of using Next.js pages") + """What parameter to use to order the objects by.""" + orderby: [PostObjectsConnectionOrderbyInput] + + """Use ID to return only children. Use 0 to return only top-level items""" + parent: ID + + """Specify objects whose parent is in an array""" + parentIn: [ID] + + """Specify posts whose parent is not in an array""" + parentNotIn: [ID] + + """Show posts with a specific password.""" + password: String + + """Show Posts based on a keyword search""" + search: String + """Retrieve posts where post status is in an array.""" + stati: [PostStatusEnum] + + """Show posts with a specific status.""" + status: PostStatusEnum + + """Title of the object""" + title: String +} + +""" +Connection between the HierarchicalContentNode type and the ContentNode type +""" +type HierarchicalContentNodeToParentContentNodeConnectionEdge implements ContentNodeConnectionEdge & Edge & OneToOneConnection { """ - Connection between the GraphqlDocumentGroup type and the ContentNode type + Opaque reference to the nodes position in the connection. Value can be used with pagination args. """ - contentNodes( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String + cursor: String - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """The node of the connection, without the edges""" + node: ContentNode! +} - """The number of items to return after the referenced "after" cursor""" - first: Int +"""Node with hierarchical (parent/child) relationships""" +interface HierarchicalNode implements DatabaseIdentifier & Node { + """The unique identifier stored in the database""" + databaseId: Int! - """The number of items to return before the referenced "before" cursor""" - last: Int + """The globally unique ID for the object""" + id: ID! - """Arguments for filtering the connection""" - where: GraphqlDocumentGroupToContentNodeConnectionWhereArgs - ): GraphqlDocumentGroupToContentNodeConnection + """Database id of the parent node""" + parentDatabaseId: Int + + """The globally unique identifier of the parent node.""" + parentId: ID +} + +"""Term node with hierarchical (parent/child) relationships""" +interface HierarchicalTermNode implements DatabaseIdentifier & HierarchicalNode & Node & TermNode & UniformResourceIdentifiable { + """""" + conditionalTags: ConditionalTags @deprecated(reason: "Deprecated in favor of using Next.js pages") """The number of objects connected to the object""" count: Int @@ -13064,38 +12967,11 @@ type GraphqlDocumentGroup implements DatabaseIdentifier & Node & TermNode & Unif last: Int ): TermNodeToEnqueuedStylesheetConnection - """The id field matches the WP_Post->ID field.""" - graphqlDocumentGroupId: Int @deprecated(reason: "Deprecated in favor of databaseId") + """The globally unique ID for the object""" + id: ID! - """ - Connection between the GraphqlDocumentGroup type and the graphqlDocument type - """ - graphqlDocuments( - """ - 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: GraphqlDocumentGroupToGraphqlDocumentConnectionWhereArgs - ): GraphqlDocumentGroupToGraphqlDocumentConnection - - """The globally unique ID for the object""" - id: ID! - - """Whether the node is a Comment""" - isComment: Boolean! + """Whether the node is a Comment""" + isComment: Boolean! """Whether the node is a Content Node""" isContentNode: Boolean! @@ -13118,15 +12994,15 @@ type GraphqlDocumentGroup implements DatabaseIdentifier & Node & TermNode & Unif """The human friendly name of the object.""" name: String - """The Yoast SEO data of the Groups taxonomy.""" - seo: TaxonomySEO + """Database id of the parent node""" + parentDatabaseId: Int + + """The globally unique identifier of the parent node.""" + parentId: ID """An alphanumeric identifier for the object unique to its type.""" slug: String - """Connection between the GraphqlDocumentGroup type and the Taxonomy type""" - taxonomy: GraphqlDocumentGroupToTaxonomyConnectionEdge - """The name of the taxonomy that the object is associated with""" taxonomyName: String @@ -13143,338 +13019,363 @@ type GraphqlDocumentGroup implements DatabaseIdentifier & Node & TermNode & Unif uri: String } -"""Connection to graphqlDocumentGroup Nodes""" -interface GraphqlDocumentGroupConnection implements Connection { - """ - A list of edges (relational context) between RootQuery and connected graphqlDocumentGroup Nodes - """ - edges: [GraphqlDocumentGroupConnectionEdge!]! - - """A list of connected graphqlDocumentGroup Nodes""" - nodes: [GraphqlDocumentGroup!]! - - """Information about pagination in a connection.""" - pageInfo: GraphqlDocumentGroupConnectionPageInfo! -} - -"""Edge between a Node and a connected graphqlDocumentGroup""" -interface GraphqlDocumentGroupConnectionEdge implements Edge { - """ - Opaque reference to the nodes position in the connection. Value can be used with pagination args. - """ - cursor: String - - """The connected graphqlDocumentGroup Node""" - node: GraphqlDocumentGroup! -} +"""File details for a Media Item""" +type MediaDetails { + """The filename of the mediaItem""" + file: String -"""Page Info on the connected GraphqlDocumentGroupConnectionEdge""" -interface GraphqlDocumentGroupConnectionPageInfo implements PageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String + """The height of the mediaItem""" + height: Int - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! + """Meta information associated with the mediaItem""" + meta: MediaItemMeta - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """The available sizes of the mediaItem""" + sizes( + """The sizes to exclude. Will take precedence over `include`.""" + exclude: [MediaItemSizeEnum] - """Raw schema for page""" - seo: SEOPostTypePageInfo + """The sizes to include. Can be overridden by `exclude`.""" + include: [MediaItemSizeEnum] + ): [MediaSize] - """When paginating backwards, the cursor to continue.""" - startCursor: String + """The width of the mediaItem""" + width: Int } -"""The Type of Identifier used to fetch a single resource. Default is ID.""" -enum GraphqlDocumentGroupIdType { - """The Database ID for the node""" - DATABASE_ID - - """The hashed Global ID""" - ID - - """The name of the node""" - NAME +"""The mediaItem type""" +type MediaItem implements ContentNode & DatabaseIdentifier & HierarchicalContentNode & HierarchicalNode & Node & NodeWithAuthor & NodeWithComments & NodeWithTemplate & NodeWithTitle & UniformResourceIdentifiable { + """Alternative text to display when resource is not displayed""" + altText: String - """Url friendly name of the node""" - SLUG + """ + Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). + """ + ancestors( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """The URI for the node""" - URI -} + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String -""" -Connection between the GraphqlDocumentGroup type and the ContentNode type -""" -type GraphqlDocumentGroupToContentNodeConnection implements Connection & ContentNodeConnection { - """Edges for the GraphqlDocumentGroupToContentNodeConnection connection""" - edges: [GraphqlDocumentGroupToContentNodeConnectionEdge!]! + """The number of items to return after the referenced "after" cursor""" + first: Int - """The nodes of the connection, without the edges""" - nodes: [ContentNode!]! + """The number of items to return before the referenced "before" cursor""" + last: Int - """Information about pagination in a connection.""" - pageInfo: GraphqlDocumentGroupToContentNodeConnectionPageInfo! -} + """Arguments for filtering the connection""" + where: HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs + ): HierarchicalContentNodeToContentNodeAncestorsConnection -"""An edge in a connection""" -type GraphqlDocumentGroupToContentNodeConnectionEdge implements ContentNodeConnectionEdge & Edge { - """A cursor for use in pagination""" - cursor: String + """Connection between the NodeWithAuthor type and the User type""" + author: NodeWithAuthorToUserConnectionEdge - """The item at the end of the edge""" - node: ContentNode! -} + """The database identifier of the author of the node""" + authorDatabaseId: Int -""" -Page Info on the "GraphqlDocumentGroupToContentNodeConnection" -""" -type GraphqlDocumentGroupToContentNodeConnectionPageInfo implements ContentNodeConnectionPageInfo & PageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String + """The globally unique identifier of the author of the node""" + authorId: ID - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! + """The caption for the resource""" + caption( + """Format of the field output""" + format: PostObjectFieldFormatEnum + ): String - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """ + Connection between the HierarchicalContentNode type and the ContentNode type + """ + children( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """Raw schema for page""" - seo: SEOPostTypePageInfo + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """When paginating backwards, the cursor to continue.""" - startCursor: String -} + """The number of items to return after the referenced "after" cursor""" + first: Int -""" -Arguments for filtering the GraphqlDocumentGroupToContentNodeConnection connection -""" -input GraphqlDocumentGroupToContentNodeConnectionWhereArgs { - """The Types of content to filter""" - contentTypes: [ContentTypesOfGraphqlDocumentGroupEnum] + """The number of items to return before the referenced "before" cursor""" + last: Int - """Filter the connection based on dates""" - dateQuery: DateQueryInput + """Arguments for filtering the connection""" + where: HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs + ): HierarchicalContentNodeToContentNodeChildrenConnection """ - True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. """ - hasPassword: Boolean - - """Specific database ID of the object""" - id: Int + commentCount: Int - """Array of IDs for the objects to retrieve""" - in: [ID] + """Whether the comments are open or closed for this particular post.""" + commentStatus: String - """Get objects with a specific mimeType property""" - mimeType: MimeTypeEnum + """Connection between the MediaItem type and the Comment type""" + comments( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """Slug / post_name of the object""" - name: String + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """Specify objects to retrieve. Use slugs""" - nameIn: [String] + """The number of items to return after the referenced "after" cursor""" + first: Int - """ - Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored - """ - notIn: [ID] + """The number of items to return before the referenced "before" cursor""" + last: Int - """What parameter to use to order the objects by.""" - orderby: [PostObjectsConnectionOrderbyInput] + """Arguments for filtering the connection""" + where: MediaItemToCommentConnectionWhereArgs + ): MediaItemToCommentConnection - """Use ID to return only children. Use 0 to return only top-level items""" - parent: ID + """""" + conditionalTags: ConditionalTags @deprecated(reason: "Deprecated in favor of using Next.js pages") - """Specify objects whose parent is in an array""" - parentIn: [ID] + """Connection between the ContentNode type and the ContentType type""" + contentType: ContentNodeToContentTypeConnectionEdge - """Specify posts whose parent is not in an array""" - parentNotIn: [ID] + """The name of the Content Type the node belongs to""" + contentTypeName: String! - """Show posts with a specific password.""" - password: String + """The unique identifier stored in the database""" + databaseId: Int! - """Show Posts based on a keyword search""" - search: String + """Post publishing date.""" + date: String - """Retrieve posts where post status is in an array.""" - stati: [PostStatusEnum] + """The publishing date set in GMT.""" + dateGmt: String - """Show posts with a specific status.""" - status: PostStatusEnum + """Description of the image (stored as post_content)""" + description( + """Format of the field output""" + format: PostObjectFieldFormatEnum + ): String - """Title of the object""" - title: String -} + """The desired slug of the post""" + desiredSlug: String -""" -Connection between the GraphqlDocumentGroup type and the graphqlDocument type -""" -type GraphqlDocumentGroupToGraphqlDocumentConnection implements Connection & GraphqlDocumentConnection { """ - Edges for the GraphqlDocumentGroupToGraphqlDocumentConnection connection + If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds """ - edges: [GraphqlDocumentGroupToGraphqlDocumentConnectionEdge!]! - - """The nodes of the connection, without the edges""" - nodes: [GraphqlDocument!]! + editingLockedBy: ContentNodeToEditLockConnectionEdge - """Information about pagination in a connection.""" - pageInfo: GraphqlDocumentGroupToGraphqlDocumentConnectionPageInfo! -} + """The RSS enclosure for the object""" + enclosure: String -"""An edge in a connection""" -type GraphqlDocumentGroupToGraphqlDocumentConnectionEdge implements Edge & GraphqlDocumentConnectionEdge { - """A cursor for use in pagination""" - cursor: String + """Connection between the ContentNode type and the EnqueuedScript type""" + enqueuedScripts( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """The item at the end of the edge""" - node: GraphqlDocument! -} + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String -""" -Page Info on the "GraphqlDocumentGroupToGraphqlDocumentConnection" -""" -type GraphqlDocumentGroupToGraphqlDocumentConnectionPageInfo implements GraphqlDocumentConnectionPageInfo & PageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String + """The number of items to return after the referenced "after" cursor""" + first: Int - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! + """The number of items to return before the referenced "before" cursor""" + last: Int + ): ContentNodeToEnqueuedScriptConnection - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """ + Connection between the ContentNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """Raw schema for page""" - seo: SEOPostTypePageInfo + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """When paginating backwards, the cursor to continue.""" - startCursor: String -} + """The number of items to return after the referenced "after" cursor""" + first: Int -""" -Arguments for filtering the GraphqlDocumentGroupToGraphqlDocumentConnection connection -""" -input GraphqlDocumentGroupToGraphqlDocumentConnectionWhereArgs { - """Filter the connection based on dates""" - dateQuery: DateQueryInput + """The number of items to return before the referenced "before" cursor""" + last: Int + ): ContentNodeToEnqueuedStylesheetConnection + + """The filesize in bytes of the resource""" + fileSize( + """Size of the MediaItem to return""" + size: MediaItemSizeEnum + ): Int """ - True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. """ + guid: String + + """Whether the attachment object is password protected.""" hasPassword: Boolean - """Specific database ID of the object""" - id: Int + """The globally unique identifier of the attachment object.""" + id: ID! - """Array of IDs for the objects to retrieve""" - in: [ID] + """Whether the node is a Comment""" + isComment: Boolean! - """Get objects with a specific mimeType property""" - mimeType: MimeTypeEnum + """Whether the node is a Content Node""" + isContentNode: Boolean! - """Slug / post_name of the object""" - name: String + """Whether the node represents the front page.""" + isFrontPage: Boolean! - """Specify objects to retrieve. Use slugs""" - nameIn: [String] + """Whether the node represents the blog page.""" + isPostsPage: Boolean! + + """Whether the object is a node in the preview state""" + isPreview: Boolean + + """Whether the object is restricted from the current viewer""" + isRestricted: Boolean + + """Whether the node is a Term""" + isTermNode: Boolean! + + """The user that most recently edited the node""" + lastEditedBy: ContentNodeToEditLastConnectionEdge + + """The permalink of the post""" + link: String + + """Details about the mediaItem""" + mediaDetails: MediaDetails + + """The id field matches the WP_Post->ID field.""" + mediaItemId: Int! @deprecated(reason: "Deprecated in favor of the databaseId field") + + """Url of the mediaItem""" + mediaItemUrl: String + + """Type of resource""" + mediaType: String + + """The mime type of the mediaItem""" + mimeType: String """ - Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. """ - notIn: [ID] + modified: String - """What parameter to use to order the objects by.""" - orderby: [PostObjectsConnectionOrderbyInput] + """ + The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. + """ + modifiedGmt: String - """Use ID to return only children. Use 0 to return only top-level items""" - parent: ID + """The parent of the node. The parent object can be of various types""" + parent: HierarchicalContentNodeToParentContentNodeConnectionEdge - """Specify objects whose parent is in an array""" - parentIn: [ID] + """Database id of the parent node""" + parentDatabaseId: Int - """Specify posts whose parent is not in an array""" - parentNotIn: [ID] + """The globally unique identifier of the parent node.""" + parentId: ID - """Show posts with a specific password.""" + """The password for the attachment object.""" password: String - """Show Posts based on a keyword search""" - search: String + """The database id of the preview node""" + previewRevisionDatabaseId: Int - """Retrieve posts where post status is in an array.""" - stati: [PostStatusEnum] + """Whether the object is a node in the preview state""" + previewRevisionId: ID - """Show posts with a specific status.""" - status: PostStatusEnum + """The sizes attribute value for an image.""" + sizes( + """Size of the MediaItem to calculate sizes with""" + size: MediaItemSizeEnum + ): String - """Title of the object""" - title: String -} + """ + 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. + """ + slug: String + + """Url of the mediaItem""" + sourceUrl( + """Size of the MediaItem to return""" + size: MediaItemSizeEnum + ): String -"""Connection between the GraphqlDocumentGroup type and the Taxonomy type""" -type GraphqlDocumentGroupToTaxonomyConnectionEdge implements Edge & OneToOneConnection & TaxonomyConnectionEdge { """ - Opaque reference to the nodes position in the connection. Value can be used with pagination args. + The srcset attribute specifies the URL of the image to use in different situations. It is a comma separated string of urls and their widths. """ - cursor: String + srcSet( + """Size of the MediaItem to calculate srcSet with""" + size: MediaItemSizeEnum + ): String - """The node of the connection, without the edges""" - node: Taxonomy! -} + """The current status of the object""" + status: String -"""The Type of Identifier used to fetch a single resource. Default is ID.""" -enum GraphqlDocumentIdType { - """Identify a resource by the Database ID.""" - DATABASE_ID + """The template assigned to a node of content""" + template: ContentTemplate - """Identify a resource by the (hashed) Global ID.""" - ID + """""" + templates: [String] """ - Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. + The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. """ - SLUG + title( + """Format of the field output""" + format: PostObjectFieldFormatEnum + ): String - """Identify a resource by the URI.""" - URI + """The unique resource identifier path""" + uri: String } -""" -Connection between the GraphqlDocument type and the graphqlDocumentGroup type -""" -type GraphqlDocumentToGraphqlDocumentGroupConnection implements Connection & GraphqlDocumentGroupConnection { +"""Connection to mediaItem Nodes""" +interface MediaItemConnection implements Connection { """ - Edges for the GraphqlDocumentToGraphqlDocumentGroupConnection connection + A list of edges (relational context) between RootQuery and connected mediaItem Nodes """ - edges: [GraphqlDocumentToGraphqlDocumentGroupConnectionEdge!]! + edges: [MediaItemConnectionEdge!]! - """The nodes of the connection, without the edges""" - nodes: [GraphqlDocumentGroup!]! + """A list of connected mediaItem Nodes""" + nodes: [MediaItem!]! """Information about pagination in a connection.""" - pageInfo: GraphqlDocumentToGraphqlDocumentGroupConnectionPageInfo! + pageInfo: MediaItemConnectionPageInfo! } -"""An edge in a connection""" -type GraphqlDocumentToGraphqlDocumentGroupConnectionEdge implements Edge & GraphqlDocumentGroupConnectionEdge { - """A cursor for use in pagination""" +"""Edge between a Node and a connected mediaItem""" +interface MediaItemConnectionEdge implements Edge { + """ + Opaque reference to the nodes position in the connection. Value can be used with pagination args. + """ cursor: String - """The Yoast SEO Primary graphql_document_group""" - isPrimary: Boolean - - """The item at the end of the edge""" - node: GraphqlDocumentGroup! + """The connected mediaItem Node""" + node: MediaItem! } -""" -Page Info on the "GraphqlDocumentToGraphqlDocumentGroupConnection" -""" -type GraphqlDocumentToGraphqlDocumentGroupConnectionPageInfo implements GraphqlDocumentGroupConnectionPageInfo & PageInfo & WPPageInfo { +"""Page Info on the connected MediaItemConnectionEdge""" +interface MediaItemConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -13484,139 +13385,130 @@ type GraphqlDocumentToGraphqlDocumentGroupConnectionPageInfo implements GraphqlD """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -""" -Arguments for filtering the GraphqlDocumentToGraphqlDocumentGroupConnection connection -""" -input GraphqlDocumentToGraphqlDocumentGroupConnectionWhereArgs { - """ - Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. - """ - cacheDomain: String +"""The Type of Identifier used to fetch a single resource. Default is ID.""" +enum MediaItemIdType { + """Identify a resource by the Database ID.""" + DATABASE_ID - """ - Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. - """ - childOf: Int + """Identify a resource by the (hashed) Global ID.""" + ID """ - True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. """ - childless: Boolean + SLUG - """ - Retrieve terms where the description is LIKE the input value. Default empty. - """ - descriptionLike: String + """Identify a media item by its source url""" + SOURCE_URL - """ - Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. - """ - exclude: [ID] + """Identify a resource by the URI.""" + URI +} - """ - Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. - """ - excludeTree: [ID] +"""Meta connected to a MediaItem""" +type MediaItemMeta { + """Aperture measurement of the media item.""" + aperture: Float - """ - Whether to hide terms not assigned to any posts. Accepts true or false. Default false - """ - hideEmpty: Boolean + """Information about the camera used to create the media item.""" + camera: String - """ - Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. - """ - hierarchical: Boolean + """The text string description associated with the media item.""" + caption: String - """Array of term ids to include. Default empty array.""" - include: [ID] + """Copyright information associated with the media item.""" + copyright: String - """Array of names to return term(s) for. Default empty.""" - name: [String] + """The date/time when the media was created.""" + createdTimestamp: Int - """Retrieve terms where the name is LIKE the input value. Default empty.""" - nameLike: String + """The original creator of the media item.""" + credit: String + + """The focal length value of the media item.""" + focalLength: Float """ - Array of object IDs. Results will be limited to terms associated with these objects. + The ISO (International Organization for Standardization) value of the media item. """ - objectIds: [ID] + iso: Int - """Direction the connection should be ordered in""" - order: OrderEnum + """List of keywords used to describe or identfy the media item.""" + keywords: [String] - """Field(s) to order terms by. Defaults to 'name'.""" - orderby: TermObjectsConnectionOrderbyEnum + """The vertical or horizontal aspect of the media item.""" + orientation: String - """ - Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. - """ - padCounts: Boolean + """The shutter speed information of the media item.""" + shutterSpeed: Float - """Parent term ID to retrieve direct-child terms of. Default empty.""" - parent: Int + """A useful title for the media item.""" + title: String +} - """ - Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. - """ - search: String +"""The size of the media item object.""" +enum MediaItemSizeEnum { + """MediaItem with the large size""" + LARGE - """Array of slugs to return term(s) for. Default empty.""" - slug: [String] + """MediaItem with the medium size""" + MEDIUM - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomId: [ID] + """MediaItem with the medium_large size""" + MEDIUM_LARGE - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomyId: [ID] + """MediaItem with the thumbnail size""" + THUMBNAIL - """Whether to prime meta caches for matched terms. Default true.""" - updateTermMetaCache: Boolean + """MediaItem with the 1536x1536 size""" + _1536X1536 + + """MediaItem with the 2048x2048 size""" + _2048X2048 } -""" -Connection between the GraphqlDocument type and the graphqlDocument type -""" -type GraphqlDocumentToPreviewConnectionEdge implements Edge & GraphqlDocumentConnectionEdge & OneToOneConnection { - """ - Opaque reference to the nodes position in the connection. Value can be used with pagination args. - """ - cursor: String +"""The status of the media item object.""" +enum MediaItemStatusEnum { + """Objects with the auto-draft status""" + AUTO_DRAFT - """The node of the connection, without the edges""" - node: GraphqlDocument! @deprecated(reason: "The "GraphqlDocument" Type is not publicly queryable and does not support previews. This field will be removed in the future.") + """Objects with the inherit status""" + INHERIT + + """Objects with the private status""" + PRIVATE + + """Objects with the trash status""" + TRASH } -"""Connection between the GraphqlDocument type and the TermNode type""" -type GraphqlDocumentToTermNodeConnection implements Connection & TermNodeConnection { - """Edges for the GraphqlDocumentToTermNodeConnection connection""" - edges: [GraphqlDocumentToTermNodeConnectionEdge!]! +"""Connection between the MediaItem type and the Comment type""" +type MediaItemToCommentConnection implements CommentConnection & Connection { + """Edges for the MediaItemToCommentConnection connection""" + edges: [MediaItemToCommentConnectionEdge!]! """The nodes of the connection, without the edges""" - nodes: [TermNode!]! + nodes: [Comment!]! """Information about pagination in a connection.""" - pageInfo: GraphqlDocumentToTermNodeConnectionPageInfo! + pageInfo: MediaItemToCommentConnectionPageInfo! } """An edge in a connection""" -type GraphqlDocumentToTermNodeConnectionEdge implements Edge & TermNodeConnectionEdge { +type MediaItemToCommentConnectionEdge implements CommentConnectionEdge & Edge { """A cursor for use in pagination""" cursor: String """The item at the end of the edge""" - node: TermNode! + node: Comment! } -"""Page Info on the "GraphqlDocumentToTermNodeConnection"""" -type GraphqlDocumentToTermNodeConnectionPageInfo implements PageInfo & TermNodeConnectionPageInfo & WPPageInfo { +"""Page Info on the "MediaItemToCommentConnection"""" +type MediaItemToCommentConnectionPageInfo implements CommentConnectionPageInfo & PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -13626,187 +13518,156 @@ type GraphqlDocumentToTermNodeConnectionPageInfo implements PageInfo & TermNodeC """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -""" -Arguments for filtering the GraphqlDocumentToTermNodeConnection connection -""" -input GraphqlDocumentToTermNodeConnectionWhereArgs { - """ - Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. - """ - cacheDomain: String +"""Arguments for filtering the MediaItemToCommentConnection connection""" +input MediaItemToCommentConnectionWhereArgs { + """Comment author email address.""" + authorEmail: String - """ - Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. - """ - childOf: Int + """Array of author IDs to include comments for.""" + authorIn: [ID] - """ - True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. - """ - childless: Boolean + """Array of author IDs to exclude comments for.""" + authorNotIn: [ID] - """ - Retrieve terms where the description is LIKE the input value. Default empty. - """ - descriptionLike: String + """Comment author URL.""" + authorUrl: String - """ - Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. - """ - exclude: [ID] + """Array of comment IDs to include.""" + commentIn: [ID] """ - Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + Array of IDs of users whose unapproved comments will be returned by the query regardless of status. """ - excludeTree: [ID] + commentNotIn: [ID] - """ - Whether to hide terms not assigned to any posts. Accepts true or false. Default false - """ - hideEmpty: Boolean + """Include comments of a given type.""" + commentType: String - """ - Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. - """ - hierarchical: Boolean + """Include comments from a given array of comment types.""" + commentTypeIn: [String] - """Array of term ids to include. Default empty array.""" - include: [ID] + """Exclude comments from a given array of comment types.""" + commentTypeNotIn: String - """Array of names to return term(s) for. Default empty.""" - name: [String] + """Content object author ID to limit results by.""" + contentAuthor: [ID] - """Retrieve terms where the name is LIKE the input value. Default empty.""" - nameLike: String + """Array of author IDs to retrieve comments for.""" + contentAuthorIn: [ID] - """ - Array of object IDs. Results will be limited to terms associated with these objects. - """ - objectIds: [ID] + """Array of author IDs *not* to retrieve comments for.""" + contentAuthorNotIn: [ID] - """Direction the connection should be ordered in""" - order: OrderEnum + """Limit results to those affiliated with a given content object ID.""" + contentId: ID - """Field(s) to order terms by. Defaults to 'name'.""" - orderby: TermObjectsConnectionOrderbyEnum + """Array of content object IDs to include affiliated comments for.""" + contentIdIn: [ID] + + """Array of content object IDs to exclude affiliated comments for.""" + contentIdNotIn: [ID] + + """Content object name (i.e. slug ) to retrieve affiliated comments for.""" + contentName: String + + """Content Object parent ID to retrieve affiliated comments for.""" + contentParent: Int """ - Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. """ - padCounts: Boolean + contentStatus: [PostStatusEnum] - """Parent term ID to retrieve direct-child terms of. Default empty.""" - parent: Int + """ + Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentType: [ContentTypeEnum] """ - Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty """ - search: String + includeUnapproved: [ID] - """Array of slugs to return term(s) for. Default empty.""" - slug: [String] + """Karma score to retrieve matching comments for.""" + karma: Int - """The Taxonomy to filter terms by""" - taxonomies: [TaxonomyEnum] + """The cardinality of the order of the connection""" + order: OrderEnum - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomId: [ID] + """Field to order the comments by.""" + orderby: CommentsConnectionOrderbyEnum - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomyId: [ID] + """Parent ID of comment to retrieve children of.""" + parent: Int - """Whether to prime meta caches for matched terms. Default true.""" - updateTermMetaCache: Boolean -} + """Array of parent IDs of comments to retrieve children for.""" + parentIn: [ID] -"""Content node with hierarchical (parent/child) relationships""" -interface HierarchicalContentNode implements ContentNode & DatabaseIdentifier & HierarchicalNode & Node & UniformResourceIdentifiable { - """ - Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). - """ - ancestors( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String + """Array of parent IDs of comments *not* to retrieve children for.""" + parentNotIn: [ID] - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """Search term(s) to retrieve matching comments for.""" + search: String - """The number of items to return after the referenced "after" cursor""" - first: Int + """Comment status to limit results by.""" + status: String - """The number of items to return before the referenced "before" cursor""" - last: Int + """Include comments for a specific user ID.""" + userId: ID +} - """Arguments for filtering the connection""" - where: HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs - ): HierarchicalContentNodeToContentNodeAncestorsConnection +"""Details of an available size for a media item""" +type MediaSize { + """The filename of the referenced size""" + file: String - """ - Connection between the HierarchicalContentNode type and the ContentNode type - """ - children( - """ - 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 filesize of the resource""" + fileSize: Int - """The number of items to return after the referenced "after" cursor""" - first: Int + """The height of the referenced size""" + height: String - """The number of items to return before the referenced "before" cursor""" - last: Int + """The mime type of the referenced size""" + mimeType: String - """Arguments for filtering the connection""" - where: HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs - ): HierarchicalContentNodeToContentNodeChildrenConnection + """The referenced size name""" + name: String - """""" - conditionalTags: ConditionalTags @deprecated(reason: "Deprecated in favor of using Next.js pages") + """The url of the referenced size""" + sourceUrl: String - """Connection between the ContentNode type and the ContentType type""" - contentType: ContentNodeToContentTypeConnectionEdge + """The width of the referenced size""" + width: String +} - """The name of the Content Type the node belongs to""" - contentTypeName: String! +""" +Menus are the containers for navigation items. Menus can be assigned to menu locations, which are typically registered by the active theme. +""" +type Menu implements DatabaseIdentifier & Node { + """The number of items in the menu""" + count: Int """The unique identifier stored in the database""" databaseId: Int! - """Post publishing date.""" - date: String - - """The publishing date set in GMT.""" - dateGmt: String + """The globally unique identifier of the nav menu object.""" + id: ID! - """The desired slug of the post""" - desiredSlug: String + """Whether the object is restricted from the current viewer""" + isRestricted: Boolean - """ - If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - """ - editingLockedBy: ContentNodeToEditLockConnectionEdge + """The locations a menu is assigned to""" + locations: [MenuLocationEnum] - """The RSS enclosure for the object""" - enclosure: String + """WP ID of the nav menu.""" + menuId: Int @deprecated(reason: "Deprecated in favor of the databaseId field") - """Connection between the ContentNode type and the EnqueuedScript type""" - enqueuedScripts( + """Connection between the Menu type and the MenuItem type""" + menuItems( """ Cursor used along with the "first" argument to reference where in the dataset to get data """ @@ -13822,12 +13683,64 @@ interface HierarchicalContentNode implements ContentNode & DatabaseIdentifier & """The number of items to return before the referenced "before" cursor""" last: Int - ): ContentNodeToEnqueuedScriptConnection + """Arguments for filtering the connection""" + where: MenuToMenuItemConnectionWhereArgs + ): MenuToMenuItemConnection + + """Display name of the menu. Equivalent to WP_Term->name.""" + name: String + + """The url friendly name of the menu. Equivalent to WP_Term->slug""" + slug: String +} + +"""Connection to Menu Nodes""" +interface MenuConnection implements Connection { """ - Connection between the ContentNode type and the EnqueuedStylesheet type + A list of edges (relational context) between RootQuery and connected Menu Nodes """ - enqueuedStylesheets( + edges: [MenuConnectionEdge!]! + + """A list of connected Menu Nodes""" + nodes: [Menu!]! + + """Information about pagination in a connection.""" + pageInfo: MenuConnectionPageInfo! +} + +"""Edge between a Node and a connected Menu""" +interface MenuConnectionEdge implements Edge { + """ + Opaque reference to the nodes position in the connection. Value can be used with pagination args. + """ + cursor: String + + """The connected Menu Node""" + node: Menu! +} + +"""Page Info on the connected MenuConnectionEdge""" +interface MenuConnectionPageInfo implements 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 +} + +""" +Navigation menu items are the individual items assigned to a menu. These are rendered as the links in a navigation menu. +""" +type MenuItem implements DatabaseIdentifier & Node { + """Connection between the MenuItem type and the MenuItem type""" + childItems( """ Cursor used along with the "first" argument to reference where in the dataset to get data """ @@ -13843,118 +13756,101 @@ interface HierarchicalContentNode implements ContentNode & DatabaseIdentifier & """The number of items to return before the referenced "before" cursor""" last: Int - ): ContentNodeToEnqueuedStylesheetConnection - """ - The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. - """ - guid: String + """Arguments for filtering the connection""" + where: MenuItemToMenuItemConnectionWhereArgs + ): MenuItemToMenuItemConnection - """The globally unique ID for the object""" - id: ID! + """Connection from MenuItem to it's connected node""" + connectedNode: MenuItemToMenuItemLinkableConnectionEdge - """Whether the node is a Comment""" - isComment: Boolean! + """The object connected to this menu item.""" + connectedObject: MenuItemObjectUnion @deprecated(reason: "Deprecated in favor of the connectedNode field") - """Whether the node is a Content Node""" - isContentNode: Boolean! + """Class attribute for the menu item link""" + cssClasses: [String] - """Whether the node represents the front page.""" - isFrontPage: Boolean! + """The unique identifier stored in the database""" + databaseId: Int! - """Whether the node represents the blog page.""" - isPostsPage: Boolean! + """Description of the menu item.""" + description: String - """Whether the object is a node in the preview state""" - isPreview: Boolean + """The globally unique identifier of the nav menu item object.""" + id: ID! """Whether the object is restricted from the current viewer""" isRestricted: Boolean - """Whether the node is a Term""" - isTermNode: Boolean! + """Label or title of the menu item.""" + label: String - """The user that most recently edited the node""" - lastEditedBy: ContentNodeToEditLastConnectionEdge + """Link relationship (XFN) of the menu item.""" + linkRelationship: String - """The permalink of the post""" - link: String + """The locations the menu item's Menu is assigned to""" + locations: [MenuLocationEnum] - """ - The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - """ - modified: String + """The Menu a MenuItem is part of""" + menu: MenuItemToMenuConnectionEdge - """ - The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. - """ - modifiedGmt: String + """WP ID of the menu item.""" + menuItemId: Int @deprecated(reason: "Deprecated in favor of the databaseId field") - """The parent of the node. The parent object can be of various types""" - parent: HierarchicalContentNodeToParentContentNodeConnectionEdge + """Menu item order""" + order: Int - """Database id of the parent node""" + """The database id of the parent menu item or null if it is the root""" parentDatabaseId: Int - """The globally unique identifier of the parent node.""" + """The globally unique identifier of the parent nav menu item object.""" parentId: ID - """The database id of the preview node""" - previewRevisionDatabaseId: Int - - """Whether the object is a node in the preview state""" - previewRevisionId: ID - - """The Yoast SEO data of the ContentNode""" - seo: PostTypeSEO - """ - 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. + Path for the resource. Relative path for internal resources. Absolute path for external resources. """ - slug: String - - """The current status of the object""" - status: String + path: String - """The template assigned to a node of content""" - template: ContentTemplate + """Target attribute for the menu item link.""" + target: String - """""" - templates: [String] + """Title attribute for the menu item link""" + title: String - """The unique resource identifier path""" + """The uri of the resource the menu item links to""" uri: String + + """URL or destination of the menu item.""" + url: String } -""" -Connection between the HierarchicalContentNode type and the ContentNode type -""" -type HierarchicalContentNodeToContentNodeAncestorsConnection implements Connection & ContentNodeConnection { +"""Connection to MenuItem Nodes""" +interface MenuItemConnection implements Connection { """ - Edges for the HierarchicalContentNodeToContentNodeAncestorsConnection connection + A list of edges (relational context) between RootQuery and connected MenuItem Nodes """ - edges: [HierarchicalContentNodeToContentNodeAncestorsConnectionEdge!]! + edges: [MenuItemConnectionEdge!]! - """The nodes of the connection, without the edges""" - nodes: [ContentNode!]! + """A list of connected MenuItem Nodes""" + nodes: [MenuItem!]! """Information about pagination in a connection.""" - pageInfo: HierarchicalContentNodeToContentNodeAncestorsConnectionPageInfo! + pageInfo: MenuItemConnectionPageInfo! } -"""An edge in a connection""" -type HierarchicalContentNodeToContentNodeAncestorsConnectionEdge implements ContentNodeConnectionEdge & Edge { - """A cursor for use in pagination""" +"""Edge between a Node and a connected MenuItem""" +interface MenuItemConnectionEdge implements Edge { + """ + Opaque reference to the nodes position in the connection. Value can be used with pagination args. + """ cursor: String - """The item at the end of the edge""" - node: ContentNode! + """The connected MenuItem Node""" + node: MenuItem! } -""" -Page Info on the "HierarchicalContentNodeToContentNodeAncestorsConnection" -""" -type HierarchicalContentNodeToContentNodeAncestorsConnectionPageInfo implements ContentNodeConnectionPageInfo & PageInfo & WPPageInfo { +"""Page Info on the connected MenuItemConnectionEdge""" +interface MenuItemConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -13964,105 +13860,102 @@ type HierarchicalContentNodeToContentNodeAncestorsConnectionPageInfo implements """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -""" -Arguments for filtering the HierarchicalContentNodeToContentNodeAncestorsConnection connection -""" -input HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs { - """The Types of content to filter""" - contentTypes: [ContentTypeEnum] - - """Filter the connection based on dates""" - dateQuery: DateQueryInput +"""Nodes that can be linked to as Menu Items""" +interface MenuItemLinkable implements DatabaseIdentifier & Node & UniformResourceIdentifiable { + """""" + conditionalTags: ConditionalTags @deprecated(reason: "Deprecated in favor of using Next.js pages") - """ - True for objects with passwords; False for objects without passwords; null for all objects with or without passwords - """ - hasPassword: Boolean + """The unique identifier stored in the database""" + databaseId: Int! - """Specific database ID of the object""" - id: Int + """The globally unique ID for the object""" + id: ID! - """Array of IDs for the objects to retrieve""" - in: [ID] + """Whether the node is a Comment""" + isComment: Boolean! - """Get objects with a specific mimeType property""" - mimeType: MimeTypeEnum + """Whether the node is a Content Node""" + isContentNode: Boolean! - """Slug / post_name of the object""" - name: String + """Whether the node represents the front page.""" + isFrontPage: Boolean! - """Specify objects to retrieve. Use slugs""" - nameIn: [String] + """Whether the node represents the blog page.""" + isPostsPage: Boolean! - """ - Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored - """ - notIn: [ID] + """Whether the node is a Term""" + isTermNode: Boolean! - """What parameter to use to order the objects by.""" - orderby: [PostObjectsConnectionOrderbyInput] + """""" + templates: [String] - """Use ID to return only children. Use 0 to return only top-level items""" - parent: ID + """The unique resource identifier path""" + uri: String +} - """Specify objects whose parent is in an array""" - parentIn: [ID] +"""Edge between a Node and a connected MenuItemLinkable""" +interface MenuItemLinkableConnectionEdge implements Edge { + """ + Opaque reference to the nodes position in the connection. Value can be used with pagination args. + """ + cursor: String - """Specify posts whose parent is not in an array""" - parentNotIn: [ID] + """The connected MenuItemLinkable Node""" + node: MenuItemLinkable! +} - """Show posts with a specific password.""" - password: String +""" +The Type of Identifier used to fetch a single node. Default is "ID". To be used along with the "id" field. +""" +enum MenuItemNodeIdTypeEnum { + """Identify a resource by the Database ID.""" + DATABASE_ID - """Show Posts based on a keyword search""" - search: String + """Identify a resource by the (hashed) Global ID.""" + ID +} - """Retrieve posts where post status is in an array.""" - stati: [PostStatusEnum] +"""Deprecated in favor of MenuItemLinkeable Interface""" +union MenuItemObjectUnion = Category | Page | Post | Tag - """Show posts with a specific status.""" - status: PostStatusEnum +"""Connection between the MenuItem type and the Menu type""" +type MenuItemToMenuConnectionEdge implements Edge & MenuConnectionEdge & OneToOneConnection { + """ + Opaque reference to the nodes position in the connection. Value can be used with pagination args. + """ + cursor: String - """Title of the object""" - title: String + """The node of the connection, without the edges""" + node: Menu! } -""" -Connection between the HierarchicalContentNode type and the ContentNode type -""" -type HierarchicalContentNodeToContentNodeChildrenConnection implements Connection & ContentNodeConnection { - """ - Edges for the HierarchicalContentNodeToContentNodeChildrenConnection connection - """ - edges: [HierarchicalContentNodeToContentNodeChildrenConnectionEdge!]! +"""Connection between the MenuItem type and the MenuItem type""" +type MenuItemToMenuItemConnection implements Connection & MenuItemConnection { + """Edges for the MenuItemToMenuItemConnection connection""" + edges: [MenuItemToMenuItemConnectionEdge!]! """The nodes of the connection, without the edges""" - nodes: [ContentNode!]! + nodes: [MenuItem!]! """Information about pagination in a connection.""" - pageInfo: HierarchicalContentNodeToContentNodeChildrenConnectionPageInfo! + pageInfo: MenuItemToMenuItemConnectionPageInfo! } """An edge in a connection""" -type HierarchicalContentNodeToContentNodeChildrenConnectionEdge implements ContentNodeConnectionEdge & Edge { +type MenuItemToMenuItemConnectionEdge implements Edge & MenuItemConnectionEdge { """A cursor for use in pagination""" cursor: String """The item at the end of the edge""" - node: ContentNode! + node: MenuItem! } -""" -Page Info on the "HierarchicalContentNodeToContentNodeChildrenConnection" -""" -type HierarchicalContentNodeToContentNodeChildrenConnectionPageInfo implements ContentNodeConnectionPageInfo & PageInfo & WPPageInfo { +"""Page Info on the "MenuItemToMenuItemConnection"""" +type MenuItemToMenuItemConnectionPageInfo implements MenuItemConnectionPageInfo & PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -14072,869 +13965,905 @@ type HierarchicalContentNodeToContentNodeChildrenConnectionPageInfo implements C """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -""" -Arguments for filtering the HierarchicalContentNodeToContentNodeChildrenConnection connection -""" -input HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs { - """The Types of content to filter""" - contentTypes: [ContentTypeEnum] +"""Arguments for filtering the MenuItemToMenuItemConnection connection""" +input MenuItemToMenuItemConnectionWhereArgs { + """The database ID of the object""" + id: Int - """Filter the connection based on dates""" - dateQuery: DateQueryInput + """The menu location for the menu being queried""" + location: MenuLocationEnum + + """The database ID of the parent menu object""" + parentDatabaseId: Int + + """The ID of the parent menu object""" + parentId: ID +} +"""Connection between the MenuItem type and the MenuItemLinkable type""" +type MenuItemToMenuItemLinkableConnectionEdge implements Edge & MenuItemLinkableConnectionEdge & OneToOneConnection { """ - True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + Opaque reference to the nodes position in the connection. Value can be used with pagination args. """ - hasPassword: Boolean + cursor: String - """Specific database ID of the object""" - id: Int + """The node of the connection, without the edges""" + node: MenuItemLinkable! +} - """Array of IDs for the objects to retrieve""" - in: [ID] +"""Registered menu locations""" +enum MenuLocationEnum { + """Put the menu in the footer location""" + FOOTER - """Get objects with a specific mimeType property""" - mimeType: MimeTypeEnum + """Put the menu in the primary location""" + PRIMARY +} - """Slug / post_name of the object""" - name: String +""" +The Type of Identifier used to fetch a single node. Default is "ID". To be used along with the "id" field. +""" +enum MenuNodeIdTypeEnum { + """Identify a menu node by the Database ID.""" + DATABASE_ID - """Specify objects to retrieve. Use slugs""" - nameIn: [String] + """Identify a menu node by the (hashed) Global ID.""" + ID """ - Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + Identify a menu node by the slug of menu location to which it is assigned """ - notIn: [ID] + LOCATION - """What parameter to use to order the objects by.""" - orderby: [PostObjectsConnectionOrderbyInput] + """Identify a menu node by its name""" + NAME - """Use ID to return only children. Use 0 to return only top-level items""" - parent: ID + """Identify a menu node by its slug""" + SLUG +} - """Specify objects whose parent is in an array""" - parentIn: [ID] +"""Connection between the Menu type and the MenuItem type""" +type MenuToMenuItemConnection implements Connection & MenuItemConnection { + """Edges for the MenuToMenuItemConnection connection""" + edges: [MenuToMenuItemConnectionEdge!]! - """Specify posts whose parent is not in an array""" - parentNotIn: [ID] + """The nodes of the connection, without the edges""" + nodes: [MenuItem!]! - """Show posts with a specific password.""" - password: String + """Information about pagination in a connection.""" + pageInfo: MenuToMenuItemConnectionPageInfo! +} - """Show Posts based on a keyword search""" - search: String +"""An edge in a connection""" +type MenuToMenuItemConnectionEdge implements Edge & MenuItemConnectionEdge { + """A cursor for use in pagination""" + cursor: String - """Retrieve posts where post status is in an array.""" - stati: [PostStatusEnum] + """The item at the end of the edge""" + node: MenuItem! +} - """Show posts with a specific status.""" - status: PostStatusEnum +"""Page Info on the "MenuToMenuItemConnection"""" +type MenuToMenuItemConnectionPageInfo implements MenuItemConnectionPageInfo & PageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String - """Title of the object""" - title: String -} + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! -""" -Connection between the HierarchicalContentNode type and the ContentNode type -""" -type HierarchicalContentNodeToParentContentNodeConnectionEdge implements ContentNodeConnectionEdge & Edge & OneToOneConnection { - """ - Opaque reference to the nodes position in the connection. Value can be used with pagination args. - """ - cursor: String + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! - """The node of the connection, without the edges""" - node: ContentNode! + """When paginating backwards, the cursor to continue.""" + startCursor: String } -"""Node with hierarchical (parent/child) relationships""" -interface HierarchicalNode implements DatabaseIdentifier & Node { - """The unique identifier stored in the database""" - databaseId: Int! +"""Arguments for filtering the MenuToMenuItemConnection connection""" +input MenuToMenuItemConnectionWhereArgs { + """The database ID of the object""" + id: Int - """The globally unique ID for the object""" - id: ID! + """The menu location for the menu being queried""" + location: MenuLocationEnum - """Database id of the parent node""" + """The database ID of the parent menu object""" parentDatabaseId: Int - """The globally unique identifier of the parent node.""" + """The ID of the parent menu object""" parentId: ID } -"""Term node with hierarchical (parent/child) relationships""" -interface HierarchicalTermNode implements DatabaseIdentifier & HierarchicalNode & Node & TermNode & UniformResourceIdentifiable { - """""" - conditionalTags: ConditionalTags @deprecated(reason: "Deprecated in favor of using Next.js pages") +"""The MimeType of the object""" +enum MimeTypeEnum { + """application/java mime type.""" + APPLICATION_JAVA - """The number of objects connected to the object""" - count: Int + """application/msword mime type.""" + APPLICATION_MSWORD - """The unique identifier stored in the database""" - databaseId: Int! + """application/octet-stream mime type.""" + APPLICATION_OCTET_STREAM - """The description of the object""" - description: String + """application/onenote mime type.""" + APPLICATION_ONENOTE - """Connection between the TermNode type and the EnqueuedScript type""" - enqueuedScripts( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String + """application/oxps mime type.""" + APPLICATION_OXPS - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """application/pdf mime type.""" + APPLICATION_PDF - """The number of items to return after the referenced "after" cursor""" - first: Int + """application/rar mime type.""" + APPLICATION_RAR - """The number of items to return before the referenced "before" cursor""" - last: Int - ): TermNodeToEnqueuedScriptConnection + """application/rtf mime type.""" + APPLICATION_RTF - """Connection between the TermNode type and the EnqueuedStylesheet type""" - enqueuedStylesheets( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String + """application/ttaf+xml mime type.""" + APPLICATION_TTAF_XML - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """application/vnd.apple.keynote mime type.""" + APPLICATION_VND_APPLE_KEYNOTE - """The number of items to return after the referenced "after" cursor""" - first: Int + """application/vnd.apple.numbers mime type.""" + APPLICATION_VND_APPLE_NUMBERS - """The number of items to return before the referenced "before" cursor""" - last: Int - ): TermNodeToEnqueuedStylesheetConnection + """application/vnd.apple.pages mime type.""" + APPLICATION_VND_APPLE_PAGES - """The globally unique ID for the object""" - id: ID! + """application/vnd.ms-access mime type.""" + APPLICATION_VND_MS_ACCESS - """Whether the node is a Comment""" - isComment: Boolean! + """application/vnd.ms-excel mime type.""" + APPLICATION_VND_MS_EXCEL - """Whether the node is a Content Node""" - isContentNode: Boolean! + """application/vnd.ms-excel.addin.macroEnabled.12 mime type.""" + APPLICATION_VND_MS_EXCEL_ADDIN_MACROENABLED_12 - """Whether the node represents the front page.""" - isFrontPage: Boolean! + """application/vnd.ms-excel.sheet.binary.macroEnabled.12 mime type.""" + APPLICATION_VND_MS_EXCEL_SHEET_BINARY_MACROENABLED_12 - """Whether the node represents the blog page.""" - isPostsPage: Boolean! + """application/vnd.ms-excel.sheet.macroEnabled.12 mime type.""" + APPLICATION_VND_MS_EXCEL_SHEET_MACROENABLED_12 - """Whether the object is restricted from the current viewer""" - isRestricted: Boolean + """application/vnd.ms-excel.template.macroEnabled.12 mime type.""" + APPLICATION_VND_MS_EXCEL_TEMPLATE_MACROENABLED_12 - """Whether the node is a Term""" - isTermNode: Boolean! + """application/vnd.ms-powerpoint mime type.""" + APPLICATION_VND_MS_POWERPOINT - """The link to the term""" - link: String + """application/vnd.ms-powerpoint.addin.macroEnabled.12 mime type.""" + APPLICATION_VND_MS_POWERPOINT_ADDIN_MACROENABLED_12 - """The human friendly name of the object.""" - name: String + """application/vnd.ms-powerpoint.presentation.macroEnabled.12 mime type.""" + APPLICATION_VND_MS_POWERPOINT_PRESENTATION_MACROENABLED_12 - """Database id of the parent node""" - parentDatabaseId: Int + """application/vnd.ms-powerpoint.slideshow.macroEnabled.12 mime type.""" + APPLICATION_VND_MS_POWERPOINT_SLIDESHOW_MACROENABLED_12 - """The globally unique identifier of the parent node.""" - parentId: ID + """application/vnd.ms-powerpoint.slide.macroEnabled.12 mime type.""" + APPLICATION_VND_MS_POWERPOINT_SLIDE_MACROENABLED_12 - """An alphanumeric identifier for the object unique to its type.""" - slug: String + """application/vnd.ms-powerpoint.template.macroEnabled.12 mime type.""" + APPLICATION_VND_MS_POWERPOINT_TEMPLATE_MACROENABLED_12 - """The name of the taxonomy that the object is associated with""" - taxonomyName: String + """application/vnd.ms-project mime type.""" + APPLICATION_VND_MS_PROJECT - """""" - templates: [String] + """application/vnd.ms-word.document.macroEnabled.12 mime type.""" + APPLICATION_VND_MS_WORD_DOCUMENT_MACROENABLED_12 - """The ID of the term group that this term object belongs to""" - termGroupId: Int + """application/vnd.ms-word.template.macroEnabled.12 mime type.""" + APPLICATION_VND_MS_WORD_TEMPLATE_MACROENABLED_12 - """The taxonomy ID that the object is associated with""" - termTaxonomyId: Int + """application/vnd.ms-write mime type.""" + APPLICATION_VND_MS_WRITE - """The unique resource identifier path""" - uri: String -} + """application/vnd.ms-xpsdocument mime type.""" + APPLICATION_VND_MS_XPSDOCUMENT -"""File details for a Media Item""" -type MediaDetails { - """The filename of the mediaItem""" - file: String + """application/vnd.oasis.opendocument.chart mime type.""" + APPLICATION_VND_OASIS_OPENDOCUMENT_CHART - """The height of the mediaItem""" - height: Int + """application/vnd.oasis.opendocument.database mime type.""" + APPLICATION_VND_OASIS_OPENDOCUMENT_DATABASE - """Meta information associated with the mediaItem""" - meta: MediaItemMeta + """application/vnd.oasis.opendocument.formula mime type.""" + APPLICATION_VND_OASIS_OPENDOCUMENT_FORMULA - """The available sizes of the mediaItem""" - sizes( - """The sizes to exclude. Will take precedence over `include`.""" - exclude: [MediaItemSizeEnum] + """application/vnd.oasis.opendocument.graphics mime type.""" + APPLICATION_VND_OASIS_OPENDOCUMENT_GRAPHICS - """The sizes to include. Can be overridden by `exclude`.""" - include: [MediaItemSizeEnum] - ): [MediaSize] + """application/vnd.oasis.opendocument.presentation mime type.""" + APPLICATION_VND_OASIS_OPENDOCUMENT_PRESENTATION - """The width of the mediaItem""" - width: Int -} + """application/vnd.oasis.opendocument.spreadsheet mime type.""" + APPLICATION_VND_OASIS_OPENDOCUMENT_SPREADSHEET -"""The mediaItem type""" -type MediaItem implements ContentNode & DatabaseIdentifier & HierarchicalContentNode & HierarchicalNode & Node & NodeWithAuthor & NodeWithComments & NodeWithTemplate & NodeWithTitle & UniformResourceIdentifiable { - """Alternative text to display when resource is not displayed""" - altText: String + """application/vnd.oasis.opendocument.text mime type.""" + APPLICATION_VND_OASIS_OPENDOCUMENT_TEXT """ - Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). + application/vnd.openxmlformats-officedocument.presentationml.presentation mime type. """ - ancestors( - """ - 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 + APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_PRESENTATION - """The number of items to return before the referenced "before" cursor""" - last: Int + """ + application/vnd.openxmlformats-officedocument.presentationml.slide mime type. + """ + APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_SLIDE - """Arguments for filtering the connection""" - where: HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs - ): HierarchicalContentNodeToContentNodeAncestorsConnection + """ + application/vnd.openxmlformats-officedocument.presentationml.slideshow mime type. + """ + APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_SLIDESHOW - """Connection between the NodeWithAuthor type and the User type""" - author: NodeWithAuthorToUserConnectionEdge + """ + application/vnd.openxmlformats-officedocument.presentationml.template mime type. + """ + APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_TEMPLATE - """The database identifier of the author of the node""" - authorDatabaseId: Int + """ + application/vnd.openxmlformats-officedocument.spreadsheetml.sheet mime type. + """ + APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_SHEET - """The globally unique identifier of the author of the node""" - authorId: ID + """ + application/vnd.openxmlformats-officedocument.spreadsheetml.template mime type. + """ + APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_TEMPLATE - """The caption for the resource""" - caption( - """Format of the field output""" - format: PostObjectFieldFormatEnum - ): String + """ + application/vnd.openxmlformats-officedocument.wordprocessingml.document mime type. + """ + APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT """ - Connection between the HierarchicalContentNode type and the ContentNode type + application/vnd.openxmlformats-officedocument.wordprocessingml.template mime type. """ - children( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String + APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_TEMPLATE - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """application/wordperfect mime type.""" + APPLICATION_WORDPERFECT - """The number of items to return after the referenced "after" cursor""" - first: Int + """application/x-7z-compressed mime type.""" + APPLICATION_X_7Z_COMPRESSED - """The number of items to return before the referenced "before" cursor""" - last: Int + """application/x-gzip mime type.""" + APPLICATION_X_GZIP - """Arguments for filtering the connection""" - where: HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs - ): HierarchicalContentNodeToContentNodeChildrenConnection + """application/x-tar mime type.""" + APPLICATION_X_TAR - """ - The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. - """ - commentCount: Int + """application/zip mime type.""" + APPLICATION_ZIP - """Whether the comments are open or closed for this particular post.""" - commentStatus: String + """audio/aac mime type.""" + AUDIO_AAC - """Connection between the MediaItem type and the Comment type""" - comments( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String + """audio/flac mime type.""" + AUDIO_FLAC - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """audio/midi mime type.""" + AUDIO_MIDI - """The number of items to return after the referenced "after" cursor""" - first: Int + """audio/mpeg mime type.""" + AUDIO_MPEG - """The number of items to return before the referenced "before" cursor""" - last: Int + """audio/ogg mime type.""" + AUDIO_OGG - """Arguments for filtering the connection""" - where: MediaItemToCommentConnectionWhereArgs - ): MediaItemToCommentConnection + """audio/wav mime type.""" + AUDIO_WAV - """""" - conditionalTags: ConditionalTags @deprecated(reason: "Deprecated in favor of using Next.js pages") + """audio/x-matroska mime type.""" + AUDIO_X_MATROSKA - """Connection between the ContentNode type and the ContentType type""" - contentType: ContentNodeToContentTypeConnectionEdge + """audio/x-ms-wax mime type.""" + AUDIO_X_MS_WAX - """The name of the Content Type the node belongs to""" - contentTypeName: String! + """audio/x-ms-wma mime type.""" + AUDIO_X_MS_WMA - """The unique identifier stored in the database""" - databaseId: Int! + """audio/x-realaudio mime type.""" + AUDIO_X_REALAUDIO - """Post publishing date.""" - date: String + """image/avif mime type.""" + IMAGE_AVIF - """The publishing date set in GMT.""" - dateGmt: String + """image/bmp mime type.""" + IMAGE_BMP - """Description of the image (stored as post_content)""" - description( - """Format of the field output""" - format: PostObjectFieldFormatEnum - ): String + """image/gif mime type.""" + IMAGE_GIF - """The desired slug of the post""" - desiredSlug: String + """image/heic mime type.""" + IMAGE_HEIC - """ - If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - """ - editingLockedBy: ContentNodeToEditLockConnectionEdge + """image/jpeg mime type.""" + IMAGE_JPEG - """The RSS enclosure for the object""" - enclosure: String + """image/png mime type.""" + IMAGE_PNG - """Connection between the ContentNode type and the EnqueuedScript type""" - enqueuedScripts( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String + """image/tiff mime type.""" + IMAGE_TIFF - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """image/webp mime type.""" + IMAGE_WEBP - """The number of items to return after the referenced "after" cursor""" - first: Int + """image/x-icon mime type.""" + IMAGE_X_ICON - """The number of items to return before the referenced "before" cursor""" - last: Int - ): ContentNodeToEnqueuedScriptConnection + """text/calendar mime type.""" + TEXT_CALENDAR - """ - Connection between the ContentNode type and the EnqueuedStylesheet type - """ - enqueuedStylesheets( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String + """text/css mime type.""" + TEXT_CSS - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """text/csv mime type.""" + TEXT_CSV - """The number of items to return after the referenced "after" cursor""" - first: Int + """text/plain mime type.""" + TEXT_PLAIN - """The number of items to return before the referenced "before" cursor""" - last: Int - ): ContentNodeToEnqueuedStylesheetConnection + """text/richtext mime type.""" + TEXT_RICHTEXT - """The filesize in bytes of the resource""" - fileSize( - """Size of the MediaItem to return""" - size: MediaItemSizeEnum - ): Int + """text/tab-separated-values mime type.""" + TEXT_TAB_SEPARATED_VALUES - """ - The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. - """ - guid: String + """text/vtt mime type.""" + TEXT_VTT - """Whether the attachment object is password protected.""" - hasPassword: Boolean + """video/3gpp mime type.""" + VIDEO_3GPP - """The globally unique identifier of the attachment object.""" - id: ID! + """video/3gpp2 mime type.""" + VIDEO_3GPP2 - """Whether the node is a Comment""" - isComment: Boolean! + """video/avi mime type.""" + VIDEO_AVI - """Whether the node is a Content Node""" - isContentNode: Boolean! + """video/divx mime type.""" + VIDEO_DIVX - """Whether the node represents the front page.""" - isFrontPage: Boolean! + """video/mp4 mime type.""" + VIDEO_MP4 - """Whether the node represents the blog page.""" - isPostsPage: Boolean! + """video/mpeg mime type.""" + VIDEO_MPEG - """Whether the object is a node in the preview state""" - isPreview: Boolean + """video/ogg mime type.""" + VIDEO_OGG - """Whether the object is restricted from the current viewer""" - isRestricted: Boolean + """video/quicktime mime type.""" + VIDEO_QUICKTIME - """Whether the node is a Term""" - isTermNode: Boolean! + """video/webm mime type.""" + VIDEO_WEBM - """The user that most recently edited the node""" - lastEditedBy: ContentNodeToEditLastConnectionEdge + """video/x-flv mime type.""" + VIDEO_X_FLV - """The permalink of the post""" - link: String + """video/x-matroska mime type.""" + VIDEO_X_MATROSKA - """Details about the mediaItem""" - mediaDetails: MediaDetails + """video/x-ms-asf mime type.""" + VIDEO_X_MS_ASF - """The id field matches the WP_Post->ID field.""" - mediaItemId: Int! @deprecated(reason: "Deprecated in favor of the databaseId field") + """video/x-ms-wm mime type.""" + VIDEO_X_MS_WM - """Url of the mediaItem""" - mediaItemUrl: String + """video/x-ms-wmv mime type.""" + VIDEO_X_MS_WMV - """Type of resource""" - mediaType: String + """video/x-ms-wmx mime type.""" + VIDEO_X_MS_WMX +} - """The mime type of the mediaItem""" - mimeType: String +"""An object with an ID""" +interface Node { + """The globally unique ID for the object""" + id: ID! +} - """ - The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - """ - modified: String +"""A node that can have an author assigned to it""" +interface NodeWithAuthor implements Node { + """Connection between the NodeWithAuthor type and the User type""" + author: NodeWithAuthorToUserConnectionEdge - """ - The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. - """ - modifiedGmt: String + """The database identifier of the author of the node""" + authorDatabaseId: Int - """The parent of the node. The parent object can be of various types""" - parent: HierarchicalContentNodeToParentContentNodeConnectionEdge + """The globally unique identifier of the author of the node""" + authorId: ID - """Database id of the parent node""" - parentDatabaseId: Int + """The globally unique ID for the object""" + id: ID! +} - """The globally unique identifier of the parent node.""" - parentId: ID +"""Connection between the NodeWithAuthor type and the User type""" +type NodeWithAuthorToUserConnectionEdge implements Edge & OneToOneConnection & UserConnectionEdge { + """ + Opaque reference to the nodes position in the connection. Value can be used with pagination args. + """ + cursor: String - """The password for the attachment object.""" - password: String + """The node of the connection, without the edges""" + node: User! +} - """The database id of the preview node""" - previewRevisionDatabaseId: Int +"""A node that can have comments associated with it""" +interface NodeWithComments implements Node { + """ + The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. + """ + commentCount: Int - """Whether the object is a node in the preview state""" - previewRevisionId: ID + """Whether the comments are open or closed for this particular post.""" + commentStatus: String - """The Yoast SEO data of the ContentNode""" - seo: PostTypeSEO - - """The sizes attribute value for an image.""" - sizes( - """Size of the MediaItem to calculate sizes with""" - size: MediaItemSizeEnum - ): String - - """ - 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. - """ - slug: String - - """Url of the mediaItem""" - sourceUrl( - """Size of the MediaItem to return""" - size: MediaItemSizeEnum - ): String + """The globally unique ID for the object""" + id: ID! +} - """ - The srcset attribute specifies the URL of the image to use in different situations. It is a comma separated string of urls and their widths. - """ - srcSet( - """Size of the MediaItem to calculate srcSet with""" - size: MediaItemSizeEnum +"""A node that supports the content editor""" +interface NodeWithContentEditor implements Node { + """The content of the post.""" + content( + """Format of the field output""" + format: PostObjectFieldFormatEnum ): String - """The current status of the object""" - status: String - - """The template assigned to a node of content""" - template: ContentTemplate + """The globally unique ID for the object""" + id: ID! +} - """""" - templates: [String] +"""Node that has content blocks associated with it""" +interface NodeWithEditorBlocks { + """List of editor blocks""" + editorBlocks( + """Returns the list of blocks as a flat list if true""" + flat: Boolean + ): [EditorBlock] +} - """ - The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. - """ - title( +"""A node that can have an excerpt""" +interface NodeWithExcerpt implements Node { + """The excerpt of the post.""" + excerpt( """Format of the field output""" format: PostObjectFieldFormatEnum ): String - """The unique resource identifier path""" - uri: String + """The globally unique ID for the object""" + id: ID! } -"""Connection to mediaItem Nodes""" -interface MediaItemConnection implements Connection { +"""A node that can have a featured image set""" +interface NodeWithFeaturedImage implements Node { """ - A list of edges (relational context) between RootQuery and connected mediaItem Nodes + Connection between the NodeWithFeaturedImage type and the MediaItem type """ - edges: [MediaItemConnectionEdge!]! + featuredImage: NodeWithFeaturedImageToMediaItemConnectionEdge - """A list of connected mediaItem Nodes""" - nodes: [MediaItem!]! + """ + The database identifier for the featured image node assigned to the content node + """ + featuredImageDatabaseId: Int - """Information about pagination in a connection.""" - pageInfo: MediaItemConnectionPageInfo! + """Globally unique ID of the featured image assigned to the node""" + featuredImageId: ID + + """The globally unique ID for the object""" + id: ID! } -"""Edge between a Node and a connected mediaItem""" -interface MediaItemConnectionEdge implements Edge { +""" +Connection between the NodeWithFeaturedImage type and the MediaItem type +""" +type NodeWithFeaturedImageToMediaItemConnectionEdge implements Edge & MediaItemConnectionEdge & OneToOneConnection { """ Opaque reference to the nodes position in the connection. Value can be used with pagination args. """ cursor: String - """The connected mediaItem Node""" + """The node of the connection, without the edges""" node: MediaItem! } -"""Page Info on the connected MediaItemConnectionEdge""" -interface MediaItemConnectionPageInfo implements PageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String - - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! +"""A node that can have page attributes""" +interface NodeWithPageAttributes implements Node { + """The globally unique ID for the object""" + id: ID! - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """ + A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. + """ + menuOrder: Int +} - """Raw schema for page""" - seo: SEOPostTypePageInfo +"""Node that has Page content blocks associated with it""" +interface NodeWithPageEditorBlocks implements NodeWithEditorBlocks { + """List of Page editor blocks""" + editorBlocks( + """Returns the list of blocks as a flat list if true""" + flat: Boolean + ): [PageEditorBlock] +} - """When paginating backwards, the cursor to continue.""" - startCursor: String +"""Node that has Post content blocks associated with it""" +interface NodeWithPostEditorBlocks implements NodeWithEditorBlocks { + """List of Post editor blocks""" + editorBlocks( + """Returns the list of blocks as a flat list if true""" + flat: Boolean + ): [PostEditorBlock] } -"""The Type of Identifier used to fetch a single resource. Default is ID.""" -enum MediaItemIdType { - """Identify a resource by the Database ID.""" - DATABASE_ID +"""A node that can have revisions""" +interface NodeWithRevisions implements Node { + """The globally unique ID for the object""" + id: ID! - """Identify a resource by the (hashed) Global ID.""" - ID + """True if the node is a revision of another node""" + isRevision: Boolean """ - Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. + If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. """ - SLUG + revisionOf: NodeWithRevisionsToContentNodeConnectionEdge +} - """Identify a media item by its source url""" - SOURCE_URL +"""Connection between the NodeWithRevisions type and the ContentNode type""" +type NodeWithRevisionsToContentNodeConnectionEdge implements ContentNodeConnectionEdge & Edge & OneToOneConnection { + """ + Opaque reference to the nodes position in the connection. Value can be used with pagination args. + """ + cursor: String - """Identify a resource by the URI.""" - URI + """The node of the connection, without the edges""" + node: ContentNode! } -"""Meta connected to a MediaItem""" -type MediaItemMeta { - """Aperture measurement of the media item.""" - aperture: Float +"""A node that can have a template associated with it""" +interface NodeWithTemplate implements Node { + """The globally unique ID for the object""" + id: ID! - """Information about the camera used to create the media item.""" - camera: String + """The template assigned to the node""" + template: ContentTemplate +} - """The text string description associated with the media item.""" - caption: String +"""A node that NodeWith a title""" +interface NodeWithTitle implements Node { + """The globally unique ID for the object""" + id: ID! - """Copyright information associated with the media item.""" - copyright: String + """ + The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. + """ + title( + """Format of the field output""" + format: PostObjectFieldFormatEnum + ): String +} - """The date/time when the media was created.""" - createdTimestamp: Int +"""A node that can have trackbacks and pingbacks""" +interface NodeWithTrackbacks implements Node { + """The globally unique ID for the object""" + id: ID! - """The original creator of the media item.""" - credit: String + """Whether the pings are open or closed for this particular post.""" + pingStatus: String - """The focal length value of the media item.""" - focalLength: Float + """URLs that have been pinged.""" + pinged: [String] + + """URLs queued to be pinged.""" + toPing: [String] +} +""" +A singular connection from one Node to another, with support for relational data on the "edge" of the connection. +""" +interface OneToOneConnection implements Edge { """ - The ISO (International Organization for Standardization) value of the media item. + Opaque reference to the nodes position in the connection. Value can be used with pagination args. """ - iso: Int - - """List of keywords used to describe or identfy the media item.""" - keywords: [String] + cursor: String - """The vertical or horizontal aspect of the media item.""" - orientation: String + """The connected node""" + node: Node! +} - """The shutter speed information of the media item.""" - shutterSpeed: Float +"""The cardinality of the connection order""" +enum OrderEnum { + """Sort the query result set in an ascending order""" + ASC - """A useful title for the media item.""" - title: String + """Sort the query result set in a descending order""" + DESC } -"""The size of the media item object.""" -enum MediaItemSizeEnum { - """MediaItem with the large size""" - LARGE - - """MediaItem with the medium size""" - MEDIUM +"""The page type""" +type Page implements ContentNode & DatabaseIdentifier & HierarchicalContentNode & HierarchicalNode & MenuItemLinkable & Node & NodeWithAuthor & NodeWithComments & NodeWithContentEditor & NodeWithEditorBlocks & NodeWithFeaturedImage & NodeWithPageAttributes & NodeWithPageEditorBlocks & NodeWithRevisions & NodeWithTemplate & NodeWithTitle & Previewable & UniformResourceIdentifiable { + """ + Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). + """ + ancestors( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """MediaItem with the medium_large size""" - MEDIUM_LARGE + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """MediaItem with the post-thumbnail size""" - POST_THUMBNAIL + """The number of items to return after the referenced "after" cursor""" + first: Int - """MediaItem with the thumbnail size""" - THUMBNAIL + """The number of items to return before the referenced "before" cursor""" + last: Int - """MediaItem with the 1536x1536 size""" - _1536X1536 + """Arguments for filtering the connection""" + where: HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs + ): HierarchicalContentNodeToContentNodeAncestorsConnection - """MediaItem with the 2048x2048 size""" - _2048X2048 -} + """Connection between the NodeWithAuthor type and the User type""" + author: NodeWithAuthorToUserConnectionEdge -"""The status of the media item object.""" -enum MediaItemStatusEnum { - """Objects with the auto-draft status""" - AUTO_DRAFT + """The database identifier of the author of the node""" + authorDatabaseId: Int - """Objects with the inherit status""" - INHERIT + """The globally unique identifier of the author of the node""" + authorId: ID - """Objects with the private status""" - PRIVATE + """ + Connection between the HierarchicalContentNode type and the ContentNode type + """ + children( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """Objects with the trash status""" - TRASH -} + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String -"""Connection between the MediaItem type and the Comment type""" -type MediaItemToCommentConnection implements CommentConnection & Connection { - """Edges for the MediaItemToCommentConnection connection""" - edges: [MediaItemToCommentConnectionEdge!]! + """The number of items to return after the referenced "after" cursor""" + first: Int - """The nodes of the connection, without the edges""" - nodes: [Comment!]! + """The number of items to return before the referenced "before" cursor""" + last: Int - """Information about pagination in a connection.""" - pageInfo: MediaItemToCommentConnectionPageInfo! -} + """Arguments for filtering the connection""" + where: HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs + ): HierarchicalContentNodeToContentNodeChildrenConnection -"""An edge in a connection""" -type MediaItemToCommentConnectionEdge implements CommentConnectionEdge & Edge { - """A cursor for use in pagination""" - cursor: String + """ + The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. + """ + commentCount: Int - """The item at the end of the edge""" - node: Comment! -} + """Whether the comments are open or closed for this particular post.""" + commentStatus: String -"""Page Info on the "MediaItemToCommentConnection"""" -type MediaItemToCommentConnectionPageInfo implements CommentConnectionPageInfo & PageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String + """Connection between the Page type and the Comment type""" + comments( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """The number of items to return after the referenced "after" cursor""" + first: Int - """Raw schema for page""" - seo: SEOPostTypePageInfo + """The number of items to return before the referenced "before" cursor""" + last: Int - """When paginating backwards, the cursor to continue.""" - startCursor: String -} + """Arguments for filtering the connection""" + where: PageToCommentConnectionWhereArgs + ): PageToCommentConnection -"""Arguments for filtering the MediaItemToCommentConnection connection""" -input MediaItemToCommentConnectionWhereArgs { - """Comment author email address.""" - authorEmail: String + """""" + conditionalTags: ConditionalTags @deprecated(reason: "Deprecated in favor of using Next.js pages") - """Array of author IDs to include comments for.""" - authorIn: [ID] + """The content of the post.""" + content( + """Format of the field output""" + format: PostObjectFieldFormatEnum + ): String - """Array of author IDs to exclude comments for.""" - authorNotIn: [ID] + """Connection between the ContentNode type and the ContentType type""" + contentType: ContentNodeToContentTypeConnectionEdge - """Comment author URL.""" - authorUrl: String + """The name of the Content Type the node belongs to""" + contentTypeName: String! - """Array of comment IDs to include.""" - commentIn: [ID] + """The unique identifier stored in the database""" + databaseId: Int! + + """Post publishing date.""" + date: String + + """The publishing date set in GMT.""" + dateGmt: String + + """The desired slug of the post""" + desiredSlug: String """ - Array of IDs of users whose unapproved comments will be returned by the query regardless of status. + If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds """ - commentNotIn: [ID] - - """Include comments of a given type.""" - commentType: String + editingLockedBy: ContentNodeToEditLockConnectionEdge - """Include comments from a given array of comment types.""" - commentTypeIn: [String] + """List of Page editor blocks""" + editorBlocks( + """Returns the list of blocks as a flat list if true""" + flat: Boolean + ): [PageEditorBlock] - """Exclude comments from a given array of comment types.""" - commentTypeNotIn: String + """The RSS enclosure for the object""" + enclosure: String - """Content object author ID to limit results by.""" - contentAuthor: [ID] + """Connection between the ContentNode type and the EnqueuedScript type""" + enqueuedScripts( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """Array of author IDs to retrieve comments for.""" - contentAuthorIn: [ID] + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """Array of author IDs *not* to retrieve comments for.""" - contentAuthorNotIn: [ID] + """The number of items to return after the referenced "after" cursor""" + first: Int - """Limit results to those affiliated with a given content object ID.""" - contentId: ID + """The number of items to return before the referenced "before" cursor""" + last: Int + ): ContentNodeToEnqueuedScriptConnection - """Array of content object IDs to include affiliated comments for.""" - contentIdIn: [ID] + """ + Connection between the ContentNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """Array of content object IDs to exclude affiliated comments for.""" - contentIdNotIn: [ID] + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """Content object name (i.e. slug ) to retrieve affiliated comments for.""" - contentName: String + """The number of items to return after the referenced "after" cursor""" + first: Int - """Content Object parent ID to retrieve affiliated comments for.""" - contentParent: Int + """The number of items to return before the referenced "before" cursor""" + last: Int + ): ContentNodeToEnqueuedStylesheetConnection """ - Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. + Connection between the NodeWithFeaturedImage type and the MediaItem type """ - contentStatus: [PostStatusEnum] + featuredImage: NodeWithFeaturedImageToMediaItemConnectionEdge """ - Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. + The database identifier for the featured image node assigned to the content node """ - contentType: [ContentTypeEnum] + featuredImageDatabaseId: Int + + """Globally unique ID of the featured image assigned to the node""" + featuredImageId: ID """ - Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty + The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. """ - includeUnapproved: [ID] + guid: String - """Karma score to retrieve matching comments for.""" - karma: Int + """Whether the page object is password protected.""" + hasPassword: Boolean - """The cardinality of the order of the connection""" - order: OrderEnum + """The globally unique identifier of the page object.""" + id: ID! - """Field to order the comments by.""" - orderby: CommentsConnectionOrderbyEnum + """Whether the node is a Comment""" + isComment: Boolean! - """Parent ID of comment to retrieve children of.""" - parent: Int + """Whether the node is a Content Node""" + isContentNode: Boolean! - """Array of parent IDs of comments to retrieve children for.""" - parentIn: [ID] + """Whether this page is set to the static front page.""" + isFrontPage: Boolean! - """Array of parent IDs of comments *not* to retrieve children for.""" - parentNotIn: [ID] + """Whether this page is set to the blog posts page.""" + isPostsPage: Boolean! - """Search term(s) to retrieve matching comments for.""" - search: String + """Whether the object is a node in the preview state""" + isPreview: Boolean - """Comment status to limit results by.""" - status: String + """Whether this page is set to the privacy page.""" + isPrivacyPage: Boolean! - """Include comments for a specific user ID.""" - userId: ID -} + """Whether the object is restricted from the current viewer""" + isRestricted: Boolean -"""Details of an available size for a media item""" -type MediaSize { - """The filename of the referenced size""" - file: String + """True if the node is a revision of another node""" + isRevision: Boolean - """The filesize of the resource""" - fileSize: Int + """Whether the node is a Term""" + isTermNode: Boolean! - """The height of the referenced size""" - height: String + """The user that most recently edited the node""" + lastEditedBy: ContentNodeToEditLastConnectionEdge - """The mime type of the referenced size""" - mimeType: String + """The permalink of the post""" + link: String - """The referenced size name""" - name: String + """ + A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. + """ + menuOrder: Int - """The url of the referenced size""" - sourceUrl: String + """ + The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. + """ + modified: String - """The width of the referenced size""" - width: String -} + """ + The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. + """ + modifiedGmt: String -""" -Menus are the containers for navigation items. Menus can be assigned to menu locations, which are typically registered by the active theme. -""" -type Menu implements DatabaseIdentifier & Node { - """The number of items in the menu""" - count: Int + """The id field matches the WP_Post->ID field.""" + pageId: Int! @deprecated(reason: "Deprecated in favor of the databaseId field") - """The unique identifier stored in the database""" - databaseId: Int! + """The parent of the node. The parent object can be of various types""" + parent: HierarchicalContentNodeToParentContentNodeConnectionEdge - """The globally unique identifier of the nav menu object.""" - id: ID! + """Database id of the parent node""" + parentDatabaseId: Int - """Whether the object is restricted from the current viewer""" - isRestricted: Boolean + """The globally unique identifier of the parent node.""" + parentId: ID - """The locations a menu is assigned to""" - locations: [MenuLocationEnum] + """The password for the page object.""" + password: String - """WP ID of the nav menu.""" - menuId: Int @deprecated(reason: "Deprecated in favor of the databaseId field") + """Connection between the Page type and the page type""" + preview: PageToPreviewConnectionEdge - """Connection between the Menu type and the MenuItem type""" - menuItems( + """The database id of the preview node""" + previewRevisionDatabaseId: Int + + """Whether the object is a node in the preview state""" + previewRevisionId: ID + + """ + If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. + """ + revisionOf: NodeWithRevisionsToContentNodeConnectionEdge + + """Connection between the Page type and the page type""" + revisions( """ Cursor used along with the "first" argument to reference where in the dataset to get data """ @@ -14952,43 +14881,62 @@ type Menu implements DatabaseIdentifier & Node { last: Int """Arguments for filtering the connection""" - where: MenuToMenuItemConnectionWhereArgs - ): MenuToMenuItemConnection - - """Display name of the menu. Equivalent to WP_Term->name.""" - name: String + where: PageToRevisionConnectionWhereArgs + ): PageToRevisionConnection - """The url friendly name of the menu. Equivalent to WP_Term->slug""" + """ + 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. + """ slug: String + + """The current status of the object""" + status: String + + """The template assigned to a node of content""" + template: ContentTemplate + + """""" + templates: [String] + + """ + The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. + """ + title( + """Format of the field output""" + format: PostObjectFieldFormatEnum + ): String + + """The unique resource identifier path""" + uri: String } -"""Connection to Menu Nodes""" -interface MenuConnection implements Connection { +"""Connection to page Nodes""" +interface PageConnection implements Connection { """ - A list of edges (relational context) between RootQuery and connected Menu Nodes + A list of edges (relational context) between RootQuery and connected page Nodes """ - edges: [MenuConnectionEdge!]! + edges: [PageConnectionEdge!]! - """A list of connected Menu Nodes""" - nodes: [Menu!]! + """A list of connected page Nodes""" + nodes: [Page!]! """Information about pagination in a connection.""" - pageInfo: MenuConnectionPageInfo! + pageInfo: PageConnectionPageInfo! } -"""Edge between a Node and a connected Menu""" -interface MenuConnectionEdge implements Edge { +"""Edge between a Node and a connected page""" +interface PageConnectionEdge implements Edge { """ Opaque reference to the nodes position in the connection. Value can be used with pagination args. """ cursor: String - """The connected Menu Node""" - node: Menu! + """The connected page Node""" + node: Page! } -"""Page Info on the connected MenuConnectionEdge""" -interface MenuConnectionPageInfo implements PageInfo & WPPageInfo { +"""Page Info on the connected PageConnectionEdge""" +interface PageConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -14998,237 +14946,235 @@ interface MenuConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -""" -Navigation menu items are the individual items assigned to a menu. These are rendered as the links in a navigation menu. -""" -type MenuItem implements DatabaseIdentifier & Node { - """Connection between the MenuItem type and the MenuItem type""" - childItems( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String +"""EditorBlock Interface for Page Block Type""" +interface PageEditorBlock implements EditorBlock { + """The API version of the Gutenberg Block""" + apiVersion: Int - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """The name of the category the Block belongs to""" + blockEditorCategoryName: String - """The number of items to return after the referenced "after" cursor""" - first: Int + """The id of the Block""" + clientId: String - """The number of items to return before the referenced "before" cursor""" - last: Int + """CSS Classnames to apply to the block""" + cssClassNames: [String] - """Arguments for filtering the connection""" - where: MenuItemToMenuItemConnectionWhereArgs - ): MenuItemToMenuItemConnection + """The inner blocks of the Block""" + innerBlocks: [EditorBlock] - """Connection from MenuItem to it's connected node""" - connectedNode: MenuItemToMenuItemLinkableConnectionEdge + """Whether the block is Dynamic (server rendered)""" + isDynamic: Boolean! - """The object connected to this menu item.""" - connectedObject: MenuItemObjectUnion @deprecated(reason: "Deprecated in favor of the connectedNode field") + """The name of the Block""" + name: String - """Class attribute for the menu item link""" - cssClasses: [String] + """The parent id of the Block""" + parentClientId: String - """The unique identifier stored in the database""" - databaseId: Int! + """The rendered HTML for the block""" + renderedHtml: String +} - """Description of the menu item.""" - description: String +"""The Type of Identifier used to fetch a single resource. Default is ID.""" +enum PageIdType { + """Identify a resource by the Database ID.""" + DATABASE_ID - """The globally unique identifier of the nav menu item object.""" - id: ID! + """Identify a resource by the (hashed) Global ID.""" + ID - """Whether the object is restricted from the current viewer""" - isRestricted: Boolean + """Identify a resource by the URI.""" + URI +} - """Label or title of the menu item.""" - label: String +"""Information about pagination in a connection.""" +interface PageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String - """Link relationship (XFN) of the menu item.""" - linkRelationship: String + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! - """The locations the menu item's Menu is assigned to""" - locations: [MenuLocationEnum] + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! - """The Menu a MenuItem is part of""" - menu: MenuItemToMenuConnectionEdge + """When paginating backwards, the cursor to continue.""" + startCursor: String +} - """WP ID of the menu item.""" - menuItemId: Int @deprecated(reason: "Deprecated in favor of the databaseId field") +"""Connection between the Page type and the Comment type""" +type PageToCommentConnection implements CommentConnection & Connection { + """Edges for the PageToCommentConnection connection""" + edges: [PageToCommentConnectionEdge!]! - """Menu item order""" - order: Int + """The nodes of the connection, without the edges""" + nodes: [Comment!]! - """The database id of the parent menu item or null if it is the root""" - parentDatabaseId: Int + """Information about pagination in a connection.""" + pageInfo: PageToCommentConnectionPageInfo! +} - """The globally unique identifier of the parent nav menu item object.""" - parentId: ID +"""An edge in a connection""" +type PageToCommentConnectionEdge implements CommentConnectionEdge & Edge { + """A cursor for use in pagination""" + cursor: String - """ - Path for the resource. Relative path for internal resources. Absolute path for external resources. - """ - path: String + """The item at the end of the edge""" + node: Comment! +} - """Target attribute for the menu item link.""" - target: String +"""Page Info on the "PageToCommentConnection"""" +type PageToCommentConnectionPageInfo implements CommentConnectionPageInfo & PageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String - """Title attribute for the menu item link""" - title: String + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! - """The uri of the resource the menu item links to""" - uri: String + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! - """URL or destination of the menu item.""" - url: String + """When paginating backwards, the cursor to continue.""" + startCursor: String } -"""Connection to MenuItem Nodes""" -interface MenuItemConnection implements Connection { - """ - A list of edges (relational context) between RootQuery and connected MenuItem Nodes - """ - edges: [MenuItemConnectionEdge!]! +"""Arguments for filtering the PageToCommentConnection connection""" +input PageToCommentConnectionWhereArgs { + """Comment author email address.""" + authorEmail: String - """A list of connected MenuItem Nodes""" - nodes: [MenuItem!]! + """Array of author IDs to include comments for.""" + authorIn: [ID] - """Information about pagination in a connection.""" - pageInfo: MenuItemConnectionPageInfo! -} + """Array of author IDs to exclude comments for.""" + authorNotIn: [ID] + + """Comment author URL.""" + authorUrl: String + + """Array of comment IDs to include.""" + commentIn: [ID] -"""Edge between a Node and a connected MenuItem""" -interface MenuItemConnectionEdge implements Edge { """ - Opaque reference to the nodes position in the connection. Value can be used with pagination args. + Array of IDs of users whose unapproved comments will be returned by the query regardless of status. """ - cursor: String + commentNotIn: [ID] - """The connected MenuItem Node""" - node: MenuItem! -} + """Include comments of a given type.""" + commentType: String -"""Page Info on the connected MenuItemConnectionEdge""" -interface MenuItemConnectionPageInfo implements PageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String + """Include comments from a given array of comment types.""" + commentTypeIn: [String] - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! + """Exclude comments from a given array of comment types.""" + commentTypeNotIn: String - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """Content object author ID to limit results by.""" + contentAuthor: [ID] - """Raw schema for page""" - seo: SEOPostTypePageInfo + """Array of author IDs to retrieve comments for.""" + contentAuthorIn: [ID] - """When paginating backwards, the cursor to continue.""" - startCursor: String -} + """Array of author IDs *not* to retrieve comments for.""" + contentAuthorNotIn: [ID] -"""Nodes that can be linked to as Menu Items""" -interface MenuItemLinkable implements DatabaseIdentifier & Node & UniformResourceIdentifiable { - """""" - conditionalTags: ConditionalTags @deprecated(reason: "Deprecated in favor of using Next.js pages") + """Limit results to those affiliated with a given content object ID.""" + contentId: ID - """The unique identifier stored in the database""" - databaseId: Int! + """Array of content object IDs to include affiliated comments for.""" + contentIdIn: [ID] - """The globally unique ID for the object""" - id: ID! + """Array of content object IDs to exclude affiliated comments for.""" + contentIdNotIn: [ID] - """Whether the node is a Comment""" - isComment: Boolean! + """Content object name (i.e. slug ) to retrieve affiliated comments for.""" + contentName: String - """Whether the node is a Content Node""" - isContentNode: Boolean! + """Content Object parent ID to retrieve affiliated comments for.""" + contentParent: Int - """Whether the node represents the front page.""" - isFrontPage: Boolean! + """ + Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentStatus: [PostStatusEnum] - """Whether the node represents the blog page.""" - isPostsPage: Boolean! + """ + Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentType: [ContentTypeEnum] - """Whether the node is a Term""" - isTermNode: Boolean! + """ + Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty + """ + includeUnapproved: [ID] - """""" - templates: [String] + """Karma score to retrieve matching comments for.""" + karma: Int - """The unique resource identifier path""" - uri: String -} + """The cardinality of the order of the connection""" + order: OrderEnum -"""Edge between a Node and a connected MenuItemLinkable""" -interface MenuItemLinkableConnectionEdge implements Edge { - """ - Opaque reference to the nodes position in the connection. Value can be used with pagination args. - """ - cursor: String + """Field to order the comments by.""" + orderby: CommentsConnectionOrderbyEnum - """The connected MenuItemLinkable Node""" - node: MenuItemLinkable! -} + """Parent ID of comment to retrieve children of.""" + parent: Int -""" -The Type of Identifier used to fetch a single node. Default is "ID". To be used along with the "id" field. -""" -enum MenuItemNodeIdTypeEnum { - """Identify a resource by the Database ID.""" - DATABASE_ID + """Array of parent IDs of comments to retrieve children for.""" + parentIn: [ID] - """Identify a resource by the (hashed) Global ID.""" - ID -} + """Array of parent IDs of comments *not* to retrieve children for.""" + parentNotIn: [ID] -"""Deprecated in favor of MenuItemLinkeable Interface""" -union MenuItemObjectUnion = Category | Page | Post | PostFormat | Tag + """Search term(s) to retrieve matching comments for.""" + search: String -"""Connection between the MenuItem type and the Menu type""" -type MenuItemToMenuConnectionEdge implements Edge & MenuConnectionEdge & OneToOneConnection { + """Comment status to limit results by.""" + status: String + + """Include comments for a specific user ID.""" + userId: ID +} + +"""Connection between the Page type and the page type""" +type PageToPreviewConnectionEdge implements Edge & OneToOneConnection & PageConnectionEdge { """ 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: Menu! + node: Page! } -"""Connection between the MenuItem type and the MenuItem type""" -type MenuItemToMenuItemConnection implements Connection & MenuItemConnection { - """Edges for the MenuItemToMenuItemConnection connection""" - edges: [MenuItemToMenuItemConnectionEdge!]! +"""Connection between the Page type and the page type""" +type PageToRevisionConnection implements Connection & PageConnection { + """Edges for the PageToRevisionConnection connection""" + edges: [PageToRevisionConnectionEdge!]! """The nodes of the connection, without the edges""" - nodes: [MenuItem!]! + nodes: [Page!]! """Information about pagination in a connection.""" - pageInfo: MenuItemToMenuItemConnectionPageInfo! + pageInfo: PageToRevisionConnectionPageInfo! } """An edge in a connection""" -type MenuItemToMenuItemConnectionEdge implements Edge & MenuItemConnectionEdge { +type PageToRevisionConnectionEdge implements Edge & PageConnectionEdge { """A cursor for use in pagination""" cursor: String """The item at the end of the edge""" - node: MenuItem! + node: Page! } -"""Page Info on the "MenuItemToMenuItemConnection"""" -type MenuItemToMenuItemConnectionPageInfo implements MenuItemConnectionPageInfo & PageInfo & WPPageInfo { +"""Page Info on the "PageToRevisionConnection"""" +type PageToRevisionConnectionPageInfo implements PageConnectionPageInfo & PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -15238,93 +15184,143 @@ type MenuItemToMenuItemConnectionPageInfo implements MenuItemConnectionPageInfo """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -"""Arguments for filtering the MenuItemToMenuItemConnection connection""" -input MenuItemToMenuItemConnectionWhereArgs { - """The database ID of the object""" - id: Int +"""Arguments for filtering the PageToRevisionConnection connection""" +input PageToRevisionConnectionWhereArgs { + """ + The user that's connected as the author of the object. Use the userId for the author object. + """ + author: Int - """The menu location for the menu being queried""" - location: MenuLocationEnum + """Find objects connected to author(s) in the array of author's userIds""" + authorIn: [ID] - """The database ID of the parent menu object""" - parentDatabaseId: Int + """Find objects connected to the author by the author's nicename""" + authorName: String - """The ID of the parent menu object""" - parentId: ID -} + """ + Find objects NOT connected to author(s) in the array of author's userIds + """ + authorNotIn: [ID] + + """Filter the connection based on dates""" + dateQuery: DateQueryInput -"""Connection between the MenuItem type and the MenuItemLinkable type""" -type MenuItemToMenuItemLinkableConnectionEdge implements Edge & MenuItemLinkableConnectionEdge & OneToOneConnection { """ - Opaque reference to the nodes position in the connection. Value can be used with pagination args. + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords """ - cursor: String + hasPassword: Boolean - """The node of the connection, without the edges""" - node: MenuItemLinkable! -} + """Specific database ID of the object""" + id: Int -"""Registered menu locations""" -enum MenuLocationEnum { - """Put the menu in the footer location""" - FOOTER + """Array of IDs for the objects to retrieve""" + in: [ID] - """Put the menu in the primary location""" - PRIMARY -} + """Get objects with a specific mimeType property""" + mimeType: MimeTypeEnum -""" -The Type of Identifier used to fetch a single node. Default is "ID". To be used along with the "id" field. -""" -enum MenuNodeIdTypeEnum { - """Identify a menu node by the Database ID.""" - DATABASE_ID + """Slug / post_name of the object""" + name: String - """Identify a menu node by the (hashed) Global ID.""" - ID + """Specify objects to retrieve. Use slugs""" + nameIn: [String] """ - Identify a menu node by the slug of menu location to which it is assigned + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored """ - LOCATION + notIn: [ID] - """Identify a menu node by its name""" - NAME + """What parameter to use to order the objects by.""" + orderby: [PostObjectsConnectionOrderbyInput] - """Identify a menu node by its slug""" - SLUG -} + """Use ID to return only children. Use 0 to return only top-level items""" + parent: ID -"""Connection between the Menu type and the MenuItem type""" -type MenuToMenuItemConnection implements Connection & MenuItemConnection { - """Edges for the MenuToMenuItemConnection connection""" - edges: [MenuToMenuItemConnectionEdge!]! + """Specify objects whose parent is in an array""" + parentIn: [ID] - """The nodes of the connection, without the edges""" - nodes: [MenuItem!]! + """Specify posts whose parent is not in an array""" + parentNotIn: [ID] - """Information about pagination in a connection.""" - pageInfo: MenuToMenuItemConnectionPageInfo! + """Show posts with a specific password.""" + password: String + + """Show Posts based on a keyword search""" + search: String + + """Retrieve posts where post status is in an array.""" + stati: [PostStatusEnum] + + """Show posts with a specific status.""" + status: PostStatusEnum + + """Title of the object""" + title: String } -"""An edge in a connection""" -type MenuToMenuItemConnectionEdge implements Edge & MenuItemConnectionEdge { - """A cursor for use in pagination""" +"""An plugin object""" +type Plugin implements Node { + """Name of the plugin author(s), may also be a company name.""" + author: String + + """URI for the related author(s)/company website.""" + authorUri: String + + """Description of the plugin.""" + description: String + + """The globally unique identifier of the plugin object.""" + id: ID! + + """Whether the object is restricted from the current viewer""" + isRestricted: Boolean + + """Display name of the plugin.""" + name: String + + """Plugin path.""" + path: String + + """ + URI for the plugin website. This is useful for directing users for support requests etc. + """ + pluginUri: String + + """Current version of the plugin.""" + version: String +} + +"""Connection to Plugin Nodes""" +interface PluginConnection implements Connection { + """ + A list of edges (relational context) between RootQuery and connected Plugin Nodes + """ + edges: [PluginConnectionEdge!]! + + """A list of connected Plugin Nodes""" + nodes: [Plugin!]! + + """Information about pagination in a connection.""" + pageInfo: PluginConnectionPageInfo! +} + +"""Edge between a Node and a connected Plugin""" +interface PluginConnectionEdge implements Edge { + """ + Opaque reference to the nodes position in the connection. Value can be used with pagination args. + """ cursor: String - """The item at the end of the edge""" - node: MenuItem! + """The connected Plugin Node""" + node: Plugin! } -"""Page Info on the "MenuToMenuItemConnection"""" -type MenuToMenuItemConnectionPageInfo implements MenuItemConnectionPageInfo & PageInfo & WPPageInfo { +"""Page Info on the connected PluginConnectionEdge""" +interface PluginConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -15334,545 +15330,529 @@ type MenuToMenuItemConnectionPageInfo implements MenuItemConnectionPageInfo & Pa """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -"""Arguments for filtering the MenuToMenuItemConnection connection""" -input MenuToMenuItemConnectionWhereArgs { - """The database ID of the object""" - id: Int - - """The menu location for the menu being queried""" - location: MenuLocationEnum +"""The status of the WordPress plugin.""" +enum PluginStatusEnum { + """The plugin is currently active.""" + ACTIVE - """The database ID of the parent menu object""" - parentDatabaseId: Int + """The plugin is a drop-in plugin.""" + DROP_IN - """The ID of the parent menu object""" - parentId: ID -} + """The plugin is currently inactive.""" + INACTIVE -"""The MimeType of the object""" -enum MimeTypeEnum { - """application/java mime type.""" - APPLICATION_JAVA + """The plugin is a must-use plugin.""" + MUST_USE - """application/msword mime type.""" - APPLICATION_MSWORD + """The plugin is technically active but was paused while loading.""" + PAUSED - """application/octet-stream mime type.""" - APPLICATION_OCTET_STREAM + """The plugin was active recently.""" + RECENTLY_ACTIVE - """application/onenote mime type.""" - APPLICATION_ONENOTE + """The plugin has an upgrade available.""" + UPGRADE +} - """application/oxps mime type.""" - APPLICATION_OXPS +"""The post type""" +type Post implements ContentNode & DatabaseIdentifier & MenuItemLinkable & Node & NodeWithAuthor & NodeWithComments & NodeWithContentEditor & NodeWithEditorBlocks & NodeWithExcerpt & NodeWithFeaturedImage & NodeWithPostEditorBlocks & NodeWithRevisions & NodeWithTemplate & NodeWithTitle & NodeWithTrackbacks & Previewable & UniformResourceIdentifiable { + """The ancestors of the content node.""" + ancestors( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """application/pdf mime type.""" - APPLICATION_PDF + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """application/rar mime type.""" - APPLICATION_RAR + """The number of items to return after the referenced "after" cursor""" + first: Int - """application/rtf mime type.""" - APPLICATION_RTF + """The number of items to return before the referenced "before" cursor""" + last: Int + ): PostToPostConnection @deprecated(reason: "This content type is not hierarchical and typically will not have ancestors") - """application/ttaf+xml mime type.""" - APPLICATION_TTAF_XML + """Connection between the NodeWithAuthor type and the User type""" + author: NodeWithAuthorToUserConnectionEdge - """application/vnd.apple.keynote mime type.""" - APPLICATION_VND_APPLE_KEYNOTE + """The database identifier of the author of the node""" + authorDatabaseId: Int - """application/vnd.apple.numbers mime type.""" - APPLICATION_VND_APPLE_NUMBERS + """The globally unique identifier of the author of the node""" + authorId: ID - """application/vnd.apple.pages mime type.""" - APPLICATION_VND_APPLE_PAGES + """Connection between the Post type and the category type""" + categories( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """application/vnd.ms-access mime type.""" - APPLICATION_VND_MS_ACCESS + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """application/vnd.ms-excel mime type.""" - APPLICATION_VND_MS_EXCEL + """The number of items to return after the referenced "after" cursor""" + first: Int - """application/vnd.ms-excel.addin.macroEnabled.12 mime type.""" - APPLICATION_VND_MS_EXCEL_ADDIN_MACROENABLED_12 + """The number of items to return before the referenced "before" cursor""" + last: Int - """application/vnd.ms-excel.sheet.binary.macroEnabled.12 mime type.""" - APPLICATION_VND_MS_EXCEL_SHEET_BINARY_MACROENABLED_12 + """Arguments for filtering the connection""" + where: PostToCategoryConnectionWhereArgs + ): PostToCategoryConnection - """application/vnd.ms-excel.sheet.macroEnabled.12 mime type.""" - APPLICATION_VND_MS_EXCEL_SHEET_MACROENABLED_12 + """ + The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. + """ + commentCount: Int - """application/vnd.ms-excel.template.macroEnabled.12 mime type.""" - APPLICATION_VND_MS_EXCEL_TEMPLATE_MACROENABLED_12 + """Whether the comments are open or closed for this particular post.""" + commentStatus: String - """application/vnd.ms-powerpoint mime type.""" - APPLICATION_VND_MS_POWERPOINT + """Connection between the Post type and the Comment type""" + comments( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """application/vnd.ms-powerpoint.addin.macroEnabled.12 mime type.""" - APPLICATION_VND_MS_POWERPOINT_ADDIN_MACROENABLED_12 + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """application/vnd.ms-powerpoint.presentation.macroEnabled.12 mime type.""" - APPLICATION_VND_MS_POWERPOINT_PRESENTATION_MACROENABLED_12 + """The number of items to return after the referenced "after" cursor""" + first: Int - """application/vnd.ms-powerpoint.slideshow.macroEnabled.12 mime type.""" - APPLICATION_VND_MS_POWERPOINT_SLIDESHOW_MACROENABLED_12 + """The number of items to return before the referenced "before" cursor""" + last: Int - """application/vnd.ms-powerpoint.slide.macroEnabled.12 mime type.""" - APPLICATION_VND_MS_POWERPOINT_SLIDE_MACROENABLED_12 + """Arguments for filtering the connection""" + where: PostToCommentConnectionWhereArgs + ): PostToCommentConnection - """application/vnd.ms-powerpoint.template.macroEnabled.12 mime type.""" - APPLICATION_VND_MS_POWERPOINT_TEMPLATE_MACROENABLED_12 + """""" + conditionalTags: ConditionalTags @deprecated(reason: "Deprecated in favor of using Next.js pages") - """application/vnd.ms-project mime type.""" - APPLICATION_VND_MS_PROJECT + """The content of the post.""" + content( + """Format of the field output""" + format: PostObjectFieldFormatEnum + ): String - """application/vnd.ms-word.document.macroEnabled.12 mime type.""" - APPLICATION_VND_MS_WORD_DOCUMENT_MACROENABLED_12 + """Connection between the ContentNode type and the ContentType type""" + contentType: ContentNodeToContentTypeConnectionEdge - """application/vnd.ms-word.template.macroEnabled.12 mime type.""" - APPLICATION_VND_MS_WORD_TEMPLATE_MACROENABLED_12 + """The name of the Content Type the node belongs to""" + contentTypeName: String! - """application/vnd.ms-write mime type.""" - APPLICATION_VND_MS_WRITE + """The unique identifier stored in the database""" + databaseId: Int! - """application/vnd.ms-xpsdocument mime type.""" - APPLICATION_VND_MS_XPSDOCUMENT + """Post publishing date.""" + date: String - """application/vnd.oasis.opendocument.chart mime type.""" - APPLICATION_VND_OASIS_OPENDOCUMENT_CHART + """The publishing date set in GMT.""" + dateGmt: String - """application/vnd.oasis.opendocument.database mime type.""" - APPLICATION_VND_OASIS_OPENDOCUMENT_DATABASE + """The desired slug of the post""" + desiredSlug: String - """application/vnd.oasis.opendocument.formula mime type.""" - APPLICATION_VND_OASIS_OPENDOCUMENT_FORMULA + """ + If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds + """ + editingLockedBy: ContentNodeToEditLockConnectionEdge - """application/vnd.oasis.opendocument.graphics mime type.""" - APPLICATION_VND_OASIS_OPENDOCUMENT_GRAPHICS + """List of Post editor blocks""" + editorBlocks( + """Returns the list of blocks as a flat list if true""" + flat: Boolean + ): [PostEditorBlock] - """application/vnd.oasis.opendocument.presentation mime type.""" - APPLICATION_VND_OASIS_OPENDOCUMENT_PRESENTATION + """The RSS enclosure for the object""" + enclosure: String - """application/vnd.oasis.opendocument.spreadsheet mime type.""" - APPLICATION_VND_OASIS_OPENDOCUMENT_SPREADSHEET + """Connection between the ContentNode type and the EnqueuedScript type""" + enqueuedScripts( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """application/vnd.oasis.opendocument.text mime type.""" - APPLICATION_VND_OASIS_OPENDOCUMENT_TEXT + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """ - application/vnd.openxmlformats-officedocument.presentationml.presentation mime type. - """ - APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_PRESENTATION + """The number of items to return after the referenced "after" cursor""" + first: Int - """ - application/vnd.openxmlformats-officedocument.presentationml.slide mime type. - """ - APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_SLIDE + """The number of items to return before the referenced "before" cursor""" + last: Int + ): ContentNodeToEnqueuedScriptConnection """ - application/vnd.openxmlformats-officedocument.presentationml.slideshow mime type. + Connection between the ContentNode type and the EnqueuedStylesheet type """ - APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_SLIDESHOW + enqueuedStylesheets( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """ - application/vnd.openxmlformats-officedocument.presentationml.template mime type. - """ - APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_TEMPLATE + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """ - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet mime type. - """ - APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_SHEET + """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 + ): ContentNodeToEnqueuedStylesheetConnection + + """The excerpt of the post.""" + excerpt( + """Format of the field output""" + format: PostObjectFieldFormatEnum + ): String """ - application/vnd.openxmlformats-officedocument.spreadsheetml.template mime type. + Connection between the NodeWithFeaturedImage type and the MediaItem type """ - APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_TEMPLATE + featuredImage: NodeWithFeaturedImageToMediaItemConnectionEdge """ - application/vnd.openxmlformats-officedocument.wordprocessingml.document mime type. + The database identifier for the featured image node assigned to the content node """ - APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT + featuredImageDatabaseId: Int + + """Globally unique ID of the featured image assigned to the node""" + featuredImageId: ID """ - application/vnd.openxmlformats-officedocument.wordprocessingml.template mime type. + The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. """ - APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_TEMPLATE + guid: String - """application/wordperfect mime type.""" - APPLICATION_WORDPERFECT + """Whether the post object is password protected.""" + hasPassword: Boolean - """application/x-7z-compressed mime type.""" - APPLICATION_X_7Z_COMPRESSED + """The globally unique identifier of the post object.""" + id: ID! - """application/x-gzip mime type.""" - APPLICATION_X_GZIP + """Whether the node is a Comment""" + isComment: Boolean! - """application/x-tar mime type.""" - APPLICATION_X_TAR + """Whether the node is a Content Node""" + isContentNode: Boolean! - """application/zip mime type.""" - APPLICATION_ZIP + """Whether the node represents the front page.""" + isFrontPage: Boolean! - """audio/aac mime type.""" - AUDIO_AAC + """Whether the node represents the blog page.""" + isPostsPage: Boolean! - """audio/flac mime type.""" - AUDIO_FLAC + """Whether the object is a node in the preview state""" + isPreview: Boolean - """audio/midi mime type.""" - AUDIO_MIDI + """Whether the object is restricted from the current viewer""" + isRestricted: Boolean - """audio/mpeg mime type.""" - AUDIO_MPEG + """True if the node is a revision of another node""" + isRevision: Boolean - """audio/ogg mime type.""" - AUDIO_OGG + """Whether this page is sticky""" + isSticky: Boolean! - """audio/wav mime type.""" - AUDIO_WAV + """Whether the node is a Term""" + isTermNode: Boolean! - """audio/x-matroska mime type.""" - AUDIO_X_MATROSKA + """The user that most recently edited the node""" + lastEditedBy: ContentNodeToEditLastConnectionEdge - """audio/x-ms-wax mime type.""" - AUDIO_X_MS_WAX + """The permalink of the post""" + link: String - """audio/x-ms-wma mime type.""" - AUDIO_X_MS_WMA + """ + The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. + """ + modified: String - """audio/x-realaudio mime type.""" - AUDIO_X_REALAUDIO + """ + The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. + """ + modifiedGmt: String - """image/avif mime type.""" - IMAGE_AVIF + """The parent of the content node.""" + parent: PostToParentConnectionEdge @deprecated(reason: "This content type is not hierarchical and typically will not have a parent") - """image/bmp mime type.""" - IMAGE_BMP + """The password for the post object.""" + password: String - """image/gif mime type.""" - IMAGE_GIF + """Whether the pings are open or closed for this particular post.""" + pingStatus: String - """image/heic mime type.""" - IMAGE_HEIC + """URLs that have been pinged.""" + pinged: [String] - """image/jpeg mime type.""" - IMAGE_JPEG + """Connection between the Post type and the postFormat type""" + postFormats( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """image/png mime type.""" - IMAGE_PNG + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """image/tiff mime type.""" - IMAGE_TIFF + """The number of items to return after the referenced "after" cursor""" + first: Int - """image/webp mime type.""" - IMAGE_WEBP + """The number of items to return before the referenced "before" cursor""" + last: Int - """image/x-icon mime type.""" - IMAGE_X_ICON + """Arguments for filtering the connection""" + where: PostToPostFormatConnectionWhereArgs + ): PostToPostFormatConnection - """text/calendar mime type.""" - TEXT_CALENDAR + """The id field matches the WP_Post->ID field.""" + postId: Int! @deprecated(reason: "Deprecated in favor of the databaseId field") - """text/css mime type.""" - TEXT_CSS + """Connection between the Post type and the post type""" + preview: PostToPreviewConnectionEdge - """text/csv mime type.""" - TEXT_CSV + """The database id of the preview node""" + previewRevisionDatabaseId: Int - """text/plain mime type.""" - TEXT_PLAIN + """Whether the object is a node in the preview state""" + previewRevisionId: ID - """text/richtext mime type.""" - TEXT_RICHTEXT + """ + If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. + """ + revisionOf: NodeWithRevisionsToContentNodeConnectionEdge - """text/tab-separated-values mime type.""" - TEXT_TAB_SEPARATED_VALUES + """Connection between the Post type and the post type""" + revisions( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """text/vtt mime type.""" - TEXT_VTT + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """video/3gpp mime type.""" - VIDEO_3GPP + """The number of items to return after the referenced "after" cursor""" + first: Int - """video/3gpp2 mime type.""" - VIDEO_3GPP2 + """The number of items to return before the referenced "before" cursor""" + last: Int - """video/avi mime type.""" - VIDEO_AVI + """Arguments for filtering the connection""" + where: PostToRevisionConnectionWhereArgs + ): PostToRevisionConnection - """video/divx mime type.""" - VIDEO_DIVX + """ + 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. + """ + slug: String - """video/mp4 mime type.""" - VIDEO_MP4 + """The current status of the object""" + status: String - """video/mpeg mime type.""" - VIDEO_MPEG + """Connection between the Post type and the tag type""" + tags( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """video/ogg mime type.""" - VIDEO_OGG - - """video/quicktime mime type.""" - VIDEO_QUICKTIME - - """video/webm mime type.""" - VIDEO_WEBM - - """video/x-flv mime type.""" - VIDEO_X_FLV - - """video/x-matroska mime type.""" - VIDEO_X_MATROSKA - - """video/x-ms-asf mime type.""" - VIDEO_X_MS_ASF + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """video/x-ms-wm mime type.""" - VIDEO_X_MS_WM + """The number of items to return after the referenced "after" cursor""" + first: Int - """video/x-ms-wmv mime type.""" - VIDEO_X_MS_WMV + """The number of items to return before the referenced "before" cursor""" + last: Int - """video/x-ms-wmx mime type.""" - VIDEO_X_MS_WMX -} + """Arguments for filtering the connection""" + where: PostToTagConnectionWhereArgs + ): PostToTagConnection -"""An object with an ID""" -interface Node { - """The globally unique ID for the object""" - id: ID! -} + """The template assigned to the node""" + template: ContentTemplate -"""A node that can have an author assigned to it""" -interface NodeWithAuthor implements Node { - """Connection between the NodeWithAuthor type and the User type""" - author: NodeWithAuthorToUserConnectionEdge + """""" + templates: [String] - """The database identifier of the author of the node""" - authorDatabaseId: Int + """Connection between the Post type and the TermNode type""" + terms( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """The globally unique identifier of the author of the node""" - authorId: ID + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """The globally unique ID for the object""" - id: ID! -} + """The number of items to return after the referenced "after" cursor""" + first: Int -"""Connection between the NodeWithAuthor type and the User type""" -type NodeWithAuthorToUserConnectionEdge implements Edge & OneToOneConnection & UserConnectionEdge { - """ - Opaque reference to the nodes position in the connection. Value can be used with pagination args. - """ - cursor: String + """The number of items to return before the referenced "before" cursor""" + last: Int - """The node of the connection, without the edges""" - node: User! -} + """Arguments for filtering the connection""" + where: PostToTermNodeConnectionWhereArgs + ): PostToTermNodeConnection -"""A node that can have comments associated with it""" -interface NodeWithComments implements Node { """ - The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. + The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. """ - commentCount: Int - - """Whether the comments are open or closed for this particular post.""" - commentStatus: String - - """The globally unique ID for the object""" - id: ID! -} - -"""A node that supports the content editor""" -interface NodeWithContentEditor implements Node { - """The content of the post.""" - content( + title( """Format of the field output""" format: PostObjectFieldFormatEnum ): String - """The globally unique ID for the object""" - id: ID! -} - -"""Node that has content blocks associated with it""" -interface NodeWithEditorBlocks { - """List of editor blocks""" - editorBlocks( - """Returns the list of blocks as a flat list if true""" - flat: Boolean - ): [EditorBlock] -} - -"""A node that can have an excerpt""" -interface NodeWithExcerpt implements Node { - """The excerpt of the post.""" - excerpt( - """Format of the field output""" - format: PostObjectFieldFormatEnum - ): String + """URLs queued to be pinged.""" + toPing: [String] - """The globally unique ID for the object""" - id: ID! + """The unique resource identifier path""" + uri: String } -"""A node that can have a featured image set""" -interface NodeWithFeaturedImage implements Node { - """ - Connection between the NodeWithFeaturedImage type and the MediaItem type - """ - featuredImage: NodeWithFeaturedImageToMediaItemConnectionEdge - +"""Set relationships between the post to categories""" +input PostCategoriesInput { """ - The database identifier for the featured image node assigned to the content node + If true, this will append the category to existing related categories. If false, this will replace existing relationships. Default true. """ - featuredImageDatabaseId: Int - - """Globally unique ID of the featured image assigned to the node""" - featuredImageId: ID + append: Boolean - """The globally unique ID for the object""" - id: ID! + """The input list of items to set.""" + nodes: [PostCategoriesNodeInput] } """ -Connection between the NodeWithFeaturedImage type and the MediaItem type +List of categories to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. """ -type NodeWithFeaturedImageToMediaItemConnectionEdge implements Edge & MediaItemConnectionEdge & OneToOneConnection { +input PostCategoriesNodeInput { """ - Opaque reference to the nodes position in the connection. Value can be used with pagination args. + The description of the category. This field is used to set a description of the category if a new one is created during the mutation. """ - cursor: String - - """The node of the connection, without the edges""" - node: MediaItem! -} - -"""A node that can have page attributes""" -interface NodeWithPageAttributes implements Node { - """The globally unique ID for the object""" - id: ID! + description: String """ - A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. + The ID of the category. If present, this will be used to connect to the post. If no existing category exists with this ID, no connection will be made. """ - menuOrder: Int -} + id: ID -"""Node that has Page content blocks associated with it""" -interface NodeWithPageEditorBlocks implements NodeWithEditorBlocks { - """List of Page editor blocks""" - editorBlocks(flat: Boolean): [PageEditorBlock] -} + """ + The name of the category. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. + """ + name: String -"""Node that has Post content blocks associated with it""" -interface NodeWithPostEditorBlocks implements NodeWithEditorBlocks { - """List of Post editor blocks""" - editorBlocks(flat: Boolean): [PostEditorBlock] + """ + The slug of the category. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. + """ + slug: String } -"""A node that can have revisions""" -interface NodeWithRevisions implements Node { - """The globally unique ID for the object""" - id: ID! - - """True if the node is a revision of another node""" - isRevision: Boolean - +"""Connection to post Nodes""" +interface PostConnection implements Connection { """ - If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. + A list of edges (relational context) between RootQuery and connected post Nodes """ - revisionOf: NodeWithRevisionsToContentNodeConnectionEdge + edges: [PostConnectionEdge!]! + + """A list of connected post Nodes""" + nodes: [Post!]! + + """Information about pagination in a connection.""" + pageInfo: PostConnectionPageInfo! } -"""Connection between the NodeWithRevisions type and the ContentNode type""" -type NodeWithRevisionsToContentNodeConnectionEdge implements ContentNodeConnectionEdge & Edge & OneToOneConnection { +"""Edge between a Node and a connected post""" +interface PostConnectionEdge implements Edge { """ 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: ContentNode! + """The connected post Node""" + node: Post! } -"""A node that can have a template associated with it""" -interface NodeWithTemplate implements Node { - """The globally unique ID for the object""" - id: ID! - - """The template assigned to the node""" - template: ContentTemplate -} +"""Page Info on the connected PostConnectionEdge""" +interface PostConnectionPageInfo implements PageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String -"""A node that NodeWith a title""" -interface NodeWithTitle implements Node { - """The globally unique ID for the object""" - id: ID! + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! - """The Yoast SEO data of the ContentNode""" - seo: PostTypeSEO + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! - """ - The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. - """ - title( - """Format of the field output""" - format: PostObjectFieldFormatEnum - ): String + """When paginating backwards, the cursor to continue.""" + startCursor: String } -"""A node that can have trackbacks and pingbacks""" -interface NodeWithTrackbacks implements Node { - """The globally unique ID for the object""" - id: ID! +"""EditorBlock Interface for Post Block Type""" +interface PostEditorBlock implements EditorBlock { + """The API version of the Gutenberg Block""" + apiVersion: Int - """Whether the pings are open or closed for this particular post.""" - pingStatus: String + """The name of the category the Block belongs to""" + blockEditorCategoryName: String - """URLs that have been pinged.""" - pinged: [String] + """The id of the Block""" + clientId: String - """URLs queued to be pinged.""" - toPing: [String] -} + """CSS Classnames to apply to the block""" + cssClassNames: [String] -""" -A singular connection from one Node to another, with support for relational data on the "edge" of the connection. -""" -interface OneToOneConnection implements Edge { - """ - Opaque reference to the nodes position in the connection. Value can be used with pagination args. - """ - cursor: String + """The inner blocks of the Block""" + innerBlocks: [EditorBlock] - """The connected node""" - node: Node! -} + """Whether the block is Dynamic (server rendered)""" + isDynamic: Boolean! -"""The cardinality of the connection order""" -enum OrderEnum { - """Sort the query result set in an ascending order""" - ASC + """The name of the Block""" + name: String - """Sort the query result set in a descending order""" - DESC + """The parent id of the Block""" + parentClientId: String + + """The rendered HTML for the block""" + renderedHtml: String } -"""The page type""" -type Page implements ContentNode & DatabaseIdentifier & HierarchicalContentNode & HierarchicalNode & MenuItemLinkable & Node & NodeWithAuthor & NodeWithComments & NodeWithContentEditor & NodeWithEditorBlocks & NodeWithFeaturedImage & NodeWithPageAttributes & NodeWithPageEditorBlocks & NodeWithRevisions & NodeWithTemplate & NodeWithTitle & Previewable & UniformResourceIdentifiable { - """ - Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). - """ - ancestors( +"""The postFormat type""" +type PostFormat implements DatabaseIdentifier & Node & TermNode & UniformResourceIdentifiable { + """""" + conditionalTags: ConditionalTags @deprecated(reason: "Deprecated in favor of using Next.js pages") + + """Connection between the PostFormat type and the ContentNode type""" + contentNodes( """ Cursor used along with the "first" argument to reference where in the dataset to get data """ @@ -15890,22 +15870,20 @@ type Page implements ContentNode & DatabaseIdentifier & HierarchicalContentNode last: Int """Arguments for filtering the connection""" - where: HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs - ): HierarchicalContentNodeToContentNodeAncestorsConnection + where: PostFormatToContentNodeConnectionWhereArgs + ): PostFormatToContentNodeConnection - """Connection between the NodeWithAuthor type and the User type""" - author: NodeWithAuthorToUserConnectionEdge + """The number of objects connected to the object""" + count: Int - """The database identifier of the author of the node""" - authorDatabaseId: Int + """The unique identifier stored in the database""" + databaseId: Int! - """The globally unique identifier of the author of the node""" - authorId: ID + """The description of the object""" + description: String - """ - Connection between the HierarchicalContentNode type and the ContentNode type - """ - children( + """Connection between the TermNode type and the EnqueuedScript type""" + enqueuedScripts( """ Cursor used along with the "first" argument to reference where in the dataset to get data """ @@ -15921,21 +15899,10 @@ type Page implements ContentNode & DatabaseIdentifier & HierarchicalContentNode """The number of items to return before the referenced "before" cursor""" last: Int + ): TermNodeToEnqueuedScriptConnection - """Arguments for filtering the connection""" - where: HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs - ): HierarchicalContentNodeToContentNodeChildrenConnection - - """ - The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. - """ - commentCount: Int - - """Whether the comments are open or closed for this particular post.""" - commentStatus: String - - """Connection between the Page type and the Comment type""" - comments( + """Connection between the TermNode type and the EnqueuedStylesheet type""" + enqueuedStylesheets( """ Cursor used along with the "first" argument to reference where in the dataset to get data """ @@ -15951,51 +15918,40 @@ type Page implements ContentNode & DatabaseIdentifier & HierarchicalContentNode """The number of items to return before the referenced "before" cursor""" last: Int + ): TermNodeToEnqueuedStylesheetConnection - """Arguments for filtering the connection""" - where: PageToCommentConnectionWhereArgs - ): PageToCommentConnection - - """""" - conditionalTags: ConditionalTags @deprecated(reason: "Deprecated in favor of using Next.js pages") - - """The content of the post.""" - content( - """Format of the field output""" - format: PostObjectFieldFormatEnum - ): String + """The globally unique ID for the object""" + id: ID! - """Connection between the ContentNode type and the ContentType type""" - contentType: ContentNodeToContentTypeConnectionEdge + """Whether the node is a Comment""" + isComment: Boolean! - """The name of the Content Type the node belongs to""" - contentTypeName: String! + """Whether the node is a Content Node""" + isContentNode: Boolean! - """The unique identifier stored in the database""" - databaseId: Int! + """Whether the node represents the front page.""" + isFrontPage: Boolean! - """Post publishing date.""" - date: String + """Whether the node represents the blog page.""" + isPostsPage: Boolean! - """The publishing date set in GMT.""" - dateGmt: String + """Whether the object is restricted from the current viewer""" + isRestricted: Boolean - """The desired slug of the post""" - desiredSlug: String + """Whether the node is a Term""" + isTermNode: Boolean! - """ - If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - """ - editingLockedBy: ContentNodeToEditLockConnectionEdge + """The link to the term""" + link: String - """List of Page editor blocks""" - editorBlocks(flat: Boolean): [PageEditorBlock] + """The human friendly name of the object.""" + name: String - """The RSS enclosure for the object""" - enclosure: String + """The id field matches the WP_Post->ID field.""" + postFormatId: Int @deprecated(reason: "Deprecated in favor of databaseId") - """Connection between the ContentNode type and the EnqueuedScript type""" - enqueuedScripts( + """Connection between the PostFormat type and the post type""" + posts( """ Cursor used along with the "first" argument to reference where in the dataset to get data """ @@ -16011,208 +15967,114 @@ type Page implements ContentNode & DatabaseIdentifier & HierarchicalContentNode """The number of items to return before the referenced "before" cursor""" last: Int - ): ContentNodeToEnqueuedScriptConnection - """ - Connection between the ContentNode type and the EnqueuedStylesheet type - """ - enqueuedStylesheets( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String + """Arguments for filtering the connection""" + where: PostFormatToPostConnectionWhereArgs + ): PostFormatToPostConnection - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """An alphanumeric identifier for the object unique to its type.""" + slug: String - """The number of items to return after the referenced "after" cursor""" - first: Int + """Connection between the PostFormat type and the Taxonomy type""" + taxonomy: PostFormatToTaxonomyConnectionEdge - """The number of items to return before the referenced "before" cursor""" - last: Int - ): ContentNodeToEnqueuedStylesheetConnection + """The name of the taxonomy that the object is associated with""" + taxonomyName: String - """ - Connection between the NodeWithFeaturedImage type and the MediaItem type - """ - featuredImage: NodeWithFeaturedImageToMediaItemConnectionEdge + """""" + templates: [String] - """ - The database identifier for the featured image node assigned to the content node - """ - featuredImageDatabaseId: Int + """The ID of the term group that this term object belongs to""" + termGroupId: Int - """Globally unique ID of the featured image assigned to the node""" - featuredImageId: ID + """The taxonomy ID that the object is associated with""" + termTaxonomyId: Int + + """The unique resource identifier path""" + uri: String +} +"""Connection to postFormat Nodes""" +interface PostFormatConnection implements Connection { """ - The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. + A list of edges (relational context) between RootQuery and connected postFormat Nodes """ - guid: String + edges: [PostFormatConnectionEdge!]! - """Whether the page object is password protected.""" - hasPassword: Boolean + """A list of connected postFormat Nodes""" + nodes: [PostFormat!]! - """The globally unique identifier of the page object.""" - id: ID! + """Information about pagination in a connection.""" + pageInfo: PostFormatConnectionPageInfo! +} - """Whether the node is a Comment""" - isComment: Boolean! +"""Edge between a Node and a connected postFormat""" +interface PostFormatConnectionEdge implements Edge { + """ + Opaque reference to the nodes position in the connection. Value can be used with pagination args. + """ + cursor: String - """Whether the node is a Content Node""" - isContentNode: Boolean! + """The connected postFormat Node""" + node: PostFormat! +} - """Whether this page is set to the static front page.""" - isFrontPage: Boolean! +"""Page Info on the connected PostFormatConnectionEdge""" +interface PostFormatConnectionPageInfo implements PageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String - """Whether this page is set to the blog posts page.""" - isPostsPage: Boolean! + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! - """Whether the object is a node in the preview state""" - isPreview: Boolean + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! - """Whether this page is set to the privacy page.""" - isPrivacyPage: Boolean! + """When paginating backwards, the cursor to continue.""" + startCursor: String +} - """Whether the object is restricted from the current viewer""" - isRestricted: Boolean +"""The Type of Identifier used to fetch a single resource. Default is ID.""" +enum PostFormatIdType { + """The Database ID for the node""" + DATABASE_ID - """True if the node is a revision of another node""" - isRevision: Boolean + """The hashed Global ID""" + ID - """Whether the node is a Term""" - isTermNode: Boolean! + """The name of the node""" + NAME - """The user that most recently edited the node""" - lastEditedBy: ContentNodeToEditLastConnectionEdge + """Url friendly name of the node""" + SLUG - """The permalink of the post""" - link: String + """The URI for the node""" + URI +} - """ - A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. - """ - menuOrder: Int - - """ - The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - """ - modified: String - - """ - The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. - """ - modifiedGmt: String - - """The id field matches the WP_Post->ID field.""" - pageId: Int! @deprecated(reason: "Deprecated in favor of the databaseId field") - - """The parent of the node. The parent object can be of various types""" - parent: HierarchicalContentNodeToParentContentNodeConnectionEdge - - """Database id of the parent node""" - parentDatabaseId: Int - - """The globally unique identifier of the parent node.""" - parentId: ID - - """The password for the page object.""" - password: String - - """Connection between the Page type and the page type""" - preview: PageToPreviewConnectionEdge - - """The database id of the preview node""" - previewRevisionDatabaseId: Int - - """Whether the object is a node in the preview state""" - previewRevisionId: ID - - """ - If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. - """ - revisionOf: NodeWithRevisionsToContentNodeConnectionEdge - - """Connection between the Page type and the page type""" - revisions( - """ - 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: PageToRevisionConnectionWhereArgs - ): PageToRevisionConnection - - """The Yoast SEO data of the ContentNode""" - seo: PostTypeSEO - - """ - 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. - """ - slug: String - - """The current status of the object""" - status: String - - """The template assigned to a node of content""" - template: ContentTemplate - - """""" - templates: [String] - - """ - The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. - """ - title( - """Format of the field output""" - format: PostObjectFieldFormatEnum - ): String - - """The unique resource identifier path""" - uri: String -} - -"""Connection to page Nodes""" -interface PageConnection implements Connection { - """ - A list of edges (relational context) between RootQuery and connected page Nodes - """ - edges: [PageConnectionEdge!]! +"""Connection between the PostFormat type and the ContentNode type""" +type PostFormatToContentNodeConnection implements Connection & ContentNodeConnection { + """Edges for the PostFormatToContentNodeConnection connection""" + edges: [PostFormatToContentNodeConnectionEdge!]! - """A list of connected page Nodes""" - nodes: [Page!]! + """The nodes of the connection, without the edges""" + nodes: [ContentNode!]! """Information about pagination in a connection.""" - pageInfo: PageConnectionPageInfo! + pageInfo: PostFormatToContentNodeConnectionPageInfo! } -"""Edge between a Node and a connected page""" -interface PageConnectionEdge implements Edge { - """ - Opaque reference to the nodes position in the connection. Value can be used with pagination args. - """ +"""An edge in a connection""" +type PostFormatToContentNodeConnectionEdge implements ContentNodeConnectionEdge & Edge { + """A cursor for use in pagination""" cursor: String - """The connected page Node""" - node: Page! + """The item at the end of the edge""" + node: ContentNode! } -"""Page Info on the connected PageConnectionEdge""" -interface PageConnectionPageInfo implements PageInfo & WPPageInfo { +"""Page Info on the "PostFormatToContentNodeConnection"""" +type PostFormatToContentNodeConnectionPageInfo implements ContentNodeConnectionPageInfo & PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -16222,93 +16084,96 @@ interface PageConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -"""EditorBlock Interface for Page Block Type""" -interface PageEditorBlock implements EditorBlock { - """The API version of the Gutenberg Block""" - apiVersion: Int +""" +Arguments for filtering the PostFormatToContentNodeConnection connection +""" +input PostFormatToContentNodeConnectionWhereArgs { + """The Types of content to filter""" + contentTypes: [ContentTypesOfPostFormatEnum] - """The name of the category the Block belongs to""" - blockEditorCategoryName: String + """Filter the connection based on dates""" + dateQuery: DateQueryInput - """The id of the Block""" - clientId: String + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean - """CSS Classnames to apply to the block""" - cssClassNames: [String] + """Specific database ID of the object""" + id: Int - """The inner blocks of the Block""" - innerBlocks: [EditorBlock] + """Array of IDs for the objects to retrieve""" + in: [ID] - """Whether the block is Dynamic (server rendered)""" - isDynamic: Boolean! + """Get objects with a specific mimeType property""" + mimeType: MimeTypeEnum - """The name of the Block""" + """Slug / post_name of the object""" name: String - """The parent id of the Block""" - parentClientId: String + """Specify objects to retrieve. Use slugs""" + nameIn: [String] - """The rendered HTML for the block""" - renderedHtml: String -} + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] -"""The Type of Identifier used to fetch a single resource. Default is ID.""" -enum PageIdType { - """Identify a resource by the Database ID.""" - DATABASE_ID + """What parameter to use to order the objects by.""" + orderby: [PostObjectsConnectionOrderbyInput] - """Identify a resource by the (hashed) Global ID.""" - ID + """Use ID to return only children. Use 0 to return only top-level items""" + parent: ID - """Identify a resource by the URI.""" - URI -} + """Specify objects whose parent is in an array""" + parentIn: [ID] -"""Information about pagination in a connection.""" -interface PageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String + """Specify posts whose parent is not in an array""" + parentNotIn: [ID] - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! + """Show posts with a specific password.""" + password: String - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """Show Posts based on a keyword search""" + search: String - """When paginating backwards, the cursor to continue.""" - startCursor: String + """Retrieve posts where post status is in an array.""" + stati: [PostStatusEnum] + + """Show posts with a specific status.""" + status: PostStatusEnum + + """Title of the object""" + title: String } -"""Connection between the Page type and the Comment type""" -type PageToCommentConnection implements CommentConnection & Connection { - """Edges for the PageToCommentConnection connection""" - edges: [PageToCommentConnectionEdge!]! +"""Connection between the PostFormat type and the post type""" +type PostFormatToPostConnection implements Connection & PostConnection { + """Edges for the PostFormatToPostConnection connection""" + edges: [PostFormatToPostConnectionEdge!]! """The nodes of the connection, without the edges""" - nodes: [Comment!]! + nodes: [Post!]! """Information about pagination in a connection.""" - pageInfo: PageToCommentConnectionPageInfo! + pageInfo: PostFormatToPostConnectionPageInfo! } """An edge in a connection""" -type PageToCommentConnectionEdge implements CommentConnectionEdge & Edge { +type PostFormatToPostConnectionEdge implements Edge & PostConnectionEdge { """A cursor for use in pagination""" cursor: String """The item at the end of the edge""" - node: Comment! + node: Post! } -"""Page Info on the "PageToCommentConnection"""" -type PageToCommentConnectionPageInfo implements CommentConnectionPageInfo & PageInfo & WPPageInfo { +"""Page Info on the "PostFormatToPostConnection"""" +type PostFormatToPostConnectionPageInfo implements PageInfo & PostConnectionPageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -16318,178 +16183,43 @@ type PageToCommentConnectionPageInfo implements CommentConnectionPageInfo & Page """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -"""Arguments for filtering the PageToCommentConnection connection""" -input PageToCommentConnectionWhereArgs { - """Comment author email address.""" - authorEmail: String +"""Arguments for filtering the PostFormatToPostConnection connection""" +input PostFormatToPostConnectionWhereArgs { + """ + The user that's connected as the author of the object. Use the userId for the author object. + """ + author: Int - """Array of author IDs to include comments for.""" + """Find objects connected to author(s) in the array of author's userIds""" authorIn: [ID] - """Array of author IDs to exclude comments for.""" - authorNotIn: [ID] - - """Comment author URL.""" - authorUrl: String - - """Array of comment IDs to include.""" - commentIn: [ID] + """Find objects connected to the author by the author's nicename""" + authorName: String """ - Array of IDs of users whose unapproved comments will be returned by the query regardless of status. + Find objects NOT connected to author(s) in the array of author's userIds """ - commentNotIn: [ID] - - """Include comments of a given type.""" - commentType: String - - """Include comments from a given array of comment types.""" - commentTypeIn: [String] - - """Exclude comments from a given array of comment types.""" - commentTypeNotIn: String - - """Content object author ID to limit results by.""" - contentAuthor: [ID] - - """Array of author IDs to retrieve comments for.""" - contentAuthorIn: [ID] - - """Array of author IDs *not* to retrieve comments for.""" - contentAuthorNotIn: [ID] - - """Limit results to those affiliated with a given content object ID.""" - contentId: ID - - """Array of content object IDs to include affiliated comments for.""" - contentIdIn: [ID] - - """Array of content object IDs to exclude affiliated comments for.""" - contentIdNotIn: [ID] - - """Content object name (i.e. slug ) to retrieve affiliated comments for.""" - contentName: String - - """Content Object parent ID to retrieve affiliated comments for.""" - contentParent: Int - - """ - Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. - """ - contentStatus: [PostStatusEnum] - - """ - Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. - """ - contentType: [ContentTypeEnum] - - """ - Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty - """ - includeUnapproved: [ID] - - """Karma score to retrieve matching comments for.""" - karma: Int - - """The cardinality of the order of the connection""" - order: OrderEnum - - """Field to order the comments by.""" - orderby: CommentsConnectionOrderbyEnum - - """Parent ID of comment to retrieve children of.""" - parent: Int - - """Array of parent IDs of comments to retrieve children for.""" - parentIn: [ID] - - """Array of parent IDs of comments *not* to retrieve children for.""" - parentNotIn: [ID] - - """Search term(s) to retrieve matching comments for.""" - search: String - - """Comment status to limit results by.""" - status: String - - """Include comments for a specific user ID.""" - userId: ID -} - -"""Connection between the Page type and the page type""" -type PageToPreviewConnectionEdge implements Edge & OneToOneConnection & PageConnectionEdge { - """ - 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: Page! -} - -"""Connection between the Page type and the page type""" -type PageToRevisionConnection implements Connection & PageConnection { - """Edges for the PageToRevisionConnection connection""" - edges: [PageToRevisionConnectionEdge!]! - - """The nodes of the connection, without the edges""" - nodes: [Page!]! - - """Information about pagination in a connection.""" - pageInfo: PageToRevisionConnectionPageInfo! -} - -"""An edge in a connection""" -type PageToRevisionConnectionEdge implements Edge & PageConnectionEdge { - """A cursor for use in pagination""" - cursor: String - - """The item at the end of the edge""" - node: Page! -} - -"""Page Info on the "PageToRevisionConnection"""" -type PageToRevisionConnectionPageInfo implements PageConnectionPageInfo & 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! - - """Raw schema for page""" - seo: SEOPostTypePageInfo + authorNotIn: [ID] - """When paginating backwards, the cursor to continue.""" - startCursor: String -} + """Category ID""" + categoryId: Int -"""Arguments for filtering the PageToRevisionConnection connection""" -input PageToRevisionConnectionWhereArgs { """ - The user that's connected as the author of the object. Use the userId for the author object. + Array of category IDs, used to display objects from one category OR another """ - author: Int - - """Find objects connected to author(s) in the array of author's userIds""" - authorIn: [ID] + categoryIn: [ID] - """Find objects connected to the author by the author's nicename""" - authorName: String + """Use Category Slug""" + categoryName: String """ - Find objects NOT connected to author(s) in the array of author's userIds + Array of category IDs, used to display objects from one category OR another """ - authorNotIn: [ID] + categoryNotIn: [ID] """Filter the connection based on dates""" dateQuery: DateQueryInput @@ -16543,532 +16273,521 @@ input PageToRevisionConnectionWhereArgs { """Show posts with a specific status.""" status: PostStatusEnum - """Title of the object""" - title: String -} - -"""An plugin object""" -type Plugin implements Node { - """Name of the plugin author(s), may also be a company name.""" - author: String + """Tag Slug""" + tag: String - """URI for the related author(s)/company website.""" - authorUri: String + """Use Tag ID""" + tagId: String - """Description of the plugin.""" - description: String + """Array of tag IDs, used to display objects from one tag OR another""" + tagIn: [ID] - """The globally unique identifier of the plugin object.""" - id: ID! + """Array of tag IDs, used to display objects from one tag OR another""" + tagNotIn: [ID] - """Whether the object is restricted from the current viewer""" - isRestricted: Boolean + """Array of tag slugs, used to display objects from one tag AND another""" + tagSlugAnd: [String] - """Display name of the plugin.""" - name: String + """Array of tag slugs, used to include objects in ANY specified tags""" + tagSlugIn: [String] - """Plugin path.""" - path: String + """Title of the object""" + title: String +} +"""Connection between the PostFormat type and the Taxonomy type""" +type PostFormatToTaxonomyConnectionEdge implements Edge & OneToOneConnection & TaxonomyConnectionEdge { """ - URI for the plugin website. This is useful for directing users for support requests etc. + Opaque reference to the nodes position in the connection. Value can be used with pagination args. """ - pluginUri: String + cursor: String - """Current version of the plugin.""" - version: String + """The node of the connection, without the edges""" + node: Taxonomy! } -"""Connection to Plugin Nodes""" -interface PluginConnection implements Connection { +"""The Type of Identifier used to fetch a single resource. Default is ID.""" +enum PostIdType { + """Identify a resource by the Database ID.""" + DATABASE_ID + + """Identify a resource by the (hashed) Global ID.""" + ID + """ - A list of edges (relational context) between RootQuery and connected Plugin Nodes + Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. """ - edges: [PluginConnectionEdge!]! - - """A list of connected Plugin Nodes""" - nodes: [Plugin!]! + SLUG - """Information about pagination in a connection.""" - pageInfo: PluginConnectionPageInfo! + """Identify a resource by the URI.""" + URI } -"""Edge between a Node and a connected Plugin""" -interface PluginConnectionEdge implements Edge { +"""The format of post field data.""" +enum PostObjectFieldFormatEnum { """ - Opaque reference to the nodes position in the connection. Value can be used with pagination args. + Provide the field value directly from database. Null on unauthenticated requests. """ - cursor: String + RAW - """The connected Plugin Node""" - node: Plugin! + """Provide the field value as rendered by WordPress. Default.""" + RENDERED } -"""Page Info on the connected PluginConnectionEdge""" -interface PluginConnectionPageInfo implements 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! - - """Raw schema for page""" - seo: SEOPostTypePageInfo +"""The column to use when filtering by date""" +enum PostObjectsConnectionDateColumnEnum { + """The date the comment was created in local time.""" + DATE - """When paginating backwards, the cursor to continue.""" - startCursor: String + """The most recent modification date of the comment.""" + MODIFIED } -"""The status of the WordPress plugin.""" -enum PluginStatusEnum { - """The plugin is currently active.""" - ACTIVE +"""Field to order the connection by""" +enum PostObjectsConnectionOrderbyEnum { + """Order by author""" + AUTHOR - """The plugin is a drop-in plugin.""" - DROP_IN + """Order by the number of comments it has acquired""" + COMMENT_COUNT - """The plugin is currently inactive.""" - INACTIVE + """Order by publish date""" + DATE - """The plugin is a must-use plugin.""" - MUST_USE + """Preserve the ID order given in the IN array""" + IN - """The plugin is technically active but was paused while loading.""" - PAUSED + """Order by the menu order value""" + MENU_ORDER - """The plugin was active recently.""" - RECENTLY_ACTIVE + """Order by last modified date""" + MODIFIED - """The plugin has an upgrade available.""" - UPGRADE -} + """Preserve slug order given in the NAME_IN array""" + NAME_IN -"""The post type""" -type Post implements ContentNode & DatabaseIdentifier & MenuItemLinkable & Node & NodeWithAuthor & NodeWithComments & NodeWithContentEditor & NodeWithEditorBlocks & NodeWithExcerpt & NodeWithFeaturedImage & NodeWithPostEditorBlocks & NodeWithRevisions & NodeWithTemplate & NodeWithTitle & NodeWithTrackbacks & Previewable & UniformResourceIdentifiable { - """Connection between the NodeWithAuthor type and the User type""" - author: NodeWithAuthorToUserConnectionEdge + """Order by parent ID""" + PARENT - """The database identifier of the author of the node""" - authorDatabaseId: Int + """Order by slug""" + SLUG - """The globally unique identifier of the author of the node""" - authorId: ID + """Order by title""" + TITLE +} - """Connection between the Post type and the category type""" - categories( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String +"""Options for ordering the connection""" +input PostObjectsConnectionOrderbyInput { + """The field to order the connection by""" + field: PostObjectsConnectionOrderbyEnum! - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """Possible directions in which to order a list of items""" + order: OrderEnum! +} - """The number of items to return after the referenced "after" cursor""" - first: Int +"""Set relationships between the post to postFormats""" +input PostPostFormatsInput { + """ + If true, this will append the postFormat to existing related postFormats. If false, this will replace existing relationships. Default true. + """ + append: Boolean - """The number of items to return before the referenced "before" cursor""" - last: Int + """The input list of items to set.""" + nodes: [PostPostFormatsNodeInput] +} - """Arguments for filtering the connection""" - where: PostToCategoryConnectionWhereArgs - ): PostToCategoryConnection +""" +List of postFormats to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. +""" +input PostPostFormatsNodeInput { + """ + The description of the postFormat. This field is used to set a description of the postFormat if a new one is created during the mutation. + """ + description: String """ - The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. + The ID of the postFormat. If present, this will be used to connect to the post. If no existing postFormat exists with this ID, no connection will be made. """ - commentCount: Int + id: ID - """Whether the comments are open or closed for this particular post.""" - commentStatus: String + """ + The name of the postFormat. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. + """ + name: String - """Connection between the Post type and the Comment type""" - comments( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String + """ + The slug of the postFormat. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. + """ + slug: String +} - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String +"""The status of the object.""" +enum PostStatusEnum { + """Objects with the auto-draft status""" + AUTO_DRAFT - """The number of items to return after the referenced "after" cursor""" - first: Int + """Objects with the draft status""" + DRAFT - """The number of items to return before the referenced "before" cursor""" - last: Int + """Objects with the future status""" + FUTURE - """Arguments for filtering the connection""" - where: PostToCommentConnectionWhereArgs - ): PostToCommentConnection + """Objects with the inherit status""" + INHERIT - """""" - conditionalTags: ConditionalTags @deprecated(reason: "Deprecated in favor of using Next.js pages") + """Objects with the pending status""" + PENDING - """The content of the post.""" - content( - """Format of the field output""" - format: PostObjectFieldFormatEnum - ): String + """Objects with the private status""" + PRIVATE - """Connection between the ContentNode type and the ContentType type""" - contentType: ContentNodeToContentTypeConnectionEdge + """Objects with the publish status""" + PUBLISH - """The name of the Content Type the node belongs to""" - contentTypeName: String! + """Objects with the request-completed status""" + REQUEST_COMPLETED - """The unique identifier stored in the database""" - databaseId: Int! + """Objects with the request-confirmed status""" + REQUEST_CONFIRMED - """Post publishing date.""" - date: String + """Objects with the request-failed status""" + REQUEST_FAILED - """The publishing date set in GMT.""" - dateGmt: String + """Objects with the request-pending status""" + REQUEST_PENDING - """The desired slug of the post""" - desiredSlug: String + """Objects with the trash status""" + TRASH +} +"""Set relationships between the post to tags""" +input PostTagsInput { """ - If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds + If true, this will append the tag to existing related tags. If false, this will replace existing relationships. Default true. """ - editingLockedBy: ContentNodeToEditLockConnectionEdge - - """List of Post editor blocks""" - editorBlocks(flat: Boolean): [PostEditorBlock] - - """The RSS enclosure for the object""" - enclosure: String - - """Connection between the ContentNode type and the EnqueuedScript type""" - enqueuedScripts( - """ - 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 + append: Boolean - """The number of items to return before the referenced "before" cursor""" - last: Int - ): ContentNodeToEnqueuedScriptConnection + """The input list of items to set.""" + nodes: [PostTagsNodeInput] +} +""" +List of tags to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. +""" +input PostTagsNodeInput { """ - Connection between the ContentNode type and the EnqueuedStylesheet type + The description of the tag. This field is used to set a description of the tag if a new one is created during the mutation. """ - enqueuedStylesheets( - """ - 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 - ): ContentNodeToEnqueuedStylesheetConnection - - """The excerpt of the post.""" - excerpt( - """Format of the field output""" - format: PostObjectFieldFormatEnum - ): String + description: String """ - Connection between the NodeWithFeaturedImage type and the MediaItem type + The ID of the tag. If present, this will be used to connect to the post. If no existing tag exists with this ID, no connection will be made. """ - featuredImage: NodeWithFeaturedImageToMediaItemConnectionEdge + id: ID """ - The database identifier for the featured image node assigned to the content node + The name of the tag. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. """ - featuredImageDatabaseId: Int - - """Globally unique ID of the featured image assigned to the node""" - featuredImageId: ID + name: String """ - The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. + The slug of the tag. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. """ - guid: String + slug: String +} - """Whether the post object is password protected.""" - hasPassword: Boolean +"""Connection between the Post type and the category type""" +type PostToCategoryConnection implements CategoryConnection & Connection { + """Edges for the PostToCategoryConnection connection""" + edges: [PostToCategoryConnectionEdge!]! - """The globally unique identifier of the post object.""" - id: ID! + """The nodes of the connection, without the edges""" + nodes: [Category!]! - """Whether the node is a Comment""" - isComment: Boolean! + """Information about pagination in a connection.""" + pageInfo: PostToCategoryConnectionPageInfo! +} - """Whether the node is a Content Node""" - isContentNode: Boolean! +"""An edge in a connection""" +type PostToCategoryConnectionEdge implements CategoryConnectionEdge & Edge { + """A cursor for use in pagination""" + cursor: String - """Whether the node represents the front page.""" - isFrontPage: Boolean! + """The item at the end of the edge""" + node: Category! +} - """Whether the node represents the blog page.""" - isPostsPage: Boolean! - - """Whether the object is a node in the preview state""" - isPreview: Boolean - - """Whether the object is restricted from the current viewer""" - isRestricted: Boolean - - """True if the node is a revision of another node""" - isRevision: Boolean - - """Whether this page is sticky""" - isSticky: Boolean! +"""Page Info on the "PostToCategoryConnection"""" +type PostToCategoryConnectionPageInfo implements CategoryConnectionPageInfo & PageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String - """Whether the node is a Term""" - isTermNode: Boolean! + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! - """The user that most recently edited the node""" - lastEditedBy: ContentNodeToEditLastConnectionEdge + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! - """The permalink of the post""" - link: String + """When paginating backwards, the cursor to continue.""" + startCursor: String +} +"""Arguments for filtering the PostToCategoryConnection connection""" +input PostToCategoryConnectionWhereArgs { """ - The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. """ - modified: String + cacheDomain: String """ - The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. """ - modifiedGmt: String + childOf: Int - """The password for the post object.""" - password: String + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean - """Whether the pings are open or closed for this particular post.""" - pingStatus: String + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String - """URLs that have been pinged.""" - pinged: [String] + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] - """Connection between the Post type and the postFormat type""" - postFormats( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean - """The number of items to return after the referenced "after" cursor""" - first: Int + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean - """The number of items to return before the referenced "before" cursor""" - last: Int + """Array of term ids to include. Default empty array.""" + include: [ID] - """Arguments for filtering the connection""" - where: PostToPostFormatConnectionWhereArgs - ): PostToPostFormatConnection + """Array of names to return term(s) for. Default empty.""" + name: [String] - """The id field matches the WP_Post->ID field.""" - postId: Int! @deprecated(reason: "Deprecated in favor of the databaseId field") + """Retrieve terms where the name is LIKE the input value. Default empty.""" + nameLike: String - """Connection between the Post type and the post type""" - preview: PostToPreviewConnectionEdge + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] - """The database id of the preview node""" - previewRevisionDatabaseId: Int + """Direction the connection should be ordered in""" + order: OrderEnum - """Whether the object is a node in the preview state""" - previewRevisionId: ID + """Field(s) to order terms by. Defaults to 'name'.""" + orderby: TermObjectsConnectionOrderbyEnum """ - If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. """ - revisionOf: NodeWithRevisionsToContentNodeConnectionEdge + padCounts: Boolean - """Connection between the Post type and the post type""" - revisions( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String + """Parent term ID to retrieve direct-child terms of. Default empty.""" + parent: Int - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String - """The number of items to return after the referenced "after" cursor""" - first: Int + """Array of slugs to return term(s) for. Default empty.""" + slug: [String] - """The number of items to return before the referenced "before" cursor""" - last: Int + """Array of term taxonomy IDs, to match when querying terms.""" + termTaxonomId: [ID] - """Arguments for filtering the connection""" - where: PostToRevisionConnectionWhereArgs - ): PostToRevisionConnection + """Array of term taxonomy IDs, to match when querying terms.""" + termTaxonomyId: [ID] - """The Yoast SEO data of the ContentNode""" - seo: PostTypeSEO + """Whether to prime meta caches for matched terms. Default true.""" + updateTermMetaCache: Boolean +} - """ - 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. - """ - slug: String +"""Connection between the Post type and the Comment type""" +type PostToCommentConnection implements CommentConnection & Connection { + """Edges for the PostToCommentConnection connection""" + edges: [PostToCommentConnectionEdge!]! - """The current status of the object""" - status: String + """The nodes of the connection, without the edges""" + nodes: [Comment!]! - """Connection between the Post type and the tag type""" - tags( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String + """Information about pagination in a connection.""" + pageInfo: PostToCommentConnectionPageInfo! +} - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String +"""An edge in a connection""" +type PostToCommentConnectionEdge implements CommentConnectionEdge & Edge { + """A cursor for use in pagination""" + cursor: String - """The number of items to return after the referenced "after" cursor""" - first: Int + """The item at the end of the edge""" + node: Comment! +} - """The number of items to return before the referenced "before" cursor""" - last: Int +"""Page Info on the "PostToCommentConnection"""" +type PostToCommentConnectionPageInfo implements CommentConnectionPageInfo & PageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String - """Arguments for filtering the connection""" - where: PostToTagConnectionWhereArgs - ): PostToTagConnection + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! - """The template assigned to the node""" - template: ContentTemplate + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! - """""" - templates: [String] + """When paginating backwards, the cursor to continue.""" + startCursor: String +} - """Connection between the Post type and the TermNode type""" - terms( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String +"""Arguments for filtering the PostToCommentConnection connection""" +input PostToCommentConnectionWhereArgs { + """Comment author email address.""" + authorEmail: String - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """Array of author IDs to include comments for.""" + authorIn: [ID] - """The number of items to return after the referenced "after" cursor""" - first: Int + """Array of author IDs to exclude comments for.""" + authorNotIn: [ID] - """The number of items to return before the referenced "before" cursor""" - last: Int + """Comment author URL.""" + authorUrl: String - """Arguments for filtering the connection""" - where: PostToTermNodeConnectionWhereArgs - ): PostToTermNodeConnection + """Array of comment IDs to include.""" + commentIn: [ID] """ - The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. + Array of IDs of users whose unapproved comments will be returned by the query regardless of status. """ - title( - """Format of the field output""" - format: PostObjectFieldFormatEnum - ): String - - """URLs queued to be pinged.""" - toPing: [String] + commentNotIn: [ID] - """The unique resource identifier path""" - uri: String -} + """Include comments of a given type.""" + commentType: String -"""Set relationships between the post to categories""" -input PostCategoriesInput { - """ - If true, this will append the category to existing related categories. If false, this will replace existing relationships. Default true. - """ - append: Boolean + """Include comments from a given array of comment types.""" + commentTypeIn: [String] - """The input list of items to set.""" - nodes: [PostCategoriesNodeInput] -} + """Exclude comments from a given array of comment types.""" + commentTypeNotIn: String -""" -List of categories to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. -""" -input PostCategoriesNodeInput { - """ - The description of the category. This field is used to set a description of the category if a new one is created during the mutation. - """ - description: String + """Content object author ID to limit results by.""" + contentAuthor: [ID] + + """Array of author IDs to retrieve comments for.""" + contentAuthorIn: [ID] + + """Array of author IDs *not* to retrieve comments for.""" + contentAuthorNotIn: [ID] + + """Limit results to those affiliated with a given content object ID.""" + contentId: ID + + """Array of content object IDs to include affiliated comments for.""" + contentIdIn: [ID] + + """Array of content object IDs to exclude affiliated comments for.""" + contentIdNotIn: [ID] + + """Content object name (i.e. slug ) to retrieve affiliated comments for.""" + contentName: String + + """Content Object parent ID to retrieve affiliated comments for.""" + contentParent: Int """ - The ID of the category. If present, this will be used to connect to the post. If no existing category exists with this ID, no connection will be made. + Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. """ - id: ID + contentStatus: [PostStatusEnum] """ - The name of the category. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. + Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. """ - name: String + contentType: [ContentTypeEnum] """ - The slug of the category. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. + Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty """ - slug: String + includeUnapproved: [ID] + + """Karma score to retrieve matching comments for.""" + karma: Int + + """The cardinality of the order of the connection""" + order: OrderEnum + + """Field to order the comments by.""" + orderby: CommentsConnectionOrderbyEnum + + """Parent ID of comment to retrieve children of.""" + parent: Int + + """Array of parent IDs of comments to retrieve children for.""" + parentIn: [ID] + + """Array of parent IDs of comments *not* to retrieve children for.""" + parentNotIn: [ID] + + """Search term(s) to retrieve matching comments for.""" + search: String + + """Comment status to limit results by.""" + status: String + + """Include comments for a specific user ID.""" + userId: ID } -"""Connection to post Nodes""" -interface PostConnection implements Connection { +"""Connection between the Post type and the post type""" +type PostToParentConnectionEdge implements Edge & OneToOneConnection & PostConnectionEdge { """ - A list of edges (relational context) between RootQuery and connected post Nodes + Opaque reference to the nodes position in the connection. Value can be used with pagination args. """ - edges: [PostConnectionEdge!]! + cursor: String - """A list of connected post Nodes""" + """The node of the connection, without the edges""" + node: Post! @deprecated(reason: "This content type is not hierarchical and typically will not have a parent") +} + +"""Connection between the Post type and the post type""" +type PostToPostConnection implements Connection & PostConnection { + """Edges for the PostToPostConnection connection""" + edges: [PostToPostConnectionEdge!]! + + """The nodes of the connection, without the edges""" nodes: [Post!]! """Information about pagination in a connection.""" - pageInfo: PostConnectionPageInfo! + pageInfo: PostToPostConnectionPageInfo! } -"""Edge between a Node and a connected post""" -interface PostConnectionEdge implements Edge { - """ - Opaque reference to the nodes position in the connection. Value can be used with pagination args. - """ - cursor: String +"""An edge in a connection""" +type PostToPostConnectionEdge implements Edge & PostConnectionEdge { + """A cursor for use in pagination""" + cursor: String @deprecated(reason: "This content type is not hierarchical and typically will not have ancestors") - """The connected post Node""" - node: Post! + """The item at the end of the edge""" + node: Post! @deprecated(reason: "This content type is not hierarchical and typically will not have ancestors") } -"""Page Info on the connected PostConnectionEdge""" -interface PostConnectionPageInfo implements PageInfo & WPPageInfo { +"""Page Info on the "PostToPostConnection"""" +type PostToPostConnectionPageInfo implements PageInfo & PostConnectionPageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -17078,278 +16797,168 @@ interface PostConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -"""EditorBlock Interface for Post Block Type""" -interface PostEditorBlock implements EditorBlock { - """The API version of the Gutenberg Block""" - apiVersion: Int +"""Connection between the Post type and the postFormat type""" +type PostToPostFormatConnection implements Connection & PostFormatConnection { + """Edges for the PostToPostFormatConnection connection""" + edges: [PostToPostFormatConnectionEdge!]! - """The name of the category the Block belongs to""" - blockEditorCategoryName: String + """The nodes of the connection, without the edges""" + nodes: [PostFormat!]! - """The id of the Block""" - clientId: String + """Information about pagination in a connection.""" + pageInfo: PostToPostFormatConnectionPageInfo! +} - """CSS Classnames to apply to the block""" - cssClassNames: [String] +"""An edge in a connection""" +type PostToPostFormatConnectionEdge implements Edge & PostFormatConnectionEdge { + """A cursor for use in pagination""" + cursor: String - """The inner blocks of the Block""" - innerBlocks: [EditorBlock] + """The item at the end of the edge""" + node: PostFormat! +} - """Whether the block is Dynamic (server rendered)""" - isDynamic: Boolean! +"""Page Info on the "PostToPostFormatConnection"""" +type PostToPostFormatConnectionPageInfo implements PageInfo & PostFormatConnectionPageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String - """The name of the Block""" - name: String + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! - """The parent id of the Block""" - parentClientId: String + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! - """The rendered HTML for the block""" - renderedHtml: String + """When paginating backwards, the cursor to continue.""" + startCursor: String } -"""The postFormat type""" -type PostFormat implements DatabaseIdentifier & MenuItemLinkable & Node & TermNode & UniformResourceIdentifiable { - """""" - conditionalTags: ConditionalTags @deprecated(reason: "Deprecated in favor of using Next.js pages") - - """Connection between the PostFormat type and the ContentNode type""" - contentNodes( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String +"""Arguments for filtering the PostToPostFormatConnection connection""" +input PostToPostFormatConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int - """The number of items to return after the referenced "after" cursor""" - first: Int + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean - """The number of items to return before the referenced "before" cursor""" - last: Int + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String - """Arguments for filtering the connection""" - where: PostFormatToContentNodeConnectionWhereArgs - ): PostFormatToContentNodeConnection + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] - """The number of objects connected to the object""" - count: Int + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] - """The unique identifier stored in the database""" - databaseId: Int! + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean - """The description of the object""" - description: String + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean - """Connection between the TermNode type and the EnqueuedScript type""" - enqueuedScripts( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String + """Array of term ids to include. Default empty array.""" + include: [ID] - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """Array of names to return term(s) for. Default empty.""" + name: [String] - """The number of items to return after the referenced "after" cursor""" - first: Int + """Retrieve terms where the name is LIKE the input value. Default empty.""" + nameLike: String - """The number of items to return before the referenced "before" cursor""" - last: Int - ): TermNodeToEnqueuedScriptConnection + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] - """Connection between the TermNode type and the EnqueuedStylesheet type""" - enqueuedStylesheets( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String + """Direction the connection should be ordered in""" + order: OrderEnum - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """Field(s) to order terms by. Defaults to 'name'.""" + orderby: TermObjectsConnectionOrderbyEnum - """The number of items to return after the referenced "after" cursor""" - first: Int + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean - """The number of items to return before the referenced "before" cursor""" - last: Int - ): TermNodeToEnqueuedStylesheetConnection + """Parent term ID to retrieve direct-child terms of. Default empty.""" + parent: Int - """The globally unique ID for the object""" - id: ID! - - """Whether the node is a Comment""" - isComment: Boolean! - - """Whether the node is a Content Node""" - isContentNode: Boolean! - - """Whether the node represents the front page.""" - isFrontPage: Boolean! - - """Whether the node represents the blog page.""" - isPostsPage: Boolean! - - """Whether the object is restricted from the current viewer""" - isRestricted: Boolean - - """Whether the node is a Term""" - isTermNode: Boolean! - - """The link to the term""" - link: String - - """The human friendly name of the object.""" - name: String - - """The id field matches the WP_Post->ID field.""" - postFormatId: Int @deprecated(reason: "Deprecated in favor of databaseId") - - """Connection between the PostFormat type and the post type""" - posts( - """ - 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: PostFormatToPostConnectionWhereArgs - ): PostFormatToPostConnection - - """The Yoast SEO data of the Formats taxonomy.""" - seo: TaxonomySEO - - """An alphanumeric identifier for the object unique to its type.""" - slug: String - - """Connection between the PostFormat type and the Taxonomy type""" - taxonomy: PostFormatToTaxonomyConnectionEdge - - """The name of the taxonomy that the object is associated with""" - taxonomyName: String - - """""" - templates: [String] - - """The ID of the term group that this term object belongs to""" - termGroupId: Int - - """The taxonomy ID that the object is associated with""" - termTaxonomyId: Int - - """The unique resource identifier path""" - uri: String -} - -"""Connection to postFormat Nodes""" -interface PostFormatConnection implements Connection { """ - A list of edges (relational context) between RootQuery and connected postFormat Nodes + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. """ - edges: [PostFormatConnectionEdge!]! + search: String - """A list of connected postFormat Nodes""" - nodes: [PostFormat!]! + """Array of slugs to return term(s) for. Default empty.""" + slug: [String] - """Information about pagination in a connection.""" - pageInfo: PostFormatConnectionPageInfo! + """Array of term taxonomy IDs, to match when querying terms.""" + termTaxonomId: [ID] + + """Array of term taxonomy IDs, to match when querying terms.""" + termTaxonomyId: [ID] + + """Whether to prime meta caches for matched terms. Default true.""" + updateTermMetaCache: Boolean } -"""Edge between a Node and a connected postFormat""" -interface PostFormatConnectionEdge implements Edge { +"""Connection between the Post type and the post type""" +type PostToPreviewConnectionEdge implements Edge & OneToOneConnection & PostConnectionEdge { """ Opaque reference to the nodes position in the connection. Value can be used with pagination args. """ cursor: String - """The connected postFormat Node""" - node: PostFormat! -} - -"""Page Info on the connected PostFormatConnectionEdge""" -interface PostFormatConnectionPageInfo implements 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! - - """Raw schema for page""" - seo: SEOPostTypePageInfo - - """When paginating backwards, the cursor to continue.""" - startCursor: String -} - -"""The Type of Identifier used to fetch a single resource. Default is ID.""" -enum PostFormatIdType { - """The Database ID for the node""" - DATABASE_ID - - """The hashed Global ID""" - ID - - """The name of the node""" - NAME - - """Url friendly name of the node""" - SLUG - - """The URI for the node""" - URI + """The node of the connection, without the edges""" + node: Post! } -"""Connection between the PostFormat type and the ContentNode type""" -type PostFormatToContentNodeConnection implements Connection & ContentNodeConnection { - """Edges for the PostFormatToContentNodeConnection connection""" - edges: [PostFormatToContentNodeConnectionEdge!]! +"""Connection between the Post type and the post type""" +type PostToRevisionConnection implements Connection & PostConnection { + """Edges for the PostToRevisionConnection connection""" + edges: [PostToRevisionConnectionEdge!]! """The nodes of the connection, without the edges""" - nodes: [ContentNode!]! + nodes: [Post!]! """Information about pagination in a connection.""" - pageInfo: PostFormatToContentNodeConnectionPageInfo! + pageInfo: PostToRevisionConnectionPageInfo! } """An edge in a connection""" -type PostFormatToContentNodeConnectionEdge implements ContentNodeConnectionEdge & Edge { +type PostToRevisionConnectionEdge implements Edge & PostConnectionEdge { """A cursor for use in pagination""" cursor: String """The item at the end of the edge""" - node: ContentNode! + node: Post! } -"""Page Info on the "PostFormatToContentNodeConnection"""" -type PostFormatToContentNodeConnectionPageInfo implements ContentNodeConnectionPageInfo & PageInfo & WPPageInfo { +"""Page Info on the "PostToRevisionConnection"""" +type PostToRevisionConnectionPageInfo implements PageInfo & PostConnectionPageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -17359,19 +16968,43 @@ type PostFormatToContentNodeConnectionPageInfo implements ContentNodeConnectionP """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -""" -Arguments for filtering the PostFormatToContentNodeConnection connection -""" -input PostFormatToContentNodeConnectionWhereArgs { - """The Types of content to filter""" - contentTypes: [ContentTypesOfPostFormatEnum] +"""Arguments for filtering the PostToRevisionConnection connection""" +input PostToRevisionConnectionWhereArgs { + """ + The user that's connected as the author of the object. Use the userId for the author object. + """ + author: Int + + """Find objects connected to author(s) in the array of author's userIds""" + authorIn: [ID] + + """Find objects connected to the author by the author's nicename""" + authorName: String + + """ + Find objects NOT connected to author(s) in the array of author's userIds + """ + authorNotIn: [ID] + + """Category ID""" + categoryId: Int + + """ + Array of category IDs, used to display objects from one category OR another + """ + categoryIn: [ID] + + """Use Category Slug""" + categoryName: String + + """ + Array of category IDs, used to display objects from one category OR another + """ + categoryNotIn: [ID] """Filter the connection based on dates""" dateQuery: DateQueryInput @@ -17425,33 +17058,51 @@ input PostFormatToContentNodeConnectionWhereArgs { """Show posts with a specific status.""" status: PostStatusEnum + """Tag Slug""" + tag: String + + """Use Tag ID""" + tagId: String + + """Array of tag IDs, used to display objects from one tag OR another""" + tagIn: [ID] + + """Array of tag IDs, used to display objects from one tag OR another""" + tagNotIn: [ID] + + """Array of tag slugs, used to display objects from one tag AND another""" + tagSlugAnd: [String] + + """Array of tag slugs, used to include objects in ANY specified tags""" + tagSlugIn: [String] + """Title of the object""" title: String } -"""Connection between the PostFormat type and the post type""" -type PostFormatToPostConnection implements Connection & PostConnection { - """Edges for the PostFormatToPostConnection connection""" - edges: [PostFormatToPostConnectionEdge!]! +"""Connection between the Post type and the tag type""" +type PostToTagConnection implements Connection & TagConnection { + """Edges for the PostToTagConnection connection""" + edges: [PostToTagConnectionEdge!]! """The nodes of the connection, without the edges""" - nodes: [Post!]! + nodes: [Tag!]! """Information about pagination in a connection.""" - pageInfo: PostFormatToPostConnectionPageInfo! + pageInfo: PostToTagConnectionPageInfo! } """An edge in a connection""" -type PostFormatToPostConnectionEdge implements Edge & PostConnectionEdge { +type PostToTagConnectionEdge implements Edge & TagConnectionEdge { """A cursor for use in pagination""" cursor: String """The item at the end of the edge""" - node: Post! + node: Tag! } -"""Page Info on the "PostFormatToPostConnection"""" -type PostFormatToPostConnectionPageInfo implements PageInfo & PostConnectionPageInfo & WPPageInfo { +"""Page Info on the "PostToTagConnection"""" +type PostToTagConnectionPageInfo implements PageInfo & TagConnectionPageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -17461,2314 +17112,667 @@ type PostFormatToPostConnectionPageInfo implements PageInfo & PostConnectionPage """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -"""Arguments for filtering the PostFormatToPostConnection connection""" -input PostFormatToPostConnectionWhereArgs { +"""Arguments for filtering the PostToTagConnection connection""" +input PostToTagConnectionWhereArgs { """ - The user that's connected as the author of the object. Use the userId for the author object. + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. """ - author: Int - - """Find objects connected to author(s) in the array of author's userIds""" - authorIn: [ID] - - """Find objects connected to the author by the author's nicename""" - authorName: String + cacheDomain: String """ - Find objects NOT connected to author(s) in the array of author's userIds + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. """ - authorNotIn: [ID] + childOf: Int - """Category ID""" - categoryId: Int + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean """ - Array of category IDs, used to display objects from one category OR another + Retrieve terms where the description is LIKE the input value. Default empty. """ - categoryIn: [ID] + descriptionLike: String - """Use Category Slug""" - categoryName: String + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] """ - Array of category IDs, used to display objects from one category OR another + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. """ - categoryNotIn: [ID] + excludeTree: [ID] - """Filter the connection based on dates""" - dateQuery: DateQueryInput + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean """ - True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. """ - hasPassword: Boolean + hierarchical: Boolean - """Specific database ID of the object""" - id: Int + """Array of term ids to include. Default empty array.""" + include: [ID] - """Array of IDs for the objects to retrieve""" - in: [ID] + """Array of names to return term(s) for. Default empty.""" + name: [String] - """Get objects with a specific mimeType property""" - mimeType: MimeTypeEnum + """Retrieve terms where the name is LIKE the input value. Default empty.""" + nameLike: String - """Slug / post_name of the object""" - name: String + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] - """Specify objects to retrieve. Use slugs""" - nameIn: [String] + """Direction the connection should be ordered in""" + order: OrderEnum + + """Field(s) to order terms by. Defaults to 'name'.""" + orderby: TermObjectsConnectionOrderbyEnum """ - Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. """ - notIn: [ID] + padCounts: Boolean - """What parameter to use to order the objects by.""" - orderby: [PostObjectsConnectionOrderbyInput] + """Parent term ID to retrieve direct-child terms of. Default empty.""" + parent: Int - """Use ID to return only children. Use 0 to return only top-level items""" - parent: ID + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String - """Specify objects whose parent is in an array""" - parentIn: [ID] + """Array of slugs to return term(s) for. Default empty.""" + slug: [String] - """Specify posts whose parent is not in an array""" - parentNotIn: [ID] + """Array of term taxonomy IDs, to match when querying terms.""" + termTaxonomId: [ID] - """Show posts with a specific password.""" - password: String + """Array of term taxonomy IDs, to match when querying terms.""" + termTaxonomyId: [ID] - """Show Posts based on a keyword search""" - search: String + """Whether to prime meta caches for matched terms. Default true.""" + updateTermMetaCache: Boolean +} - """Retrieve posts where post status is in an array.""" - stati: [PostStatusEnum] +"""Connection between the Post type and the TermNode type""" +type PostToTermNodeConnection implements Connection & TermNodeConnection { + """Edges for the PostToTermNodeConnection connection""" + edges: [PostToTermNodeConnectionEdge!]! - """Show posts with a specific status.""" - status: PostStatusEnum + """The nodes of the connection, without the edges""" + nodes: [TermNode!]! - """Tag Slug""" - tag: String + """Information about pagination in a connection.""" + pageInfo: PostToTermNodeConnectionPageInfo! +} - """Use Tag ID""" - tagId: String +"""An edge in a connection""" +type PostToTermNodeConnectionEdge implements Edge & TermNodeConnectionEdge { + """A cursor for use in pagination""" + cursor: String - """Array of tag IDs, used to display objects from one tag OR another""" - tagIn: [ID] + """The item at the end of the edge""" + node: TermNode! +} - """Array of tag IDs, used to display objects from one tag OR another""" - tagNotIn: [ID] +"""Page Info on the "PostToTermNodeConnection"""" +type PostToTermNodeConnectionPageInfo implements PageInfo & TermNodeConnectionPageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String - """Array of tag slugs, used to display objects from one tag AND another""" - tagSlugAnd: [String] + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! - """Array of tag slugs, used to include objects in ANY specified tags""" - tagSlugIn: [String] + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! - """Title of the object""" - title: String + """When paginating backwards, the cursor to continue.""" + startCursor: String } -"""Connection between the PostFormat type and the Taxonomy type""" -type PostFormatToTaxonomyConnectionEdge implements Edge & OneToOneConnection & TaxonomyConnectionEdge { +"""Arguments for filtering the PostToTermNodeConnection connection""" +input PostToTermNodeConnectionWhereArgs { """ - Opaque reference to the nodes position in the connection. Value can be used with pagination args. + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. """ - cursor: String + cacheDomain: String - """The node of the connection, without the edges""" - node: Taxonomy! -} + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int -"""The Type of Identifier used to fetch a single resource. Default is ID.""" -enum PostIdType { - """Identify a resource by the Database ID.""" - DATABASE_ID + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean - """Identify a resource by the (hashed) Global ID.""" - ID + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String """ - Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. """ - SLUG + exclude: [ID] - """Identify a resource by the URI.""" - URI -} + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] -"""The format of post field data.""" -enum PostObjectFieldFormatEnum { """ - Provide the field value directly from database. Null on unauthenticated requests. + Whether to hide terms not assigned to any posts. Accepts true or false. Default false """ - RAW + hideEmpty: Boolean - """Provide the field value as rendered by WordPress. Default.""" - RENDERED -} + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean -"""The column to use when filtering by date""" -enum PostObjectsConnectionDateColumnEnum { - """The date the comment was created in local time.""" - DATE + """Array of term ids to include. Default empty array.""" + include: [ID] - """The most recent modification date of the comment.""" - MODIFIED -} + """Array of names to return term(s) for. Default empty.""" + name: [String] -"""Field to order the connection by""" -enum PostObjectsConnectionOrderbyEnum { - """Order by author""" - AUTHOR + """Retrieve terms where the name is LIKE the input value. Default empty.""" + nameLike: String - """Order by the number of comments it has acquired""" - COMMENT_COUNT + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] - """Order by publish date""" - DATE + """Direction the connection should be ordered in""" + order: OrderEnum - """Preserve the ID order given in the IN array""" - IN + """Field(s) to order terms by. Defaults to 'name'.""" + orderby: TermObjectsConnectionOrderbyEnum - """Order by the menu order value""" - MENU_ORDER + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean - """Order by last modified date""" - MODIFIED + """Parent term ID to retrieve direct-child terms of. Default empty.""" + parent: Int - """Preserve slug order given in the NAME_IN array""" - NAME_IN + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String - """Order by parent ID""" - PARENT + """Array of slugs to return term(s) for. Default empty.""" + slug: [String] - """Order by slug""" - SLUG + """The Taxonomy to filter terms by""" + taxonomies: [TaxonomyEnum] - """Order by title""" - TITLE -} + """Array of term taxonomy IDs, to match when querying terms.""" + termTaxonomId: [ID] -"""Options for ordering the connection""" -input PostObjectsConnectionOrderbyInput { - """The field to order the connection by""" - field: PostObjectsConnectionOrderbyEnum! + """Array of term taxonomy IDs, to match when querying terms.""" + termTaxonomyId: [ID] - """Possible directions in which to order a list of items""" - order: OrderEnum! + """Whether to prime meta caches for matched terms. Default true.""" + updateTermMetaCache: Boolean } -"""Set relationships between the post to postFormats""" -input PostPostFormatsInput { - """ - If true, this will append the postFormat to existing related postFormats. If false, this will replace existing relationships. Default true. - """ - append: Boolean - - """The input list of items to set.""" - nodes: [PostPostFormatsNodeInput] -} - -""" -List of postFormats to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. -""" -input PostPostFormatsNodeInput { - """ - The description of the postFormat. This field is used to set a description of the postFormat if a new one is created during the mutation. - """ - description: String +"""Details for labels of the PostType""" +type PostTypeLabelDetails { + """Default is ‘Add New’ for both hierarchical and non-hierarchical types.""" + addNew: String - """ - The ID of the postFormat. If present, this will be used to connect to the post. If no existing postFormat exists with this ID, no connection will be made. - """ - id: ID + """Label for adding a new singular item.""" + addNewItem: String - """ - The name of the postFormat. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. - """ - name: String + """Label to signify all items in a submenu link.""" + allItems: String - """ - The slug of the postFormat. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. - """ - slug: String -} + """Label for archives in nav menus""" + archives: String -"""The status of the object.""" -enum PostStatusEnum { - """Objects with the auto-draft status""" - AUTO_DRAFT + """Label for the attributes meta box.""" + attributes: String - """Objects with the draft status""" - DRAFT + """Label for editing a singular item.""" + editItem: String - """Objects with the future status""" - FUTURE + """Label for the Featured Image meta box title.""" + featuredImage: String - """Objects with the inherit status""" - INHERIT + """Label for the table views hidden heading.""" + filterItemsList: String - """Objects with the pending status""" - PENDING + """Label for the media frame button.""" + insertIntoItem: String - """Objects with the private status""" - PRIVATE + """Label for the table hidden heading.""" + itemsList: String - """Objects with the publish status""" - PUBLISH + """Label for the table pagination hidden heading.""" + itemsListNavigation: String - """Objects with the request-completed status""" - REQUEST_COMPLETED + """Label for the menu name.""" + menuName: String - """Objects with the request-confirmed status""" - REQUEST_CONFIRMED + """General name for the post type, usually plural.""" + name: String - """Objects with the request-failed status""" - REQUEST_FAILED + """Label for the new item page title.""" + newItem: String - """Objects with the request-pending status""" - REQUEST_PENDING + """Label used when no items are found.""" + notFound: String - """Objects with the trash status""" - TRASH -} + """Label used when no items are in the trash.""" + notFoundInTrash: String -"""Set relationships between the post to tags""" -input PostTagsInput { - """ - If true, this will append the tag to existing related tags. If false, this will replace existing relationships. Default true. - """ - append: Boolean + """Label used to prefix parents of hierarchical items.""" + parentItemColon: String - """The input list of items to set.""" - nodes: [PostTagsNodeInput] -} + """Label for removing the featured image.""" + removeFeaturedImage: String -""" -List of tags to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. -""" -input PostTagsNodeInput { - """ - The description of the tag. This field is used to set a description of the tag if a new one is created during the mutation. - """ - description: String + """Label for searching plural items.""" + searchItems: String - """ - The ID of the tag. If present, this will be used to connect to the post. If no existing tag exists with this ID, no connection will be made. - """ - id: ID + """Label for setting the featured image.""" + setFeaturedImage: String - """ - The name of the tag. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. - """ - name: String + """Name for one object of this post type.""" + singularName: String - """ - The slug of the tag. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. - """ - slug: String -} + """Label for the media frame filter.""" + uploadedToThisItem: String -"""Connection between the Post type and the category type""" -type PostToCategoryConnection implements CategoryConnection & Connection { - """Edges for the PostToCategoryConnection connection""" - edges: [PostToCategoryConnectionEdge!]! + """Label in the media frame for using a featured image.""" + useFeaturedImage: String - """The nodes of the connection, without the edges""" - nodes: [Category!]! + """Label for viewing a singular item.""" + viewItem: String - """Information about pagination in a connection.""" - pageInfo: PostToCategoryConnectionPageInfo! + """Label for viewing post type archives.""" + viewItems: String } -"""An edge in a connection""" -type PostToCategoryConnectionEdge implements CategoryConnectionEdge & Edge { - """A cursor for use in pagination""" - cursor: String +"""Nodes that can be seen in a preview (unpublished) state.""" +interface Previewable { + """Whether the object is a node in the preview state""" + isPreview: Boolean - """The Yoast SEO Primary category""" - isPrimary: Boolean + """The database id of the preview node""" + previewRevisionDatabaseId: Int - """The item at the end of the edge""" - node: Category! + """Whether the object is a node in the preview state""" + previewRevisionId: ID } -"""Page Info on the "PostToCategoryConnection"""" -type PostToCategoryConnectionPageInfo implements CategoryConnectionPageInfo & PageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String - - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! +"""The reading setting type""" +type ReadingSettings { + """The ID of the page that should display the latest posts""" + pageForPosts: Int - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """The ID of the page that should be displayed on the front page""" + pageOnFront: Int - """Raw schema for page""" - seo: SEOPostTypePageInfo + """Blog pages show at most.""" + postsPerPage: Int - """When paginating backwards, the cursor to continue.""" - startCursor: String + """What to show on the front page""" + showOnFront: String } -"""Arguments for filtering the PostToCategoryConnection connection""" -input PostToCategoryConnectionWhereArgs { - """ - Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. - """ - cacheDomain: String +"""Input for the registerUser mutation.""" +input RegisterUserInput { + """User's AOL IM account.""" + aim: String """ - Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. """ - childOf: Int + clientMutationId: String - """ - True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. - """ - childless: Boolean + """A string containing content about the user.""" + description: String """ - Retrieve terms where the description is LIKE the input value. Default empty. + A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). """ - descriptionLike: String + displayName: String - """ - Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. - """ - exclude: [ID] + """A string containing the user's email address.""" + email: String - """ - Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. - """ - excludeTree: [ID] + """ The user's first name.""" + firstName: String - """ - Whether to hide terms not assigned to any posts. Accepts true or false. Default false - """ - hideEmpty: Boolean + """User's Jabber account.""" + jabber: String + + """The user's last name.""" + lastName: String + + """User's locale.""" + locale: String """ - Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + A string that contains a URL-friendly name for the user. The default is the user's username. """ - hierarchical: Boolean + nicename: String - """Array of term ids to include. Default empty array.""" - include: [ID] + """The user's nickname, defaults to the user's username.""" + nickname: String - """Array of names to return term(s) for. Default empty.""" - name: [String] + """A string that contains the plain text password for the user.""" + password: String - """Retrieve terms where the name is LIKE the input value. Default empty.""" - nameLike: String + """The date the user registered. Format is Y-m-d H:i:s.""" + registered: String """ - Array of object IDs. Results will be limited to terms associated with these objects. + A string for whether to enable the rich editor or not. False if not empty. """ - objectIds: [ID] + richEditing: String - """Direction the connection should be ordered in""" - order: OrderEnum + """A string that contains the user's username.""" + username: String! - """Field(s) to order terms by. Defaults to 'name'.""" - orderby: TermObjectsConnectionOrderbyEnum + """A string containing the user's URL for the user's web site.""" + websiteUrl: String - """ - Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. - """ - padCounts: Boolean - - """Parent term ID to retrieve direct-child terms of. Default empty.""" - parent: Int + """User's Yahoo IM account.""" + yim: String +} +"""The payload for the registerUser mutation.""" +type RegisterUserPayload { """ - Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. """ - search: String - - """Array of slugs to return term(s) for. Default empty.""" - slug: [String] + clientMutationId: String - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomId: [ID] + """The User object mutation type.""" + user: User +} - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomyId: [ID] +""" +The logical relation between each item in the array when there are more than one. +""" +enum RelationEnum { + """ + The logical AND condition returns true if both operands are true, otherwise, it returns false. + """ + AND - """Whether to prime meta caches for matched terms. Default true.""" - updateTermMetaCache: Boolean + """ + The logical OR condition returns false if both operands are false, otherwise, it returns true. + """ + OR } -"""Connection between the Post type and the Comment type""" -type PostToCommentConnection implements CommentConnection & Connection { - """Edges for the PostToCommentConnection connection""" - edges: [PostToCommentConnectionEdge!]! +"""Input for the resetUserPassword mutation.""" +input ResetUserPasswordInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String - """The nodes of the connection, without the edges""" - nodes: [Comment!]! + """Password reset key""" + key: String - """Information about pagination in a connection.""" - pageInfo: PostToCommentConnectionPageInfo! + """The user's login (username).""" + login: String + + """The new password.""" + password: String } -"""An edge in a connection""" -type PostToCommentConnectionEdge implements CommentConnectionEdge & Edge { - """A cursor for use in pagination""" - cursor: String +"""The payload for the resetUserPassword mutation.""" +type ResetUserPasswordPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String - """The item at the end of the edge""" - node: Comment! + """The User object mutation type.""" + user: User } -"""Page Info on the "PostToCommentConnection"""" -type PostToCommentConnectionPageInfo implements CommentConnectionPageInfo & PageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String +"""Input for the restoreComment mutation.""" +input RestoreCommentInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! + """The ID of the comment to be restored""" + id: ID! +} - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! +"""The payload for the restoreComment mutation.""" +type RestoreCommentPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String - """Raw schema for page""" - seo: SEOPostTypePageInfo + """The restored comment object""" + comment: Comment - """When paginating backwards, the cursor to continue.""" - startCursor: String + """The ID of the restored comment""" + restoredId: ID } -"""Arguments for filtering the PostToCommentConnection connection""" -input PostToCommentConnectionWhereArgs { - """Comment author email address.""" - authorEmail: String +"""The root mutation""" +type RootMutation { + """The createCategory mutation""" + createCategory( + """Input for the createCategory mutation""" + input: CreateCategoryInput! + ): CreateCategoryPayload - """Array of author IDs to include comments for.""" - authorIn: [ID] + """The createComment mutation""" + createComment( + """Input for the createComment mutation""" + input: CreateCommentInput! + ): CreateCommentPayload - """Array of author IDs to exclude comments for.""" - authorNotIn: [ID] + """The createMediaItem mutation""" + createMediaItem( + """Input for the createMediaItem mutation""" + input: CreateMediaItemInput! + ): CreateMediaItemPayload - """Comment author URL.""" - authorUrl: String + """The createPage mutation""" + createPage( + """Input for the createPage mutation""" + input: CreatePageInput! + ): CreatePagePayload - """Array of comment IDs to include.""" - commentIn: [ID] + """The createPost mutation""" + createPost( + """Input for the createPost mutation""" + input: CreatePostInput! + ): CreatePostPayload - """ - Array of IDs of users whose unapproved comments will be returned by the query regardless of status. - """ - commentNotIn: [ID] + """The createPostFormat mutation""" + createPostFormat( + """Input for the createPostFormat mutation""" + input: CreatePostFormatInput! + ): CreatePostFormatPayload - """Include comments of a given type.""" - commentType: String + """The createTag mutation""" + createTag( + """Input for the createTag mutation""" + input: CreateTagInput! + ): CreateTagPayload - """Include comments from a given array of comment types.""" - commentTypeIn: [String] + """The createUser mutation""" + createUser( + """Input for the createUser mutation""" + input: CreateUserInput! + ): CreateUserPayload - """Exclude comments from a given array of comment types.""" - commentTypeNotIn: String + """The deleteCategory mutation""" + deleteCategory( + """Input for the deleteCategory mutation""" + input: DeleteCategoryInput! + ): DeleteCategoryPayload - """Content object author ID to limit results by.""" - contentAuthor: [ID] + """The deleteComment mutation""" + deleteComment( + """Input for the deleteComment mutation""" + input: DeleteCommentInput! + ): DeleteCommentPayload - """Array of author IDs to retrieve comments for.""" - contentAuthorIn: [ID] + """The deleteMediaItem mutation""" + deleteMediaItem( + """Input for the deleteMediaItem mutation""" + input: DeleteMediaItemInput! + ): DeleteMediaItemPayload - """Array of author IDs *not* to retrieve comments for.""" - contentAuthorNotIn: [ID] + """The deletePage mutation""" + deletePage( + """Input for the deletePage mutation""" + input: DeletePageInput! + ): DeletePagePayload - """Limit results to those affiliated with a given content object ID.""" - contentId: ID + """The deletePost mutation""" + deletePost( + """Input for the deletePost mutation""" + input: DeletePostInput! + ): DeletePostPayload - """Array of content object IDs to include affiliated comments for.""" - contentIdIn: [ID] + """The deletePostFormat mutation""" + deletePostFormat( + """Input for the deletePostFormat mutation""" + input: DeletePostFormatInput! + ): DeletePostFormatPayload - """Array of content object IDs to exclude affiliated comments for.""" - contentIdNotIn: [ID] + """The deleteTag mutation""" + deleteTag( + """Input for the deleteTag mutation""" + input: DeleteTagInput! + ): DeleteTagPayload - """Content object name (i.e. slug ) to retrieve affiliated comments for.""" - contentName: String + """The deleteUser mutation""" + deleteUser( + """Input for the deleteUser mutation""" + input: DeleteUserInput! + ): DeleteUserPayload - """Content Object parent ID to retrieve affiliated comments for.""" - contentParent: Int + """The generateAuthorizationCode mutation""" + generateAuthorizationCode( + """Input for the generateAuthorizationCode mutation""" + input: GenerateAuthorizationCodeInput! + ): GenerateAuthorizationCodePayload - """ - Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. - """ - contentStatus: [PostStatusEnum] + """Increase the count.""" + increaseCount( + """The count to increase""" + count: Int + ): Int - """ - Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. - """ - contentType: [ContentTypeEnum] + """The registerUser mutation""" + registerUser( + """Input for the registerUser mutation""" + input: RegisterUserInput! + ): RegisterUserPayload - """ - Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty - """ - includeUnapproved: [ID] + """The resetUserPassword mutation""" + resetUserPassword( + """Input for the resetUserPassword mutation""" + input: ResetUserPasswordInput! + ): ResetUserPasswordPayload - """Karma score to retrieve matching comments for.""" - karma: Int - - """The cardinality of the order of the connection""" - order: OrderEnum - - """Field to order the comments by.""" - orderby: CommentsConnectionOrderbyEnum - - """Parent ID of comment to retrieve children of.""" - parent: Int - - """Array of parent IDs of comments to retrieve children for.""" - parentIn: [ID] - - """Array of parent IDs of comments *not* to retrieve children for.""" - parentNotIn: [ID] - - """Search term(s) to retrieve matching comments for.""" - search: String - - """Comment status to limit results by.""" - status: String - - """Include comments for a specific user ID.""" - userId: ID -} - -"""Connection between the Post type and the postFormat type""" -type PostToPostFormatConnection implements Connection & PostFormatConnection { - """Edges for the PostToPostFormatConnection connection""" - edges: [PostToPostFormatConnectionEdge!]! - - """The nodes of the connection, without the edges""" - nodes: [PostFormat!]! - - """Information about pagination in a connection.""" - pageInfo: PostToPostFormatConnectionPageInfo! -} - -"""An edge in a connection""" -type PostToPostFormatConnectionEdge implements Edge & PostFormatConnectionEdge { - """A cursor for use in pagination""" - cursor: String - - """The Yoast SEO Primary post_format""" - isPrimary: Boolean - - """The item at the end of the edge""" - node: PostFormat! -} - -"""Page Info on the "PostToPostFormatConnection"""" -type PostToPostFormatConnectionPageInfo implements PageInfo & PostFormatConnectionPageInfo & 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! - - """Raw schema for page""" - seo: SEOPostTypePageInfo - - """When paginating backwards, the cursor to continue.""" - startCursor: String -} - -"""Arguments for filtering the PostToPostFormatConnection connection""" -input PostToPostFormatConnectionWhereArgs { - """ - Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. - """ - cacheDomain: String - - """ - Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. - """ - childOf: Int - - """ - True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. - """ - childless: Boolean - - """ - Retrieve terms where the description is LIKE the input value. Default empty. - """ - descriptionLike: String - - """ - Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. - """ - exclude: [ID] - - """ - Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. - """ - excludeTree: [ID] - - """ - Whether to hide terms not assigned to any posts. Accepts true or false. Default false - """ - hideEmpty: Boolean - - """ - Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. - """ - hierarchical: Boolean - - """Array of term ids to include. Default empty array.""" - include: [ID] - - """Array of names to return term(s) for. Default empty.""" - name: [String] - - """Retrieve terms where the name is LIKE the input value. Default empty.""" - nameLike: String - - """ - Array of object IDs. Results will be limited to terms associated with these objects. - """ - objectIds: [ID] - - """Direction the connection should be ordered in""" - order: OrderEnum - - """Field(s) to order terms by. Defaults to 'name'.""" - orderby: TermObjectsConnectionOrderbyEnum - - """ - Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. - """ - padCounts: Boolean - - """Parent term ID to retrieve direct-child terms of. Default empty.""" - parent: Int - - """ - Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. - """ - search: String - - """Array of slugs to return term(s) for. Default empty.""" - slug: [String] - - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomId: [ID] - - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomyId: [ID] - - """Whether to prime meta caches for matched terms. Default true.""" - updateTermMetaCache: Boolean -} - -"""Connection between the Post type and the post type""" -type PostToPreviewConnectionEdge implements Edge & OneToOneConnection & PostConnectionEdge { - """ - 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: Post! -} - -"""Connection between the Post type and the post type""" -type PostToRevisionConnection implements Connection & PostConnection { - """Edges for the PostToRevisionConnection connection""" - edges: [PostToRevisionConnectionEdge!]! - - """The nodes of the connection, without the edges""" - nodes: [Post!]! - - """Information about pagination in a connection.""" - pageInfo: PostToRevisionConnectionPageInfo! -} - -"""An edge in a connection""" -type PostToRevisionConnectionEdge implements Edge & PostConnectionEdge { - """A cursor for use in pagination""" - cursor: String - - """The item at the end of the edge""" - node: Post! -} - -"""Page Info on the "PostToRevisionConnection"""" -type PostToRevisionConnectionPageInfo implements PageInfo & PostConnectionPageInfo & 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! - - """Raw schema for page""" - seo: SEOPostTypePageInfo - - """When paginating backwards, the cursor to continue.""" - startCursor: String -} - -"""Arguments for filtering the PostToRevisionConnection connection""" -input PostToRevisionConnectionWhereArgs { - """ - The user that's connected as the author of the object. Use the userId for the author object. - """ - author: Int - - """Find objects connected to author(s) in the array of author's userIds""" - authorIn: [ID] - - """Find objects connected to the author by the author's nicename""" - authorName: String - - """ - Find objects NOT connected to author(s) in the array of author's userIds - """ - authorNotIn: [ID] - - """Category ID""" - categoryId: Int - - """ - Array of category IDs, used to display objects from one category OR another - """ - categoryIn: [ID] - - """Use Category Slug""" - categoryName: String - - """ - Array of category IDs, used to display objects from one category OR another - """ - categoryNotIn: [ID] - - """Filter the connection based on dates""" - dateQuery: DateQueryInput - - """ - True for objects with passwords; False for objects without passwords; null for all objects with or without passwords - """ - hasPassword: Boolean - - """Specific database ID of the object""" - id: Int - - """Array of IDs for the objects to retrieve""" - in: [ID] - - """Get objects with a specific mimeType property""" - mimeType: MimeTypeEnum - - """Slug / post_name of the object""" - name: String - - """Specify objects to retrieve. Use slugs""" - nameIn: [String] - - """ - Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored - """ - notIn: [ID] - - """What parameter to use to order the objects by.""" - orderby: [PostObjectsConnectionOrderbyInput] - - """Use ID to return only children. Use 0 to return only top-level items""" - parent: ID - - """Specify objects whose parent is in an array""" - parentIn: [ID] - - """Specify posts whose parent is not in an array""" - parentNotIn: [ID] - - """Show posts with a specific password.""" - password: String - - """Show Posts based on a keyword search""" - search: String - - """Retrieve posts where post status is in an array.""" - stati: [PostStatusEnum] - - """Show posts with a specific status.""" - status: PostStatusEnum - - """Tag Slug""" - tag: String - - """Use Tag ID""" - tagId: String - - """Array of tag IDs, used to display objects from one tag OR another""" - tagIn: [ID] - - """Array of tag IDs, used to display objects from one tag OR another""" - tagNotIn: [ID] - - """Array of tag slugs, used to display objects from one tag AND another""" - tagSlugAnd: [String] - - """Array of tag slugs, used to include objects in ANY specified tags""" - tagSlugIn: [String] - - """Title of the object""" - title: String -} - -"""Connection between the Post type and the tag type""" -type PostToTagConnection implements Connection & TagConnection { - """Edges for the PostToTagConnection connection""" - edges: [PostToTagConnectionEdge!]! - - """The nodes of the connection, without the edges""" - nodes: [Tag!]! - - """Information about pagination in a connection.""" - pageInfo: PostToTagConnectionPageInfo! -} - -"""An edge in a connection""" -type PostToTagConnectionEdge implements Edge & TagConnectionEdge { - """A cursor for use in pagination""" - cursor: String - - """The Yoast SEO Primary post_tag""" - isPrimary: Boolean - - """The item at the end of the edge""" - node: Tag! -} - -"""Page Info on the "PostToTagConnection"""" -type PostToTagConnectionPageInfo implements PageInfo & TagConnectionPageInfo & 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! - - """Raw schema for page""" - seo: SEOPostTypePageInfo - - """When paginating backwards, the cursor to continue.""" - startCursor: String -} - -"""Arguments for filtering the PostToTagConnection connection""" -input PostToTagConnectionWhereArgs { - """ - Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. - """ - cacheDomain: String - - """ - Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. - """ - childOf: Int - - """ - True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. - """ - childless: Boolean - - """ - Retrieve terms where the description is LIKE the input value. Default empty. - """ - descriptionLike: String - - """ - Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. - """ - exclude: [ID] - - """ - Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. - """ - excludeTree: [ID] - - """ - Whether to hide terms not assigned to any posts. Accepts true or false. Default false - """ - hideEmpty: Boolean - - """ - Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. - """ - hierarchical: Boolean - - """Array of term ids to include. Default empty array.""" - include: [ID] - - """Array of names to return term(s) for. Default empty.""" - name: [String] - - """Retrieve terms where the name is LIKE the input value. Default empty.""" - nameLike: String - - """ - Array of object IDs. Results will be limited to terms associated with these objects. - """ - objectIds: [ID] - - """Direction the connection should be ordered in""" - order: OrderEnum - - """Field(s) to order terms by. Defaults to 'name'.""" - orderby: TermObjectsConnectionOrderbyEnum - - """ - Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. - """ - padCounts: Boolean - - """Parent term ID to retrieve direct-child terms of. Default empty.""" - parent: Int - - """ - Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. - """ - search: String - - """Array of slugs to return term(s) for. Default empty.""" - slug: [String] - - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomId: [ID] - - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomyId: [ID] - - """Whether to prime meta caches for matched terms. Default true.""" - updateTermMetaCache: Boolean -} - -"""Connection between the Post type and the TermNode type""" -type PostToTermNodeConnection implements Connection & TermNodeConnection { - """Edges for the PostToTermNodeConnection connection""" - edges: [PostToTermNodeConnectionEdge!]! - - """The nodes of the connection, without the edges""" - nodes: [TermNode!]! - - """Information about pagination in a connection.""" - pageInfo: PostToTermNodeConnectionPageInfo! -} - -"""An edge in a connection""" -type PostToTermNodeConnectionEdge implements Edge & TermNodeConnectionEdge { - """A cursor for use in pagination""" - cursor: String - - """The item at the end of the edge""" - node: TermNode! -} - -"""Page Info on the "PostToTermNodeConnection"""" -type PostToTermNodeConnectionPageInfo 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! - - """Raw schema for page""" - seo: SEOPostTypePageInfo - - """When paginating backwards, the cursor to continue.""" - startCursor: String -} - -"""Arguments for filtering the PostToTermNodeConnection connection""" -input PostToTermNodeConnectionWhereArgs { - """ - Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. - """ - cacheDomain: String - - """ - Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. - """ - childOf: Int - - """ - True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. - """ - childless: Boolean - - """ - Retrieve terms where the description is LIKE the input value. Default empty. - """ - descriptionLike: String - - """ - Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. - """ - exclude: [ID] - - """ - Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. - """ - excludeTree: [ID] - - """ - Whether to hide terms not assigned to any posts. Accepts true or false. Default false - """ - hideEmpty: Boolean - - """ - Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. - """ - hierarchical: Boolean - - """Array of term ids to include. Default empty array.""" - include: [ID] - - """Array of names to return term(s) for. Default empty.""" - name: [String] - - """Retrieve terms where the name is LIKE the input value. Default empty.""" - nameLike: String - - """ - Array of object IDs. Results will be limited to terms associated with these objects. - """ - objectIds: [ID] - - """Direction the connection should be ordered in""" - order: OrderEnum - - """Field(s) to order terms by. Defaults to 'name'.""" - orderby: TermObjectsConnectionOrderbyEnum - - """ - Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. - """ - padCounts: Boolean - - """Parent term ID to retrieve direct-child terms of. Default empty.""" - parent: Int - - """ - Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. - """ - search: String - - """Array of slugs to return term(s) for. Default empty.""" - slug: [String] - - """The Taxonomy to filter terms by""" - taxonomies: [TaxonomyEnum] - - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomId: [ID] - - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomyId: [ID] - - """Whether to prime meta caches for matched terms. Default true.""" - updateTermMetaCache: Boolean -} - -"""Details for labels of the PostType""" -type PostTypeLabelDetails { - """Default is ‘Add New’ for both hierarchical and non-hierarchical types.""" - addNew: String - - """Label for adding a new singular item.""" - addNewItem: String - - """Label to signify all items in a submenu link.""" - allItems: String - - """Label for archives in nav menus""" - archives: String - - """Label for the attributes meta box.""" - attributes: String - - """Label for editing a singular item.""" - editItem: String - - """Label for the Featured Image meta box title.""" - featuredImage: String - - """Label for the table views hidden heading.""" - filterItemsList: String - - """Label for the media frame button.""" - insertIntoItem: String - - """Label for the table hidden heading.""" - itemsList: String - - """Label for the table pagination hidden heading.""" - itemsListNavigation: String - - """Label for the menu name.""" - menuName: String - - """General name for the post type, usually plural.""" - name: String - - """Label for the new item page title.""" - newItem: String - - """Label used when no items are found.""" - notFound: String - - """Label used when no items are in the trash.""" - notFoundInTrash: String - - """Label used to prefix parents of hierarchical items.""" - parentItemColon: String - - """Label for removing the featured image.""" - removeFeaturedImage: String - - """Label for searching plural items.""" - searchItems: String - - """Label for setting the featured image.""" - setFeaturedImage: String - - """Name for one object of this post type.""" - singularName: String - - """Label for the media frame filter.""" - uploadedToThisItem: String - - """Label in the media frame for using a featured image.""" - useFeaturedImage: String - - """Label for viewing a singular item.""" - viewItem: String - - """Label for viewing post type archives.""" - viewItems: String -} - -"""""" -type PostTypeSEO { - """""" - breadcrumbs: [SEOPostTypeBreadcrumbs] - - """""" - canonical: String - - """""" - cornerstone: Boolean - - """""" - focuskw: String - - """""" - fullHead: String - - """""" - metaDesc: String - - """""" - metaKeywords: String - - """""" - metaRobotsNofollow: String - - """""" - metaRobotsNoindex: String - - """""" - opengraphAuthor: String - - """""" - opengraphDescription: String - - """""" - opengraphImage: MediaItem - - """""" - opengraphModifiedTime: String - - """""" - opengraphPublishedTime: String - - """""" - opengraphPublisher: String - - """""" - opengraphSiteName: String - - """""" - opengraphTitle: String - - """""" - opengraphType: String - - """""" - opengraphUrl: String - - """""" - readingTime: Float - - """""" - schema: SEOPostTypeSchema - - """""" - title: String - - """""" - twitterDescription: String - - """""" - twitterImage: MediaItem - - """""" - twitterTitle: String -} - -"""Nodes that can be seen in a preview (unpublished) state.""" -interface Previewable { - """Whether the object is a node in the preview state""" - isPreview: Boolean - - """The database id of the preview node""" - previewRevisionDatabaseId: Int - - """Whether the object is a node in the preview state""" - previewRevisionId: ID -} - -"""The reading setting type""" -type ReadingSettings { - """The ID of the page that should display the latest posts""" - pageForPosts: Int - - """The ID of the page that should be displayed on the front page""" - pageOnFront: Int - - """Blog pages show at most.""" - postsPerPage: Int - - """What to show on the front page""" - showOnFront: String -} - -"""Input for the registerUser mutation.""" -input RegisterUserInput { - """User's AOL IM account.""" - aim: String - - """ - This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """A string containing content about the user.""" - description: String - - """ - A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). - """ - displayName: String - - """A string containing the user's email address.""" - email: String - - """ The user's first name.""" - firstName: String - - """User's Jabber account.""" - jabber: String - - """The user's last name.""" - lastName: String - - """User's locale.""" - locale: String - - """ - A string that contains a URL-friendly name for the user. The default is the user's username. - """ - nicename: String - - """The user's nickname, defaults to the user's username.""" - nickname: String - - """A string that contains the plain text password for the user.""" - password: String - - """The date the user registered. Format is Y-m-d H:i:s.""" - registered: String - - """ - A string for whether to enable the rich editor or not. False if not empty. - """ - richEditing: String - - """A string that contains the user's username.""" - username: String! - - """A string containing the user's URL for the user's web site.""" - websiteUrl: String - - """User's Yahoo IM account.""" - yim: String -} - -"""The payload for the registerUser mutation.""" -type RegisterUserPayload { - """ - If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """The User object mutation type.""" - user: User -} - -""" -The logical relation between each item in the array when there are more than one. -""" -enum RelationEnum { - """ - The logical AND condition returns true if both operands are true, otherwise, it returns false. - """ - AND - - """ - The logical OR condition returns false if both operands are false, otherwise, it returns true. - """ - OR -} - -"""Input for the resetUserPassword mutation.""" -input ResetUserPasswordInput { - """ - This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """Password reset key""" - key: String - - """The user's login (username).""" - login: String - - """The new password.""" - password: String -} - -"""The payload for the resetUserPassword mutation.""" -type ResetUserPasswordPayload { - """ - If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """The User object mutation type.""" - user: User -} - -"""Input for the restoreComment mutation.""" -input RestoreCommentInput { - """ - This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """The ID of the comment to be restored""" - id: ID! -} - -"""The payload for the restoreComment mutation.""" -type RestoreCommentPayload { - """ - If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """The restored comment object""" - comment: Comment - - """The ID of the restored comment""" - restoredId: ID -} - -"""The root mutation""" -type RootMutation { - """The createCategory mutation""" - createCategory( - """Input for the createCategory mutation""" - input: CreateCategoryInput! - ): CreateCategoryPayload - - """The createComment mutation""" - createComment( - """Input for the createComment mutation""" - input: CreateCommentInput! - ): CreateCommentPayload - - """The createGraphqlDocument mutation""" - createGraphqlDocument( - """Input for the createGraphqlDocument mutation""" - input: CreateGraphqlDocumentInput! - ): CreateGraphqlDocumentPayload - - """The createGraphqlDocumentGroup mutation""" - createGraphqlDocumentGroup( - """Input for the createGraphqlDocumentGroup mutation""" - input: CreateGraphqlDocumentGroupInput! - ): CreateGraphqlDocumentGroupPayload - - """The createMediaItem mutation""" - createMediaItem( - """Input for the createMediaItem mutation""" - input: CreateMediaItemInput! - ): CreateMediaItemPayload - - """The createPage mutation""" - createPage( - """Input for the createPage mutation""" - input: CreatePageInput! - ): CreatePagePayload - - """The createPost mutation""" - createPost( - """Input for the createPost mutation""" - input: CreatePostInput! - ): CreatePostPayload - - """The createPostFormat mutation""" - createPostFormat( - """Input for the createPostFormat mutation""" - input: CreatePostFormatInput! - ): CreatePostFormatPayload - - """The createTag mutation""" - createTag( - """Input for the createTag mutation""" - input: CreateTagInput! - ): CreateTagPayload - - """The createUser mutation""" - createUser( - """Input for the createUser mutation""" - input: CreateUserInput! - ): CreateUserPayload - - """The deleteCategory mutation""" - deleteCategory( - """Input for the deleteCategory mutation""" - input: DeleteCategoryInput! - ): DeleteCategoryPayload - - """The deleteComment mutation""" - deleteComment( - """Input for the deleteComment mutation""" - input: DeleteCommentInput! - ): DeleteCommentPayload - - """The deleteGraphqlDocument mutation""" - deleteGraphqlDocument( - """Input for the deleteGraphqlDocument mutation""" - input: DeleteGraphqlDocumentInput! - ): DeleteGraphqlDocumentPayload - - """The deleteGraphqlDocumentGroup mutation""" - deleteGraphqlDocumentGroup( - """Input for the deleteGraphqlDocumentGroup mutation""" - input: DeleteGraphqlDocumentGroupInput! - ): DeleteGraphqlDocumentGroupPayload - - """The deleteMediaItem mutation""" - deleteMediaItem( - """Input for the deleteMediaItem mutation""" - input: DeleteMediaItemInput! - ): DeleteMediaItemPayload - - """The deletePage mutation""" - deletePage( - """Input for the deletePage mutation""" - input: DeletePageInput! - ): DeletePagePayload - - """The deletePost mutation""" - deletePost( - """Input for the deletePost mutation""" - input: DeletePostInput! - ): DeletePostPayload - - """The deletePostFormat mutation""" - deletePostFormat( - """Input for the deletePostFormat mutation""" - input: DeletePostFormatInput! - ): DeletePostFormatPayload - - """The deleteTag mutation""" - deleteTag( - """Input for the deleteTag mutation""" - input: DeleteTagInput! - ): DeleteTagPayload - - """The deleteUser mutation""" - deleteUser( - """Input for the deleteUser mutation""" - input: DeleteUserInput! - ): DeleteUserPayload - - """The generateAuthorizationCode mutation""" - generateAuthorizationCode( - """Input for the generateAuthorizationCode mutation""" - input: GenerateAuthorizationCodeInput! - ): GenerateAuthorizationCodePayload - - """Increase the count.""" - increaseCount( - """The count to increase""" - count: Int - ): Int - - """The registerUser mutation""" - registerUser( - """Input for the registerUser mutation""" - input: RegisterUserInput! - ): RegisterUserPayload - - """The resetUserPassword mutation""" - resetUserPassword( - """Input for the resetUserPassword mutation""" - input: ResetUserPasswordInput! - ): ResetUserPasswordPayload - - """The restoreComment mutation""" - restoreComment( - """Input for the restoreComment mutation""" - input: RestoreCommentInput! - ): RestoreCommentPayload - - """Send password reset email to user""" - sendPasswordResetEmail( - """Input for the sendPasswordResetEmail mutation""" - input: SendPasswordResetEmailInput! - ): SendPasswordResetEmailPayload - - """The updateCategory mutation""" - updateCategory( - """Input for the updateCategory mutation""" - input: UpdateCategoryInput! - ): UpdateCategoryPayload - - """The updateComment mutation""" - updateComment( - """Input for the updateComment mutation""" - input: UpdateCommentInput! - ): UpdateCommentPayload - - """The updateGraphqlDocument mutation""" - updateGraphqlDocument( - """Input for the updateGraphqlDocument mutation""" - input: UpdateGraphqlDocumentInput! - ): UpdateGraphqlDocumentPayload - - """The updateGraphqlDocumentGroup mutation""" - updateGraphqlDocumentGroup( - """Input for the updateGraphqlDocumentGroup mutation""" - input: UpdateGraphqlDocumentGroupInput! - ): UpdateGraphqlDocumentGroupPayload - - """The updateMediaItem mutation""" - updateMediaItem( - """Input for the updateMediaItem mutation""" - input: UpdateMediaItemInput! - ): UpdateMediaItemPayload - - """The updatePage mutation""" - updatePage( - """Input for the updatePage mutation""" - input: UpdatePageInput! - ): UpdatePagePayload - - """The updatePost mutation""" - updatePost( - """Input for the updatePost mutation""" - input: UpdatePostInput! - ): UpdatePostPayload - - """The updatePostFormat mutation""" - updatePostFormat( - """Input for the updatePostFormat mutation""" - input: UpdatePostFormatInput! - ): UpdatePostFormatPayload - - """The updateSettings mutation""" - updateSettings( - """Input for the updateSettings mutation""" - input: UpdateSettingsInput! - ): UpdateSettingsPayload - - """The updateTag mutation""" - updateTag( - """Input for the updateTag mutation""" - input: UpdateTagInput! - ): UpdateTagPayload - - """The updateUser mutation""" - updateUser( - """Input for the updateUser mutation""" - input: UpdateUserInput! - ): UpdateUserPayload -} - -"""The root entry point into the Graph""" -type RootQuery { - """Entry point to get all settings for the site""" - allSettings: Settings - - """Connection between the RootQuery type and the category type""" - categories( - """ - 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: RootQueryToCategoryConnectionWhereArgs - ): RootQueryToCategoryConnection - - """A 0bject""" - category( - """The globally unique identifier of the object.""" - id: ID! - - """Type of unique identifier to fetch by. Default is Global ID""" - idType: CategoryIdType - ): Category - - """Returns a Comment""" - comment( - """Unique identifier for the comment node.""" - id: ID! - - """Type of unique identifier to fetch a comment by. Default is Global ID""" - idType: CommentNodeIdTypeEnum - ): Comment - - """Connection between the RootQuery type and the Comment type""" - comments( - """ - 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: RootQueryToCommentConnectionWhereArgs - ): RootQueryToCommentConnection - - """A node used to manage content""" - contentNode( - """ - Whether to return the Preview Node instead of the Published Node. When the ID of a Node is provided along with asPreview being set to true, the preview node with un-published changes will be returned instead of the published node. If no preview node exists or the requester doesn't have proper capabilities to preview, no node will be returned. If the ID provided is a URI and has a preview query arg, it will be used as a fallback if the "asPreview" argument is not explicitly provided as an argument. - """ - asPreview: Boolean - - """ - The content type the node is used for. Required when idType is set to "name" or "slug" - """ - contentType: ContentTypeEnum - - """Unique identifier for the content node.""" - id: ID! - - """ - Type of unique identifier to fetch a content node by. Default is Global ID - """ - idType: ContentNodeIdTypeEnum - ): ContentNode - - """Connection between the RootQuery type and the ContentNode type""" - contentNodes( - """ - 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: RootQueryToContentNodeConnectionWhereArgs - ): RootQueryToContentNodeConnection - - """Fetch a Content Type node by unique Identifier""" - contentType( - """Unique Identifier for the Content Type node.""" - id: ID! - - """ - Type of unique identifier to fetch a content type by. Default is Global ID - """ - idType: ContentTypeIdTypeEnum - ): ContentType - - """Connection between the RootQuery type and the ContentType type""" - contentTypes( - """ - 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 - ): RootQueryToContentTypeConnection - - """Fields of the 'DiscussionSettings' settings group""" - discussionSettings: DiscussionSettings - - """Fields of the 'GeneralSettings' settings group""" - generalSettings: GeneralSettings - - """ - Returns the stylesheet resulting of merging core, theme, and user data. - """ - globalStylesheet( - """Types of styles to load.""" - types: [GlobalStylesheetTypesEnum] - ): String - - """An object of the graphqlDocument Type. Saved GraphQL Documents""" - graphqlDocument( - """ - Whether to return the Preview Node instead of the Published Node. When the ID of a Node is provided along with asPreview being set to true, the preview node with un-published changes will be returned instead of the published node. If no preview node exists or the requester doesn't have proper capabilities to preview, no node will be returned. If the ID provided is a URI and has a preview query arg, it will be used as a fallback if the "asPreview" argument is not explicitly provided as an argument. - """ - asPreview: Boolean - - """The globally unique identifier of the object.""" - id: ID! - - """Type of unique identifier to fetch by. Default is Global ID""" - idType: GraphqlDocumentIdType - ): GraphqlDocument - - """A graphqlDocument object""" - graphqlDocumentBy( - """Get the graphqlDocument by its database ID""" - graphqlDocumentId: Int - - """Get the graphqlDocument object by its global ID""" - id: ID - - """ - Get the graphqlDocument by its slug (only available for non-hierarchical types) - """ - slug: String - - """Get the graphqlDocument by its uri""" - uri: String - ): GraphqlDocument @deprecated(reason: "Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "")") - - """A 0bject""" - graphqlDocumentGroup( - """The globally unique identifier of the object.""" - id: ID! - - """Type of unique identifier to fetch by. Default is Global ID""" - idType: GraphqlDocumentGroupIdType - ): GraphqlDocumentGroup - - """ - Connection between the RootQuery type and the graphqlDocumentGroup type - """ - graphqlDocumentGroups( - """ - 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: RootQueryToGraphqlDocumentGroupConnectionWhereArgs - ): RootQueryToGraphqlDocumentGroupConnection - - """Connection between the RootQuery type and the graphqlDocument type""" - graphqlDocuments( - """ - 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: RootQueryToGraphqlDocumentConnectionWhereArgs - ): RootQueryToGraphqlDocumentConnection - - """An object of the mediaItem Type. """ - mediaItem( - """ - Whether to return the Preview Node instead of the Published Node. When the ID of a Node is provided along with asPreview being set to true, the preview node with un-published changes will be returned instead of the published node. If no preview node exists or the requester doesn't have proper capabilities to preview, no node will be returned. If the ID provided is a URI and has a preview query arg, it will be used as a fallback if the "asPreview" argument is not explicitly provided as an argument. - """ - asPreview: Boolean - - """The globally unique identifier of the object.""" - id: ID! - - """Type of unique identifier to fetch by. Default is Global ID""" - idType: MediaItemIdType - ): MediaItem - - """A mediaItem object""" - mediaItemBy( - """Get the mediaItem object by its global ID""" - id: ID - - """Get the mediaItem by its database ID""" - mediaItemId: Int - - """ - Get the mediaItem by its slug (only available for non-hierarchical types) - """ - slug: String - - """Get the mediaItem by its uri""" - uri: String - ): MediaItem @deprecated(reason: "Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "")") - - """Connection between the RootQuery type and the mediaItem type""" - mediaItems( - """ - 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: RootQueryToMediaItemConnectionWhereArgs - ): RootQueryToMediaItemConnection - - """A WordPress navigation menu""" - menu( - """The globally unique identifier of the menu.""" - id: ID! - - """Type of unique identifier to fetch a menu by. Default is Global ID""" - idType: MenuNodeIdTypeEnum - ): Menu - - """A WordPress navigation menu item""" - menuItem( - """The globally unique identifier of the menu item.""" - id: ID! - - """ - Type of unique identifier to fetch a menu item by. Default is Global ID - """ - idType: MenuItemNodeIdTypeEnum - ): MenuItem - - """Connection between the RootQuery type and the MenuItem type""" - menuItems( - """ - 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: RootQueryToMenuItemConnectionWhereArgs - ): RootQueryToMenuItemConnection - - """Connection between the RootQuery type and the Menu type""" - menus( - """ - 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: RootQueryToMenuConnectionWhereArgs - ): RootQueryToMenuConnection - - """Fetches an object given its ID""" - node( - """The unique identifier of the node""" - id: ID - ): Node - - """Fetches an object given its Unique Resource Identifier""" - nodeByUri( - """ - Unique Resource Identifier in the form of a path or permalink for a node. Ex: "/hello-world" - """ - uri: String! - ): UniformResourceIdentifiable - - """An object of the page Type. """ - page( - """ - Whether to return the Preview Node instead of the Published Node. When the ID of a Node is provided along with asPreview being set to true, the preview node with un-published changes will be returned instead of the published node. If no preview node exists or the requester doesn't have proper capabilities to preview, no node will be returned. If the ID provided is a URI and has a preview query arg, it will be used as a fallback if the "asPreview" argument is not explicitly provided as an argument. - """ - asPreview: Boolean - - """The globally unique identifier of the object.""" - id: ID! - - """Type of unique identifier to fetch by. Default is Global ID""" - idType: PageIdType - ): Page - - """A page object""" - pageBy( - """Get the page object by its global ID""" - id: ID - - """Get the page by its database ID""" - pageId: Int - - """Get the page by its uri""" - uri: String - ): Page @deprecated(reason: "Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "")") - - """Connection between the RootQuery type and the page type""" - pages( - """ - 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: RootQueryToPageConnectionWhereArgs - ): RootQueryToPageConnection - - """A WordPress plugin""" - plugin( - """The globally unique identifier of the plugin.""" - id: ID! - ): Plugin - - """Connection between the RootQuery type and the Plugin type""" - plugins( - """ - 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: RootQueryToPluginConnectionWhereArgs - ): RootQueryToPluginConnection - - """An object of the post Type. """ - post( - """ - Whether to return the Preview Node instead of the Published Node. When the ID of a Node is provided along with asPreview being set to true, the preview node with un-published changes will be returned instead of the published node. If no preview node exists or the requester doesn't have proper capabilities to preview, no node will be returned. If the ID provided is a URI and has a preview query arg, it will be used as a fallback if the "asPreview" argument is not explicitly provided as an argument. - """ - asPreview: Boolean - - """The globally unique identifier of the object.""" - id: ID! - - """Type of unique identifier to fetch by. Default is Global ID""" - idType: PostIdType - ): Post - - """A post object""" - postBy( - """Get the post object by its global ID""" - id: ID - - """Get the post by its database ID""" - postId: Int - - """Get the post by its slug (only available for non-hierarchical types)""" - slug: String - - """Get the post by its uri""" - uri: String - ): Post @deprecated(reason: "Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "")") - - """A 0bject""" - postFormat( - """The globally unique identifier of the object.""" - id: ID! - - """Type of unique identifier to fetch by. Default is Global ID""" - idType: PostFormatIdType - ): PostFormat - - """Connection between the RootQuery type and the postFormat type""" - postFormats( - """ - 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: RootQueryToPostFormatConnectionWhereArgs - ): RootQueryToPostFormatConnection - - """Connection between the RootQuery type and the post type""" - posts( - """ - 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: RootQueryToPostConnectionWhereArgs - ): RootQueryToPostConnection - - """Fields of the 'ReadingSettings' settings group""" - readingSettings: ReadingSettings - - """Connection between the RootQuery type and the EnqueuedScript type""" - registeredScripts( - """ - 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 - ): RootQueryToEnqueuedScriptConnection - - """Connection between the RootQuery type and the EnqueuedStylesheet type""" - registeredStylesheets( - """ - 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 - ): RootQueryToEnqueuedStylesheetConnection - - """Connection between the RootQuery type and the ContentNode type""" - revisions( - """ - 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 restoreComment mutation""" + restoreComment( + """Input for the restoreComment mutation""" + input: RestoreCommentInput! + ): RestoreCommentPayload - """The number of items to return after the referenced "after" cursor""" - first: Int + """Send password reset email to user""" + sendPasswordResetEmail( + """Input for the sendPasswordResetEmail mutation""" + input: SendPasswordResetEmailInput! + ): SendPasswordResetEmailPayload - """The number of items to return before the referenced "before" cursor""" - last: Int + """The updateCategory mutation""" + updateCategory( + """Input for the updateCategory mutation""" + input: UpdateCategoryInput! + ): UpdateCategoryPayload - """Arguments for filtering the connection""" - where: RootQueryToRevisionsConnectionWhereArgs - ): RootQueryToRevisionsConnection + """The updateComment mutation""" + updateComment( + """Input for the updateComment mutation""" + input: UpdateCommentInput! + ): UpdateCommentPayload - """Returns seo site data""" - seo: SEOConfig + """The updateMediaItem mutation""" + updateMediaItem( + """Input for the updateMediaItem mutation""" + input: UpdateMediaItemInput! + ): UpdateMediaItemPayload - """A 0bject""" - tag( - """The globally unique identifier of the object.""" - id: ID! + """The updatePage mutation""" + updatePage( + """Input for the updatePage mutation""" + input: UpdatePageInput! + ): UpdatePagePayload - """Type of unique identifier to fetch by. Default is Global ID""" - idType: TagIdType - ): Tag + """The updatePost mutation""" + updatePost( + """Input for the updatePost mutation""" + input: UpdatePostInput! + ): UpdatePostPayload - """Connection between the RootQuery type and the tag type""" - tags( - """ - Cursor used along with the "first" argument to reference where in the dataset to get data - """ - after: String + """The updatePostFormat mutation""" + updatePostFormat( + """Input for the updatePostFormat mutation""" + input: UpdatePostFormatInput! + ): UpdatePostFormatPayload - """ - Cursor used along with the "last" argument to reference where in the dataset to get data - """ - before: String + """The updateSettings mutation""" + updateSettings( + """Input for the updateSettings mutation""" + input: UpdateSettingsInput! + ): UpdateSettingsPayload - """The number of items to return after the referenced "after" cursor""" - first: Int + """The updateTag mutation""" + updateTag( + """Input for the updateTag mutation""" + input: UpdateTagInput! + ): UpdateTagPayload - """The number of items to return before the referenced "before" cursor""" - last: Int + """The updateUser mutation""" + updateUser( + """Input for the updateUser mutation""" + input: UpdateUserInput! + ): UpdateUserPayload +} - """Arguments for filtering the connection""" - where: RootQueryToTagConnectionWhereArgs - ): RootQueryToTagConnection +"""The root entry point into the Graph""" +type RootQuery { + """Entry point to get all settings for the site""" + allSettings: Settings - """Connection between the RootQuery type and the Taxonomy type""" - taxonomies( + """Connection between the RootQuery type and the category type""" + categories( """ Cursor used along with the "first" argument to reference where in the dataset to get data """ @@ -19784,35 +17788,31 @@ type RootQuery { """The number of items to return before the referenced "before" cursor""" last: Int - ): RootQueryToTaxonomyConnection - """Fetch a Taxonomy node by unique Identifier""" - taxonomy( - """Unique Identifier for the Taxonomy node.""" + """Arguments for filtering the connection""" + where: RootQueryToCategoryConnectionWhereArgs + ): RootQueryToCategoryConnection + + """A 0bject""" + category( + """The globally unique identifier of the object.""" id: ID! - """Type of unique identifier to fetch a taxonomy by. Default is Global ID""" - idType: TaxonomyIdTypeEnum - ): Taxonomy + """Type of unique identifier to fetch by. Default is Global ID""" + idType: CategoryIdType + ): Category - """A node in a taxonomy used to group and relate content nodes""" - termNode( - """Unique identifier for the term node.""" + """Returns a Comment""" + comment( + """Unique identifier for the comment node.""" id: ID! - """ - Type of unique identifier to fetch a term node by. Default is Global ID - """ - idType: TermNodeIdTypeEnum - - """ - The taxonomy of the tern node. Required when idType is set to "name" or "slug" - """ - taxonomy: TaxonomyEnum - ): TermNode + """Type of unique identifier to fetch a comment by. Default is Global ID""" + idType: CommentNodeIdTypeEnum + ): Comment - """Connection between the RootQuery type and the TermNode type""" - terms( + """Connection between the RootQuery type and the Comment type""" + comments( """ Cursor used along with the "first" argument to reference where in the dataset to get data """ @@ -19830,704 +17830,656 @@ type RootQuery { last: Int """Arguments for filtering the connection""" - where: RootQueryToTermNodeConnectionWhereArgs - ): RootQueryToTermNodeConnection - - """A Theme object""" - theme( - """The globally unique identifier of the theme.""" - id: ID! - ): Theme + where: RootQueryToCommentConnectionWhereArgs + ): RootQueryToCommentConnection - """Connection between the RootQuery type and the Theme type""" - themes( + """A node used to manage content""" + contentNode( """ - Cursor used along with the "first" argument to reference where in the dataset to get data + Whether to return the Preview Node instead of the Published Node. When the ID of a Node is provided along with asPreview being set to true, the preview node with un-published changes will be returned instead of the published node. If no preview node exists or the requester doesn't have proper capabilities to preview, no node will be returned. If the ID provided is a URI and has a preview query arg, it will be used as a fallback if the "asPreview" argument is not explicitly provided as an argument. """ - after: String + asPreview: Boolean """ - Cursor used along with the "last" argument to reference where in the dataset to get data + The content type the node is used for. Required when idType is set to "name" or "slug" """ - 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 - ): RootQueryToThemeConnection - - """Returns a user""" - user( - """The globally unique identifier of the user.""" - id: ID! - - """Type of unique identifier to fetch a user by. Default is Global ID""" - idType: UserNodeIdTypeEnum - ): User + contentType: ContentTypeEnum - """Returns a user role""" - userRole( - """The globally unique identifier of the user object.""" + """Unique identifier for the content node.""" id: ID! - ): UserRole - - """Connection between the RootQuery type and the UserRole type""" - userRoles( - """ - 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 + Type of unique identifier to fetch a content node by. Default is Global ID """ - 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 - ): RootQueryToUserRoleConnection + idType: ContentNodeIdTypeEnum + ): ContentNode - """Connection between the RootQuery type and the User type""" - users( + """Connection between the RootQuery type and the ContentNode type""" + contentNodes( """ 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: RootQueryToUserConnectionWhereArgs - ): RootQueryToUserConnection - - """Returns the current user""" - viewer: User - - """Fields of the 'WritingSettings' settings group""" - writingSettings: WritingSettings -} - -"""Connection between the RootQuery type and the category type""" -type RootQueryToCategoryConnection implements CategoryConnection & Connection { - """Edges for the RootQueryToCategoryConnection connection""" - edges: [RootQueryToCategoryConnectionEdge!]! - - """The nodes of the connection, without the edges""" - nodes: [Category!]! - - """Information about pagination in a connection.""" - pageInfo: RootQueryToCategoryConnectionPageInfo! -} - -"""An edge in a connection""" -type RootQueryToCategoryConnectionEdge implements CategoryConnectionEdge & Edge { - """A cursor for use in pagination""" - cursor: String - - """The item at the end of the edge""" - node: Category! -} - -"""Page Info on the "RootQueryToCategoryConnection"""" -type RootQueryToCategoryConnectionPageInfo implements CategoryConnectionPageInfo & 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! - - """Raw schema for page""" - seo: SEOPostTypePageInfo - - """When paginating backwards, the cursor to continue.""" - startCursor: String -} - -"""Arguments for filtering the RootQueryToCategoryConnection connection""" -input RootQueryToCategoryConnectionWhereArgs { - """ - Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. - """ - cacheDomain: String - - """ - Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. - """ - childOf: Int - - """ - True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. - """ - childless: Boolean - - """ - Retrieve terms where the description is LIKE the input value. Default empty. - """ - descriptionLike: String - - """ - Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. - """ - exclude: [ID] - - """ - Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. - """ - excludeTree: [ID] - - """ - Whether to hide terms not assigned to any posts. Accepts true or false. Default false - """ - hideEmpty: Boolean - - """ - Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. - """ - hierarchical: Boolean - - """Array of term ids to include. Default empty array.""" - include: [ID] - - """Array of names to return term(s) for. Default empty.""" - name: [String] - - """Retrieve terms where the name is LIKE the input value. Default empty.""" - nameLike: String - - """ - Array of object IDs. Results will be limited to terms associated with these objects. - """ - objectIds: [ID] - - """Direction the connection should be ordered in""" - order: OrderEnum - - """Field(s) to order terms by. Defaults to 'name'.""" - orderby: TermObjectsConnectionOrderbyEnum - - """ - Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. - """ - padCounts: Boolean - - """Parent term ID to retrieve direct-child terms of. Default empty.""" - parent: Int - - """ - Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. - """ - search: String - - """Array of slugs to return term(s) for. Default empty.""" - slug: [String] + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomId: [ID] + """The number of items to return after the referenced "after" cursor""" + first: Int - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomyId: [ID] + """The number of items to return before the referenced "before" cursor""" + last: Int - """Whether to prime meta caches for matched terms. Default true.""" - updateTermMetaCache: Boolean -} + """Arguments for filtering the connection""" + where: RootQueryToContentNodeConnectionWhereArgs + ): RootQueryToContentNodeConnection -"""Connection between the RootQuery type and the Comment type""" -type RootQueryToCommentConnection implements CommentConnection & Connection { - """Edges for the RootQueryToCommentConnection connection""" - edges: [RootQueryToCommentConnectionEdge!]! + """Fetch a Content Type node by unique Identifier""" + contentType( + """Unique Identifier for the Content Type node.""" + id: ID! - """The nodes of the connection, without the edges""" - nodes: [Comment!]! + """ + Type of unique identifier to fetch a content type by. Default is Global ID + """ + idType: ContentTypeIdTypeEnum + ): ContentType - """Information about pagination in a connection.""" - pageInfo: RootQueryToCommentConnectionPageInfo! -} + """Connection between the RootQuery type and the ContentType type""" + contentTypes( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String -"""An edge in a connection""" -type RootQueryToCommentConnectionEdge implements CommentConnectionEdge & Edge { - """A cursor for use in pagination""" - cursor: String + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """The item at the end of the edge""" - node: Comment! -} + """The number of items to return after the referenced "after" cursor""" + first: Int -"""Page Info on the "RootQueryToCommentConnection"""" -type RootQueryToCommentConnectionPageInfo implements CommentConnectionPageInfo & PageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String + """The number of items to return before the referenced "before" cursor""" + last: Int + ): RootQueryToContentTypeConnection - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! + """Fields of the 'DiscussionSettings' settings group""" + discussionSettings: DiscussionSettings - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """Fields of the 'GeneralSettings' settings group""" + generalSettings: GeneralSettings - """Raw schema for page""" - seo: SEOPostTypePageInfo + """ + Returns the stylesheet resulting of merging core, theme, and user data. + """ + globalStylesheet( + """Types of styles to load.""" + types: [GlobalStylesheetTypesEnum] + ): String - """When paginating backwards, the cursor to continue.""" - startCursor: String -} + """An object of the mediaItem Type. """ + mediaItem( + """ + Whether to return the Preview Node instead of the Published Node. When the ID of a Node is provided along with asPreview being set to true, the preview node with un-published changes will be returned instead of the published node. If no preview node exists or the requester doesn't have proper capabilities to preview, no node will be returned. If the ID provided is a URI and has a preview query arg, it will be used as a fallback if the "asPreview" argument is not explicitly provided as an argument. + """ + asPreview: Boolean -"""Arguments for filtering the RootQueryToCommentConnection connection""" -input RootQueryToCommentConnectionWhereArgs { - """Comment author email address.""" - authorEmail: String + """The globally unique identifier of the object.""" + id: ID! - """Array of author IDs to include comments for.""" - authorIn: [ID] + """Type of unique identifier to fetch by. Default is Global ID""" + idType: MediaItemIdType + ): MediaItem - """Array of author IDs to exclude comments for.""" - authorNotIn: [ID] + """A mediaItem object""" + mediaItemBy( + """Get the mediaItem object by its global ID""" + id: ID - """Comment author URL.""" - authorUrl: String + """Get the mediaItem by its database ID""" + mediaItemId: Int - """Array of comment IDs to include.""" - commentIn: [ID] + """ + Get the mediaItem by its slug (only available for non-hierarchical types) + """ + slug: String - """ - Array of IDs of users whose unapproved comments will be returned by the query regardless of status. - """ - commentNotIn: [ID] + """Get the mediaItem by its uri""" + uri: String + ): MediaItem @deprecated(reason: "Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "")") - """Include comments of a given type.""" - commentType: String + """Connection between the RootQuery type and the mediaItem type""" + mediaItems( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """Include comments from a given array of comment types.""" - commentTypeIn: [String] + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """Exclude comments from a given array of comment types.""" - commentTypeNotIn: String + """The number of items to return after the referenced "after" cursor""" + first: Int - """Content object author ID to limit results by.""" - contentAuthor: [ID] + """The number of items to return before the referenced "before" cursor""" + last: Int - """Array of author IDs to retrieve comments for.""" - contentAuthorIn: [ID] + """Arguments for filtering the connection""" + where: RootQueryToMediaItemConnectionWhereArgs + ): RootQueryToMediaItemConnection - """Array of author IDs *not* to retrieve comments for.""" - contentAuthorNotIn: [ID] + """A WordPress navigation menu""" + menu( + """The globally unique identifier of the menu.""" + id: ID! - """Limit results to those affiliated with a given content object ID.""" - contentId: ID + """Type of unique identifier to fetch a menu by. Default is Global ID""" + idType: MenuNodeIdTypeEnum + ): Menu - """Array of content object IDs to include affiliated comments for.""" - contentIdIn: [ID] + """A WordPress navigation menu item""" + menuItem( + """The globally unique identifier of the menu item.""" + id: ID! - """Array of content object IDs to exclude affiliated comments for.""" - contentIdNotIn: [ID] + """ + Type of unique identifier to fetch a menu item by. Default is Global ID + """ + idType: MenuItemNodeIdTypeEnum + ): MenuItem - """Content object name (i.e. slug ) to retrieve affiliated comments for.""" - contentName: String + """Connection between the RootQuery type and the MenuItem type""" + menuItems( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """Content Object parent ID to retrieve affiliated comments for.""" - contentParent: Int + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """ - Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. - """ - contentStatus: [PostStatusEnum] + """The number of items to return after the referenced "after" cursor""" + first: Int - """ - Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. - """ - contentType: [ContentTypeEnum] + """The number of items to return before the referenced "before" cursor""" + last: Int - """ - Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty - """ - includeUnapproved: [ID] + """Arguments for filtering the connection""" + where: RootQueryToMenuItemConnectionWhereArgs + ): RootQueryToMenuItemConnection - """Karma score to retrieve matching comments for.""" - karma: Int + """Connection between the RootQuery type and the Menu type""" + menus( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """The cardinality of the order of the connection""" - order: OrderEnum + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """Field to order the comments by.""" - orderby: CommentsConnectionOrderbyEnum + """The number of items to return after the referenced "after" cursor""" + first: Int - """Parent ID of comment to retrieve children of.""" - parent: Int + """The number of items to return before the referenced "before" cursor""" + last: Int - """Array of parent IDs of comments to retrieve children for.""" - parentIn: [ID] + """Arguments for filtering the connection""" + where: RootQueryToMenuConnectionWhereArgs + ): RootQueryToMenuConnection - """Array of parent IDs of comments *not* to retrieve children for.""" - parentNotIn: [ID] + """Fetches an object given its ID""" + node( + """The unique identifier of the node""" + id: ID + ): Node - """Search term(s) to retrieve matching comments for.""" - search: String + """Fetches an object given its Unique Resource Identifier""" + nodeByUri( + """ + Unique Resource Identifier in the form of a path or permalink for a node. Ex: "/hello-world" + """ + uri: String! + ): UniformResourceIdentifiable + + """An object of the page Type. """ + page( + """ + Whether to return the Preview Node instead of the Published Node. When the ID of a Node is provided along with asPreview being set to true, the preview node with un-published changes will be returned instead of the published node. If no preview node exists or the requester doesn't have proper capabilities to preview, no node will be returned. If the ID provided is a URI and has a preview query arg, it will be used as a fallback if the "asPreview" argument is not explicitly provided as an argument. + """ + asPreview: Boolean - """Comment status to limit results by.""" - status: String + """The globally unique identifier of the object.""" + id: ID! - """Include comments for a specific user ID.""" - userId: ID -} + """Type of unique identifier to fetch by. Default is Global ID""" + idType: PageIdType + ): Page -"""Connection between the RootQuery type and the ContentNode type""" -type RootQueryToContentNodeConnection implements Connection & ContentNodeConnection { - """Edges for the RootQueryToContentNodeConnection connection""" - edges: [RootQueryToContentNodeConnectionEdge!]! + """A page object""" + pageBy( + """Get the page object by its global ID""" + id: ID - """The nodes of the connection, without the edges""" - nodes: [ContentNode!]! + """Get the page by its database ID""" + pageId: Int - """Information about pagination in a connection.""" - pageInfo: RootQueryToContentNodeConnectionPageInfo! -} + """Get the page by its uri""" + uri: String + ): Page @deprecated(reason: "Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "")") -"""An edge in a connection""" -type RootQueryToContentNodeConnectionEdge implements ContentNodeConnectionEdge & Edge { - """A cursor for use in pagination""" - cursor: String + """Connection between the RootQuery type and the page type""" + pages( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """The item at the end of the edge""" - node: ContentNode! -} + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String -"""Page Info on the "RootQueryToContentNodeConnection"""" -type RootQueryToContentNodeConnectionPageInfo implements ContentNodeConnectionPageInfo & PageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String + """The number of items to return after the referenced "after" cursor""" + first: Int - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! + """The number of items to return before the referenced "before" cursor""" + last: Int - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """Arguments for filtering the connection""" + where: RootQueryToPageConnectionWhereArgs + ): RootQueryToPageConnection - """Raw schema for page""" - seo: SEOPostTypePageInfo + """A WordPress plugin""" + plugin( + """The globally unique identifier of the plugin.""" + id: ID! + ): Plugin - """When paginating backwards, the cursor to continue.""" - startCursor: String -} + """Connection between the RootQuery type and the Plugin type""" + plugins( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String -""" -Arguments for filtering the RootQueryToContentNodeConnection connection -""" -input RootQueryToContentNodeConnectionWhereArgs { - """The Types of content to filter""" - contentTypes: [ContentTypeEnum] + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """Filter the connection based on dates""" - dateQuery: DateQueryInput + """The number of items to return after the referenced "after" cursor""" + first: Int - """ - True for objects with passwords; False for objects without passwords; null for all objects with or without passwords - """ - hasPassword: Boolean + """The number of items to return before the referenced "before" cursor""" + last: Int - """Specific database ID of the object""" - id: Int + """Arguments for filtering the connection""" + where: RootQueryToPluginConnectionWhereArgs + ): RootQueryToPluginConnection - """Array of IDs for the objects to retrieve""" - in: [ID] + """An object of the post Type. """ + post( + """ + Whether to return the Preview Node instead of the Published Node. When the ID of a Node is provided along with asPreview being set to true, the preview node with un-published changes will be returned instead of the published node. If no preview node exists or the requester doesn't have proper capabilities to preview, no node will be returned. If the ID provided is a URI and has a preview query arg, it will be used as a fallback if the "asPreview" argument is not explicitly provided as an argument. + """ + asPreview: Boolean - """Get objects with a specific mimeType property""" - mimeType: MimeTypeEnum + """The globally unique identifier of the object.""" + id: ID! - """Slug / post_name of the object""" - name: String + """Type of unique identifier to fetch by. Default is Global ID""" + idType: PostIdType + ): Post - """Specify objects to retrieve. Use slugs""" - nameIn: [String] + """A post object""" + postBy( + """Get the post object by its global ID""" + id: ID - """ - Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored - """ - notIn: [ID] + """Get the post by its database ID""" + postId: Int - """What parameter to use to order the objects by.""" - orderby: [PostObjectsConnectionOrderbyInput] + """Get the post by its slug (only available for non-hierarchical types)""" + slug: String - """Use ID to return only children. Use 0 to return only top-level items""" - parent: ID + """Get the post by its uri""" + uri: String + ): Post @deprecated(reason: "Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "")") - """Specify objects whose parent is in an array""" - parentIn: [ID] + """A 0bject""" + postFormat( + """The globally unique identifier of the object.""" + id: ID! - """Specify posts whose parent is not in an array""" - parentNotIn: [ID] + """Type of unique identifier to fetch by. Default is Global ID""" + idType: PostFormatIdType + ): PostFormat - """Show posts with a specific password.""" - password: String + """Connection between the RootQuery type and the postFormat type""" + postFormats( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """Show Posts based on a keyword search""" - search: String + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """Retrieve posts where post status is in an array.""" - stati: [PostStatusEnum] + """The number of items to return after the referenced "after" cursor""" + first: Int - """Show posts with a specific status.""" - status: PostStatusEnum + """The number of items to return before the referenced "before" cursor""" + last: Int - """Title of the object""" - title: String -} + """Arguments for filtering the connection""" + where: RootQueryToPostFormatConnectionWhereArgs + ): RootQueryToPostFormatConnection -"""Connection between the RootQuery type and the ContentType type""" -type RootQueryToContentTypeConnection implements Connection & ContentTypeConnection { - """Edges for the RootQueryToContentTypeConnection connection""" - edges: [RootQueryToContentTypeConnectionEdge!]! + """Connection between the RootQuery type and the post type""" + posts( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """The nodes of the connection, without the edges""" - nodes: [ContentType!]! + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """Information about pagination in a connection.""" - pageInfo: RootQueryToContentTypeConnectionPageInfo! -} + """The number of items to return after the referenced "after" cursor""" + first: Int -"""An edge in a connection""" -type RootQueryToContentTypeConnectionEdge implements ContentTypeConnectionEdge & Edge { - """A cursor for use in pagination""" - cursor: String + """The number of items to return before the referenced "before" cursor""" + last: Int - """The item at the end of the edge""" - node: ContentType! -} + """Arguments for filtering the connection""" + where: RootQueryToPostConnectionWhereArgs + ): RootQueryToPostConnection -"""Page Info on the "RootQueryToContentTypeConnection"""" -type RootQueryToContentTypeConnectionPageInfo implements ContentTypeConnectionPageInfo & PageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String + """Fields of the 'ReadingSettings' settings group""" + readingSettings: ReadingSettings - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! + """Connection between the RootQuery type and the EnqueuedScript type""" + registeredScripts( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """Raw schema for page""" - seo: SEOPostTypePageInfo + """The number of items to return after the referenced "after" cursor""" + first: Int - """When paginating backwards, the cursor to continue.""" - startCursor: String -} + """The number of items to return before the referenced "before" cursor""" + last: Int + ): RootQueryToEnqueuedScriptConnection -"""Connection between the RootQuery type and the EnqueuedScript type""" -type RootQueryToEnqueuedScriptConnection implements Connection & EnqueuedScriptConnection { - """Edges for the RootQueryToEnqueuedScriptConnection connection""" - edges: [RootQueryToEnqueuedScriptConnectionEdge!]! + """Connection between the RootQuery type and the EnqueuedStylesheet type""" + registeredStylesheets( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """The nodes of the connection, without the edges""" - nodes: [EnqueuedScript!]! + """ + 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 - """Information about pagination in a connection.""" - pageInfo: RootQueryToEnqueuedScriptConnectionPageInfo! -} + """The number of items to return before the referenced "before" cursor""" + last: Int + ): RootQueryToEnqueuedStylesheetConnection -"""An edge in a connection""" -type RootQueryToEnqueuedScriptConnectionEdge implements Edge & EnqueuedScriptConnectionEdge { - """A cursor for use in pagination""" - cursor: String + """Connection between the RootQuery type and the ContentNode type""" + revisions( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """The item at the end of the edge""" - node: EnqueuedScript! -} + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String -"""Page Info on the "RootQueryToEnqueuedScriptConnection"""" -type RootQueryToEnqueuedScriptConnectionPageInfo implements EnqueuedScriptConnectionPageInfo & PageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String + """The number of items to return after the referenced "after" cursor""" + first: Int - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! + """The number of items to return before the referenced "before" cursor""" + last: Int - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """Arguments for filtering the connection""" + where: RootQueryToRevisionsConnectionWhereArgs + ): RootQueryToRevisionsConnection - """Raw schema for page""" - seo: SEOPostTypePageInfo + """A 0bject""" + tag( + """The globally unique identifier of the object.""" + id: ID! - """When paginating backwards, the cursor to continue.""" - startCursor: String -} + """Type of unique identifier to fetch by. Default is Global ID""" + idType: TagIdType + ): Tag -"""Connection between the RootQuery type and the EnqueuedStylesheet type""" -type RootQueryToEnqueuedStylesheetConnection implements Connection & EnqueuedStylesheetConnection { - """Edges for the RootQueryToEnqueuedStylesheetConnection connection""" - edges: [RootQueryToEnqueuedStylesheetConnectionEdge!]! + """Connection between the RootQuery type and the tag type""" + tags( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """The nodes of the connection, without the edges""" - nodes: [EnqueuedStylesheet!]! + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """Information about pagination in a connection.""" - pageInfo: RootQueryToEnqueuedStylesheetConnectionPageInfo! -} + """The number of items to return after the referenced "after" cursor""" + first: Int -"""An edge in a connection""" -type RootQueryToEnqueuedStylesheetConnectionEdge implements Edge & EnqueuedStylesheetConnectionEdge { - """A cursor for use in pagination""" - cursor: String + """The number of items to return before the referenced "before" cursor""" + last: Int - """The item at the end of the edge""" - node: EnqueuedStylesheet! -} + """Arguments for filtering the connection""" + where: RootQueryToTagConnectionWhereArgs + ): RootQueryToTagConnection -"""Page Info on the "RootQueryToEnqueuedStylesheetConnection"""" -type RootQueryToEnqueuedStylesheetConnectionPageInfo implements EnqueuedStylesheetConnectionPageInfo & PageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String + """Connection between the RootQuery type and the Taxonomy type""" + taxonomies( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """The number of items to return after the referenced "after" cursor""" + first: Int - """Raw schema for page""" - seo: SEOPostTypePageInfo + """The number of items to return before the referenced "before" cursor""" + last: Int + ): RootQueryToTaxonomyConnection - """When paginating backwards, the cursor to continue.""" - startCursor: String -} + """Fetch a Taxonomy node by unique Identifier""" + taxonomy( + """Unique Identifier for the Taxonomy node.""" + id: ID! -"""Connection between the RootQuery type and the graphqlDocument type""" -type RootQueryToGraphqlDocumentConnection implements Connection & GraphqlDocumentConnection { - """Edges for the RootQueryToGraphqlDocumentConnection connection""" - edges: [RootQueryToGraphqlDocumentConnectionEdge!]! + """Type of unique identifier to fetch a taxonomy by. Default is Global ID""" + idType: TaxonomyIdTypeEnum + ): Taxonomy - """The nodes of the connection, without the edges""" - nodes: [GraphqlDocument!]! + """A node in a taxonomy used to group and relate content nodes""" + termNode( + """Unique identifier for the term node.""" + id: ID! - """Information about pagination in a connection.""" - pageInfo: RootQueryToGraphqlDocumentConnectionPageInfo! -} + """ + Type of unique identifier to fetch a term node by. Default is Global ID + """ + idType: TermNodeIdTypeEnum -"""An edge in a connection""" -type RootQueryToGraphqlDocumentConnectionEdge implements Edge & GraphqlDocumentConnectionEdge { - """A cursor for use in pagination""" - cursor: String + """ + The taxonomy of the tern node. Required when idType is set to "name" or "slug" + """ + taxonomy: TaxonomyEnum + ): TermNode - """The item at the end of the edge""" - node: GraphqlDocument! -} + """Connection between the RootQuery type and the TermNode type""" + terms( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String -"""Page Info on the "RootQueryToGraphqlDocumentConnection"""" -type RootQueryToGraphqlDocumentConnectionPageInfo implements GraphqlDocumentConnectionPageInfo & PageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! + """The number of items to return after the referenced "after" cursor""" + first: Int - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """The number of items to return before the referenced "before" cursor""" + last: Int - """Raw schema for page""" - seo: SEOPostTypePageInfo + """Arguments for filtering the connection""" + where: RootQueryToTermNodeConnectionWhereArgs + ): RootQueryToTermNodeConnection - """When paginating backwards, the cursor to continue.""" - startCursor: String -} + """A Theme object""" + theme( + """The globally unique identifier of the theme.""" + id: ID! + ): Theme -""" -Arguments for filtering the RootQueryToGraphqlDocumentConnection connection -""" -input RootQueryToGraphqlDocumentConnectionWhereArgs { - """Filter the connection based on dates""" - dateQuery: DateQueryInput + """Connection between the RootQuery type and the Theme type""" + themes( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """ - True for objects with passwords; False for objects without passwords; null for all objects with or without passwords - """ - hasPassword: Boolean + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """Specific database ID of the object""" - id: Int + """The number of items to return after the referenced "after" cursor""" + first: Int - """Array of IDs for the objects to retrieve""" - in: [ID] + """The number of items to return before the referenced "before" cursor""" + last: Int + ): RootQueryToThemeConnection - """Get objects with a specific mimeType property""" - mimeType: MimeTypeEnum + """Returns a user""" + user( + """The globally unique identifier of the user.""" + id: ID! - """Slug / post_name of the object""" - name: String + """Type of unique identifier to fetch a user by. Default is Global ID""" + idType: UserNodeIdTypeEnum + ): User - """Specify objects to retrieve. Use slugs""" - nameIn: [String] + """Returns a user role""" + userRole( + """The globally unique identifier of the user object.""" + id: ID! + ): UserRole - """ - Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored - """ - notIn: [ID] + """Connection between the RootQuery type and the UserRole type""" + userRoles( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """What parameter to use to order the objects by.""" - orderby: [PostObjectsConnectionOrderbyInput] + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """Use ID to return only children. Use 0 to return only top-level items""" - parent: ID + """The number of items to return after the referenced "after" cursor""" + first: Int - """Specify objects whose parent is in an array""" - parentIn: [ID] + """The number of items to return before the referenced "before" cursor""" + last: Int + ): RootQueryToUserRoleConnection - """Specify posts whose parent is not in an array""" - parentNotIn: [ID] + """Connection between the RootQuery type and the User type""" + users( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String - """Show posts with a specific password.""" - password: String + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String - """Show Posts based on a keyword search""" - search: 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 - """Retrieve posts where post status is in an array.""" - stati: [PostStatusEnum] + """Arguments for filtering the connection""" + where: RootQueryToUserConnectionWhereArgs + ): RootQueryToUserConnection - """Show posts with a specific status.""" - status: PostStatusEnum + """Returns the current user""" + viewer: User - """Title of the object""" - title: String + """Fields of the 'WritingSettings' settings group""" + writingSettings: WritingSettings } -""" -Connection between the RootQuery type and the graphqlDocumentGroup type -""" -type RootQueryToGraphqlDocumentGroupConnection implements Connection & GraphqlDocumentGroupConnection { - """Edges for the RootQueryToGraphqlDocumentGroupConnection connection""" - edges: [RootQueryToGraphqlDocumentGroupConnectionEdge!]! +"""Connection between the RootQuery type and the category type""" +type RootQueryToCategoryConnection implements CategoryConnection & Connection { + """Edges for the RootQueryToCategoryConnection connection""" + edges: [RootQueryToCategoryConnectionEdge!]! """The nodes of the connection, without the edges""" - nodes: [GraphqlDocumentGroup!]! + nodes: [Category!]! """Information about pagination in a connection.""" - pageInfo: RootQueryToGraphqlDocumentGroupConnectionPageInfo! + pageInfo: RootQueryToCategoryConnectionPageInfo! } """An edge in a connection""" -type RootQueryToGraphqlDocumentGroupConnectionEdge implements Edge & GraphqlDocumentGroupConnectionEdge { +type RootQueryToCategoryConnectionEdge implements CategoryConnectionEdge & Edge { """A cursor for use in pagination""" cursor: String """The item at the end of the edge""" - node: GraphqlDocumentGroup! + node: Category! } -"""Page Info on the "RootQueryToGraphqlDocumentGroupConnection"""" -type RootQueryToGraphqlDocumentGroupConnectionPageInfo implements GraphqlDocumentGroupConnectionPageInfo & PageInfo & WPPageInfo { +"""Page Info on the "RootQueryToCategoryConnection"""" +type RootQueryToCategoryConnectionPageInfo implements CategoryConnectionPageInfo & PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -20537,17 +18489,12 @@ type RootQueryToGraphqlDocumentGroupConnectionPageInfo implements GraphqlDocumen """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -""" -Arguments for filtering the RootQueryToGraphqlDocumentGroupConnection connection -""" -input RootQueryToGraphqlDocumentGroupConnectionWhereArgs { +"""Arguments for filtering the RootQueryToCategoryConnection connection""" +input RootQueryToCategoryConnectionWhereArgs { """ Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. """ @@ -20634,29 +18581,29 @@ input RootQueryToGraphqlDocumentGroupConnectionWhereArgs { updateTermMetaCache: Boolean } -"""Connection between the RootQuery type and the mediaItem type""" -type RootQueryToMediaItemConnection implements Connection & MediaItemConnection { - """Edges for the RootQueryToMediaItemConnection connection""" - edges: [RootQueryToMediaItemConnectionEdge!]! +"""Connection between the RootQuery type and the Comment type""" +type RootQueryToCommentConnection implements CommentConnection & Connection { + """Edges for the RootQueryToCommentConnection connection""" + edges: [RootQueryToCommentConnectionEdge!]! """The nodes of the connection, without the edges""" - nodes: [MediaItem!]! + nodes: [Comment!]! """Information about pagination in a connection.""" - pageInfo: RootQueryToMediaItemConnectionPageInfo! + pageInfo: RootQueryToCommentConnectionPageInfo! } """An edge in a connection""" -type RootQueryToMediaItemConnectionEdge implements Edge & MediaItemConnectionEdge { +type RootQueryToCommentConnectionEdge implements CommentConnectionEdge & Edge { """A cursor for use in pagination""" cursor: String """The item at the end of the edge""" - node: MediaItem! + node: Comment! } -"""Page Info on the "RootQueryToMediaItemConnection"""" -type RootQueryToMediaItemConnectionPageInfo implements MediaItemConnectionPageInfo & PageInfo & WPPageInfo { +"""Page Info on the "RootQueryToCommentConnection"""" +type RootQueryToCommentConnectionPageInfo implements CommentConnectionPageInfo & PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -20666,215 +18613,131 @@ type RootQueryToMediaItemConnectionPageInfo implements MediaItemConnectionPageIn """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -"""Arguments for filtering the RootQueryToMediaItemConnection connection""" -input RootQueryToMediaItemConnectionWhereArgs { - """ - The user that's connected as the author of the object. Use the userId for the author object. - """ - author: Int +"""Arguments for filtering the RootQueryToCommentConnection connection""" +input RootQueryToCommentConnectionWhereArgs { + """Comment author email address.""" + authorEmail: String - """Find objects connected to author(s) in the array of author's userIds""" + """Array of author IDs to include comments for.""" authorIn: [ID] - """Find objects connected to the author by the author's nicename""" - authorName: String - - """ - Find objects NOT connected to author(s) in the array of author's userIds - """ + """Array of author IDs to exclude comments for.""" authorNotIn: [ID] - """Filter the connection based on dates""" - dateQuery: DateQueryInput - - """ - True for objects with passwords; False for objects without passwords; null for all objects with or without passwords - """ - hasPassword: Boolean - - """Specific database ID of the object""" - id: Int - - """Array of IDs for the objects to retrieve""" - in: [ID] - - """Get objects with a specific mimeType property""" - mimeType: MimeTypeEnum - - """Slug / post_name of the object""" - name: String + """Comment author URL.""" + authorUrl: String - """Specify objects to retrieve. Use slugs""" - nameIn: [String] + """Array of comment IDs to include.""" + commentIn: [ID] """ - Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + Array of IDs of users whose unapproved comments will be returned by the query regardless of status. """ - notIn: [ID] - - """What parameter to use to order the objects by.""" - orderby: [PostObjectsConnectionOrderbyInput] - - """Use ID to return only children. Use 0 to return only top-level items""" - parent: ID - - """Specify objects whose parent is in an array""" - parentIn: [ID] - - """Specify posts whose parent is not in an array""" - parentNotIn: [ID] - - """Show posts with a specific password.""" - password: String - - """Show Posts based on a keyword search""" - search: String - - """Retrieve posts where post status is in an array.""" - stati: [PostStatusEnum] - - """Show posts with a specific status.""" - status: PostStatusEnum - - """Title of the object""" - title: String -} - -"""Connection between the RootQuery type and the Menu type""" -type RootQueryToMenuConnection implements Connection & MenuConnection { - """Edges for the RootQueryToMenuConnection connection""" - edges: [RootQueryToMenuConnectionEdge!]! - - """The nodes of the connection, without the edges""" - nodes: [Menu!]! - - """Information about pagination in a connection.""" - pageInfo: RootQueryToMenuConnectionPageInfo! -} - -"""An edge in a connection""" -type RootQueryToMenuConnectionEdge implements Edge & MenuConnectionEdge { - """A cursor for use in pagination""" - cursor: String - - """The item at the end of the edge""" - node: Menu! -} + commentNotIn: [ID] -"""Page Info on the "RootQueryToMenuConnection"""" -type RootQueryToMenuConnectionPageInfo implements MenuConnectionPageInfo & PageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String + """Include comments of a given type.""" + commentType: String - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! + """Include comments from a given array of comment types.""" + commentTypeIn: [String] - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """Exclude comments from a given array of comment types.""" + commentTypeNotIn: String - """Raw schema for page""" - seo: SEOPostTypePageInfo + """Content object author ID to limit results by.""" + contentAuthor: [ID] - """When paginating backwards, the cursor to continue.""" - startCursor: String -} + """Array of author IDs to retrieve comments for.""" + contentAuthorIn: [ID] -"""Arguments for filtering the RootQueryToMenuConnection connection""" -input RootQueryToMenuConnectionWhereArgs { - """The database ID of the object""" - id: Int + """Array of author IDs *not* to retrieve comments for.""" + contentAuthorNotIn: [ID] - """The menu location for the menu being queried""" - location: MenuLocationEnum + """Limit results to those affiliated with a given content object ID.""" + contentId: ID - """The slug of the menu to query items for""" - slug: String -} + """Array of content object IDs to include affiliated comments for.""" + contentIdIn: [ID] -"""Connection between the RootQuery type and the MenuItem type""" -type RootQueryToMenuItemConnection implements Connection & MenuItemConnection { - """Edges for the RootQueryToMenuItemConnection connection""" - edges: [RootQueryToMenuItemConnectionEdge!]! + """Array of content object IDs to exclude affiliated comments for.""" + contentIdNotIn: [ID] - """The nodes of the connection, without the edges""" - nodes: [MenuItem!]! + """Content object name (i.e. slug ) to retrieve affiliated comments for.""" + contentName: String - """Information about pagination in a connection.""" - pageInfo: RootQueryToMenuItemConnectionPageInfo! -} + """Content Object parent ID to retrieve affiliated comments for.""" + contentParent: Int -"""An edge in a connection""" -type RootQueryToMenuItemConnectionEdge implements Edge & MenuItemConnectionEdge { - """A cursor for use in pagination""" - cursor: String + """ + Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentStatus: [PostStatusEnum] - """The item at the end of the edge""" - node: MenuItem! -} + """ + Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentType: [ContentTypeEnum] -"""Page Info on the "RootQueryToMenuItemConnection"""" -type RootQueryToMenuItemConnectionPageInfo implements MenuItemConnectionPageInfo & PageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String + """ + Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty + """ + includeUnapproved: [ID] - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! + """Karma score to retrieve matching comments for.""" + karma: Int - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """The cardinality of the order of the connection""" + order: OrderEnum - """Raw schema for page""" - seo: SEOPostTypePageInfo + """Field to order the comments by.""" + orderby: CommentsConnectionOrderbyEnum - """When paginating backwards, the cursor to continue.""" - startCursor: String -} + """Parent ID of comment to retrieve children of.""" + parent: Int -"""Arguments for filtering the RootQueryToMenuItemConnection connection""" -input RootQueryToMenuItemConnectionWhereArgs { - """The database ID of the object""" - id: Int + """Array of parent IDs of comments to retrieve children for.""" + parentIn: [ID] - """The menu location for the menu being queried""" - location: MenuLocationEnum + """Array of parent IDs of comments *not* to retrieve children for.""" + parentNotIn: [ID] - """The database ID of the parent menu object""" - parentDatabaseId: Int + """Search term(s) to retrieve matching comments for.""" + search: String - """The ID of the parent menu object""" - parentId: ID + """Comment status to limit results by.""" + status: String + + """Include comments for a specific user ID.""" + userId: ID } -"""Connection between the RootQuery type and the page type""" -type RootQueryToPageConnection implements Connection & PageConnection { - """Edges for the RootQueryToPageConnection connection""" - edges: [RootQueryToPageConnectionEdge!]! +"""Connection between the RootQuery type and the ContentNode type""" +type RootQueryToContentNodeConnection implements Connection & ContentNodeConnection { + """Edges for the RootQueryToContentNodeConnection connection""" + edges: [RootQueryToContentNodeConnectionEdge!]! """The nodes of the connection, without the edges""" - nodes: [Page!]! + nodes: [ContentNode!]! """Information about pagination in a connection.""" - pageInfo: RootQueryToPageConnectionPageInfo! + pageInfo: RootQueryToContentNodeConnectionPageInfo! } """An edge in a connection""" -type RootQueryToPageConnectionEdge implements Edge & PageConnectionEdge { +type RootQueryToContentNodeConnectionEdge implements ContentNodeConnectionEdge & Edge { """A cursor for use in pagination""" cursor: String """The item at the end of the edge""" - node: Page! + node: ContentNode! } -"""Page Info on the "RootQueryToPageConnection"""" -type RootQueryToPageConnectionPageInfo implements PageConnectionPageInfo & PageInfo & WPPageInfo { +"""Page Info on the "RootQueryToContentNodeConnection"""" +type RootQueryToContentNodeConnectionPageInfo implements ContentNodeConnectionPageInfo & PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -20884,30 +18747,16 @@ type RootQueryToPageConnectionPageInfo implements PageConnectionPageInfo & PageI """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -"""Arguments for filtering the RootQueryToPageConnection connection""" -input RootQueryToPageConnectionWhereArgs { - """ - The user that's connected as the author of the object. Use the userId for the author object. - """ - author: Int - - """Find objects connected to author(s) in the array of author's userIds""" - authorIn: [ID] - - """Find objects connected to the author by the author's nicename""" - authorName: String - - """ - Find objects NOT connected to author(s) in the array of author's userIds - """ - authorNotIn: [ID] +""" +Arguments for filtering the RootQueryToContentNodeConnection connection +""" +input RootQueryToContentNodeConnectionWhereArgs { + """The Types of content to filter""" + contentTypes: [ContentTypeEnum] """Filter the connection based on dates""" dateQuery: DateQueryInput @@ -20965,29 +18814,29 @@ input RootQueryToPageConnectionWhereArgs { title: String } -"""Connection between the RootQuery type and the Plugin type""" -type RootQueryToPluginConnection implements Connection & PluginConnection { - """Edges for the RootQueryToPluginConnection connection""" - edges: [RootQueryToPluginConnectionEdge!]! +"""Connection between the RootQuery type and the ContentType type""" +type RootQueryToContentTypeConnection implements Connection & ContentTypeConnection { + """Edges for the RootQueryToContentTypeConnection connection""" + edges: [RootQueryToContentTypeConnectionEdge!]! """The nodes of the connection, without the edges""" - nodes: [Plugin!]! + nodes: [ContentType!]! """Information about pagination in a connection.""" - pageInfo: RootQueryToPluginConnectionPageInfo! + pageInfo: RootQueryToContentTypeConnectionPageInfo! } """An edge in a connection""" -type RootQueryToPluginConnectionEdge implements Edge & PluginConnectionEdge { +type RootQueryToContentTypeConnectionEdge implements ContentTypeConnectionEdge & Edge { """A cursor for use in pagination""" cursor: String """The item at the end of the edge""" - node: Plugin! + node: ContentType! } -"""Page Info on the "RootQueryToPluginConnection"""" -type RootQueryToPluginConnectionPageInfo implements PageInfo & PluginConnectionPageInfo & WPPageInfo { +"""Page Info on the "RootQueryToContentTypeConnection"""" +type RootQueryToContentTypeConnectionPageInfo implements ContentTypeConnectionPageInfo & PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -20997,48 +18846,69 @@ type RootQueryToPluginConnectionPageInfo implements PageInfo & PluginConnectionP """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -"""Arguments for filtering the RootQueryToPluginConnection connection""" -input RootQueryToPluginConnectionWhereArgs { - """Show plugin based on a keyword search.""" - search: String +"""Connection between the RootQuery type and the EnqueuedScript type""" +type RootQueryToEnqueuedScriptConnection implements Connection & EnqueuedScriptConnection { + """Edges for the RootQueryToEnqueuedScriptConnection connection""" + edges: [RootQueryToEnqueuedScriptConnectionEdge!]! - """Retrieve plugins where plugin status is in an array.""" - stati: [PluginStatusEnum] + """The nodes of the connection, without the edges""" + nodes: [EnqueuedScript!]! - """Show plugins with a specific status.""" - status: PluginStatusEnum + """Information about pagination in a connection.""" + pageInfo: RootQueryToEnqueuedScriptConnectionPageInfo! } -"""Connection between the RootQuery type and the post type""" -type RootQueryToPostConnection implements Connection & PostConnection { - """Edges for the RootQueryToPostConnection connection""" - edges: [RootQueryToPostConnectionEdge!]! +"""An edge in a connection""" +type RootQueryToEnqueuedScriptConnectionEdge implements Edge & EnqueuedScriptConnectionEdge { + """A cursor for use in pagination""" + cursor: String + + """The item at the end of the edge""" + node: EnqueuedScript! +} + +"""Page Info on the "RootQueryToEnqueuedScriptConnection"""" +type RootQueryToEnqueuedScriptConnectionPageInfo implements EnqueuedScriptConnectionPageInfo & 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 +} + +"""Connection between the RootQuery type and the EnqueuedStylesheet type""" +type RootQueryToEnqueuedStylesheetConnection implements Connection & EnqueuedStylesheetConnection { + """Edges for the RootQueryToEnqueuedStylesheetConnection connection""" + edges: [RootQueryToEnqueuedStylesheetConnectionEdge!]! """The nodes of the connection, without the edges""" - nodes: [Post!]! + nodes: [EnqueuedStylesheet!]! """Information about pagination in a connection.""" - pageInfo: RootQueryToPostConnectionPageInfo! + pageInfo: RootQueryToEnqueuedStylesheetConnectionPageInfo! } """An edge in a connection""" -type RootQueryToPostConnectionEdge implements Edge & PostConnectionEdge { +type RootQueryToEnqueuedStylesheetConnectionEdge implements Edge & EnqueuedStylesheetConnectionEdge { """A cursor for use in pagination""" cursor: String """The item at the end of the edge""" - node: Post! + node: EnqueuedStylesheet! } -"""Page Info on the "RootQueryToPostConnection"""" -type RootQueryToPostConnectionPageInfo implements PageInfo & PostConnectionPageInfo & WPPageInfo { +"""Page Info on the "RootQueryToEnqueuedStylesheetConnection"""" +type RootQueryToEnqueuedStylesheetConnectionPageInfo implements EnqueuedStylesheetConnectionPageInfo & PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -21048,15 +18918,48 @@ type RootQueryToPostConnectionPageInfo implements PageInfo & PostConnectionPageI """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo + """When paginating backwards, the cursor to continue.""" + startCursor: String +} + +"""Connection between the RootQuery type and the mediaItem type""" +type RootQueryToMediaItemConnection implements Connection & MediaItemConnection { + """Edges for the RootQueryToMediaItemConnection connection""" + edges: [RootQueryToMediaItemConnectionEdge!]! + + """The nodes of the connection, without the edges""" + nodes: [MediaItem!]! + + """Information about pagination in a connection.""" + pageInfo: RootQueryToMediaItemConnectionPageInfo! +} + +"""An edge in a connection""" +type RootQueryToMediaItemConnectionEdge implements Edge & MediaItemConnectionEdge { + """A cursor for use in pagination""" + cursor: String + + """The item at the end of the edge""" + node: MediaItem! +} + +"""Page Info on the "RootQueryToMediaItemConnection"""" +type RootQueryToMediaItemConnectionPageInfo implements MediaItemConnectionPageInfo & 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 } -"""Arguments for filtering the RootQueryToPostConnection connection""" -input RootQueryToPostConnectionWhereArgs { +"""Arguments for filtering the RootQueryToMediaItemConnection connection""" +input RootQueryToMediaItemConnectionWhereArgs { """ The user that's connected as the author of the object. Use the userId for the author object. """ @@ -21073,22 +18976,6 @@ input RootQueryToPostConnectionWhereArgs { """ authorNotIn: [ID] - """Category ID""" - categoryId: Int - - """ - Array of category IDs, used to display objects from one category OR another - """ - categoryIn: [ID] - - """Use Category Slug""" - categoryName: String - - """ - Array of category IDs, used to display objects from one category OR another - """ - categoryNotIn: [ID] - """Filter the connection based on dates""" dateQuery: DateQueryInput @@ -21141,51 +19028,33 @@ input RootQueryToPostConnectionWhereArgs { """Show posts with a specific status.""" status: PostStatusEnum - """Tag Slug""" - tag: String - - """Use Tag ID""" - tagId: String - - """Array of tag IDs, used to display objects from one tag OR another""" - tagIn: [ID] - - """Array of tag IDs, used to display objects from one tag OR another""" - tagNotIn: [ID] - - """Array of tag slugs, used to display objects from one tag AND another""" - tagSlugAnd: [String] - - """Array of tag slugs, used to include objects in ANY specified tags""" - tagSlugIn: [String] - """Title of the object""" title: String } -"""Connection between the RootQuery type and the postFormat type""" -type RootQueryToPostFormatConnection implements Connection & PostFormatConnection { - """Edges for the RootQueryToPostFormatConnection connection""" - edges: [RootQueryToPostFormatConnectionEdge!]! +"""Connection between the RootQuery type and the Menu type""" +type RootQueryToMenuConnection implements Connection & MenuConnection { + """Edges for the RootQueryToMenuConnection connection""" + edges: [RootQueryToMenuConnectionEdge!]! """The nodes of the connection, without the edges""" - nodes: [PostFormat!]! + nodes: [Menu!]! """Information about pagination in a connection.""" - pageInfo: RootQueryToPostFormatConnectionPageInfo! + pageInfo: RootQueryToMenuConnectionPageInfo! } """An edge in a connection""" -type RootQueryToPostFormatConnectionEdge implements Edge & PostFormatConnectionEdge { +type RootQueryToMenuConnectionEdge implements Edge & MenuConnectionEdge { """A cursor for use in pagination""" cursor: String """The item at the end of the edge""" - node: PostFormat! + node: Menu! } -"""Page Info on the "RootQueryToPostFormatConnection"""" -type RootQueryToPostFormatConnectionPageInfo implements PageInfo & PostFormatConnectionPageInfo & WPPageInfo { +"""Page Info on the "RootQueryToMenuConnection"""" +type RootQueryToMenuConnectionPageInfo implements MenuConnectionPageInfo & PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -21195,124 +19064,96 @@ type RootQueryToPostFormatConnectionPageInfo implements PageInfo & PostFormatCon """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -"""Arguments for filtering the RootQueryToPostFormatConnection connection""" -input RootQueryToPostFormatConnectionWhereArgs { - """ - Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. - """ - cacheDomain: String - - """ - Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. - """ - childOf: Int - - """ - True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. - """ - childless: Boolean - - """ - Retrieve terms where the description is LIKE the input value. Default empty. - """ - descriptionLike: String - - """ - Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. - """ - exclude: [ID] - - """ - Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. - """ - excludeTree: [ID] +"""Arguments for filtering the RootQueryToMenuConnection connection""" +input RootQueryToMenuConnectionWhereArgs { + """The database ID of the object""" + id: Int - """ - Whether to hide terms not assigned to any posts. Accepts true or false. Default false - """ - hideEmpty: Boolean + """The menu location for the menu being queried""" + location: MenuLocationEnum - """ - Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. - """ - hierarchical: Boolean + """The slug of the menu to query items for""" + slug: String +} - """Array of term ids to include. Default empty array.""" - include: [ID] +"""Connection between the RootQuery type and the MenuItem type""" +type RootQueryToMenuItemConnection implements Connection & MenuItemConnection { + """Edges for the RootQueryToMenuItemConnection connection""" + edges: [RootQueryToMenuItemConnectionEdge!]! - """Array of names to return term(s) for. Default empty.""" - name: [String] + """The nodes of the connection, without the edges""" + nodes: [MenuItem!]! - """Retrieve terms where the name is LIKE the input value. Default empty.""" - nameLike: String + """Information about pagination in a connection.""" + pageInfo: RootQueryToMenuItemConnectionPageInfo! +} - """ - Array of object IDs. Results will be limited to terms associated with these objects. - """ - objectIds: [ID] +"""An edge in a connection""" +type RootQueryToMenuItemConnectionEdge implements Edge & MenuItemConnectionEdge { + """A cursor for use in pagination""" + cursor: String - """Direction the connection should be ordered in""" - order: OrderEnum + """The item at the end of the edge""" + node: MenuItem! +} - """Field(s) to order terms by. Defaults to 'name'.""" - orderby: TermObjectsConnectionOrderbyEnum +"""Page Info on the "RootQueryToMenuItemConnection"""" +type RootQueryToMenuItemConnectionPageInfo implements MenuItemConnectionPageInfo & PageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String - """ - Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. - """ - padCounts: Boolean + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! - """Parent term ID to retrieve direct-child terms of. Default empty.""" - parent: Int + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! - """ - Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. - """ - search: String + """When paginating backwards, the cursor to continue.""" + startCursor: String +} - """Array of slugs to return term(s) for. Default empty.""" - slug: [String] +"""Arguments for filtering the RootQueryToMenuItemConnection connection""" +input RootQueryToMenuItemConnectionWhereArgs { + """The database ID of the object""" + id: Int - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomId: [ID] + """The menu location for the menu being queried""" + location: MenuLocationEnum - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomyId: [ID] + """The database ID of the parent menu object""" + parentDatabaseId: Int - """Whether to prime meta caches for matched terms. Default true.""" - updateTermMetaCache: Boolean + """The ID of the parent menu object""" + parentId: ID } -"""Connection between the RootQuery type and the ContentNode type""" -type RootQueryToRevisionsConnection implements Connection & ContentNodeConnection { - """Edges for the RootQueryToRevisionsConnection connection""" - edges: [RootQueryToRevisionsConnectionEdge!]! +"""Connection between the RootQuery type and the page type""" +type RootQueryToPageConnection implements Connection & PageConnection { + """Edges for the RootQueryToPageConnection connection""" + edges: [RootQueryToPageConnectionEdge!]! """The nodes of the connection, without the edges""" - nodes: [ContentNode!]! + nodes: [Page!]! """Information about pagination in a connection.""" - pageInfo: RootQueryToRevisionsConnectionPageInfo! + pageInfo: RootQueryToPageConnectionPageInfo! } """An edge in a connection""" -type RootQueryToRevisionsConnectionEdge implements ContentNodeConnectionEdge & Edge { +type RootQueryToPageConnectionEdge implements Edge & PageConnectionEdge { """A cursor for use in pagination""" cursor: String """The item at the end of the edge""" - node: ContentNode! + node: Page! } -"""Page Info on the "RootQueryToRevisionsConnection"""" -type RootQueryToRevisionsConnectionPageInfo implements ContentNodeConnectionPageInfo & PageInfo & WPPageInfo { +"""Page Info on the "RootQueryToPageConnection"""" +type RootQueryToPageConnectionPageInfo implements PageConnectionPageInfo & PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -21322,17 +19163,27 @@ type RootQueryToRevisionsConnectionPageInfo implements ContentNodeConnectionPage """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -"""Arguments for filtering the RootQueryToRevisionsConnection connection""" -input RootQueryToRevisionsConnectionWhereArgs { - """The Types of content to filter""" - contentTypes: [ContentTypeEnum] +"""Arguments for filtering the RootQueryToPageConnection connection""" +input RootQueryToPageConnectionWhereArgs { + """ + The user that's connected as the author of the object. Use the userId for the author object. + """ + author: Int + + """Find objects connected to author(s) in the array of author's userIds""" + authorIn: [ID] + + """Find objects connected to the author by the author's nicename""" + authorName: String + + """ + Find objects NOT connected to author(s) in the array of author's userIds + """ + authorNotIn: [ID] """Filter the connection based on dates""" dateQuery: DateQueryInput @@ -21390,29 +19241,29 @@ input RootQueryToRevisionsConnectionWhereArgs { title: String } -"""Connection between the RootQuery type and the tag type""" -type RootQueryToTagConnection implements Connection & TagConnection { - """Edges for the RootQueryToTagConnection connection""" - edges: [RootQueryToTagConnectionEdge!]! +"""Connection between the RootQuery type and the Plugin type""" +type RootQueryToPluginConnection implements Connection & PluginConnection { + """Edges for the RootQueryToPluginConnection connection""" + edges: [RootQueryToPluginConnectionEdge!]! """The nodes of the connection, without the edges""" - nodes: [Tag!]! + nodes: [Plugin!]! """Information about pagination in a connection.""" - pageInfo: RootQueryToTagConnectionPageInfo! + pageInfo: RootQueryToPluginConnectionPageInfo! } """An edge in a connection""" -type RootQueryToTagConnectionEdge implements Edge & TagConnectionEdge { +type RootQueryToPluginConnectionEdge implements Edge & PluginConnectionEdge { """A cursor for use in pagination""" cursor: String """The item at the end of the edge""" - node: Tag! + node: Plugin! } -"""Page Info on the "RootQueryToTagConnection"""" -type RootQueryToTagConnectionPageInfo implements PageInfo & TagConnectionPageInfo & WPPageInfo { +"""Page Info on the "RootQueryToPluginConnection"""" +type RootQueryToPluginConnectionPageInfo implements PageInfo & PluginConnectionPageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -21422,163 +19273,189 @@ type RootQueryToTagConnectionPageInfo implements PageInfo & TagConnectionPageInf """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo + """When paginating backwards, the cursor to continue.""" + startCursor: String +} + +"""Arguments for filtering the RootQueryToPluginConnection connection""" +input RootQueryToPluginConnectionWhereArgs { + """Show plugin based on a keyword search.""" + search: String + + """Retrieve plugins where plugin status is in an array.""" + stati: [PluginStatusEnum] + + """Show plugins with a specific status.""" + status: PluginStatusEnum +} + +"""Connection between the RootQuery type and the post type""" +type RootQueryToPostConnection implements Connection & PostConnection { + """Edges for the RootQueryToPostConnection connection""" + edges: [RootQueryToPostConnectionEdge!]! + + """The nodes of the connection, without the edges""" + nodes: [Post!]! + + """Information about pagination in a connection.""" + pageInfo: RootQueryToPostConnectionPageInfo! +} + +"""An edge in a connection""" +type RootQueryToPostConnectionEdge implements Edge & PostConnectionEdge { + """A cursor for use in pagination""" + cursor: String + + """The item at the end of the edge""" + node: Post! +} + +"""Page Info on the "RootQueryToPostConnection"""" +type RootQueryToPostConnectionPageInfo implements PageInfo & PostConnectionPageInfo & 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 RootQueryToTagConnection connection""" -input RootQueryToTagConnectionWhereArgs { +"""Arguments for filtering the RootQueryToPostConnection connection""" +input RootQueryToPostConnectionWhereArgs { """ - Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + The user that's connected as the author of the object. Use the userId for the author object. """ - cacheDomain: String + author: Int - """ - Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. - """ - childOf: Int + """Find objects connected to author(s) in the array of author's userIds""" + authorIn: [ID] - """ - True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. - """ - childless: Boolean + """Find objects connected to the author by the author's nicename""" + authorName: String """ - Retrieve terms where the description is LIKE the input value. Default empty. + Find objects NOT connected to author(s) in the array of author's userIds """ - descriptionLike: String + authorNotIn: [ID] - """ - Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. - """ - exclude: [ID] + """Category ID""" + categoryId: Int """ - Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + Array of category IDs, used to display objects from one category OR another """ - excludeTree: [ID] + categoryIn: [ID] - """ - Whether to hide terms not assigned to any posts. Accepts true or false. Default false - """ - hideEmpty: Boolean + """Use Category Slug""" + categoryName: String """ - Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + Array of category IDs, used to display objects from one category OR another """ - hierarchical: Boolean - - """Array of term ids to include. Default empty array.""" - include: [ID] - - """Array of names to return term(s) for. Default empty.""" - name: [String] + categoryNotIn: [ID] - """Retrieve terms where the name is LIKE the input value. Default empty.""" - nameLike: String + """Filter the connection based on dates""" + dateQuery: DateQueryInput """ - Array of object IDs. Results will be limited to terms associated with these objects. + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords """ - objectIds: [ID] + hasPassword: Boolean - """Direction the connection should be ordered in""" - order: OrderEnum + """Specific database ID of the object""" + id: Int + + """Array of IDs for the objects to retrieve""" + in: [ID] - """Field(s) to order terms by. Defaults to 'name'.""" - orderby: TermObjectsConnectionOrderbyEnum + """Get objects with a specific mimeType property""" + mimeType: MimeTypeEnum - """ - Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. - """ - padCounts: Boolean + """Slug / post_name of the object""" + name: String - """Parent term ID to retrieve direct-child terms of. Default empty.""" - parent: Int + """Specify objects to retrieve. Use slugs""" + nameIn: [String] """ - Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored """ - search: String + notIn: [ID] - """Array of slugs to return term(s) for. Default empty.""" - slug: [String] + """What parameter to use to order the objects by.""" + orderby: [PostObjectsConnectionOrderbyInput] - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomId: [ID] + """Use ID to return only children. Use 0 to return only top-level items""" + parent: ID - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomyId: [ID] + """Specify objects whose parent is in an array""" + parentIn: [ID] - """Whether to prime meta caches for matched terms. Default true.""" - updateTermMetaCache: Boolean -} + """Specify posts whose parent is not in an array""" + parentNotIn: [ID] -"""Connection between the RootQuery type and the Taxonomy type""" -type RootQueryToTaxonomyConnection implements Connection & TaxonomyConnection { - """Edges for the RootQueryToTaxonomyConnection connection""" - edges: [RootQueryToTaxonomyConnectionEdge!]! + """Show posts with a specific password.""" + password: String - """The nodes of the connection, without the edges""" - nodes: [Taxonomy!]! + """Show Posts based on a keyword search""" + search: String - """Information about pagination in a connection.""" - pageInfo: RootQueryToTaxonomyConnectionPageInfo! -} + """Retrieve posts where post status is in an array.""" + stati: [PostStatusEnum] -"""An edge in a connection""" -type RootQueryToTaxonomyConnectionEdge implements Edge & TaxonomyConnectionEdge { - """A cursor for use in pagination""" - cursor: String + """Show posts with a specific status.""" + status: PostStatusEnum - """The item at the end of the edge""" - node: Taxonomy! -} + """Tag Slug""" + tag: String -"""Page Info on the "RootQueryToTaxonomyConnection"""" -type RootQueryToTaxonomyConnectionPageInfo implements PageInfo & TaxonomyConnectionPageInfo & WPPageInfo { - """When paginating forwards, the cursor to continue.""" - endCursor: String + """Use Tag ID""" + tagId: String - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! + """Array of tag IDs, used to display objects from one tag OR another""" + tagIn: [ID] - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! + """Array of tag IDs, used to display objects from one tag OR another""" + tagNotIn: [ID] - """Raw schema for page""" - seo: SEOPostTypePageInfo + """Array of tag slugs, used to display objects from one tag AND another""" + tagSlugAnd: [String] - """When paginating backwards, the cursor to continue.""" - startCursor: String + """Array of tag slugs, used to include objects in ANY specified tags""" + tagSlugIn: [String] + + """Title of the object""" + title: String } -"""Connection between the RootQuery type and the TermNode type""" -type RootQueryToTermNodeConnection implements Connection & TermNodeConnection { - """Edges for the RootQueryToTermNodeConnection connection""" - edges: [RootQueryToTermNodeConnectionEdge!]! +"""Connection between the RootQuery type and the postFormat type""" +type RootQueryToPostFormatConnection implements Connection & PostFormatConnection { + """Edges for the RootQueryToPostFormatConnection connection""" + edges: [RootQueryToPostFormatConnectionEdge!]! """The nodes of the connection, without the edges""" - nodes: [TermNode!]! + nodes: [PostFormat!]! """Information about pagination in a connection.""" - pageInfo: RootQueryToTermNodeConnectionPageInfo! + pageInfo: RootQueryToPostFormatConnectionPageInfo! } """An edge in a connection""" -type RootQueryToTermNodeConnectionEdge implements Edge & TermNodeConnectionEdge { +type RootQueryToPostFormatConnectionEdge implements Edge & PostFormatConnectionEdge { """A cursor for use in pagination""" cursor: String """The item at the end of the edge""" - node: TermNode! + node: PostFormat! } -"""Page Info on the "RootQueryToTermNodeConnection"""" -type RootQueryToTermNodeConnectionPageInfo implements PageInfo & TermNodeConnectionPageInfo & WPPageInfo { +"""Page Info on the "RootQueryToPostFormatConnection"""" +type RootQueryToPostFormatConnectionPageInfo implements PageInfo & PostFormatConnectionPageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -21588,15 +19465,12 @@ type RootQueryToTermNodeConnectionPageInfo implements PageInfo & TermNodeConnect """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -"""Arguments for filtering the RootQueryToTermNodeConnection connection""" -input RootQueryToTermNodeConnectionWhereArgs { +"""Arguments for filtering the RootQueryToPostFormatConnection connection""" +input RootQueryToPostFormatConnectionWhereArgs { """ Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. """ @@ -21673,188 +19547,39 @@ input RootQueryToTermNodeConnectionWhereArgs { """Array of slugs to return term(s) for. Default empty.""" slug: [String] - """The Taxonomy to filter terms by""" - taxonomies: [TaxonomyEnum] - """Array of term taxonomy IDs, to match when querying terms.""" termTaxonomId: [ID] - """Array of term taxonomy IDs, to match when querying terms.""" - termTaxonomyId: [ID] - - """Whether to prime meta caches for matched terms. Default true.""" - updateTermMetaCache: Boolean -} - -"""Connection between the RootQuery type and the Theme type""" -type RootQueryToThemeConnection implements Connection & ThemeConnection { - """Edges for the RootQueryToThemeConnection connection""" - edges: [RootQueryToThemeConnectionEdge!]! - - """The nodes of the connection, without the edges""" - nodes: [Theme!]! - - """Information about pagination in a connection.""" - pageInfo: RootQueryToThemeConnectionPageInfo! -} - -"""An edge in a connection""" -type RootQueryToThemeConnectionEdge implements Edge & ThemeConnectionEdge { - """A cursor for use in pagination""" - cursor: String - - """The item at the end of the edge""" - node: Theme! -} - -"""Page Info on the "RootQueryToThemeConnection"""" -type RootQueryToThemeConnectionPageInfo implements PageInfo & ThemeConnectionPageInfo & 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! - - """Raw schema for page""" - seo: SEOPostTypePageInfo - - """When paginating backwards, the cursor to continue.""" - startCursor: String -} - -"""Connection between the RootQuery type and the User type""" -type RootQueryToUserConnection implements Connection & UserConnection { - """Edges for the RootQueryToUserConnection connection""" - edges: [RootQueryToUserConnectionEdge!]! - - """The nodes of the connection, without the edges""" - nodes: [User!]! - - """Information about pagination in a connection.""" - pageInfo: RootQueryToUserConnectionPageInfo! -} - -"""An edge in a connection""" -type RootQueryToUserConnectionEdge implements Edge & UserConnectionEdge { - """A cursor for use in pagination""" - cursor: String - - """The item at the end of the edge""" - node: User! -} - -"""Page Info on the "RootQueryToUserConnection"""" -type RootQueryToUserConnectionPageInfo 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! - - """Raw schema for page""" - seo: SEOPostTypePageInfo - - """When paginating backwards, the cursor to continue.""" - startCursor: String -} - -"""Arguments for filtering the RootQueryToUserConnection connection""" -input RootQueryToUserConnectionWhereArgs { - """Array of userIds to exclude.""" - exclude: [Int] - - """ - Pass an array of post types to filter results to users who have published posts in those post types. - """ - hasPublishedPosts: [ContentTypeEnum] - - """Array of userIds to include.""" - include: [Int] - - """The user login.""" - login: String - - """ - An array of logins to include. Users matching one of these logins will be included in results. - """ - loginIn: [String] - - """ - An array of logins to exclude. Users matching one of these logins will not be included in results. - """ - loginNotIn: [String] - - """The user nicename.""" - nicename: String - - """ - An array of nicenames to include. Users matching one of these nicenames will be included in results. - """ - nicenameIn: [String] - - """ - An array of nicenames to exclude. Users matching one of these nicenames will not be included in results. - """ - nicenameNotIn: [String] - - """What parameter to use to order the objects by.""" - orderby: [UsersConnectionOrderbyInput] - - """ - An array of role names that users must match to be included in results. Note that this is an inclusive list: users must match *each* role. - """ - role: UserRoleEnum - - """ - An array of role names. Matched users must have at least one of these roles. - """ - roleIn: [UserRoleEnum] - - """ - An array of role names to exclude. Users matching one or more of these roles will not be included in results. - """ - roleNotIn: [UserRoleEnum] - - """ - Search keyword. Searches for possible string matches on columns. When "searchColumns" is left empty, it tries to determine which column to search in based on search string. - """ - search: String - - """ - Array of column names to be searched. Accepts 'ID', 'login', 'nicename', 'email', 'url'. - """ - searchColumns: [UsersConnectionSearchColumnEnum] + """Array of term taxonomy IDs, to match when querying terms.""" + termTaxonomyId: [ID] + + """Whether to prime meta caches for matched terms. Default true.""" + updateTermMetaCache: Boolean } -"""Connection between the RootQuery type and the UserRole type""" -type RootQueryToUserRoleConnection implements Connection & UserRoleConnection { - """Edges for the RootQueryToUserRoleConnection connection""" - edges: [RootQueryToUserRoleConnectionEdge!]! +"""Connection between the RootQuery type and the ContentNode type""" +type RootQueryToRevisionsConnection implements Connection & ContentNodeConnection { + """Edges for the RootQueryToRevisionsConnection connection""" + edges: [RootQueryToRevisionsConnectionEdge!]! """The nodes of the connection, without the edges""" - nodes: [UserRole!]! + nodes: [ContentNode!]! """Information about pagination in a connection.""" - pageInfo: RootQueryToUserRoleConnectionPageInfo! + pageInfo: RootQueryToRevisionsConnectionPageInfo! } """An edge in a connection""" -type RootQueryToUserRoleConnectionEdge implements Edge & UserRoleConnectionEdge { +type RootQueryToRevisionsConnectionEdge implements ContentNodeConnectionEdge & Edge { """A cursor for use in pagination""" cursor: String """The item at the end of the edge""" - node: UserRole! + node: ContentNode! } -"""Page Info on the "RootQueryToUserRoleConnection"""" -type RootQueryToUserRoleConnectionPageInfo implements PageInfo & UserRoleConnectionPageInfo & WPPageInfo { +"""Page Info on the "RootQueryToRevisionsConnection"""" +type RootQueryToRevisionsConnectionPageInfo implements ContentNodeConnectionPageInfo & PageInfo & WPPageInfo { """When paginating forwards, the cursor to continue.""" endCursor: String @@ -21864,512 +19589,532 @@ type RootQueryToUserRoleConnectionPageInfo implements PageInfo & UserRoleConnect """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } -"""The Yoast SEO breadcrumb config""" -type SEOBreadcrumbs { - """""" - archivePrefix: String +"""Arguments for filtering the RootQueryToRevisionsConnection connection""" +input RootQueryToRevisionsConnectionWhereArgs { + """The Types of content to filter""" + contentTypes: [ContentTypeEnum] - """""" - boldLast: Boolean + """Filter the connection based on dates""" + dateQuery: DateQueryInput - """""" - enabled: Boolean + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean - """""" - homeText: String + """Specific database ID of the object""" + id: Int - """""" - notFoundText: String + """Array of IDs for the objects to retrieve""" + in: [ID] - """""" - prefix: String + """Get objects with a specific mimeType property""" + mimeType: MimeTypeEnum - """""" - searchPrefix: String + """Slug / post_name of the object""" + name: String - """""" - separator: String + """Specify objects to retrieve. Use slugs""" + nameIn: [String] - """""" - showBlogPage: Boolean -} + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] -"""Types of cards""" -enum SEOCardType { - summary - summary_large_image -} + """What parameter to use to order the objects by.""" + orderby: [PostObjectsConnectionOrderbyInput] -"""The Yoast SEO site level configuration data""" -type SEOConfig { - """""" - breadcrumbs: SEOBreadcrumbs + """Use ID to return only children. Use 0 to return only top-level items""" + parent: ID - """""" - contentTypes: SEOContentTypes + """Specify objects whose parent is in an array""" + parentIn: [ID] - """""" - meta: SEOGlobalMeta + """Specify posts whose parent is not in an array""" + parentNotIn: [ID] - """""" - openGraph: SEOOpenGraph + """Show posts with a specific password.""" + password: String - """""" - redirects: [SEORedirect] + """Show Posts based on a keyword search""" + search: String - """""" - schema: SEOSchema + """Retrieve posts where post status is in an array.""" + stati: [PostStatusEnum] - """""" - social: SEOSocial + """Show posts with a specific status.""" + status: PostStatusEnum - """""" - webmaster: SEOWebmaster + """Title of the object""" + title: String } -"""The Yoast SEO search appearance content types fields""" -type SEOContentType { - """""" - archive: SEOContentTypeArchive - - """""" - metaDesc: String +"""Connection between the RootQuery type and the tag type""" +type RootQueryToTagConnection implements Connection & TagConnection { + """Edges for the RootQueryToTagConnection connection""" + edges: [RootQueryToTagConnectionEdge!]! - """""" - metaRobotsNoindex: Boolean + """The nodes of the connection, without the edges""" + nodes: [Tag!]! - """""" - schema: SEOPageInfoSchema + """Information about pagination in a connection.""" + pageInfo: RootQueryToTagConnectionPageInfo! +} - """""" - schemaType: String +"""An edge in a connection""" +type RootQueryToTagConnectionEdge implements Edge & TagConnectionEdge { + """A cursor for use in pagination""" + cursor: String - """""" - title: String + """The item at the end of the edge""" + node: Tag! } -"""The Yoast SEO search appearance content types fields""" -type SEOContentTypeArchive { - """""" - archiveLink: String - - """""" - breadcrumbTitle: String +"""Page Info on the "RootQueryToTagConnection"""" +type RootQueryToTagConnectionPageInfo implements PageInfo & TagConnectionPageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String - """""" - fullHead: String + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! - """""" - hasArchive: Boolean + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! - """""" - metaDesc: String + """When paginating backwards, the cursor to continue.""" + startCursor: String +} - """""" - metaRobotsFollow: String +"""Arguments for filtering the RootQueryToTagConnection connection""" +input RootQueryToTagConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String - """""" - metaRobotsIndex: String + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int - """""" - metaRobotsNofollow: Boolean + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean - """""" - metaRobotsNoindex: Boolean + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String - """""" - title: String -} + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] -"""The Yoast SEO search appearance content types""" -type SEOContentTypes { - """""" - graphqlDocument: SEOContentType + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] - """""" - mediaItem: SEOContentType + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean - """""" - page: SEOContentType + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean - """""" - post: SEOContentType -} + """Array of term ids to include. Default empty array.""" + include: [ID] -"""The Yoast SEO meta data""" -type SEOGlobalMeta { - """""" - author: SEOGlobalMetaAuthor + """Array of names to return term(s) for. Default empty.""" + name: [String] - """""" - config: SEOGlobalMetaConfig + """Retrieve terms where the name is LIKE the input value. Default empty.""" + nameLike: String - """""" - date: SEOGlobalMetaDate + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] - """""" - homepage: SEOGlobalMetaHome + """Direction the connection should be ordered in""" + order: OrderEnum - """""" - notFound: SEOGlobalMeta404 -} + """Field(s) to order terms by. Defaults to 'name'.""" + orderby: TermObjectsConnectionOrderbyEnum -"""The Yoast SEO meta 404 data""" -type SEOGlobalMeta404 { - """""" - breadcrumb: String + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean - """""" - title: String -} + """Parent term ID to retrieve direct-child terms of. Default empty.""" + parent: Int -"""The Yoast SEO Author data""" -type SEOGlobalMetaAuthor { - """""" - description: String + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String - """""" - title: String -} + """Array of slugs to return term(s) for. Default empty.""" + slug: [String] -"""The Yoast SEO meta config data""" -type SEOGlobalMetaConfig { - """""" - separator: String -} + """Array of term taxonomy IDs, to match when querying terms.""" + termTaxonomId: [ID] -"""The Yoast SEO Date data""" -type SEOGlobalMetaDate { - """""" - description: String + """Array of term taxonomy IDs, to match when querying terms.""" + termTaxonomyId: [ID] - """""" - title: String + """Whether to prime meta caches for matched terms. Default true.""" + updateTermMetaCache: Boolean } -"""The Yoast SEO homepage data""" -type SEOGlobalMetaHome { - """""" - description: String +"""Connection between the RootQuery type and the Taxonomy type""" +type RootQueryToTaxonomyConnection implements Connection & TaxonomyConnection { + """Edges for the RootQueryToTaxonomyConnection connection""" + edges: [RootQueryToTaxonomyConnectionEdge!]! - """""" - title: String + """The nodes of the connection, without the edges""" + nodes: [Taxonomy!]! + + """Information about pagination in a connection.""" + pageInfo: RootQueryToTaxonomyConnectionPageInfo! } -"""The Open Graph data""" -type SEOOpenGraph { - """""" - defaultImage: MediaItem +"""An edge in a connection""" +type RootQueryToTaxonomyConnectionEdge implements Edge & TaxonomyConnectionEdge { + """A cursor for use in pagination""" + cursor: String - """""" - frontPage: SEOOpenGraphFrontPage + """The item at the end of the edge""" + node: Taxonomy! } -"""The Open Graph Front page data""" -type SEOOpenGraphFrontPage { - """""" - description: String +"""Page Info on the "RootQueryToTaxonomyConnection"""" +type RootQueryToTaxonomyConnectionPageInfo implements PageInfo & TaxonomyConnectionPageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String - """""" - image: MediaItem + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! - """""" - title: String -} + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! -"""The Schema for post type""" -type SEOPageInfoSchema { - """""" - raw: String + """When paginating backwards, the cursor to continue.""" + startCursor: String } -"""""" -type SEOPostTypeBreadcrumbs { - """""" - text: String +"""Connection between the RootQuery type and the TermNode type""" +type RootQueryToTermNodeConnection implements Connection & TermNodeConnection { + """Edges for the RootQueryToTermNodeConnection connection""" + edges: [RootQueryToTermNodeConnectionEdge!]! - """""" - url: String -} + """The nodes of the connection, without the edges""" + nodes: [TermNode!]! -"""The page info SEO details""" -type SEOPostTypePageInfo { - """""" - schema: SEOPageInfoSchema + """Information about pagination in a connection.""" + pageInfo: RootQueryToTermNodeConnectionPageInfo! } -"""The Schema types""" -type SEOPostTypeSchema { - """""" - articleType: [String] - - """""" - pageType: [String] +"""An edge in a connection""" +type RootQueryToTermNodeConnectionEdge implements Edge & TermNodeConnectionEdge { + """A cursor for use in pagination""" + cursor: String - """""" - raw: String + """The item at the end of the edge""" + node: TermNode! } -"""The Yoast redirect data (Yoast Premium only)""" -type SEORedirect { - """""" - format: String +"""Page Info on the "RootQueryToTermNodeConnection"""" +type RootQueryToTermNodeConnectionPageInfo implements PageInfo & TermNodeConnectionPageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String - """""" - origin: String + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! - """""" - target: String + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! - """""" - type: Int + """When paginating backwards, the cursor to continue.""" + startCursor: String } -"""The Yoast SEO schema data""" -type SEOSchema { - """""" - companyLogo: MediaItem +"""Arguments for filtering the RootQueryToTermNodeConnection connection""" +input RootQueryToTermNodeConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String - """""" - companyName: String + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int - """""" - companyOrPerson: String + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean - """""" - homeUrl: String + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String - """""" - inLanguage: String + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] - """""" - logo: MediaItem + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] - """""" - personLogo: MediaItem + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean - """""" - personName: String + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean - """""" - siteName: String + """Array of term ids to include. Default empty array.""" + include: [ID] - """""" - siteUrl: String + """Array of names to return term(s) for. Default empty.""" + name: [String] - """""" - wordpressSiteName: String -} + """Retrieve terms where the name is LIKE the input value. Default empty.""" + nameLike: String -"""The Yoast SEO Social media links""" -type SEOSocial { - """""" - facebook: SEOSocialFacebook + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] - """""" - instagram: SEOSocialInstagram + """Direction the connection should be ordered in""" + order: OrderEnum - """""" - linkedIn: SEOSocialLinkedIn + """Field(s) to order terms by. Defaults to 'name'.""" + orderby: TermObjectsConnectionOrderbyEnum - """""" - mySpace: SEOSocialMySpace + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean - """""" - otherSocials: [String] + """Parent term ID to retrieve direct-child terms of. Default empty.""" + parent: Int - """""" - pinterest: SEOSocialPinterest + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String - """""" - twitter: SEOSocialTwitter + """Array of slugs to return term(s) for. Default empty.""" + slug: [String] - """""" - wikipedia: SEOSocialWikipedia + """The Taxonomy to filter terms by""" + taxonomies: [TaxonomyEnum] - """""" - youTube: SEOSocialYoutube -} + """Array of term taxonomy IDs, to match when querying terms.""" + termTaxonomId: [ID] -"""""" -type SEOSocialFacebook { - """""" - defaultImage: MediaItem + """Array of term taxonomy IDs, to match when querying terms.""" + termTaxonomyId: [ID] - """""" - url: String + """Whether to prime meta caches for matched terms. Default true.""" + updateTermMetaCache: Boolean } -"""""" -type SEOSocialInstagram { - """""" - url: String -} +"""Connection between the RootQuery type and the Theme type""" +type RootQueryToThemeConnection implements Connection & ThemeConnection { + """Edges for the RootQueryToThemeConnection connection""" + edges: [RootQueryToThemeConnectionEdge!]! -"""""" -type SEOSocialLinkedIn { - """""" - url: String -} + """The nodes of the connection, without the edges""" + nodes: [Theme!]! -"""""" -type SEOSocialMySpace { - """""" - url: String + """Information about pagination in a connection.""" + pageInfo: RootQueryToThemeConnectionPageInfo! } -"""""" -type SEOSocialPinterest { - """""" - metaTag: String +"""An edge in a connection""" +type RootQueryToThemeConnectionEdge implements Edge & ThemeConnectionEdge { + """A cursor for use in pagination""" + cursor: String - """""" - url: String + """The item at the end of the edge""" + node: Theme! } -"""""" -type SEOSocialTwitter { - """""" - cardType: SEOCardType - - """""" - username: String -} +"""Page Info on the "RootQueryToThemeConnection"""" +type RootQueryToThemeConnectionPageInfo implements PageInfo & ThemeConnectionPageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String -"""""" -type SEOSocialWikipedia { - """""" - url: String -} + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! -"""""" -type SEOSocialYoutube { - """""" - url: String -} + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! -"""The Schema types for Taxonomy""" -type SEOTaxonomySchema { - """""" - raw: String + """When paginating backwards, the cursor to continue.""" + startCursor: String } -"""""" -type SEOUser { - """""" - breadcrumbTitle: String +"""Connection between the RootQuery type and the User type""" +type RootQueryToUserConnection implements Connection & UserConnection { + """Edges for the RootQueryToUserConnection connection""" + edges: [RootQueryToUserConnectionEdge!]! - """""" - canonical: String + """The nodes of the connection, without the edges""" + nodes: [User!]! - """""" - fullHead: String + """Information about pagination in a connection.""" + pageInfo: RootQueryToUserConnectionPageInfo! +} - """""" - language: String +"""An edge in a connection""" +type RootQueryToUserConnectionEdge implements Edge & UserConnectionEdge { + """A cursor for use in pagination""" + cursor: String - """""" - metaDesc: String + """The item at the end of the edge""" + node: User! +} - """""" - metaRobotsNofollow: String +"""Page Info on the "RootQueryToUserConnection"""" +type RootQueryToUserConnectionPageInfo implements PageInfo & UserConnectionPageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String - """""" - metaRobotsNoindex: String + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! - """""" - opengraphDescription: String + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! - """""" - opengraphImage: MediaItem + """When paginating backwards, the cursor to continue.""" + startCursor: String +} - """""" - opengraphTitle: String +"""Arguments for filtering the RootQueryToUserConnection connection""" +input RootQueryToUserConnectionWhereArgs { + """Array of userIds to exclude.""" + exclude: [Int] - """""" - region: String + """ + Pass an array of post types to filter results to users who have published posts in those post types. + """ + hasPublishedPosts: [ContentTypeEnum] - """""" - schema: SEOUserSchema + """Array of userIds to include.""" + include: [Int] - """""" - social: SEOUserSocial + """The user login.""" + login: String - """""" - title: String + """ + An array of logins to include. Users matching one of these logins will be included in results. + """ + loginIn: [String] - """""" - twitterDescription: String + """ + An array of logins to exclude. Users matching one of these logins will not be included in results. + """ + loginNotIn: [String] - """""" - twitterImage: MediaItem + """The user nicename.""" + nicename: String - """""" - twitterTitle: String -} + """ + An array of nicenames to include. Users matching one of these nicenames will be included in results. + """ + nicenameIn: [String] -"""The Schema types for User""" -type SEOUserSchema { - """""" - articleType: [String] + """ + An array of nicenames to exclude. Users matching one of these nicenames will not be included in results. + """ + nicenameNotIn: [String] - """""" - pageType: [String] + """What parameter to use to order the objects by.""" + orderby: [UsersConnectionOrderbyInput] - """""" - raw: String -} + """ + An array of role names that users must match to be included in results. Note that this is an inclusive list: users must match *each* role. + """ + role: UserRoleEnum -"""""" -type SEOUserSocial { - """""" - facebook: String + """ + An array of role names. Matched users must have at least one of these roles. + """ + roleIn: [UserRoleEnum] - """""" - instagram: String + """ + An array of role names to exclude. Users matching one or more of these roles will not be included in results. + """ + roleNotIn: [UserRoleEnum] - """""" - linkedIn: String + """ + Search keyword. Searches for possible string matches on columns. When "searchColumns" is left empty, it tries to determine which column to search in based on search string. + """ + search: String - """""" - mySpace: String + """ + Array of column names to be searched. Accepts 'ID', 'login', 'nicename', 'email', 'url'. + """ + searchColumns: [UsersConnectionSearchColumnEnum] +} - """""" - pinterest: String +"""Connection between the RootQuery type and the UserRole type""" +type RootQueryToUserRoleConnection implements Connection & UserRoleConnection { + """Edges for the RootQueryToUserRoleConnection connection""" + edges: [RootQueryToUserRoleConnectionEdge!]! - """""" - soundCloud: String + """The nodes of the connection, without the edges""" + nodes: [UserRole!]! - """""" - twitter: String + """Information about pagination in a connection.""" + pageInfo: RootQueryToUserRoleConnectionPageInfo! +} - """""" - wikipedia: String +"""An edge in a connection""" +type RootQueryToUserRoleConnectionEdge implements Edge & UserRoleConnectionEdge { + """A cursor for use in pagination""" + cursor: String - """""" - youTube: String + """The item at the end of the edge""" + node: UserRole! } -"""The Yoast SEO webmaster fields""" -type SEOWebmaster { - """""" - baiduVerify: String +"""Page Info on the "RootQueryToUserRoleConnection"""" +type RootQueryToUserRoleConnectionPageInfo implements PageInfo & UserRoleConnectionPageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String - """""" - googleVerify: String + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! - """""" - msVerify: String + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! - """""" - yandexVerify: String + """When paginating backwards, the cursor to continue.""" + startCursor: String } """The strategy to use when loading the script""" @@ -22588,9 +20333,6 @@ type Tag implements DatabaseIdentifier & MenuItemLinkable & Node & TermNode & Un where: TagToPostConnectionWhereArgs ): TagToPostConnection - """The Yoast SEO data of the Tags taxonomy.""" - seo: TaxonomySEO - """An alphanumeric identifier for the object unique to its type.""" slug: String @@ -22652,9 +20394,6 @@ interface TagConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -22709,9 +20448,6 @@ type TagToContentNodeConnectionPageInfo implements ContentNodeConnectionPageInfo """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -22809,9 +20545,6 @@ type TagToPostConnectionPageInfo implements PageInfo & PostConnectionPageInfo & """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -23083,9 +20816,6 @@ interface TaxonomyConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -23095,9 +20825,6 @@ enum TaxonomyEnum { """Taxonomy enum category""" CATEGORY - """Taxonomy enum graphql_document_group""" - GRAPHQLDOCUMENTGROUP - """Taxonomy enum post_format""" POSTFORMAT @@ -23116,81 +20843,6 @@ enum TaxonomyIdTypeEnum { NAME } -"""""" -type TaxonomySEO { - """""" - breadcrumbs: [SEOPostTypeBreadcrumbs] - - """""" - canonical: String - - """""" - cornerstone: Boolean - - """""" - focuskw: String - - """""" - fullHead: String - - """""" - metaDesc: String - - """""" - metaKeywords: String - - """""" - metaRobotsNofollow: String - - """""" - metaRobotsNoindex: String - - """""" - opengraphAuthor: String - - """""" - opengraphDescription: String - - """""" - opengraphImage: MediaItem - - """""" - opengraphModifiedTime: String - - """""" - opengraphPublishedTime: String - - """""" - opengraphPublisher: String - - """""" - opengraphSiteName: String - - """""" - opengraphTitle: String - - """""" - opengraphType: String - - """""" - opengraphUrl: String - - """""" - schema: SEOTaxonomySchema - - """""" - title: String - - """""" - twitterDescription: String - - """""" - twitterImage: MediaItem - - """""" - twitterTitle: String -} - """Connection between the Taxonomy type and the ContentType type""" type TaxonomyToContentTypeConnection implements Connection & ContentTypeConnection { """Edges for the TaxonomyToContentTypeConnection connection""" @@ -23223,9 +20875,6 @@ type TaxonomyToContentTypeConnectionPageInfo implements ContentTypeConnectionPag """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -23262,13 +20911,34 @@ type TaxonomyToTermNodeConnectionPageInfo implements PageInfo & TermNodeConnecti """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } +"""The template assigned to the node""" +type Template_PageNoTitle implements ContentTemplate { + """The name of the template""" + templateName: String +} + +"""The template assigned to the node""" +type Template_PageWithSidebar implements ContentTemplate { + """The name of the template""" + templateName: String +} + +"""The template assigned to the node""" +type Template_PageWithWideImage implements ContentTemplate { + """The name of the template""" + templateName: String +} + +"""The template assigned to the node""" +type Template_SingleWithSidebar implements ContentTemplate { + """The name of the template""" + templateName: String +} + """ Terms are nodes within a Taxonomy, used to group and relate other nodes. """ @@ -23405,9 +21075,6 @@ interface TermNodeConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -23464,9 +21131,6 @@ type TermNodeToEnqueuedScriptConnectionPageInfo implements EnqueuedScriptConnect """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -23503,9 +21167,6 @@ type TermNodeToEnqueuedStylesheetConnectionPageInfo implements EnqueuedStyleshee """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -23624,9 +21285,6 @@ interface ThemeConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -23671,193 +21329,92 @@ input UpdateCategoryInput { """ clientMutationId: String - """The description of the category object""" - description: String - - """The ID of the category object to update""" - id: ID! - - """The name of the category object to mutate""" - name: String - - """The ID of the category that should be set as the parent""" - parentId: ID - - """ - If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. - """ - slug: String -} - -"""The payload for the updateCategory mutation.""" -type UpdateCategoryPayload { - """The created category""" - category: Category - - """ - If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String -} - -"""Input for the updateComment mutation.""" -input UpdateCommentInput { - """The approval status of the comment.""" - approved: String - - """The name of the comment's author.""" - author: String - - """The email of the comment's author.""" - authorEmail: String - - """The url of the comment's author.""" - authorUrl: String - - """ - This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """The database ID of the post object the comment belongs to.""" - commentOn: Int - - """Content of the comment.""" - content: String - - """ - The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 - """ - date: String - - """The ID of the comment being updated.""" - id: ID! - - """Parent comment ID of current comment.""" - parent: ID - - """The approval status of the comment""" - status: CommentStatusEnum - - """Type of comment.""" - type: String -} - -"""The payload for the updateComment mutation.""" -type UpdateCommentPayload { - """ - If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """The comment that was created""" - comment: Comment - - """ - Whether the mutation succeeded. If the comment is not approved, the server will not return the comment to a non authenticated user, but a success message can be returned if the create succeeded, and the client can optimistically add the comment to the client cache - """ - success: Boolean -} - -"""Input for the updateGraphqlDocumentGroup mutation.""" -input UpdateGraphqlDocumentGroupInput { - """The slug that the graphql_document_group will be an alias of""" - aliasOf: String - - """ - This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. - """ - clientMutationId: String - - """The description of the graphql_document_group object""" + """The description of the category object""" description: String - """The ID of the graphqlDocumentGroup object to update""" + """The ID of the category object to update""" id: ID! - """The name of the graphql_document_group object to mutate""" + """The name of the category object to mutate""" name: String + """The ID of the category that should be set as the parent""" + parentId: ID + """ If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. """ slug: String } -"""The payload for the updateGraphqlDocumentGroup mutation.""" -type UpdateGraphqlDocumentGroupPayload { +"""The payload for the updateCategory mutation.""" +type UpdateCategoryPayload { + """The created category""" + category: Category + """ If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. """ clientMutationId: String - - """The created graphql_document_group""" - graphqlDocumentGroup: GraphqlDocumentGroup } -"""Input for the updateGraphqlDocument mutation.""" -input UpdateGraphqlDocumentInput { - """Alias names for saved GraphQL query documents""" - alias: [String!] +"""Input for the updateComment mutation.""" +input UpdateCommentInput { + """The approval status of the comment.""" + approved: String + + """The name of the comment's author.""" + author: String + + """The email of the comment's author.""" + authorEmail: String + + """The url of the comment's author.""" + authorUrl: String """ This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. """ clientMutationId: String - """The content of the object""" + """The database ID of the post object the comment belongs to.""" + commentOn: Int + + """Content of the comment.""" content: String """ - The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 + The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 """ date: String - """Description for the saved GraphQL document""" - description: String - - """Allow, deny or default access grant for specific query""" - grant: String - - """Set connections between the graphqlDocument and graphqlDocumentGroups""" - graphqlDocumentGroups: GraphqlDocumentGraphqlDocumentGroupsInput - - """The ID of the graphqlDocument object""" + """The ID of the comment being updated.""" id: ID! - """Override the edit lock when another user is editing the post""" - ignoreEditLock: Boolean - - """HTTP Cache-Control max-age directive for a saved GraphQL document""" - maxAgeHeader: Int - - """ - A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. - """ - menuOrder: Int - - """The password used to protect the content of the object""" - password: String - - """The slug of the object""" - slug: String + """Parent comment ID of current comment.""" + parent: ID - """The status of the object""" - status: PostStatusEnum + """The approval status of the comment""" + status: CommentStatusEnum - """The title of the object""" - title: String + """Type of comment.""" + type: String } -"""The payload for the updateGraphqlDocument mutation.""" -type UpdateGraphqlDocumentPayload { +"""The payload for the updateComment mutation.""" +type UpdateCommentPayload { """ If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. """ clientMutationId: String - """The Post object mutation type.""" - graphqlDocument: GraphqlDocument + """The comment that was created""" + comment: Comment + + """ + Whether the mutation succeeded. If the comment is not approved, the server will not return the comment to a non authenticated user, but a success message can be returned if the create succeeded, and the client can optimistically add the comment to the client cache + """ + success: Boolean } """Input for the updateMediaItem mutation.""" @@ -24563,9 +22120,6 @@ type User implements Commenter & DatabaseIdentifier & Node & UniformResourceIden last: Int ): UserToUserRoleConnection - """The Yoast SEO data of a user""" - seo: SEOUser - """ Whether the Toolbar should be displayed when the user is viewing the site. """ @@ -24633,9 +22187,6 @@ interface UserConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -24717,9 +22268,6 @@ interface UserRoleConnectionPageInfo implements PageInfo & WPPageInfo { """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -24738,12 +22286,6 @@ enum UserRoleEnum { """User role with specific capabilities""" EDITOR - """User role with specific capabilities""" - SEO_EDITOR - - """User role with specific capabilities""" - SEO_MANAGER - """User role with specific capabilities""" SUBSCRIBER } @@ -24780,9 +22322,6 @@ type UserToCommentConnectionPageInfo implements CommentConnectionPageInfo & Page """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -24917,9 +22456,6 @@ type UserToEnqueuedScriptConnectionPageInfo implements EnqueuedScriptConnectionP """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -24956,9 +22492,6 @@ type UserToEnqueuedStylesheetConnectionPageInfo implements EnqueuedStylesheetCon """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -24995,9 +22528,6 @@ type UserToMediaItemConnectionPageInfo implements MediaItemConnectionPageInfo & """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -25108,9 +22638,6 @@ type UserToPageConnectionPageInfo implements PageConnectionPageInfo & PageInfo & """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -25221,9 +22748,6 @@ type UserToPostConnectionPageInfo implements PageInfo & PostConnectionPageInfo & """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -25368,9 +22892,6 @@ type UserToRevisionsConnectionPageInfo implements ContentNodeConnectionPageInfo """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -25468,9 +22989,6 @@ type UserToUserRoleConnectionPageInfo implements PageInfo & UserRoleConnectionPa """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -25540,9 +23058,6 @@ interface WPPageInfo implements PageInfo { """When paginating backwards, are there more items?""" hasPreviousPage: Boolean! - """Raw schema for page""" - seo: SEOPostTypePageInfo - """When paginating backwards, the cursor to continue.""" startCursor: String } @@ -25557,222 +23072,4 @@ type WritingSettings { """Convert emoticons like :-) and :-P to graphics on display.""" useSmilies: Boolean -} - -"""A block used for editing the site""" -type YoastFaqBlock implements EditorBlock & PageEditorBlock & PostEditorBlock { - """The API version of the Gutenberg Block""" - apiVersion: Int - - """Attributes of the YoastFaqBlock Block Type""" - attributes: YoastFaqBlockAttributes - - """The name of the category the Block belongs to""" - blockEditorCategoryName: String - - """The id of the Block""" - clientId: String - - """CSS Classnames to apply to the block""" - cssClassNames: [String] - - """The inner blocks of the Block""" - innerBlocks: [EditorBlock] - - """Whether the block is Dynamic (server rendered)""" - isDynamic: Boolean! - - """The name of the block""" - name: String - - """The parent id of the Block""" - parentClientId: String - - """The rendered HTML for the block""" - renderedHtml: String -} - -"""Attributes of the YoastFaqBlock Block Type""" -type YoastFaqBlockAttributes { - """ - The "additionalListCssClasses" field on the "YoastFaqBlockAttributes" block or block attributes - """ - additionalListCssClasses: String - - """ - The "className" field on the "YoastFaqBlockAttributes" block or block attributes - """ - className: String - - """ - The "lock" field on the "YoastFaqBlockAttributes" block or block attributes - """ - lock: BlockAttributesObject - - """ - The "metadata" field on the "YoastFaqBlockAttributes" block or block attributes - """ - metadata: BlockAttributesObject - - """ - The "questions" field on the "YoastFaqBlockAttributes" block or block attributes - """ - questions: BlockAttributesArray -} - -"""A block used for editing the site""" -type YoastHowToBlock implements EditorBlock & PageEditorBlock & PostEditorBlock { - """The API version of the Gutenberg Block""" - apiVersion: Int - - """Attributes of the YoastHowToBlock Block Type""" - attributes: YoastHowToBlockAttributes - - """The name of the category the Block belongs to""" - blockEditorCategoryName: String - - """The id of the Block""" - clientId: String - - """CSS Classnames to apply to the block""" - cssClassNames: [String] - - """The inner blocks of the Block""" - innerBlocks: [EditorBlock] - - """Whether the block is Dynamic (server rendered)""" - isDynamic: Boolean! - - """The name of the block""" - name: String - - """The parent id of the Block""" - parentClientId: String - - """The rendered HTML for the block""" - renderedHtml: String -} - -"""Attributes of the YoastHowToBlock Block Type""" -type YoastHowToBlockAttributes { - """ - The "additionalListCssClasses" field on the "YoastHowToBlockAttributes" block or block attributes - """ - additionalListCssClasses: String - - """ - The "className" field on the "YoastHowToBlockAttributes" block or block attributes - """ - className: String - - """ - The "days" field on the "YoastHowToBlockAttributes" block or block attributes - """ - days: String - - """ - The "defaultDurationText" field on the "YoastHowToBlockAttributes" block or block attributes - """ - defaultDurationText: String - - """ - The "description" field on the "YoastHowToBlockAttributes" block or block attributes - """ - description: String - - """ - The "durationText" field on the "YoastHowToBlockAttributes" block or block attributes - """ - durationText: String - - """ - The "hasDuration" field on the "YoastHowToBlockAttributes" block or block attributes - """ - hasDuration: Boolean - - """ - The "hours" field on the "YoastHowToBlockAttributes" block or block attributes - """ - hours: String - - """ - The "jsonDescription" field on the "YoastHowToBlockAttributes" block or block attributes - """ - jsonDescription: String - - """ - The "lock" field on the "YoastHowToBlockAttributes" block or block attributes - """ - lock: BlockAttributesObject - - """ - The "metadata" field on the "YoastHowToBlockAttributes" block or block attributes - """ - metadata: BlockAttributesObject - - """ - The "minutes" field on the "YoastHowToBlockAttributes" block or block attributes - """ - minutes: String - - """ - The "steps" field on the "YoastHowToBlockAttributes" block or block attributes - """ - steps: BlockAttributesArray - - """ - The "unorderedList" field on the "YoastHowToBlockAttributes" block or block attributes - """ - unorderedList: Boolean -} - -"""A block used for editing the site""" -type YoastSeoBreadcrumbs implements EditorBlock & PageEditorBlock & PostEditorBlock { - """The API version of the Gutenberg Block""" - apiVersion: Int - - """Attributes of the YoastSeoBreadcrumbs Block Type""" - attributes: YoastSeoBreadcrumbsAttributes - - """The name of the category the Block belongs to""" - blockEditorCategoryName: String - - """The id of the Block""" - clientId: String - - """CSS Classnames to apply to the block""" - cssClassNames: [String] - - """The inner blocks of the Block""" - innerBlocks: [EditorBlock] - - """Whether the block is Dynamic (server rendered)""" - isDynamic: Boolean! - - """The name of the block""" - name: String - - """The parent id of the Block""" - parentClientId: String - - """The rendered HTML for the block""" - renderedHtml: String -} - -"""Attributes of the YoastSeoBreadcrumbs Block Type""" -type YoastSeoBreadcrumbsAttributes { - """ - The "className" field on the "YoastSeoBreadcrumbsAttributes" block or block attributes - """ - className: String - - """ - The "lock" field on the "YoastSeoBreadcrumbsAttributes" block or block attributes - """ - lock: BlockAttributesObject - - """ - The "metadata" field on the "YoastSeoBreadcrumbsAttributes" block or block attributes - """ - metadata: BlockAttributesObject } \ No newline at end of file diff --git a/playground/nuxt.config.ts b/playground/nuxt.config.ts index 1edb66f..2928d6a 100644 --- a/playground/nuxt.config.ts +++ b/playground/nuxt.config.ts @@ -12,5 +12,5 @@ export default defineNuxtConfig({ compatibilityVersion: 4 }, devtools: { enabled: true }, - compatibilityDate: '2024-08-08' + compatibilityDate: '2024-08-14' }) diff --git a/playground/tailwind.config.ts b/playground/tailwind.config.ts new file mode 100644 index 0000000..f210470 --- /dev/null +++ b/playground/tailwind.config.ts @@ -0,0 +1,38 @@ +module.exports = { + content: [ + '../src/runtime/components/**/*.vue' + ], + theme: { + extend: { + colors: { + wpgray: { + DEFAULT: '#32373c', + 50: '#ebebec', + 100: '#d6d7d8', + 200: '#adafb1', + 300: '#84878a', + 400: '#5b5f63', + 500: '#32373c', + 600: '#282c30', + 700: '#1e2124', + 800: '#141618', + 900: '#0a0b0c' + }, + reefgold: { + DEFAULT: '#9c8e1b', + 50: '#faf9f0', + 100: '#f5f3e1', + 200: '#e6e2b5', + 300: '#d6d090', + 400: '#baaf4e', + 500: '#9c8e1b', + 600: '#8c7815', + 700: '#755d0f', + 800: '#5e4509', + 900: '#452e06', + 950: '#2e1b02' + } + } + } + } +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e6f32c6..6792977 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,10 +16,10 @@ importers: version: 3.12.4(magicast@0.3.4)(rollup@4.20.0) '@nuxt/ui': specifier: ^2.18.4 - version: 2.18.4(change-case@4.1.2)(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue@3.4.37(typescript@5.5.4)) + version: 2.18.4(change-case@5.4.4)(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4)) '@wpnuxt/core': specifier: ^1.0.0-edge.6 - version: 1.0.0-edge.6(@parcel/watcher@2.4.1)(@types/node@22.2.0)(consola@3.2.3)(graphql-tag@2.12.6(graphql@16.9.0))(graphql@16.9.0)(ioredis@5.4.1)(knitwork@1.1.0)(magicast@0.3.4)(nuxt@3.12.4(@parcel/watcher@2.4.1)(@types/node@22.2.0)(eslint@9.9.0(jiti@1.21.6))(ioredis@5.4.1)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.5)(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue-tsc@2.0.29(typescript@5.5.4)))(pathe@1.1.2)(rollup@4.20.0)(scule@1.3.0)(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue@3.4.37(typescript@5.5.4)) + version: 1.0.0-edge.6(@parcel/watcher@2.4.1)(@types/node@22.3.0)(consola@3.2.3)(graphql-tag@2.12.6(graphql@16.9.0))(graphql@16.9.0)(ioredis@5.4.1)(knitwork@1.1.0)(magicast@0.3.4)(nuxt@3.12.4(@parcel/watcher@2.4.1)(@types/node@22.3.0)(eslint@9.9.0(jiti@1.21.6))(ioredis@5.4.1)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue-tsc@2.0.29(typescript@5.5.4)))(pathe@1.1.2)(rollup@4.20.0)(scule@1.3.0)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4)) knitwork: specifier: ^1.1.0 version: 1.1.0 @@ -29,22 +29,25 @@ importers: devDependencies: '@nuxt/devtools': specifier: ^1.3.9 - version: 1.3.9(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5)) + version: 1.3.9(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6)) '@nuxt/eslint-config': specifier: ^0.5.0 version: 0.5.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) '@nuxt/module-builder': - specifier: ^0.8.1 - version: 0.8.1(@nuxt/kit@3.12.4(magicast@0.3.4)(rollup@4.20.0))(nuxi@3.12.0)(typescript@5.5.4)(vue-tsc@2.0.29(typescript@5.5.4)) + specifier: ^0.8.3 + version: 0.8.3(@nuxt/kit@3.12.4(magicast@0.3.4)(rollup@4.20.0))(nuxi@3.12.0)(typescript@5.5.4)(vue-tsc@2.0.29(typescript@5.5.4)) '@nuxt/schema': specifier: ^3.12.4 version: 3.12.4(rollup@4.20.0) '@nuxt/test-utils': - specifier: ^3.13.1 - version: 3.14.0(h3@1.12.0)(magicast@0.3.4)(nitropack@2.9.7(magicast@0.3.4))(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vitest@2.0.5(@types/node@22.2.0)(terser@5.31.5))(vue-router@4.4.3(vue@3.4.37(typescript@5.5.4)))(vue@3.4.37(typescript@5.5.4)) + specifier: ^3.14.1 + version: 3.14.1(h3@1.12.0)(magicast@0.3.4)(nitropack@2.9.7(magicast@0.3.4))(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vitest@2.0.5(@types/node@22.3.0)(terser@5.31.6))(vue-router@4.4.3(vue@3.4.37(typescript@5.5.4)))(vue@3.4.37(typescript@5.5.4)) '@types/node': - specifier: ^22.2.0 - version: 22.2.0 + specifier: ^22.3.0 + version: 22.3.0 + '@wordpress/env': + specifier: ^10.5.0 + version: 10.5.0 changelogen: specifier: ^0.5.5 version: 0.5.5(magicast@0.3.4) @@ -53,7 +56,7 @@ importers: version: 9.9.0(jiti@1.21.6) nuxt: specifier: ^3.12.4 - version: 3.12.4(@parcel/watcher@2.4.1)(@types/node@22.2.0)(eslint@9.9.0(jiti@1.21.6))(ioredis@5.4.1)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.5)(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue-tsc@2.0.29(typescript@5.5.4)) + version: 3.12.4(@parcel/watcher@2.4.1)(@types/node@22.3.0)(eslint@9.9.0(jiti@1.21.6))(ioredis@5.4.1)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue-tsc@2.0.29(typescript@5.5.4)) release-it: specifier: ^17.6.0 version: 17.6.0(typescript@5.5.4) @@ -62,7 +65,7 @@ importers: version: 5.5.4 vitest: specifier: ^2.0.3 - version: 2.0.5(@types/node@22.2.0)(terser@5.31.5) + version: 2.0.5(@types/node@22.3.0)(terser@5.31.6) vue-tsc: specifier: ^2.0.26 version: 2.0.29(typescript@5.5.4) @@ -1425,11 +1428,11 @@ packages: resolution: {integrity: sha512-aNRD1ylzijY0oYolldNcZJXVyxdGzNTl+Xd0UYyFQCu9f4wqUZqQ9l+b7arCEzchr96pMK0xdpvLcS3xo1wDcw==} engines: {node: ^14.18.0 || >=16.10.0} - '@nuxt/module-builder@0.8.1': - resolution: {integrity: sha512-pWIRF2x6zx63WEh3z7zM37CTfwhsWz21QnFWOeLacqDIBF1G92cRxF5BiS8mn7qfybFop8HRyZGzGDQeCsI20A==} + '@nuxt/module-builder@0.8.3': + resolution: {integrity: sha512-m9W3P6f6TFnHmVFKRo/2gELWDi3r0k8i93Z1fY5z410GZmttGVPv8KgRgOgC79agRi/OtpbyG3BPRaWdbDZa5w==} hasBin: true peerDependencies: - '@nuxt/kit': ^3.12.2 + '@nuxt/kit': ^3.12.4 nuxi: ^3.12.0 '@nuxt/schema@3.12.4': @@ -1440,8 +1443,8 @@ packages: resolution: {integrity: sha512-KH6wxzsNys69daSO0xUv0LEBAfhwwjK1M+0Cdi1/vxmifCslMIY7lN11B4eywSfscbyVPAYJvANyc7XiVPImBQ==} hasBin: true - '@nuxt/test-utils@3.14.0': - resolution: {integrity: sha512-8HJOvGChQ70s6RKduKlrNABJXizNCLodBRbgepa4RYA3QFv2KrTxLvlHlhEUwd9r2E55LcQacv9P7Er47Z2GaA==} + '@nuxt/test-utils@3.14.1': + resolution: {integrity: sha512-D8F18hnOHQSarKnzsLORRXzFPlI9Y5fcQFRKwJgGhnejlIRX6sFvVnyl2SDgCvoV+F2x2czQsdGkwg51iWAshA==} engines: {node: '>=18.20.4'} peerDependencies: '@cucumber/cucumber': ^10.3.1 @@ -1830,6 +1833,10 @@ packages: '@rushstack/eslint-patch@1.10.4': resolution: {integrity: sha512-WJgX9nzTqknM393q1QJDJmoW28kUfEnybeTfVNcNAPnIx210RXm2DiXiHzfNPJNIUUb1tJnz/l4QGtJ30PgWmA==} + '@sindresorhus/is@4.6.0': + resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} + engines: {node: '>=10'} + '@sindresorhus/is@5.6.0': resolution: {integrity: sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==} engines: {node: '>=14.16'} @@ -1867,6 +1874,10 @@ packages: peerDependencies: eslint: '>=8.40.0' + '@szmarczak/http-timer@4.0.6': + resolution: {integrity: sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==} + engines: {node: '>=10'} + '@szmarczak/http-timer@5.0.1': resolution: {integrity: sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==} engines: {node: '>=14.16'} @@ -1906,6 +1917,9 @@ packages: resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} engines: {node: '>=10.13.0'} + '@types/cacheable-request@6.0.3': + resolution: {integrity: sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw==} + '@types/eslint@9.6.0': resolution: {integrity: sha512-gi6WQJ7cHRgZxtkQEoyHMppPjq9Kxo5Tjn2prSKDSmZrCz8TZ3jSRCeTJm+WoM+oB0WG37bRqLzaaU3q7JypGg==} @@ -1924,8 +1938,11 @@ packages: '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - '@types/node@22.2.0': - resolution: {integrity: sha512-bm6EG6/pCpkxDf/0gDNDdtDILMOHgaQBVOJGdwsqClnxA3xL6jtMv76rLBc006RVMWbmaf0xbmom4Z/5o2nRkQ==} + '@types/keyv@3.1.4': + resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==} + + '@types/node@22.3.0': + resolution: {integrity: sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -1933,6 +1950,9 @@ packages: '@types/resolve@1.20.2': resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} + '@types/responselike@1.0.3': + resolution: {integrity: sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==} + '@types/web-bluetooth@0.0.20': resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==} @@ -2238,6 +2258,11 @@ packages: resolution: {integrity: sha512-oOknAo8NvDnvj7P0N2ZHq/n3iK3wVtJHXwLVUsBBlc+u3UaNiL+bwXmS2OKu/pH+rIWMtOsXsTABrPjcCgEByg==} engines: {node: '>=18.0.0'} + '@wordpress/env@10.5.0': + resolution: {integrity: sha512-Hx+fi6qTEAuycznulkuMi4d5RDPZ6lPPAxaylpCwXNX2hgx5jrrpgnY4Zn0chBgZMpShO7BbA+zNDq2E6evvTw==} + engines: {node: '>=18.12.0', npm: '>=8.19.2'} + hasBin: true + '@wpnuxt/core@1.0.0-edge.6': resolution: {integrity: sha512-vompxBAWKTvWxda0NMQUvhQtE8bjzpICOQpBTIWbXZzNbmsgv1klLNcippLFwmy6S8jtMpRiDtyp2jixcqkoZQ==} engines: {node: '>=18'} @@ -2350,6 +2375,9 @@ packages: arg@5.0.2: resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} + argparse@1.0.10: + resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} + argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} @@ -2500,6 +2528,9 @@ packages: bser@2.1.1: resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} + buffer-crc32@0.2.13: + resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} + buffer-crc32@1.0.0: resolution: {integrity: sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==} engines: {node: '>=8.0.0'} @@ -2545,6 +2576,10 @@ packages: resolution: {integrity: sha512-IKufZ1o4Ut42YUrZSo8+qnMTrFuKkvyoLXUywKz9GJ5BrhOFGhLdkx9sG4KAnVvbY6kEcSFjLQul+DVmBm2bgA==} engines: {node: '>= 6.0.0'} + cacheable-lookup@5.0.4: + resolution: {integrity: sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA==} + engines: {node: '>=10.6.0'} + cacheable-lookup@7.0.0: resolution: {integrity: sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w==} engines: {node: '>=14.16'} @@ -2553,6 +2588,10 @@ packages: resolution: {integrity: sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ==} engines: {node: '>=14.16'} + cacheable-request@7.0.4: + resolution: {integrity: sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg==} + engines: {node: '>=8'} + callsites@3.1.0: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} @@ -2593,6 +2632,10 @@ packages: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} + chalk@3.0.0: + resolution: {integrity: sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==} + engines: {node: '>=8'} + chalk@4.1.2: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} @@ -2610,6 +2653,9 @@ packages: change-case@4.1.2: resolution: {integrity: sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A==} + change-case@5.4.4: + resolution: {integrity: sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w==} + changelogen@0.5.5: resolution: {integrity: sha512-IzgToIJ/R9NhVKmL+PW33ozYkv53bXvufDNUSH3GTKXq1iCHGgkbgbtqEWbo8tnWNnt7nPDpjL8PwSG2iS8RVw==} hasBin: true @@ -2693,6 +2739,9 @@ packages: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} + clone-response@1.0.3: + resolution: {integrity: sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==} + clone@1.0.4: resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} engines: {node: '>=0.8'} @@ -2778,6 +2827,10 @@ packages: concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + concat-stream@1.6.2: + resolution: {integrity: sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==} + engines: {'0': node >= 0.8} + confbox@0.1.7: resolution: {integrity: sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA==} @@ -2823,6 +2876,9 @@ packages: resolution: {integrity: sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w==} engines: {node: '>=12.13'} + copy-dir@1.3.0: + resolution: {integrity: sha512-Q4+qBFnN4bwGwvtXXzbp4P/4iNk0MaiGAzvQ8OiMtlLjkIKjmNN689uVzShSM0908q7GoFHXIPx4zi75ocoaHw==} + core-js-compat@3.38.0: resolution: {integrity: sha512-75LAicdLa4OJVwFxFbQR3NdnZjNgX6ILpVcVzcC4T2smerB5lELMrJQQQoWV6TiuC/vlaFqgU2tKQx9w5s0e0A==} @@ -3123,6 +3179,10 @@ packages: dlv@1.1.3: resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==} + docker-compose@0.24.8: + resolution: {integrity: sha512-plizRs/Vf15H+GCVxq2EUvyPK7ei9b/cVesHvjnX4xaXjM9spHe2Ytq0BitndFgvTJ3E3NljPNUEl7BAN43iZw==} + engines: {node: '>= 6.0.0'} + doctrine@3.0.0: resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} engines: {node: '>=6.0.0'} @@ -3402,6 +3462,10 @@ packages: resolution: {integrity: sha512-FuoE1qtbJ4bBVvv94CC7s0oTnKUGvQs+Rjf1L2SJFfS+HTVVjhPFtehPdQ0JiGPqVNfSSZvL5yzHHQq2Z4WNhQ==} engines: {node: ^12.20 || >= 14.13} + extract-zip@1.7.0: + resolution: {integrity: sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA==} + hasBin: true + fake-indexeddb@6.0.0: resolution: {integrity: sha512-YEboHE5VfopUclOck7LncgIqskAqnv4q0EWbYCaxKKjAvO93c+TJIaBuGy8CBFdbg9nKdpN3AuPRwVBJ4k7NrQ==} engines: {node: '>=18'} @@ -3446,6 +3510,9 @@ packages: fbjs@3.0.5: resolution: {integrity: sha512-ztsSx77JBtkuMrEypfhgc3cI0+0h+svqeie7xHbh1k/IKdcydnvadp/mUaGgjAOXQmQSxsqgaRhS3q9fy+1kxg==} + fd-slicer@1.1.0: + resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==} + fetch-blob@3.2.0: resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==} engines: {node: ^12.20 || >= 14.13} @@ -3556,6 +3623,10 @@ packages: get-port-please@3.1.2: resolution: {integrity: sha512-Gxc29eLs1fbn6LQ4jSU4vXjlwyZhF5HsGuMAa7gqBP4Rw4yxxltyDUuF5MBclFzDTXO+ACchGQoeela4DSfzdQ==} + get-stream@5.2.0: + resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==} + engines: {node: '>=8'} + get-stream@6.0.1: resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} engines: {node: '>=10'} @@ -3644,6 +3715,10 @@ packages: resolution: {integrity: sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==} engines: {node: '>=18'} + got@11.8.6: + resolution: {integrity: sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==} + engines: {node: '>=10.19.0'} + got@13.0.0: resolution: {integrity: sha512-XfBk1CxOOScDcMr9O1yKkNaQyy865NbYs+F7dr4H0LZMVgCj2Le59k6PqbNHoL5ToeaEQUYh6c6yMfVcc6SJxA==} engines: {node: '>=16'} @@ -3768,6 +3843,10 @@ packages: resolution: {integrity: sha512-S9wWkJ/VSY9/k4qcjG318bqJNruzE4HySUhFYknwmu6LBP97KLLfwNf+n4V1BHurvFNkSKLFnK/RsuUnRTf9Vw==} engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} + http2-wrapper@1.0.3: + resolution: {integrity: sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg==} + engines: {node: '>=10.19.0'} + http2-wrapper@2.2.1: resolution: {integrity: sha512-V5nVw1PAOgfI3Lmeaj2Exmeg7fenjhRUgz1lPSezy1CuhPYbgQtbQj4jZfEAEMlaL+vupsvhjqCyjzob0yxsmQ==} engines: {node: '>=10.19.0'} @@ -3850,6 +3929,10 @@ packages: resolution: {integrity: sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + inquirer@7.3.3: + resolution: {integrity: sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==} + engines: {node: '>=8.0.0'} + inquirer@8.2.6: resolution: {integrity: sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg==} engines: {node: '>=12.0.0'} @@ -4079,6 +4162,10 @@ packages: js-tokens@9.0.0: resolution: {integrity: sha512-WriZw1luRMlmV3LGJaR6QOJjWwgLUTf89OwT2lUOyjX2dJGBwgmIkbcz+7WFZjrZM635JOIR517++e/67CP9dQ==} + js-yaml@3.14.1: + resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} + hasBin: true + js-yaml@4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true @@ -4266,6 +4353,10 @@ packages: lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + log-symbols@3.0.0: + resolution: {integrity: sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==} + engines: {node: '>=8'} + log-symbols@4.1.0: resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} engines: {node: '>=10'} @@ -4291,6 +4382,10 @@ packages: lower-case@2.0.2: resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} + lowercase-keys@2.0.0: + resolution: {integrity: sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==} + engines: {node: '>=8'} + lowercase-keys@3.0.0: resolution: {integrity: sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -4395,6 +4490,10 @@ packages: resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} engines: {node: '>=12'} + mimic-response@1.0.1: + resolution: {integrity: sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==} + engines: {node: '>=4'} + mimic-response@3.1.0: resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==} engines: {node: '>=10'} @@ -4616,6 +4715,10 @@ packages: resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} engines: {node: '>=0.10.0'} + normalize-url@6.1.0: + resolution: {integrity: sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==} + engines: {node: '>=10'} + normalize-url@8.0.1: resolution: {integrity: sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==} engines: {node: '>=14.16'} @@ -4720,6 +4823,10 @@ packages: resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} engines: {node: '>= 0.8.0'} + ora@4.1.1: + resolution: {integrity: sha512-sjYP8QyVWBpBZWD6Vr1M/KwknSw6kJOz41tvGMlwWeClHBtYKTbHMki1PsLZnxKpXMPbTKv9b3pjQu3REib96A==} + engines: {node: '>=8'} + ora@5.4.1: resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} engines: {node: '>=10'} @@ -4736,6 +4843,10 @@ packages: resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} engines: {node: '>=0.10.0'} + p-cancelable@2.1.1: + resolution: {integrity: sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==} + engines: {node: '>=8'} + p-cancelable@3.0.0: resolution: {integrity: sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw==} engines: {node: '>=12.20'} @@ -4877,6 +4988,9 @@ packages: resolution: {integrity: sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==} engines: {node: '>= 14.16'} + pend@1.2.0: + resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==} + perfect-debounce@1.0.0: resolution: {integrity: sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==} @@ -5330,6 +5444,9 @@ packages: resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} hasBin: true + responselike@2.0.1: + resolution: {integrity: sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==} + responselike@3.0.0: resolution: {integrity: sha512-40yHxbNcl2+rzXvZuVkrYohathsSJlMTXKryG5y8uciHv1+xDLHQpgjG64JUO9nrEq2jGLH6IZ8BcZyw3wrweg==} engines: {node: '>=14.16'} @@ -5404,6 +5521,10 @@ packages: run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + rxjs@6.6.7: + resolution: {integrity: sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==} + engines: {npm: '>=2.0.0'} + rxjs@7.8.1: resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==} @@ -5610,6 +5731,9 @@ packages: sponge-case@1.0.1: resolution: {integrity: sha512-dblb9Et4DAtiZ5YSUZHLl4XhH4uK80GhAZrVXdN4O2P4gQ40Wa5UIOPUHlA/nFd2PLblBZWUioLMMAVrgpoYcA==} + sprintf-js@1.0.3: + resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + sprintf-js@1.1.3: resolution: {integrity: sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==} @@ -5723,6 +5847,10 @@ packages: resolution: {integrity: sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw==} engines: {node: '>=12'} + supports-hyperlinks@2.3.0: + resolution: {integrity: sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==} + engines: {node: '>=8'} + supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} @@ -5782,11 +5910,20 @@ packages: resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==} engines: {node: '>=10'} + terminal-link@2.1.1: + resolution: {integrity: sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==} + engines: {node: '>=8'} + terser@5.31.5: resolution: {integrity: sha512-YPmas0L0rE1UyLL/llTWA0SiDOqIcAQYLeUj7cJYzXHlRTAnMSg9pPe4VJ5PlKvTrPQsdVFuiRiwyeNlYgwh2Q==} engines: {node: '>=10'} hasBin: true + terser@5.31.6: + resolution: {integrity: sha512-PQ4DAriWzKj+qgehQ7LK5bQqCFNMmlhjR2PFFLuqGCpuCAauxemVBWwWOxo3UIwWQx8+Pr61Df++r76wDmkQBg==} + engines: {node: '>=10'} + hasBin: true + text-decoder@1.1.1: resolution: {integrity: sha512-8zll7REEv4GDD3x4/0pW+ppIxSNs7H1J10IKFZsuOMscumCdM2a+toDGLPA3T+1+fLBql4zbt5z83GEQGGV5VA==} @@ -5873,6 +6010,9 @@ packages: typescript: optional: true + tslib@1.14.1: + resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} + tslib@2.4.1: resolution: {integrity: sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==} @@ -5928,6 +6068,9 @@ packages: typedarray-to-buffer@3.1.5: resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==} + typedarray@0.0.6: + resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} + typescript@5.5.4: resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} engines: {node: '>=14.17'} @@ -5961,8 +6104,8 @@ packages: unctx@2.3.1: resolution: {integrity: sha512-PhKke8ZYauiqh3FEMVNm7ljvzQiph0Mt3GBRve03IJm7ukfaON2OBK795tLwhbyfzknuRRkW0+Ze+CQUmzOZ+A==} - undici-types@6.13.0: - resolution: {integrity: sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg==} + undici-types@6.18.2: + resolution: {integrity: sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ==} undici@5.28.4: resolution: {integrity: sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==} @@ -6439,6 +6582,9 @@ packages: resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} engines: {node: '>=12'} + yauzl@2.10.0: + resolution: {integrity: sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==} + ylru@1.4.0: resolution: {integrity: sha512-2OQsPNEmBCvXuFlIni/a+Rn+R2pHW9INm0BxXJ4hVDA8TirqMj+J/Rp9ItLatT/5pZqWwefVrTQcHpixsxnVlA==} engines: {node: '>= 4.0.0'} @@ -7227,7 +7373,7 @@ snapshots: graphql: 16.9.0 tslib: 2.6.3 - '@graphql-codegen/cli@5.0.2(@parcel/watcher@2.4.1)(@types/node@22.2.0)(graphql@16.9.0)(typescript@5.5.4)': + '@graphql-codegen/cli@5.0.2(@parcel/watcher@2.4.1)(@types/node@22.3.0)(graphql@16.9.0)(typescript@5.5.4)': dependencies: '@babel/generator': 7.25.0 '@babel/template': 7.25.0 @@ -7238,12 +7384,12 @@ snapshots: '@graphql-tools/apollo-engine-loader': 8.0.1(graphql@16.9.0) '@graphql-tools/code-file-loader': 8.1.3(graphql@16.9.0) '@graphql-tools/git-loader': 8.0.7(graphql@16.9.0) - '@graphql-tools/github-loader': 8.0.1(@types/node@22.2.0)(graphql@16.9.0) + '@graphql-tools/github-loader': 8.0.1(@types/node@22.3.0)(graphql@16.9.0) '@graphql-tools/graphql-file-loader': 8.0.1(graphql@16.9.0) '@graphql-tools/json-file-loader': 8.0.1(graphql@16.9.0) '@graphql-tools/load': 8.0.2(graphql@16.9.0) - '@graphql-tools/prisma-loader': 8.0.4(@types/node@22.2.0)(graphql@16.9.0) - '@graphql-tools/url-loader': 8.0.2(@types/node@22.2.0)(graphql@16.9.0) + '@graphql-tools/prisma-loader': 8.0.4(@types/node@22.3.0)(graphql@16.9.0) + '@graphql-tools/url-loader': 8.0.2(@types/node@22.3.0)(graphql@16.9.0) '@graphql-tools/utils': 10.5.1(graphql@16.9.0) '@whatwg-node/fetch': 0.8.8 chalk: 4.1.2 @@ -7251,7 +7397,7 @@ snapshots: debounce: 1.2.1 detect-indent: 6.1.0 graphql: 16.9.0 - graphql-config: 5.1.0(@types/node@22.2.0)(graphql@16.9.0)(typescript@5.5.4) + graphql-config: 5.1.0(@types/node@22.3.0)(graphql@16.9.0)(typescript@5.5.4) inquirer: 8.2.6 is-glob: 4.0.3 jiti: 1.21.6 @@ -7495,14 +7641,14 @@ snapshots: - bufferutil - utf-8-validate - '@graphql-tools/executor-http@1.1.5(@types/node@22.2.0)(graphql@16.9.0)': + '@graphql-tools/executor-http@1.1.5(@types/node@22.3.0)(graphql@16.9.0)': dependencies: '@graphql-tools/utils': 10.5.1(graphql@16.9.0) '@repeaterjs/repeater': 3.0.6 '@whatwg-node/fetch': 0.9.19 extract-files: 11.0.0 graphql: 16.9.0 - meros: 1.3.0(@types/node@22.2.0) + meros: 1.3.0(@types/node@22.3.0) tslib: 2.6.3 value-or-promise: 1.0.12 transitivePeerDependencies: @@ -7541,10 +7687,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@graphql-tools/github-loader@8.0.1(@types/node@22.2.0)(graphql@16.9.0)': + '@graphql-tools/github-loader@8.0.1(@types/node@22.3.0)(graphql@16.9.0)': dependencies: '@ardatan/sync-fetch': 0.0.1 - '@graphql-tools/executor-http': 1.1.5(@types/node@22.2.0)(graphql@16.9.0) + '@graphql-tools/executor-http': 1.1.5(@types/node@22.3.0)(graphql@16.9.0) '@graphql-tools/graphql-tag-pluck': 8.3.2(graphql@16.9.0) '@graphql-tools/utils': 10.5.1(graphql@16.9.0) '@whatwg-node/fetch': 0.9.19 @@ -7617,9 +7763,9 @@ snapshots: graphql: 16.9.0 tslib: 2.6.3 - '@graphql-tools/prisma-loader@8.0.4(@types/node@22.2.0)(graphql@16.9.0)': + '@graphql-tools/prisma-loader@8.0.4(@types/node@22.3.0)(graphql@16.9.0)': dependencies: - '@graphql-tools/url-loader': 8.0.2(@types/node@22.2.0)(graphql@16.9.0) + '@graphql-tools/url-loader': 8.0.2(@types/node@22.3.0)(graphql@16.9.0) '@graphql-tools/utils': 10.5.1(graphql@16.9.0) '@types/js-yaml': 4.0.9 '@whatwg-node/fetch': 0.9.19 @@ -7671,12 +7817,12 @@ snapshots: tslib: 2.6.3 value-or-promise: 1.0.12 - '@graphql-tools/url-loader@8.0.2(@types/node@22.2.0)(graphql@16.9.0)': + '@graphql-tools/url-loader@8.0.2(@types/node@22.3.0)(graphql@16.9.0)': dependencies: '@ardatan/sync-fetch': 0.0.1 '@graphql-tools/delegate': 10.0.18(graphql@16.9.0) '@graphql-tools/executor-graphql-ws': 1.2.0(graphql@16.9.0) - '@graphql-tools/executor-http': 1.1.5(@types/node@22.2.0)(graphql@16.9.0) + '@graphql-tools/executor-http': 1.1.5(@types/node@22.3.0)(graphql@16.9.0) '@graphql-tools/executor-legacy-ws': 1.1.0(graphql@16.9.0) '@graphql-tools/utils': 10.5.1(graphql@16.9.0) '@graphql-tools/wrap': 10.0.5(graphql@16.9.0) @@ -7862,23 +8008,23 @@ snapshots: '@nuxt/devalue@2.0.2': {} - '@nuxt/devtools-kit@1.3.7(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))': + '@nuxt/devtools-kit@1.3.7(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))': dependencies: '@nuxt/kit': 3.12.4(magicast@0.3.4)(rollup@4.20.0) '@nuxt/schema': 3.12.4(rollup@4.20.0) execa: 7.2.0 - vite: 5.4.0(@types/node@22.2.0)(terser@5.31.5) + vite: 5.4.0(@types/node@22.3.0)(terser@5.31.6) transitivePeerDependencies: - magicast - rollup - supports-color - '@nuxt/devtools-kit@1.3.9(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))': + '@nuxt/devtools-kit@1.3.9(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))': dependencies: '@nuxt/kit': 3.12.4(magicast@0.3.4)(rollup@4.20.0) '@nuxt/schema': 3.12.4(rollup@4.20.0) execa: 7.2.0 - vite: 5.4.0(@types/node@22.2.0)(terser@5.31.5) + vite: 5.4.0(@types/node@22.3.0)(terser@5.31.6) transitivePeerDependencies: - magicast - rollup @@ -7897,13 +8043,13 @@ snapshots: rc9: 2.1.2 semver: 7.6.3 - '@nuxt/devtools@1.3.9(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))': + '@nuxt/devtools@1.3.9(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))': dependencies: '@antfu/utils': 0.7.10 - '@nuxt/devtools-kit': 1.3.9(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5)) + '@nuxt/devtools-kit': 1.3.9(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6)) '@nuxt/devtools-wizard': 1.3.9 '@nuxt/kit': 3.12.4(magicast@0.3.4)(rollup@4.20.0) - '@vue/devtools-core': 7.3.3(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5)) + '@vue/devtools-core': 7.3.3(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6)) '@vue/devtools-kit': 7.3.3 birpc: 0.2.17 consola: 3.2.3 @@ -7932,9 +8078,9 @@ snapshots: simple-git: 3.25.0 sirv: 2.0.4 unimport: 3.10.0(rollup@4.20.0) - vite: 5.4.0(@types/node@22.2.0)(terser@5.31.5) - vite-plugin-inspect: 0.8.5(@nuxt/kit@3.12.4(magicast@0.3.4)(rollup@4.20.0))(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5)) - vite-plugin-vue-inspector: 5.1.3(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5)) + vite: 5.4.0(@types/node@22.3.0)(terser@5.31.6) + vite-plugin-inspect: 0.8.5(@nuxt/kit@3.12.4(magicast@0.3.4)(rollup@4.20.0))(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6)) + vite-plugin-vue-inspector: 5.1.3(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6)) which: 3.0.1 ws: 8.18.0 transitivePeerDependencies: @@ -7977,13 +8123,13 @@ snapshots: - supports-color - typescript - '@nuxt/icon@1.4.5(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue@3.4.37(typescript@5.5.4))': + '@nuxt/icon@1.4.5(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4))': dependencies: '@iconify/collections': 1.0.448 '@iconify/types': 2.0.0 '@iconify/utils': 2.1.30 '@iconify/vue': 4.1.3-beta.1(vue@3.4.37(typescript@5.5.4)) - '@nuxt/devtools-kit': 1.3.9(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5)) + '@nuxt/devtools-kit': 1.3.9(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6)) '@nuxt/kit': 3.12.4(magicast@0.3.4)(rollup@4.20.0) consola: 3.2.3 fast-glob: 3.3.2 @@ -8057,7 +8203,7 @@ snapshots: - rollup - supports-color - '@nuxt/module-builder@0.8.1(@nuxt/kit@3.12.4(magicast@0.3.4)(rollup@4.20.0))(nuxi@3.12.0)(typescript@5.5.4)(vue-tsc@2.0.29(typescript@5.5.4))': + '@nuxt/module-builder@0.8.3(@nuxt/kit@3.12.4(magicast@0.3.4)(rollup@4.20.0))(nuxi@3.12.0)(typescript@5.5.4)(vue-tsc@2.0.29(typescript@5.5.4))': dependencies: '@nuxt/kit': 3.12.4(magicast@0.3.4)(rollup@4.20.0) citty: 0.1.6 @@ -8118,7 +8264,7 @@ snapshots: - rollup - supports-color - '@nuxt/test-utils@3.14.0(h3@1.12.0)(magicast@0.3.4)(nitropack@2.9.7(magicast@0.3.4))(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vitest@2.0.5(@types/node@22.2.0)(terser@5.31.5))(vue-router@4.4.3(vue@3.4.37(typescript@5.5.4)))(vue@3.4.37(typescript@5.5.4))': + '@nuxt/test-utils@3.14.1(h3@1.12.0)(magicast@0.3.4)(nitropack@2.9.7(magicast@0.3.4))(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vitest@2.0.5(@types/node@22.3.0)(terser@5.31.6))(vue-router@4.4.3(vue@3.4.37(typescript@5.5.4)))(vue@3.4.37(typescript@5.5.4))': dependencies: '@nuxt/kit': 3.12.4(magicast@0.3.4)(rollup@4.20.0) '@nuxt/schema': 3.12.4(rollup@4.20.0) @@ -8144,23 +8290,23 @@ snapshots: ufo: 1.5.4 unenv: 1.10.0 unplugin: 1.12.1 - vite: 5.4.0(@types/node@22.2.0)(terser@5.31.5) - vitest-environment-nuxt: 1.0.0(h3@1.12.0)(magicast@0.3.4)(nitropack@2.9.7(magicast@0.3.4))(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vitest@2.0.5(@types/node@22.2.0)(terser@5.31.5))(vue-router@4.4.3(vue@3.4.37(typescript@5.5.4)))(vue@3.4.37(typescript@5.5.4)) + vite: 5.4.0(@types/node@22.3.0)(terser@5.31.6) + vitest-environment-nuxt: 1.0.0(h3@1.12.0)(magicast@0.3.4)(nitropack@2.9.7(magicast@0.3.4))(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vitest@2.0.5(@types/node@22.3.0)(terser@5.31.6))(vue-router@4.4.3(vue@3.4.37(typescript@5.5.4)))(vue@3.4.37(typescript@5.5.4)) vue: 3.4.37(typescript@5.5.4) vue-router: 4.4.3(vue@3.4.37(typescript@5.5.4)) optionalDependencies: - vitest: 2.0.5(@types/node@22.2.0)(terser@5.31.5) + vitest: 2.0.5(@types/node@22.3.0)(terser@5.31.6) transitivePeerDependencies: - magicast - rollup - supports-color - '@nuxt/ui@2.18.4(change-case@4.1.2)(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue@3.4.37(typescript@5.5.4))': + '@nuxt/ui@2.18.4(change-case@5.4.4)(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4))': dependencies: '@headlessui/tailwindcss': 0.2.1(tailwindcss@3.4.9) '@headlessui/vue': 1.7.22(vue@3.4.37(typescript@5.5.4)) '@iconify-json/heroicons': 1.1.24 - '@nuxt/icon': 1.4.5(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue@3.4.37(typescript@5.5.4)) + '@nuxt/icon': 1.4.5(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4)) '@nuxt/kit': 3.12.4(magicast@0.3.4)(rollup@4.20.0) '@nuxtjs/color-mode': 3.4.2(magicast@0.3.4)(rollup@4.20.0) '@nuxtjs/tailwindcss': 6.12.1(magicast@0.3.4)(rollup@4.20.0) @@ -8170,7 +8316,7 @@ snapshots: '@tailwindcss/forms': 0.5.7(tailwindcss@3.4.9) '@tailwindcss/typography': 0.5.14(tailwindcss@3.4.9) '@vueuse/core': 10.11.1(vue@3.4.37(typescript@5.5.4)) - '@vueuse/integrations': 10.11.1(change-case@4.1.2)(fuse.js@6.6.2)(vue@3.4.37(typescript@5.5.4)) + '@vueuse/integrations': 10.11.1(change-case@5.4.4)(fuse.js@6.6.2)(vue@3.4.37(typescript@5.5.4)) '@vueuse/math': 10.11.1(vue@3.4.37(typescript@5.5.4)) defu: 6.1.4 fuse.js: 6.6.2 @@ -8200,12 +8346,12 @@ snapshots: - vite - vue - '@nuxt/vite-builder@3.12.4(@types/node@22.2.0)(eslint@9.9.0(jiti@1.21.6))(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.5)(typescript@5.5.4)(vue-tsc@2.0.29(typescript@5.5.4))(vue@3.4.37(typescript@5.5.4))': + '@nuxt/vite-builder@3.12.4(@types/node@22.3.0)(eslint@9.9.0(jiti@1.21.6))(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.6)(typescript@5.5.4)(vue-tsc@2.0.29(typescript@5.5.4))(vue@3.4.37(typescript@5.5.4))': dependencies: '@nuxt/kit': 3.12.4(magicast@0.3.4)(rollup@4.20.0) '@rollup/plugin-replace': 5.0.7(rollup@4.20.0) - '@vitejs/plugin-vue': 5.1.2(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue@3.4.37(typescript@5.5.4)) - '@vitejs/plugin-vue-jsx': 4.0.0(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue@3.4.37(typescript@5.5.4)) + '@vitejs/plugin-vue': 5.1.2(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4)) + '@vitejs/plugin-vue-jsx': 4.0.0(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4)) autoprefixer: 10.4.20(postcss@8.4.41) clear: 0.1.0 consola: 3.2.3 @@ -8231,9 +8377,9 @@ snapshots: ufo: 1.5.4 unenv: 1.10.0 unplugin: 1.12.1 - vite: 5.4.0(@types/node@22.2.0)(terser@5.31.5) - vite-node: 2.0.5(@types/node@22.2.0)(terser@5.31.5) - vite-plugin-checker: 0.7.2(eslint@9.9.0(jiti@1.21.6))(optionator@0.9.4)(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue-tsc@2.0.29(typescript@5.5.4)) + vite: 5.4.0(@types/node@22.3.0)(terser@5.31.6) + vite-node: 2.0.5(@types/node@22.3.0)(terser@5.31.6) + vite-plugin-checker: 0.7.2(eslint@9.9.0(jiti@1.21.6))(optionator@0.9.4)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue-tsc@2.0.29(typescript@5.5.4)) vue: 3.4.37(typescript@5.5.4) vue-bundle-renderer: 2.1.0 transitivePeerDependencies: @@ -8625,6 +8771,8 @@ snapshots: '@rushstack/eslint-patch@1.10.4': {} + '@sindresorhus/is@4.6.0': {} + '@sindresorhus/is@5.6.0': {} '@sindresorhus/merge-streams@2.3.0': {} @@ -8676,6 +8824,10 @@ snapshots: - supports-color - typescript + '@szmarczak/http-timer@4.0.6': + dependencies: + defer-to-connect: 2.0.1 + '@szmarczak/http-timer@5.0.1': dependencies: defer-to-connect: 2.0.1 @@ -8712,6 +8864,13 @@ snapshots: '@trysound/sax@0.2.0': {} + '@types/cacheable-request@6.0.3': + dependencies: + '@types/http-cache-semantics': 4.0.4 + '@types/keyv': 3.1.4 + '@types/node': 22.3.0 + '@types/responselike': 1.0.3 + '@types/eslint@9.6.0': dependencies: '@types/estree': 1.0.5 @@ -8723,25 +8882,33 @@ snapshots: '@types/http-proxy@1.17.15': dependencies: - '@types/node': 22.2.0 + '@types/node': 22.3.0 '@types/js-yaml@4.0.9': {} '@types/json-schema@7.0.15': {} - '@types/node@22.2.0': + '@types/keyv@3.1.4': + dependencies: + '@types/node': 22.3.0 + + '@types/node@22.3.0': dependencies: - undici-types: 6.13.0 + undici-types: 6.18.2 '@types/normalize-package-data@2.4.4': {} '@types/resolve@1.20.2': {} + '@types/responselike@1.0.3': + dependencies: + '@types/node': 22.3.0 + '@types/web-bluetooth@0.0.20': {} '@types/ws@8.5.12': dependencies: - '@types/node': 22.2.0 + '@types/node': 22.3.0 '@typescript-eslint/eslint-plugin@8.1.0(@typescript-eslint/parser@8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4)': dependencies: @@ -8907,19 +9074,19 @@ snapshots: - encoding - supports-color - '@vitejs/plugin-vue-jsx@4.0.0(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue@3.4.37(typescript@5.5.4))': + '@vitejs/plugin-vue-jsx@4.0.0(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-typescript': 7.25.2(@babel/core@7.25.2) '@vue/babel-plugin-jsx': 1.2.2(@babel/core@7.25.2) - vite: 5.4.0(@types/node@22.2.0)(terser@5.31.5) + vite: 5.4.0(@types/node@22.3.0)(terser@5.31.6) vue: 3.4.37(typescript@5.5.4) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.1.2(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue@3.4.37(typescript@5.5.4))': + '@vitejs/plugin-vue@5.1.2(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4))': dependencies: - vite: 5.4.0(@types/node@22.2.0)(terser@5.31.5) + vite: 5.4.0(@types/node@22.3.0)(terser@5.31.6) vue: 3.4.37(typescript@5.5.4) '@vitest/expect@2.0.5': @@ -9046,14 +9213,14 @@ snapshots: '@vue/devtools-api@6.6.3': {} - '@vue/devtools-core@7.3.3(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))': + '@vue/devtools-core@7.3.3(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))': dependencies: '@vue/devtools-kit': 7.3.3 '@vue/devtools-shared': 7.3.8 mitt: 3.0.1 nanoid: 3.3.7 pathe: 1.1.2 - vite-hot-client: 0.2.3(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5)) + vite-hot-client: 0.2.3(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6)) transitivePeerDependencies: - vite @@ -9118,13 +9285,13 @@ snapshots: - '@vue/composition-api' - vue - '@vueuse/integrations@10.11.1(change-case@4.1.2)(fuse.js@6.6.2)(vue@3.4.37(typescript@5.5.4))': + '@vueuse/integrations@10.11.1(change-case@5.4.4)(fuse.js@6.6.2)(vue@3.4.37(typescript@5.5.4))': dependencies: '@vueuse/core': 10.11.1(vue@3.4.37(typescript@5.5.4)) '@vueuse/shared': 10.11.1(vue@3.4.37(typescript@5.5.4)) vue-demi: 0.14.10(vue@3.4.37(typescript@5.5.4)) optionalDependencies: - change-case: 4.1.2 + change-case: 5.4.4 fuse.js: 6.6.2 transitivePeerDependencies: - '@vue/composition-api' @@ -9140,13 +9307,13 @@ snapshots: '@vueuse/metadata@10.11.1': {} - '@vueuse/nuxt@10.11.1(magicast@0.3.4)(nuxt@3.12.4(@parcel/watcher@2.4.1)(@types/node@22.2.0)(eslint@9.9.0(jiti@1.21.6))(ioredis@5.4.1)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.5)(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue-tsc@2.0.29(typescript@5.5.4)))(rollup@4.20.0)(vue@3.4.37(typescript@5.5.4))': + '@vueuse/nuxt@10.11.1(magicast@0.3.4)(nuxt@3.12.4(@parcel/watcher@2.4.1)(@types/node@22.3.0)(eslint@9.9.0(jiti@1.21.6))(ioredis@5.4.1)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue-tsc@2.0.29(typescript@5.5.4)))(rollup@4.20.0)(vue@3.4.37(typescript@5.5.4))': dependencies: '@nuxt/kit': 3.12.4(magicast@0.3.4)(rollup@4.20.0) '@vueuse/core': 10.11.1(vue@3.4.37(typescript@5.5.4)) '@vueuse/metadata': 10.11.1 local-pkg: 0.5.0 - nuxt: 3.12.4(@parcel/watcher@2.4.1)(@types/node@22.2.0)(eslint@9.9.0(jiti@1.21.6))(ioredis@5.4.1)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.5)(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue-tsc@2.0.29(typescript@5.5.4)) + nuxt: 3.12.4(@parcel/watcher@2.4.1)(@types/node@22.3.0)(eslint@9.9.0(jiti@1.21.6))(ioredis@5.4.1)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue-tsc@2.0.29(typescript@5.5.4)) vue-demi: 0.14.10(vue@3.4.37(typescript@5.5.4)) transitivePeerDependencies: - '@vue/composition-api' @@ -9192,15 +9359,32 @@ snapshots: fast-querystring: 1.1.2 tslib: 2.6.3 - '@wpnuxt/core@1.0.0-edge.6(@parcel/watcher@2.4.1)(@types/node@22.2.0)(consola@3.2.3)(graphql-tag@2.12.6(graphql@16.9.0))(graphql@16.9.0)(ioredis@5.4.1)(knitwork@1.1.0)(magicast@0.3.4)(nuxt@3.12.4(@parcel/watcher@2.4.1)(@types/node@22.2.0)(eslint@9.9.0(jiti@1.21.6))(ioredis@5.4.1)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.5)(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue-tsc@2.0.29(typescript@5.5.4)))(pathe@1.1.2)(rollup@4.20.0)(scule@1.3.0)(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue@3.4.37(typescript@5.5.4))': + '@wordpress/env@10.5.0': + dependencies: + chalk: 4.1.2 + copy-dir: 1.3.0 + docker-compose: 0.24.8 + extract-zip: 1.7.0 + got: 11.8.6 + inquirer: 7.3.3 + js-yaml: 3.14.1 + ora: 4.1.1 + rimraf: 3.0.2 + simple-git: 3.25.0 + terminal-link: 2.1.1 + yargs: 17.7.2 + transitivePeerDependencies: + - supports-color + + '@wpnuxt/core@1.0.0-edge.6(@parcel/watcher@2.4.1)(@types/node@22.3.0)(consola@3.2.3)(graphql-tag@2.12.6(graphql@16.9.0))(graphql@16.9.0)(ioredis@5.4.1)(knitwork@1.1.0)(magicast@0.3.4)(nuxt@3.12.4(@parcel/watcher@2.4.1)(@types/node@22.3.0)(eslint@9.9.0(jiti@1.21.6))(ioredis@5.4.1)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue-tsc@2.0.29(typescript@5.5.4)))(pathe@1.1.2)(rollup@4.20.0)(scule@1.3.0)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4))': dependencies: '@nuxt/kit': 3.12.4(magicast@0.3.4)(rollup@4.20.0) - '@vueuse/nuxt': 10.11.1(magicast@0.3.4)(nuxt@3.12.4(@parcel/watcher@2.4.1)(@types/node@22.2.0)(eslint@9.9.0(jiti@1.21.6))(ioredis@5.4.1)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.5)(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue-tsc@2.0.29(typescript@5.5.4)))(rollup@4.20.0)(vue@3.4.37(typescript@5.5.4)) + '@vueuse/nuxt': 10.11.1(magicast@0.3.4)(nuxt@3.12.4(@parcel/watcher@2.4.1)(@types/node@22.3.0)(eslint@9.9.0(jiti@1.21.6))(ioredis@5.4.1)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue-tsc@2.0.29(typescript@5.5.4)))(rollup@4.20.0)(vue@3.4.37(typescript@5.5.4)) consola: 3.2.3 defu: 6.1.4 graphql: 16.9.0 knitwork: 1.1.0 - nuxt-graphql-middleware: 4.1.1(@parcel/watcher@2.4.1)(@types/node@22.2.0)(graphql-tag@2.12.6(graphql@16.9.0))(graphql@16.9.0)(magicast@0.3.4)(rollup@4.20.0)(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5)) + nuxt-graphql-middleware: 4.1.1(@parcel/watcher@2.4.1)(@types/node@22.3.0)(graphql-tag@2.12.6(graphql@16.9.0))(graphql@16.9.0)(magicast@0.3.4)(rollup@4.20.0)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6)) ohash: 1.1.3 pathe: 1.1.2 scule: 1.3.0 @@ -9345,6 +9529,10 @@ snapshots: arg@5.0.2: {} + argparse@1.0.10: + dependencies: + sprintf-js: 1.0.3 + argparse@2.0.1: {} array-union@2.1.0: {} @@ -9531,6 +9719,8 @@ snapshots: dependencies: node-int64: 0.4.0 + buffer-crc32@0.2.13: {} + buffer-crc32@1.0.0: {} buffer-from@1.1.2: {} @@ -9583,6 +9773,8 @@ snapshots: mime-types: 2.1.35 ylru: 1.4.0 + cacheable-lookup@5.0.4: {} + cacheable-lookup@7.0.0: {} cacheable-request@10.2.14: @@ -9595,6 +9787,16 @@ snapshots: normalize-url: 8.0.1 responselike: 3.0.0 + cacheable-request@7.0.4: + dependencies: + clone-response: 1.0.3 + get-stream: 5.2.0 + http-cache-semantics: 4.1.1 + keyv: 4.5.4 + lowercase-keys: 2.0.0 + normalize-url: 6.1.0 + responselike: 2.0.1 + callsites@3.1.0: {} camel-case@4.1.2: @@ -9639,6 +9841,11 @@ snapshots: escape-string-regexp: 1.0.5 supports-color: 5.5.0 + chalk@3.0.0: + dependencies: + ansi-styles: 4.3.0 + supports-color: 7.2.0 + chalk@4.1.2: dependencies: ansi-styles: 4.3.0 @@ -9687,6 +9894,9 @@ snapshots: snake-case: 3.0.4 tslib: 2.6.3 + change-case@5.4.4: + optional: true + changelogen@0.5.5(magicast@0.3.4): dependencies: c12: 1.11.1(magicast@0.3.4) @@ -9783,6 +9993,10 @@ snapshots: strip-ansi: 6.0.1 wrap-ansi: 7.0.0 + clone-response@1.0.3: + dependencies: + mimic-response: 1.0.1 + clone@1.0.4: {} cluster-key-slot@1.1.2: {} @@ -9849,6 +10063,13 @@ snapshots: concat-map@0.0.1: {} + concat-stream@1.6.2: + dependencies: + buffer-from: 1.1.2 + inherits: 2.0.4 + readable-stream: 2.3.8 + typedarray: 0.0.6 + confbox@0.1.7: {} config-chain@1.1.13: @@ -9895,6 +10116,8 @@ snapshots: dependencies: is-what: 4.1.16 + copy-dir@1.3.0: {} + core-js-compat@3.38.0: dependencies: browserslist: 4.23.3 @@ -10144,6 +10367,10 @@ snapshots: dlv@1.1.3: {} + docker-compose@0.24.8: + dependencies: + yaml: 2.5.0 + doctrine@3.0.0: dependencies: esutils: 2.0.3 @@ -10202,7 +10429,6 @@ snapshots: end-of-stream@1.4.4: dependencies: once: 1.4.0 - optional: true enhanced-resolve@5.17.1: dependencies: @@ -10594,6 +10820,15 @@ snapshots: extract-files@11.0.0: {} + extract-zip@1.7.0: + dependencies: + concat-stream: 1.6.2 + debug: 2.6.9 + mkdirp: 0.5.6 + yauzl: 2.10.0 + transitivePeerDependencies: + - supports-color + fake-indexeddb@6.0.0: {} fast-decode-uri-component@1.0.1: {} @@ -10646,6 +10881,10 @@ snapshots: transitivePeerDependencies: - encoding + fd-slicer@1.1.0: + dependencies: + pend: 1.2.0 + fetch-blob@3.2.0: dependencies: node-domexception: 1.0.0 @@ -10750,6 +10989,10 @@ snapshots: get-port-please@3.1.2: {} + get-stream@5.2.0: + dependencies: + pump: 3.0.0 + get-stream@6.0.1: {} get-stream@8.0.1: {} @@ -10870,6 +11113,20 @@ snapshots: slash: 5.1.0 unicorn-magic: 0.1.0 + got@11.8.6: + dependencies: + '@sindresorhus/is': 4.6.0 + '@szmarczak/http-timer': 4.0.6 + '@types/cacheable-request': 6.0.3 + '@types/responselike': 1.0.3 + cacheable-lookup: 5.0.4 + cacheable-request: 7.0.4 + decompress-response: 6.0.0 + http2-wrapper: 1.0.3 + lowercase-keys: 2.0.0 + p-cancelable: 2.1.1 + responselike: 2.0.1 + got@13.0.0: dependencies: '@sindresorhus/is': 5.6.0 @@ -10890,13 +11147,13 @@ snapshots: graphemer@1.4.0: {} - graphql-config@5.1.0(@types/node@22.2.0)(graphql@16.9.0)(typescript@5.5.4): + graphql-config@5.1.0(@types/node@22.3.0)(graphql@16.9.0)(typescript@5.5.4): dependencies: '@graphql-tools/graphql-file-loader': 8.0.1(graphql@16.9.0) '@graphql-tools/json-file-loader': 8.0.1(graphql@16.9.0) '@graphql-tools/load': 8.0.2(graphql@16.9.0) '@graphql-tools/merge': 9.0.5(graphql@16.9.0) - '@graphql-tools/url-loader': 8.0.2(@types/node@22.2.0)(graphql@16.9.0) + '@graphql-tools/url-loader': 8.0.2(@types/node@22.3.0)(graphql@16.9.0) '@graphql-tools/utils': 10.5.1(graphql@16.9.0) cosmiconfig: 8.3.6(typescript@5.5.4) graphql: 16.9.0 @@ -11026,6 +11283,11 @@ snapshots: http-shutdown@1.2.2: {} + http2-wrapper@1.0.3: + dependencies: + quick-lru: 5.1.1 + resolve-alpn: 1.2.1 + http2-wrapper@2.2.1: dependencies: quick-lru: 5.1.1 @@ -11091,6 +11353,22 @@ snapshots: ini@4.1.1: {} + inquirer@7.3.3: + dependencies: + ansi-escapes: 4.3.2 + chalk: 4.1.2 + cli-cursor: 3.1.0 + cli-width: 3.0.0 + external-editor: 3.1.0 + figures: 3.2.0 + lodash: 4.17.21 + mute-stream: 0.0.8 + run-async: 2.4.1 + rxjs: 6.6.7 + string-width: 4.2.3 + strip-ansi: 6.0.1 + through: 2.3.8 + inquirer@8.2.6: dependencies: ansi-escapes: 4.3.2 @@ -11354,6 +11632,11 @@ snapshots: js-tokens@9.0.0: {} + js-yaml@3.14.1: + dependencies: + argparse: 1.0.10 + esprima: 4.0.1 + js-yaml@4.1.0: dependencies: argparse: 2.0.1 @@ -11556,6 +11839,10 @@ snapshots: lodash@4.17.21: {} + log-symbols@3.0.0: + dependencies: + chalk: 2.4.2 + log-symbols@4.1.0: dependencies: chalk: 4.1.2 @@ -11589,6 +11876,8 @@ snapshots: dependencies: tslib: 2.6.3 + lowercase-keys@2.0.0: {} + lowercase-keys@3.0.0: {} lru-cache@10.4.3: {} @@ -11641,9 +11930,9 @@ snapshots: merge2@1.4.1: {} - meros@1.3.0(@types/node@22.2.0): + meros@1.3.0(@types/node@22.3.0): optionalDependencies: - '@types/node': 22.2.0 + '@types/node': 22.3.0 methods@1.1.2: {} @@ -11668,6 +11957,8 @@ snapshots: mimic-fn@4.0.0: {} + mimic-response@1.0.1: {} + mimic-response@3.1.0: {} mimic-response@4.0.0: {} @@ -11930,6 +12221,8 @@ snapshots: normalize-range@0.1.2: {} + normalize-url@6.1.0: {} + normalize-url@8.0.1: {} npm-run-path@4.0.1: @@ -11957,15 +12250,15 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - nuxt-graphql-middleware@4.1.1(@parcel/watcher@2.4.1)(@types/node@22.2.0)(graphql-tag@2.12.6(graphql@16.9.0))(graphql@16.9.0)(magicast@0.3.4)(rollup@4.20.0)(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5)): + nuxt-graphql-middleware@4.1.1(@parcel/watcher@2.4.1)(@types/node@22.3.0)(graphql-tag@2.12.6(graphql@16.9.0))(graphql@16.9.0)(magicast@0.3.4)(rollup@4.20.0)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6)): dependencies: - '@graphql-codegen/cli': 5.0.2(@parcel/watcher@2.4.1)(@types/node@22.2.0)(graphql@16.9.0)(typescript@5.5.4) + '@graphql-codegen/cli': 5.0.2(@parcel/watcher@2.4.1)(@types/node@22.3.0)(graphql@16.9.0)(typescript@5.5.4) '@graphql-codegen/schema-ast': 4.1.0(graphql@16.9.0) '@graphql-codegen/typescript': 4.0.9(graphql@16.9.0) '@graphql-codegen/typescript-generic-sdk': 4.0.1(graphql-tag@2.12.6(graphql@16.9.0))(graphql@16.9.0) '@graphql-codegen/typescript-operations': 4.2.3(graphql@16.9.0) '@graphql-tools/utils': 10.5.1(graphql@16.9.0) - '@nuxt/devtools-kit': 1.3.7(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5)) + '@nuxt/devtools-kit': 1.3.7(magicast@0.3.4)(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6)) '@nuxt/kit': 3.12.4(magicast@0.3.4)(rollup@4.20.0) inquirer: 9.3.6 minisearch: 6.3.0 @@ -11986,14 +12279,14 @@ snapshots: - utf-8-validate - vite - nuxt@3.12.4(@parcel/watcher@2.4.1)(@types/node@22.2.0)(eslint@9.9.0(jiti@1.21.6))(ioredis@5.4.1)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.5)(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue-tsc@2.0.29(typescript@5.5.4)): + nuxt@3.12.4(@parcel/watcher@2.4.1)(@types/node@22.3.0)(eslint@9.9.0(jiti@1.21.6))(ioredis@5.4.1)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue-tsc@2.0.29(typescript@5.5.4)): dependencies: '@nuxt/devalue': 2.0.2 - '@nuxt/devtools': 1.3.9(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5)) + '@nuxt/devtools': 1.3.9(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6)) '@nuxt/kit': 3.12.4(magicast@0.3.4)(rollup@4.20.0) '@nuxt/schema': 3.12.4(rollup@4.20.0) '@nuxt/telemetry': 2.5.4(magicast@0.3.4)(rollup@4.20.0) - '@nuxt/vite-builder': 3.12.4(@types/node@22.2.0)(eslint@9.9.0(jiti@1.21.6))(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.5)(typescript@5.5.4)(vue-tsc@2.0.29(typescript@5.5.4))(vue@3.4.37(typescript@5.5.4)) + '@nuxt/vite-builder': 3.12.4(@types/node@22.3.0)(eslint@9.9.0(jiti@1.21.6))(magicast@0.3.4)(optionator@0.9.4)(rollup@4.20.0)(terser@5.31.6)(typescript@5.5.4)(vue-tsc@2.0.29(typescript@5.5.4))(vue@3.4.37(typescript@5.5.4)) '@unhead/dom': 1.9.16 '@unhead/ssr': 1.9.16 '@unhead/vue': 1.9.16(vue@3.4.37(typescript@5.5.4)) @@ -12049,7 +12342,7 @@ snapshots: vue-router: 4.4.3(vue@3.4.37(typescript@5.5.4)) optionalDependencies: '@parcel/watcher': 2.4.1 - '@types/node': 22.2.0 + '@types/node': 22.3.0 transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -12175,6 +12468,17 @@ snapshots: type-check: 0.4.0 word-wrap: 1.2.5 + ora@4.1.1: + dependencies: + chalk: 3.0.0 + cli-cursor: 3.1.0 + cli-spinners: 2.9.2 + is-interactive: 1.0.0 + log-symbols: 3.0.0 + mute-stream: 0.0.8 + strip-ansi: 6.0.1 + wcwidth: 1.0.1 + ora@5.4.1: dependencies: bl: 4.1.0 @@ -12206,6 +12510,8 @@ snapshots: os-tmpdir@1.0.2: {} + p-cancelable@2.1.1: {} + p-cancelable@3.0.0: {} p-limit@2.3.0: @@ -12346,6 +12652,8 @@ snapshots: pathval@2.0.0: {} + pend@1.2.0: {} + perfect-debounce@1.0.0: {} picocolors@1.0.1: {} @@ -12628,7 +12936,6 @@ snapshots: dependencies: end-of-stream: 1.4.4 once: 1.4.0 - optional: true punycode@1.4.1: {} @@ -12829,6 +13136,10 @@ snapshots: path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 + responselike@2.0.1: + dependencies: + lowercase-keys: 2.0.0 + responselike@3.0.0: dependencies: lowercase-keys: 3.0.0 @@ -12910,6 +13221,10 @@ snapshots: dependencies: queue-microtask: 1.2.3 + rxjs@6.6.7: + dependencies: + tslib: 1.14.1 + rxjs@7.8.1: dependencies: tslib: 2.6.3 @@ -13143,6 +13458,8 @@ snapshots: dependencies: tslib: 2.6.3 + sprintf-js@1.0.3: {} + sprintf-js@1.1.3: {} stable-hash@0.0.4: {} @@ -13251,6 +13568,11 @@ snapshots: supports-color@9.4.0: {} + supports-hyperlinks@2.3.0: + dependencies: + has-flag: 4.0.0 + supports-color: 7.2.0 + supports-preserve-symlinks-flag@1.0.0: {} svg-tags@1.0.0: {} @@ -13362,6 +13684,11 @@ snapshots: mkdirp: 1.0.4 yallist: 4.0.0 + terminal-link@2.1.1: + dependencies: + ansi-escapes: 4.3.2 + supports-hyperlinks: 2.3.0 + terser@5.31.5: dependencies: '@jridgewell/source-map': 0.3.6 @@ -13369,6 +13696,14 @@ snapshots: commander: 2.20.3 source-map-support: 0.5.21 + terser@5.31.6: + dependencies: + '@jridgewell/source-map': 0.3.6 + acorn: 8.12.1 + commander: 2.20.3 + source-map-support: 0.5.21 + optional: true + text-decoder@1.1.1: dependencies: b4a: 1.6.6 @@ -13429,6 +13764,8 @@ snapshots: optionalDependencies: typescript: 5.5.4 + tslib@1.14.1: {} + tslib@2.4.1: {} tslib@2.6.3: {} @@ -13469,6 +13806,8 @@ snapshots: dependencies: is-typedarray: 1.0.0 + typedarray@0.0.6: {} + typescript@5.5.4: {} ua-parser-js@1.0.38: {} @@ -13521,7 +13860,7 @@ snapshots: magic-string: 0.30.11 unplugin: 1.12.1 - undici-types@6.13.0: {} + undici-types@6.18.2: {} undici@5.28.4: dependencies: @@ -13700,17 +14039,17 @@ snapshots: vary@1.1.2: {} - vite-hot-client@0.2.3(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5)): + vite-hot-client@0.2.3(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6)): dependencies: - vite: 5.4.0(@types/node@22.2.0)(terser@5.31.5) + vite: 5.4.0(@types/node@22.3.0)(terser@5.31.6) - vite-node@2.0.5(@types/node@22.2.0)(terser@5.31.5): + vite-node@2.0.5(@types/node@22.3.0)(terser@5.31.6): dependencies: cac: 6.7.14 debug: 4.3.6 pathe: 1.1.2 tinyrainbow: 1.2.0 - vite: 5.4.0(@types/node@22.2.0)(terser@5.31.5) + vite: 5.4.0(@types/node@22.3.0)(terser@5.31.6) transitivePeerDependencies: - '@types/node' - less @@ -13722,7 +14061,7 @@ snapshots: - supports-color - terser - vite-plugin-checker@0.7.2(eslint@9.9.0(jiti@1.21.6))(optionator@0.9.4)(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vue-tsc@2.0.29(typescript@5.5.4)): + vite-plugin-checker@0.7.2(eslint@9.9.0(jiti@1.21.6))(optionator@0.9.4)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vue-tsc@2.0.29(typescript@5.5.4)): dependencies: '@babel/code-frame': 7.24.7 ansi-escapes: 4.3.2 @@ -13734,7 +14073,7 @@ snapshots: npm-run-path: 4.0.1 strip-ansi: 6.0.1 tiny-invariant: 1.3.3 - vite: 5.4.0(@types/node@22.2.0)(terser@5.31.5) + vite: 5.4.0(@types/node@22.3.0)(terser@5.31.6) vscode-languageclient: 7.0.0 vscode-languageserver: 7.0.0 vscode-languageserver-textdocument: 1.0.12 @@ -13745,7 +14084,7 @@ snapshots: typescript: 5.5.4 vue-tsc: 2.0.29(typescript@5.5.4) - vite-plugin-inspect@0.8.5(@nuxt/kit@3.12.4(magicast@0.3.4)(rollup@4.20.0))(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5)): + vite-plugin-inspect@0.8.5(@nuxt/kit@3.12.4(magicast@0.3.4)(rollup@4.20.0))(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6)): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.0(rollup@4.20.0) @@ -13756,14 +14095,14 @@ snapshots: perfect-debounce: 1.0.0 picocolors: 1.0.1 sirv: 2.0.4 - vite: 5.4.0(@types/node@22.2.0)(terser@5.31.5) + vite: 5.4.0(@types/node@22.3.0)(terser@5.31.6) optionalDependencies: '@nuxt/kit': 3.12.4(magicast@0.3.4)(rollup@4.20.0) transitivePeerDependencies: - rollup - supports-color - vite-plugin-vue-inspector@5.1.3(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5)): + vite-plugin-vue-inspector@5.1.3(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6)): dependencies: '@babel/core': 7.25.2 '@babel/plugin-proposal-decorators': 7.24.7(@babel/core@7.25.2) @@ -13774,23 +14113,23 @@ snapshots: '@vue/compiler-dom': 3.4.37 kolorist: 1.8.0 magic-string: 0.30.11 - vite: 5.4.0(@types/node@22.2.0)(terser@5.31.5) + vite: 5.4.0(@types/node@22.3.0)(terser@5.31.6) transitivePeerDependencies: - supports-color - vite@5.4.0(@types/node@22.2.0)(terser@5.31.5): + vite@5.4.0(@types/node@22.3.0)(terser@5.31.6): dependencies: esbuild: 0.21.5 postcss: 8.4.41 rollup: 4.20.0 optionalDependencies: - '@types/node': 22.2.0 + '@types/node': 22.3.0 fsevents: 2.3.3 - terser: 5.31.5 + terser: 5.31.6 - vitest-environment-nuxt@1.0.0(h3@1.12.0)(magicast@0.3.4)(nitropack@2.9.7(magicast@0.3.4))(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vitest@2.0.5(@types/node@22.2.0)(terser@5.31.5))(vue-router@4.4.3(vue@3.4.37(typescript@5.5.4)))(vue@3.4.37(typescript@5.5.4)): + vitest-environment-nuxt@1.0.0(h3@1.12.0)(magicast@0.3.4)(nitropack@2.9.7(magicast@0.3.4))(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vitest@2.0.5(@types/node@22.3.0)(terser@5.31.6))(vue-router@4.4.3(vue@3.4.37(typescript@5.5.4)))(vue@3.4.37(typescript@5.5.4)): dependencies: - '@nuxt/test-utils': 3.14.0(h3@1.12.0)(magicast@0.3.4)(nitropack@2.9.7(magicast@0.3.4))(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(terser@5.31.5))(vitest@2.0.5(@types/node@22.2.0)(terser@5.31.5))(vue-router@4.4.3(vue@3.4.37(typescript@5.5.4)))(vue@3.4.37(typescript@5.5.4)) + '@nuxt/test-utils': 3.14.1(h3@1.12.0)(magicast@0.3.4)(nitropack@2.9.7(magicast@0.3.4))(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(terser@5.31.6))(vitest@2.0.5(@types/node@22.3.0)(terser@5.31.6))(vue-router@4.4.3(vue@3.4.37(typescript@5.5.4)))(vue@3.4.37(typescript@5.5.4)) transitivePeerDependencies: - '@cucumber/cucumber' - '@jest/globals' @@ -13811,7 +14150,7 @@ snapshots: - vue - vue-router - vitest@2.0.5(@types/node@22.2.0)(terser@5.31.5): + vitest@2.0.5(@types/node@22.3.0)(terser@5.31.6): dependencies: '@ampproject/remapping': 2.3.0 '@vitest/expect': 2.0.5 @@ -13829,11 +14168,11 @@ snapshots: tinybench: 2.9.0 tinypool: 1.0.0 tinyrainbow: 1.2.0 - vite: 5.4.0(@types/node@22.2.0)(terser@5.31.5) - vite-node: 2.0.5(@types/node@22.2.0)(terser@5.31.5) + vite: 5.4.0(@types/node@22.3.0)(terser@5.31.6) + vite-node: 2.0.5(@types/node@22.3.0)(terser@5.31.6) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.2.0 + '@types/node': 22.3.0 transitivePeerDependencies: - less - lightningcss @@ -14054,6 +14393,11 @@ snapshots: y18n: 5.0.8 yargs-parser: 21.1.1 + yauzl@2.10.0: + dependencies: + buffer-crc32: 0.2.13 + fd-slicer: 1.1.0 + ylru@1.4.0: {} yocto-queue@0.1.0: {} diff --git a/src/runtime/components/BlockComponent.vue b/src/runtime/components/BlockComponent.vue index 244b169..cf63565 100644 --- a/src/runtime/components/BlockComponent.vue +++ b/src/runtime/components/BlockComponent.vue @@ -27,11 +27,9 @@ const componentToRender = await findComponentToRender() diff --git a/src/runtime/components/blocks/CoreButton.vue b/src/runtime/components/blocks/CoreButton.vue index b49156b..ff20b14 100644 --- a/src/runtime/components/blocks/CoreButton.vue +++ b/src/runtime/components/blocks/CoreButton.vue @@ -1,18 +1,44 @@