2020-11-06 12:09:17 +00:00
|
|
|
#import "../fragments/state.fragment.graphql"
|
2022-03-30 09:08:12 +00:00
|
|
|
#import "~/graphql_shared/fragments/page_info.fragment.graphql"
|
2020-11-06 12:09:17 +00:00
|
|
|
|
2020-11-13 15:09:24 +00:00
|
|
|
query getStates($projectPath: ID!, $first: Int, $last: Int, $before: String, $after: String) {
|
2020-11-06 12:09:17 +00:00
|
|
|
project(fullPath: $projectPath) {
|
2021-11-30 15:14:19 +00:00
|
|
|
id
|
2020-11-13 15:09:24 +00:00
|
|
|
terraformStates(first: $first, last: $last, before: $before, after: $after) {
|
2020-11-06 12:09:17 +00:00
|
|
|
count
|
|
|
|
nodes {
|
|
|
|
...State
|
|
|
|
}
|
2020-11-13 15:09:24 +00:00
|
|
|
pageInfo {
|
|
|
|
...PageInfo
|
|
|
|
}
|
2020-11-06 12:09:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|