(token: string)
| 6 | import { graphql } from '@octokit/graphql'; |
| 7 | |
| 8 | function getGraphQLClient(token: string) { |
| 9 | return graphql.defaults({ |
| 10 | headers: { |
| 11 | authorization: `Bearer ${token}`, |
| 12 | }, |
| 13 | }); |
| 14 | } |
| 15 | |
| 16 | const REPO_DETAILS_QUERY_PUBLIC = ` |
| 17 | query($username: String!) { |
no outgoing calls
no test coverage detected