diff options
Diffstat (limited to 'app/assets/javascripts/ci/ci_variable_list/graphql/queries/group_variables.query.graphql')
-rw-r--r-- | app/assets/javascripts/ci/ci_variable_list/graphql/queries/group_variables.query.graphql | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/assets/javascripts/ci/ci_variable_list/graphql/queries/group_variables.query.graphql b/app/assets/javascripts/ci/ci_variable_list/graphql/queries/group_variables.query.graphql new file mode 100644 index 00000000000..538502fdd3b --- /dev/null +++ b/app/assets/javascripts/ci/ci_variable_list/graphql/queries/group_variables.query.graphql @@ -0,0 +1,23 @@ +#import "~/ci/ci_variable_list/graphql/fragments/ci_variable.fragment.graphql" +#import "~/graphql_shared/fragments/page_info.fragment.graphql" + +query getGroupVariables($after: String, $first: Int = 100, $fullPath: ID!) { + group(fullPath: $fullPath) { + id + ciVariables(after: $after, first: $first) { + limit + pageInfo { + ...PageInfo + } + nodes { + ...BaseCiVariable + ... on CiGroupVariable { + environmentScope + masked + protected + raw + } + } + } + } +} |