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