mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-05-01 20:07:42 -05:00
refactor: object screen types
This commit is contained in:
16
lib/graphql/github_object.graphql
Normal file
16
lib/graphql/github_object.graphql
Normal file
@@ -0,0 +1,16 @@
|
||||
query($owner: String!, $name: String!, $expression: String!) {
|
||||
repository(owner: $owner, name: $name) {
|
||||
object(expression: $expression) {
|
||||
__typename
|
||||
... on Tree {
|
||||
entries {
|
||||
type
|
||||
name
|
||||
}
|
||||
}
|
||||
... on Blob {
|
||||
text
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user