summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/terraform/graphql/queries/get_states.query.graphql
blob: 2ae7b7d905ed63803d0e015e06110f3ea0c31b7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#import "../fragments/state.fragment.graphql"
#import "~/graphql_shared/fragments/page_info.fragment.graphql"

query getStates($projectPath: ID!, $first: Int, $last: Int, $before: String, $after: String) {
  project(fullPath: $projectPath) {
    id
    terraformStates(first: $first, last: $last, before: $before, after: $after) {
      count
      nodes {
        ...State
      }
      pageInfo {
        ...PageInfo
      }
    }
  }
}