query getContainerRepositoriesDetails(
  $fullPath: ID!
  $name: String
  $first: Int
  $last: Int
  $after: String
  $before: String
  $isGroupPage: Boolean!
  $sort: ContainerRepositorySort
) {
  project(fullPath: $fullPath) @skip(if: $isGroupPage) {
    containerRepositories(
      name: $name
      after: $after
      before: $before
      first: $first
      last: $last
      sort: $sort
    ) {
      nodes {
        id
        tagsCount
      }
    }
  }
  group(fullPath: $fullPath) @include(if: $isGroupPage) {
    containerRepositories(
      name: $name
      after: $after
      before: $before
      first: $first
      last: $last
      sort: $sort
    ) {
      nodes {
        id
        tagsCount
      }
    }
  }
}
