Skip to content

Commit

Permalink
feat(#1): query to api
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed May 22, 2024
1 parent 5bf8732 commit 6102ffd
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@ const graph = `query ($searchQuery: String!, $first: Int, $after: String) {
defaultBranchRef {
name
}
primaryLanguage {
name
}
createdAt
defaultBranchRef {
name
target {
repository {
object(expression: "master:README.md") {
object(expression: "HEAD:README.md") {
... on Blob {
text
}
}
}
... on Blob {
text
}
... on Commit {
history(first: 1) {
totalCount
Expand All @@ -57,6 +57,9 @@ const graph = `query ($searchQuery: String!, $first: Int, $after: String) {
}
}
}
mentionableUsers {
totalCount
}
latestRelease {
createdAt
}
Expand All @@ -65,7 +68,9 @@ const graph = `query ($searchQuery: String!, $first: Int, $after: String) {
pullRequests {
totalCount
}
diskUsage
issues(states: [OPEN]) {
totalCount
}
licenseInfo {
spdxId
}
Expand Down

0 comments on commit 6102ffd

Please sign in to comment.