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/ci/runner/graphql/show/runner_projects.query.graphql')
-rw-r--r--app/assets/javascripts/ci/runner/graphql/show/runner_projects.query.graphql31
1 files changed, 31 insertions, 0 deletions
diff --git a/app/assets/javascripts/ci/runner/graphql/show/runner_projects.query.graphql b/app/assets/javascripts/ci/runner/graphql/show/runner_projects.query.graphql
new file mode 100644
index 00000000000..e42648b3079
--- /dev/null
+++ b/app/assets/javascripts/ci/runner/graphql/show/runner_projects.query.graphql
@@ -0,0 +1,31 @@
+#import "~/graphql_shared/fragments/page_info.fragment.graphql"
+
+query getRunnerProjects(
+ $id: CiRunnerID!
+ $search: String
+ $first: Int
+ $last: Int
+ $before: String
+ $after: String
+) {
+ runner(id: $id) {
+ id
+ ownerProject {
+ id
+ }
+ projectCount
+ projects(search: $search, first: $first, last: $last, before: $before, after: $after) {
+ nodes {
+ id
+ avatarUrl
+ description
+ name
+ nameWithNamespace
+ webUrl
+ }
+ pageInfo {
+ ...PageInfo
+ }
+ }
+ }
+}