mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-05-05 19:29:37 -05:00
refactor: split gql queries into files
This commit is contained in:
27
lib/gql_github/gists.graphql
Normal file
27
lib/gql_github/gists.graphql
Normal file
@@ -0,0 +1,27 @@
|
||||
# import './fragments.graphql'
|
||||
|
||||
query Gists($login: String!, $after: String) {
|
||||
user(login: $login) {
|
||||
gists(first: 30, after: $after) {
|
||||
pageInfo {
|
||||
...PageInfoParts
|
||||
}
|
||||
nodes {
|
||||
name
|
||||
description
|
||||
files {
|
||||
name
|
||||
language {
|
||||
name
|
||||
}
|
||||
text
|
||||
}
|
||||
updatedAt
|
||||
id
|
||||
owner {
|
||||
avatarUrl
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user