#import "~/ci/ci_variable_list/graphql/fragments/ci_variable.fragment.graphql"
#import "~/graphql_shared/fragments/page_info.fragment.graphql"

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