2020-04-14 05:09:34 -04:00
|
|
|
#import '~/graphql_shared/fragments/blobviewer.fragment.graphql'
|
|
|
|
|
2019-12-17 13:07:48 -05:00
|
|
|
fragment SnippetBase on Snippet {
|
|
|
|
id
|
|
|
|
title
|
|
|
|
description
|
2020-03-12 08:09:17 -04:00
|
|
|
descriptionHtml
|
2019-12-17 13:07:48 -05:00
|
|
|
createdAt
|
|
|
|
updatedAt
|
|
|
|
visibilityLevel
|
|
|
|
webUrl
|
2020-04-07 14:09:19 -04:00
|
|
|
httpUrlToRepo
|
|
|
|
sshUrlToRepo
|
2020-04-14 05:09:34 -04:00
|
|
|
blob {
|
|
|
|
binary
|
|
|
|
name
|
|
|
|
path
|
|
|
|
rawPath
|
|
|
|
size
|
2020-05-18 08:08:08 -04:00
|
|
|
externalStorage
|
|
|
|
renderedAsText
|
2020-04-14 05:09:34 -04:00
|
|
|
simpleViewer {
|
|
|
|
...BlobViewer
|
|
|
|
}
|
|
|
|
richViewer {
|
|
|
|
...BlobViewer
|
|
|
|
}
|
|
|
|
}
|
2019-12-17 13:07:48 -05:00
|
|
|
userPermissions {
|
|
|
|
adminSnippet
|
|
|
|
updateSnippet
|
|
|
|
}
|
2020-04-07 14:09:19 -04:00
|
|
|
}
|