diff --git a/integration-tests/gatsby-source-wordpress/.env.test b/integration-tests/gatsby-source-wordpress/.env.test index 6172c29ac4d44..ecd0a9ba704eb 100644 --- a/integration-tests/gatsby-source-wordpress/.env.test +++ b/integration-tests/gatsby-source-wordpress/.env.test @@ -1,4 +1,4 @@ -WPGRAPHQL_VERSION=v1.8.0 +WPGRAPHQL_VERSION=v1.13.4 WPGATSBY_VERSION=v2.3.2 WPGRAPHQL_ACF_VERSION=v0.5.3 CPT_UI_VERSION=1.11.2 diff --git a/integration-tests/gatsby-source-wordpress/.wordpress-cache/wp-content/uploads/2020/08/file-sample_1MB.doc b/integration-tests/gatsby-source-wordpress/.wordpress-cache/wp-content/uploads/2020/08/file-sample_1MB.doc index 97d0838cb4969..6318047bb779b 100644 Binary files a/integration-tests/gatsby-source-wordpress/.wordpress-cache/wp-content/uploads/2020/08/file-sample_1MB.doc and b/integration-tests/gatsby-source-wordpress/.wordpress-cache/wp-content/uploads/2020/08/file-sample_1MB.doc differ diff --git a/integration-tests/gatsby-source-wordpress/__tests__/__snapshots__/index.js.snap b/integration-tests/gatsby-source-wordpress/__tests__/__snapshots__/index.js.snap index b2defcb6067e2..8b59e8b779fad 100644 --- a/integration-tests/gatsby-source-wordpress/__tests__/__snapshots__/index.js.snap +++ b/integration-tests/gatsby-source-wordpress/__tests__/__snapshots__/index.js.snap @@ -998,6 +998,12 @@ Array [ "fields": null, "name": "WpAcfLinkFilterInput", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpActionMonitorActionConnectionEdgeType", + }, Object { "fields": Array [ "default", @@ -1032,6 +1038,18 @@ Array [ ], "name": "WpBlock", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpBlockEditorContentNodeConnectionEdgeType", + }, + Object { + "fields": Array [ + "node", + ], + "name": "WpBlockEditorPreviewConnectionEdgeType", + }, Object { "fields": null, "name": "WpBlockFilterInput", @@ -1084,6 +1102,18 @@ Array [ ], "name": "WpCategoryConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpCategoryConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpCategoryConnectionType", + }, Object { "fields": Array [ "next", @@ -1128,66 +1158,65 @@ Array [ "fields": Array [ "nodes", ], - "name": "WpCategoryToAncestorsCategoryConnection", + "name": "WpCategoryToAncestorsCategoryConnectionType", }, Object { "fields": null, - "name": "WpCategoryToAncestorsCategoryConnectionFilterInput", + "name": "WpCategoryToAncestorsCategoryConnectionTypeFilterInput", }, Object { "fields": Array [ "nodes", ], - "name": "WpCategoryToCategoryConnection", + "name": "WpCategoryToCategoryConnectionType", }, Object { "fields": null, - "name": "WpCategoryToCategoryConnectionFilterInput", + "name": "WpCategoryToCategoryConnectionTypeFilterInput", }, Object { "fields": Array [ "nodes", ], - "name": "WpCategoryToContentNodeConnection", + "name": "WpCategoryToContentNodeConnectionType", }, Object { "fields": null, - "name": "WpCategoryToContentNodeConnectionFilterInput", + "name": "WpCategoryToContentNodeConnectionTypeFilterInput", }, Object { "fields": Array [ "node", ], - "name": "WpCategoryToParentCategoryConnectionEdge", + "name": "WpCategoryToParentCategoryConnectionEdgeType", }, Object { "fields": null, - "name": "WpCategoryToParentCategoryConnectionEdgeFilterInput", + "name": "WpCategoryToParentCategoryConnectionEdgeTypeFilterInput", }, Object { "fields": Array [ "nodes", ], - "name": "WpCategoryToPostConnection", + "name": "WpCategoryToPostConnectionType", }, Object { "fields": null, - "name": "WpCategoryToPostConnectionFilterInput", + "name": "WpCategoryToPostConnectionTypeFilterInput", }, Object { "fields": Array [ "node", ], - "name": "WpCategoryToTaxonomyConnectionEdge", + "name": "WpCategoryToTaxonomyConnectionEdgeType", }, Object { "fields": null, - "name": "WpCategoryToTaxonomyConnectionEdgeFilterInput", + "name": "WpCategoryToTaxonomyConnectionEdgeTypeFilterInput", }, Object { "fields": Array [ "agent", - "approved", "author", "authorIp", "commentedOn", @@ -1200,6 +1229,7 @@ Array [ "parentDatabaseId", "parentId", "replies", + "status", "type", "parent", "children", @@ -1285,6 +1315,18 @@ Array [ ], "name": "WpCommentConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpCommentConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpCommentConnectionType", + }, Object { "fields": Array [ "next", @@ -1325,45 +1367,53 @@ Array [ "fields": null, "name": "WpCommentSortInput", }, + Object { + "fields": null, + "name": "WpCommentStatusEnum", + }, + Object { + "fields": null, + "name": "WpCommentStatusEnumQueryOperatorInput", + }, Object { "fields": Array [ "nodes", ], - "name": "WpCommentToCommentConnection", + "name": "WpCommentToCommentConnectionType", }, Object { "fields": null, - "name": "WpCommentToCommentConnectionFilterInput", + "name": "WpCommentToCommentConnectionTypeFilterInput", }, Object { "fields": Array [ "node", ], - "name": "WpCommentToCommenterConnectionEdge", + "name": "WpCommentToCommenterConnectionEdgeType", }, Object { "fields": null, - "name": "WpCommentToCommenterConnectionEdgeFilterInput", + "name": "WpCommentToCommenterConnectionEdgeTypeFilterInput", }, Object { "fields": Array [ "node", ], - "name": "WpCommentToContentNodeConnectionEdge", + "name": "WpCommentToContentNodeConnectionEdgeType", }, Object { "fields": null, - "name": "WpCommentToContentNodeConnectionEdgeFilterInput", + "name": "WpCommentToContentNodeConnectionEdgeTypeFilterInput", }, Object { "fields": Array [ "node", ], - "name": "WpCommentToParentCommentConnectionEdge", + "name": "WpCommentToParentCommentConnectionEdgeType", }, Object { "fields": null, - "name": "WpCommentToParentCommentConnectionEdgeFilterInput", + "name": "WpCommentToParentCommentConnectionEdgeTypeFilterInput", }, Object { "fields": Array [ @@ -1371,13 +1421,68 @@ Array [ "id", "name", "url", + "parent", + "children", + "internal", ], "name": "WpCommenter", }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + ], + "name": "WpCommenterConnection", + }, + Object { + "fields": Array [ + "node", + ], + "name": "WpCommenterConnectionEdgeType", + }, + Object { + "fields": Array [ + "next", + "node", + "previous", + ], + "name": "WpCommenterEdge", + }, + Object { + "fields": null, + "name": "WpCommenterFieldsEnum", + }, Object { "fields": null, "name": "WpCommenterFilterInput", }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + "field", + "fieldValue", + ], + "name": "WpCommenterGroupConnection", + }, + Object { + "fields": null, + "name": "WpCommenterSortInput", + }, Object { "fields": Array [ "totalCount", @@ -1392,6 +1497,12 @@ Array [ ], "name": "WpConnection", }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpConnectionType", + }, Object { "fields": Array [ "contentType", @@ -1431,6 +1542,18 @@ Array [ ], "name": "WpContentNodeConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpContentNodeConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpContentNodeConnectionType", + }, Object { "fields": Array [ "next", @@ -1475,28 +1598,28 @@ Array [ "fields": Array [ "node", ], - "name": "WpContentNodeToContentTypeConnectionEdge", + "name": "WpContentNodeToContentTypeConnectionEdgeType", }, Object { "fields": null, - "name": "WpContentNodeToContentTypeConnectionEdgeFilterInput", + "name": "WpContentNodeToContentTypeConnectionEdgeTypeFilterInput", }, Object { "fields": Array [ "node", ], - "name": "WpContentNodeToEditLastConnectionEdge", + "name": "WpContentNodeToEditLastConnectionEdgeType", }, Object { "fields": null, - "name": "WpContentNodeToEditLastConnectionEdgeFilterInput", + "name": "WpContentNodeToEditLastConnectionEdgeTypeFilterInput", }, Object { "fields": Array [ "lockTimestamp", "node", ], - "name": "WpContentNodeToEditLockConnectionEdge", + "name": "WpContentNodeToEditLockConnectionEdgeType", }, Object { "fields": Array [ @@ -1562,6 +1685,18 @@ Array [ ], "name": "WpContentTypeConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpContentTypeConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpContentTypeConnectionType", + }, Object { "fields": Array [ "next", @@ -1606,21 +1741,21 @@ Array [ "fields": Array [ "nodes", ], - "name": "WpContentTypeToContentNodeConnection", + "name": "WpContentTypeToContentNodeConnectionType", }, Object { "fields": null, - "name": "WpContentTypeToContentNodeConnectionFilterInput", + "name": "WpContentTypeToContentNodeConnectionTypeFilterInput", }, Object { "fields": Array [ "nodes", ], - "name": "WpContentTypeToTaxonomyConnection", + "name": "WpContentTypeToTaxonomyConnectionType", }, Object { "fields": null, - "name": "WpContentTypeToTaxonomyConnectionFilterInput", + "name": "WpContentTypeToTaxonomyConnectionTypeFilterInput", }, Object { "fields": Array [ @@ -5408,6 +5543,24 @@ Array [ ], "name": "WpEdge", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpEdgeType", + }, + Object { + "fields": Array [ + "node", + ], + "name": "WpEnqueuedScriptConnectionEdgeType", + }, + Object { + "fields": Array [ + "node", + ], + "name": "WpEnqueuedStylesheetConnectionEdgeType", + }, Object { "fields": null, "name": "WpFieldsEnum", @@ -5459,120 +5612,123 @@ Array [ "fields": Array [ "ancestors", "wpChildren", + "contentType", + "contentTypeName", + "databaseId", + "date", + "dateGmt", + "desiredSlug", + "guid", + "id", + "isContentNode", + "isTermNode", + "lastEditedBy", + "link", + "modified", + "modifiedGmt", "wpParent", "parentDatabaseId", "parentId", + "slug", + "status", + "uri", + "parent", + "children", + "internal", ], "name": "WpHierarchicalContentNode", }, Object { "fields": Array [ + "totalCount", + "edges", "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + ], + "name": "WpHierarchicalContentNodeConnection", + }, + Object { + "fields": Array [ + "next", + "node", + "previous", ], - "name": "WpHierarchicalContentNodeToContentNodeAncestorsConnection", + "name": "WpHierarchicalContentNodeEdge", + }, + Object { + "fields": null, + "name": "WpHierarchicalContentNodeFieldsEnum", }, Object { "fields": null, - "name": "WpHierarchicalContentNodeToContentNodeAncestorsConnectionFilterInput", + "name": "WpHierarchicalContentNodeFilterInput", }, Object { "fields": Array [ + "totalCount", + "edges", "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + "field", + "fieldValue", ], - "name": "WpHierarchicalContentNodeToContentNodeChildrenConnection", + "name": "WpHierarchicalContentNodeGroupConnection", }, Object { "fields": null, - "name": "WpHierarchicalContentNodeToContentNodeChildrenConnectionFilterInput", + "name": "WpHierarchicalContentNodeSortInput", }, Object { "fields": Array [ - "node", + "nodes", ], - "name": "WpHierarchicalContentNodeToParentContentNodeConnectionEdge", + "name": "WpHierarchicalContentNodeToContentNodeAncestorsConnectionType", }, Object { "fields": null, - "name": "WpHierarchicalContentNodeToParentContentNodeConnectionEdgeFilterInput", + "name": "WpHierarchicalContentNodeToContentNodeAncestorsConnectionTypeFilterInput", }, Object { "fields": Array [ - "parentDatabaseId", - "parentId", + "nodes", ], - "name": "WpHierarchicalTermNode", + "name": "WpHierarchicalContentNodeToContentNodeChildrenConnectionType", + }, + Object { + "fields": null, + "name": "WpHierarchicalContentNodeToContentNodeChildrenConnectionTypeFilterInput", }, Object { "fields": Array [ - "file", - "height", - "meta", - "sizes", - "width", + "node", ], - "name": "WpMediaDetails", + "name": "WpHierarchicalContentNodeToParentContentNodeConnectionEdgeType", }, Object { "fields": null, - "name": "WpMediaDetailsFilterInput", + "name": "WpHierarchicalContentNodeToParentContentNodeConnectionEdgeTypeFilterInput", }, Object { "fields": Array [ - "altText", - "ancestors", - "author", - "authorDatabaseId", - "authorId", - "caption", - "wpChildren", - "commentCount", - "commentStatus", - "comments", - "contentType", - "contentTypeName", "databaseId", - "date", - "dateGmt", - "description", - "desiredSlug", - "enclosure", - "fileSize", - "guid", "id", - "isContentNode", - "isTermNode", - "lastEditedBy", - "link", - "mediaDetails", - "mediaItemUrl", - "mediaType", - "mimeType", - "modified", - "modifiedGmt", - "wpParent", "parentDatabaseId", "parentId", - "seo", - "sizes", - "slug", - "sourceUrl", - "srcSet", - "status", - "title", - "uri", - "localFile", "parent", "children", "internal", - "filename", - "filesize", - "width", - "height", - "publicUrl", - "resize", - "gatsbyImage", ], - "name": "WpMediaItem", + "name": "WpHierarchicalNode", }, Object { "fields": Array [ @@ -5586,7 +5742,7 @@ Array [ "sum", "group", ], - "name": "WpMediaItemConnection", + "name": "WpHierarchicalNodeConnection", }, Object { "fields": Array [ @@ -5594,19 +5750,15 @@ Array [ "node", "previous", ], - "name": "WpMediaItemEdge", - }, - Object { - "fields": null, - "name": "WpMediaItemFieldsEnum", + "name": "WpHierarchicalNodeEdge", }, Object { "fields": null, - "name": "WpMediaItemFilterInput", + "name": "WpHierarchicalNodeFieldsEnum", }, Object { "fields": null, - "name": "WpMediaItemFilterListInput", + "name": "WpHierarchicalNodeFilterInput", }, Object { "fields": Array [ @@ -5622,11 +5774,222 @@ Array [ "field", "fieldValue", ], - "name": "WpMediaItemGroupConnection", + "name": "WpHierarchicalNodeGroupConnection", + }, + Object { + "fields": null, + "name": "WpHierarchicalNodeSortInput", }, Object { "fields": Array [ - "aperture", + "count", + "databaseId", + "description", + "id", + "isContentNode", + "isTermNode", + "link", + "name", + "parentDatabaseId", + "parentId", + "slug", + "taxonomyName", + "termGroupId", + "termTaxonomyId", + "uri", + "parent", + "children", + "internal", + ], + "name": "WpHierarchicalTermNode", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + ], + "name": "WpHierarchicalTermNodeConnection", + }, + Object { + "fields": Array [ + "next", + "node", + "previous", + ], + "name": "WpHierarchicalTermNodeEdge", + }, + Object { + "fields": null, + "name": "WpHierarchicalTermNodeFieldsEnum", + }, + Object { + "fields": null, + "name": "WpHierarchicalTermNodeFilterInput", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + "field", + "fieldValue", + ], + "name": "WpHierarchicalTermNodeGroupConnection", + }, + Object { + "fields": null, + "name": "WpHierarchicalTermNodeSortInput", + }, + Object { + "fields": Array [ + "file", + "height", + "meta", + "sizes", + "width", + ], + "name": "WpMediaDetails", + }, + Object { + "fields": null, + "name": "WpMediaDetailsFilterInput", + }, + Object { + "fields": Array [ + "altText", + "ancestors", + "author", + "authorDatabaseId", + "authorId", + "caption", + "wpChildren", + "commentCount", + "commentStatus", + "comments", + "contentType", + "contentTypeName", + "databaseId", + "date", + "dateGmt", + "description", + "desiredSlug", + "enclosure", + "fileSize", + "guid", + "id", + "isContentNode", + "isTermNode", + "lastEditedBy", + "link", + "mediaDetails", + "mediaItemUrl", + "mediaType", + "mimeType", + "modified", + "modifiedGmt", + "wpParent", + "parentDatabaseId", + "parentId", + "seo", + "sizes", + "slug", + "sourceUrl", + "srcSet", + "status", + "title", + "uri", + "localFile", + "parent", + "children", + "internal", + "filename", + "filesize", + "width", + "height", + "publicUrl", + "resize", + "gatsbyImage", + ], + "name": "WpMediaItem", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + ], + "name": "WpMediaItemConnection", + }, + Object { + "fields": Array [ + "node", + ], + "name": "WpMediaItemConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpMediaItemConnectionType", + }, + Object { + "fields": Array [ + "next", + "node", + "previous", + ], + "name": "WpMediaItemEdge", + }, + Object { + "fields": null, + "name": "WpMediaItemFieldsEnum", + }, + Object { + "fields": null, + "name": "WpMediaItemFilterInput", + }, + Object { + "fields": null, + "name": "WpMediaItemFilterListInput", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + "field", + "fieldValue", + ], + "name": "WpMediaItemGroupConnection", + }, + Object { + "fields": Array [ + "aperture", "camera", "caption", "copyright", @@ -5653,11 +6016,11 @@ Array [ "fields": Array [ "nodes", ], - "name": "WpMediaItemToCommentConnection", + "name": "WpMediaItemToCommentConnectionType", }, Object { "fields": null, - "name": "WpMediaItemToCommentConnectionFilterInput", + "name": "WpMediaItemToCommentConnectionTypeFilterInput", }, Object { "fields": Array [ @@ -5708,6 +6071,18 @@ Array [ ], "name": "WpMenuConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpMenuConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpMenuConnectionType", + }, Object { "fields": Array [ "next", @@ -5758,6 +6133,7 @@ Array [ "path", "target", "title", + "uri", "url", "parent", "children", @@ -5779,6 +6155,18 @@ Array [ ], "name": "WpMenuItemConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpMenuItemConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpMenuItemConnectionType", + }, Object { "fields": Array [ "next", @@ -5819,51 +6207,108 @@ Array [ "fields": Array [ "databaseId", "id", + "isContentNode", + "isTermNode", "uri", + "parent", + "children", + "internal", ], "name": "WpMenuItemLinkable", }, - Object { - "fields": null, - "name": "WpMenuItemLinkableFilterInput", - }, - Object { - "fields": null, - "name": "WpMenuItemSortInput", - }, Object { "fields": Array [ - "node", + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", ], - "name": "WpMenuItemToMenuConnectionEdge", - }, - Object { - "fields": null, - "name": "WpMenuItemToMenuConnectionEdgeFilterInput", + "name": "WpMenuItemLinkableConnection", }, Object { "fields": Array [ - "nodes", + "node", ], - "name": "WpMenuItemToMenuItemConnection", - }, - Object { - "fields": null, - "name": "WpMenuItemToMenuItemConnectionFilterInput", + "name": "WpMenuItemLinkableConnectionEdgeType", }, Object { "fields": Array [ + "next", "node", + "previous", ], - "name": "WpMenuItemToMenuItemLinkableConnectionEdge", + "name": "WpMenuItemLinkableEdge", }, Object { "fields": null, - "name": "WpMenuItemToMenuItemLinkableConnectionEdgeFilterInput", + "name": "WpMenuItemLinkableFieldsEnum", }, Object { "fields": null, - "name": "WpMenuLocationEnum", + "name": "WpMenuItemLinkableFilterInput", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + "field", + "fieldValue", + ], + "name": "WpMenuItemLinkableGroupConnection", + }, + Object { + "fields": null, + "name": "WpMenuItemLinkableSortInput", + }, + Object { + "fields": null, + "name": "WpMenuItemSortInput", + }, + Object { + "fields": Array [ + "node", + ], + "name": "WpMenuItemToMenuConnectionEdgeType", + }, + Object { + "fields": null, + "name": "WpMenuItemToMenuConnectionEdgeTypeFilterInput", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpMenuItemToMenuItemConnectionType", + }, + Object { + "fields": null, + "name": "WpMenuItemToMenuItemConnectionTypeFilterInput", + }, + Object { + "fields": Array [ + "node", + ], + "name": "WpMenuItemToMenuItemLinkableConnectionEdgeType", + }, + Object { + "fields": null, + "name": "WpMenuItemToMenuItemLinkableConnectionEdgeTypeFilterInput", + }, + Object { + "fields": null, + "name": "WpMenuLocationEnum", }, Object { "fields": null, @@ -5877,11 +6322,11 @@ Array [ "fields": Array [ "nodes", ], - "name": "WpMenuToMenuItemConnection", + "name": "WpMenuToMenuItemConnectionType", }, Object { "fields": null, - "name": "WpMenuToMenuItemConnectionFilterInput", + "name": "WpMenuToMenuItemConnectionTypeFilterInput", }, Object { "fields": Array [ @@ -5898,66 +6343,582 @@ Array [ "author", "authorDatabaseId", "authorId", + "id", + "parent", + "children", + "internal", ], "name": "WpNodeWithAuthor", }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + ], + "name": "WpNodeWithAuthorConnection", + }, + Object { + "fields": Array [ + "next", + "node", + "previous", + ], + "name": "WpNodeWithAuthorEdge", + }, + Object { + "fields": null, + "name": "WpNodeWithAuthorFieldsEnum", + }, + Object { + "fields": null, + "name": "WpNodeWithAuthorFilterInput", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + "field", + "fieldValue", + ], + "name": "WpNodeWithAuthorGroupConnection", + }, + Object { + "fields": null, + "name": "WpNodeWithAuthorSortInput", + }, Object { "fields": Array [ "node", ], - "name": "WpNodeWithAuthorToUserConnectionEdge", + "name": "WpNodeWithAuthorToUserConnectionEdgeType", }, Object { "fields": null, - "name": "WpNodeWithAuthorToUserConnectionEdgeFilterInput", + "name": "WpNodeWithAuthorToUserConnectionEdgeTypeFilterInput", }, Object { "fields": Array [ "commentCount", "commentStatus", + "id", + "parent", + "children", + "internal", ], "name": "WpNodeWithComments", }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + ], + "name": "WpNodeWithCommentsConnection", + }, + Object { + "fields": Array [ + "next", + "node", + "previous", + ], + "name": "WpNodeWithCommentsEdge", + }, + Object { + "fields": null, + "name": "WpNodeWithCommentsFieldsEnum", + }, + Object { + "fields": null, + "name": "WpNodeWithCommentsFilterInput", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + "field", + "fieldValue", + ], + "name": "WpNodeWithCommentsGroupConnection", + }, + Object { + "fields": null, + "name": "WpNodeWithCommentsSortInput", + }, Object { "fields": Array [ "content", + "id", + "parent", + "children", + "internal", ], "name": "WpNodeWithContentEditor", }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + ], + "name": "WpNodeWithContentEditorConnection", + }, + Object { + "fields": Array [ + "next", + "node", + "previous", + ], + "name": "WpNodeWithContentEditorEdge", + }, + Object { + "fields": null, + "name": "WpNodeWithContentEditorFieldsEnum", + }, + Object { + "fields": null, + "name": "WpNodeWithContentEditorFilterInput", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + "field", + "fieldValue", + ], + "name": "WpNodeWithContentEditorGroupConnection", + }, + Object { + "fields": null, + "name": "WpNodeWithContentEditorSortInput", + }, Object { "fields": Array [ "excerpt", + "id", + "parent", + "children", + "internal", ], "name": "WpNodeWithExcerpt", }, Object { "fields": Array [ - "contentType", - "contentTypeName", - "databaseId", - "date", - "dateGmt", - "desiredSlug", + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + ], + "name": "WpNodeWithExcerptConnection", + }, + Object { + "fields": Array [ + "next", + "node", + "previous", + ], + "name": "WpNodeWithExcerptEdge", + }, + Object { + "fields": null, + "name": "WpNodeWithExcerptFieldsEnum", + }, + Object { + "fields": null, + "name": "WpNodeWithExcerptFilterInput", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + "field", + "fieldValue", + ], + "name": "WpNodeWithExcerptGroupConnection", + }, + Object { + "fields": null, + "name": "WpNodeWithExcerptSortInput", + }, + Object { + "fields": Array [ "featuredImage", "featuredImageDatabaseId", "featuredImageId", - "guid", "id", - "isContentNode", - "isTermNode", - "lastEditedBy", - "link", - "modified", - "modifiedGmt", - "slug", - "status", - "template", - "uri", "parent", "children", "internal", ], - "name": "WpNodeWithFeaturedImage", + "name": "WpNodeWithFeaturedImage", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + ], + "name": "WpNodeWithFeaturedImageConnection", + }, + Object { + "fields": Array [ + "next", + "node", + "previous", + ], + "name": "WpNodeWithFeaturedImageEdge", + }, + Object { + "fields": null, + "name": "WpNodeWithFeaturedImageFieldsEnum", + }, + Object { + "fields": null, + "name": "WpNodeWithFeaturedImageFilterInput", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + "field", + "fieldValue", + ], + "name": "WpNodeWithFeaturedImageGroupConnection", + }, + Object { + "fields": null, + "name": "WpNodeWithFeaturedImageSortInput", + }, + Object { + "fields": Array [ + "node", + ], + "name": "WpNodeWithFeaturedImageToMediaItemConnectionEdgeType", + }, + Object { + "fields": null, + "name": "WpNodeWithFeaturedImageToMediaItemConnectionEdgeTypeFilterInput", + }, + Object { + "fields": Array [ + "id", + "menuOrder", + "parent", + "children", + "internal", + ], + "name": "WpNodeWithPageAttributes", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + ], + "name": "WpNodeWithPageAttributesConnection", + }, + Object { + "fields": Array [ + "next", + "node", + "previous", + ], + "name": "WpNodeWithPageAttributesEdge", + }, + Object { + "fields": null, + "name": "WpNodeWithPageAttributesFieldsEnum", + }, + Object { + "fields": null, + "name": "WpNodeWithPageAttributesFilterInput", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + "field", + "fieldValue", + ], + "name": "WpNodeWithPageAttributesGroupConnection", + }, + Object { + "fields": null, + "name": "WpNodeWithPageAttributesSortInput", + }, + Object { + "fields": Array [ + "id", + "isRevision", + "parent", + "children", + "internal", + ], + "name": "WpNodeWithRevisions", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + ], + "name": "WpNodeWithRevisionsConnection", + }, + Object { + "fields": Array [ + "next", + "node", + "previous", + ], + "name": "WpNodeWithRevisionsEdge", + }, + Object { + "fields": null, + "name": "WpNodeWithRevisionsFieldsEnum", + }, + Object { + "fields": null, + "name": "WpNodeWithRevisionsFilterInput", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + "field", + "fieldValue", + ], + "name": "WpNodeWithRevisionsGroupConnection", + }, + Object { + "fields": null, + "name": "WpNodeWithRevisionsSortInput", + }, + Object { + "fields": Array [ + "node", + ], + "name": "WpNodeWithRevisionsToContentNodeConnectionEdgeType", + }, + Object { + "fields": Array [ + "id", + "parent", + "children", + "internal", + ], + "name": "WpNodeWithTemplate", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + ], + "name": "WpNodeWithTemplateConnection", + }, + Object { + "fields": Array [ + "next", + "node", + "previous", + ], + "name": "WpNodeWithTemplateEdge", + }, + Object { + "fields": null, + "name": "WpNodeWithTemplateFieldsEnum", + }, + Object { + "fields": null, + "name": "WpNodeWithTemplateFilterInput", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + "field", + "fieldValue", + ], + "name": "WpNodeWithTemplateGroupConnection", + }, + Object { + "fields": null, + "name": "WpNodeWithTemplateSortInput", + }, + Object { + "fields": Array [ + "id", + "title", + "parent", + "children", + "internal", + ], + "name": "WpNodeWithTitle", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + ], + "name": "WpNodeWithTitleConnection", + }, + Object { + "fields": Array [ + "next", + "node", + "previous", + ], + "name": "WpNodeWithTitleEdge", + }, + Object { + "fields": null, + "name": "WpNodeWithTitleFieldsEnum", + }, + Object { + "fields": null, + "name": "WpNodeWithTitleFilterInput", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + "field", + "fieldValue", + ], + "name": "WpNodeWithTitleGroupConnection", + }, + Object { + "fields": null, + "name": "WpNodeWithTitleSortInput", + }, + Object { + "fields": Array [ + "id", + "pingStatus", + "pinged", + "toPing", + "parent", + "children", + "internal", + ], + "name": "WpNodeWithTrackbacks", }, Object { "fields": Array [ @@ -5971,7 +6932,7 @@ Array [ "sum", "group", ], - "name": "WpNodeWithFeaturedImageConnection", + "name": "WpNodeWithTrackbacksConnection", }, Object { "fields": Array [ @@ -5979,15 +6940,15 @@ Array [ "node", "previous", ], - "name": "WpNodeWithFeaturedImageEdge", + "name": "WpNodeWithTrackbacksEdge", }, Object { "fields": null, - "name": "WpNodeWithFeaturedImageFieldsEnum", + "name": "WpNodeWithTrackbacksFieldsEnum", }, Object { "fields": null, - "name": "WpNodeWithFeaturedImageFilterInput", + "name": "WpNodeWithTrackbacksFilterInput", }, Object { "fields": Array [ @@ -6003,53 +6964,17 @@ Array [ "field", "fieldValue", ], - "name": "WpNodeWithFeaturedImageGroupConnection", - }, - Object { - "fields": null, - "name": "WpNodeWithFeaturedImageSortInput", - }, - Object { - "fields": Array [ - "node", - ], - "name": "WpNodeWithFeaturedImageToMediaItemConnectionEdge", + "name": "WpNodeWithTrackbacksGroupConnection", }, Object { "fields": null, - "name": "WpNodeWithFeaturedImageToMediaItemConnectionEdgeFilterInput", - }, - Object { - "fields": Array [ - "menuOrder", - ], - "name": "WpNodeWithPageAttributes", - }, - Object { - "fields": Array [ - "isRevision", - ], - "name": "WpNodeWithRevisions", + "name": "WpNodeWithTrackbacksSortInput", }, Object { "fields": Array [ "node", ], - "name": "WpNodeWithRevisionsToContentNodeConnectionEdge", - }, - Object { - "fields": Array [ - "title", - ], - "name": "WpNodeWithTitle", - }, - Object { - "fields": Array [ - "pingStatus", - "pinged", - "toPing", - ], - "name": "WpNodeWithTrackbacks", + "name": "WpOneToOneConnectionType", }, Object { "fields": Array [ @@ -6119,6 +7044,18 @@ Array [ ], "name": "WpPageConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpPageConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpPageConnectionType", + }, Object { "fields": Array [ "next", @@ -6163,11 +7100,11 @@ Array [ "fields": Array [ "nodes", ], - "name": "WpPageToCommentConnection", + "name": "WpPageToCommentConnectionType", }, Object { "fields": null, - "name": "WpPageToCommentConnectionFilterInput", + "name": "WpPageToCommentConnectionTypeFilterInput", }, Object { "fields": Array [ @@ -6275,6 +7212,12 @@ Array [ ], "name": "WpPage_Acfpagefields_repeaterField_RepeaterFlex_RepeaterFlexTitleLayout", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpPluginConnectionEdgeType", + }, Object { "fields": Array [ "author", @@ -6343,6 +7286,18 @@ Array [ ], "name": "WpPostConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpPostConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpPostConnectionType", + }, Object { "fields": Array [ "next", @@ -6402,6 +7357,18 @@ Array [ ], "name": "WpPostFormatConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpPostFormatConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpPostFormatConnectionType", + }, Object { "fields": Array [ "next", @@ -6446,31 +7413,31 @@ Array [ "fields": Array [ "nodes", ], - "name": "WpPostFormatToContentNodeConnection", + "name": "WpPostFormatToContentNodeConnectionType", }, Object { "fields": null, - "name": "WpPostFormatToContentNodeConnectionFilterInput", + "name": "WpPostFormatToContentNodeConnectionTypeFilterInput", }, Object { "fields": Array [ "nodes", ], - "name": "WpPostFormatToPostConnection", + "name": "WpPostFormatToPostConnectionType", }, Object { "fields": null, - "name": "WpPostFormatToPostConnectionFilterInput", + "name": "WpPostFormatToPostConnectionTypeFilterInput", }, Object { "fields": Array [ "node", ], - "name": "WpPostFormatToTaxonomyConnectionEdge", + "name": "WpPostFormatToTaxonomyConnectionEdgeType", }, Object { "fields": null, - "name": "WpPostFormatToTaxonomyConnectionEdgeFilterInput", + "name": "WpPostFormatToTaxonomyConnectionEdgeTypeFilterInput", }, Object { "fields": Array [ @@ -6500,51 +7467,51 @@ Array [ "fields": Array [ "nodes", ], - "name": "WpPostToCategoryConnection", + "name": "WpPostToCategoryConnectionType", }, Object { "fields": null, - "name": "WpPostToCategoryConnectionFilterInput", + "name": "WpPostToCategoryConnectionTypeFilterInput", }, Object { "fields": Array [ "nodes", ], - "name": "WpPostToCommentConnection", + "name": "WpPostToCommentConnectionType", }, Object { "fields": null, - "name": "WpPostToCommentConnectionFilterInput", + "name": "WpPostToCommentConnectionTypeFilterInput", }, Object { "fields": Array [ "nodes", ], - "name": "WpPostToPostFormatConnection", + "name": "WpPostToPostFormatConnectionType", }, Object { "fields": null, - "name": "WpPostToPostFormatConnectionFilterInput", + "name": "WpPostToPostFormatConnectionTypeFilterInput", }, Object { "fields": Array [ "nodes", ], - "name": "WpPostToTagConnection", + "name": "WpPostToTagConnectionType", }, Object { "fields": null, - "name": "WpPostToTagConnectionFilterInput", + "name": "WpPostToTagConnectionTypeFilterInput", }, Object { "fields": Array [ "nodes", ], - "name": "WpPostToTermNodeConnection", + "name": "WpPostToTermNodeConnectionType", }, Object { "fields": null, - "name": "WpPostToTermNodeConnectionFilterInput", + "name": "WpPostToTermNodeConnectionTypeFilterInput", }, Object { "fields": Array [ @@ -6672,6 +7639,18 @@ Array [ ], "name": "WpReusableBlockConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpReusableBlockConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpReusableBlockConnectionType", + }, Object { "fields": Array [ "next", @@ -7141,6 +8120,18 @@ Array [ ], "name": "WpTagConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpTagConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpTagConnectionType", + }, Object { "fields": Array [ "next", @@ -7185,31 +8176,31 @@ Array [ "fields": Array [ "nodes", ], - "name": "WpTagToContentNodeConnection", + "name": "WpTagToContentNodeConnectionType", }, Object { "fields": null, - "name": "WpTagToContentNodeConnectionFilterInput", + "name": "WpTagToContentNodeConnectionTypeFilterInput", }, Object { "fields": Array [ "nodes", ], - "name": "WpTagToPostConnection", + "name": "WpTagToPostConnectionType", }, Object { "fields": null, - "name": "WpTagToPostConnectionFilterInput", + "name": "WpTagToPostConnectionTypeFilterInput", }, Object { "fields": Array [ "node", ], - "name": "WpTagToTaxonomyConnectionEdge", + "name": "WpTagToTaxonomyConnectionEdgeType", }, Object { "fields": null, - "name": "WpTagToTaxonomyConnectionEdgeFilterInput", + "name": "WpTagToTaxonomyConnectionEdgeTypeFilterInput", }, Object { "fields": Array [ @@ -7253,6 +8244,18 @@ Array [ ], "name": "WpTaxonomyConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpTaxonomyConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpTaxonomyConnectionType", + }, Object { "fields": Array [ "next", @@ -7330,11 +8333,11 @@ Array [ "fields": Array [ "nodes", ], - "name": "WpTaxonomyToContentTypeConnection", + "name": "WpTaxonomyToContentTypeConnectionType", }, Object { "fields": null, - "name": "WpTaxonomyToContentTypeConnectionFilterInput", + "name": "WpTaxonomyToContentTypeConnectionTypeFilterInput", }, Object { "fields": Array [ @@ -7371,6 +8374,18 @@ Array [ ], "name": "WpTermNodeConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpTermNodeConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpTermNodeConnectionType", + }, Object { "fields": Array [ "next", @@ -7411,6 +8426,12 @@ Array [ "fields": null, "name": "WpTermNodeSortInput", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpThemeConnectionEdgeType", + }, Object { "fields": Array [ "author", @@ -7465,6 +8486,18 @@ Array [ ], "name": "WpTranslationFilterTestConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpTranslationFilterTestConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpTranslationFilterTestConnectionType", + }, Object { "fields": Array [ "next", @@ -7559,6 +8592,18 @@ Array [ ], "name": "WpTypeLimit0TestConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpTypeLimit0TestConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpTypeLimit0TestConnectionType", + }, Object { "fields": Array [ "next", @@ -7653,6 +8698,18 @@ Array [ ], "name": "WpTypeLimitTestConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpTypeLimitTestConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpTypeLimitTestConnectionType", + }, Object { "fields": Array [ "next", @@ -7699,9 +8756,62 @@ Array [ "isContentNode", "isTermNode", "uri", + "parent", + "children", + "internal", ], "name": "WpUniformResourceIdentifiable", }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + ], + "name": "WpUniformResourceIdentifiableConnection", + }, + Object { + "fields": Array [ + "next", + "node", + "previous", + ], + "name": "WpUniformResourceIdentifiableEdge", + }, + Object { + "fields": null, + "name": "WpUniformResourceIdentifiableFieldsEnum", + }, + Object { + "fields": null, + "name": "WpUniformResourceIdentifiableFilterInput", + }, + Object { + "fields": Array [ + "totalCount", + "edges", + "nodes", + "pageInfo", + "distinct", + "max", + "min", + "sum", + "group", + "field", + "fieldValue", + ], + "name": "WpUniformResourceIdentifiableGroupConnection", + }, + Object { + "fields": null, + "name": "WpUniformResourceIdentifiableSortInput", + }, Object { "fields": Array [ "avatar", @@ -7749,6 +8859,18 @@ Array [ ], "name": "WpUserConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpUserConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpUserConnectionType", + }, Object { "fields": Array [ "next", @@ -7807,6 +8929,18 @@ Array [ ], "name": "WpUserRoleConnection", }, + Object { + "fields": Array [ + "node", + ], + "name": "WpUserRoleConnectionEdgeType", + }, + Object { + "fields": Array [ + "nodes", + ], + "name": "WpUserRoleConnectionType", + }, Object { "fields": Array [ "next", @@ -7855,71 +8989,71 @@ Array [ "fields": Array [ "nodes", ], - "name": "WpUserToCommentConnection", + "name": "WpUserToCommentConnectionType", }, Object { "fields": null, - "name": "WpUserToCommentConnectionFilterInput", + "name": "WpUserToCommentConnectionTypeFilterInput", }, Object { "fields": Array [ "nodes", ], - "name": "WpUserToPageConnection", + "name": "WpUserToPageConnectionType", }, Object { "fields": null, - "name": "WpUserToPageConnectionFilterInput", + "name": "WpUserToPageConnectionTypeFilterInput", }, Object { "fields": Array [ "nodes", ], - "name": "WpUserToPostConnection", + "name": "WpUserToPostConnectionType", }, Object { "fields": null, - "name": "WpUserToPostConnectionFilterInput", + "name": "WpUserToPostConnectionTypeFilterInput", }, Object { "fields": Array [ "nodes", ], - "name": "WpUserToTranslationFilterTestConnection", + "name": "WpUserToTranslationFilterTestConnectionType", }, Object { "fields": null, - "name": "WpUserToTranslationFilterTestConnectionFilterInput", + "name": "WpUserToTranslationFilterTestConnectionTypeFilterInput", }, Object { "fields": Array [ "nodes", ], - "name": "WpUserToTypeLimit0TestConnection", + "name": "WpUserToTypeLimit0TestConnectionType", }, Object { "fields": null, - "name": "WpUserToTypeLimit0TestConnectionFilterInput", + "name": "WpUserToTypeLimit0TestConnectionTypeFilterInput", }, Object { "fields": Array [ "nodes", ], - "name": "WpUserToTypeLimitTestConnection", + "name": "WpUserToTypeLimitTestConnectionType", }, Object { "fields": null, - "name": "WpUserToTypeLimitTestConnectionFilterInput", + "name": "WpUserToTypeLimitTestConnectionTypeFilterInput", }, Object { "fields": Array [ "nodes", ], - "name": "WpUserToUserRoleConnection", + "name": "WpUserToUserRoleConnectionType", }, Object { "fields": null, - "name": "WpUserToUserRoleConnectionFilterInput", + "name": "WpUserToUserRoleConnectionTypeFilterInput", }, Object { "fields": Array [ @@ -8136,40 +9270,35 @@ Array [ "slug", "status", "template", - "terms", "title", "uri", ], "name": "ActionMonitorAction", }, - Object { - "fields": null, - "name": "ActionMonitorActionIdType", - }, - Object { - "fields": Array [ - "node", - ], - "name": "ActionMonitorActionToPreviewConnectionEdge", - }, Object { "fields": Array [ "edges", "nodes", - "pageInfo", ], - "name": "ActionMonitorActionToTermNodeConnection", + "name": "ActionMonitorActionConnection", }, Object { "fields": Array [ "cursor", "node", ], - "name": "ActionMonitorActionToTermNodeConnectionEdge", + "name": "ActionMonitorActionConnectionEdge", }, Object { "fields": null, - "name": "ActionMonitorActionToTermNodeConnectionWhereArgs", + "name": "ActionMonitorActionIdType", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "ActionMonitorActionToPreviewConnectionEdge", }, Object { "fields": null, @@ -8239,7 +9368,6 @@ Array [ "fields": Array [ "edges", "nodes", - "pageInfo", ], "name": "BlockEditorContentNodeConnection", }, @@ -8283,7 +9411,6 @@ Array [ "link", "modified", "modifiedGmt", - "preview", "previewRevisionDatabaseId", "previewRevisionId", "previewed", @@ -8298,13 +9425,27 @@ Array [ ], "name": "BlockEditorPreview", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "BlockEditorPreviewConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "BlockEditorPreviewConnectionEdge", + }, Object { "fields": null, "name": "BlockEditorPreviewIdType", }, Object { "fields": Array [ - "node", + "cursor", ], "name": "BlockEditorPreviewToPreviewConnectionEdge", }, @@ -8342,6 +9483,20 @@ Array [ ], "name": "Category", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "CategoryConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "CategoryConnectionEdge", + }, Object { "fields": null, "name": "CategoryIdType", @@ -8401,6 +9556,7 @@ Array [ }, Object { "fields": Array [ + "cursor", "node", ], "name": "CategoryToParentCategoryConnectionEdge", @@ -8426,6 +9582,7 @@ Array [ }, Object { "fields": Array [ + "cursor", "node", ], "name": "CategoryToTaxonomyConnectionEdge", @@ -8433,7 +9590,6 @@ Array [ Object { "fields": Array [ "agent", - "approved", "author", "authorIp", "commentedOn", @@ -8448,6 +9604,7 @@ Array [ "parentDatabaseId", "parentId", "replies", + "status", "type", ], "name": "Comment", @@ -8464,6 +9621,28 @@ Array [ ], "name": "CommentAuthor", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "CommentConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "CommentConnectionEdge", + }, + Object { + "fields": null, + "name": "CommentNodeIdTypeEnum", + }, + Object { + "fields": null, + "name": "CommentStatusEnum", + }, Object { "fields": Array [ "edges", @@ -8485,18 +9664,21 @@ Array [ }, Object { "fields": Array [ + "cursor", "node", ], "name": "CommentToCommenterConnectionEdge", }, Object { "fields": Array [ + "cursor", "node", ], "name": "CommentToContentNodeConnectionEdge", }, Object { "fields": Array [ + "cursor", "node", ], "name": "CommentToParentCommentConnectionEdge", @@ -8517,10 +9699,24 @@ Array [ ], "name": "Commenter", }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "CommenterConnectionEdge", + }, Object { "fields": null, "name": "CommentsConnectionOrderbyEnum", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "Connection", + }, Object { "fields": Array [ "contentType", @@ -8552,24 +9748,41 @@ Array [ ], "name": "ContentNode", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "ContentNodeConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "ContentNodeConnectionEdge", + }, Object { "fields": null, "name": "ContentNodeIdTypeEnum", }, Object { "fields": Array [ + "cursor", "node", ], "name": "ContentNodeToContentTypeConnectionEdge", }, Object { "fields": Array [ + "cursor", "node", ], "name": "ContentNodeToEditLastConnectionEdge", }, Object { "fields": Array [ + "cursor", "lockTimestamp", "node", ], @@ -8605,10 +9818,6 @@ Array [ ], "name": "ContentNodeToEnqueuedStylesheetConnectionEdge", }, - Object { - "fields": null, - "name": "ContentRevisionUnion", - }, Object { "fields": Array [ "templateName", @@ -8653,6 +9862,20 @@ Array [ ], "name": "ContentType", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "ContentTypeConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "ContentTypeConnectionEdge", + }, Object { "fields": null, "name": "ContentTypeEnum", @@ -13106,6 +14329,13 @@ Array [ ], "name": "DiscussionSettings", }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "Edge", + }, Object { "fields": Array [ "args", @@ -13130,6 +14360,20 @@ Array [ ], "name": "EnqueuedScript", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "EnqueuedScriptConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "EnqueuedScriptConnectionEdge", + }, Object { "fields": Array [ "args", @@ -13142,6 +14386,20 @@ Array [ ], "name": "EnqueuedStylesheet", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "EnqueuedStylesheetConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "EnqueuedStylesheetConnectionEdge", + }, Object { "fields": null, "name": "Float", @@ -13184,9 +14442,35 @@ Array [ "fields": Array [ "ancestors", "children", + "contentType", + "contentTypeName", + "databaseId", + "date", + "dateGmt", + "desiredSlug", + "editingLockedBy", + "enclosure", + "enqueuedScripts", + "enqueuedStylesheets", + "guid", + "id", + "isContentNode", + "isPreview", + "isRestricted", + "isTermNode", + "lastEditedBy", + "link", + "modified", + "modifiedGmt", "parent", "parentDatabaseId", "parentId", + "previewRevisionDatabaseId", + "previewRevisionId", + "slug", + "status", + "template", + "uri", ], "name": "HierarchicalContentNode", }, @@ -13230,14 +14514,40 @@ Array [ }, Object { "fields": Array [ + "cursor", "node", ], "name": "HierarchicalContentNodeToParentContentNodeConnectionEdge", }, Object { "fields": Array [ + "databaseId", + "id", + "parentDatabaseId", + "parentId", + ], + "name": "HierarchicalNode", + }, + Object { + "fields": Array [ + "count", + "databaseId", + "description", + "enqueuedScripts", + "enqueuedStylesheets", + "id", + "isContentNode", + "isRestricted", + "isTermNode", + "link", + "name", "parentDatabaseId", "parentId", + "slug", + "taxonomyName", + "termGroupId", + "termTaxonomyId", + "uri", ], "name": "HierarchicalTermNode", }, @@ -13314,6 +14624,20 @@ Array [ ], "name": "MediaItem", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "MediaItemConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "MediaItemConnectionEdge", + }, Object { "fields": null, "name": "MediaItemIdType", @@ -13387,6 +14711,20 @@ Array [ ], "name": "Menu", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "MenuConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "MenuConnectionEdge", + }, Object { "fields": Array [ "childItems", @@ -13406,18 +14744,42 @@ Array [ "path", "target", "title", + "uri", "url", ], "name": "MenuItem", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "MenuItemConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "MenuItemConnectionEdge", + }, Object { "fields": Array [ "databaseId", "id", + "isContentNode", + "isTermNode", "uri", ], "name": "MenuItemLinkable", }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "MenuItemLinkableConnectionEdge", + }, Object { "fields": null, "name": "MenuItemNodeIdTypeEnum", @@ -13428,6 +14790,7 @@ Array [ }, Object { "fields": Array [ + "cursor", "node", ], "name": "MenuItemToMenuConnectionEdge", @@ -13453,6 +14816,7 @@ Array [ }, Object { "fields": Array [ + "cursor", "node", ], "name": "MenuItemToMenuItemLinkableConnectionEdge", @@ -13499,11 +14863,13 @@ Array [ "author", "authorDatabaseId", "authorId", + "id", ], "name": "NodeWithAuthor", }, Object { "fields": Array [ + "cursor", "node", ], "name": "NodeWithAuthorToUserConnectionEdge", @@ -13512,69 +14878,50 @@ Array [ "fields": Array [ "commentCount", "commentStatus", + "id", ], "name": "NodeWithComments", }, Object { "fields": Array [ "content", + "id", ], "name": "NodeWithContentEditor", }, Object { "fields": Array [ "excerpt", + "id", ], "name": "NodeWithExcerpt", }, Object { "fields": Array [ - "contentType", - "contentTypeName", - "databaseId", - "date", - "dateGmt", - "desiredSlug", - "editingLockedBy", - "enclosure", - "enqueuedScripts", - "enqueuedStylesheets", "featuredImage", "featuredImageDatabaseId", - "featuredImageId", - "guid", - "id", - "isContentNode", - "isPreview", - "isRestricted", - "isTermNode", - "lastEditedBy", - "link", - "modified", - "modifiedGmt", - "previewRevisionDatabaseId", - "previewRevisionId", - "slug", - "status", - "template", - "uri", + "featuredImageId", + "id", ], "name": "NodeWithFeaturedImage", }, Object { "fields": Array [ + "cursor", "node", ], "name": "NodeWithFeaturedImageToMediaItemConnectionEdge", }, Object { "fields": Array [ + "id", "menuOrder", ], "name": "NodeWithPageAttributes", }, Object { "fields": Array [ + "id", "isRevision", "revisionOf", ], @@ -13582,30 +14929,41 @@ Array [ }, Object { "fields": Array [ + "cursor", "node", ], "name": "NodeWithRevisionsToContentNodeConnectionEdge", }, Object { "fields": Array [ + "id", "template", ], "name": "NodeWithTemplate", }, Object { "fields": Array [ + "id", "title", ], "name": "NodeWithTitle", }, Object { "fields": Array [ + "id", "pingStatus", "pinged", "toPing", ], "name": "NodeWithTrackbacks", }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "OneToOneConnection", + }, Object { "fields": null, "name": "OrderEnum", @@ -13671,6 +15029,20 @@ Array [ ], "name": "Page", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "PageConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "PageConnectionEdge", + }, Object { "fields": null, "name": "PageIdType", @@ -13696,6 +15068,7 @@ Array [ }, Object { "fields": Array [ + "cursor", "node", ], "name": "PageToPreviewConnectionEdge", @@ -13823,6 +15196,20 @@ Array [ ], "name": "Plugin", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "PluginConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "PluginConnectionEdge", + }, Object { "fields": null, "name": "PluginStatusEnum", @@ -13895,6 +15282,20 @@ Array [ "fields": null, "name": "PostCategoriesNodeInput", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "PostConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "PostConnectionEdge", + }, Object { "fields": Array [ "contentNodes", @@ -13920,6 +15321,20 @@ Array [ ], "name": "PostFormat", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "PostFormatConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "PostFormatConnectionEdge", + }, Object { "fields": null, "name": "PostFormatIdType", @@ -13964,6 +15379,7 @@ Array [ }, Object { "fields": Array [ + "cursor", "node", ], "name": "PostFormatToTaxonomyConnectionEdge", @@ -14073,6 +15489,7 @@ Array [ }, Object { "fields": Array [ + "cursor", "node", ], "name": "PostToPreviewConnectionEdge", @@ -14195,6 +15612,14 @@ Array [ ], "name": "PostTypeSEO", }, + Object { + "fields": Array [ + "isPreview", + "previewRevisionDatabaseId", + "previewRevisionId", + ], + "name": "Previewable", + }, Object { "fields": Array [ "postsPerPage", @@ -14276,7 +15701,6 @@ Array [ "link", "modified", "modifiedGmt", - "preview", "previewBlocks", "previewBlocksFrom", "previewBlocksFromJSON", @@ -14294,13 +15718,27 @@ Array [ ], "name": "ReusableBlock", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "ReusableBlockConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "ReusableBlockConnectionEdge", + }, Object { "fields": null, "name": "ReusableBlockIdType", }, Object { "fields": Array [ - "node", + "cursor", ], "name": "ReusableBlockToPreviewConnectionEdge", }, @@ -14539,25 +15977,6 @@ Array [ "fields": null, "name": "RootQueryToContentNodeConnectionWhereArgs", }, - Object { - "fields": Array [ - "edges", - "nodes", - "pageInfo", - ], - "name": "RootQueryToContentRevisionUnionConnection", - }, - Object { - "fields": Array [ - "cursor", - "node", - ], - "name": "RootQueryToContentRevisionUnionConnectionEdge", - }, - Object { - "fields": null, - "name": "RootQueryToContentRevisionUnionConnectionWhereArgs", - }, Object { "fields": Array [ "edges", @@ -14755,6 +16174,25 @@ Array [ "fields": null, "name": "RootQueryToReusableBlockConnectionWhereArgs", }, + Object { + "fields": Array [ + "edges", + "nodes", + "pageInfo", + ], + "name": "RootQueryToRevisionsConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "RootQueryToRevisionsConnectionEdge", + }, + Object { + "fields": null, + "name": "RootQueryToRevisionsConnectionWhereArgs", + }, Object { "fields": Array [ "edges", @@ -15178,7 +16616,7 @@ Array [ Object { "fields": Array [ "clientMutationId", - "user", + "success", ], "name": "SendPasswordResetEmailPayload", }, @@ -15231,6 +16669,20 @@ Array [ ], "name": "Tag", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "TagConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "TagConnectionEdge", + }, Object { "fields": null, "name": "TagIdType", @@ -15275,6 +16727,7 @@ Array [ }, Object { "fields": Array [ + "cursor", "node", ], "name": "TagToTaxonomyConnectionEdge", @@ -15305,6 +16758,20 @@ Array [ ], "name": "Taxonomy", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "TaxonomyConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "TaxonomyConnectionEdge", + }, Object { "fields": null, "name": "TaxonomyEnum", @@ -15378,6 +16845,20 @@ Array [ ], "name": "TermNode", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "TermNodeConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "TermNodeConnectionEdge", + }, Object { "fields": null, "name": "TermNodeIdTypeEnum", @@ -15432,6 +16913,20 @@ Array [ ], "name": "Theme", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "ThemeConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "ThemeConnectionEdge", + }, Object { "fields": Array [ "author", @@ -15477,12 +16972,27 @@ Array [ ], "name": "TranslationFilterTest", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "TranslationFilterTestConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "TranslationFilterTestConnectionEdge", + }, Object { "fields": null, "name": "TranslationFilterTestIdType", }, Object { "fields": Array [ + "cursor", "node", ], "name": "TranslationFilterTestToPreviewConnectionEdge", @@ -15532,12 +17042,27 @@ Array [ ], "name": "TypeLimit0Test", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "TypeLimit0TestConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "TypeLimit0TestConnectionEdge", + }, Object { "fields": null, "name": "TypeLimit0TestIdType", }, Object { "fields": Array [ + "cursor", "node", ], "name": "TypeLimit0TestToPreviewConnectionEdge", @@ -15587,12 +17112,27 @@ Array [ ], "name": "TypeLimitTest", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "TypeLimitTestConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "TypeLimitTestConnectionEdge", + }, Object { "fields": null, "name": "TypeLimitTestIdType", }, Object { "fields": Array [ + "cursor", "node", ], "name": "TypeLimitTestToPreviewConnectionEdge", @@ -15805,6 +17345,20 @@ Array [ ], "name": "User", }, + Object { + "fields": Array [ + "edges", + "nodes", + ], + "name": "UserConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "UserConnectionEdge", + }, Object { "fields": null, "name": "UserNodeIdTypeEnum", @@ -15819,28 +17373,23 @@ Array [ ], "name": "UserRole", }, - Object { - "fields": null, - "name": "UserRoleEnum", - }, Object { "fields": Array [ "edges", "nodes", - "pageInfo", ], - "name": "UserToBlockEditorPreviewConnection", + "name": "UserRoleConnection", }, Object { "fields": Array [ "cursor", "node", ], - "name": "UserToBlockEditorPreviewConnectionEdge", + "name": "UserRoleConnectionEdge", }, Object { "fields": null, - "name": "UserToBlockEditorPreviewConnectionWhereArgs", + "name": "UserRoleEnum", }, Object { "fields": Array [ @@ -15848,18 +17397,18 @@ Array [ "nodes", "pageInfo", ], - "name": "UserToCommentConnection", + "name": "UserToBlockEditorPreviewConnection", }, Object { "fields": Array [ "cursor", "node", ], - "name": "UserToCommentConnectionEdge", + "name": "UserToBlockEditorPreviewConnectionEdge", }, Object { "fields": null, - "name": "UserToCommentConnectionWhereArgs", + "name": "UserToBlockEditorPreviewConnectionWhereArgs", }, Object { "fields": Array [ @@ -15867,18 +17416,18 @@ Array [ "nodes", "pageInfo", ], - "name": "UserToContentRevisionUnionConnection", + "name": "UserToCommentConnection", }, Object { "fields": Array [ "cursor", "node", ], - "name": "UserToContentRevisionUnionConnectionEdge", + "name": "UserToCommentConnectionEdge", }, Object { "fields": null, - "name": "UserToContentRevisionUnionConnectionWhereArgs", + "name": "UserToCommentConnectionWhereArgs", }, Object { "fields": Array [ @@ -15967,6 +17516,25 @@ Array [ "fields": null, "name": "UserToPostConnectionWhereArgs", }, + Object { + "fields": Array [ + "edges", + "nodes", + "pageInfo", + ], + "name": "UserToRevisionsConnection", + }, + Object { + "fields": Array [ + "cursor", + "node", + ], + "name": "UserToRevisionsConnectionEdge", + }, + Object { + "fields": null, + "name": "UserToRevisionsConnectionWhereArgs", + }, Object { "fields": Array [ "edges", diff --git a/integration-tests/gatsby-source-wordpress/test-fns/test-utils/increment-remote-data.js b/integration-tests/gatsby-source-wordpress/test-fns/test-utils/increment-remote-data.js index 2ebb9af5e47c5..859fa140a1118 100644 --- a/integration-tests/gatsby-source-wordpress/test-fns/test-utils/increment-remote-data.js +++ b/integration-tests/gatsby-source-wordpress/test-fns/test-utils/increment-remote-data.js @@ -111,7 +111,7 @@ exports.mutateSchema = async () => { addPageWithFullStaticFileUrl: createPage( input: { clientMutationId: "add-page-with-full-static-file-url" - authorId: 1 + authorId: 4 title: "inc page with full static file url" content: "http://localhost:8001/wp-content/uploads/2020/08/file-sample_1MB.doc" status: PUBLISH diff --git a/packages/gatsby-source-wordpress/src/models/remoteSchema.ts b/packages/gatsby-source-wordpress/src/models/remoteSchema.ts index cab71e6d57c03..20976789c83a8 100644 --- a/packages/gatsby-source-wordpress/src/models/remoteSchema.ts +++ b/packages/gatsby-source-wordpress/src/models/remoteSchema.ts @@ -90,6 +90,7 @@ const remoteSchema: IRemoteSchemaStore = { `previewRevisionDatabaseId`, `previewRevisionId`, `editingLockedBy`, + `cursor`, ], // @todo make this a plugin option fieldAliases: {