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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/repository/queries/blob_info.query.graphql')
-rw-r--r--app/assets/javascripts/repository/queries/blob_info.query.graphql48
1 files changed, 26 insertions, 22 deletions
diff --git a/app/assets/javascripts/repository/queries/blob_info.query.graphql b/app/assets/javascripts/repository/queries/blob_info.query.graphql
index e0bbf12f3eb..07c076af54b 100644
--- a/app/assets/javascripts/repository/queries/blob_info.query.graphql
+++ b/app/assets/javascripts/repository/queries/blob_info.query.graphql
@@ -2,28 +2,32 @@ query getBlobInfo($projectPath: ID!, $filePath: String!) {
project(fullPath: $projectPath) {
id
repository {
- blobs(path: $filePath) {
- name
- size
- rawBlob
- type
- fileType
- tooLarge
- path
- editBlobPath
- ideEditPath
- storedExternally
- rawPath
- externalStorageUrl
- replacePath
- deletePath
- canLock
- isLocked
- lockLink
- canModifyBlob
- forkPath
- simpleViewer
- richViewer
+ blobs(paths: [$filePath]) {
+ nodes {
+ webPath
+ name
+ size
+ rawSize
+ rawTextBlob
+ fileType
+ path
+ editBlobPath
+ storedExternally
+ rawPath
+ replacePath
+ simpleViewer {
+ fileType
+ tooLarge
+ type
+ renderError
+ }
+ richViewer {
+ fileType
+ tooLarge
+ type
+ renderError
+ }
+ }
}
}
}