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

46 lines
828 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
}
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-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
}
}
}
}