18 lines
439 B
GraphQL
18 lines
439 B
GraphQL
#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
|
|
}
|
|
}
|
|
}
|
|
}
|