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

53 lines
1.1 KiB
GraphQL
Raw Normal View History

2022-03-02 08:16:31 +05:30
#import "ee_else_ce/repository/queries/path_locks.fragment.graphql"
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-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
}
2022-03-02 08:16:31 +05:30
...ProjectPathLocksFragment
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 {
2022-01-26 12:08:38 +05:30
id
2021-06-08 01:23:25 +05:30
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
2022-01-26 12:08:38 +05:30
canCurrentUserPushToBranch
2022-03-02 08:16:31 +05:30
archived
2021-06-08 01:23:25 +05:30
storedExternally
2022-03-02 08:16:31 +05:30
externalStorage
2021-06-08 01:23:25 +05:30
rawPath
replacePath
2021-12-11 22:18:48 +05:30
pipelineEditorPath
2021-06-08 01:23:25 +05:30
simpleViewer {
fileType
tooLarge
type
renderError
}
richViewer {
fileType
tooLarge
type
renderError
}
}
2021-04-29 21:17:54 +05:30
}
}
}
}