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/catalog/graphql/queries/get_ci_catalog_resource_components.query.graphql')
-rw-r--r--app/assets/javascripts/ci/catalog/graphql/queries/get_ci_catalog_resource_components.query.graphql20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/assets/javascripts/ci/catalog/graphql/queries/get_ci_catalog_resource_components.query.graphql b/app/assets/javascripts/ci/catalog/graphql/queries/get_ci_catalog_resource_components.query.graphql
new file mode 100644
index 00000000000..6aef5dcc4e7
--- /dev/null
+++ b/app/assets/javascripts/ci/catalog/graphql/queries/get_ci_catalog_resource_components.query.graphql
@@ -0,0 +1,20 @@
+query getCiCatalogResourceComponents($id: CiCatalogResourceID!) {
+ ciCatalogResource(id: $id) {
+ id
+ components @client {
+ nodes {
+ id
+ name
+ description
+ path
+ inputs {
+ nodes {
+ name
+ defaultValue
+ required
+ }
+ }
+ }
+ }
+ }
+}