Skip to content

Instantly share code, notes, and snippets.

@aleccool213
Created May 12, 2020 13:33
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
import {
GITHUB_ISSUE_INFO_CARD_FRAGMENT,
GithubIssueInfoCard,
} from "./GithubIssueInfoCard";
const NOTIFICATIONS_LIST_QUERY = gql`
${GITHUB_ISSUE_INFO_CARD_FRAGMENT}
query NotificationsContainerQuery {
notifications {
totalCount
pageInfo {
endCursor
hasNextPage
}
edges {
node {
id
eventText
eventAssignee {
id
avatar
username
}
relatedIssue {
...GithubIssueInfoCardFragment
}
}
}
}
}
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment