code to fetch the viewer's repos
export async function getViewerRepos(
viewer_token: string,
cursor: string | null = null,
): Promise<{ data: ViewerRepos | null; error: BadDataGitHubError | null }> {
const query = `
query($first: Int!,$after: String) {