debian-mirror-gitlab/app/assets/javascripts/snippets/fragments/snippet_base.fragment.graphql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
523 B
GraphQL
Raw Normal View History

2020-04-22 19:07:51 +05:30
#import '~/graphql_shared/fragments/blobviewer.fragment.graphql'
2020-01-01 13:55:28 +05:30
fragment SnippetBase on Snippet {
id
title
description
2020-04-08 14:13:33 +05:30
descriptionHtml
2020-01-01 13:55:28 +05:30
createdAt
updatedAt
visibilityLevel
webUrl
2020-04-22 19:07:51 +05:30
httpUrlToRepo
sshUrlToRepo
2020-07-28 23:09:34 +05:30
blobs {
2021-01-03 14:25:43 +05:30
nodes {
binary
name
path
rawPath
size
externalStorage
renderedAsText
simpleViewer {
...BlobViewer
}
richViewer {
...BlobViewer
}
2020-04-22 19:07:51 +05:30
}
}
2020-01-01 13:55:28 +05:30
userPermissions {
adminSnippet
updateSnippet
}
2020-04-22 19:07:51 +05:30
}