ql
1import {gql} from "@apollo/client";
2
3export const GET_USER_REPOS = gql`
4query getUserRepositories($first: Int!, $after: String) {
5viewer {
6repositories(first: $first, after: $after) {
7edges {
8node {
9name
10owner {
11login
12}
13stargazers {
14totalCount
15}
16updatedAt
17url
18}
19}
20pageInfo {
21endCursor
22hasNextPage
23}
24}
25}
26}
27`;