query BaseRepositories {
  $account(login: "$login") {
    $type($after first: $repositories $forks $affiliations $constraints, orderBy: {field: UPDATED_AT, direction: DESC}) {
      edges {
        cursor
      }
      nodes {
        name
        owner {
          login
        }
        isFork
        forkCount
        watchers {
          totalCount
        }
        stargazers {
          totalCount
        }
        releases {
          totalCount
        }
        deployments {
          totalCount
        }
        environments {
          totalCount
        }
        languages(first: 8) {
          edges {
            size
            node {
              color
              name
            }
          }
        }
        licenseInfo {
          name
          spdxId
        }
        issues_open: issues(states: OPEN) {
          totalCount
        }
        issues_closed: issues(states: CLOSED) {
          totalCount
        }
        pr_open: pullRequests(states: OPEN) {
          totalCount
        }
        pr_closed: pullRequests(states: CLOSED) {
          totalCount
        }
        pr_merged: pullRequests(states: MERGED) {
          totalCount
        }
      }
    }
  }
}