Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add updated_at to graphql query #5611

Merged
merged 2 commits into from
Jul 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@
"status": 200
},
{
"body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}",
"body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}",
"method": "POST",
"url": "/graphql",
"headers": {
Expand Down Expand Up @@ -747,7 +747,7 @@
"status": 200
},
{
"body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}",
"body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}",
"method": "POST",
"url": "/graphql",
"headers": {
Expand Down Expand Up @@ -879,7 +879,7 @@
"status": 200
},
{
"body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}",
"body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}",
"method": "POST",
"url": "/graphql",
"headers": {
Expand Down Expand Up @@ -933,7 +933,7 @@
"status": 200
},
{
"body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}",
"body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}",
"method": "POST",
"url": "/graphql",
"headers": {
Expand Down Expand Up @@ -986,7 +986,7 @@
"status": 200
},
{
"body": "{\"operationName\":\"createPullRequest\",\"variables\":{\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"forkOwner:cms/forkOwner/repo/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"}},\"query\":\"mutation createPullRequest($createPullRequestInput: CreatePullRequestInput!) {\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}",
"body": "{\"operationName\":\"createPullRequest\",\"variables\":{\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"forkOwner:cms/forkOwner/repo/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"}},\"query\":\"mutation createPullRequest($createPullRequestInput: CreatePullRequestInput!) {\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}",
"method": "POST",
"url": "/graphql",
"headers": {
Expand All @@ -1013,7 +1013,7 @@
"status": 200
},
{
"body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}",
"body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}",
"method": "POST",
"url": "/graphql",
"headers": {
Expand Down Expand Up @@ -1067,7 +1067,7 @@
"status": 200
},
{
"body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}",
"body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}",
"method": "POST",
"url": "/graphql",
"headers": {
Expand Down
Loading