#import "./ServiceInfo.gql"

query config(
  $deploymentGroupName: String!
  $type: ManifestType!
  $format: ManifestFormat!
  $environment: String!
  $files: [KeyValueInput]!
  $raw: String!
) {
  config(
    deploymentGroupName: $deploymentGroupName
    type: $type
    format: $format
    environment: $environment
    files: $files
    raw: $raw
  ) {
    ...ServiceInfo
    config {
      id
      image
      ports
      environment {
        id
        name
        value
      }
      labels {
        id
        name
        value
      }
    }
  }
}
