82 lines
1.5 KiB
GraphQL
82 lines
1.5 KiB
GraphQL
query getProjectContainerRepositories(
|
|
$fullPath: ID!
|
|
$name: String
|
|
$first: Int
|
|
$last: Int
|
|
$after: String
|
|
$before: String
|
|
$isGroupPage: Boolean!
|
|
$sort: ContainerRepositorySort
|
|
) {
|
|
project(fullPath: $fullPath) @skip(if: $isGroupPage) {
|
|
__typename
|
|
id
|
|
containerRepositoriesCount
|
|
containerRepositories(
|
|
name: $name
|
|
after: $after
|
|
before: $before
|
|
first: $first
|
|
last: $last
|
|
sort: $sort
|
|
) {
|
|
__typename
|
|
nodes {
|
|
id
|
|
migrationState
|
|
name
|
|
path
|
|
status
|
|
location
|
|
canDelete
|
|
createdAt
|
|
expirationPolicyStartedAt
|
|
expirationPolicyCleanupStatus
|
|
__typename
|
|
}
|
|
pageInfo {
|
|
__typename
|
|
hasNextPage
|
|
hasPreviousPage
|
|
startCursor
|
|
endCursor
|
|
}
|
|
}
|
|
}
|
|
group(fullPath: $fullPath) @include(if: $isGroupPage) {
|
|
__typename
|
|
id
|
|
containerRepositoriesCount
|
|
containerRepositories(
|
|
name: $name
|
|
after: $after
|
|
before: $before
|
|
first: $first
|
|
last: $last
|
|
sort: $sort
|
|
) {
|
|
__typename
|
|
nodes {
|
|
id
|
|
migrationState
|
|
name
|
|
path
|
|
status
|
|
location
|
|
canDelete
|
|
createdAt
|
|
expirationPolicyStartedAt
|
|
expirationPolicyCleanupStatus
|
|
__typename
|
|
}
|
|
pageInfo {
|
|
__typename
|
|
hasNextPage
|
|
hasPreviousPage
|
|
startCursor
|
|
endCursor
|
|
}
|
|
}
|
|
}
|
|
}
|