Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-01-05 18:10:02 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-01-05 18:10:02 +0300
commit2c2b5aeac04350b0d3e13d4b52add0b520bf2ebb (patch)
tree1b006a6d334908dcbdb84d8868ab7cde79a519d7 /app/graphql/queries
parent797182cd82922765fe79a13bc0ed6bd5672d4283 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/graphql/queries')
-rw-r--r--app/graphql/queries/container_registry/get_container_repositories.query.graphql60
1 files changed, 60 insertions, 0 deletions
diff --git a/app/graphql/queries/container_registry/get_container_repositories.query.graphql b/app/graphql/queries/container_registry/get_container_repositories.query.graphql
new file mode 100644
index 00000000000..6171233c446
--- /dev/null
+++ b/app/graphql/queries/container_registry/get_container_repositories.query.graphql
@@ -0,0 +1,60 @@
+query getProjectContainerRepositories(
+ $fullPath: ID!
+ $name: String
+ $first: Int
+ $last: Int
+ $after: String
+ $before: String
+ $isGroupPage: Boolean!
+) {
+ project(fullPath: $fullPath) @skip(if: $isGroupPage) {
+ __typename
+ containerRepositoriesCount
+ containerRepositories(name: $name, after: $after, before: $before, first: $first, last: $last) {
+ __typename
+ nodes {
+ id
+ name
+ path
+ status
+ location
+ canDelete
+ createdAt
+ expirationPolicyStartedAt
+ __typename
+ }
+ pageInfo {
+ __typename
+ hasNextPage
+ hasPreviousPage
+ startCursor
+ endCursor
+ }
+ }
+ }
+ group(fullPath: $fullPath) @include(if: $isGroupPage) {
+ __typename
+ containerRepositoriesCount
+ containerRepositories(name: $name, after: $after, before: $before, first: $first, last: $last) {
+ __typename
+ nodes {
+ id
+ name
+ path
+ status
+ location
+ canDelete
+ createdAt
+ expirationPolicyStartedAt
+ __typename
+ }
+ pageInfo {
+ __typename
+ hasNextPage
+ hasPreviousPage
+ startCursor
+ endCursor
+ }
+ }
+ }
+}