ql
1import {gql} from "@apollo/client";
2
3export const GET_REPO_DETAILS = gql`
4query getRepository($owner: String!, $name: String!) {
5repository(owner: $owner, name: $name) {
6name
7stargazers {
8totalCount
9}
10updatedAt
11owner {
12login
13avatarUrl
14url
15}
16languages(first: 10) {
17nodes {
18name
19}
20}
21description
22}
23}
24`;