summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/snippets/queries/snippet.blob.query.graphql
blob: 785c88c185a1f7560647f15530ecaef05c8b1b5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#import '~/graphql_shared/fragments/blobviewer.fragment.graphql'

query SnippetBlobFull($ids: [ID!]) {
  snippets(ids: $ids) {
    edges {
      node {
        id
        blob {
          binary
          name
          path
          rawPath
          size
          simpleViewer {
            ...BlobViewer
          }
          richViewer {
            ...BlobViewer
          }
        }
      }
    }
  }
}