Welcome to mirror list, hosted at ThFree Co, Russian Federation.

snippetBase.fragment.graphql « fragments « snippets « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e7765dfd8ba5e7840e0748a64aa64b54abbceb27 (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
25
26
27
28
29
30
31
32
33
#import '~/graphql_shared/fragments/blobviewer.fragment.graphql'

fragment SnippetBase on Snippet {
  id
  title
  description
  descriptionHtml
  createdAt
  updatedAt
  visibilityLevel
  webUrl
  httpUrlToRepo
  sshUrlToRepo
  blob {
    binary
    name
    path
    rawPath
    size
    externalStorage
    renderedAsText
    simpleViewer {
      ...BlobViewer
    }
    richViewer {
      ...BlobViewer
    }
  }
  userPermissions {
    adminSnippet
    updateSnippet
  }
}