summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ci/ci_variable_list/graphql/queries/project_variables.query.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/ci/ci_variable_list/graphql/queries/project_variables.query.graphql')
-rw-r--r--app/assets/javascripts/ci/ci_variable_list/graphql/queries/project_variables.query.graphql21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/assets/javascripts/ci/ci_variable_list/graphql/queries/project_variables.query.graphql b/app/assets/javascripts/ci/ci_variable_list/graphql/queries/project_variables.query.graphql
new file mode 100644
index 00000000000..af0cd2d0b2c
--- /dev/null
+++ b/app/assets/javascripts/ci/ci_variable_list/graphql/queries/project_variables.query.graphql
@@ -0,0 +1,21 @@
+#import "~/ci/ci_variable_list/graphql/fragments/ci_variable.fragment.graphql"
+#import "~/graphql_shared/fragments/page_info.fragment.graphql"
+
+query getProjectVariables($after: String, $first: Int = 100, $fullPath: ID!) {
+ project(fullPath: $fullPath) {
+ id
+ ciVariables(after: $after, first: $first) {
+ limit
+ pageInfo {
+ ...PageInfo
+ }
+ nodes {
+ ...BaseCiVariable
+ environmentScope
+ masked
+ protected
+ raw
+ }
+ }
+ }
+}