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:
Diffstat (limited to 'app/assets/javascripts/clusters_list/graphql/queries/get_agents.query.graphql')
-rw-r--r--app/assets/javascripts/clusters_list/graphql/queries/get_agents.query.graphql28
1 files changed, 15 insertions, 13 deletions
diff --git a/app/assets/javascripts/clusters_list/graphql/queries/get_agents.query.graphql b/app/assets/javascripts/clusters_list/graphql/queries/get_agents.query.graphql
index 76920a0aef4..2a4f7b42eff 100644
--- a/app/assets/javascripts/clusters_list/graphql/queries/get_agents.query.graphql
+++ b/app/assets/javascripts/clusters_list/graphql/queries/get_agents.query.graphql
@@ -1,26 +1,28 @@
-#import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "../fragments/cluster_agent.fragment.graphql"
-query getAgents(
- $defaultBranchName: String!
- $projectPath: ID!
- $first: Int
- $last: Int
- $afterAgent: String
- $beforeAgent: String
-) {
+query getAgents($defaultBranchName: String!, $projectPath: ID!) {
project(fullPath: $projectPath) {
id
- clusterAgents(first: $first, last: $last, before: $beforeAgent, after: $afterAgent) {
+ clusterAgents {
nodes {
...ClusterAgentFragment
}
+ }
- pageInfo {
- ...PageInfo
+ ciAccessAuthorizedAgents {
+ nodes {
+ agent {
+ ...ClusterAgentFragment
+ }
}
+ }
- count
+ userAccessAuthorizedAgents {
+ nodes {
+ agent {
+ ...ClusterAgentFragment
+ }
+ }
}
repository {