Skip to content
Snippets Groups Projects
Unverified Commit 794fc5c2 authored by Sergei Zharinov's avatar Sergei Zharinov Committed by GitHub
Browse files

refactor(github): Remove unused GraphQL queries (#27710)

parent 85e061b1
No related branches found
No related tags found
No related merge requests found
...@@ -24,78 +24,6 @@ query($owner: String!, $name: String!) { ...@@ -24,78 +24,6 @@ query($owner: String!, $name: String!) {
} }
`; `;
export const closedPrsQuery = `
query($owner: String!, $name: String!, $count: Int, $cursor: String) {
repository(owner: $owner, name: $name) {
pullRequests(
states: [CLOSED, MERGED],
orderBy: {
field: UPDATED_AT,
direction: DESC
},
first: $count,
after: $cursor
) {
pageInfo {
endCursor
hasNextPage
}
nodes {
number
state
headRefName
title
comments(last: 100) {
nodes {
databaseId
body
}
}
}
}
}
}
`;
export const openPrsQuery = `
query($owner: String!, $name: String!, $count: Int, $cursor: String) {
repository(owner: $owner, name: $name) {
pullRequests(
states: [OPEN],
orderBy: {
field: UPDATED_AT,
direction: DESC
},
first: $count,
after: $cursor
) {
pageInfo {
endCursor
hasNextPage
}
nodes {
number
headRefName
baseRefName
title
labels(last: 100) {
nodes {
name
}
}
assignees {
totalCount
}
reviewRequests {
totalCount
}
body
}
}
}
}
`;
export const getIssuesQuery = ` export const getIssuesQuery = `
query( query(
$owner: String!, $owner: String!,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment