debian-mirror-gitlab/app/assets/javascripts/snippets/fragments/snippet_base.fragment.graphql
2022-06-21 17:19:12 +05:30

35 lines
523 B
GraphQL

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