Created
August 12, 2020 04:42
-
-
Save mike820324/e5b120afa0bce57d1d599e7beadabb58 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
query UserStreamOverview($userId: ID!, $pagingOptions: PagingOptions) { | |
user(username: $userId) { | |
name | |
profileStreamConnection(paging: $pagingOptions) { | |
...commonStreamConnection | |
__typename | |
} | |
__typename | |
} | |
} | |
fragment commonStreamConnection on StreamConnection { | |
pagingInfo { | |
next { | |
limit | |
page | |
source | |
to | |
ignoredIds | |
__typename | |
} | |
__typename | |
} | |
stream { | |
...StreamItemList_streamItem | |
__typename | |
} | |
__typename | |
} | |
fragment StreamItemList_streamItem on StreamItem { | |
...StreamItem_streamItem | |
__typename | |
} | |
fragment StreamItem_streamItem on StreamItem { | |
itemType { | |
__typename | |
... on StreamItemPostPreview { | |
post { | |
id | |
mediumUrl | |
title | |
firstPublishedAt | |
creator { | |
name | |
} | |
previewImage { | |
id | |
} | |
tags { | |
id | |
} | |
__typename | |
} | |
__typename | |
} | |
} | |
__typename | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment