Skip to content

Commit

Permalink
chore: add ListClusterMinimalStacks query (#1847)
Browse files Browse the repository at this point in the history
  • Loading branch information
zreigz authored Feb 4, 2025
1 parent a093194 commit 73bab5b
Show file tree
Hide file tree
Showing 2 changed files with 234 additions and 0 deletions.
221 changes: 221 additions & 0 deletions go/client/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions go/client/graph/stack.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ fragment StackRunEdgeFragment on StackRunEdge {
node { ...StackRunFragment}
}

fragment MinimalStackRunEdgeFragment on StackRunEdge {
node { ...StackRunMinimalFragment}
}

fragment StackRunIdEdgeFragment on StackRunEdge {
node { ...StackRunIdFragment}
}
Expand Down Expand Up @@ -210,6 +214,15 @@ query ListClusterStackIds($after: String, $first: Int, $before: String, $last: I
}
}

query ListClusterMinimalStacks($after: String, $first: Int, $before: String, $last: Int) {
clusterStackRuns(after: $after, first: $first, before: $before, last: $last) {
pageInfo { ...PageInfoFragment}
edges {
...MinimalStackRunEdgeFragment
}
}
}

query ListInfrastructureStacks($after: String, $first: Int, $before: String, $last: Int) {
infrastructureStacks(after: $after, first: $first, before: $before, last: $last) {
pageInfo { ...PageInfoFragment}
Expand Down

0 comments on commit 73bab5b

Please sign in to comment.