diff --git a/src/main/resources/queries.graphqls b/src/main/resources/queries.graphqls index a823bddf0e..9f82016256 100644 --- a/src/main/resources/queries.graphqls +++ b/src/main/resources/queries.graphqls @@ -1,5 +1,5 @@ type Query { rootNode: EnvironmentNode! environmentNodes(filter: EnvironmentNodeFilterInput): [EnvironmentNode!]! - targetNodes: [TargetNode!]! # TODO add filters for names, labels, annotations + targetNodes(filter: TargetNodesFilterInput): [TargetNode!]! # TODO add filters for names, labels, annotations } diff --git a/src/main/resources/types.graphqls b/src/main/resources/types.graphqls index f2646f6c08..1d454eb839 100644 --- a/src/main/resources/types.graphqls +++ b/src/main/resources/types.graphqls @@ -14,6 +14,10 @@ input EnvironmentNodeFilterInput { nodeType: String } +input TargetNodesFilterInput { + name: String +} + input DescendantTargetsFilterInput { name: String }