Created
March 27, 2018 14:59
-
-
Save alloy/e341557a27d71a0c34f272ed39612736 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 QueryRenderersForYouQuery { | |
forYou: home_page { | |
...ForYou_forYou | |
} | |
} | |
fragment ForYou_forYou on HomePage { | |
artwork_modules(max_rails: -1, max_followed_gene_rails: -1, order: [ACTIVE_BIDS, RECOMMENDED_WORKS, FOLLOWED_ARTISTS, RELATED_ARTISTS, FOLLOWED_GALLERIES, SAVED_WORKS, LIVE_AUCTIONS, CURRENT_FAIRS, FOLLOWED_GENES, GENERIC_GENES], exclude: [FOLLOWED_ARTISTS]) { | |
__id | |
...ArtworkCarousel_rail | |
} | |
artist_modules { | |
__id | |
...ArtistRail_rail | |
} | |
fairs_module { | |
...FairsRail_fairs_module | |
} | |
} | |
fragment ArtworkCarousel_rail on HomePageArtworkModule { | |
...ArtworkCarouselHeader_rail | |
__id | |
key | |
params { | |
medium | |
price_range | |
__id: id | |
} | |
context { | |
__typename | |
... on HomePageModuleContextFollowedArtist { | |
artist { | |
href | |
__id | |
} | |
} | |
... on HomePageModuleContextRelatedArtist { | |
artist { | |
href | |
__id | |
} | |
} | |
... on HomePageModuleContextFair { | |
href | |
__id | |
} | |
... on HomePageModuleContextGene { | |
href | |
} | |
... on HomePageModuleContextSale { | |
href | |
} | |
... on Node { | |
__id | |
} | |
} | |
results { | |
...GenericGrid_artworks | |
__id | |
} | |
} | |
fragment ArtistRail_rail on HomePageArtistModule { | |
__id | |
key | |
results { | |
_id | |
__id | |
...ArtistCard_artist | |
} | |
} | |
fragment FairsRail_fairs_module on HomePageFairsModule { | |
results { | |
id | |
name | |
profile { | |
href | |
__id | |
} | |
mobile_image { | |
id | |
url | |
} | |
__id | |
} | |
} | |
fragment ArtistCard_artist on Artist { | |
id | |
_id | |
href | |
name | |
formatted_artworks_count | |
formatted_nationality_and_birthday | |
image { | |
url(version: "large") | |
} | |
__id | |
} | |
fragment ArtworkCarouselHeader_rail on HomePageArtworkModule { | |
title | |
key | |
followedArtistContext: context { | |
__typename | |
... on HomePageModuleContextFollowedArtist { | |
artist { | |
_id | |
id | |
__id | |
} | |
} | |
... on Node { | |
__id | |
} | |
... on HomePageModuleContextFair { | |
__id | |
} | |
} | |
relatedArtistContext: context { | |
__typename | |
... on HomePageModuleContextRelatedArtist { | |
artist { | |
_id | |
id | |
__id | |
} | |
based_on { | |
name | |
__id | |
} | |
} | |
... on Node { | |
__id | |
} | |
... on HomePageModuleContextFair { | |
__id | |
} | |
} | |
__id | |
} | |
fragment GenericGrid_artworks on Artwork { | |
__id | |
id | |
image { | |
aspect_ratio | |
} | |
...Artwork_artwork | |
} | |
fragment Artwork_artwork on Artwork { | |
title | |
date | |
sale_message | |
is_in_auction | |
id | |
sale_artwork { | |
opening_bid { | |
display | |
} | |
current_bid { | |
display | |
} | |
bidder_positions_count | |
sale { | |
is_closed | |
__id | |
} | |
__id | |
} | |
image { | |
url(version: "large") | |
aspect_ratio | |
} | |
artists(shallow: true) { | |
name | |
__id | |
} | |
partner { | |
name | |
__id | |
} | |
href | |
__id | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment