summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ci/ci_variable_list/graphql/queries/project_variables.query.graphql
blob: af0cd2d0b2cca5269300608200aa46df51e24405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
      }
    }
  }
}