debian-mirror-gitlab/app/graphql/queries/repository/paginated_tree.query.graphql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
1,017 B
GraphQL
Raw Normal View History

2021-11-11 11:23:49 +05:30
fragment TreeEntry on Entry {
__typename
id
sha
name
flatPath
type
}
query getPaginatedTree($projectPath: ID!, $path: String, $ref: String!, $nextPageCursor: String) {
project(fullPath: $projectPath) {
id
__typename
repository {
__typename
paginatedTree(path: $path, ref: $ref, after: $nextPageCursor) {
__typename
pageInfo {
__typename
endCursor
startCursor
hasNextPage
}
nodes {
__typename
trees {
__typename
nodes {
...TreeEntry
webPath
}
}
submodules {
__typename
nodes {
...TreeEntry
webUrl
treeUrl
}
}
blobs {
__typename
nodes {
...TreeEntry
mode
webPath
lfsOid
}
}
}
}
}
}
}