Created
May 12, 2020 13:33
-
-
Save aleccool213/1f33e685413212622c07c1e8b2a7ecca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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