33 lines
479 B
GraphQL
33 lines
479 B
GraphQL
#import '~/graphql_shared/fragments/blobviewer.fragment.graphql'
|
|
|
|
fragment SnippetBase on Snippet {
|
|
id
|
|
title
|
|
description
|
|
descriptionHtml
|
|
createdAt
|
|
updatedAt
|
|
visibilityLevel
|
|
webUrl
|
|
httpUrlToRepo
|
|
sshUrlToRepo
|
|
blobs {
|
|
binary
|
|
name
|
|
path
|
|
rawPath
|
|
size
|
|
externalStorage
|
|
renderedAsText
|
|
simpleViewer {
|
|
...BlobViewer
|
|
}
|
|
richViewer {
|
|
...BlobViewer
|
|
}
|
|
}
|
|
userPermissions {
|
|
adminSnippet
|
|
updateSnippet
|
|
}
|
|
}
|