debian-mirror-gitlab/app/assets/javascripts/snippets/queries/snippet.blob.content.query.graphql

15 lines
287 B
GraphQL
Raw Normal View History

2021-01-03 14:25:43 +05:30
query SnippetBlobContent($ids: [ID!], $rich: Boolean!, $paths: [String!]) {
2020-03-13 15:44:24 +05:30
snippets(ids: $ids) {
2021-01-03 14:25:43 +05:30
nodes {
id
blobs(paths: $paths) {
nodes {
2020-10-24 23:57:45 +05:30
path
2020-03-13 15:44:24 +05:30
richData @include(if: $rich)
plainData @skip(if: $rich)
}
}
}
}
}