2020-11-09 16:08:48 -05:00
|
|
|
query GetSnippetQuery($ids: [SnippetID!]) {
|
2020-10-26 11:08:40 -04:00
|
|
|
snippets(ids: $ids) {
|
|
|
|
__typename
|
|
|
|
nodes {
|
|
|
|
__typename
|
|
|
|
id
|
|
|
|
title
|
|
|
|
description
|
|
|
|
descriptionHtml
|
|
|
|
createdAt
|
|
|
|
updatedAt
|
|
|
|
visibilityLevel
|
|
|
|
webUrl
|
|
|
|
httpUrlToRepo
|
|
|
|
sshUrlToRepo
|
|
|
|
blobs {
|
|
|
|
__typename
|
|
|
|
nodes {
|
|
|
|
__typename
|
|
|
|
binary
|
|
|
|
name
|
|
|
|
path
|
|
|
|
rawPath
|
|
|
|
size
|
|
|
|
externalStorage
|
|
|
|
renderedAsText
|
|
|
|
simpleViewer {
|
|
|
|
__typename
|
|
|
|
collapsed
|
|
|
|
renderError
|
|
|
|
tooLarge
|
|
|
|
type
|
|
|
|
fileType
|
|
|
|
}
|
|
|
|
richViewer {
|
|
|
|
__typename
|
|
|
|
collapsed
|
|
|
|
renderError
|
|
|
|
tooLarge
|
|
|
|
type
|
|
|
|
fileType
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
userPermissions {
|
|
|
|
__typename
|
|
|
|
adminSnippet
|
|
|
|
updateSnippet
|
|
|
|
}
|
|
|
|
project {
|
|
|
|
__typename
|
|
|
|
fullPath
|
|
|
|
webUrl
|
|
|
|
}
|
|
|
|
author {
|
|
|
|
__typename
|
|
|
|
id
|
|
|
|
avatarUrl
|
|
|
|
name
|
|
|
|
username
|
|
|
|
webUrl
|
2021-01-14 22:10:30 -05:00
|
|
|
status {
|
|
|
|
__typename
|
|
|
|
emoji
|
|
|
|
message
|
|
|
|
}
|
2020-10-26 11:08:40 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|