query getEnvironments($projectPath: ID!, $search: String, $states: [String!]) {
  project(fullPath: $projectPath) {
    data: environments(search: $search, states: $states) {
      environments: nodes {
        name
        id
      }
    }
  }
}
