2020-10-26 12:08:44 +00:00
|
|
|
fragment PageInfo on PageInfo {
|
|
|
|
__typename
|
|
|
|
hasNextPage
|
|
|
|
hasPreviousPage
|
|
|
|
startCursor
|
|
|
|
endCursor
|
|
|
|
}
|
2019-08-12 09:08:46 +00:00
|
|
|
|
2019-05-24 09:39:18 +00:00
|
|
|
fragment TreeEntry on Entry {
|
2020-10-26 12:08:44 +00:00
|
|
|
__typename
|
2019-05-24 09:39:18 +00:00
|
|
|
id
|
2019-11-18 18:06:53 +00:00
|
|
|
sha
|
2019-06-25 14:26:55 +00:00
|
|
|
name
|
2019-05-24 09:39:18 +00:00
|
|
|
flatPath
|
|
|
|
type
|
|
|
|
}
|
|
|
|
|
2020-07-08 15:09:24 +00:00
|
|
|
query getFiles(
|
2019-05-24 09:39:18 +00:00
|
|
|
$projectPath: ID!
|
|
|
|
$path: String
|
|
|
|
$ref: String!
|
|
|
|
$pageSize: Int!
|
|
|
|
$nextPageCursor: String
|
|
|
|
) {
|
|
|
|
project(fullPath: $projectPath) {
|
2020-10-26 12:08:44 +00:00
|
|
|
__typename
|
2019-05-24 09:39:18 +00:00
|
|
|
repository {
|
2020-10-26 12:08:44 +00:00
|
|
|
__typename
|
2019-05-24 09:39:18 +00:00
|
|
|
tree(path: $path, ref: $ref) {
|
2020-10-26 12:08:44 +00:00
|
|
|
__typename
|
2019-05-24 09:39:18 +00:00
|
|
|
trees(first: $pageSize, after: $nextPageCursor) {
|
2020-10-26 12:08:44 +00:00
|
|
|
__typename
|
2019-05-24 09:39:18 +00:00
|
|
|
edges {
|
2020-10-26 12:08:44 +00:00
|
|
|
__typename
|
2019-05-24 09:39:18 +00:00
|
|
|
node {
|
|
|
|
...TreeEntry
|
2020-07-29 15:09:39 +00:00
|
|
|
webPath
|
2019-05-24 09:39:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
pageInfo {
|
|
|
|
...PageInfo
|
|
|
|
}
|
|
|
|
}
|
|
|
|
submodules(first: $pageSize, after: $nextPageCursor) {
|
2020-10-26 12:08:44 +00:00
|
|
|
__typename
|
2019-05-24 09:39:18 +00:00
|
|
|
edges {
|
2020-10-26 12:08:44 +00:00
|
|
|
__typename
|
2019-05-24 09:39:18 +00:00
|
|
|
node {
|
|
|
|
...TreeEntry
|
2019-07-17 13:06:19 +00:00
|
|
|
webUrl
|
|
|
|
treeUrl
|
2019-05-24 09:39:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
pageInfo {
|
|
|
|
...PageInfo
|
|
|
|
}
|
|
|
|
}
|
|
|
|
blobs(first: $pageSize, after: $nextPageCursor) {
|
2020-10-26 12:08:44 +00:00
|
|
|
__typename
|
2019-05-24 09:39:18 +00:00
|
|
|
edges {
|
2020-10-26 12:08:44 +00:00
|
|
|
__typename
|
2019-05-24 09:39:18 +00:00
|
|
|
node {
|
|
|
|
...TreeEntry
|
2020-07-15 12:09:26 +00:00
|
|
|
mode
|
2020-07-29 15:09:39 +00:00
|
|
|
webPath
|
2020-07-08 06:09:13 +00:00
|
|
|
lfsOid
|
2019-05-24 09:39:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
pageInfo {
|
|
|
|
...PageInfo
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-16 08:18:52 +00:00
|
|
|
}
|
|
|
|
}
|