debian-mirror-gitlab/app/assets/javascripts/repository/queries/blob_info.query.graphql

51 lines
952 B
GraphQL
Raw Normal View History

2021-10-27 15:23:28 +05:30
query getBlobInfo($projectPath: ID!, $filePath: String!, $ref: String!) {
2021-04-29 21:17:54 +05:30
project(fullPath: $projectPath) {
2021-10-27 15:23:28 +05:30
id
2021-09-30 23:02:18 +05:30
userPermissions {
pushCode
2021-10-27 15:23:28 +05:30
downloadCode
2021-11-18 22:05:49 +05:30
createMergeRequestIn
forkProject
2021-10-27 15:23:28 +05:30
}
pathLocks {
nodes {
path
}
2021-09-30 23:02:18 +05:30
}
2021-04-29 21:17:54 +05:30
repository {
2021-09-30 23:02:18 +05:30
empty
2021-10-27 15:23:28 +05:30
blobs(paths: [$filePath], ref: $ref) {
2021-06-08 01:23:25 +05:30
nodes {
webPath
name
size
rawSize
rawTextBlob
fileType
path
editBlobPath
2021-09-04 01:27:46 +05:30
ideEditPath
2021-11-18 22:05:49 +05:30
forkAndEditPath
ideForkAndEditPath
canModifyBlob
2021-06-08 01:23:25 +05:30
storedExternally
rawPath
replacePath
simpleViewer {
fileType
tooLarge
type
renderError
}
richViewer {
fileType
tooLarge
type
renderError
}
}
2021-04-29 21:17:54 +05:30
}
}
}
}