summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ci/ci_variable_list/graphql/queries/group_variables.query.graphql
blob: 4a64a24573ee09b42dae8b800b32ccd5d218c3f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#import "~/ci/ci_variable_list/graphql/fragments/ci_variable.fragment.graphql"
#import "~/graphql_shared/fragments/page_info.fragment.graphql"

query getGroupVariables(
  $after: String
  $before: String
  $first: Int
  $fullPath: ID!
  $last: Int
  $sort: CiVariableSort = KEY_ASC
) {
  group(fullPath: $fullPath) {
    id
    ciVariables(after: $after, before: $before, first: $first, last: $last, sort: $sort) {
      limit
      pageInfo {
        ...PageInfo
      }
      nodes {
        ...BaseCiVariable
        ... on CiGroupVariable {
          environmentScope
          masked
          protected
          raw
        }
      }
    }
  }
}