From 8b7c310770df40cff92bc7e6773471ed9280ca4b Mon Sep 17 00:00:00 2001 From: Chung-Yi Chi Date: Mon, 11 Nov 2024 09:22:55 -0500 Subject: [PATCH] feat: don't render primary label when there is a partner offer This depends on MP change that removes partner offers from primary labels. Primary label should only consist of unauthenticated data. --- src/Components/Artwork/Details/Details.tsx | 13 +- .../Artwork/Details/PrimaryLabelLine.tsx | 78 ++++- .../AboutArtworksRailQuery.graphql.ts | 117 ++++--- ...orksModalContentPaginationQuery.graphql.ts | 117 ++++--- .../AddArtworksModalContentQuery.graphql.ts | 117 ++++--- .../ArtQuizLikedArtworksQuery.graphql.ts | 117 ++++--- .../ArtQuizRecommendedArtistsQuery.graphql.ts | 111 +++--- ...ResultsRecommendedArtworksQuery.graphql.ts | 117 ++++--- .../ArtQuizTrendingArtistsQuery.graphql.ts | 105 +++--- ...ArtQuizTrendingCollectionsQuery.graphql.ts | 117 ++++--- .../ArticleBody_test_Query.graphql.ts | 94 ++++-- .../ArticleInfiniteScrollQuery.graphql.ts | 79 +++-- .../ArticleZoomGalleryQuery.graphql.ts | 167 +++++---- .../ArticleZoomGallery_test_Query.graphql.ts | 182 ++++++---- .../ArtistArtworkFilterQuery.graphql.ts | 91 +++-- .../ArtistArtworkFilterTestQuery.graphql.ts | 106 ++++-- .../ArtistConsignRoute_Test_Query.graphql.ts | 79 +++-- ...ArtistSeriesArtworksFilterQuery.graphql.ts | 91 +++-- ...eriesArtworksFilterRefetchQuery.graphql.ts | 91 +++-- ...rtistSeriesArtworksFilter_Query.graphql.ts | 106 ++++-- .../ArtistWorksForSaleRailQuery.graphql.ts | 115 ++++--- ...tistWorksForSaleRail_Test_Query.graphql.ts | 130 ++++--- ...tWorksForSaleRouteArtworksQuery.graphql.ts | 91 +++-- .../ArtworkArtistSeriesQuery.graphql.ts | 141 ++++---- .../ArtworkArtistSeries_Query.graphql.ts | 156 +++++---- .../ArtworkErrorAppOtherWorksQuery.graphql.ts | 99 +++--- ...rtworkErrorAppRelatedWorksQuery.graphql.ts | 91 +++-- .../ArtworkGrid_Test_Query.graphql.ts | 121 ++++--- .../ArtworkQueryFilterQuery.graphql.ts | 106 +++--- .../ArtworksRailRendererQuery.graphql.ts | 117 ++++--- .../AuctionAppTestQuery.graphql.ts | 29 +- .../AuctionArtworkFilterQuery.graphql.ts | 101 +++--- ...uctionArtworkFilterRefetchQuery.graphql.ts | 101 +++--- .../AuctionArtworkFilterTestQuery.graphql.ts | 101 +++--- .../AuctionArtworksRailQuery.graphql.ts | 117 ++++--- .../AuctionArtworksRail_Test_Query.graphql.ts | 132 +++++--- .../AuctionBuyNowRailTestQuery.graphql.ts | 109 +++--- ...sByFollowedArtistsRailTestQuery.graphql.ts | 115 ++++--- .../CollectArtworkFilterQuery.graphql.ts | 91 +++-- .../CollectionArtworksFilterQuery.graphql.ts | 99 +++--- .../CollectionArtworksFilter_Query.graphql.ts | 114 ++++--- .../CollectionArtworksQuery.graphql.ts | 91 +++-- .../ConfirmationArtworksGridQuery.graphql.ts | 99 +++--- ...irmationArtworksGrid_Test_Query.graphql.ts | 114 ++++--- .../Details_Test_Query.graphql.ts | 135 +++++--- .../EndingSoonAuctionsGridQuery.graphql.ts | 99 +++--- .../EndingSoonAuctions_test_Query.graphql.ts | 114 ++++--- .../FairArtworksFilterQuery.graphql.ts | 91 +++-- .../FairArtworksFilterRefetchQuery.graphql.ts | 91 +++-- .../FairArtworks_Query.graphql.ts | 113 +++++-- .../FairBoothRailArtworksQuery.graphql.ts | 115 ++++--- .../FairFollowedArtistsQuery.graphql.ts | 117 ++++--- .../FeatureApp_Test_Query.graphql.ts | 94 ++++-- .../GeneArtworkFilterQuery.graphql.ts | 91 +++-- .../GeneArtworkFilterRefetchQuery.graphql.ts | 91 +++-- .../GeneArtworkFilter_Query.graphql.ts | 106 ++++-- .../GridItem_Test_Query.graphql.ts | 128 ++++--- .../HomeAuctionLotsForYouRailQuery.graphql.ts | 113 ++++--- ...uctionLotsForYouRail_Test_Query.graphql.ts | 128 ++++--- .../HomeAuctionLotsRailQuery.graphql.ts | 115 ++++--- .../HomeAuctionLotsRail_Test_Query.graphql.ts | 130 ++++--- ...eEmergingPicksArtworksRailQuery.graphql.ts | 115 ++++--- ...ingPicksArtworksRail_Test_Query.graphql.ts | 130 ++++--- .../HomeNewWorksForYouRailQuery.graphql.ts | 91 +++-- ...meNewWorksForYouRail_Test_Query.graphql.ts | 106 ++++-- ...FromGalleriesYouFollowRailQuery.graphql.ts | 91 +++-- ...lleriesYouFollowRail_Test_Query.graphql.ts | 106 ++++-- .../HomeRecentlyViewedRailQuery.graphql.ts | 91 +++-- ...meRecentlyViewedRail_Test_Query.graphql.ts | 91 +++-- ...orksByArtistsYouFollowRailQuery.graphql.ts | 91 +++-- ...ArtistsYouFollowRail_Test_Query.graphql.ts | 106 ++++-- ...ketingFeaturedArtworksRailQuery.graphql.ts | 117 ++++--- .../MetadataTestQuery.graphql.ts | 128 ++++--- .../MyCollectionArworkSearchQuery.graphql.ts | 91 +++-- .../MyCollectionRouteQuery.graphql.ts | 81 +++-- .../NewForYouApp_test_Query.graphql.ts | 114 ++++--- ...sFromGalleriesYouFollowAppQuery.graphql.ts | 99 +++--- ...alleriesYouFollowApp_test_Query.graphql.ts | 106 ++++-- .../NewsIndexArticlesQuery.graphql.ts | 79 +++-- .../NotificationQuery.graphql.ts | 237 +++++++------ ...oardingMarketingCollectionQuery.graphql.ts | 117 ++++--- ...gMarketingCollection_Test_Query.graphql.ts | 132 +++++--- src/__generated__/OtherWorksQuery.graphql.ts | 99 +++--- .../PartnerArtistDetailsListQuery.graphql.ts | 93 +++-- ...rArtistDetailsListRendererQuery.graphql.ts | 93 +++-- .../PartnerArtistDetailsQuery.graphql.ts | 121 ++++--- ...rCreatedNotification_test_Query.graphql.ts | 264 ++++++++------- .../PrimaryLabelLineQuery.graphql.ts | 163 +++++++++ .../PrimaryLabelLine_artwork.graphql.ts | 46 ++- .../RecentlyViewedQuery.graphql.ts | 91 +++-- .../RelatedWorksQuery.graphql.ts | 91 +++-- .../RelatedWorks_Test_Query.graphql.ts | 106 ++++-- .../SaleArtworksFilterQuery.graphql.ts | 101 +++--- .../SaleArtworks_Test_Query.graphql.ts | 116 ++++--- .../SavedSearchAlertsArtworksQuery.graphql.ts | 99 +++--- .../SavesArtworksGridQuery.graphql.ts | 91 +++-- .../SearchResultsArtworks_Query.graphql.ts | 106 ++++-- ...gsAuctionsRouteQuery_Test_Query.graphql.ts | 217 +++++++----- .../SettingsSavesArtistsQuery.graphql.ts | 79 +++-- ...SettingsSavesArtists_test_Query.graphql.ts | 94 ++++-- .../SettingsSavesCategoriesQuery.graphql.ts | 79 +++-- ...tingsSavesCategories_test_Query.graphql.ts | 94 ++++-- .../ShelfArtworkStoryQuery.graphql.ts | 113 ++++--- .../ShelfArtwork_test_Query.graphql.ts | 128 ++++--- .../ShowArtworksFilterQuery.graphql.ts | 91 +++-- .../ShowArtworksFilterRefetchQuery.graphql.ts | 91 +++-- .../ShowArtworks_Test_Query.graphql.ts | 106 ++++-- .../ShowsCurrentShowsQuery.graphql.ts | 81 +++-- .../SoldRecentlyOnArtsyQuery.graphql.ts | 119 ++++--- ...SoldRecentlyOnArtsy_tests_Query.graphql.ts | 153 +++++---- .../StandoutLotsRailQuery.graphql.ts | 115 ++++--- .../StandoutLotsRail_Test_Query.graphql.ts | 130 ++++--- ...SuggestedArtworksModalGridQuery.graphql.ts | 99 +++--- ...tedArtworksModalGrid_Test_Query.graphql.ts | 114 ++++--- .../SuggestedArtworksShelfQuery.graphql.ts | 115 ++++--- ...ggestedArtworksShelf_Test_Query.graphql.ts | 130 ++++--- .../TagArtworkFilterQuery.graphql.ts | 91 +++-- .../TagArtworkFilterRefetchQuery.graphql.ts | 91 +++-- .../TagArtworkFilter_Query.graphql.ts | 106 ++++-- .../TrendingLotsRailQuery.graphql.ts | 71 ++-- .../TrendingLotsRail_Test_Query.graphql.ts | 86 +++-- .../UserActiveBids_Test_Query.graphql.ts | 106 ++++-- .../UserBidHistory_Test_Query.graphql.ts | 106 ++++-- ...iewingRoomWorksRoute_Test_Query.graphql.ts | 135 +++++--- src/__generated__/WorksFilterQuery.graphql.ts | 91 +++-- .../WorksFilterRefetchQuery.graphql.ts | 91 +++-- .../WorksForYouApp_test_Query.graphql.ts | 317 ++++++++++-------- ...ForYouArtistFeedPaginationQuery.graphql.ts | 91 +++-- .../WorksForYouFeedPaginationQuery.graphql.ts | 99 +++--- src/__generated__/WorksTL_Query.graphql.ts | 106 ++++-- src/__generated__/Works_Query.graphql.ts | 106 ++++-- .../articleRoutes_ArticleQuery.graphql.ts | 79 +++-- .../articlesRoutes_NewsQuery.graphql.ts | 79 +++-- ...artistRoutes_ArtistConsignQuery.graphql.ts | 79 +++-- .../auctionRoutes_TopLevelQuery.graphql.ts | 29 +- ...nsRoutes_Artworks_AuctionsQuery.graphql.ts | 105 +++--- ...leRoutes_MyCollectionRouteQuery.graphql.ts | 81 +++-- ...oonAuctionsRoutes_TopLevelQuery.graphql.ts | 99 +++--- ...xampleRoutes_ArtworkFilterQuery.graphql.ts | 99 +++--- .../featureRoutes_FeatureQuery.graphql.ts | 79 +++-- .../newForYouRoutes_TopLevelQuery.graphql.ts | 99 +++--- ...esYouFollowRoutes_TopLevelQuery.graphql.ts | 99 +++--- .../saleRoutes_SaleQuery.graphql.ts | 91 +++-- ...earchRoutes_ArtworksViewerQuery.graphql.ts | 91 +++-- ...utes_SettingsAuctionsRouteQuery.graphql.ts | 93 +++-- .../useBidderPositionQuery.graphql.ts | 29 +- .../useCreateBidderMutation.graphql.ts | 97 ++++-- ...utes_ViewingRoomWorksRouteQuery.graphql.ts | 113 ++++--- ...worksForYouRoutes_TopLevelQuery.graphql.ts | 119 ++++--- 149 files changed, 10136 insertions(+), 5810 deletions(-) create mode 100644 src/__generated__/PrimaryLabelLineQuery.graphql.ts diff --git a/src/Components/Artwork/Details/Details.tsx b/src/Components/Artwork/Details/Details.tsx index 2e83f295fad..903f1dbfebf 100644 --- a/src/Components/Artwork/Details/Details.tsx +++ b/src/Components/Artwork/Details/Details.tsx @@ -14,7 +14,7 @@ import { SaveButtonQueryRenderer } from "Components/Artwork/SaveButton/SaveButto import { ConsignmentSubmissionStatusFragmentContainer } from "Components/Artwork/ConsignmentSubmissionStatus" import HighDemandIcon from "@artsy/icons/HighDemandIcon" import { BidTimerLine } from "./BidTimerLine" -import { PrimaryLabelLine } from "Components/Artwork/Details/PrimaryLabelLine" +import { PrimaryLabelLineQueryRenderer } from "Components/Artwork/Details/PrimaryLabelLine" import { PartnerOfferLineQueryRenderer } from "./PartnerOfferLine" import { PartnerOfferedPriceQueryRenderer } from "./PartnerOfferedPrice" @@ -295,8 +295,8 @@ export const Details: React.FC = ({ const isAuction = rest?.artwork?.sale?.is_auction ?? false const artworkId = rest?.artwork?.internalID - const showPrimaryLabelLine: boolean = - !!rest?.artwork?.collectorSignals?.primaryLabel && !isAuction + const primaryLabel = rest?.artwork?.collectorSignals?.primaryLabel + const showPrimaryLabelLine: boolean = !!primaryLabel && !isAuction // FIXME: Extract into a real component const renderSaveButtonComponent = () => { @@ -351,7 +351,12 @@ export const Details: React.FC = ({ maxWidth={showPrimaryLabelLine ? "95%" : "75%"} overflow="hidden" > - {showPrimaryLabelLine && } + {showPrimaryLabelLine && ( + + )} {!hideArtistName && ( )} diff --git a/src/Components/Artwork/Details/PrimaryLabelLine.tsx b/src/Components/Artwork/Details/PrimaryLabelLine.tsx index 0714162ea9f..485dfe9154b 100644 --- a/src/Components/Artwork/Details/PrimaryLabelLine.tsx +++ b/src/Components/Artwork/Details/PrimaryLabelLine.tsx @@ -1,24 +1,28 @@ import { useArtworkGridContext } from "Components/ArtworkGrid/ArtworkGridContext" import { Text } from "@artsy/palette" -import { graphql, useFragment } from "react-relay" +import { graphql, createFragmentContainer } from "react-relay" import { PrimaryLabelLine_artwork$key } from "__generated__/PrimaryLabelLine_artwork.graphql" +import { FC } from "react" +import { SystemQueryRenderer } from "System/Relay/SystemQueryRenderer" +import { PrimaryLabelLineQuery } from "__generated__/PrimaryLabelLineQuery.graphql" interface PrimaryLabelLineProps { - artwork: PrimaryLabelLine_artwork$key + label: string | null | undefined + artwork?: PrimaryLabelLine_artwork$key } export const PrimaryLabelLine: React.FC = ({ + label, artwork, }) => { - const data = useFragment(primaryLabelLineFragment, artwork) - const primaryLabel = data.collectorSignals?.primaryLabel const { hideSignals } = useArtworkGridContext() + const partnerOffer = artwork?.collectorSignals?.partnerOffer - if (!primaryLabel) { + if (!label || !!partnerOffer) { return null } - if (primaryLabel === "INCREASED_INTEREST" && !hideSignals) { + if (label === "INCREASED_INTEREST" && !hideSignals) { return ( = ({ ) } - if (primaryLabel === "CURATORS_PICK" && !hideSignals) { + if (label === "CURATORS_PICK" && !hideSignals) { return ( = ({ return null } -const primaryLabelLineFragment = graphql` - fragment PrimaryLabelLine_artwork on Artwork { - collectorSignals { - primaryLabel - } +export const PrimaryLabelLineFragmentContainer = createFragmentContainer( + PrimaryLabelLine, + { + artwork: graphql` + fragment PrimaryLabelLine_artwork on Artwork { + collectorSignals { + primaryLabel + partnerOffer { + endAt + priceWithDiscount { + display + } + } + } + } + `, } -` +) + +interface PrimaryLabelLineQueryRendererProps { + id: string + label: string | null | undefined +} + +export const PrimaryLabelLineQueryRenderer: FC = ({ + id, + label, +}) => { + return ( + + lazyLoad + query={graphql` + query PrimaryLabelLineQuery($id: String!) { + artwork(id: $id) { + ...PrimaryLabelLine_artwork + } + } + `} + placeholder={} + variables={{ id }} + render={({ error, props }) => { + if (error || !props?.artwork) { + return + } + + return ( + + ) + }} + /> + ) +} diff --git a/src/__generated__/AboutArtworksRailQuery.graphql.ts b/src/__generated__/AboutArtworksRailQuery.graphql.ts index 9780212bf32..c6953c31dbe 100644 --- a/src/__generated__/AboutArtworksRailQuery.graphql.ts +++ b/src/__generated__/AboutArtworksRailQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<071fcb3fa080003858ae1f8c9cce4263>> + * @generated SignedSource<<40e999f66f32c7109ae27cabb3ec792e>> * @lightSyntaxTransform * @nogrep */ @@ -36,53 +36,53 @@ v1 = { "name": "href", "storageKey": null }, -v2 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v3 = { +v2 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v3 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v5 = { +v5 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v6 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v7 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v8 = [ - (v4/*: any*/), - (v3/*: any*/) + (v6/*: any*/), + (v4/*: any*/) ]; return { "fragment": { @@ -244,6 +244,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v2/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v3/*: any*/), + "storageKey": null + }, + (v4/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -264,7 +287,7 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -288,7 +311,7 @@ return { ], "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -312,15 +335,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v3/*: any*/), + (v4/*: any*/), (v1/*: any*/), - (v4/*: any*/) + (v6/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -333,15 +356,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v4/*: any*/), + (v6/*: any*/), (v1/*: any*/), - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -353,7 +376,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v5/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -389,7 +412,7 @@ return { "name": "isClosed", "storageKey": null }, - (v3/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -408,7 +431,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -416,7 +439,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v5/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -456,7 +479,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, { @@ -466,10 +489,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": null }, @@ -481,8 +504,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), - (v3/*: any*/) + (v7/*: any*/), + (v4/*: any*/) ], "storageKey": null }, @@ -579,30 +602,30 @@ return { "name": "slug", "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "artworksConnection(first:50)" }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "marketingCollection(slug:\"trending-this-week\")" } ] }, "params": { - "cacheID": "03dde71827da3e313e5ebea8d63e9ce0", + "cacheID": "a26e0271ea7f0bc4a4759233d37ea498", "id": null, "metadata": {}, "name": "AboutArtworksRailQuery", "operationKind": "query", - "text": "query AboutArtworksRailQuery {\n marketingCollection(slug: \"trending-this-week\") {\n ...AboutArtworksRail_marketingCollection\n id\n }\n}\n\nfragment AboutArtworksRail_marketingCollection on MarketingCollection {\n artworksConnection(first: 50) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n slug\n href\n id\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query AboutArtworksRailQuery {\n marketingCollection(slug: \"trending-this-week\") {\n ...AboutArtworksRail_marketingCollection\n id\n }\n}\n\nfragment AboutArtworksRail_marketingCollection on MarketingCollection {\n artworksConnection(first: 50) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n slug\n href\n id\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/AddArtworksModalContentPaginationQuery.graphql.ts b/src/__generated__/AddArtworksModalContentPaginationQuery.graphql.ts index 50a5c32b43f..c4a7aa38a58 100644 --- a/src/__generated__/AddArtworksModalContentPaginationQuery.graphql.ts +++ b/src/__generated__/AddArtworksModalContentPaginationQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -75,53 +75,53 @@ v3 = { "name": "href", "storageKey": null }, -v4 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v5 = { +v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v5 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v7 = { +v7 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v8 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v8 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v9 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v10 = [ - (v6/*: any*/), - (v5/*: any*/) + (v8/*: any*/), + (v6/*: any*/) ]; return { "fragment": { @@ -367,6 +367,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v4/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v5/*: any*/), + "storageKey": null + }, + (v6/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -387,7 +410,7 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -411,7 +434,7 @@ return { ], "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -435,15 +458,15 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v5/*: any*/), + (v6/*: any*/), (v3/*: any*/), - (v6/*: any*/) + (v8/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -456,15 +479,15 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v6/*: any*/), + (v8/*: any*/), (v3/*: any*/), - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -476,7 +499,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v7/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -512,7 +535,7 @@ return { "name": "isClosed", "storageKey": null }, - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -531,7 +554,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -539,7 +562,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v7/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -579,7 +602,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v9/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, { @@ -589,10 +612,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v9/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null }, @@ -604,8 +627,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), - (v5/*: any*/) + (v9/*: any*/), + (v6/*: any*/) ], "storageKey": null }, @@ -647,7 +670,7 @@ return { "name": "isUnlisted", "storageKey": null }, - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -707,23 +730,23 @@ return { "kind": "LinkedHandle", "name": "artworksConnection" }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "collection(id:\"saved-artwork\")" }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null } ] }, "params": { - "cacheID": "d3a404585e1b306398206ef80acdd9a4", + "cacheID": "d95051c27d4785ac1ee3ba19e987689f", "id": null, "metadata": {}, "name": "AddArtworksModalContentPaginationQuery", "operationKind": "query", - "text": "query AddArtworksModalContentPaginationQuery(\n $after: String\n $first: Int!\n $sort: CollectionArtworkSorts\n) {\n me {\n ...AddArtworksModalContent_me_dWkdd\n id\n }\n}\n\nfragment AddArtworksModalContent_me_dWkdd on Me {\n collection(id: \"saved-artwork\") {\n artworksCount(onlyVisible: true)\n artworksConnection(first: $first, after: $after, sort: $sort) {\n ...ArtworksList_artworks\n edges {\n node {\n internalID\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n id\n }\n}\n\nfragment ArtworksList_artworks on ArtworkConnection {\n edges {\n node {\n internalID\n ...GridItem_artwork\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query AddArtworksModalContentPaginationQuery(\n $after: String\n $first: Int!\n $sort: CollectionArtworkSorts\n) {\n me {\n ...AddArtworksModalContent_me_dWkdd\n id\n }\n}\n\nfragment AddArtworksModalContent_me_dWkdd on Me {\n collection(id: \"saved-artwork\") {\n artworksCount(onlyVisible: true)\n artworksConnection(first: $first, after: $after, sort: $sort) {\n ...ArtworksList_artworks\n edges {\n node {\n internalID\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n id\n }\n}\n\nfragment ArtworksList_artworks on ArtworkConnection {\n edges {\n node {\n internalID\n ...GridItem_artwork\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/AddArtworksModalContentQuery.graphql.ts b/src/__generated__/AddArtworksModalContentQuery.graphql.ts index ea2b36be1bf..fa236724236 100644 --- a/src/__generated__/AddArtworksModalContentQuery.graphql.ts +++ b/src/__generated__/AddArtworksModalContentQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<29d840f4f04018a8641b5fb9396d7efc>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -48,53 +48,53 @@ v2 = { "name": "href", "storageKey": null }, -v3 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v4 = { +v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v4 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v6 = { +v6 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v7 = { +v8 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v8 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v9 = [ - (v5/*: any*/), - (v4/*: any*/) + (v7/*: any*/), + (v5/*: any*/) ]; return { "fragment": { @@ -340,6 +340,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v3/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v4/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -360,7 +383,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -384,7 +407,7 @@ return { ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -408,15 +431,15 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v4/*: any*/), + (v5/*: any*/), (v2/*: any*/), - (v5/*: any*/) + (v7/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -429,15 +452,15 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v5/*: any*/), + (v7/*: any*/), (v2/*: any*/), - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -449,7 +472,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v6/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -485,7 +508,7 @@ return { "name": "isClosed", "storageKey": null }, - (v4/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -504,7 +527,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -512,7 +535,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v6/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -552,7 +575,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, { @@ -562,10 +585,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null }, @@ -577,8 +600,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), - (v4/*: any*/) + (v8/*: any*/), + (v5/*: any*/) ], "storageKey": null }, @@ -620,7 +643,7 @@ return { "name": "isUnlisted", "storageKey": null }, - (v4/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -680,23 +703,23 @@ return { "kind": "LinkedHandle", "name": "artworksConnection" }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "collection(id:\"saved-artwork\")" }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null } ] }, "params": { - "cacheID": "5c7e2e7dc7d736198305e1b558d0636c", + "cacheID": "42805865554ead66c41f3001a02ebfee", "id": null, "metadata": {}, "name": "AddArtworksModalContentQuery", "operationKind": "query", - "text": "query AddArtworksModalContentQuery {\n me {\n ...AddArtworksModalContent_me\n id\n }\n}\n\nfragment AddArtworksModalContent_me on Me {\n collection(id: \"saved-artwork\") {\n artworksCount(onlyVisible: true)\n artworksConnection(first: 30, sort: POSITION_DESC) {\n ...ArtworksList_artworks\n edges {\n node {\n internalID\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n id\n }\n}\n\nfragment ArtworksList_artworks on ArtworkConnection {\n edges {\n node {\n internalID\n ...GridItem_artwork\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query AddArtworksModalContentQuery {\n me {\n ...AddArtworksModalContent_me\n id\n }\n}\n\nfragment AddArtworksModalContent_me on Me {\n collection(id: \"saved-artwork\") {\n artworksCount(onlyVisible: true)\n artworksConnection(first: 30, sort: POSITION_DESC) {\n ...ArtworksList_artworks\n edges {\n node {\n internalID\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n id\n }\n}\n\nfragment ArtworksList_artworks on ArtworkConnection {\n edges {\n node {\n internalID\n ...GridItem_artwork\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtQuizLikedArtworksQuery.graphql.ts b/src/__generated__/ArtQuizLikedArtworksQuery.graphql.ts index fd6e0ff46f3..e9056407a1c 100644 --- a/src/__generated__/ArtQuizLikedArtworksQuery.graphql.ts +++ b/src/__generated__/ArtQuizLikedArtworksQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -36,53 +36,53 @@ v1 = { "name": "href", "storageKey": null }, -v2 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v3 = { +v2 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v3 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v5 = { +v5 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v6 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v7 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v8 = [ - (v4/*: any*/), - (v3/*: any*/) + (v6/*: any*/), + (v4/*: any*/) ]; return { "fragment": { @@ -293,6 +293,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v2/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v3/*: any*/), + "storageKey": null + }, + (v4/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -313,7 +336,7 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -337,7 +360,7 @@ return { ], "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -361,15 +384,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v3/*: any*/), + (v4/*: any*/), (v1/*: any*/), - (v4/*: any*/) + (v6/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -382,15 +405,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v4/*: any*/), + (v6/*: any*/), (v1/*: any*/), - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -402,7 +425,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v5/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -438,7 +461,7 @@ return { "name": "isClosed", "storageKey": null }, - (v3/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -457,7 +480,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -465,7 +488,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v5/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -505,7 +528,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, { @@ -515,10 +538,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": null }, @@ -530,8 +553,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), - (v3/*: any*/) + (v7/*: any*/), + (v4/*: any*/) ], "storageKey": null }, @@ -573,27 +596,27 @@ return { "name": "isUnlisted", "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": null } ] }, "params": { - "cacheID": "7bce3fbc95e7c1fe1d0b969f2e0f19ec", + "cacheID": "f0fe1254f2bf8f27b0e3d591b4eb07e3", "id": null, "metadata": {}, "name": "ArtQuizLikedArtworksQuery", "operationKind": "query", - "text": "query ArtQuizLikedArtworksQuery {\n me {\n ...ArtQuizLikedArtworks_me\n id\n }\n}\n\nfragment ArtQuizLikedArtworks_me on Me {\n quiz {\n savedArtworks {\n ...GridItem_artwork\n internalID\n id\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ArtQuizLikedArtworksQuery {\n me {\n ...ArtQuizLikedArtworks_me\n id\n }\n}\n\nfragment ArtQuizLikedArtworks_me on Me {\n quiz {\n savedArtworks {\n ...GridItem_artwork\n internalID\n id\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtQuizRecommendedArtistsQuery.graphql.ts b/src/__generated__/ArtQuizRecommendedArtistsQuery.graphql.ts index 56159d72347..b260956ec19 100644 --- a/src/__generated__/ArtQuizRecommendedArtistsQuery.graphql.ts +++ b/src/__generated__/ArtQuizRecommendedArtistsQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<48cdbab81d13585e69e2c5576a9bf205>> + * @generated SignedSource<<1f68143b5274c545a5973cfff7cf40b4>> * @lightSyntaxTransform * @nogrep */ @@ -43,46 +43,46 @@ v2 = { "name": "href", "storageKey": null }, -v3 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v4 = { +v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v4 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "id", "storageKey": null }, -v6 = { +v6 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v7 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v8 = [ (v1/*: any*/), - (v4/*: any*/) + (v5/*: any*/) ]; return { "fragment": { @@ -320,6 +320,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v3/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v4/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -340,7 +363,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -364,7 +387,7 @@ return { ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -388,13 +411,13 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v4/*: any*/), + (v5/*: any*/), (v2/*: any*/), (v1/*: any*/) ], @@ -409,7 +432,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -417,7 +440,7 @@ return { "selections": [ (v1/*: any*/), (v2/*: any*/), - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -429,7 +452,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v5/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -465,7 +488,7 @@ return { "name": "isClosed", "storageKey": null }, - (v4/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -484,7 +507,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -492,7 +515,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v5/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -532,7 +555,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, { @@ -542,10 +565,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null }, @@ -557,8 +580,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), - (v4/*: any*/) + (v7/*: any*/), + (v5/*: any*/) ], "storageKey": null }, @@ -648,7 +671,7 @@ return { ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null } @@ -658,31 +681,31 @@ return { ], "storageKey": "artworksConnection(first:25,sort:\"PUBLISHED_AT_DESC\")" }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null } ] }, "params": { - "cacheID": "32085e07faa4c3ecdb6889ef09bc6d3a", + "cacheID": "f5e0803458c1f534923d1c85c5ef2b3e", "id": null, "metadata": {}, "name": "ArtQuizRecommendedArtistsQuery", "operationKind": "query", - "text": "query ArtQuizRecommendedArtistsQuery {\n me {\n ...ArtQuizRecommendedArtists_me\n id\n }\n}\n\nfragment ArtQuizRecommendedArtist_artist on Artist {\n internalID\n name\n href\n formattedNationalityAndBirthday\n biographyBlurb(format: HTML, partnerBio: false) {\n credit\n text\n }\n artworksConnection(first: 25, sort: PUBLISHED_AT_DESC) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n }\n }\n }\n}\n\nfragment ArtQuizRecommendedArtists_me on Me {\n quiz {\n savedArtworks {\n isSaved\n artist {\n ...ArtQuizRecommendedArtist_artist\n internalID\n id\n }\n id\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query ArtQuizRecommendedArtistsQuery {\n me {\n ...ArtQuizRecommendedArtists_me\n id\n }\n}\n\nfragment ArtQuizRecommendedArtist_artist on Artist {\n internalID\n name\n href\n formattedNationalityAndBirthday\n biographyBlurb(format: HTML, partnerBio: false) {\n credit\n text\n }\n artworksConnection(first: 25, sort: PUBLISHED_AT_DESC) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n }\n }\n }\n}\n\nfragment ArtQuizRecommendedArtists_me on Me {\n quiz {\n savedArtworks {\n isSaved\n artist {\n ...ArtQuizRecommendedArtist_artist\n internalID\n id\n }\n id\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtQuizResultsRecommendedArtworksQuery.graphql.ts b/src/__generated__/ArtQuizResultsRecommendedArtworksQuery.graphql.ts index 39e025f80a3..9b0a15659a4 100644 --- a/src/__generated__/ArtQuizResultsRecommendedArtworksQuery.graphql.ts +++ b/src/__generated__/ArtQuizResultsRecommendedArtworksQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<83f9392b23d256ac73dfbd35ce3e925b>> + * @generated SignedSource<<93b8ef9df14f8afb3d731663d892fc23>> * @lightSyntaxTransform * @nogrep */ @@ -36,53 +36,53 @@ v1 = { "name": "href", "storageKey": null }, -v2 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v3 = { +v2 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v3 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v5 = { +v5 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v6 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v7 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v8 = [ - (v4/*: any*/), - (v3/*: any*/) + (v6/*: any*/), + (v4/*: any*/) ]; return { "fragment": { @@ -293,6 +293,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v2/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v3/*: any*/), + "storageKey": null + }, + (v4/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -313,7 +336,7 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -337,7 +360,7 @@ return { ], "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -361,15 +384,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v3/*: any*/), + (v4/*: any*/), (v1/*: any*/), - (v4/*: any*/) + (v6/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -382,15 +405,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v4/*: any*/), + (v6/*: any*/), (v1/*: any*/), - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -402,7 +425,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v5/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -438,7 +461,7 @@ return { "name": "isClosed", "storageKey": null }, - (v3/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -457,7 +480,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -465,7 +488,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v5/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -505,7 +528,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, { @@ -515,10 +538,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": null }, @@ -530,8 +553,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), - (v3/*: any*/) + (v7/*: any*/), + (v4/*: any*/) ], "storageKey": null }, @@ -573,27 +596,27 @@ return { "name": "isUnlisted", "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": null } ] }, "params": { - "cacheID": "6293cd97d311042f342eddbb6ee3dc2c", + "cacheID": "7ee7d76bc655d82408bd420386f2fe6f", "id": null, "metadata": {}, "name": "ArtQuizResultsRecommendedArtworksQuery", "operationKind": "query", - "text": "query ArtQuizResultsRecommendedArtworksQuery {\n me {\n ...ArtQuizResultsRecommendedArtworks_me\n id\n }\n}\n\nfragment ArtQuizResultsRecommendedArtworks_me on Me {\n quiz {\n recommendedArtworks {\n internalID\n ...GridItem_artwork\n id\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ArtQuizResultsRecommendedArtworksQuery {\n me {\n ...ArtQuizResultsRecommendedArtworks_me\n id\n }\n}\n\nfragment ArtQuizResultsRecommendedArtworks_me on Me {\n quiz {\n recommendedArtworks {\n internalID\n ...GridItem_artwork\n id\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtQuizTrendingArtistsQuery.graphql.ts b/src/__generated__/ArtQuizTrendingArtistsQuery.graphql.ts index 6f9ead57b71..83d57410631 100644 --- a/src/__generated__/ArtQuizTrendingArtistsQuery.graphql.ts +++ b/src/__generated__/ArtQuizTrendingArtistsQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<7c99e766c443d26392656e5b77760dad>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -43,46 +43,46 @@ v2 = { "name": "href", "storageKey": null }, -v3 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v4 = { +v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v4 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "id", "storageKey": null }, -v6 = { +v6 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v7 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v8 = [ (v1/*: any*/), - (v4/*: any*/) + (v5/*: any*/) ]; return { "fragment": { @@ -319,6 +319,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v3/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v4/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -339,7 +362,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -363,7 +386,7 @@ return { ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -387,13 +410,13 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v4/*: any*/), + (v5/*: any*/), (v2/*: any*/), (v1/*: any*/) ], @@ -408,7 +431,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -416,7 +439,7 @@ return { "selections": [ (v1/*: any*/), (v2/*: any*/), - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -428,7 +451,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v5/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -464,7 +487,7 @@ return { "name": "isClosed", "storageKey": null }, - (v4/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -483,7 +506,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -491,7 +514,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v5/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -531,7 +554,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, { @@ -541,10 +564,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null }, @@ -556,8 +579,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), - (v4/*: any*/) + (v7/*: any*/), + (v5/*: any*/) ], "storageKey": null }, @@ -647,7 +670,7 @@ return { ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null } @@ -657,7 +680,7 @@ return { ], "storageKey": "artworksConnection(first:25,sort:\"PUBLISHED_AT_DESC\")" }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null } @@ -673,12 +696,12 @@ return { ] }, "params": { - "cacheID": "893a31dafe9c4183791c74ec7477b50e", + "cacheID": "110e7976d597f8ee8d67be940a6d6ea8", "id": null, "metadata": {}, "name": "ArtQuizTrendingArtistsQuery", "operationKind": "query", - "text": "query ArtQuizTrendingArtistsQuery {\n viewer {\n ...ArtQuizTrendingArtists_viewer\n }\n}\n\nfragment ArtQuizRecommendedArtist_artist on Artist {\n internalID\n name\n href\n formattedNationalityAndBirthday\n biographyBlurb(format: HTML, partnerBio: false) {\n credit\n text\n }\n artworksConnection(first: 25, sort: PUBLISHED_AT_DESC) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n }\n }\n }\n}\n\nfragment ArtQuizTrendingArtists_viewer on Viewer {\n curatedTrendingArtists(first: 16) {\n edges {\n node {\n ...ArtQuizRecommendedArtist_artist\n internalID\n id\n }\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query ArtQuizTrendingArtistsQuery {\n viewer {\n ...ArtQuizTrendingArtists_viewer\n }\n}\n\nfragment ArtQuizRecommendedArtist_artist on Artist {\n internalID\n name\n href\n formattedNationalityAndBirthday\n biographyBlurb(format: HTML, partnerBio: false) {\n credit\n text\n }\n artworksConnection(first: 25, sort: PUBLISHED_AT_DESC) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n }\n }\n }\n}\n\nfragment ArtQuizTrendingArtists_viewer on Viewer {\n curatedTrendingArtists(first: 16) {\n edges {\n node {\n ...ArtQuizRecommendedArtist_artist\n internalID\n id\n }\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtQuizTrendingCollectionsQuery.graphql.ts b/src/__generated__/ArtQuizTrendingCollectionsQuery.graphql.ts index 5280289f3ee..db4dc53a6d6 100644 --- a/src/__generated__/ArtQuizTrendingCollectionsQuery.graphql.ts +++ b/src/__generated__/ArtQuizTrendingCollectionsQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<639c2615dbde8d9c1c81e0815e498fab>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -43,53 +43,53 @@ v2 = { "name": "href", "storageKey": null }, -v3 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v4 = { +v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v4 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v6 = { +v6 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v7 = { +v8 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v8 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v9 = [ - (v5/*: any*/), - (v4/*: any*/) + (v7/*: any*/), + (v5/*: any*/) ]; return { "fragment": { @@ -270,6 +270,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v3/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v4/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -290,7 +313,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -314,7 +337,7 @@ return { ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -338,15 +361,15 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v4/*: any*/), + (v5/*: any*/), (v2/*: any*/), - (v5/*: any*/) + (v7/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -359,15 +382,15 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v5/*: any*/), + (v7/*: any*/), (v2/*: any*/), - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -379,7 +402,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v6/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -415,7 +438,7 @@ return { "name": "isClosed", "storageKey": null }, - (v4/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -434,7 +457,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -442,7 +465,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v6/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -482,7 +505,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, { @@ -492,10 +515,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null }, @@ -507,8 +530,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), - (v4/*: any*/) + (v8/*: any*/), + (v5/*: any*/) ], "storageKey": null }, @@ -598,19 +621,19 @@ return { ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "artworksConnection(first:16)" }, (v1/*: any*/), - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "marketingCollections(slugs:[\"trending-this-week\",\"iconic-prints\",\"street-art-highlights\",\"artists-on-the-rise\",\"finds-under-1000-dollars\",\"top-auction-lots\",\"curators-picks-emerging\",\"contemporary-now\"])" } @@ -620,12 +643,12 @@ return { ] }, "params": { - "cacheID": "f9a47ee18282f03923d429a270a4534d", + "cacheID": "4f1fc584483765530ff71346488e3991", "id": null, "metadata": {}, "name": "ArtQuizTrendingCollectionsQuery", "operationKind": "query", - "text": "query ArtQuizTrendingCollectionsQuery {\n viewer {\n ...ArtQuizTrendingCollections_viewer\n }\n}\n\nfragment ArtQuizTrendingCollection_collection on MarketingCollection {\n title\n description\n artworksConnection(first: 16) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n }\n }\n id\n }\n}\n\nfragment ArtQuizTrendingCollections_viewer on Viewer {\n marketingCollections(slugs: [\"trending-this-week\", \"iconic-prints\", \"street-art-highlights\", \"artists-on-the-rise\", \"finds-under-1000-dollars\", \"top-auction-lots\", \"curators-picks-emerging\", \"contemporary-now\"]) {\n ...ArtQuizTrendingCollection_collection\n internalID\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query ArtQuizTrendingCollectionsQuery {\n viewer {\n ...ArtQuizTrendingCollections_viewer\n }\n}\n\nfragment ArtQuizTrendingCollection_collection on MarketingCollection {\n title\n description\n artworksConnection(first: 16) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n }\n }\n id\n }\n}\n\nfragment ArtQuizTrendingCollections_viewer on Viewer {\n marketingCollections(slugs: [\"trending-this-week\", \"iconic-prints\", \"street-art-highlights\", \"artists-on-the-rise\", \"finds-under-1000-dollars\", \"top-auction-lots\", \"curators-picks-emerging\", \"contemporary-now\"]) {\n ...ArtQuizTrendingCollection_collection\n internalID\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArticleBody_test_Query.graphql.ts b/src/__generated__/ArticleBody_test_Query.graphql.ts index 9b35cef0ade..b3af6e9ee8c 100644 --- a/src/__generated__/ArticleBody_test_Query.graphql.ts +++ b/src/__generated__/ArticleBody_test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<5a61d40aa8fc055d8c01286f083b0cd2>> * @lightSyntaxTransform * @nogrep */ @@ -177,28 +177,14 @@ v19 = { "name": "date", "storageKey": null }, -v20 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v21 = { +v20 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v22 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lotID", - "storageKey": null -}, -v23 = [ +v21 = [ { "alias": null, "args": null, @@ -207,6 +193,20 @@ v23 = [ "storageKey": null } ], +v22 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v23 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "lotID", + "storageKey": null +}, v24 = [ (v12/*: any*/), (v13/*: any*/) @@ -669,6 +669,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v20/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v21/*: any*/), + "storageKey": null + }, + (v13/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -689,7 +712,7 @@ return { }, { "alias": null, - "args": (v20/*: any*/), + "args": (v22/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -737,7 +760,7 @@ return { }, { "alias": null, - "args": (v20/*: any*/), + "args": (v22/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -758,7 +781,7 @@ return { }, { "alias": null, - "args": (v20/*: any*/), + "args": (v22/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -778,7 +801,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v21/*: any*/), + (v20/*: any*/), { "alias": null, "args": null, @@ -833,7 +856,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v22/*: any*/), + (v23/*: any*/), { "alias": null, "args": null, @@ -841,7 +864,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v21/*: any*/), + (v20/*: any*/), { "alias": null, "args": null, @@ -881,7 +904,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v23/*: any*/), + "selections": (v21/*: any*/), "storageKey": null }, { @@ -891,7 +914,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v23/*: any*/), + "selections": (v21/*: any*/), "storageKey": null }, (v13/*: any*/) @@ -906,7 +929,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v22/*: any*/), + (v23/*: any*/), (v13/*: any*/) ], "storageKey": null @@ -1267,7 +1290,7 @@ return { ] }, "params": { - "cacheID": "62ab3a21d316c299febe105a7c301a83", + "cacheID": "ccad9efb5667b839469c1f6fe3757041", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1468,6 +1491,21 @@ return { "article.sections.figures.collectorSignals.auction.lotClosesAt": (v30/*: any*/), "article.sections.figures.collectorSignals.auction.onlineBiddingExtended": (v39/*: any*/), "article.sections.figures.collectorSignals.auction.registrationEndsAt": (v30/*: any*/), + "article.sections.figures.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "article.sections.figures.collectorSignals.partnerOffer.endAt": (v30/*: any*/), + "article.sections.figures.collectorSignals.partnerOffer.id": (v31/*: any*/), + "article.sections.figures.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "article.sections.figures.collectorSignals.partnerOffer.priceWithDiscount.display": (v30/*: any*/), "article.sections.figures.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1613,7 +1651,7 @@ return { }, "name": "ArticleBody_test_Query", "operationKind": "query", - "text": "query ArticleBody_test_Query {\n article(id: \"example\") {\n ...ArticleBody_article\n id\n }\n}\n\nfragment ArticleBody_article on Article {\n ...ArticleHero_article\n ...ArticleByline_article\n ...ArticleSectionAd_article\n ...ArticleNewsSource_article\n hero {\n __typename\n }\n seriesArticle {\n thumbnailTitle\n href\n id\n }\n vertical\n byline\n internalID\n slug\n layout\n leadParagraph\n title\n href\n publishedAt\n sections {\n __typename\n ...ArticleSection_section\n }\n postscript\n relatedArticles {\n internalID\n title\n href\n byline\n thumbnailImage {\n cropped(width: 100, height: 100) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleByline_article on Article {\n byline\n authors {\n internalID\n name\n initials\n bio\n image {\n cropped(width: 60, height: 60) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleHero_article on Article {\n title\n href\n vertical\n byline\n hero {\n __typename\n ... on ArticleFeatureSection {\n layout\n embed\n media\n image {\n url\n split: resized(width: 900) {\n src\n srcSet\n }\n text: cropped(width: 1600, height: 900) {\n src\n srcSet\n }\n }\n }\n }\n}\n\nfragment ArticleNewsSource_article on Article {\n newsSource {\n title\n url\n }\n}\n\nfragment ArticleSectionAd_article on Article {\n layout\n sections {\n __typename\n }\n}\n\nfragment ArticleSectionEmbed_section on ArticleSectionEmbed {\n url\n height\n mobileHeight\n _layout: layout\n}\n\nfragment ArticleSectionImageCollectionCaption_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ...Metadata_artwork\n ... on ArticleImageSection {\n caption\n }\n ... on ArticleUnpublishedArtwork {\n title\n date\n artist {\n name\n }\n partner {\n name\n }\n }\n}\n\nfragment ArticleSectionImageCollectionImage_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n ... on ArticleImageSection {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on Artwork {\n id\n formattedMetadata\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on ArticleUnpublishedArtwork {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n}\n\nfragment ArticleSectionImageCollection_section on ArticleSectionImageCollection {\n layout\n figures {\n __typename\n ...ArticleSectionImageCollectionImage_figure\n ...ArticleSectionImageCollectionCaption_figure\n ... on Node {\n __isNode: __typename\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on ArticleUnpublishedArtwork {\n id\n }\n }\n}\n\nfragment ArticleSectionImageSet_section on ArticleSectionImageSet {\n setLayout: layout\n title\n counts {\n figures\n }\n cover {\n __typename\n ... on ArticleImageSection {\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Artwork {\n formattedMetadata\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArticleSectionSocialEmbed_section on ArticleSectionSocialEmbed {\n url\n embed\n}\n\nfragment ArticleSectionText_section on ArticleSectionText {\n body\n}\n\nfragment ArticleSectionVideo_section on ArticleSectionVideo {\n embed(autoPlay: true)\n fallbackEmbed: embed(autoPlay: false)\n image {\n cropped(width: 910, height: 512) {\n src\n srcSet\n }\n }\n}\n\nfragment ArticleSection_section on ArticleSections {\n __isArticleSections: __typename\n __typename\n ...ArticleSectionText_section\n ...ArticleSectionImageCollection_section\n ...ArticleSectionImageSet_section\n ...ArticleSectionVideo_section\n ...ArticleSectionSocialEmbed_section\n ...ArticleSectionEmbed_section\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ArticleBody_test_Query {\n article(id: \"example\") {\n ...ArticleBody_article\n id\n }\n}\n\nfragment ArticleBody_article on Article {\n ...ArticleHero_article\n ...ArticleByline_article\n ...ArticleSectionAd_article\n ...ArticleNewsSource_article\n hero {\n __typename\n }\n seriesArticle {\n thumbnailTitle\n href\n id\n }\n vertical\n byline\n internalID\n slug\n layout\n leadParagraph\n title\n href\n publishedAt\n sections {\n __typename\n ...ArticleSection_section\n }\n postscript\n relatedArticles {\n internalID\n title\n href\n byline\n thumbnailImage {\n cropped(width: 100, height: 100) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleByline_article on Article {\n byline\n authors {\n internalID\n name\n initials\n bio\n image {\n cropped(width: 60, height: 60) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleHero_article on Article {\n title\n href\n vertical\n byline\n hero {\n __typename\n ... on ArticleFeatureSection {\n layout\n embed\n media\n image {\n url\n split: resized(width: 900) {\n src\n srcSet\n }\n text: cropped(width: 1600, height: 900) {\n src\n srcSet\n }\n }\n }\n }\n}\n\nfragment ArticleNewsSource_article on Article {\n newsSource {\n title\n url\n }\n}\n\nfragment ArticleSectionAd_article on Article {\n layout\n sections {\n __typename\n }\n}\n\nfragment ArticleSectionEmbed_section on ArticleSectionEmbed {\n url\n height\n mobileHeight\n _layout: layout\n}\n\nfragment ArticleSectionImageCollectionCaption_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ...Metadata_artwork\n ... on ArticleImageSection {\n caption\n }\n ... on ArticleUnpublishedArtwork {\n title\n date\n artist {\n name\n }\n partner {\n name\n }\n }\n}\n\nfragment ArticleSectionImageCollectionImage_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n ... on ArticleImageSection {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on Artwork {\n id\n formattedMetadata\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on ArticleUnpublishedArtwork {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n}\n\nfragment ArticleSectionImageCollection_section on ArticleSectionImageCollection {\n layout\n figures {\n __typename\n ...ArticleSectionImageCollectionImage_figure\n ...ArticleSectionImageCollectionCaption_figure\n ... on Node {\n __isNode: __typename\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on ArticleUnpublishedArtwork {\n id\n }\n }\n}\n\nfragment ArticleSectionImageSet_section on ArticleSectionImageSet {\n setLayout: layout\n title\n counts {\n figures\n }\n cover {\n __typename\n ... on ArticleImageSection {\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Artwork {\n formattedMetadata\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArticleSectionSocialEmbed_section on ArticleSectionSocialEmbed {\n url\n embed\n}\n\nfragment ArticleSectionText_section on ArticleSectionText {\n body\n}\n\nfragment ArticleSectionVideo_section on ArticleSectionVideo {\n embed(autoPlay: true)\n fallbackEmbed: embed(autoPlay: false)\n image {\n cropped(width: 910, height: 512) {\n src\n srcSet\n }\n }\n}\n\nfragment ArticleSection_section on ArticleSections {\n __isArticleSections: __typename\n __typename\n ...ArticleSectionText_section\n ...ArticleSectionImageCollection_section\n ...ArticleSectionImageSet_section\n ...ArticleSectionVideo_section\n ...ArticleSectionSocialEmbed_section\n ...ArticleSectionEmbed_section\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArticleInfiniteScrollQuery.graphql.ts b/src/__generated__/ArticleInfiniteScrollQuery.graphql.ts index f3093ad5e55..2e0cb21ca34 100644 --- a/src/__generated__/ArticleInfiniteScrollQuery.graphql.ts +++ b/src/__generated__/ArticleInfiniteScrollQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -228,28 +228,14 @@ v23 = { "name": "date", "storageKey": null }, -v24 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v25 = { +v24 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v26 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lotID", - "storageKey": null -}, -v27 = [ +v25 = [ { "alias": null, "args": null, @@ -258,6 +244,20 @@ v27 = [ "storageKey": null } ], +v26 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v27 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "lotID", + "storageKey": null +}, v28 = [ (v16/*: any*/), (v17/*: any*/) @@ -692,6 +692,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v24/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v25/*: any*/), + "storageKey": null + }, + (v17/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -712,7 +735,7 @@ return { }, { "alias": null, - "args": (v24/*: any*/), + "args": (v26/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -760,7 +783,7 @@ return { }, { "alias": null, - "args": (v24/*: any*/), + "args": (v26/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -781,7 +804,7 @@ return { }, { "alias": null, - "args": (v24/*: any*/), + "args": (v26/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -801,7 +824,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v25/*: any*/), + (v24/*: any*/), { "alias": null, "args": null, @@ -856,7 +879,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v26/*: any*/), + (v27/*: any*/), { "alias": null, "args": null, @@ -864,7 +887,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v25/*: any*/), + (v24/*: any*/), { "alias": null, "args": null, @@ -904,7 +927,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v27/*: any*/), + "selections": (v25/*: any*/), "storageKey": null }, { @@ -914,7 +937,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v27/*: any*/), + "selections": (v25/*: any*/), "storageKey": null }, (v17/*: any*/) @@ -929,7 +952,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v26/*: any*/), + (v27/*: any*/), (v17/*: any*/) ], "storageKey": null @@ -1353,12 +1376,12 @@ return { ] }, "params": { - "cacheID": "6b90429dbe9033b4d13f2bbca61f92d3", + "cacheID": "89b5d4188a394c8279e64750e37b2915", "id": null, "metadata": {}, "name": "ArticleInfiniteScrollQuery", "operationKind": "query", - "text": "query ArticleInfiniteScrollQuery(\n $after: String\n $channelID: String!\n $articleID: String!\n) @cacheable {\n viewer {\n ...ArticleInfiniteScroll_viewer_1LMuZg\n }\n}\n\nfragment ArticleBody_article on Article {\n ...ArticleHero_article\n ...ArticleByline_article\n ...ArticleSectionAd_article\n ...ArticleNewsSource_article\n hero {\n __typename\n }\n seriesArticle {\n thumbnailTitle\n href\n id\n }\n vertical\n byline\n internalID\n slug\n layout\n leadParagraph\n title\n href\n publishedAt\n sections {\n __typename\n ...ArticleSection_section\n }\n postscript\n relatedArticles {\n internalID\n title\n href\n byline\n thumbnailImage {\n cropped(width: 100, height: 100) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleByline_article on Article {\n byline\n authors {\n internalID\n name\n initials\n bio\n image {\n cropped(width: 60, height: 60) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleHero_article on Article {\n title\n href\n vertical\n byline\n hero {\n __typename\n ... on ArticleFeatureSection {\n layout\n embed\n media\n image {\n url\n split: resized(width: 900) {\n src\n srcSet\n }\n text: cropped(width: 1600, height: 900) {\n src\n srcSet\n }\n }\n }\n }\n}\n\nfragment ArticleInfiniteScroll_viewer_1LMuZg on Viewer {\n articlesConnection(first: 1, after: $after, channelId: $channelID, omit: [$articleID], sort: PUBLISHED_AT_DESC, layout: STANDARD) {\n edges {\n node {\n ...ArticleBody_article\n ...ArticleVisibilityMetadata_article\n internalID\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment ArticleNewsSource_article on Article {\n newsSource {\n title\n url\n }\n}\n\nfragment ArticleSectionAd_article on Article {\n layout\n sections {\n __typename\n }\n}\n\nfragment ArticleSectionEmbed_section on ArticleSectionEmbed {\n url\n height\n mobileHeight\n _layout: layout\n}\n\nfragment ArticleSectionImageCollectionCaption_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ...Metadata_artwork\n ... on ArticleImageSection {\n caption\n }\n ... on ArticleUnpublishedArtwork {\n title\n date\n artist {\n name\n }\n partner {\n name\n }\n }\n}\n\nfragment ArticleSectionImageCollectionImage_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n ... on ArticleImageSection {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on Artwork {\n id\n formattedMetadata\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on ArticleUnpublishedArtwork {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n}\n\nfragment ArticleSectionImageCollection_section on ArticleSectionImageCollection {\n layout\n figures {\n __typename\n ...ArticleSectionImageCollectionImage_figure\n ...ArticleSectionImageCollectionCaption_figure\n ... on Node {\n __isNode: __typename\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on ArticleUnpublishedArtwork {\n id\n }\n }\n}\n\nfragment ArticleSectionImageSet_section on ArticleSectionImageSet {\n setLayout: layout\n title\n counts {\n figures\n }\n cover {\n __typename\n ... on ArticleImageSection {\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Artwork {\n formattedMetadata\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArticleSectionSocialEmbed_section on ArticleSectionSocialEmbed {\n url\n embed\n}\n\nfragment ArticleSectionText_section on ArticleSectionText {\n body\n}\n\nfragment ArticleSectionVideo_section on ArticleSectionVideo {\n embed(autoPlay: true)\n fallbackEmbed: embed(autoPlay: false)\n image {\n cropped(width: 910, height: 512) {\n src\n srcSet\n }\n }\n}\n\nfragment ArticleSection_section on ArticleSections {\n __isArticleSections: __typename\n __typename\n ...ArticleSectionText_section\n ...ArticleSectionImageCollection_section\n ...ArticleSectionImageSet_section\n ...ArticleSectionVideo_section\n ...ArticleSectionSocialEmbed_section\n ...ArticleSectionEmbed_section\n}\n\nfragment ArticleVisibilityMetadata_article on Article {\n title\n searchTitle\n href\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ArticleInfiniteScrollQuery(\n $after: String\n $channelID: String!\n $articleID: String!\n) @cacheable {\n viewer {\n ...ArticleInfiniteScroll_viewer_1LMuZg\n }\n}\n\nfragment ArticleBody_article on Article {\n ...ArticleHero_article\n ...ArticleByline_article\n ...ArticleSectionAd_article\n ...ArticleNewsSource_article\n hero {\n __typename\n }\n seriesArticle {\n thumbnailTitle\n href\n id\n }\n vertical\n byline\n internalID\n slug\n layout\n leadParagraph\n title\n href\n publishedAt\n sections {\n __typename\n ...ArticleSection_section\n }\n postscript\n relatedArticles {\n internalID\n title\n href\n byline\n thumbnailImage {\n cropped(width: 100, height: 100) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleByline_article on Article {\n byline\n authors {\n internalID\n name\n initials\n bio\n image {\n cropped(width: 60, height: 60) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleHero_article on Article {\n title\n href\n vertical\n byline\n hero {\n __typename\n ... on ArticleFeatureSection {\n layout\n embed\n media\n image {\n url\n split: resized(width: 900) {\n src\n srcSet\n }\n text: cropped(width: 1600, height: 900) {\n src\n srcSet\n }\n }\n }\n }\n}\n\nfragment ArticleInfiniteScroll_viewer_1LMuZg on Viewer {\n articlesConnection(first: 1, after: $after, channelId: $channelID, omit: [$articleID], sort: PUBLISHED_AT_DESC, layout: STANDARD) {\n edges {\n node {\n ...ArticleBody_article\n ...ArticleVisibilityMetadata_article\n internalID\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment ArticleNewsSource_article on Article {\n newsSource {\n title\n url\n }\n}\n\nfragment ArticleSectionAd_article on Article {\n layout\n sections {\n __typename\n }\n}\n\nfragment ArticleSectionEmbed_section on ArticleSectionEmbed {\n url\n height\n mobileHeight\n _layout: layout\n}\n\nfragment ArticleSectionImageCollectionCaption_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ...Metadata_artwork\n ... on ArticleImageSection {\n caption\n }\n ... on ArticleUnpublishedArtwork {\n title\n date\n artist {\n name\n }\n partner {\n name\n }\n }\n}\n\nfragment ArticleSectionImageCollectionImage_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n ... on ArticleImageSection {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on Artwork {\n id\n formattedMetadata\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on ArticleUnpublishedArtwork {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n}\n\nfragment ArticleSectionImageCollection_section on ArticleSectionImageCollection {\n layout\n figures {\n __typename\n ...ArticleSectionImageCollectionImage_figure\n ...ArticleSectionImageCollectionCaption_figure\n ... on Node {\n __isNode: __typename\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on ArticleUnpublishedArtwork {\n id\n }\n }\n}\n\nfragment ArticleSectionImageSet_section on ArticleSectionImageSet {\n setLayout: layout\n title\n counts {\n figures\n }\n cover {\n __typename\n ... on ArticleImageSection {\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Artwork {\n formattedMetadata\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArticleSectionSocialEmbed_section on ArticleSectionSocialEmbed {\n url\n embed\n}\n\nfragment ArticleSectionText_section on ArticleSectionText {\n body\n}\n\nfragment ArticleSectionVideo_section on ArticleSectionVideo {\n embed(autoPlay: true)\n fallbackEmbed: embed(autoPlay: false)\n image {\n cropped(width: 910, height: 512) {\n src\n srcSet\n }\n }\n}\n\nfragment ArticleSection_section on ArticleSections {\n __isArticleSections: __typename\n __typename\n ...ArticleSectionText_section\n ...ArticleSectionImageCollection_section\n ...ArticleSectionImageSet_section\n ...ArticleSectionVideo_section\n ...ArticleSectionSocialEmbed_section\n ...ArticleSectionEmbed_section\n}\n\nfragment ArticleVisibilityMetadata_article on Article {\n title\n searchTitle\n href\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArticleZoomGalleryQuery.graphql.ts b/src/__generated__/ArticleZoomGalleryQuery.graphql.ts index 2fa2e65449d..64b89f81b36 100644 --- a/src/__generated__/ArticleZoomGalleryQuery.graphql.ts +++ b/src/__generated__/ArticleZoomGalleryQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<98a3ff837c4ea3bde34e952bf5861fe7>> + * @generated SignedSource<<07ab16288360e8dfb75fbbaf632bd110>> * @lightSyntaxTransform * @nogrep */ @@ -124,6 +124,29 @@ v8 = { "storageKey": null }, v9 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v10 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v11 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "id", + "storageKey": null +}, +v12 = { "alias": null, "args": null, "concreteType": "CollectorSignals", @@ -183,41 +206,57 @@ v9 = { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v9/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v10/*: any*/), + "storageKey": null + }, + (v11/*: any*/) + ], + "storageKey": null } ], "storageKey": null }, -v10 = { +v13 = { "alias": "sale_message", "args": null, "kind": "ScalarField", "name": "saleMessage", "storageKey": null }, -v11 = { +v14 = { "alias": "cultural_maker", "args": null, "kind": "ScalarField", "name": "culturalMaker", "storageKey": null }, -v12 = [ +v15 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v14 = { +v16 = { "alias": null, - "args": (v12/*: any*/), + "args": (v15/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -241,11 +280,11 @@ v14 = { ], "storageKey": null }, - (v13/*: any*/) + (v11/*: any*/) ], "storageKey": "artist(shallow:true)" }, -v15 = { +v17 = { "alias": null, "args": null, "concreteType": "ArtworkPriceInsights", @@ -263,56 +302,49 @@ v15 = { ], "storageKey": null }, -v16 = { +v18 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v17 = { +v19 = { "alias": null, - "args": (v12/*: any*/), + "args": (v15/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v13/*: any*/), + (v11/*: any*/), (v6/*: any*/), - (v16/*: any*/) + (v18/*: any*/) ], "storageKey": "artists(shallow:true)" }, -v18 = { +v20 = { "alias": "collecting_institution", "args": null, "kind": "ScalarField", "name": "collectingInstitution", "storageKey": null }, -v19 = { +v21 = { "alias": null, - "args": (v12/*: any*/), + "args": (v15/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v16/*: any*/), + (v18/*: any*/), (v6/*: any*/), - (v13/*: any*/) + (v11/*: any*/) ], "storageKey": "partner(shallow:true)" }, -v20 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v21 = { +v22 = { "alias": null, "args": null, "concreteType": "Sale", @@ -320,7 +352,7 @@ v21 = { "name": "sale", "plural": false, "selections": [ - (v20/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -356,7 +388,7 @@ v21 = { "name": "isClosed", "storageKey": null }, - (v13/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -367,22 +399,13 @@ v21 = { ], "storageKey": null }, -v22 = { +v23 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v23 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v24 = { "alias": "sale_artwork", "args": null, @@ -391,7 +414,7 @@ v24 = { "name": "saleArtwork", "plural": false, "selections": [ - (v22/*: any*/), + (v23/*: any*/), { "alias": null, "args": null, @@ -399,7 +422,7 @@ v24 = { "name": "lotLabel", "storageKey": null }, - (v20/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -439,7 +462,7 @@ v24 = { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v23/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, { @@ -449,10 +472,10 @@ v24 = { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v23/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, - (v13/*: any*/) + (v11/*: any*/) ], "storageKey": null }, @@ -464,14 +487,14 @@ v25 = { "name": "saleArtwork", "plural": false, "selections": [ - (v22/*: any*/), - (v13/*: any*/) + (v23/*: any*/), + (v11/*: any*/) ], "storageKey": null }, v26 = [ - (v16/*: any*/), - (v13/*: any*/) + (v18/*: any*/), + (v11/*: any*/) ], v27 = { "alias": null, @@ -512,7 +535,7 @@ v29 = { "storageKey": null }, v30 = [ - (v16/*: any*/) + (v18/*: any*/) ], v31 = { "alias": null, @@ -535,7 +558,7 @@ v32 = { "storageKey": null }, v33 = [ - (v13/*: any*/) + (v11/*: any*/) ], v34 = { "kind": "InlineFragment", @@ -618,20 +641,20 @@ return { (v6/*: any*/), (v7/*: any*/), (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), + (v12/*: any*/), + (v13/*: any*/), (v14/*: any*/), - (v15/*: any*/), + (v16/*: any*/), (v17/*: any*/), - (v18/*: any*/), (v19/*: any*/), + (v20/*: any*/), (v21/*: any*/), + (v22/*: any*/), (v24/*: any*/), (v25/*: any*/), (v27/*: any*/), (v28/*: any*/), - (v13/*: any*/) + (v11/*: any*/) ], "type": "Artwork", "abstractKey": null @@ -641,7 +664,7 @@ return { "selections": [ (v4/*: any*/), (v29/*: any*/), - (v13/*: any*/) + (v11/*: any*/) ], "type": "ArticleImageSection", "abstractKey": null @@ -654,7 +677,7 @@ return { (v8/*: any*/), (v31/*: any*/), (v32/*: any*/), - (v13/*: any*/) + (v11/*: any*/) ], "type": "ArticleUnpublishedArtwork", "abstractKey": null @@ -692,15 +715,15 @@ return { (v6/*: any*/), (v7/*: any*/), (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), + (v12/*: any*/), + (v13/*: any*/), (v14/*: any*/), - (v15/*: any*/), + (v16/*: any*/), (v17/*: any*/), - (v18/*: any*/), (v19/*: any*/), + (v20/*: any*/), (v21/*: any*/), + (v22/*: any*/), (v24/*: any*/), (v25/*: any*/), (v27/*: any*/), @@ -757,19 +780,19 @@ return { ], "storageKey": null }, - (v13/*: any*/) + (v11/*: any*/) ], "storageKey": null } ] }, "params": { - "cacheID": "f88cc81f34017b04c074666e5c564f71", + "cacheID": "34d59658e7983916da27658ed6b28199", "id": null, "metadata": {}, "name": "ArticleZoomGalleryQuery", "operationKind": "query", - "text": "query ArticleZoomGalleryQuery(\n $id: String!\n) {\n article(id: $id) {\n ...ArticleZoomGallery_article\n id\n }\n}\n\nfragment ArticleZoomGalleryCaption_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ... on Artwork {\n ...Metadata_artwork\n href\n }\n ... on ArticleImageSection {\n caption\n }\n ... on ArticleUnpublishedArtwork {\n title\n date\n artist {\n name\n }\n partner {\n name\n }\n }\n}\n\nfragment ArticleZoomGalleryFigure_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ... on Artwork {\n formattedMetadata\n image {\n width\n height\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n }\n }\n ... on ArticleImageSection {\n image {\n width\n height\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n }\n }\n ... on ArticleUnpublishedArtwork {\n image {\n width\n height\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n }\n }\n}\n\nfragment ArticleZoomGallery_article on Article {\n sections {\n __typename\n ... on ArticleSectionImageCollection {\n figures {\n ...ArticleZoomGalleryFigure_figure\n ...ArticleZoomGalleryCaption_figure\n __typename\n ... on Artwork {\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on ArticleUnpublishedArtwork {\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n ... on ArticleSectionImageSet {\n title\n figures {\n ...ArticleZoomGalleryFigure_figure\n ...ArticleZoomGalleryCaption_figure\n __typename\n ... on Artwork {\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ArticleZoomGalleryQuery(\n $id: String!\n) {\n article(id: $id) {\n ...ArticleZoomGallery_article\n id\n }\n}\n\nfragment ArticleZoomGalleryCaption_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ... on Artwork {\n ...Metadata_artwork\n href\n }\n ... on ArticleImageSection {\n caption\n }\n ... on ArticleUnpublishedArtwork {\n title\n date\n artist {\n name\n }\n partner {\n name\n }\n }\n}\n\nfragment ArticleZoomGalleryFigure_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ... on Artwork {\n formattedMetadata\n image {\n width\n height\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n }\n }\n ... on ArticleImageSection {\n image {\n width\n height\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n }\n }\n ... on ArticleUnpublishedArtwork {\n image {\n width\n height\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n }\n }\n}\n\nfragment ArticleZoomGallery_article on Article {\n sections {\n __typename\n ... on ArticleSectionImageCollection {\n figures {\n ...ArticleZoomGalleryFigure_figure\n ...ArticleZoomGalleryCaption_figure\n __typename\n ... on Artwork {\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on ArticleUnpublishedArtwork {\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n ... on ArticleSectionImageSet {\n title\n figures {\n ...ArticleZoomGalleryFigure_figure\n ...ArticleZoomGalleryCaption_figure\n __typename\n ... on Artwork {\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArticleZoomGallery_test_Query.graphql.ts b/src/__generated__/ArticleZoomGallery_test_Query.graphql.ts index 54f229e3b97..317b0e880f8 100644 --- a/src/__generated__/ArticleZoomGallery_test_Query.graphql.ts +++ b/src/__generated__/ArticleZoomGallery_test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<21009f8bac05de0af7c3bb4e581cc333>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -115,6 +115,29 @@ v7 = { "storageKey": null }, v8 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v9 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v10 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "id", + "storageKey": null +}, +v11 = { "alias": null, "args": null, "concreteType": "CollectorSignals", @@ -174,41 +197,57 @@ v8 = { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v8/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v9/*: any*/), + "storageKey": null + }, + (v10/*: any*/) + ], + "storageKey": null } ], "storageKey": null }, -v9 = { +v12 = { "alias": "sale_message", "args": null, "kind": "ScalarField", "name": "saleMessage", "storageKey": null }, -v10 = { +v13 = { "alias": "cultural_maker", "args": null, "kind": "ScalarField", "name": "culturalMaker", "storageKey": null }, -v11 = [ +v14 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v13 = { +v15 = { "alias": null, - "args": (v11/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -232,11 +271,11 @@ v13 = { ], "storageKey": null }, - (v12/*: any*/) + (v10/*: any*/) ], "storageKey": "artist(shallow:true)" }, -v14 = { +v16 = { "alias": null, "args": null, "concreteType": "ArtworkPriceInsights", @@ -254,56 +293,49 @@ v14 = { ], "storageKey": null }, -v15 = { +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v16 = { +v18 = { "alias": null, - "args": (v11/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v12/*: any*/), + (v10/*: any*/), (v5/*: any*/), - (v15/*: any*/) + (v17/*: any*/) ], "storageKey": "artists(shallow:true)" }, -v17 = { +v19 = { "alias": "collecting_institution", "args": null, "kind": "ScalarField", "name": "collectingInstitution", "storageKey": null }, -v18 = { +v20 = { "alias": null, - "args": (v11/*: any*/), + "args": (v14/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v15/*: any*/), + (v17/*: any*/), (v5/*: any*/), - (v12/*: any*/) + (v10/*: any*/) ], "storageKey": "partner(shallow:true)" }, -v19 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v20 = { +v21 = { "alias": null, "args": null, "concreteType": "Sale", @@ -311,7 +343,7 @@ v20 = { "name": "sale", "plural": false, "selections": [ - (v19/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -347,7 +379,7 @@ v20 = { "name": "isClosed", "storageKey": null }, - (v12/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -358,22 +390,13 @@ v20 = { ], "storageKey": null }, -v21 = { +v22 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v22 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v23 = { "alias": "sale_artwork", "args": null, @@ -382,7 +405,7 @@ v23 = { "name": "saleArtwork", "plural": false, "selections": [ - (v21/*: any*/), + (v22/*: any*/), { "alias": null, "args": null, @@ -390,7 +413,7 @@ v23 = { "name": "lotLabel", "storageKey": null }, - (v19/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -430,7 +453,7 @@ v23 = { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v22/*: any*/), + "selections": (v9/*: any*/), "storageKey": null }, { @@ -440,10 +463,10 @@ v23 = { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v22/*: any*/), + "selections": (v9/*: any*/), "storageKey": null }, - (v12/*: any*/) + (v10/*: any*/) ], "storageKey": null }, @@ -455,14 +478,14 @@ v24 = { "name": "saleArtwork", "plural": false, "selections": [ - (v21/*: any*/), - (v12/*: any*/) + (v22/*: any*/), + (v10/*: any*/) ], "storageKey": null }, v25 = [ - (v15/*: any*/), - (v12/*: any*/) + (v17/*: any*/), + (v10/*: any*/) ], v26 = { "alias": null, @@ -503,7 +526,7 @@ v28 = { "storageKey": null }, v29 = [ - (v15/*: any*/) + (v17/*: any*/) ], v30 = { "alias": null, @@ -526,7 +549,7 @@ v31 = { "storageKey": null }, v32 = [ - (v12/*: any*/) + (v10/*: any*/) ], v33 = { "kind": "InlineFragment", @@ -651,20 +674,20 @@ return { (v5/*: any*/), (v6/*: any*/), (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), + (v11/*: any*/), + (v12/*: any*/), (v13/*: any*/), - (v14/*: any*/), + (v15/*: any*/), (v16/*: any*/), - (v17/*: any*/), (v18/*: any*/), + (v19/*: any*/), (v20/*: any*/), + (v21/*: any*/), (v23/*: any*/), (v24/*: any*/), (v26/*: any*/), (v27/*: any*/), - (v12/*: any*/) + (v10/*: any*/) ], "type": "Artwork", "abstractKey": null @@ -674,7 +697,7 @@ return { "selections": [ (v3/*: any*/), (v28/*: any*/), - (v12/*: any*/) + (v10/*: any*/) ], "type": "ArticleImageSection", "abstractKey": null @@ -687,7 +710,7 @@ return { (v7/*: any*/), (v30/*: any*/), (v31/*: any*/), - (v12/*: any*/) + (v10/*: any*/) ], "type": "ArticleUnpublishedArtwork", "abstractKey": null @@ -725,15 +748,15 @@ return { (v5/*: any*/), (v6/*: any*/), (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), + (v11/*: any*/), + (v12/*: any*/), (v13/*: any*/), - (v14/*: any*/), + (v15/*: any*/), (v16/*: any*/), - (v17/*: any*/), (v18/*: any*/), + (v19/*: any*/), (v20/*: any*/), + (v21/*: any*/), (v23/*: any*/), (v24/*: any*/), (v26/*: any*/), @@ -790,14 +813,14 @@ return { ], "storageKey": null }, - (v12/*: any*/) + (v10/*: any*/) ], "storageKey": "article(id:\"example\")" } ] }, "params": { - "cacheID": "f3bcca7767b66e93c3f1927d902b5c2b", + "cacheID": "4e04411f904723341c8d6e5e26b9b7da", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -880,6 +903,21 @@ return { "article.sections.figures.collectorSignals.auction.lotClosesAt": (v36/*: any*/), "article.sections.figures.collectorSignals.auction.onlineBiddingExtended": (v38/*: any*/), "article.sections.figures.collectorSignals.auction.registrationEndsAt": (v36/*: any*/), + "article.sections.figures.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "article.sections.figures.collectorSignals.partnerOffer.endAt": (v36/*: any*/), + "article.sections.figures.collectorSignals.partnerOffer.id": (v34/*: any*/), + "article.sections.figures.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "article.sections.figures.collectorSignals.partnerOffer.priceWithDiscount.display": (v36/*: any*/), "article.sections.figures.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -997,7 +1035,7 @@ return { }, "name": "ArticleZoomGallery_test_Query", "operationKind": "query", - "text": "query ArticleZoomGallery_test_Query {\n article(id: \"example\") {\n ...ArticleZoomGallery_article\n id\n }\n}\n\nfragment ArticleZoomGalleryCaption_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ... on Artwork {\n ...Metadata_artwork\n href\n }\n ... on ArticleImageSection {\n caption\n }\n ... on ArticleUnpublishedArtwork {\n title\n date\n artist {\n name\n }\n partner {\n name\n }\n }\n}\n\nfragment ArticleZoomGalleryFigure_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ... on Artwork {\n formattedMetadata\n image {\n width\n height\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n }\n }\n ... on ArticleImageSection {\n image {\n width\n height\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n }\n }\n ... on ArticleUnpublishedArtwork {\n image {\n width\n height\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n }\n }\n}\n\nfragment ArticleZoomGallery_article on Article {\n sections {\n __typename\n ... on ArticleSectionImageCollection {\n figures {\n ...ArticleZoomGalleryFigure_figure\n ...ArticleZoomGalleryCaption_figure\n __typename\n ... on Artwork {\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on ArticleUnpublishedArtwork {\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n ... on ArticleSectionImageSet {\n title\n figures {\n ...ArticleZoomGalleryFigure_figure\n ...ArticleZoomGalleryCaption_figure\n __typename\n ... on Artwork {\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ArticleZoomGallery_test_Query {\n article(id: \"example\") {\n ...ArticleZoomGallery_article\n id\n }\n}\n\nfragment ArticleZoomGalleryCaption_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ... on Artwork {\n ...Metadata_artwork\n href\n }\n ... on ArticleImageSection {\n caption\n }\n ... on ArticleUnpublishedArtwork {\n title\n date\n artist {\n name\n }\n partner {\n name\n }\n }\n}\n\nfragment ArticleZoomGalleryFigure_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ... on Artwork {\n formattedMetadata\n image {\n width\n height\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n }\n }\n ... on ArticleImageSection {\n image {\n width\n height\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n }\n }\n ... on ArticleUnpublishedArtwork {\n image {\n width\n height\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n }\n }\n}\n\nfragment ArticleZoomGallery_article on Article {\n sections {\n __typename\n ... on ArticleSectionImageCollection {\n figures {\n ...ArticleZoomGalleryFigure_figure\n ...ArticleZoomGalleryCaption_figure\n __typename\n ... on Artwork {\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on ArticleUnpublishedArtwork {\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n ... on ArticleSectionImageSet {\n title\n figures {\n ...ArticleZoomGalleryFigure_figure\n ...ArticleZoomGalleryCaption_figure\n __typename\n ... on Artwork {\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtistArtworkFilterQuery.graphql.ts b/src/__generated__/ArtistArtworkFilterQuery.graphql.ts index 80d04f01a13..452ef751bdf 100644 --- a/src/__generated__/ArtistArtworkFilterQuery.graphql.ts +++ b/src/__generated__/ArtistArtworkFilterQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<9ffa4adfd3f886572e160a1c0fa24b3c>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -173,43 +173,43 @@ v12 = { "large" ] }, -v13 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v14 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v15 = { +v14 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v15 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v16 = { +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v17 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v18 = [ (v3/*: any*/), (v4/*: any*/) @@ -669,6 +669,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v13/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v14/*: any*/), + "storageKey": null + }, + (v4/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -689,7 +712,7 @@ return { }, { "alias": null, - "args": (v13/*: any*/), + "args": (v15/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -737,7 +760,7 @@ return { }, { "alias": null, - "args": (v13/*: any*/), + "args": (v15/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -758,7 +781,7 @@ return { }, { "alias": null, - "args": (v13/*: any*/), + "args": (v15/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -778,7 +801,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v14/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -840,7 +863,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -848,8 +871,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v14/*: any*/), - (v16/*: any*/), + (v13/*: any*/), + (v17/*: any*/), { "alias": null, "args": null, @@ -882,7 +905,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v17/*: any*/), + "selections": (v14/*: any*/), "storageKey": null }, { @@ -892,7 +915,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v17/*: any*/), + "selections": (v14/*: any*/), "storageKey": null }, (v4/*: any*/) @@ -907,10 +930,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), (v4/*: any*/), - (v14/*: any*/), - (v16/*: any*/) + (v13/*: any*/), + (v17/*: any*/) ], "storageKey": null }, @@ -987,12 +1010,12 @@ return { ] }, "params": { - "cacheID": "5599cccbedee5d0f0b47859e44c22aa3", + "cacheID": "09648112b4c76d1dea578870af02a1d3", "id": null, "metadata": {}, "name": "ArtistArtworkFilterQuery", "operationKind": "query", - "text": "query ArtistArtworkFilterQuery(\n $artistID: String!\n $input: FilterArtworksInput\n) {\n artist(id: $artistID) {\n ...ArtistArtworkFilter_artist_2VV6jB\n id\n }\n}\n\nfragment ArtistArtworkFilter_artist_2VV6jB on Artist {\n name\n counts {\n partner_shows: partnerShows\n for_sale_artworks: forSaleArtworks\n ecommerce_artworks: ecommerceArtworks\n auction_artworks: auctionArtworks\n artworks\n has_make_offer_artworks: hasMakeOfferArtworks\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n internalID\n slug\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ArtistArtworkFilterQuery(\n $artistID: String!\n $input: FilterArtworksInput\n) {\n artist(id: $artistID) {\n ...ArtistArtworkFilter_artist_2VV6jB\n id\n }\n}\n\nfragment ArtistArtworkFilter_artist_2VV6jB on Artist {\n name\n counts {\n partner_shows: partnerShows\n for_sale_artworks: forSaleArtworks\n ecommerce_artworks: ecommerceArtworks\n auction_artworks: auctionArtworks\n artworks\n has_make_offer_artworks: hasMakeOfferArtworks\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n internalID\n slug\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtistArtworkFilterTestQuery.graphql.ts b/src/__generated__/ArtistArtworkFilterTestQuery.graphql.ts index 6cbe05582db..827f7a0330c 100644 --- a/src/__generated__/ArtistArtworkFilterTestQuery.graphql.ts +++ b/src/__generated__/ArtistArtworkFilterTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<9b9337f3f69d48924534e13b8da8835c>> + * @generated SignedSource<<712d83c65469a3a17c3db5c75a9e1d2b>> * @lightSyntaxTransform * @nogrep */ @@ -100,43 +100,43 @@ v10 = { "large" ] }, -v11 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v12 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v13 = { +v12 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v13 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v14 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v15 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v16 = [ (v1/*: any*/), (v2/*: any*/) @@ -659,6 +659,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v11/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v12/*: any*/), + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -679,7 +702,7 @@ return { }, { "alias": null, - "args": (v11/*: any*/), + "args": (v13/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -727,7 +750,7 @@ return { }, { "alias": null, - "args": (v11/*: any*/), + "args": (v13/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -748,7 +771,7 @@ return { }, { "alias": null, - "args": (v11/*: any*/), + "args": (v13/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -768,7 +791,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v12/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -830,7 +853,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v13/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -838,8 +861,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v12/*: any*/), - (v14/*: any*/), + (v11/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -872,7 +895,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v15/*: any*/), + "selections": (v12/*: any*/), "storageKey": null }, { @@ -882,7 +905,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v15/*: any*/), + "selections": (v12/*: any*/), "storageKey": null }, (v2/*: any*/) @@ -897,10 +920,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v13/*: any*/), + (v14/*: any*/), (v2/*: any*/), - (v12/*: any*/), - (v14/*: any*/) + (v11/*: any*/), + (v15/*: any*/) ], "storageKey": null }, @@ -977,7 +1000,7 @@ return { ] }, "params": { - "cacheID": "ffd223990edf9b92eff3fa11efe9234c", + "cacheID": "609972221ba3c90fff1c5e5e9cbdd8c6", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1068,6 +1091,21 @@ return { "artist.filtered_artworks.edges.node.collectorSignals.auction.lotClosesAt": (v22/*: any*/), "artist.filtered_artworks.edges.node.collectorSignals.auction.onlineBiddingExtended": (v24/*: any*/), "artist.filtered_artworks.edges.node.collectorSignals.auction.registrationEndsAt": (v22/*: any*/), + "artist.filtered_artworks.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "artist.filtered_artworks.edges.node.collectorSignals.partnerOffer.endAt": (v22/*: any*/), + "artist.filtered_artworks.edges.node.collectorSignals.partnerOffer.id": (v21/*: any*/), + "artist.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "artist.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v22/*: any*/), "artist.filtered_artworks.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1252,7 +1290,7 @@ return { }, "name": "ArtistArtworkFilterTestQuery", "operationKind": "query", - "text": "query ArtistArtworkFilterTestQuery {\n artist(id: \"example\") {\n ...ArtistArtworkFilter_artist\n id\n }\n}\n\nfragment ArtistArtworkFilter_artist on Artist {\n name\n counts {\n partner_shows: partnerShows\n for_sale_artworks: forSaleArtworks\n ecommerce_artworks: ecommerceArtworks\n auction_artworks: auctionArtworks\n artworks\n has_make_offer_artworks: hasMakeOfferArtworks\n }\n filtered_artworks: filterArtworksConnection(first: 30) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n internalID\n slug\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ArtistArtworkFilterTestQuery {\n artist(id: \"example\") {\n ...ArtistArtworkFilter_artist\n id\n }\n}\n\nfragment ArtistArtworkFilter_artist on Artist {\n name\n counts {\n partner_shows: partnerShows\n for_sale_artworks: forSaleArtworks\n ecommerce_artworks: ecommerceArtworks\n auction_artworks: auctionArtworks\n artworks\n has_make_offer_artworks: hasMakeOfferArtworks\n }\n filtered_artworks: filterArtworksConnection(first: 30) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n internalID\n slug\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtistConsignRoute_Test_Query.graphql.ts b/src/__generated__/ArtistConsignRoute_Test_Query.graphql.ts index 459854a1852..c79657b7883 100644 --- a/src/__generated__/ArtistConsignRoute_Test_Query.graphql.ts +++ b/src/__generated__/ArtistConsignRoute_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<779c8e7585050adffe16cf0911f494bf>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -64,28 +64,14 @@ v5 = { "name": "id", "storageKey": null }, -v6 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v7 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lotID", - "storageKey": null -}, -v9 = [ +v7 = [ { "alias": null, "args": null, @@ -94,6 +80,20 @@ v9 = [ "storageKey": null } ], +v8 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v9 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "lotID", + "storageKey": null +}, v10 = [ (v1/*: any*/), (v5/*: any*/) @@ -358,6 +358,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v6/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v7/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -378,7 +401,7 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -426,7 +449,7 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -447,7 +470,7 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -467,7 +490,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v7/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -522,7 +545,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -530,7 +553,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v7/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -570,7 +593,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v9/*: any*/), + "selections": (v7/*: any*/), "storageKey": null }, { @@ -580,7 +603,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v9/*: any*/), + "selections": (v7/*: any*/), "storageKey": null }, (v5/*: any*/) @@ -595,7 +618,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), + (v9/*: any*/), (v5/*: any*/) ], "storageKey": null @@ -713,12 +736,12 @@ return { ] }, "params": { - "cacheID": "8f2ffeb0e7e9ae783e13ca610ff63ed2", + "cacheID": "a0f2eb48dae9d8f7301f94fa21cd18f1", "id": null, "metadata": {}, "name": "ArtistConsignRoute_Test_Query", "operationKind": "query", - "text": "query ArtistConsignRoute_Test_Query {\n artist(id: \"example\") {\n ...ArtistConsignRoute_artist\n id\n }\n}\n\nfragment ArtistConsignFAQ_artist on Artist {\n href\n}\n\nfragment ArtistConsignHeader_artist on Artist {\n name\n href\n targetSupply {\n microfunnel {\n artworksConnection {\n edges {\n node {\n image {\n cropped(width: 300, height: 300) {\n width\n height\n src\n srcSet\n }\n }\n id\n }\n }\n }\n }\n }\n}\n\nfragment ArtistConsignHowToSell_artist on Artist {\n href\n}\n\nfragment ArtistConsignMarketTrends_artist on Artist {\n href\n targetSupply {\n microfunnel {\n metadata {\n highestRealized\n str\n realized\n }\n }\n }\n}\n\nfragment ArtistConsignMeta_artist on Artist {\n name\n href\n targetSupply {\n microfunnel {\n artworksConnection {\n edges {\n node {\n image {\n imageURL: url(version: \"medium\")\n }\n id\n }\n }\n }\n }\n }\n}\n\nfragment ArtistConsignPageViews_artist on Artist {\n name\n targetSupply {\n microfunnel {\n metadata {\n roundedViews\n roundedUniqueVisitors\n }\n }\n }\n}\n\nfragment ArtistConsignRecentlySold_artist on Artist {\n name\n targetSupply {\n microfunnel {\n artworksConnection {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n realizedPrice\n id\n }\n }\n }\n }\n }\n}\n\nfragment ArtistConsignRoute_artist on Artist {\n ...ArtistConsignMeta_artist\n ...ArtistConsignHeader_artist\n ...ArtistConsignRecentlySold_artist\n ...ArtistConsignPageViews_artist\n ...ArtistConsignMarketTrends_artist\n ...ArtistConsignHowToSell_artist\n ...ArtistConsignFAQ_artist\n ...ArtistConsignSellArt_artist\n}\n\nfragment ArtistConsignSellArt_artist on Artist {\n href\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query ArtistConsignRoute_Test_Query {\n artist(id: \"example\") {\n ...ArtistConsignRoute_artist\n id\n }\n}\n\nfragment ArtistConsignFAQ_artist on Artist {\n href\n}\n\nfragment ArtistConsignHeader_artist on Artist {\n name\n href\n targetSupply {\n microfunnel {\n artworksConnection {\n edges {\n node {\n image {\n cropped(width: 300, height: 300) {\n width\n height\n src\n srcSet\n }\n }\n id\n }\n }\n }\n }\n }\n}\n\nfragment ArtistConsignHowToSell_artist on Artist {\n href\n}\n\nfragment ArtistConsignMarketTrends_artist on Artist {\n href\n targetSupply {\n microfunnel {\n metadata {\n highestRealized\n str\n realized\n }\n }\n }\n}\n\nfragment ArtistConsignMeta_artist on Artist {\n name\n href\n targetSupply {\n microfunnel {\n artworksConnection {\n edges {\n node {\n image {\n imageURL: url(version: \"medium\")\n }\n id\n }\n }\n }\n }\n }\n}\n\nfragment ArtistConsignPageViews_artist on Artist {\n name\n targetSupply {\n microfunnel {\n metadata {\n roundedViews\n roundedUniqueVisitors\n }\n }\n }\n}\n\nfragment ArtistConsignRecentlySold_artist on Artist {\n name\n targetSupply {\n microfunnel {\n artworksConnection {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n realizedPrice\n id\n }\n }\n }\n }\n }\n}\n\nfragment ArtistConsignRoute_artist on Artist {\n ...ArtistConsignMeta_artist\n ...ArtistConsignHeader_artist\n ...ArtistConsignRecentlySold_artist\n ...ArtistConsignPageViews_artist\n ...ArtistConsignMarketTrends_artist\n ...ArtistConsignHowToSell_artist\n ...ArtistConsignFAQ_artist\n ...ArtistConsignSellArt_artist\n}\n\nfragment ArtistConsignSellArt_artist on Artist {\n href\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtistSeriesArtworksFilterQuery.graphql.ts b/src/__generated__/ArtistSeriesArtworksFilterQuery.graphql.ts index 264ebacc2b6..f0008dd294d 100644 --- a/src/__generated__/ArtistSeriesArtworksFilterQuery.graphql.ts +++ b/src/__generated__/ArtistSeriesArtworksFilterQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<5edc0fe8e02bf5e13f262cd1a7bf5567>> * @lightSyntaxTransform * @nogrep */ @@ -175,43 +175,43 @@ v14 = { "large" ] }, -v15 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v16 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v17 = { +v16 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v17 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v18 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v18 = { +v19 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v19 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v20 = [ (v6/*: any*/), (v7/*: any*/) @@ -690,6 +690,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v15/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v16/*: any*/), + "storageKey": null + }, + (v7/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -710,7 +733,7 @@ return { }, { "alias": null, - "args": (v15/*: any*/), + "args": (v17/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -758,7 +781,7 @@ return { }, { "alias": null, - "args": (v15/*: any*/), + "args": (v17/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -779,7 +802,7 @@ return { }, { "alias": null, - "args": (v15/*: any*/), + "args": (v17/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -799,7 +822,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v16/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -861,7 +884,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v17/*: any*/), + (v18/*: any*/), { "alias": null, "args": null, @@ -869,8 +892,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v16/*: any*/), - (v18/*: any*/), + (v15/*: any*/), + (v19/*: any*/), { "alias": null, "args": null, @@ -903,7 +926,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v19/*: any*/), + "selections": (v16/*: any*/), "storageKey": null }, { @@ -913,7 +936,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v19/*: any*/), + "selections": (v16/*: any*/), "storageKey": null }, (v7/*: any*/) @@ -928,10 +951,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v17/*: any*/), + (v18/*: any*/), (v7/*: any*/), - (v16/*: any*/), - (v18/*: any*/) + (v15/*: any*/), + (v19/*: any*/) ], "storageKey": null }, @@ -1006,12 +1029,12 @@ return { ] }, "params": { - "cacheID": "48df17c01b7a420aebe02bfcb45c3228", + "cacheID": "8d0d367c6cfc275ab3515ba52581c347", "id": null, "metadata": {}, "name": "ArtistSeriesArtworksFilterQuery", "operationKind": "query", - "text": "query ArtistSeriesArtworksFilterQuery(\n $slug: ID!\n $input: FilterArtworksInput\n $aggregations: [ArtworkAggregation]\n) {\n artistSeries(id: $slug) {\n ...ArtistSeriesArtworksFilter_artistSeries_2p2tYs\n id\n }\n}\n\nfragment ArtistSeriesArtworksFilter_artistSeries_2p2tYs on ArtistSeries {\n sidebar: filterArtworksConnection(aggregations: $aggregations, first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ArtistSeriesArtworksFilterQuery(\n $slug: ID!\n $input: FilterArtworksInput\n $aggregations: [ArtworkAggregation]\n) {\n artistSeries(id: $slug) {\n ...ArtistSeriesArtworksFilter_artistSeries_2p2tYs\n id\n }\n}\n\nfragment ArtistSeriesArtworksFilter_artistSeries_2p2tYs on ArtistSeries {\n sidebar: filterArtworksConnection(aggregations: $aggregations, first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtistSeriesArtworksFilterRefetchQuery.graphql.ts b/src/__generated__/ArtistSeriesArtworksFilterRefetchQuery.graphql.ts index dab724642f7..90f8ae38917 100644 --- a/src/__generated__/ArtistSeriesArtworksFilterRefetchQuery.graphql.ts +++ b/src/__generated__/ArtistSeriesArtworksFilterRefetchQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<5931f90c7e514d0043eaf9de0736dab3>> + * @generated SignedSource<<313b819160b3c48deab15f86cbbea2ef>> * @lightSyntaxTransform * @nogrep */ @@ -168,43 +168,43 @@ v11 = { "large" ] }, -v12 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v13 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v14 = { +v13 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v14 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v15 = { +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v16 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v17 = [ (v3/*: any*/), (v4/*: any*/) @@ -669,6 +669,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v12/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v13/*: any*/), + "storageKey": null + }, + (v4/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -689,7 +712,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -737,7 +760,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -758,7 +781,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -778,7 +801,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v13/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -840,7 +863,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v14/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -848,8 +871,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v13/*: any*/), - (v15/*: any*/), + (v12/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -882,7 +905,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, { @@ -892,7 +915,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, (v4/*: any*/) @@ -907,10 +930,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v14/*: any*/), + (v15/*: any*/), (v4/*: any*/), - (v13/*: any*/), - (v15/*: any*/) + (v12/*: any*/), + (v16/*: any*/) ], "storageKey": null }, @@ -985,12 +1008,12 @@ return { ] }, "params": { - "cacheID": "37f7cb7db423a77d9579408de19d1376", + "cacheID": "090ae26cd44d3bf3cc573c9414cda3de", "id": null, "metadata": {}, "name": "ArtistSeriesArtworksFilterRefetchQuery", "operationKind": "query", - "text": "query ArtistSeriesArtworksFilterRefetchQuery(\n $input: FilterArtworksInput\n $slug: ID!\n) {\n artistSeries(id: $slug) {\n ...ArtistSeriesArtworksFilter_artistSeries_2VV6jB\n id\n }\n}\n\nfragment ArtistSeriesArtworksFilter_artistSeries_2VV6jB on ArtistSeries {\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ArtistSeriesArtworksFilterRefetchQuery(\n $input: FilterArtworksInput\n $slug: ID!\n) {\n artistSeries(id: $slug) {\n ...ArtistSeriesArtworksFilter_artistSeries_2VV6jB\n id\n }\n}\n\nfragment ArtistSeriesArtworksFilter_artistSeries_2VV6jB on ArtistSeries {\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtistSeriesArtworksFilter_Query.graphql.ts b/src/__generated__/ArtistSeriesArtworksFilter_Query.graphql.ts index eeccec7f0c2..e3412af1fe1 100644 --- a/src/__generated__/ArtistSeriesArtworksFilter_Query.graphql.ts +++ b/src/__generated__/ArtistSeriesArtworksFilter_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<79618cad1b1b5430793a8fe2135818ee>> * @lightSyntaxTransform * @nogrep */ @@ -102,43 +102,43 @@ v10 = { "large" ] }, -v11 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v12 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v13 = { +v12 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v13 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v14 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v15 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v16 = [ (v2/*: any*/), (v3/*: any*/) @@ -669,6 +669,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v11/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v12/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -689,7 +712,7 @@ return { }, { "alias": null, - "args": (v11/*: any*/), + "args": (v13/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -737,7 +760,7 @@ return { }, { "alias": null, - "args": (v11/*: any*/), + "args": (v13/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -758,7 +781,7 @@ return { }, { "alias": null, - "args": (v11/*: any*/), + "args": (v13/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -778,7 +801,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v12/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -840,7 +863,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v13/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -848,8 +871,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v12/*: any*/), - (v14/*: any*/), + (v11/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -882,7 +905,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v15/*: any*/), + "selections": (v12/*: any*/), "storageKey": null }, { @@ -892,7 +915,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v15/*: any*/), + "selections": (v12/*: any*/), "storageKey": null }, (v3/*: any*/) @@ -907,10 +930,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v13/*: any*/), + (v14/*: any*/), (v3/*: any*/), - (v12/*: any*/), - (v14/*: any*/) + (v11/*: any*/), + (v15/*: any*/) ], "storageKey": null }, @@ -985,7 +1008,7 @@ return { ] }, "params": { - "cacheID": "a8213cdd5b1deefc7b8cd872a89d0bc1", + "cacheID": "0a0ad56e2498466a77b2d8d34240b09b", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1069,6 +1092,21 @@ return { "artistSeries.filtered_artworks.edges.node.collectorSignals.auction.lotClosesAt": (v22/*: any*/), "artistSeries.filtered_artworks.edges.node.collectorSignals.auction.onlineBiddingExtended": (v24/*: any*/), "artistSeries.filtered_artworks.edges.node.collectorSignals.auction.registrationEndsAt": (v22/*: any*/), + "artistSeries.filtered_artworks.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "artistSeries.filtered_artworks.edges.node.collectorSignals.partnerOffer.endAt": (v22/*: any*/), + "artistSeries.filtered_artworks.edges.node.collectorSignals.partnerOffer.id": (v20/*: any*/), + "artistSeries.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "artistSeries.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v22/*: any*/), "artistSeries.filtered_artworks.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1294,7 +1332,7 @@ return { }, "name": "ArtistSeriesArtworksFilter_Query", "operationKind": "query", - "text": "query ArtistSeriesArtworksFilter_Query(\n $slug: ID!\n) {\n artistSeries(id: $slug) {\n ...ArtistSeriesArtworksFilter_artistSeries\n id\n }\n}\n\nfragment ArtistSeriesArtworksFilter_artistSeries on ArtistSeries {\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ArtistSeriesArtworksFilter_Query(\n $slug: ID!\n) {\n artistSeries(id: $slug) {\n ...ArtistSeriesArtworksFilter_artistSeries\n id\n }\n}\n\nfragment ArtistSeriesArtworksFilter_artistSeries on ArtistSeries {\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtistWorksForSaleRailQuery.graphql.ts b/src/__generated__/ArtistWorksForSaleRailQuery.graphql.ts index 7b684d0377f..679419de14b 100644 --- a/src/__generated__/ArtistWorksForSaleRailQuery.graphql.ts +++ b/src/__generated__/ArtistWorksForSaleRailQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<1d95cfd0d3a9ac6f9b8546d22adf3e3b>> + * @generated SignedSource<<85b000d923c23c3768472e28282e2ec9>> * @lightSyntaxTransform * @nogrep */ @@ -59,53 +59,53 @@ v4 = { "name": "href", "storageKey": null }, -v5 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v6 = { +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v6 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v8 = { +v8 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v9 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v9 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v10 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v11 = [ - (v7/*: any*/), - (v6/*: any*/) + (v9/*: any*/), + (v7/*: any*/) ]; return { "fragment": { @@ -267,6 +267,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v5/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v6/*: any*/), + "storageKey": null + }, + (v7/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -287,7 +310,7 @@ return { }, { "alias": null, - "args": (v5/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -311,7 +334,7 @@ return { ], "storageKey": null }, - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -335,15 +358,15 @@ return { }, { "alias": null, - "args": (v5/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v6/*: any*/), + (v7/*: any*/), (v4/*: any*/), - (v7/*: any*/) + (v9/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -356,15 +379,15 @@ return { }, { "alias": null, - "args": (v5/*: any*/), + "args": (v8/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v7/*: any*/), + (v9/*: any*/), (v4/*: any*/), - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -376,7 +399,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v8/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -412,7 +435,7 @@ return { "name": "isClosed", "storageKey": null }, - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -431,7 +454,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -439,7 +462,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v8/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -479,7 +502,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v6/*: any*/), "storageKey": null }, { @@ -489,10 +512,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v6/*: any*/), "storageKey": null }, - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": null }, @@ -504,8 +527,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), - (v6/*: any*/) + (v10/*: any*/), + (v7/*: any*/) ], "storageKey": null }, @@ -595,7 +618,7 @@ return { ], "storageKey": null }, - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": null } @@ -607,19 +630,19 @@ return { }, (v2/*: any*/), (v3/*: any*/), - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": null } ] }, "params": { - "cacheID": "b8aa4c1a7d9ae0355e8be0d0bf16d0db", + "cacheID": "2969da7a23976efbcc3f01371ae3dd62", "id": null, "metadata": {}, "name": "ArtistWorksForSaleRailQuery", "operationKind": "query", - "text": "query ArtistWorksForSaleRailQuery(\n $slug: String!\n) {\n artist(id: $slug) {\n ...ArtistWorksForSaleRail_artist\n id\n }\n}\n\nfragment ArtistWorksForSaleRail_artist on Artist {\n artworksConnection(first: 20, sort: AVAILABILITY_ASC) {\n edges {\n node {\n internalID\n slug\n ...ShelfArtwork_artwork\n id\n }\n }\n }\n internalID\n slug\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query ArtistWorksForSaleRailQuery(\n $slug: String!\n) {\n artist(id: $slug) {\n ...ArtistWorksForSaleRail_artist\n id\n }\n}\n\nfragment ArtistWorksForSaleRail_artist on Artist {\n artworksConnection(first: 20, sort: AVAILABILITY_ASC) {\n edges {\n node {\n internalID\n slug\n ...ShelfArtwork_artwork\n id\n }\n }\n }\n internalID\n slug\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtistWorksForSaleRail_Test_Query.graphql.ts b/src/__generated__/ArtistWorksForSaleRail_Test_Query.graphql.ts index 7b3055fdb43..deb188d5ed8 100644 --- a/src/__generated__/ArtistWorksForSaleRail_Test_Query.graphql.ts +++ b/src/__generated__/ArtistWorksForSaleRail_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<04b834f75f187bd21dd74a2782338930>> + * @generated SignedSource<<4d53b54384299af18a10c15dd5ce4116>> * @lightSyntaxTransform * @nogrep */ @@ -50,53 +50,53 @@ v3 = { "name": "href", "storageKey": null }, -v4 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v5 = { +v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v5 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v7 = { +v7 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v8 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v8 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v9 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v10 = [ - (v6/*: any*/), - (v5/*: any*/) + (v8/*: any*/), + (v6/*: any*/) ], v11 = { "enumValues": null, @@ -300,6 +300,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v4/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v5/*: any*/), + "storageKey": null + }, + (v6/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -320,7 +343,7 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -344,7 +367,7 @@ return { ], "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -368,15 +391,15 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v5/*: any*/), + (v6/*: any*/), (v3/*: any*/), - (v6/*: any*/) + (v8/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -389,15 +412,15 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v6/*: any*/), + (v8/*: any*/), (v3/*: any*/), - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -409,7 +432,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v7/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -445,7 +468,7 @@ return { "name": "isClosed", "storageKey": null }, - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -464,7 +487,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -472,7 +495,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v7/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -512,7 +535,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v9/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, { @@ -522,10 +545,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v9/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null }, @@ -537,8 +560,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), - (v5/*: any*/) + (v9/*: any*/), + (v6/*: any*/) ], "storageKey": null }, @@ -628,7 +651,7 @@ return { ], "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null } @@ -640,14 +663,14 @@ return { }, (v1/*: any*/), (v2/*: any*/), - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "artist(id:\"test\")" } ] }, "params": { - "cacheID": "f2d480e3951b30d98df02e29a29bc948", + "cacheID": "cfc0ec59511808b0e42108a0e44ee10e", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -720,6 +743,21 @@ return { "artist.artworksConnection.edges.node.collectorSignals.auction.lotClosesAt": (v14/*: any*/), "artist.artworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v15/*: any*/), "artist.artworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v14/*: any*/), + "artist.artworksConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "artist.artworksConnection.edges.node.collectorSignals.partnerOffer.endAt": (v14/*: any*/), + "artist.artworksConnection.edges.node.collectorSignals.partnerOffer.id": (v12/*: any*/), + "artist.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "artist.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v14/*: any*/), "artist.artworksConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -841,7 +879,7 @@ return { }, "name": "ArtistWorksForSaleRail_Test_Query", "operationKind": "query", - "text": "query ArtistWorksForSaleRail_Test_Query {\n artist(id: \"test\") {\n ...ArtistWorksForSaleRail_artist\n id\n }\n}\n\nfragment ArtistWorksForSaleRail_artist on Artist {\n artworksConnection(first: 20, sort: AVAILABILITY_ASC) {\n edges {\n node {\n internalID\n slug\n ...ShelfArtwork_artwork\n id\n }\n }\n }\n internalID\n slug\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query ArtistWorksForSaleRail_Test_Query {\n artist(id: \"test\") {\n ...ArtistWorksForSaleRail_artist\n id\n }\n}\n\nfragment ArtistWorksForSaleRail_artist on Artist {\n artworksConnection(first: 20, sort: AVAILABILITY_ASC) {\n edges {\n node {\n internalID\n slug\n ...ShelfArtwork_artwork\n id\n }\n }\n }\n internalID\n slug\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtistWorksForSaleRouteArtworksQuery.graphql.ts b/src/__generated__/ArtistWorksForSaleRouteArtworksQuery.graphql.ts index 1182bbd2e0e..dc1482eed1e 100644 --- a/src/__generated__/ArtistWorksForSaleRouteArtworksQuery.graphql.ts +++ b/src/__generated__/ArtistWorksForSaleRouteArtworksQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<413345cb1fd16dccd3bebec8990cdf8c>> + * @generated SignedSource<<03cc51116b9ef68b3febbbcde771fe48>> * @lightSyntaxTransform * @nogrep */ @@ -264,43 +264,43 @@ v17 = { "large" ] }, -v18 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v19 = { +v18 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v20 = { +v19 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v20 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v21 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v21 = { +v22 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v22 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v23 = [ (v7/*: any*/), (v9/*: any*/) @@ -781,6 +781,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v18/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v19/*: any*/), + "storageKey": null + }, + (v9/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -801,7 +824,7 @@ return { }, { "alias": null, - "args": (v18/*: any*/), + "args": (v20/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -849,7 +872,7 @@ return { }, { "alias": null, - "args": (v18/*: any*/), + "args": (v20/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -870,7 +893,7 @@ return { }, { "alias": null, - "args": (v18/*: any*/), + "args": (v20/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -890,7 +913,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v19/*: any*/), + (v18/*: any*/), { "alias": null, "args": null, @@ -952,7 +975,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v20/*: any*/), + (v21/*: any*/), { "alias": null, "args": null, @@ -960,8 +983,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v19/*: any*/), - (v21/*: any*/), + (v18/*: any*/), + (v22/*: any*/), { "alias": null, "args": null, @@ -994,7 +1017,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v22/*: any*/), + "selections": (v19/*: any*/), "storageKey": null }, { @@ -1004,7 +1027,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v22/*: any*/), + "selections": (v19/*: any*/), "storageKey": null }, (v9/*: any*/) @@ -1019,10 +1042,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v20/*: any*/), + (v21/*: any*/), (v9/*: any*/), - (v19/*: any*/), - (v21/*: any*/) + (v18/*: any*/), + (v22/*: any*/) ], "storageKey": null }, @@ -1113,12 +1136,12 @@ return { ] }, "params": { - "cacheID": "79eb69f21a759c31d0fdfcb1f5ae6cfb", + "cacheID": "19e8958853dd70c4079a00f3de4a27d0", "id": null, "metadata": {}, "name": "ArtistWorksForSaleRouteArtworksQuery", "operationKind": "query", - "text": "query ArtistWorksForSaleRouteArtworksQuery(\n $artistID: String!\n $aggregations: [ArtworkAggregation]\n $input: FilterArtworksInput!\n) {\n artist(id: $artistID) {\n ...ArtistArtworkFilter_artist_2VV6jB\n sidebarAggregations: filterArtworksConnection(aggregations: $aggregations, first: 1) {\n counts {\n total\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n id\n }\n}\n\nfragment ArtistArtworkFilter_artist_2VV6jB on Artist {\n name\n counts {\n partner_shows: partnerShows\n for_sale_artworks: forSaleArtworks\n ecommerce_artworks: ecommerceArtworks\n auction_artworks: auctionArtworks\n artworks\n has_make_offer_artworks: hasMakeOfferArtworks\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n internalID\n slug\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ArtistWorksForSaleRouteArtworksQuery(\n $artistID: String!\n $aggregations: [ArtworkAggregation]\n $input: FilterArtworksInput!\n) {\n artist(id: $artistID) {\n ...ArtistArtworkFilter_artist_2VV6jB\n sidebarAggregations: filterArtworksConnection(aggregations: $aggregations, first: 1) {\n counts {\n total\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n id\n }\n}\n\nfragment ArtistArtworkFilter_artist_2VV6jB on Artist {\n name\n counts {\n partner_shows: partnerShows\n for_sale_artworks: forSaleArtworks\n ecommerce_artworks: ecommerceArtworks\n auction_artworks: auctionArtworks\n artworks\n has_make_offer_artworks: hasMakeOfferArtworks\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n internalID\n slug\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtworkArtistSeriesQuery.graphql.ts b/src/__generated__/ArtworkArtistSeriesQuery.graphql.ts index 1aa369f87a3..fc073448a24 100644 --- a/src/__generated__/ArtworkArtistSeriesQuery.graphql.ts +++ b/src/__generated__/ArtworkArtistSeriesQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -63,63 +63,63 @@ v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "href", + "name": "endAt", "storageKey": null }, -v6 = { +v6 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "title", + "name": "id", "storageKey": null }, -v7 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], v8 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "href", "storageKey": null }, v9 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "title", "storageKey": null }, -v10 = { +v10 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v11 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v11 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v12 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v13 = [ - (v9/*: any*/), - (v8/*: any*/) + (v11/*: any*/), + (v7/*: any*/) ], v14 = { "kind": "Literal", @@ -302,6 +302,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v5/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v6/*: any*/), + "storageKey": null + }, + (v7/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -313,8 +336,8 @@ return { "name": "isUnlisted", "storageKey": null }, - (v5/*: any*/), - (v6/*: any*/), + (v8/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -338,7 +361,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -362,7 +385,7 @@ return { ], "storageKey": null }, - (v8/*: any*/) + (v7/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -386,15 +409,15 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ + (v7/*: any*/), (v8/*: any*/), - (v5/*: any*/), - (v9/*: any*/) + (v11/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -407,15 +430,15 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v10/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v9/*: any*/), - (v5/*: any*/), - (v8/*: any*/) + (v11/*: any*/), + (v8/*: any*/), + (v7/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -427,7 +450,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v10/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -463,7 +486,7 @@ return { "name": "isClosed", "storageKey": null }, - (v8/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -482,7 +505,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -490,7 +513,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v10/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -530,7 +553,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v6/*: any*/), "storageKey": null }, { @@ -540,10 +563,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v6/*: any*/), "storageKey": null }, - (v8/*: any*/) + (v7/*: any*/) ], "storageKey": null }, @@ -555,8 +578,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), - (v8/*: any*/) + (v12/*: any*/), + (v7/*: any*/) ], "storageKey": null }, @@ -639,18 +662,18 @@ return { ], "storageKey": null }, - (v8/*: any*/) + (v7/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v8/*: any*/) + (v7/*: any*/) ], "storageKey": "filterArtworksConnection(first:20,sort:\"-decayed_merch\")" }, - (v8/*: any*/) + (v7/*: any*/) ], "storageKey": null } @@ -662,7 +685,7 @@ return { }, { "alias": "seriesArtist", - "args": (v7/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -699,9 +722,9 @@ return { "plural": false, "selections": [ (v2/*: any*/), - (v8/*: any*/), + (v7/*: any*/), (v3/*: any*/), - (v6/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -773,8 +796,8 @@ return { ], "storageKey": "artistSeriesConnection(first:12)" }, - (v5/*: any*/), - (v8/*: any*/) + (v8/*: any*/), + (v7/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -809,7 +832,7 @@ return { "name": "artworksCount", "storageKey": null }, - (v8/*: any*/) + (v7/*: any*/) ], "storageKey": null } @@ -819,19 +842,19 @@ return { ], "storageKey": "artistSeriesConnection(first:1)" }, - (v8/*: any*/) + (v7/*: any*/) ], "storageKey": null } ] }, "params": { - "cacheID": "b3a39d40012237519e13b9f66f4b8100", + "cacheID": "54174b2e3247885e4463ace42b24eb83", "id": null, "metadata": {}, "name": "ArtworkArtistSeriesQuery", "operationKind": "query", - "text": "query ArtworkArtistSeriesQuery(\n $slug: String!\n) {\n artwork(id: $slug) {\n ...ArtworkArtistSeries_artwork\n id\n }\n}\n\nfragment ArtistSeriesArtworkRail_artwork on Artwork {\n internalID\n slug\n artistSeriesConnection(first: 1) {\n edges {\n node {\n slug\n internalID\n filterArtworksConnection(sort: \"-decayed_merch\", first: 20) {\n edges {\n node {\n slug\n internalID\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment ArtistSeriesRail_artist on Artist {\n href\n artistSeriesConnection(first: 12) {\n edges {\n node {\n ...CellArtistSeries_artistSeries\n internalID\n featured\n slug\n id\n }\n }\n }\n}\n\nfragment ArtworkArtistSeries_artwork on Artwork {\n ...ArtistSeriesArtworkRail_artwork\n internalID\n slug\n seriesArtist: artist(shallow: true) {\n artistSeriesConnection(first: 12) {\n edges {\n node {\n internalID\n id\n }\n }\n }\n ...ArtistSeriesRail_artist\n id\n }\n seriesForCounts: artistSeriesConnection(first: 1) {\n edges {\n node {\n artworksCount\n id\n }\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CellArtistSeries_artistSeries on ArtistSeries {\n slug\n title\n artworksCountMessage\n image {\n cropped(width: 445, height: 334, version: [\"larger\", \"large\"]) {\n src\n srcSet\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query ArtworkArtistSeriesQuery(\n $slug: String!\n) {\n artwork(id: $slug) {\n ...ArtworkArtistSeries_artwork\n id\n }\n}\n\nfragment ArtistSeriesArtworkRail_artwork on Artwork {\n internalID\n slug\n artistSeriesConnection(first: 1) {\n edges {\n node {\n slug\n internalID\n filterArtworksConnection(sort: \"-decayed_merch\", first: 20) {\n edges {\n node {\n slug\n internalID\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment ArtistSeriesRail_artist on Artist {\n href\n artistSeriesConnection(first: 12) {\n edges {\n node {\n ...CellArtistSeries_artistSeries\n internalID\n featured\n slug\n id\n }\n }\n }\n}\n\nfragment ArtworkArtistSeries_artwork on Artwork {\n ...ArtistSeriesArtworkRail_artwork\n internalID\n slug\n seriesArtist: artist(shallow: true) {\n artistSeriesConnection(first: 12) {\n edges {\n node {\n internalID\n id\n }\n }\n }\n ...ArtistSeriesRail_artist\n id\n }\n seriesForCounts: artistSeriesConnection(first: 1) {\n edges {\n node {\n artworksCount\n id\n }\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CellArtistSeries_artistSeries on ArtistSeries {\n slug\n title\n artworksCountMessage\n image {\n cropped(width: 445, height: 334, version: [\"larger\", \"large\"]) {\n src\n srcSet\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtworkArtistSeries_Query.graphql.ts b/src/__generated__/ArtworkArtistSeries_Query.graphql.ts index d57d4b0e38d..3b5dba18f98 100644 --- a/src/__generated__/ArtworkArtistSeries_Query.graphql.ts +++ b/src/__generated__/ArtworkArtistSeries_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<3a79d25a34e5344c9210c99c431f2d07>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -54,63 +54,63 @@ v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "href", + "name": "endAt", "storageKey": null }, -v5 = { +v5 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "title", + "name": "id", "storageKey": null }, -v6 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "href", "storageKey": null }, v8 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "title", "storageKey": null }, -v9 = { +v9 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v10 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v10 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v11 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v12 = [ - (v8/*: any*/), - (v7/*: any*/) + (v10/*: any*/), + (v6/*: any*/) ], v13 = { "kind": "Literal", @@ -377,6 +377,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v4/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v5/*: any*/), + "storageKey": null + }, + (v6/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -388,8 +411,8 @@ return { "name": "isUnlisted", "storageKey": null }, - (v4/*: any*/), - (v5/*: any*/), + (v7/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -413,7 +436,7 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -437,7 +460,7 @@ return { ], "storageKey": null }, - (v7/*: any*/) + (v6/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -461,15 +484,15 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ + (v6/*: any*/), (v7/*: any*/), - (v4/*: any*/), - (v8/*: any*/) + (v10/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -482,15 +505,15 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v9/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v8/*: any*/), - (v4/*: any*/), - (v7/*: any*/) + (v10/*: any*/), + (v7/*: any*/), + (v6/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -502,7 +525,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v9/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -538,7 +561,7 @@ return { "name": "isClosed", "storageKey": null }, - (v7/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -557,7 +580,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v10/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -565,7 +588,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v9/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -605,7 +628,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v11/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, { @@ -615,10 +638,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v11/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, - (v7/*: any*/) + (v6/*: any*/) ], "storageKey": null }, @@ -630,8 +653,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v10/*: any*/), - (v7/*: any*/) + (v11/*: any*/), + (v6/*: any*/) ], "storageKey": null }, @@ -714,18 +737,18 @@ return { ], "storageKey": null }, - (v7/*: any*/) + (v6/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v7/*: any*/) + (v6/*: any*/) ], "storageKey": "filterArtworksConnection(first:20,sort:\"-decayed_merch\")" }, - (v7/*: any*/) + (v6/*: any*/) ], "storageKey": null } @@ -737,7 +760,7 @@ return { }, { "alias": "seriesArtist", - "args": (v6/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -774,9 +797,9 @@ return { "plural": false, "selections": [ (v1/*: any*/), - (v7/*: any*/), + (v6/*: any*/), (v2/*: any*/), - (v5/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -848,8 +871,8 @@ return { ], "storageKey": "artistSeriesConnection(first:12)" }, - (v4/*: any*/), - (v7/*: any*/) + (v7/*: any*/), + (v6/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -884,7 +907,7 @@ return { "name": "artworksCount", "storageKey": null }, - (v7/*: any*/) + (v6/*: any*/) ], "storageKey": null } @@ -894,14 +917,14 @@ return { ], "storageKey": "artistSeriesConnection(first:1)" }, - (v7/*: any*/) + (v6/*: any*/) ], "storageKey": "artwork(id:\"example\")" } ] }, "params": { - "cacheID": "29b891b7cf3aaaf5c59ebb81b664c4eb", + "cacheID": "2235a00f41998d783b7fc18ba823b972", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -968,6 +991,21 @@ return { "artwork.artistSeriesConnection.edges.node.filterArtworksConnection.edges.node.collectorSignals.auction.lotWatcherCount": (v22/*: any*/), "artwork.artistSeriesConnection.edges.node.filterArtworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v23/*: any*/), "artwork.artistSeriesConnection.edges.node.filterArtworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v21/*: any*/), + "artwork.artistSeriesConnection.edges.node.filterArtworksConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "artwork.artistSeriesConnection.edges.node.filterArtworksConnection.edges.node.collectorSignals.partnerOffer.endAt": (v21/*: any*/), + "artwork.artistSeriesConnection.edges.node.filterArtworksConnection.edges.node.collectorSignals.partnerOffer.id": (v19/*: any*/), + "artwork.artistSeriesConnection.edges.node.filterArtworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "artwork.artistSeriesConnection.edges.node.filterArtworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v21/*: any*/), "artwork.artistSeriesConnection.edges.node.filterArtworksConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1114,7 +1152,7 @@ return { }, "name": "ArtworkArtistSeries_Query", "operationKind": "query", - "text": "query ArtworkArtistSeries_Query {\n artwork(id: \"example\") {\n ...ArtworkArtistSeries_artwork\n id\n }\n}\n\nfragment ArtistSeriesArtworkRail_artwork on Artwork {\n internalID\n slug\n artistSeriesConnection(first: 1) {\n edges {\n node {\n slug\n internalID\n filterArtworksConnection(sort: \"-decayed_merch\", first: 20) {\n edges {\n node {\n slug\n internalID\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment ArtistSeriesRail_artist on Artist {\n href\n artistSeriesConnection(first: 12) {\n edges {\n node {\n ...CellArtistSeries_artistSeries\n internalID\n featured\n slug\n id\n }\n }\n }\n}\n\nfragment ArtworkArtistSeries_artwork on Artwork {\n ...ArtistSeriesArtworkRail_artwork\n internalID\n slug\n seriesArtist: artist(shallow: true) {\n artistSeriesConnection(first: 12) {\n edges {\n node {\n internalID\n id\n }\n }\n }\n ...ArtistSeriesRail_artist\n id\n }\n seriesForCounts: artistSeriesConnection(first: 1) {\n edges {\n node {\n artworksCount\n id\n }\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CellArtistSeries_artistSeries on ArtistSeries {\n slug\n title\n artworksCountMessage\n image {\n cropped(width: 445, height: 334, version: [\"larger\", \"large\"]) {\n src\n srcSet\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query ArtworkArtistSeries_Query {\n artwork(id: \"example\") {\n ...ArtworkArtistSeries_artwork\n id\n }\n}\n\nfragment ArtistSeriesArtworkRail_artwork on Artwork {\n internalID\n slug\n artistSeriesConnection(first: 1) {\n edges {\n node {\n slug\n internalID\n filterArtworksConnection(sort: \"-decayed_merch\", first: 20) {\n edges {\n node {\n slug\n internalID\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment ArtistSeriesRail_artist on Artist {\n href\n artistSeriesConnection(first: 12) {\n edges {\n node {\n ...CellArtistSeries_artistSeries\n internalID\n featured\n slug\n id\n }\n }\n }\n}\n\nfragment ArtworkArtistSeries_artwork on Artwork {\n ...ArtistSeriesArtworkRail_artwork\n internalID\n slug\n seriesArtist: artist(shallow: true) {\n artistSeriesConnection(first: 12) {\n edges {\n node {\n internalID\n id\n }\n }\n }\n ...ArtistSeriesRail_artist\n id\n }\n seriesForCounts: artistSeriesConnection(first: 1) {\n edges {\n node {\n artworksCount\n id\n }\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CellArtistSeries_artistSeries on ArtistSeries {\n slug\n title\n artworksCountMessage\n image {\n cropped(width: 445, height: 334, version: [\"larger\", \"large\"]) {\n src\n srcSet\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtworkErrorAppOtherWorksQuery.graphql.ts b/src/__generated__/ArtworkErrorAppOtherWorksQuery.graphql.ts index ece6f637c03..33ef85866e7 100644 --- a/src/__generated__/ArtworkErrorAppOtherWorksQuery.graphql.ts +++ b/src/__generated__/ArtworkErrorAppOtherWorksQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<806644d33f7f4ac6a02258f77d52eac9>> + * @generated SignedSource<<0d0aa1d885046db10893c63879f22c95>> * @lightSyntaxTransform * @nogrep */ @@ -90,52 +90,52 @@ v8 = { "large" ] }, -v9 = [ +v9 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v10 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v11 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v10 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v12 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v13 = { +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v14 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v15 = [ - (v10/*: any*/), + (v12/*: any*/), (v5/*: any*/) ], v16 = { @@ -490,6 +490,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v9/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v10/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -510,7 +533,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -558,7 +581,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -566,7 +589,7 @@ return { "selections": [ (v5/*: any*/), (v6/*: any*/), - (v10/*: any*/) + (v12/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -579,13 +602,13 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v10/*: any*/), + (v12/*: any*/), (v6/*: any*/), (v5/*: any*/) ], @@ -599,7 +622,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v11/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -661,7 +684,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v12/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -669,8 +692,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v11/*: any*/), - (v13/*: any*/), + (v9/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -703,7 +726,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v14/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, { @@ -713,7 +736,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v14/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, (v5/*: any*/) @@ -728,10 +751,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v12/*: any*/), + (v13/*: any*/), (v5/*: any*/), - (v11/*: any*/), - (v13/*: any*/) + (v9/*: any*/), + (v14/*: any*/) ], "storageKey": null }, @@ -826,12 +849,12 @@ return { ] }, "params": { - "cacheID": "63c139466c9ca561120a07af145de845", + "cacheID": "0e220b7c2fcf10bdf87fcdadf82c6757", "id": null, "metadata": {}, "name": "ArtworkErrorAppOtherWorksQuery", "operationKind": "query", - "text": "query ArtworkErrorAppOtherWorksQuery(\n $slug: String!\n) {\n artworkResult(id: $slug) {\n __typename\n ... on ArtworkError {\n artwork {\n ...ArtworkErrorAppOtherWorks_artwork\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArtworkErrorAppOtherWorks_artwork on PartialArtwork {\n contextGrids(includeRelatedArtworks: false) {\n __typename\n title\n ctaTitle\n ctaHref\n artworksConnection(first: 8) {\n ...ArtworkGrid_artworks\n edges {\n node {\n slug\n id\n }\n }\n }\n }\n slug\n context {\n __typename\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ArtworkErrorAppOtherWorksQuery(\n $slug: String!\n) {\n artworkResult(id: $slug) {\n __typename\n ... on ArtworkError {\n artwork {\n ...ArtworkErrorAppOtherWorks_artwork\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArtworkErrorAppOtherWorks_artwork on PartialArtwork {\n contextGrids(includeRelatedArtworks: false) {\n __typename\n title\n ctaTitle\n ctaHref\n artworksConnection(first: 8) {\n ...ArtworkGrid_artworks\n edges {\n node {\n slug\n id\n }\n }\n }\n }\n slug\n context {\n __typename\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtworkErrorAppRelatedWorksQuery.graphql.ts b/src/__generated__/ArtworkErrorAppRelatedWorksQuery.graphql.ts index d527308c721..a8f8687cc79 100644 --- a/src/__generated__/ArtworkErrorAppRelatedWorksQuery.graphql.ts +++ b/src/__generated__/ArtworkErrorAppRelatedWorksQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<6d9ba5d2b5063634e889f1ed1134c4e1>> + * @generated SignedSource<<9d64d3738f1671a472bcc151e6aa8b73>> * @lightSyntaxTransform * @nogrep */ @@ -91,43 +91,43 @@ v8 = { "large" ] }, -v9 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v10 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v11 = { +v10 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v11 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v12 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v13 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v14 = [ (v4/*: any*/), (v5/*: any*/) @@ -471,6 +471,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v9/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v10/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -491,7 +514,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -539,7 +562,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -560,7 +583,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -580,7 +603,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v10/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -642,7 +665,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -650,8 +673,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v10/*: any*/), - (v12/*: any*/), + (v9/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -684,7 +707,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v13/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, { @@ -694,7 +717,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v13/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, (v5/*: any*/) @@ -709,10 +732,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), (v5/*: any*/), - (v10/*: any*/), - (v12/*: any*/) + (v9/*: any*/), + (v13/*: any*/) ], "storageKey": null }, @@ -794,12 +817,12 @@ return { ] }, "params": { - "cacheID": "aeb38eb80e35b6d59f6d33e81cd9183f", + "cacheID": "a7d07ef657ab2ad8906f5c6d51ab78e3", "id": null, "metadata": {}, "name": "ArtworkErrorAppRelatedWorksQuery", "operationKind": "query", - "text": "query ArtworkErrorAppRelatedWorksQuery(\n $slug: String!\n) {\n artworkResult(id: $slug) {\n __typename\n ... on ArtworkError {\n artwork {\n slug\n ...ArtworkErrorAppRelatedWorks_artwork\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArtworkErrorAppRelatedWorks_artwork on PartialArtwork {\n slug\n layer {\n name\n artworksConnection(first: 8) {\n ...ArtworkGrid_artworks\n edges {\n node {\n slug\n id\n }\n }\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ArtworkErrorAppRelatedWorksQuery(\n $slug: String!\n) {\n artworkResult(id: $slug) {\n __typename\n ... on ArtworkError {\n artwork {\n slug\n ...ArtworkErrorAppRelatedWorks_artwork\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArtworkErrorAppRelatedWorks_artwork on PartialArtwork {\n slug\n layer {\n name\n artworksConnection(first: 8) {\n ...ArtworkGrid_artworks\n edges {\n node {\n slug\n id\n }\n }\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtworkGrid_Test_Query.graphql.ts b/src/__generated__/ArtworkGrid_Test_Query.graphql.ts index 85e3ffdb7a6..c1d6d0a0994 100644 --- a/src/__generated__/ArtworkGrid_Test_Query.graphql.ts +++ b/src/__generated__/ArtworkGrid_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<7eb0799a4d01c47b4de9f44d0c27c240>> * @lightSyntaxTransform * @nogrep */ @@ -50,6 +50,13 @@ export type ArtworkGrid_Test_Query$rawResponse = { readonly onlineBiddingExtended: boolean; readonly registrationEndsAt: string | null | undefined; } | null | undefined; + readonly partnerOffer: { + readonly endAt: string | null | undefined; + readonly id: string; + readonly priceWithDiscount: { + readonly display: string | null | undefined; + } | null | undefined; + } | null | undefined; readonly primaryLabel: LabelSignalEnum | null | undefined; } | null | undefined; readonly cultural_maker: string | null | undefined; @@ -173,52 +180,52 @@ v4 = { "large" ] }, -v5 = [ +v5 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v6 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v7 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v6 = { +v8 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v8 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v9 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v10 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v11 = [ - (v6/*: any*/), + (v8/*: any*/), (v1/*: any*/) ], v12 = { @@ -529,6 +536,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v5/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v6/*: any*/), + "storageKey": null + }, + (v1/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -549,7 +579,7 @@ return { }, { "alias": null, - "args": (v5/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -597,7 +627,7 @@ return { }, { "alias": null, - "args": (v5/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -605,7 +635,7 @@ return { "selections": [ (v1/*: any*/), (v2/*: any*/), - (v6/*: any*/) + (v8/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -618,13 +648,13 @@ return { }, { "alias": null, - "args": (v5/*: any*/), + "args": (v7/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v6/*: any*/), + (v8/*: any*/), (v2/*: any*/), (v1/*: any*/) ], @@ -638,7 +668,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v7/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -700,7 +730,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -708,8 +738,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v7/*: any*/), - (v9/*: any*/), + (v5/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -742,7 +772,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v6/*: any*/), "storageKey": null }, { @@ -752,7 +782,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v6/*: any*/), "storageKey": null }, (v1/*: any*/) @@ -767,10 +797,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), + (v9/*: any*/), (v1/*: any*/), - (v7/*: any*/), - (v9/*: any*/) + (v5/*: any*/), + (v10/*: any*/) ], "storageKey": null }, @@ -844,7 +874,7 @@ return { ] }, "params": { - "cacheID": "e7d62d4ade4cba13d9831f90628768d9", + "cacheID": "62cb9cdabf02ef000c806082e36c979e", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -925,6 +955,21 @@ return { "artworksConnection.edges.node.collectorSignals.auction.lotClosesAt": (v15/*: any*/), "artworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v16/*: any*/), "artworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v15/*: any*/), + "artworksConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "artworksConnection.edges.node.collectorSignals.partnerOffer.endAt": (v15/*: any*/), + "artworksConnection.edges.node.collectorSignals.partnerOffer.id": (v13/*: any*/), + "artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v15/*: any*/), "artworksConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1076,7 +1121,7 @@ return { }, "name": "ArtworkGrid_Test_Query", "operationKind": "query", - "text": "query ArtworkGrid_Test_Query {\n artworksConnection(first: 4) {\n ...ArtworkGrid_artworks\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ArtworkGrid_Test_Query {\n artworksConnection(first: 4) {\n ...ArtworkGrid_artworks\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtworkQueryFilterQuery.graphql.ts b/src/__generated__/ArtworkQueryFilterQuery.graphql.ts index 05925ed2c1c..589ce7a266a 100644 --- a/src/__generated__/ArtworkQueryFilterQuery.graphql.ts +++ b/src/__generated__/ArtworkQueryFilterQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<3bfd44353483ad78659e5be7a0f32083>> + * @generated SignedSource<<0ee001f63d766aeff39fe8de87b47068>> * @lightSyntaxTransform * @nogrep */ @@ -109,6 +109,13 @@ export type ArtworkQueryFilterQuery$rawResponse = { readonly onlineBiddingExtended: boolean; readonly registrationEndsAt: string | null | undefined; } | null | undefined; + readonly partnerOffer: { + readonly endAt: string | null | undefined; + readonly id: string; + readonly priceWithDiscount: { + readonly display: string | null | undefined; + } | null | undefined; + } | null | undefined; readonly primaryLabel: LabelSignalEnum | null | undefined; } | null | undefined; readonly cultural_maker?: string | null | undefined; @@ -293,52 +300,52 @@ v9 = { "large" ] }, -v10 = [ +v10 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v11 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v12 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v11 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v13 = { +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v14 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v15 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v16 = [ - (v11/*: any*/), + (v13/*: any*/), (v2/*: any*/) ]; return { @@ -739,6 +746,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v10/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v11/*: any*/), + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -759,7 +789,7 @@ return { }, { "alias": null, - "args": (v10/*: any*/), + "args": (v12/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -807,7 +837,7 @@ return { }, { "alias": null, - "args": (v10/*: any*/), + "args": (v12/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -815,7 +845,7 @@ return { "selections": [ (v2/*: any*/), (v7/*: any*/), - (v11/*: any*/) + (v13/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -828,13 +858,13 @@ return { }, { "alias": null, - "args": (v10/*: any*/), + "args": (v12/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v11/*: any*/), + (v13/*: any*/), (v7/*: any*/), (v2/*: any*/) ], @@ -848,7 +878,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v12/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -910,7 +940,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v13/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -918,8 +948,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v12/*: any*/), - (v14/*: any*/), + (v10/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -952,7 +982,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v15/*: any*/), + "selections": (v11/*: any*/), "storageKey": null }, { @@ -962,7 +992,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v15/*: any*/), + "selections": (v11/*: any*/), "storageKey": null }, (v2/*: any*/) @@ -977,10 +1007,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v13/*: any*/), + (v14/*: any*/), (v2/*: any*/), - (v12/*: any*/), - (v14/*: any*/) + (v10/*: any*/), + (v15/*: any*/) ], "storageKey": null }, @@ -1054,12 +1084,12 @@ return { ] }, "params": { - "cacheID": "c63efd61bcbd7e6832da5fc3eef921b5", + "cacheID": "595c1ec9ef219c06883c9c701285605a", "id": null, "metadata": {}, "name": "ArtworkQueryFilterQuery", "operationKind": "query", - "text": "query ArtworkQueryFilterQuery(\n $input: FilterArtworksInput\n) {\n viewer {\n ...ArtworkFilter_viewer_2VV6jB\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkFilter_viewer_2VV6jB on Viewer {\n filtered_artworks: artworksConnection(input: $input) {\n ...ArtworkFilterArtworkGrid_filtered_artworks\n counts {\n total(format: \"0,0\")\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ArtworkQueryFilterQuery(\n $input: FilterArtworksInput\n) {\n viewer {\n ...ArtworkFilter_viewer_2VV6jB\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkFilter_viewer_2VV6jB on Viewer {\n filtered_artworks: artworksConnection(input: $input) {\n ...ArtworkFilterArtworkGrid_filtered_artworks\n counts {\n total(format: \"0,0\")\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtworksRailRendererQuery.graphql.ts b/src/__generated__/ArtworksRailRendererQuery.graphql.ts index fb6a9f86c0a..6632b2ce763 100644 --- a/src/__generated__/ArtworksRailRendererQuery.graphql.ts +++ b/src/__generated__/ArtworksRailRendererQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<647d60ffc8f367425133841c28ed18ea>> + * @generated SignedSource<<9e8729ef980fe279cb757c4ff686a277>> * @lightSyntaxTransform * @nogrep */ @@ -45,53 +45,53 @@ v2 = { "name": "href", "storageKey": null }, -v3 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v4 = { +v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v4 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v6 = { +v6 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v7 = { +v8 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v8 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v9 = [ - (v5/*: any*/), - (v4/*: any*/) + (v7/*: any*/), + (v5/*: any*/) ]; return { "fragment": { @@ -270,6 +270,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v3/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v4/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -290,7 +313,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -314,7 +337,7 @@ return { ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -338,15 +361,15 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v4/*: any*/), + (v5/*: any*/), (v2/*: any*/), - (v5/*: any*/) + (v7/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -359,15 +382,15 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v5/*: any*/), + (v7/*: any*/), (v2/*: any*/), - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -379,7 +402,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v6/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -415,7 +438,7 @@ return { "name": "isClosed", "storageKey": null }, - (v4/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -434,7 +457,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -442,7 +465,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v6/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -482,7 +505,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, { @@ -492,10 +515,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null }, @@ -507,8 +530,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), - (v4/*: any*/) + (v8/*: any*/), + (v5/*: any*/) ], "storageKey": null }, @@ -598,30 +621,30 @@ return { ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "filterArtworksConnection(first:20,forSale:true,sort:\"-partner_updated_at\")" }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null } ] }, "params": { - "cacheID": "47a5eeba640d06d36cd819d9f1d00cfe", + "cacheID": "62baaef26b43f6158c7008714d5df6ce", "id": null, "metadata": {}, "name": "ArtworksRailRendererQuery", "operationKind": "query", - "text": "query ArtworksRailRendererQuery(\n $partnerId: String!\n) {\n partner(id: $partnerId) @principalField {\n ...ArtworksRail_partner\n id\n }\n}\n\nfragment ArtworksRail_partner on Partner {\n slug\n filterArtworksConnection(first: 20, sort: \"-partner_updated_at\", forSale: true) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query ArtworksRailRendererQuery(\n $partnerId: String!\n) {\n partner(id: $partnerId) @principalField {\n ...ArtworksRail_partner\n id\n }\n}\n\nfragment ArtworksRail_partner on Partner {\n slug\n filterArtworksConnection(first: 20, sort: \"-partner_updated_at\", forSale: true) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/AuctionAppTestQuery.graphql.ts b/src/__generated__/AuctionAppTestQuery.graphql.ts index 6c4a15eee9a..6fa8f6c7c83 100644 --- a/src/__generated__/AuctionAppTestQuery.graphql.ts +++ b/src/__generated__/AuctionAppTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<5187647a60fb53c7fd3162e6d051a448>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -337,6 +337,29 @@ v36 = [ } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v20/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v7/*: any*/), + "storageKey": null + }, + (v17/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -1383,12 +1406,12 @@ return { ] }, "params": { - "cacheID": "2d62cd116db202ad4110fa246ff71ab5", + "cacheID": "71ca50f1976196fea1389b732dafff7c", "id": null, "metadata": {}, "name": "AuctionAppTestQuery", "operationKind": "query", - "text": "query AuctionAppTestQuery(\n $slug: String!\n) {\n me {\n ...AuctionApp_me_96HcF\n id\n }\n sale(id: $slug) @principalField {\n ...AuctionApp_sale\n id\n }\n viewer {\n ...AuctionApp_viewer_9qtl6\n }\n}\n\nfragment AuctionActiveBids_me_96HcF on Me {\n internalID\n lotStandings(saleID: $slug, live: true) {\n isHighestBidder\n saleArtwork {\n ...AuctionLotInfo_saleArtwork_4oTW5x\n counts {\n bidderPositions\n }\n currentBid {\n display\n }\n slug\n lotLabel\n reserveStatus\n saleID\n highestBid {\n display\n }\n endedAt\n sale {\n slug\n liveStartAt\n endAt\n isLiveOpen\n isClosed\n id\n }\n id\n }\n }\n}\n\nfragment AuctionApp_me_96HcF on Me {\n ...AuctionActiveBids_me_96HcF\n ...AuctionDetails_me\n internalID\n showActiveBids: lotStandings(saleID: $slug, live: true) {\n activeBid {\n internalID\n id\n }\n }\n}\n\nfragment AuctionApp_sale on Sale {\n ...AuctionMeta_sale\n ...AuctionAssociatedSale_sale\n ...AuctionBuyNowRail_sale\n ...AuctionDetails_sale\n ...CascadingEndTimesBanner_sale\n internalID\n slug\n isClosed\n eligibleSaleArtworksCount\n coverImage {\n url(version: [\"wide\", \"source\", \"large_rectangle\"])\n }\n showAssociatedSale: associatedSale {\n internalID\n id\n }\n showBuyNowTab: promotedSale {\n internalID\n id\n }\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n status\n}\n\nfragment AuctionApp_viewer_9qtl6 on Viewer {\n ...AuctionWorksByFollowedArtistsRail_viewer_96HcF\n ...AuctionCurrentAuctionsRail_viewer\n showFollowedArtistsTab: saleArtworksConnection(first: 1, aggregations: [TOTAL], saleSlug: $slug, includeArtworksByFollowedArtists: true) {\n edges {\n node {\n internalID\n id\n }\n id\n }\n }\n}\n\nfragment AuctionAssociatedSale_sale on Sale {\n associatedSale {\n coverImage {\n cropped(width: 445, height: 250) {\n src\n srcSet\n }\n }\n displayTimelyAt\n href\n slug\n name\n id\n }\n}\n\nfragment AuctionBuyNowRail_sale on Sale {\n promotedSale {\n href\n internalID\n name\n saleArtworksConnection(first: 30) {\n edges {\n node {\n artwork {\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n }\n id\n }\n}\n\nfragment AuctionCurrentAuctionsRail_viewer on Viewer {\n salesConnection(first: 30, published: true, live: true, sort: LICENSED_TIMELY_AT_NAME_DESC) {\n edges {\n node {\n ...CellSale_sale\n id\n }\n }\n }\n}\n\nfragment AuctionDetails_me on Me {\n ...RegisterButton_me\n}\n\nfragment AuctionDetails_sale on Sale {\n ...RegisterButton_sale\n ...AuctionInfoSidebar_sale\n ...SaleDetailTimer_sale\n internalID\n name\n slug\n liveStartAt\n startAt\n endAt\n description(format: HTML)\n href\n isClosed\n cascadingEndTimeIntervalMinutes\n}\n\nfragment AuctionInfoSidebar_sale on Sale {\n liveStartAt\n}\n\nfragment AuctionLotInfo_saleArtwork_4oTW5x on SaleArtwork {\n counts {\n bidderPositions\n }\n lotLabel\n currentBid {\n display\n }\n formattedEndDateTime\n artwork {\n internalID\n date\n title\n image {\n resized(width: 100, height: 100, version: \"medium\") {\n src\n srcSet\n width\n height\n }\n }\n imageUrl\n artistNames\n slug\n id\n }\n}\n\nfragment AuctionMeta_sale on Sale {\n name\n description(format: HTML)\n slug\n coverImage {\n url(version: [\"wide\", \"source\", \"large_rectangle\"])\n }\n}\n\nfragment AuctionWorksByFollowedArtistsRail_viewer_96HcF on Viewer {\n saleArtworksConnection(first: 30, aggregations: [TOTAL], saleSlug: $slug, includeArtworksByFollowedArtists: true) {\n edges {\n node {\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CascadingEndTimesBanner_sale on Sale {\n isClosed\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n}\n\nfragment CellSale_sale on Sale {\n name\n formattedStartDateTime\n href\n coverImage {\n cropped(width: 445, height: 334, version: [\"larger\", \"large\"]) {\n src\n srcSet\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment RegisterButton_me on Me {\n internalID\n isIdentityVerified\n hasCreditCards\n pendingIdentityVerification {\n internalID\n id\n }\n}\n\nfragment RegisterButton_sale on Sale {\n bidder {\n qualifiedForBidding\n id\n }\n isAuction\n isClosed\n isLiveOpen\n isPreview\n isRegistrationClosed\n liveURLIfOpen\n requireIdentityVerification\n registrationStatus {\n internalID\n id\n }\n slug\n status\n}\n\nfragment SaleDetailTimer_sale on Sale {\n endAt\n endedAt\n startAt\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query AuctionAppTestQuery(\n $slug: String!\n) {\n me {\n ...AuctionApp_me_96HcF\n id\n }\n sale(id: $slug) @principalField {\n ...AuctionApp_sale\n id\n }\n viewer {\n ...AuctionApp_viewer_9qtl6\n }\n}\n\nfragment AuctionActiveBids_me_96HcF on Me {\n internalID\n lotStandings(saleID: $slug, live: true) {\n isHighestBidder\n saleArtwork {\n ...AuctionLotInfo_saleArtwork_4oTW5x\n counts {\n bidderPositions\n }\n currentBid {\n display\n }\n slug\n lotLabel\n reserveStatus\n saleID\n highestBid {\n display\n }\n endedAt\n sale {\n slug\n liveStartAt\n endAt\n isLiveOpen\n isClosed\n id\n }\n id\n }\n }\n}\n\nfragment AuctionApp_me_96HcF on Me {\n ...AuctionActiveBids_me_96HcF\n ...AuctionDetails_me\n internalID\n showActiveBids: lotStandings(saleID: $slug, live: true) {\n activeBid {\n internalID\n id\n }\n }\n}\n\nfragment AuctionApp_sale on Sale {\n ...AuctionMeta_sale\n ...AuctionAssociatedSale_sale\n ...AuctionBuyNowRail_sale\n ...AuctionDetails_sale\n ...CascadingEndTimesBanner_sale\n internalID\n slug\n isClosed\n eligibleSaleArtworksCount\n coverImage {\n url(version: [\"wide\", \"source\", \"large_rectangle\"])\n }\n showAssociatedSale: associatedSale {\n internalID\n id\n }\n showBuyNowTab: promotedSale {\n internalID\n id\n }\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n status\n}\n\nfragment AuctionApp_viewer_9qtl6 on Viewer {\n ...AuctionWorksByFollowedArtistsRail_viewer_96HcF\n ...AuctionCurrentAuctionsRail_viewer\n showFollowedArtistsTab: saleArtworksConnection(first: 1, aggregations: [TOTAL], saleSlug: $slug, includeArtworksByFollowedArtists: true) {\n edges {\n node {\n internalID\n id\n }\n id\n }\n }\n}\n\nfragment AuctionAssociatedSale_sale on Sale {\n associatedSale {\n coverImage {\n cropped(width: 445, height: 250) {\n src\n srcSet\n }\n }\n displayTimelyAt\n href\n slug\n name\n id\n }\n}\n\nfragment AuctionBuyNowRail_sale on Sale {\n promotedSale {\n href\n internalID\n name\n saleArtworksConnection(first: 30) {\n edges {\n node {\n artwork {\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n }\n id\n }\n}\n\nfragment AuctionCurrentAuctionsRail_viewer on Viewer {\n salesConnection(first: 30, published: true, live: true, sort: LICENSED_TIMELY_AT_NAME_DESC) {\n edges {\n node {\n ...CellSale_sale\n id\n }\n }\n }\n}\n\nfragment AuctionDetails_me on Me {\n ...RegisterButton_me\n}\n\nfragment AuctionDetails_sale on Sale {\n ...RegisterButton_sale\n ...AuctionInfoSidebar_sale\n ...SaleDetailTimer_sale\n internalID\n name\n slug\n liveStartAt\n startAt\n endAt\n description(format: HTML)\n href\n isClosed\n cascadingEndTimeIntervalMinutes\n}\n\nfragment AuctionInfoSidebar_sale on Sale {\n liveStartAt\n}\n\nfragment AuctionLotInfo_saleArtwork_4oTW5x on SaleArtwork {\n counts {\n bidderPositions\n }\n lotLabel\n currentBid {\n display\n }\n formattedEndDateTime\n artwork {\n internalID\n date\n title\n image {\n resized(width: 100, height: 100, version: \"medium\") {\n src\n srcSet\n width\n height\n }\n }\n imageUrl\n artistNames\n slug\n id\n }\n}\n\nfragment AuctionMeta_sale on Sale {\n name\n description(format: HTML)\n slug\n coverImage {\n url(version: [\"wide\", \"source\", \"large_rectangle\"])\n }\n}\n\nfragment AuctionWorksByFollowedArtistsRail_viewer_96HcF on Viewer {\n saleArtworksConnection(first: 30, aggregations: [TOTAL], saleSlug: $slug, includeArtworksByFollowedArtists: true) {\n edges {\n node {\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CascadingEndTimesBanner_sale on Sale {\n isClosed\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n}\n\nfragment CellSale_sale on Sale {\n name\n formattedStartDateTime\n href\n coverImage {\n cropped(width: 445, height: 334, version: [\"larger\", \"large\"]) {\n src\n srcSet\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment RegisterButton_me on Me {\n internalID\n isIdentityVerified\n hasCreditCards\n pendingIdentityVerification {\n internalID\n id\n }\n}\n\nfragment RegisterButton_sale on Sale {\n bidder {\n qualifiedForBidding\n id\n }\n isAuction\n isClosed\n isLiveOpen\n isPreview\n isRegistrationClosed\n liveURLIfOpen\n requireIdentityVerification\n registrationStatus {\n internalID\n id\n }\n slug\n status\n}\n\nfragment SaleDetailTimer_sale on Sale {\n endAt\n endedAt\n startAt\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/AuctionArtworkFilterQuery.graphql.ts b/src/__generated__/AuctionArtworkFilterQuery.graphql.ts index 9978cb060b0..de0f8d01a9a 100644 --- a/src/__generated__/AuctionArtworkFilterQuery.graphql.ts +++ b/src/__generated__/AuctionArtworkFilterQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<82bb34e1ad165ecdc45b3bc5af609ab4>> * @lightSyntaxTransform * @nogrep */ @@ -156,52 +156,52 @@ v11 = { "large" ] }, -v12 = [ +v12 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v13 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v14 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v13 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v15 = { +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v16 = { +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v17 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v18 = [ - (v13/*: any*/), + (v15/*: any*/), (v4/*: any*/) ]; return { @@ -624,6 +624,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v12/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v13/*: any*/), + "storageKey": null + }, + (v4/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -644,7 +667,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -692,7 +715,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -700,7 +723,7 @@ return { "selections": [ (v4/*: any*/), (v9/*: any*/), - (v13/*: any*/) + (v15/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -713,13 +736,13 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v13/*: any*/), + (v15/*: any*/), (v9/*: any*/), (v4/*: any*/) ], @@ -733,7 +756,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v14/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -795,7 +818,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -803,8 +826,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v14/*: any*/), - (v16/*: any*/), + (v12/*: any*/), + (v17/*: any*/), { "alias": null, "args": null, @@ -837,7 +860,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v17/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, { @@ -847,7 +870,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v17/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, (v4/*: any*/) @@ -862,10 +885,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), (v4/*: any*/), - (v14/*: any*/), - (v16/*: any*/) + (v12/*: any*/), + (v17/*: any*/) ], "storageKey": null }, @@ -1021,7 +1044,7 @@ return { "name": "counts", "plural": true, "selections": [ - (v13/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -1052,12 +1075,12 @@ return { ] }, "params": { - "cacheID": "baf1cbfae7989138258f5953d7787190", + "cacheID": "e5da2b59835ac41ca3162cd736b58afc", "id": null, "metadata": {}, "name": "AuctionArtworkFilterQuery", "operationKind": "query", - "text": "query AuctionArtworkFilterQuery(\n $saleID: String!\n $input: FilterArtworksInput\n $isLoggedIn: Boolean!\n) {\n viewer {\n ...AuctionArtworkFilter_viewer_1rdGPv\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkFilter_viewer_2VV6jB on Viewer {\n filtered_artworks: artworksConnection(input: $input) {\n ...ArtworkFilterArtworkGrid_filtered_artworks\n counts {\n total(format: \"0,0\")\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment AuctionArtworkFilter_viewer_1rdGPv on Viewer {\n ...ArtworkFilter_viewer_2VV6jB\n sale(id: $saleID) {\n featuredKeywords\n id\n }\n sidebarAggregations: artworksConnection(input: $input, first: 1) {\n counts @include(if: $isLoggedIn) {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query AuctionArtworkFilterQuery(\n $saleID: String!\n $input: FilterArtworksInput\n $isLoggedIn: Boolean!\n) {\n viewer {\n ...AuctionArtworkFilter_viewer_1rdGPv\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkFilter_viewer_2VV6jB on Viewer {\n filtered_artworks: artworksConnection(input: $input) {\n ...ArtworkFilterArtworkGrid_filtered_artworks\n counts {\n total(format: \"0,0\")\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment AuctionArtworkFilter_viewer_1rdGPv on Viewer {\n ...ArtworkFilter_viewer_2VV6jB\n sale(id: $saleID) {\n featuredKeywords\n id\n }\n sidebarAggregations: artworksConnection(input: $input, first: 1) {\n counts @include(if: $isLoggedIn) {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/AuctionArtworkFilterRefetchQuery.graphql.ts b/src/__generated__/AuctionArtworkFilterRefetchQuery.graphql.ts index 3532f775dc9..f5b366a1069 100644 --- a/src/__generated__/AuctionArtworkFilterRefetchQuery.graphql.ts +++ b/src/__generated__/AuctionArtworkFilterRefetchQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<52d7e842840e1cf39020add5ea6a2212>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -156,52 +156,52 @@ v11 = { "large" ] }, -v12 = [ +v12 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v13 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v14 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v13 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v15 = { +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v16 = { +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v17 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v18 = [ - (v13/*: any*/), + (v15/*: any*/), (v4/*: any*/) ]; return { @@ -624,6 +624,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v12/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v13/*: any*/), + "storageKey": null + }, + (v4/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -644,7 +667,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -692,7 +715,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -700,7 +723,7 @@ return { "selections": [ (v4/*: any*/), (v9/*: any*/), - (v13/*: any*/) + (v15/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -713,13 +736,13 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v13/*: any*/), + (v15/*: any*/), (v9/*: any*/), (v4/*: any*/) ], @@ -733,7 +756,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v14/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -795,7 +818,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -803,8 +826,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v14/*: any*/), - (v16/*: any*/), + (v12/*: any*/), + (v17/*: any*/), { "alias": null, "args": null, @@ -837,7 +860,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v17/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, { @@ -847,7 +870,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v17/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, (v4/*: any*/) @@ -862,10 +885,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), (v4/*: any*/), - (v14/*: any*/), - (v16/*: any*/) + (v12/*: any*/), + (v17/*: any*/) ], "storageKey": null }, @@ -1021,7 +1044,7 @@ return { "name": "counts", "plural": true, "selections": [ - (v13/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -1052,12 +1075,12 @@ return { ] }, "params": { - "cacheID": "a7dd5371c09bcaa486e528e1ac515f55", + "cacheID": "8b44f1a001fd6579200c52c5ad9b4564", "id": null, "metadata": {}, "name": "AuctionArtworkFilterRefetchQuery", "operationKind": "query", - "text": "query AuctionArtworkFilterRefetchQuery(\n $input: FilterArtworksInput\n $saleID: String!\n $isLoggedIn: Boolean!\n) {\n viewer {\n ...AuctionArtworkFilter_viewer_1rdGPv\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkFilter_viewer_2VV6jB on Viewer {\n filtered_artworks: artworksConnection(input: $input) {\n ...ArtworkFilterArtworkGrid_filtered_artworks\n counts {\n total(format: \"0,0\")\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment AuctionArtworkFilter_viewer_1rdGPv on Viewer {\n ...ArtworkFilter_viewer_2VV6jB\n sale(id: $saleID) {\n featuredKeywords\n id\n }\n sidebarAggregations: artworksConnection(input: $input, first: 1) {\n counts @include(if: $isLoggedIn) {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query AuctionArtworkFilterRefetchQuery(\n $input: FilterArtworksInput\n $saleID: String!\n $isLoggedIn: Boolean!\n) {\n viewer {\n ...AuctionArtworkFilter_viewer_1rdGPv\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkFilter_viewer_2VV6jB on Viewer {\n filtered_artworks: artworksConnection(input: $input) {\n ...ArtworkFilterArtworkGrid_filtered_artworks\n counts {\n total(format: \"0,0\")\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment AuctionArtworkFilter_viewer_1rdGPv on Viewer {\n ...ArtworkFilter_viewer_2VV6jB\n sale(id: $saleID) {\n featuredKeywords\n id\n }\n sidebarAggregations: artworksConnection(input: $input, first: 1) {\n counts @include(if: $isLoggedIn) {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/AuctionArtworkFilterTestQuery.graphql.ts b/src/__generated__/AuctionArtworkFilterTestQuery.graphql.ts index 041191d7e42..4d44f2e1633 100644 --- a/src/__generated__/AuctionArtworkFilterTestQuery.graphql.ts +++ b/src/__generated__/AuctionArtworkFilterTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<0efefc1f00732c18ce019e46a0d0db94>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -79,52 +79,52 @@ v7 = { "large" ] }, -v8 = [ +v8 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v9 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v10 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v9 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v11 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v12 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v13 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v14 = [ - (v9/*: any*/), + (v11/*: any*/), (v0/*: any*/) ]; return { @@ -536,6 +536,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v8/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v9/*: any*/), + "storageKey": null + }, + (v0/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -556,7 +579,7 @@ return { }, { "alias": null, - "args": (v8/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -604,7 +627,7 @@ return { }, { "alias": null, - "args": (v8/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -612,7 +635,7 @@ return { "selections": [ (v0/*: any*/), (v5/*: any*/), - (v9/*: any*/) + (v11/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -625,13 +648,13 @@ return { }, { "alias": null, - "args": (v8/*: any*/), + "args": (v10/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v9/*: any*/), + (v11/*: any*/), (v5/*: any*/), (v0/*: any*/) ], @@ -645,7 +668,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v10/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -707,7 +730,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -715,8 +738,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v10/*: any*/), - (v12/*: any*/), + (v8/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -749,7 +772,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v13/*: any*/), + "selections": (v9/*: any*/), "storageKey": null }, { @@ -759,7 +782,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v13/*: any*/), + "selections": (v9/*: any*/), "storageKey": null }, (v0/*: any*/) @@ -774,10 +797,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), (v0/*: any*/), - (v10/*: any*/), - (v12/*: any*/) + (v8/*: any*/), + (v13/*: any*/) ], "storageKey": null }, @@ -907,7 +930,7 @@ return { "name": "counts", "plural": true, "selections": [ - (v9/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -938,12 +961,12 @@ return { ] }, "params": { - "cacheID": "9799c872831f1e10e4776710c5d882db", + "cacheID": "e4aa02f854e39c98b110fcd59604c9ac", "id": null, "metadata": {}, "name": "AuctionArtworkFilterTestQuery", "operationKind": "query", - "text": "query AuctionArtworkFilterTestQuery {\n viewer {\n ...AuctionArtworkFilter_viewer_2nJEft\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkFilter_viewer_4g78v5 on Viewer {\n filtered_artworks: artworksConnection {\n ...ArtworkFilterArtworkGrid_filtered_artworks\n counts {\n total(format: \"0,0\")\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment AuctionArtworkFilter_viewer_2nJEft on Viewer {\n ...ArtworkFilter_viewer_4g78v5\n sale(id: \"test-sale\") {\n featuredKeywords\n id\n }\n sidebarAggregations: artworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query AuctionArtworkFilterTestQuery {\n viewer {\n ...AuctionArtworkFilter_viewer_2nJEft\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkFilter_viewer_4g78v5 on Viewer {\n filtered_artworks: artworksConnection {\n ...ArtworkFilterArtworkGrid_filtered_artworks\n counts {\n total(format: \"0,0\")\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment AuctionArtworkFilter_viewer_2nJEft on Viewer {\n ...ArtworkFilter_viewer_4g78v5\n sale(id: \"test-sale\") {\n featuredKeywords\n id\n }\n sidebarAggregations: artworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/AuctionArtworksRailQuery.graphql.ts b/src/__generated__/AuctionArtworksRailQuery.graphql.ts index fd32bbc97c1..ddaf6007955 100644 --- a/src/__generated__/AuctionArtworksRailQuery.graphql.ts +++ b/src/__generated__/AuctionArtworksRailQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<8c9e3196e0aae3dc19dfd3cc5a604906>> + * @generated SignedSource<<7bc27fa816e41b7a14f6bdaa355b4b94>> * @lightSyntaxTransform * @nogrep */ @@ -52,53 +52,53 @@ v3 = { "name": "href", "storageKey": null }, -v4 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v5 = { +v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v5 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v7 = { +v7 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v8 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v8 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v9 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v10 = [ - (v6/*: any*/), - (v5/*: any*/) + (v8/*: any*/), + (v6/*: any*/) ], v11 = { "alias": null, @@ -261,6 +261,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v4/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v5/*: any*/), + "storageKey": null + }, + (v6/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -281,7 +304,7 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -305,7 +328,7 @@ return { ], "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -329,15 +352,15 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v5/*: any*/), + (v6/*: any*/), (v3/*: any*/), - (v6/*: any*/) + (v8/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -350,15 +373,15 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v6/*: any*/), + (v8/*: any*/), (v3/*: any*/), - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -370,7 +393,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v7/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -406,7 +429,7 @@ return { "name": "isClosed", "storageKey": null }, - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -425,7 +448,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -433,7 +456,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v7/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -473,7 +496,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v9/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, { @@ -483,10 +506,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v9/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null }, @@ -498,8 +521,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), - (v5/*: any*/) + (v9/*: any*/), + (v6/*: any*/) ], "storageKey": null }, @@ -590,7 +613,7 @@ return { "storageKey": null }, (v11/*: any*/), - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null } @@ -603,7 +626,7 @@ return { (v2/*: any*/), (v11/*: any*/), (v3/*: any*/), - (v6/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -611,19 +634,19 @@ return { "name": "formattedStartDateTime", "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null } ] }, "params": { - "cacheID": "30b559d33201617d021c808d5653a0ce", + "cacheID": "c0a34af84a014f9b56b66f3f385953fe", "id": null, "metadata": {}, "name": "AuctionArtworksRailQuery", "operationKind": "query", - "text": "query AuctionArtworksRailQuery(\n $slug: String!\n) {\n sale(id: $slug) {\n ...AuctionArtworksRail_sale\n id\n }\n}\n\nfragment AuctionArtworksRail_sale on Sale {\n artworksConnection(first: 20) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n slug\n id\n }\n }\n }\n internalID\n slug\n href\n name\n formattedStartDateTime\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query AuctionArtworksRailQuery(\n $slug: String!\n) {\n sale(id: $slug) {\n ...AuctionArtworksRail_sale\n id\n }\n}\n\nfragment AuctionArtworksRail_sale on Sale {\n artworksConnection(first: 20) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n slug\n id\n }\n }\n }\n internalID\n slug\n href\n name\n formattedStartDateTime\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/AuctionArtworksRail_Test_Query.graphql.ts b/src/__generated__/AuctionArtworksRail_Test_Query.graphql.ts index e4dd07eff87..3f4bef7641c 100644 --- a/src/__generated__/AuctionArtworksRail_Test_Query.graphql.ts +++ b/src/__generated__/AuctionArtworksRail_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<04c357e766e38df4e55e588d836280c8>> * @lightSyntaxTransform * @nogrep */ @@ -43,53 +43,53 @@ v2 = { "name": "href", "storageKey": null }, -v3 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v4 = { +v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v4 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v6 = { +v6 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v7 = { +v8 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v8 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v9 = [ - (v5/*: any*/), - (v4/*: any*/) + (v7/*: any*/), + (v5/*: any*/) ], v10 = { "alias": null, @@ -294,6 +294,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v3/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v4/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -314,7 +337,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -338,7 +361,7 @@ return { ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -362,15 +385,15 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v4/*: any*/), + (v5/*: any*/), (v2/*: any*/), - (v5/*: any*/) + (v7/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -383,15 +406,15 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v5/*: any*/), + (v7/*: any*/), (v2/*: any*/), - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -403,7 +426,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v6/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -439,7 +462,7 @@ return { "name": "isClosed", "storageKey": null }, - (v4/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -458,7 +481,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -466,7 +489,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v6/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -506,7 +529,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, { @@ -516,10 +539,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null }, @@ -531,8 +554,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), - (v4/*: any*/) + (v8/*: any*/), + (v5/*: any*/) ], "storageKey": null }, @@ -623,7 +646,7 @@ return { "storageKey": null }, (v10/*: any*/), - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null } @@ -636,7 +659,7 @@ return { (v1/*: any*/), (v10/*: any*/), (v2/*: any*/), - (v5/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -644,14 +667,14 @@ return { "name": "formattedStartDateTime", "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "sale(id:\"xxx\")" } ] }, "params": { - "cacheID": "ee425a8bcbb8fce258368046af647e92", + "cacheID": "6238839806628fa4ebe8576e6c839edf", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -729,6 +752,21 @@ return { "sale.artworksConnection.edges.node.collectorSignals.auction.lotClosesAt": (v14/*: any*/), "sale.artworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v15/*: any*/), "sale.artworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v14/*: any*/), + "sale.artworksConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "sale.artworksConnection.edges.node.collectorSignals.partnerOffer.endAt": (v14/*: any*/), + "sale.artworksConnection.edges.node.collectorSignals.partnerOffer.id": (v12/*: any*/), + "sale.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "sale.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v14/*: any*/), "sale.artworksConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -848,7 +886,7 @@ return { }, "name": "AuctionArtworksRail_Test_Query", "operationKind": "query", - "text": "query AuctionArtworksRail_Test_Query {\n sale(id: \"xxx\") {\n ...AuctionArtworksRail_sale\n id\n }\n}\n\nfragment AuctionArtworksRail_sale on Sale {\n artworksConnection(first: 20) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n slug\n id\n }\n }\n }\n internalID\n slug\n href\n name\n formattedStartDateTime\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query AuctionArtworksRail_Test_Query {\n sale(id: \"xxx\") {\n ...AuctionArtworksRail_sale\n id\n }\n}\n\nfragment AuctionArtworksRail_sale on Sale {\n artworksConnection(first: 20) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n slug\n id\n }\n }\n }\n internalID\n slug\n href\n name\n formattedStartDateTime\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/AuctionBuyNowRailTestQuery.graphql.ts b/src/__generated__/AuctionBuyNowRailTestQuery.graphql.ts index da6f5194b51..5d07ac9691a 100644 --- a/src/__generated__/AuctionBuyNowRailTestQuery.graphql.ts +++ b/src/__generated__/AuctionBuyNowRailTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<0b4d5699b46d5affe108454470207de8>> * @lightSyntaxTransform * @nogrep */ @@ -50,46 +50,46 @@ v3 = { "name": "name", "storageKey": null }, -v4 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v5 = { +v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v5 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "id", "storageKey": null }, -v7 = { +v7 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v8 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v8 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v9 = [ (v3/*: any*/), - (v5/*: any*/) + (v6/*: any*/) ]; return { "fragment": { @@ -264,6 +264,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v4/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v5/*: any*/), + "storageKey": null + }, + (v6/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -284,7 +307,7 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -308,7 +331,7 @@ return { ], "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -332,13 +355,13 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v5/*: any*/), + (v6/*: any*/), (v1/*: any*/), (v3/*: any*/) ], @@ -353,7 +376,7 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -361,7 +384,7 @@ return { "selections": [ (v3/*: any*/), (v1/*: any*/), - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -373,7 +396,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v6/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -409,7 +432,7 @@ return { "name": "isClosed", "storageKey": null }, - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -428,7 +451,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -436,7 +459,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v6/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -476,7 +499,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, { @@ -486,10 +509,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null }, @@ -501,8 +524,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), - (v5/*: any*/) + (v8/*: any*/), + (v6/*: any*/) ], "storageKey": null }, @@ -592,11 +615,11 @@ return { ], "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null } @@ -606,23 +629,23 @@ return { ], "storageKey": "saleArtworksConnection(first:30)" }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "sale(id:\"foo\")" } ] }, "params": { - "cacheID": "46689f82cfd16763d9fa1a26b95ad337", + "cacheID": "7b865385edfe2ff54b06a6fb0bd4809d", "id": null, "metadata": {}, "name": "AuctionBuyNowRailTestQuery", "operationKind": "query", - "text": "query AuctionBuyNowRailTestQuery {\n sale(id: \"foo\") {\n ...AuctionBuyNowRail_sale\n id\n }\n}\n\nfragment AuctionBuyNowRail_sale on Sale {\n promotedSale {\n href\n internalID\n name\n saleArtworksConnection(first: 30) {\n edges {\n node {\n artwork {\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query AuctionBuyNowRailTestQuery {\n sale(id: \"foo\") {\n ...AuctionBuyNowRail_sale\n id\n }\n}\n\nfragment AuctionBuyNowRail_sale on Sale {\n promotedSale {\n href\n internalID\n name\n saleArtworksConnection(first: 30) {\n edges {\n node {\n artwork {\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/AuctionWorksByFollowedArtistsRailTestQuery.graphql.ts b/src/__generated__/AuctionWorksByFollowedArtistsRailTestQuery.graphql.ts index 1944af68da8..11a580fc83b 100644 --- a/src/__generated__/AuctionWorksByFollowedArtistsRailTestQuery.graphql.ts +++ b/src/__generated__/AuctionWorksByFollowedArtistsRailTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<1f6caf040019479c6b1191d929a09e68>> + * @generated SignedSource<<0e8f53a3fc24f2fc3f484ab3048b9444>> * @lightSyntaxTransform * @nogrep */ @@ -29,53 +29,53 @@ var v0 = { "name": "href", "storageKey": null }, -v1 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v2 = { +v1 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v2 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v4 = { +v4 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v3/*: any*/), - (v2/*: any*/) + (v5/*: any*/), + (v3/*: any*/) ]; return { "fragment": { @@ -249,6 +249,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v1/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v2/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -269,7 +292,7 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -293,7 +316,7 @@ return { ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -317,15 +340,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v2/*: any*/), + (v3/*: any*/), (v0/*: any*/), - (v3/*: any*/) + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -338,15 +361,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v3/*: any*/), + (v5/*: any*/), (v0/*: any*/), - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -358,7 +381,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -394,7 +417,7 @@ return { "name": "isClosed", "storageKey": null }, - (v2/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -413,7 +436,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -421,7 +444,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -461,7 +484,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -471,10 +494,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null }, @@ -486,8 +509,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), - (v2/*: any*/) + (v6/*: any*/), + (v3/*: any*/) ], "storageKey": null }, @@ -577,11 +600,11 @@ return { ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null } @@ -594,12 +617,12 @@ return { ] }, "params": { - "cacheID": "796768fcfbc6c1e9d4f04cbf11a6641b", + "cacheID": "63073bd67a9f5d9df581152f66e32443", "id": null, "metadata": {}, "name": "AuctionWorksByFollowedArtistsRailTestQuery", "operationKind": "query", - "text": "query AuctionWorksByFollowedArtistsRailTestQuery {\n viewer {\n ...AuctionWorksByFollowedArtistsRail_viewer\n }\n}\n\nfragment AuctionWorksByFollowedArtistsRail_viewer on Viewer {\n saleArtworksConnection(first: 30, aggregations: [TOTAL], includeArtworksByFollowedArtists: true) {\n edges {\n node {\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query AuctionWorksByFollowedArtistsRailTestQuery {\n viewer {\n ...AuctionWorksByFollowedArtistsRail_viewer\n }\n}\n\nfragment AuctionWorksByFollowedArtistsRail_viewer on Viewer {\n saleArtworksConnection(first: 30, aggregations: [TOTAL], includeArtworksByFollowedArtists: true) {\n edges {\n node {\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/CollectArtworkFilterQuery.graphql.ts b/src/__generated__/CollectArtworkFilterQuery.graphql.ts index cfc138db038..326ef542cbd 100644 --- a/src/__generated__/CollectArtworkFilterQuery.graphql.ts +++ b/src/__generated__/CollectArtworkFilterQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -256,43 +256,43 @@ v16 = { "large" ] }, -v17 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v18 = { +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v19 = { +v18 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v19 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v20 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v20 = { +v21 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v21 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v22 = [ (v7/*: any*/), (v9/*: any*/) @@ -716,6 +716,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v17/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v18/*: any*/), + "storageKey": null + }, + (v9/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -736,7 +759,7 @@ return { }, { "alias": null, - "args": (v17/*: any*/), + "args": (v19/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -784,7 +807,7 @@ return { }, { "alias": null, - "args": (v17/*: any*/), + "args": (v19/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -805,7 +828,7 @@ return { }, { "alias": null, - "args": (v17/*: any*/), + "args": (v19/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -825,7 +848,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v18/*: any*/), + (v17/*: any*/), { "alias": null, "args": null, @@ -887,7 +910,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v19/*: any*/), + (v20/*: any*/), { "alias": null, "args": null, @@ -895,8 +918,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v18/*: any*/), - (v20/*: any*/), + (v17/*: any*/), + (v21/*: any*/), { "alias": null, "args": null, @@ -929,7 +952,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v21/*: any*/), + "selections": (v18/*: any*/), "storageKey": null }, { @@ -939,7 +962,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v21/*: any*/), + "selections": (v18/*: any*/), "storageKey": null }, (v9/*: any*/) @@ -954,10 +977,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v19/*: any*/), + (v20/*: any*/), (v9/*: any*/), - (v18/*: any*/), - (v20/*: any*/) + (v17/*: any*/), + (v21/*: any*/) ], "storageKey": null }, @@ -1045,12 +1068,12 @@ return { ] }, "params": { - "cacheID": "c2a58d9cdc91d0f530a8e3a5d99ba33a", + "cacheID": "c52aa5e572a6d0d1d38f7e2f71d04e3f", "id": null, "metadata": {}, "name": "CollectArtworkFilterQuery", "operationKind": "query", - "text": "query CollectArtworkFilterQuery(\n $input: FilterArtworksInput\n $aggregations: [ArtworkAggregation]\n $shouldFetchCounts: Boolean!\n) {\n viewer {\n ...ArtworkFilter_viewer_2VV6jB\n artworksConnection(aggregations: $aggregations, input: $input) {\n counts @include(if: $shouldFetchCounts) {\n followedArtists\n }\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n id\n }\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkFilter_viewer_2VV6jB on Viewer {\n filtered_artworks: artworksConnection(input: $input) {\n ...ArtworkFilterArtworkGrid_filtered_artworks\n counts {\n total(format: \"0,0\")\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query CollectArtworkFilterQuery(\n $input: FilterArtworksInput\n $aggregations: [ArtworkAggregation]\n $shouldFetchCounts: Boolean!\n) {\n viewer {\n ...ArtworkFilter_viewer_2VV6jB\n artworksConnection(aggregations: $aggregations, input: $input) {\n counts @include(if: $shouldFetchCounts) {\n followedArtists\n }\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n id\n }\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkFilter_viewer_2VV6jB on Viewer {\n filtered_artworks: artworksConnection(input: $input) {\n ...ArtworkFilterArtworkGrid_filtered_artworks\n counts {\n total(format: \"0,0\")\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/CollectionArtworksFilterQuery.graphql.ts b/src/__generated__/CollectionArtworksFilterQuery.graphql.ts index 07e101774bd..db7b690d3b8 100644 --- a/src/__generated__/CollectionArtworksFilterQuery.graphql.ts +++ b/src/__generated__/CollectionArtworksFilterQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<750cdeb3b4923450d6b07ae268663db9>> * @lightSyntaxTransform * @nogrep */ @@ -168,52 +168,52 @@ v11 = { "large" ] }, -v12 = [ +v12 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v13 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v14 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v13 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v15 = { +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v16 = { +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v17 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v18 = [ - (v13/*: any*/), + (v15/*: any*/), (v4/*: any*/) ]; return { @@ -627,6 +627,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v12/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v13/*: any*/), + "storageKey": null + }, + (v4/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -647,7 +670,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -695,7 +718,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -703,7 +726,7 @@ return { "selections": [ (v4/*: any*/), (v9/*: any*/), - (v13/*: any*/) + (v15/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -716,13 +739,13 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v13/*: any*/), + (v15/*: any*/), (v9/*: any*/), (v4/*: any*/) ], @@ -736,7 +759,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v14/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -798,7 +821,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -806,8 +829,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v14/*: any*/), - (v16/*: any*/), + (v12/*: any*/), + (v17/*: any*/), { "alias": null, "args": null, @@ -840,7 +863,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v17/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, { @@ -850,7 +873,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v17/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, (v4/*: any*/) @@ -865,10 +888,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), (v4/*: any*/), - (v14/*: any*/), - (v16/*: any*/) + (v12/*: any*/), + (v17/*: any*/) ], "storageKey": null }, @@ -943,12 +966,12 @@ return { ] }, "params": { - "cacheID": "956c239bde188fa2301b4fb014b29dfc", + "cacheID": "6be8f5cc89c4604aa72b24bcaef5d70c", "id": null, "metadata": {}, "name": "CollectionArtworksFilterQuery", "operationKind": "query", - "text": "query CollectionArtworksFilterQuery(\n $input: FilterArtworksInput\n $slug: String!\n) {\n collection: marketingCollection(slug: $slug) {\n ...CollectionArtworksFilter_collection_2VV6jB\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CollectionArtworksFilter_collection_2VV6jB on MarketingCollection {\n slug\n query {\n artistIDs\n }\n filtered_artworks: artworksConnection(input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query CollectionArtworksFilterQuery(\n $input: FilterArtworksInput\n $slug: String!\n) {\n collection: marketingCollection(slug: $slug) {\n ...CollectionArtworksFilter_collection_2VV6jB\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CollectionArtworksFilter_collection_2VV6jB on MarketingCollection {\n slug\n query {\n artistIDs\n }\n filtered_artworks: artworksConnection(input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/CollectionArtworksFilter_Query.graphql.ts b/src/__generated__/CollectionArtworksFilter_Query.graphql.ts index 11d8172c601..053c58e7204 100644 --- a/src/__generated__/CollectionArtworksFilter_Query.graphql.ts +++ b/src/__generated__/CollectionArtworksFilter_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<552f89b8c5625d7125a2f1b1e7b116da>> * @lightSyntaxTransform * @nogrep */ @@ -168,52 +168,52 @@ v11 = { "large" ] }, -v12 = [ +v12 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v13 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v14 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v13 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v15 = { +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v16 = { +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v17 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v18 = [ - (v13/*: any*/), + (v15/*: any*/), (v4/*: any*/) ], v19 = { @@ -693,6 +693,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v12/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v13/*: any*/), + "storageKey": null + }, + (v4/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -713,7 +736,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -761,7 +784,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -769,7 +792,7 @@ return { "selections": [ (v4/*: any*/), (v9/*: any*/), - (v13/*: any*/) + (v15/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -782,13 +805,13 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v13/*: any*/), + (v15/*: any*/), (v9/*: any*/), (v4/*: any*/) ], @@ -802,7 +825,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v14/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -864,7 +887,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -872,8 +895,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v14/*: any*/), - (v16/*: any*/), + (v12/*: any*/), + (v17/*: any*/), { "alias": null, "args": null, @@ -906,7 +929,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v17/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, { @@ -916,7 +939,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v17/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, (v4/*: any*/) @@ -931,10 +954,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), (v4/*: any*/), - (v14/*: any*/), - (v16/*: any*/) + (v12/*: any*/), + (v17/*: any*/) ], "storageKey": null }, @@ -1009,7 +1032,7 @@ return { ] }, "params": { - "cacheID": "b4000841d2754f3e29af35a837933ebb", + "cacheID": "c4c1bef7a77699ae26fa6d43e91c7b05", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1098,6 +1121,21 @@ return { "collection.filtered_artworks.edges.node.collectorSignals.auction.lotClosesAt": (v23/*: any*/), "collection.filtered_artworks.edges.node.collectorSignals.auction.onlineBiddingExtended": (v25/*: any*/), "collection.filtered_artworks.edges.node.collectorSignals.auction.registrationEndsAt": (v23/*: any*/), + "collection.filtered_artworks.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "collection.filtered_artworks.edges.node.collectorSignals.partnerOffer.endAt": (v23/*: any*/), + "collection.filtered_artworks.edges.node.collectorSignals.partnerOffer.id": (v21/*: any*/), + "collection.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "collection.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v23/*: any*/), "collection.filtered_artworks.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1282,7 +1320,7 @@ return { }, "name": "CollectionArtworksFilter_Query", "operationKind": "query", - "text": "query CollectionArtworksFilter_Query(\n $input: FilterArtworksInput\n $slug: String!\n) {\n collection: marketingCollection(slug: $slug) {\n ...CollectionArtworksFilter_collection_2VV6jB\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CollectionArtworksFilter_collection_2VV6jB on MarketingCollection {\n slug\n query {\n artistIDs\n }\n filtered_artworks: artworksConnection(input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query CollectionArtworksFilter_Query(\n $input: FilterArtworksInput\n $slug: String!\n) {\n collection: marketingCollection(slug: $slug) {\n ...CollectionArtworksFilter_collection_2VV6jB\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CollectionArtworksFilter_collection_2VV6jB on MarketingCollection {\n slug\n query {\n artistIDs\n }\n filtered_artworks: artworksConnection(input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/CollectionArtworksQuery.graphql.ts b/src/__generated__/CollectionArtworksQuery.graphql.ts index 0bd806a7e14..9195218374f 100644 --- a/src/__generated__/CollectionArtworksQuery.graphql.ts +++ b/src/__generated__/CollectionArtworksQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<1a5f51fadd7de5668ae299cb39ff0600>> * @lightSyntaxTransform * @nogrep */ @@ -289,43 +289,43 @@ v18 = { "large" ] }, -v19 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v20 = { +v19 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v21 = { +v20 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v21 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v22 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v22 = { +v23 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v23 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v24 = [ (v8/*: any*/), (v11/*: any*/) @@ -764,6 +764,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v19/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v20/*: any*/), + "storageKey": null + }, + (v11/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -784,7 +807,7 @@ return { }, { "alias": null, - "args": (v19/*: any*/), + "args": (v21/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -832,7 +855,7 @@ return { }, { "alias": null, - "args": (v19/*: any*/), + "args": (v21/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -853,7 +876,7 @@ return { }, { "alias": null, - "args": (v19/*: any*/), + "args": (v21/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -873,7 +896,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v20/*: any*/), + (v19/*: any*/), { "alias": null, "args": null, @@ -935,7 +958,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v21/*: any*/), + (v22/*: any*/), { "alias": null, "args": null, @@ -943,8 +966,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v20/*: any*/), - (v22/*: any*/), + (v19/*: any*/), + (v23/*: any*/), { "alias": null, "args": null, @@ -977,7 +1000,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v23/*: any*/), + "selections": (v20/*: any*/), "storageKey": null }, { @@ -987,7 +1010,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v23/*: any*/), + "selections": (v20/*: any*/), "storageKey": null }, (v11/*: any*/) @@ -1002,10 +1025,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v21/*: any*/), + (v22/*: any*/), (v11/*: any*/), - (v20/*: any*/), - (v22/*: any*/) + (v19/*: any*/), + (v23/*: any*/) ], "storageKey": null }, @@ -1094,12 +1117,12 @@ return { ] }, "params": { - "cacheID": "017cb4747afbd39e0ae448f2a35912dc", + "cacheID": "7ff6c5fdaf8cae32908d682bd29ab5d2", "id": null, "metadata": {}, "name": "CollectionArtworksQuery", "operationKind": "query", - "text": "query CollectionArtworksQuery(\n $slug: String!\n $aggregations: [ArtworkAggregation]\n $input: FilterArtworksInput!\n $shouldFetchCounts: Boolean!\n) {\n marketingCollection(slug: $slug) {\n ...CollectionArtworksFilter_collection_2VV6jB\n artworksConnection(aggregations: $aggregations, includeMediumFilterInAggregation: true, first: 20, sort: \"-decayed_merch\") {\n counts @include(if: $shouldFetchCounts) {\n followedArtists\n }\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n id\n }\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CollectionArtworksFilter_collection_2VV6jB on MarketingCollection {\n slug\n query {\n artistIDs\n }\n filtered_artworks: artworksConnection(input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query CollectionArtworksQuery(\n $slug: String!\n $aggregations: [ArtworkAggregation]\n $input: FilterArtworksInput!\n $shouldFetchCounts: Boolean!\n) {\n marketingCollection(slug: $slug) {\n ...CollectionArtworksFilter_collection_2VV6jB\n artworksConnection(aggregations: $aggregations, includeMediumFilterInAggregation: true, first: 20, sort: \"-decayed_merch\") {\n counts @include(if: $shouldFetchCounts) {\n followedArtists\n }\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n id\n }\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CollectionArtworksFilter_collection_2VV6jB on MarketingCollection {\n slug\n query {\n artistIDs\n }\n filtered_artworks: artworksConnection(input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ConfirmationArtworksGridQuery.graphql.ts b/src/__generated__/ConfirmationArtworksGridQuery.graphql.ts index bda4b346718..4d977d3fc8a 100644 --- a/src/__generated__/ConfirmationArtworksGridQuery.graphql.ts +++ b/src/__generated__/ConfirmationArtworksGridQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -141,52 +141,52 @@ v6 = { "large" ] }, -v7 = [ +v7 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v8 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v9 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v8 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v10 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v11 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v12 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v13 = [ - (v8/*: any*/), + (v10/*: any*/), (v3/*: any*/) ]; return { @@ -457,6 +457,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v7/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v8/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -477,7 +500,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -525,7 +548,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -533,7 +556,7 @@ return { "selections": [ (v3/*: any*/), (v4/*: any*/), - (v8/*: any*/) + (v10/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -546,13 +569,13 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v8/*: any*/), + (v10/*: any*/), (v4/*: any*/), (v3/*: any*/) ], @@ -566,7 +589,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v9/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -628,7 +651,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v10/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -636,8 +659,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v9/*: any*/), - (v11/*: any*/), + (v7/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -670,7 +693,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, { @@ -680,7 +703,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, (v3/*: any*/) @@ -695,10 +718,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v10/*: any*/), + (v11/*: any*/), (v3/*: any*/), - (v9/*: any*/), - (v11/*: any*/) + (v7/*: any*/), + (v12/*: any*/) ], "storageKey": null }, @@ -772,12 +795,12 @@ return { ] }, "params": { - "cacheID": "66d451dc761b5bb75f452327f076802a", + "cacheID": "0aeab57df550f0a6ac2df304ac0650fe", "id": null, "metadata": {}, "name": "ConfirmationArtworksGridQuery", "operationKind": "query", - "text": "query ConfirmationArtworksGridQuery(\n $input: FilterArtworksInput\n) {\n artworksConnection(input: $input) {\n counts {\n total\n }\n ...ArtworkGrid_artworks\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ConfirmationArtworksGridQuery(\n $input: FilterArtworksInput\n) {\n artworksConnection(input: $input) {\n counts {\n total\n }\n ...ArtworkGrid_artworks\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ConfirmationArtworksGrid_Test_Query.graphql.ts b/src/__generated__/ConfirmationArtworksGrid_Test_Query.graphql.ts index 3dc2ed40e4c..65d488ae389 100644 --- a/src/__generated__/ConfirmationArtworksGrid_Test_Query.graphql.ts +++ b/src/__generated__/ConfirmationArtworksGrid_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<661ddfa9bedab1f2a5b4244a179b9dec>> * @lightSyntaxTransform * @nogrep */ @@ -141,52 +141,52 @@ v6 = { "large" ] }, -v7 = [ +v7 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v8 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v9 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v8 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v10 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v11 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v12 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v13 = [ - (v8/*: any*/), + (v10/*: any*/), (v3/*: any*/) ], v14 = { @@ -505,6 +505,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v7/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v8/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -525,7 +548,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -573,7 +596,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -581,7 +604,7 @@ return { "selections": [ (v3/*: any*/), (v4/*: any*/), - (v8/*: any*/) + (v10/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -594,13 +617,13 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v8/*: any*/), + (v10/*: any*/), (v4/*: any*/), (v3/*: any*/) ], @@ -614,7 +637,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v9/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -676,7 +699,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v10/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -684,8 +707,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v9/*: any*/), - (v11/*: any*/), + (v7/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -718,7 +741,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, { @@ -728,7 +751,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, (v3/*: any*/) @@ -743,10 +766,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v10/*: any*/), + (v11/*: any*/), (v3/*: any*/), - (v9/*: any*/), - (v11/*: any*/) + (v7/*: any*/), + (v12/*: any*/) ], "storageKey": null }, @@ -820,7 +843,7 @@ return { ] }, "params": { - "cacheID": "7591a6fa95f8eb14722ab9b76cd07275", + "cacheID": "f44b31f2f20f8c4f73850fc6e879bd1b", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -908,6 +931,21 @@ return { "artworksConnection.edges.node.collectorSignals.auction.lotClosesAt": (v18/*: any*/), "artworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v19/*: any*/), "artworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v18/*: any*/), + "artworksConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "artworksConnection.edges.node.collectorSignals.partnerOffer.endAt": (v18/*: any*/), + "artworksConnection.edges.node.collectorSignals.partnerOffer.id": (v16/*: any*/), + "artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v18/*: any*/), "artworksConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1054,7 +1092,7 @@ return { }, "name": "ConfirmationArtworksGrid_Test_Query", "operationKind": "query", - "text": "query ConfirmationArtworksGrid_Test_Query(\n $input: FilterArtworksInput\n) {\n artworksConnection(input: $input) {\n counts {\n total\n }\n ...ArtworkGrid_artworks\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query ConfirmationArtworksGrid_Test_Query(\n $input: FilterArtworksInput\n) {\n artworksConnection(input: $input) {\n counts {\n total\n }\n ...ArtworkGrid_artworks\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/Details_Test_Query.graphql.ts b/src/__generated__/Details_Test_Query.graphql.ts index 7d821c9e72a..7e9ae53f828 100644 --- a/src/__generated__/Details_Test_Query.graphql.ts +++ b/src/__generated__/Details_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<8cc4f9d80c727be7d96d40b05c63eaa2>> + * @generated SignedSource<<98ad208098705e4478fd3dcec150e5b8>> * @lightSyntaxTransform * @nogrep */ @@ -46,6 +46,13 @@ export type Details_Test_Query$rawResponse = { readonly onlineBiddingExtended: boolean; readonly registrationEndsAt: string | null | undefined; } | null | undefined; + readonly partnerOffer: { + readonly endAt: string | null | undefined; + readonly id: string; + readonly priceWithDiscount: { + readonly display: string | null | undefined; + } | null | undefined; + } | null | undefined; readonly primaryLabel: LabelSignalEnum | null | undefined; } | null | undefined; readonly consignmentSubmission: { @@ -144,53 +151,53 @@ v3 = { "name": "href", "storageKey": null }, -v4 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v5 = { +v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v5 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v7 = { +v7 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v8 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v8 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v9 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v10 = [ - (v6/*: any*/), - (v5/*: any*/) + (v8/*: any*/), + (v6/*: any*/) ], v11 = { "enumValues": null, @@ -351,6 +358,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v4/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v5/*: any*/), + "storageKey": null + }, + (v6/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -371,7 +401,7 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -395,7 +425,7 @@ return { ], "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -419,15 +449,15 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v5/*: any*/), + (v6/*: any*/), (v3/*: any*/), - (v6/*: any*/) + (v8/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -440,15 +470,15 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v6/*: any*/), + (v8/*: any*/), (v3/*: any*/), - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -460,7 +490,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v7/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -496,7 +526,7 @@ return { "name": "isClosed", "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null }, @@ -508,7 +538,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -516,7 +546,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v7/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -556,7 +586,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v9/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, { @@ -566,10 +596,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v9/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null }, @@ -581,8 +611,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), - (v5/*: any*/) + (v9/*: any*/), + (v6/*: any*/) ], "storageKey": null }, @@ -617,7 +647,7 @@ return { ], "storageKey": null }, - (v5/*: any*/), + (v6/*: any*/), { "condition": "includeConsignmentSubmission", "kind": "Condition", @@ -678,7 +708,7 @@ return { ] }, "params": { - "cacheID": "6a213862fbd75ca6983c058cdcb1a890", + "cacheID": "0e3a699a78f53c31bf0c9e0a1f47ba41", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -742,6 +772,21 @@ return { "artwork.collectorSignals.auction.lotClosesAt": (v13/*: any*/), "artwork.collectorSignals.auction.onlineBiddingExtended": (v14/*: any*/), "artwork.collectorSignals.auction.registrationEndsAt": (v13/*: any*/), + "artwork.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "artwork.collectorSignals.partnerOffer.endAt": (v13/*: any*/), + "artwork.collectorSignals.partnerOffer.id": (v11/*: any*/), + "artwork.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "artwork.collectorSignals.partnerOffer.priceWithDiscount.display": (v13/*: any*/), "artwork.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -873,7 +918,7 @@ return { }, "name": "Details_Test_Query", "operationKind": "query", - "text": "query Details_Test_Query(\n $includeConsignmentSubmission: Boolean!\n) {\n artwork(id: \"gerhard-richter-bagdad-ii-flow-p10-1\") {\n ...Details_artwork_2UNTrk\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment ConsignmentSubmissionStatus_artwork on Artwork {\n internalID\n isListed\n consignmentSubmission {\n internalID\n state\n stateLabel\n actionLabel\n stateLabelColor\n }\n}\n\nfragment Details_artwork_2UNTrk on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n consignmentSubmission @include(if: $includeConsignmentSubmission) {\n internalID\n }\n ...ConsignmentSubmissionStatus_artwork @include(if: $includeConsignmentSubmission)\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query Details_Test_Query(\n $includeConsignmentSubmission: Boolean!\n) {\n artwork(id: \"gerhard-richter-bagdad-ii-flow-p10-1\") {\n ...Details_artwork_2UNTrk\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment ConsignmentSubmissionStatus_artwork on Artwork {\n internalID\n isListed\n consignmentSubmission {\n internalID\n state\n stateLabel\n actionLabel\n stateLabelColor\n }\n}\n\nfragment Details_artwork_2UNTrk on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n consignmentSubmission @include(if: $includeConsignmentSubmission) {\n internalID\n }\n ...ConsignmentSubmissionStatus_artwork @include(if: $includeConsignmentSubmission)\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/EndingSoonAuctionsGridQuery.graphql.ts b/src/__generated__/EndingSoonAuctionsGridQuery.graphql.ts index b40452c6211..8107d50b646 100644 --- a/src/__generated__/EndingSoonAuctionsGridQuery.graphql.ts +++ b/src/__generated__/EndingSoonAuctionsGridQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<8f4b74bcad0e47aadb3e3db40cf2d976>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -100,52 +100,52 @@ v9 = { "large" ] }, -v10 = [ +v10 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v11 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v12 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v11 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v13 = { +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v14 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v15 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v16 = [ - (v11/*: any*/), + (v13/*: any*/), (v5/*: any*/) ]; return { @@ -481,6 +481,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v10/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v11/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -501,7 +524,7 @@ return { }, { "alias": null, - "args": (v10/*: any*/), + "args": (v12/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -549,7 +572,7 @@ return { }, { "alias": null, - "args": (v10/*: any*/), + "args": (v12/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -557,7 +580,7 @@ return { "selections": [ (v5/*: any*/), (v7/*: any*/), - (v11/*: any*/) + (v13/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -570,13 +593,13 @@ return { }, { "alias": null, - "args": (v10/*: any*/), + "args": (v12/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v11/*: any*/), + (v13/*: any*/), (v7/*: any*/), (v5/*: any*/) ], @@ -590,7 +613,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v12/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -652,7 +675,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v13/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -660,8 +683,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v12/*: any*/), - (v14/*: any*/), + (v10/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -694,7 +717,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v15/*: any*/), + "selections": (v11/*: any*/), "storageKey": null }, { @@ -704,7 +727,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v15/*: any*/), + "selections": (v11/*: any*/), "storageKey": null }, (v5/*: any*/) @@ -719,10 +742,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v13/*: any*/), + (v14/*: any*/), (v5/*: any*/), - (v12/*: any*/), - (v14/*: any*/) + (v10/*: any*/), + (v15/*: any*/) ], "storageKey": null }, @@ -807,12 +830,12 @@ return { ] }, "params": { - "cacheID": "e4d35f0d95af1ef2dfe02512531e5cd9", + "cacheID": "2c8925d29ce5ce2101027ea634837657", "id": null, "metadata": {}, "name": "EndingSoonAuctionsGridQuery", "operationKind": "query", - "text": "query EndingSoonAuctionsGridQuery(\n $first: Int!\n $after: String\n) {\n viewer {\n ...EndingSoonAuctionsGrid_viewer_2HEEH6\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment EndingSoonAuctionsGrid_viewer_2HEEH6 on Viewer {\n saleArtworksConnection(includeArtworksByFollowedArtists: true, isAuction: true, liveSale: true, first: $first, after: $after) {\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n id\n }\n }\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query EndingSoonAuctionsGridQuery(\n $first: Int!\n $after: String\n) {\n viewer {\n ...EndingSoonAuctionsGrid_viewer_2HEEH6\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment EndingSoonAuctionsGrid_viewer_2HEEH6 on Viewer {\n saleArtworksConnection(includeArtworksByFollowedArtists: true, isAuction: true, liveSale: true, first: $first, after: $after) {\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n id\n }\n }\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/EndingSoonAuctions_test_Query.graphql.ts b/src/__generated__/EndingSoonAuctions_test_Query.graphql.ts index dbbaa3df6d1..29ede0398cb 100644 --- a/src/__generated__/EndingSoonAuctions_test_Query.graphql.ts +++ b/src/__generated__/EndingSoonAuctions_test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -80,52 +80,52 @@ v5 = { "large" ] }, -v6 = [ +v6 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v7 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v8 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v7 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v9 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v10 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v11 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v12 = [ - (v7/*: any*/), + (v9/*: any*/), (v1/*: any*/) ], v13 = { @@ -494,6 +494,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v6/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v7/*: any*/), + "storageKey": null + }, + (v1/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -514,7 +537,7 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -562,7 +585,7 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -570,7 +593,7 @@ return { "selections": [ (v1/*: any*/), (v3/*: any*/), - (v7/*: any*/) + (v9/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -583,13 +606,13 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v7/*: any*/), + (v9/*: any*/), (v3/*: any*/), (v1/*: any*/) ], @@ -603,7 +626,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v8/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -665,7 +688,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -673,8 +696,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v8/*: any*/), - (v10/*: any*/), + (v6/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -707,7 +730,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v11/*: any*/), + "selections": (v7/*: any*/), "storageKey": null }, { @@ -717,7 +740,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v11/*: any*/), + "selections": (v7/*: any*/), "storageKey": null }, (v1/*: any*/) @@ -732,10 +755,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), (v1/*: any*/), - (v8/*: any*/), - (v10/*: any*/) + (v6/*: any*/), + (v11/*: any*/) ], "storageKey": null }, @@ -820,7 +843,7 @@ return { ] }, "params": { - "cacheID": "273c00df97cb56cfc263ed2a0ad2fae9", + "cacheID": "d9d829179da0948b50a1fa7a2e289ef2", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -909,6 +932,21 @@ return { "viewer.saleArtworksConnection.edges.node.collectorSignals.auction.lotClosesAt": (v14/*: any*/), "viewer.saleArtworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v17/*: any*/), "viewer.saleArtworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v14/*: any*/), + "viewer.saleArtworksConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "viewer.saleArtworksConnection.edges.node.collectorSignals.partnerOffer.endAt": (v14/*: any*/), + "viewer.saleArtworksConnection.edges.node.collectorSignals.partnerOffer.id": (v15/*: any*/), + "viewer.saleArtworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "viewer.saleArtworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v14/*: any*/), "viewer.saleArtworksConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1067,7 +1105,7 @@ return { }, "name": "EndingSoonAuctions_test_Query", "operationKind": "query", - "text": "query EndingSoonAuctions_test_Query {\n viewer {\n ...EndingSoonAuctionsGrid_viewer\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment EndingSoonAuctionsGrid_viewer on Viewer {\n saleArtworksConnection(includeArtworksByFollowedArtists: true, isAuction: true, liveSale: true, first: 10) {\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n id\n }\n }\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query EndingSoonAuctions_test_Query {\n viewer {\n ...EndingSoonAuctionsGrid_viewer\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment EndingSoonAuctionsGrid_viewer on Viewer {\n saleArtworksConnection(includeArtworksByFollowedArtists: true, isAuction: true, liveSale: true, first: 10) {\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n id\n }\n }\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/FairArtworksFilterQuery.graphql.ts b/src/__generated__/FairArtworksFilterQuery.graphql.ts index 80aef0717d8..46c0a290f21 100644 --- a/src/__generated__/FairArtworksFilterQuery.graphql.ts +++ b/src/__generated__/FairArtworksFilterQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<0a925b8da7801b62dae38c8566d998e2>> + * @generated SignedSource<<269884bff5dd25516123137ef0facdf3>> * @lightSyntaxTransform * @nogrep */ @@ -182,43 +182,43 @@ v15 = { "large" ] }, -v16 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v17 = { +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v18 = { +v17 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v18 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v19 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v19 = { +v20 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v20 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v21 = [ (v8/*: any*/), (v9/*: any*/) @@ -712,6 +712,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v16/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v17/*: any*/), + "storageKey": null + }, + (v9/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -732,7 +755,7 @@ return { }, { "alias": null, - "args": (v16/*: any*/), + "args": (v18/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -780,7 +803,7 @@ return { }, { "alias": null, - "args": (v16/*: any*/), + "args": (v18/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -801,7 +824,7 @@ return { }, { "alias": null, - "args": (v16/*: any*/), + "args": (v18/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -821,7 +844,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v17/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -883,7 +906,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v18/*: any*/), + (v19/*: any*/), { "alias": null, "args": null, @@ -891,8 +914,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v17/*: any*/), - (v19/*: any*/), + (v16/*: any*/), + (v20/*: any*/), { "alias": null, "args": null, @@ -925,7 +948,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v20/*: any*/), + "selections": (v17/*: any*/), "storageKey": null }, { @@ -935,7 +958,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v20/*: any*/), + "selections": (v17/*: any*/), "storageKey": null }, (v9/*: any*/) @@ -950,10 +973,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v18/*: any*/), + (v19/*: any*/), (v9/*: any*/), - (v17/*: any*/), - (v19/*: any*/) + (v16/*: any*/), + (v20/*: any*/) ], "storageKey": null }, @@ -1028,12 +1051,12 @@ return { ] }, "params": { - "cacheID": "3dd03c099eb1573ffa82a2b375bde4da", + "cacheID": "c10d7ad1c6be529a6a7d37f9fcc6cf11", "id": null, "metadata": {}, "name": "FairArtworksFilterQuery", "operationKind": "query", - "text": "query FairArtworksFilterQuery(\n $slug: String!\n $input: FilterArtworksInput\n $aggregations: [ArtworkAggregation]\n) {\n fair(id: $slug) {\n ...FairArtworks_fair_2p2tYs\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FairArtworks_fair_2p2tYs on Fair {\n slug\n internalID\n featuredKeywords\n sidebarAggregations: filterArtworksConnection(aggregations: $aggregations, first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n followedArtists\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query FairArtworksFilterQuery(\n $slug: String!\n $input: FilterArtworksInput\n $aggregations: [ArtworkAggregation]\n) {\n fair(id: $slug) {\n ...FairArtworks_fair_2p2tYs\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FairArtworks_fair_2p2tYs on Fair {\n slug\n internalID\n featuredKeywords\n sidebarAggregations: filterArtworksConnection(aggregations: $aggregations, first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n followedArtists\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/FairArtworksFilterRefetchQuery.graphql.ts b/src/__generated__/FairArtworksFilterRefetchQuery.graphql.ts index 3a5118eb252..90cf6e5a027 100644 --- a/src/__generated__/FairArtworksFilterRefetchQuery.graphql.ts +++ b/src/__generated__/FairArtworksFilterRefetchQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<2ca4c5818c4f85c220a4a111b5617210>> + * @generated SignedSource<<3bea1b9f51b7bad3b08c89fba7ca86f4>> * @lightSyntaxTransform * @nogrep */ @@ -171,43 +171,43 @@ v13 = { "large" ] }, -v14 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v15 = { +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v16 = { +v15 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v16 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v17 = { +v18 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v18 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v19 = [ (v6/*: any*/), (v7/*: any*/) @@ -697,6 +697,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v14/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v15/*: any*/), + "storageKey": null + }, + (v7/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -717,7 +740,7 @@ return { }, { "alias": null, - "args": (v14/*: any*/), + "args": (v16/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -765,7 +788,7 @@ return { }, { "alias": null, - "args": (v14/*: any*/), + "args": (v16/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -786,7 +809,7 @@ return { }, { "alias": null, - "args": (v14/*: any*/), + "args": (v16/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -806,7 +829,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v15/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -868,7 +891,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v16/*: any*/), + (v17/*: any*/), { "alias": null, "args": null, @@ -876,8 +899,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v15/*: any*/), - (v17/*: any*/), + (v14/*: any*/), + (v18/*: any*/), { "alias": null, "args": null, @@ -910,7 +933,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v18/*: any*/), + "selections": (v15/*: any*/), "storageKey": null }, { @@ -920,7 +943,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v18/*: any*/), + "selections": (v15/*: any*/), "storageKey": null }, (v7/*: any*/) @@ -935,10 +958,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v16/*: any*/), + (v17/*: any*/), (v7/*: any*/), - (v15/*: any*/), - (v17/*: any*/) + (v14/*: any*/), + (v18/*: any*/) ], "storageKey": null }, @@ -1013,12 +1036,12 @@ return { ] }, "params": { - "cacheID": "2731bb8f261580dff656c08970fc7d60", + "cacheID": "28e8e2012ac30a17e2da3ff860cc0dbc", "id": null, "metadata": {}, "name": "FairArtworksFilterRefetchQuery", "operationKind": "query", - "text": "query FairArtworksFilterRefetchQuery(\n $slug: String!\n $input: FilterArtworksInput\n) {\n fair(id: $slug) {\n ...FairArtworks_fair_2VV6jB\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FairArtworks_fair_2VV6jB on Fair {\n slug\n internalID\n featuredKeywords\n sidebarAggregations: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n followedArtists\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query FairArtworksFilterRefetchQuery(\n $slug: String!\n $input: FilterArtworksInput\n) {\n fair(id: $slug) {\n ...FairArtworks_fair_2VV6jB\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FairArtworks_fair_2VV6jB on Fair {\n slug\n internalID\n featuredKeywords\n sidebarAggregations: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n followedArtists\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/FairArtworks_Query.graphql.ts b/src/__generated__/FairArtworks_Query.graphql.ts index a24a07d489f..693391ea48f 100644 --- a/src/__generated__/FairArtworks_Query.graphql.ts +++ b/src/__generated__/FairArtworks_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<6edebe72771e80407e6dea15e1b9a39c>> * @lightSyntaxTransform * @nogrep */ @@ -59,6 +59,13 @@ export type FairArtworks_Query$rawResponse = { readonly onlineBiddingExtended: boolean; readonly registrationEndsAt: string | null | undefined; } | null | undefined; + readonly partnerOffer: { + readonly endAt: string | null | undefined; + readonly id: string; + readonly priceWithDiscount: { + readonly display: string | null | undefined; + } | null | undefined; + } | null | undefined; readonly primaryLabel: LabelSignalEnum | null | undefined; } | null | undefined; readonly cultural_maker?: string | null | undefined; @@ -271,43 +278,43 @@ v11 = { "large" ] }, -v12 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v13 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v14 = { +v13 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v14 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v15 = { +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v16 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v17 = [ (v4/*: any*/), (v5/*: any*/) @@ -854,6 +861,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v12/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v13/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -874,7 +904,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -922,7 +952,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -943,7 +973,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -963,7 +993,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v13/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -1025,7 +1055,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v14/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -1033,8 +1063,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v13/*: any*/), - (v15/*: any*/), + (v12/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -1067,7 +1097,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, { @@ -1077,7 +1107,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, (v5/*: any*/) @@ -1092,10 +1122,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v14/*: any*/), + (v15/*: any*/), (v5/*: any*/), - (v13/*: any*/), - (v15/*: any*/) + (v12/*: any*/), + (v16/*: any*/) ], "storageKey": null }, @@ -1170,7 +1200,7 @@ return { ] }, "params": { - "cacheID": "9e32925100fa3e889723b76046808d0b", + "cacheID": "965ea2995d4420d938b4f5d4381d12ef", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1261,6 +1291,21 @@ return { "fair.filtered_artworks.edges.node.collectorSignals.auction.lotClosesAt": (v23/*: any*/), "fair.filtered_artworks.edges.node.collectorSignals.auction.onlineBiddingExtended": (v25/*: any*/), "fair.filtered_artworks.edges.node.collectorSignals.auction.registrationEndsAt": (v23/*: any*/), + "fair.filtered_artworks.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "fair.filtered_artworks.edges.node.collectorSignals.partnerOffer.endAt": (v23/*: any*/), + "fair.filtered_artworks.edges.node.collectorSignals.partnerOffer.id": (v21/*: any*/), + "fair.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "fair.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v23/*: any*/), "fair.filtered_artworks.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1488,7 +1533,7 @@ return { }, "name": "FairArtworks_Query", "operationKind": "query", - "text": "query FairArtworks_Query(\n $slug: String!\n) {\n fair(id: $slug) {\n ...FairArtworks_fair\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FairArtworks_fair on Fair {\n slug\n internalID\n featuredKeywords\n sidebarAggregations: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30) {\n id\n counts {\n followedArtists\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query FairArtworks_Query(\n $slug: String!\n) {\n fair(id: $slug) {\n ...FairArtworks_fair\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FairArtworks_fair on Fair {\n slug\n internalID\n featuredKeywords\n sidebarAggregations: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30) {\n id\n counts {\n followedArtists\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/FairBoothRailArtworksQuery.graphql.ts b/src/__generated__/FairBoothRailArtworksQuery.graphql.ts index 68d606fafc5..58fb5dfd568 100644 --- a/src/__generated__/FairBoothRailArtworksQuery.graphql.ts +++ b/src/__generated__/FairBoothRailArtworksQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<813372bbb5cf6f8919748be8962b93b8>> + * @generated SignedSource<<005a746f4f4543e717e9ab444b8c83f0>> * @lightSyntaxTransform * @nogrep */ @@ -45,53 +45,53 @@ v2 = { "name": "href", "storageKey": null }, -v3 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v4 = { +v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v4 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v6 = { +v6 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v7 = { +v8 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v8 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v9 = [ - (v5/*: any*/), - (v4/*: any*/) + (v7/*: any*/), + (v5/*: any*/) ]; return { "fragment": { @@ -253,6 +253,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v3/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v4/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -273,7 +296,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -297,7 +320,7 @@ return { ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -321,15 +344,15 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v4/*: any*/), + (v5/*: any*/), (v2/*: any*/), - (v5/*: any*/) + (v7/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -342,15 +365,15 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v5/*: any*/), + (v7/*: any*/), (v2/*: any*/), - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -362,7 +385,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v6/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -398,7 +421,7 @@ return { "name": "isClosed", "storageKey": null }, - (v4/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -417,7 +440,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -425,7 +448,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v6/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -465,7 +488,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, { @@ -475,10 +498,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null }, @@ -490,8 +513,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), - (v4/*: any*/) + (v8/*: any*/), + (v5/*: any*/) ], "storageKey": null }, @@ -588,7 +611,7 @@ return { "name": "slug", "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null } @@ -598,19 +621,19 @@ return { ], "storageKey": "artworksConnection(first:20)" }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null } ] }, "params": { - "cacheID": "c25ac1c9ddad684fb1f215b009181fba", + "cacheID": "0a40b65cf41f066f667f837f6911da5a", "id": null, "metadata": {}, "name": "FairBoothRailArtworksQuery", "operationKind": "query", - "text": "query FairBoothRailArtworksQuery(\n $id: String!\n) {\n show(id: $id) {\n ...FairBoothRailArtworks_show\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FairBoothRailArtworks_show on Show {\n artworksConnection(first: 20) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n slug\n id\n }\n }\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query FairBoothRailArtworksQuery(\n $id: String!\n) {\n show(id: $id) {\n ...FairBoothRailArtworks_show\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FairBoothRailArtworks_show on Show {\n artworksConnection(first: 20) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n slug\n id\n }\n }\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/FairFollowedArtistsQuery.graphql.ts b/src/__generated__/FairFollowedArtistsQuery.graphql.ts index 04783d7ef52..58517341681 100644 --- a/src/__generated__/FairFollowedArtistsQuery.graphql.ts +++ b/src/__generated__/FairFollowedArtistsQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<9fffc7e4dafb13c8653bb2b49d7a7d83>> + * @generated SignedSource<<4f1a30584a2a942f2ebdf82f3924bba7>> * @lightSyntaxTransform * @nogrep */ @@ -59,53 +59,53 @@ v4 = { "name": "href", "storageKey": null }, -v5 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v6 = { +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v6 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v8 = { +v8 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v9 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v9 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v10 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v11 = [ - (v7/*: any*/), - (v6/*: any*/) + (v9/*: any*/), + (v7/*: any*/) ]; return { "fragment": { @@ -268,6 +268,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v5/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v6/*: any*/), + "storageKey": null + }, + (v7/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -288,7 +311,7 @@ return { }, { "alias": null, - "args": (v5/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -312,7 +335,7 @@ return { ], "storageKey": null }, - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -336,15 +359,15 @@ return { }, { "alias": null, - "args": (v5/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v6/*: any*/), + (v7/*: any*/), (v4/*: any*/), - (v7/*: any*/) + (v9/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -357,15 +380,15 @@ return { }, { "alias": null, - "args": (v5/*: any*/), + "args": (v8/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v7/*: any*/), + (v9/*: any*/), (v4/*: any*/), - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -377,7 +400,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v8/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -413,7 +436,7 @@ return { "name": "isClosed", "storageKey": null }, - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -432,7 +455,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -440,7 +463,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v8/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -480,7 +503,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v6/*: any*/), "storageKey": null }, { @@ -490,10 +513,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v6/*: any*/), "storageKey": null }, - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": null }, @@ -505,8 +528,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), - (v6/*: any*/) + (v10/*: any*/), + (v7/*: any*/) ], "storageKey": null }, @@ -597,30 +620,30 @@ return { "storageKey": null }, (v3/*: any*/), - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": "filterArtworksConnection(first:20,includeArtworksByFollowedArtists:true)" }, - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": null } ] }, "params": { - "cacheID": "8731d48b9fe1caeb866142ffa31c9eae", + "cacheID": "36cad3f7a00b5859692d7b59c5753adf", "id": null, "metadata": {}, "name": "FairFollowedArtistsQuery", "operationKind": "query", - "text": "query FairFollowedArtistsQuery(\n $id: String!\n) {\n fair(id: $id) {\n ...FairFollowedArtists_fair\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FairFollowedArtists_fair on Fair {\n internalID\n slug\n followedArtistArtworks: filterArtworksConnection(includeArtworksByFollowedArtists: true, first: 20) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n slug\n id\n }\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query FairFollowedArtistsQuery(\n $id: String!\n) {\n fair(id: $id) {\n ...FairFollowedArtists_fair\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FairFollowedArtists_fair on Fair {\n internalID\n slug\n followedArtistArtworks: filterArtworksConnection(includeArtworksByFollowedArtists: true, first: 20) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n slug\n id\n }\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/FeatureApp_Test_Query.graphql.ts b/src/__generated__/FeatureApp_Test_Query.graphql.ts index 5f90d7eb498..cfda1259f8c 100644 --- a/src/__generated__/FeatureApp_Test_Query.graphql.ts +++ b/src/__generated__/FeatureApp_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<0d13b7274b627fd4641b01e642aa3c10>> + * @generated SignedSource<<064676c11846b20282eab1e4a1f9f8b9>> * @lightSyntaxTransform * @nogrep */ @@ -115,28 +115,14 @@ v12 = { "name": "href", "storageKey": null }, -v13 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v14 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v15 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lotID", - "storageKey": null -}, -v16 = [ +v14 = [ { "alias": null, "args": null, @@ -145,6 +131,20 @@ v16 = [ "storageKey": null } ], +v15 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v16 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "lotID", + "storageKey": null +}, v17 = [ (v1/*: any*/), (v8/*: any*/) @@ -613,6 +613,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v13/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v14/*: any*/), + "storageKey": null + }, + (v8/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -633,7 +656,7 @@ return { }, { "alias": null, - "args": (v13/*: any*/), + "args": (v15/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -681,7 +704,7 @@ return { }, { "alias": null, - "args": (v13/*: any*/), + "args": (v15/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -702,7 +725,7 @@ return { }, { "alias": null, - "args": (v13/*: any*/), + "args": (v15/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -722,7 +745,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v14/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -777,7 +800,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -785,7 +808,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v14/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -825,7 +848,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v14/*: any*/), "storageKey": null }, { @@ -835,7 +858,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v14/*: any*/), "storageKey": null }, (v8/*: any*/) @@ -850,7 +873,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), (v8/*: any*/) ], "storageKey": null @@ -1061,7 +1084,7 @@ return { ] }, "params": { - "cacheID": "7160cf546abe1bb8215965aac49c2fcc", + "cacheID": "fa8724a40e5ff758ffb117e58505b133", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1196,6 +1219,21 @@ return { "feature.sets.edges.node.orderedItems.edges.node.collectorSignals.auction.lotClosesAt": (v21/*: any*/), "feature.sets.edges.node.orderedItems.edges.node.collectorSignals.auction.onlineBiddingExtended": (v29/*: any*/), "feature.sets.edges.node.orderedItems.edges.node.collectorSignals.auction.registrationEndsAt": (v21/*: any*/), + "feature.sets.edges.node.orderedItems.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "feature.sets.edges.node.orderedItems.edges.node.collectorSignals.partnerOffer.endAt": (v21/*: any*/), + "feature.sets.edges.node.orderedItems.edges.node.collectorSignals.partnerOffer.id": (v25/*: any*/), + "feature.sets.edges.node.orderedItems.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "feature.sets.edges.node.orderedItems.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v21/*: any*/), "feature.sets.edges.node.orderedItems.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1350,7 +1388,7 @@ return { }, "name": "FeatureApp_Test_Query", "operationKind": "query", - "text": "query FeatureApp_Test_Query {\n feature(id: \"example\") {\n ...FeatureApp_feature\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FeatureApp_feature on Feature {\n ...FeatureMeta_feature\n ...FeatureHeader_feature\n description(format: HTML)\n callout(format: HTML)\n sets: setsConnection(first: 20) {\n edges {\n node {\n id\n ...FeatureSet_set\n }\n }\n }\n}\n\nfragment FeatureFeaturedLink_featuredLink on FeaturedLink {\n href\n title\n subtitle(format: PLAIN)\n description(format: HTML)\n image {\n small: cropped(width: 670, height: 480, version: [\"main\", \"wide\"]) {\n src\n srcSet\n width\n height\n }\n medium: cropped(width: 904, height: 648, version: [\"main\", \"wide\"]) {\n src\n srcSet\n width\n height\n }\n large: cropped(width: 1808, height: 1296, version: [\"main\", \"wide\"]) {\n src\n srcSet\n width\n height\n }\n full: resized(width: 2170, height: 1554, version: [\"main\", \"wide\"]) {\n src\n srcSet\n width\n height\n }\n }\n}\n\nfragment FeatureHeaderDefault_feature on Feature {\n name\n subheadline(format: HTML)\n defaultImage: image {\n resized(width: 900, version: [\"main\", \"source\", \"wide\"]) {\n src\n srcSet\n }\n }\n}\n\nfragment FeatureHeaderFull_feature on Feature {\n name\n subheadline(format: HTML)\n fullImage: image {\n url(version: [\"main\", \"source\", \"wide\"])\n }\n}\n\nfragment FeatureHeader_feature on Feature {\n ...FeatureHeaderDefault_feature\n ...FeatureHeaderFull_feature\n layout\n}\n\nfragment FeatureMeta_feature on Feature {\n slug\n meta {\n name\n description\n image\n }\n}\n\nfragment FeatureSetContainer_set on OrderedSet {\n id\n layout\n itemType\n orderedItems: orderedItemsConnection(first: 99) {\n edges {\n __typename\n }\n }\n}\n\nfragment FeatureSetItem_setItem on OrderedSetItem {\n __isOrderedSetItem: __typename\n __typename\n ... on FeaturedLink {\n id\n }\n ... on Artwork {\n id\n }\n ...GridItem_artwork\n ...FeatureFeaturedLink_featuredLink\n}\n\nfragment FeatureSetMeta_set on OrderedSet {\n name\n description(format: HTML)\n}\n\nfragment FeatureSet_set on OrderedSet {\n id\n layout\n name\n description(format: HTML)\n itemType\n orderedItems: orderedItemsConnection(first: 99) {\n edges {\n __typename\n node {\n __typename\n ... on Artwork {\n id\n }\n ... on FeaturedLink {\n id\n }\n ...FeatureSetItem_setItem\n ... on Node {\n __isNode: __typename\n id\n }\n ... on Profile {\n id\n }\n }\n }\n }\n ...FeatureSetMeta_set\n ...FeatureSetContainer_set\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query FeatureApp_Test_Query {\n feature(id: \"example\") {\n ...FeatureApp_feature\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FeatureApp_feature on Feature {\n ...FeatureMeta_feature\n ...FeatureHeader_feature\n description(format: HTML)\n callout(format: HTML)\n sets: setsConnection(first: 20) {\n edges {\n node {\n id\n ...FeatureSet_set\n }\n }\n }\n}\n\nfragment FeatureFeaturedLink_featuredLink on FeaturedLink {\n href\n title\n subtitle(format: PLAIN)\n description(format: HTML)\n image {\n small: cropped(width: 670, height: 480, version: [\"main\", \"wide\"]) {\n src\n srcSet\n width\n height\n }\n medium: cropped(width: 904, height: 648, version: [\"main\", \"wide\"]) {\n src\n srcSet\n width\n height\n }\n large: cropped(width: 1808, height: 1296, version: [\"main\", \"wide\"]) {\n src\n srcSet\n width\n height\n }\n full: resized(width: 2170, height: 1554, version: [\"main\", \"wide\"]) {\n src\n srcSet\n width\n height\n }\n }\n}\n\nfragment FeatureHeaderDefault_feature on Feature {\n name\n subheadline(format: HTML)\n defaultImage: image {\n resized(width: 900, version: [\"main\", \"source\", \"wide\"]) {\n src\n srcSet\n }\n }\n}\n\nfragment FeatureHeaderFull_feature on Feature {\n name\n subheadline(format: HTML)\n fullImage: image {\n url(version: [\"main\", \"source\", \"wide\"])\n }\n}\n\nfragment FeatureHeader_feature on Feature {\n ...FeatureHeaderDefault_feature\n ...FeatureHeaderFull_feature\n layout\n}\n\nfragment FeatureMeta_feature on Feature {\n slug\n meta {\n name\n description\n image\n }\n}\n\nfragment FeatureSetContainer_set on OrderedSet {\n id\n layout\n itemType\n orderedItems: orderedItemsConnection(first: 99) {\n edges {\n __typename\n }\n }\n}\n\nfragment FeatureSetItem_setItem on OrderedSetItem {\n __isOrderedSetItem: __typename\n __typename\n ... on FeaturedLink {\n id\n }\n ... on Artwork {\n id\n }\n ...GridItem_artwork\n ...FeatureFeaturedLink_featuredLink\n}\n\nfragment FeatureSetMeta_set on OrderedSet {\n name\n description(format: HTML)\n}\n\nfragment FeatureSet_set on OrderedSet {\n id\n layout\n name\n description(format: HTML)\n itemType\n orderedItems: orderedItemsConnection(first: 99) {\n edges {\n __typename\n node {\n __typename\n ... on Artwork {\n id\n }\n ... on FeaturedLink {\n id\n }\n ...FeatureSetItem_setItem\n ... on Node {\n __isNode: __typename\n id\n }\n ... on Profile {\n id\n }\n }\n }\n }\n ...FeatureSetMeta_set\n ...FeatureSetContainer_set\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/GeneArtworkFilterQuery.graphql.ts b/src/__generated__/GeneArtworkFilterQuery.graphql.ts index 0af8e7d7f7a..d63389d2e1f 100644 --- a/src/__generated__/GeneArtworkFilterQuery.graphql.ts +++ b/src/__generated__/GeneArtworkFilterQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -188,43 +188,43 @@ v16 = { "large" ] }, -v17 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v18 = { +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v19 = { +v18 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v19 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v20 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v20 = { +v21 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v21 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v22 = [ (v9/*: any*/), (v10/*: any*/) @@ -736,6 +736,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v17/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v18/*: any*/), + "storageKey": null + }, + (v10/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -756,7 +779,7 @@ return { }, { "alias": null, - "args": (v17/*: any*/), + "args": (v19/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -804,7 +827,7 @@ return { }, { "alias": null, - "args": (v17/*: any*/), + "args": (v19/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -825,7 +848,7 @@ return { }, { "alias": null, - "args": (v17/*: any*/), + "args": (v19/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -845,7 +868,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v18/*: any*/), + (v17/*: any*/), { "alias": null, "args": null, @@ -907,7 +930,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v19/*: any*/), + (v20/*: any*/), { "alias": null, "args": null, @@ -915,8 +938,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v18/*: any*/), - (v20/*: any*/), + (v17/*: any*/), + (v21/*: any*/), { "alias": null, "args": null, @@ -949,7 +972,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v21/*: any*/), + "selections": (v18/*: any*/), "storageKey": null }, { @@ -959,7 +982,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v21/*: any*/), + "selections": (v18/*: any*/), "storageKey": null }, (v10/*: any*/) @@ -974,10 +997,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v19/*: any*/), + (v20/*: any*/), (v10/*: any*/), - (v18/*: any*/), - (v20/*: any*/) + (v17/*: any*/), + (v21/*: any*/) ], "storageKey": null }, @@ -1052,12 +1075,12 @@ return { ] }, "params": { - "cacheID": "f1b0694116cb5ee8871a0d75c0f84d62", + "cacheID": "ca331bb090e69e8fa2f79632ada6fce5", "id": null, "metadata": {}, "name": "GeneArtworkFilterQuery", "operationKind": "query", - "text": "query GeneArtworkFilterQuery(\n $slug: String!\n $input: FilterArtworksInput\n $aggregations: [ArtworkAggregation]\n $shouldFetchCounts: Boolean!\n) {\n gene(id: $slug) {\n ...GeneArtworkFilter_gene_3TMxyn\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GeneArtworkFilter_gene_3TMxyn on Gene {\n slug\n internalID\n sidebar: filterArtworksConnection(aggregations: $aggregations, first: 1) {\n counts @include(if: $shouldFetchCounts) {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query GeneArtworkFilterQuery(\n $slug: String!\n $input: FilterArtworksInput\n $aggregations: [ArtworkAggregation]\n $shouldFetchCounts: Boolean!\n) {\n gene(id: $slug) {\n ...GeneArtworkFilter_gene_3TMxyn\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GeneArtworkFilter_gene_3TMxyn on Gene {\n slug\n internalID\n sidebar: filterArtworksConnection(aggregations: $aggregations, first: 1) {\n counts @include(if: $shouldFetchCounts) {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/GeneArtworkFilterRefetchQuery.graphql.ts b/src/__generated__/GeneArtworkFilterRefetchQuery.graphql.ts index 579ab6b90a4..b5c8470a2fe 100644 --- a/src/__generated__/GeneArtworkFilterRefetchQuery.graphql.ts +++ b/src/__generated__/GeneArtworkFilterRefetchQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<80b4bbbd84ad20de80f09a973e1f4ab2>> + * @generated SignedSource<<40105e457813e4d74078d6a8967b40cd>> * @lightSyntaxTransform * @nogrep */ @@ -171,43 +171,43 @@ v13 = { "large" ] }, -v14 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v15 = { +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v16 = { +v15 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v16 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v17 = { +v18 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v18 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v19 = [ (v6/*: any*/), (v7/*: any*/) @@ -683,6 +683,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v14/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v15/*: any*/), + "storageKey": null + }, + (v7/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -703,7 +726,7 @@ return { }, { "alias": null, - "args": (v14/*: any*/), + "args": (v16/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -751,7 +774,7 @@ return { }, { "alias": null, - "args": (v14/*: any*/), + "args": (v16/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -772,7 +795,7 @@ return { }, { "alias": null, - "args": (v14/*: any*/), + "args": (v16/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -792,7 +815,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v15/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -854,7 +877,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v16/*: any*/), + (v17/*: any*/), { "alias": null, "args": null, @@ -862,8 +885,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v15/*: any*/), - (v17/*: any*/), + (v14/*: any*/), + (v18/*: any*/), { "alias": null, "args": null, @@ -896,7 +919,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v18/*: any*/), + "selections": (v15/*: any*/), "storageKey": null }, { @@ -906,7 +929,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v18/*: any*/), + "selections": (v15/*: any*/), "storageKey": null }, (v7/*: any*/) @@ -921,10 +944,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v16/*: any*/), + (v17/*: any*/), (v7/*: any*/), - (v15/*: any*/), - (v17/*: any*/) + (v14/*: any*/), + (v18/*: any*/) ], "storageKey": null }, @@ -999,12 +1022,12 @@ return { ] }, "params": { - "cacheID": "e48b1f3a13e94ef114014cd7b314db7c", + "cacheID": "55a4bcbd861a4a1c0de2a4d4380bad57", "id": null, "metadata": {}, "name": "GeneArtworkFilterRefetchQuery", "operationKind": "query", - "text": "query GeneArtworkFilterRefetchQuery(\n $slug: String!\n $input: FilterArtworksInput\n) {\n gene(id: $slug) {\n ...GeneArtworkFilter_gene_2VV6jB\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GeneArtworkFilter_gene_2VV6jB on Gene {\n slug\n internalID\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query GeneArtworkFilterRefetchQuery(\n $slug: String!\n $input: FilterArtworksInput\n) {\n gene(id: $slug) {\n ...GeneArtworkFilter_gene_2VV6jB\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GeneArtworkFilter_gene_2VV6jB on Gene {\n slug\n internalID\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/GeneArtworkFilter_Query.graphql.ts b/src/__generated__/GeneArtworkFilter_Query.graphql.ts index e44741ef569..2611c224d00 100644 --- a/src/__generated__/GeneArtworkFilter_Query.graphql.ts +++ b/src/__generated__/GeneArtworkFilter_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<092f4c3edcf9e934f0250e03681f24fb>> + * @generated SignedSource<<70cb242f91cd78a63168d85ba5360905>> * @lightSyntaxTransform * @nogrep */ @@ -109,43 +109,43 @@ v11 = { "large" ] }, -v12 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v13 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v14 = { +v13 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v14 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v15 = { +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v16 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v17 = [ (v4/*: any*/), (v5/*: any*/) @@ -714,6 +714,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v12/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v13/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -734,7 +757,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -782,7 +805,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -803,7 +826,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -823,7 +846,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v13/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -885,7 +908,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v14/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -893,8 +916,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v13/*: any*/), - (v15/*: any*/), + (v12/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -927,7 +950,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, { @@ -937,7 +960,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, (v5/*: any*/) @@ -952,10 +975,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v14/*: any*/), + (v15/*: any*/), (v5/*: any*/), - (v13/*: any*/), - (v15/*: any*/) + (v12/*: any*/), + (v16/*: any*/) ], "storageKey": null }, @@ -1030,7 +1053,7 @@ return { ] }, "params": { - "cacheID": "0688d00c6b1d225d74d05386d8758749", + "cacheID": "f96b0c4dfd1d531c7efddfbdca754914", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1104,6 +1127,21 @@ return { "gene.filtered_artworks.edges.node.collectorSignals.auction.lotClosesAt": (v25/*: any*/), "gene.filtered_artworks.edges.node.collectorSignals.auction.onlineBiddingExtended": (v27/*: any*/), "gene.filtered_artworks.edges.node.collectorSignals.auction.registrationEndsAt": (v25/*: any*/), + "gene.filtered_artworks.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "gene.filtered_artworks.edges.node.collectorSignals.partnerOffer.endAt": (v25/*: any*/), + "gene.filtered_artworks.edges.node.collectorSignals.partnerOffer.id": (v23/*: any*/), + "gene.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "gene.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v25/*: any*/), "gene.filtered_artworks.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1328,7 +1366,7 @@ return { }, "name": "GeneArtworkFilter_Query", "operationKind": "query", - "text": "query GeneArtworkFilter_Query(\n $slug: String!\n) {\n gene(id: $slug) {\n ...GeneArtworkFilter_gene_3Rrp9Z\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GeneArtworkFilter_gene_3Rrp9Z on Gene {\n slug\n internalID\n sidebar: filterArtworksConnection(first: 1) {\n counts {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query GeneArtworkFilter_Query(\n $slug: String!\n) {\n gene(id: $slug) {\n ...GeneArtworkFilter_gene_3Rrp9Z\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GeneArtworkFilter_gene_3Rrp9Z on Gene {\n slug\n internalID\n sidebar: filterArtworksConnection(first: 1) {\n counts {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/GridItem_Test_Query.graphql.ts b/src/__generated__/GridItem_Test_Query.graphql.ts index 73b8b4bff11..114b681e968 100644 --- a/src/__generated__/GridItem_Test_Query.graphql.ts +++ b/src/__generated__/GridItem_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<92d7aaafba229506ac0a72fcf484c0bc>> * @lightSyntaxTransform * @nogrep */ @@ -43,53 +43,53 @@ v2 = { "name": "href", "storageKey": null }, -v3 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v4 = { +v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v4 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v6 = { +v6 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v7 = { +v8 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v8 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v9 = [ - (v5/*: any*/), - (v4/*: any*/) + (v7/*: any*/), + (v5/*: any*/) ], v10 = { "enumValues": null, @@ -320,6 +320,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v3/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v4/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -340,7 +363,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -364,7 +387,7 @@ return { ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -388,15 +411,15 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v4/*: any*/), + (v5/*: any*/), (v2/*: any*/), - (v5/*: any*/) + (v7/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -409,15 +432,15 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v5/*: any*/), + (v7/*: any*/), (v2/*: any*/), - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -429,7 +452,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v6/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -465,7 +488,7 @@ return { "name": "isClosed", "storageKey": null }, - (v4/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -484,7 +507,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -492,7 +515,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v6/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -532,7 +555,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, { @@ -542,10 +565,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null }, @@ -557,8 +580,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), - (v4/*: any*/) + (v8/*: any*/), + (v5/*: any*/) ], "storageKey": null }, @@ -600,14 +623,14 @@ return { "name": "isUnlisted", "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "artwork(id:\"foo\")" } ] }, "params": { - "cacheID": "1e26388d12c47fd7c5029eb4e5a9124c", + "cacheID": "ea47152d1cb83248fa1d8ab9ec48129c", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -672,6 +695,21 @@ return { "artwork.collectorSignals.auction.lotClosesAt": (v12/*: any*/), "artwork.collectorSignals.auction.onlineBiddingExtended": (v13/*: any*/), "artwork.collectorSignals.auction.registrationEndsAt": (v12/*: any*/), + "artwork.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "artwork.collectorSignals.partnerOffer.endAt": (v12/*: any*/), + "artwork.collectorSignals.partnerOffer.id": (v10/*: any*/), + "artwork.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "artwork.collectorSignals.partnerOffer.priceWithDiscount.display": (v12/*: any*/), "artwork.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -807,7 +845,7 @@ return { }, "name": "GridItem_Test_Query", "operationKind": "query", - "text": "query GridItem_Test_Query {\n artwork(id: \"foo\") {\n ...GridItem_artwork\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query GridItem_Test_Query {\n artwork(id: \"foo\") {\n ...GridItem_artwork\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/HomeAuctionLotsForYouRailQuery.graphql.ts b/src/__generated__/HomeAuctionLotsForYouRailQuery.graphql.ts index c8d22fd9baa..126a69bb623 100644 --- a/src/__generated__/HomeAuctionLotsForYouRailQuery.graphql.ts +++ b/src/__generated__/HomeAuctionLotsForYouRailQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<03f582a67cf10ef83c82950c7aa5d6b7>> * @lightSyntaxTransform * @nogrep */ @@ -46,53 +46,53 @@ v1 = { "name": "href", "storageKey": null }, -v2 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v3 = { +v2 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v3 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v5 = { +v5 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v6 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v7 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v8 = [ - (v4/*: any*/), - (v3/*: any*/) + (v6/*: any*/), + (v4/*: any*/) ]; return { "fragment": { @@ -247,6 +247,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v2/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v3/*: any*/), + "storageKey": null + }, + (v4/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -267,7 +290,7 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -291,7 +314,7 @@ return { ], "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -315,15 +338,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v3/*: any*/), + (v4/*: any*/), (v1/*: any*/), - (v4/*: any*/) + (v6/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -336,15 +359,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v4/*: any*/), + (v6/*: any*/), (v1/*: any*/), - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -356,7 +379,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v5/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -392,7 +415,7 @@ return { "name": "isClosed", "storageKey": null }, - (v3/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -411,7 +434,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -419,7 +442,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v5/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -459,7 +482,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, { @@ -469,10 +492,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": null }, @@ -484,8 +507,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), - (v3/*: any*/) + (v7/*: any*/), + (v4/*: any*/) ], "storageKey": null }, @@ -575,7 +598,7 @@ return { ], "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": null } @@ -588,12 +611,12 @@ return { ] }, "params": { - "cacheID": "463f88af54b16870986946f703ffc971", + "cacheID": "52c2477f06d9a2150fefc31c5dbc4be2", "id": null, "metadata": {}, "name": "HomeAuctionLotsForYouRailQuery", "operationKind": "query", - "text": "query HomeAuctionLotsForYouRailQuery {\n artworksForUser(includeBackfill: true, first: 20, onlyAtAuction: true) {\n ...HomeAuctionLotsForYouRail_artworksForUser\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeAuctionLotsForYouRail_artworksForUser on ArtworkConnection {\n edges {\n node {\n internalID\n slug\n ...ShelfArtwork_artwork\n id\n }\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query HomeAuctionLotsForYouRailQuery {\n artworksForUser(includeBackfill: true, first: 20, onlyAtAuction: true) {\n ...HomeAuctionLotsForYouRail_artworksForUser\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeAuctionLotsForYouRail_artworksForUser on ArtworkConnection {\n edges {\n node {\n internalID\n slug\n ...ShelfArtwork_artwork\n id\n }\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/HomeAuctionLotsForYouRail_Test_Query.graphql.ts b/src/__generated__/HomeAuctionLotsForYouRail_Test_Query.graphql.ts index efbb9711bb1..cb978b74e98 100644 --- a/src/__generated__/HomeAuctionLotsForYouRail_Test_Query.graphql.ts +++ b/src/__generated__/HomeAuctionLotsForYouRail_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<48e9f6b7b0208173e4e555ce2f4fb102>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -41,53 +41,53 @@ v1 = { "name": "href", "storageKey": null }, -v2 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v3 = { +v2 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v3 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v5 = { +v5 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v6 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v7 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v8 = [ - (v4/*: any*/), - (v3/*: any*/) + (v6/*: any*/), + (v4/*: any*/) ], v9 = { "enumValues": null, @@ -278,6 +278,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v2/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v3/*: any*/), + "storageKey": null + }, + (v4/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -298,7 +321,7 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -322,7 +345,7 @@ return { ], "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -346,15 +369,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v3/*: any*/), + (v4/*: any*/), (v1/*: any*/), - (v4/*: any*/) + (v6/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -367,15 +390,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v4/*: any*/), + (v6/*: any*/), (v1/*: any*/), - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -387,7 +410,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v5/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -423,7 +446,7 @@ return { "name": "isClosed", "storageKey": null }, - (v3/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -442,7 +465,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -450,7 +473,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v5/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -490,7 +513,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, { @@ -500,10 +523,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": null }, @@ -515,8 +538,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), - (v3/*: any*/) + (v7/*: any*/), + (v4/*: any*/) ], "storageKey": null }, @@ -606,7 +629,7 @@ return { ], "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": null } @@ -619,7 +642,7 @@ return { ] }, "params": { - "cacheID": "db9ee0842bb18a8dc327a049535ceb1d", + "cacheID": "ae482928aa282ce3f0e320512460c37a", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -696,6 +719,21 @@ return { "artworksForUser.edges.node.collectorSignals.auction.lotClosesAt": (v11/*: any*/), "artworksForUser.edges.node.collectorSignals.auction.onlineBiddingExtended": (v12/*: any*/), "artworksForUser.edges.node.collectorSignals.auction.registrationEndsAt": (v11/*: any*/), + "artworksForUser.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "artworksForUser.edges.node.collectorSignals.partnerOffer.endAt": (v11/*: any*/), + "artworksForUser.edges.node.collectorSignals.partnerOffer.id": (v9/*: any*/), + "artworksForUser.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "artworksForUser.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v11/*: any*/), "artworksForUser.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -814,7 +852,7 @@ return { }, "name": "HomeAuctionLotsForYouRail_Test_Query", "operationKind": "query", - "text": "query HomeAuctionLotsForYouRail_Test_Query {\n artworksForUser(includeBackfill: true, first: 20) {\n ...HomeAuctionLotsForYouRail_artworksForUser\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeAuctionLotsForYouRail_artworksForUser on ArtworkConnection {\n edges {\n node {\n internalID\n slug\n ...ShelfArtwork_artwork\n id\n }\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query HomeAuctionLotsForYouRail_Test_Query {\n artworksForUser(includeBackfill: true, first: 20) {\n ...HomeAuctionLotsForYouRail_artworksForUser\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeAuctionLotsForYouRail_artworksForUser on ArtworkConnection {\n edges {\n node {\n internalID\n slug\n ...ShelfArtwork_artwork\n id\n }\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/HomeAuctionLotsRailQuery.graphql.ts b/src/__generated__/HomeAuctionLotsRailQuery.graphql.ts index a4750389cfb..67785d2090e 100644 --- a/src/__generated__/HomeAuctionLotsRailQuery.graphql.ts +++ b/src/__generated__/HomeAuctionLotsRailQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<76fdaa9a10a585978bd08edf25ce230c>> * @lightSyntaxTransform * @nogrep */ @@ -29,53 +29,53 @@ var v0 = { "name": "href", "storageKey": null }, -v1 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v2 = { +v1 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v2 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v4 = { +v4 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v3/*: any*/), - (v2/*: any*/) + (v5/*: any*/), + (v3/*: any*/) ]; return { "fragment": { @@ -247,6 +247,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v1/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v2/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -267,7 +290,7 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -291,7 +314,7 @@ return { ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -315,15 +338,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v2/*: any*/), + (v3/*: any*/), (v0/*: any*/), - (v3/*: any*/) + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -336,15 +359,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v3/*: any*/), + (v5/*: any*/), (v0/*: any*/), - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -356,7 +379,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -392,7 +415,7 @@ return { "name": "isClosed", "storageKey": null }, - (v2/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -411,7 +434,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -419,7 +442,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -459,7 +482,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -469,10 +492,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null }, @@ -484,8 +507,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), - (v2/*: any*/) + (v6/*: any*/), + (v3/*: any*/) ], "storageKey": null }, @@ -582,14 +605,14 @@ return { "name": "slug", "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artworksConnection(first:20,forSale:true,geneIDs:\"our-top-auction-lots\")" } @@ -599,12 +622,12 @@ return { ] }, "params": { - "cacheID": "d5a7fa23f871c63a87a2e34cf3e90495", + "cacheID": "facd052450839b4f0eb8dcd6a56aed8b", "id": null, "metadata": {}, "name": "HomeAuctionLotsRailQuery", "operationKind": "query", - "text": "query HomeAuctionLotsRailQuery {\n viewer {\n ...HomeAuctionLotsRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeAuctionLotsRail_viewer on Viewer {\n artworksConnection(forSale: true, first: 20, geneIDs: \"our-top-auction-lots\") {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n slug\n href\n id\n }\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query HomeAuctionLotsRailQuery {\n viewer {\n ...HomeAuctionLotsRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeAuctionLotsRail_viewer on Viewer {\n artworksConnection(forSale: true, first: 20, geneIDs: \"our-top-auction-lots\") {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n slug\n href\n id\n }\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/HomeAuctionLotsRail_Test_Query.graphql.ts b/src/__generated__/HomeAuctionLotsRail_Test_Query.graphql.ts index 183a9768453..2dd7c1cff7a 100644 --- a/src/__generated__/HomeAuctionLotsRail_Test_Query.graphql.ts +++ b/src/__generated__/HomeAuctionLotsRail_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<831a7ea7704db5db2e2925d1720eda82>> * @lightSyntaxTransform * @nogrep */ @@ -29,53 +29,53 @@ var v0 = { "name": "href", "storageKey": null }, -v1 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v2 = { +v1 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v2 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v4 = { +v4 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v3/*: any*/), - (v2/*: any*/) + (v5/*: any*/), + (v3/*: any*/) ], v8 = { "enumValues": null, @@ -283,6 +283,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v1/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v2/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -303,7 +326,7 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -327,7 +350,7 @@ return { ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -351,15 +374,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v2/*: any*/), + (v3/*: any*/), (v0/*: any*/), - (v3/*: any*/) + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -372,15 +395,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v3/*: any*/), + (v5/*: any*/), (v0/*: any*/), - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -392,7 +415,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -428,7 +451,7 @@ return { "name": "isClosed", "storageKey": null }, - (v2/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -447,7 +470,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -455,7 +478,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -495,7 +518,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -505,10 +528,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null }, @@ -520,8 +543,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), - (v2/*: any*/) + (v6/*: any*/), + (v3/*: any*/) ], "storageKey": null }, @@ -618,14 +641,14 @@ return { "name": "slug", "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artworksConnection(first:20,forSale:true,geneIDs:\"our-top-auction-lots\")" } @@ -635,7 +658,7 @@ return { ] }, "params": { - "cacheID": "242b6c46931f7e3c0349ca8a5a04bcad", + "cacheID": "b9df17281978647d318b2167b00c1eb4", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -718,6 +741,21 @@ return { "viewer.artworksConnection.edges.node.collectorSignals.auction.lotClosesAt": (v10/*: any*/), "viewer.artworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v11/*: any*/), "viewer.artworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v10/*: any*/), + "viewer.artworksConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "viewer.artworksConnection.edges.node.collectorSignals.partnerOffer.endAt": (v10/*: any*/), + "viewer.artworksConnection.edges.node.collectorSignals.partnerOffer.id": (v8/*: any*/), + "viewer.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "viewer.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v10/*: any*/), "viewer.artworksConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -837,7 +875,7 @@ return { }, "name": "HomeAuctionLotsRail_Test_Query", "operationKind": "query", - "text": "query HomeAuctionLotsRail_Test_Query {\n viewer {\n ...HomeAuctionLotsRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeAuctionLotsRail_viewer on Viewer {\n artworksConnection(forSale: true, first: 20, geneIDs: \"our-top-auction-lots\") {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n slug\n href\n id\n }\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query HomeAuctionLotsRail_Test_Query {\n viewer {\n ...HomeAuctionLotsRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeAuctionLotsRail_viewer on Viewer {\n artworksConnection(forSale: true, first: 20, geneIDs: \"our-top-auction-lots\") {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n slug\n href\n id\n }\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/HomeEmergingPicksArtworksRailQuery.graphql.ts b/src/__generated__/HomeEmergingPicksArtworksRailQuery.graphql.ts index bad0d14fc6c..132df5dbfe2 100644 --- a/src/__generated__/HomeEmergingPicksArtworksRailQuery.graphql.ts +++ b/src/__generated__/HomeEmergingPicksArtworksRailQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<9e7df6d288eb96b32e925eee47c2592d>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -29,53 +29,53 @@ var v0 = { "name": "href", "storageKey": null }, -v1 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v2 = { +v1 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v2 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v4 = { +v4 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v3/*: any*/), - (v2/*: any*/) + (v5/*: any*/), + (v3/*: any*/) ]; return { "fragment": { @@ -240,6 +240,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v1/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v2/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -281,7 +304,7 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -305,7 +328,7 @@ return { ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -329,15 +352,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v2/*: any*/), + (v3/*: any*/), (v0/*: any*/), - (v3/*: any*/) + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -350,15 +373,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v3/*: any*/), + (v5/*: any*/), (v0/*: any*/), - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -370,7 +393,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -406,7 +429,7 @@ return { "name": "isClosed", "storageKey": null }, - (v2/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -425,7 +448,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -433,7 +456,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -473,7 +496,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -483,10 +506,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null }, @@ -498,8 +521,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), - (v2/*: any*/) + (v6/*: any*/), + (v3/*: any*/) ], "storageKey": null }, @@ -589,14 +612,14 @@ return { ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artworksConnection(first:20,marketingCollectionID:\"curators-picks-emerging\",sort:\"-decayed_merch\")" } @@ -606,12 +629,12 @@ return { ] }, "params": { - "cacheID": "5a5f6308d12fecc3a62e4671a7be42a4", + "cacheID": "25770b5747ed6629f60f02ddbe865bae", "id": null, "metadata": {}, "name": "HomeEmergingPicksArtworksRailQuery", "operationKind": "query", - "text": "query HomeEmergingPicksArtworksRailQuery {\n viewer {\n ...HomeEmergingPicksArtworksRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeEmergingPicksArtworksRail_viewer on Viewer {\n artworksConnection(first: 20, marketingCollectionID: \"curators-picks-emerging\", sort: \"-decayed_merch\") {\n edges {\n node {\n internalID\n slug\n href\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query HomeEmergingPicksArtworksRailQuery {\n viewer {\n ...HomeEmergingPicksArtworksRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeEmergingPicksArtworksRail_viewer on Viewer {\n artworksConnection(first: 20, marketingCollectionID: \"curators-picks-emerging\", sort: \"-decayed_merch\") {\n edges {\n node {\n internalID\n slug\n href\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/HomeEmergingPicksArtworksRail_Test_Query.graphql.ts b/src/__generated__/HomeEmergingPicksArtworksRail_Test_Query.graphql.ts index 47d3468de85..8bb11e53598 100644 --- a/src/__generated__/HomeEmergingPicksArtworksRail_Test_Query.graphql.ts +++ b/src/__generated__/HomeEmergingPicksArtworksRail_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -29,53 +29,53 @@ var v0 = { "name": "href", "storageKey": null }, -v1 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v2 = { +v1 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v2 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v4 = { +v4 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v3/*: any*/), - (v2/*: any*/) + (v5/*: any*/), + (v3/*: any*/) ], v8 = { "enumValues": null, @@ -282,6 +282,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v1/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v2/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -323,7 +346,7 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -347,7 +370,7 @@ return { ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -371,15 +394,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v2/*: any*/), + (v3/*: any*/), (v0/*: any*/), - (v3/*: any*/) + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -392,15 +415,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v3/*: any*/), + (v5/*: any*/), (v0/*: any*/), - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -412,7 +435,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -448,7 +471,7 @@ return { "name": "isClosed", "storageKey": null }, - (v2/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -467,7 +490,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -475,7 +498,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -515,7 +538,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -525,10 +548,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null }, @@ -540,8 +563,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), - (v2/*: any*/) + (v6/*: any*/), + (v3/*: any*/) ], "storageKey": null }, @@ -631,14 +654,14 @@ return { ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artworksConnection(first:20,marketingCollectionID:\"curators-picks-emerging\",sort:\"-decayed_merch\")" } @@ -648,7 +671,7 @@ return { ] }, "params": { - "cacheID": "dce582e55f232837da2e78e0cd81c54d", + "cacheID": "2bf75119d5b9a3336ef1e3000df21534", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -727,6 +750,21 @@ return { "viewer.artworksConnection.edges.node.collectorSignals.auction.lotWatcherCount": (v11/*: any*/), "viewer.artworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v12/*: any*/), "viewer.artworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v10/*: any*/), + "viewer.artworksConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "viewer.artworksConnection.edges.node.collectorSignals.partnerOffer.endAt": (v10/*: any*/), + "viewer.artworksConnection.edges.node.collectorSignals.partnerOffer.id": (v8/*: any*/), + "viewer.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "viewer.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v10/*: any*/), "viewer.artworksConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -846,7 +884,7 @@ return { }, "name": "HomeEmergingPicksArtworksRail_Test_Query", "operationKind": "query", - "text": "query HomeEmergingPicksArtworksRail_Test_Query {\n viewer {\n ...HomeEmergingPicksArtworksRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeEmergingPicksArtworksRail_viewer on Viewer {\n artworksConnection(first: 20, marketingCollectionID: \"curators-picks-emerging\", sort: \"-decayed_merch\") {\n edges {\n node {\n internalID\n slug\n href\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query HomeEmergingPicksArtworksRail_Test_Query {\n viewer {\n ...HomeEmergingPicksArtworksRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeEmergingPicksArtworksRail_viewer on Viewer {\n artworksConnection(first: 20, marketingCollectionID: \"curators-picks-emerging\", sort: \"-decayed_merch\") {\n edges {\n node {\n internalID\n slug\n href\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/HomeNewWorksForYouRailQuery.graphql.ts b/src/__generated__/HomeNewWorksForYouRailQuery.graphql.ts index 8399f978243..d0735389b70 100644 --- a/src/__generated__/HomeNewWorksForYouRailQuery.graphql.ts +++ b/src/__generated__/HomeNewWorksForYouRailQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<79867de0504ee14892cf29b6d94fff3f>> + * @generated SignedSource<<5881ecccb471f3ad9ccdfbdeadb6fcd2>> * @lightSyntaxTransform * @nogrep */ @@ -48,14 +48,16 @@ v1 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "href", + "name": "endAt", "storageKey": null }, v2 = [ { - "kind": "Literal", - "name": "shallow", - "value": true + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null } ], v3 = { @@ -69,34 +71,32 @@ v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "href", "storageKey": null }, -v5 = { +v5 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v6 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v7 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v8 = [ - (v4/*: any*/), + (v6/*: any*/), (v3/*: any*/) ]; return { @@ -237,6 +237,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v1/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v2/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -248,7 +271,7 @@ return { "name": "isUnlisted", "storageKey": null }, - (v1/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -279,7 +302,7 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -327,15 +350,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ (v3/*: any*/), - (v1/*: any*/), - (v4/*: any*/) + (v4/*: any*/), + (v6/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -348,14 +371,14 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ + (v6/*: any*/), (v4/*: any*/), - (v1/*: any*/), (v3/*: any*/) ], "storageKey": "partner(shallow:true)" @@ -368,7 +391,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v5/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -423,7 +446,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -431,7 +454,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v5/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -471,7 +494,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -481,7 +504,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, (v3/*: any*/) @@ -496,7 +519,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), (v3/*: any*/) ], "storageKey": null @@ -600,12 +623,12 @@ return { ] }, "params": { - "cacheID": "a403fa9df44226df435b9e586a8bd570", + "cacheID": "03e61aa6ba56edcc02f6a20fb9874fdb", "id": null, "metadata": {}, "name": "HomeNewWorksForYouRailQuery", "operationKind": "query", - "text": "query HomeNewWorksForYouRailQuery {\n artworksForUser(includeBackfill: true, first: 20, maxWorksPerArtist: 3, version: \"C\") {\n ...HomeNewWorksForYouRail_artworksForUser\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeNewWorksForYouRail_artworksForUser on ArtworkConnection {\n edges {\n node {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query HomeNewWorksForYouRailQuery {\n artworksForUser(includeBackfill: true, first: 20, maxWorksPerArtist: 3, version: \"C\") {\n ...HomeNewWorksForYouRail_artworksForUser\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeNewWorksForYouRail_artworksForUser on ArtworkConnection {\n edges {\n node {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/HomeNewWorksForYouRail_Test_Query.graphql.ts b/src/__generated__/HomeNewWorksForYouRail_Test_Query.graphql.ts index 485b3293e07..ad6025d14c2 100644 --- a/src/__generated__/HomeNewWorksForYouRail_Test_Query.graphql.ts +++ b/src/__generated__/HomeNewWorksForYouRail_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -38,14 +38,16 @@ v1 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "href", + "name": "endAt", "storageKey": null }, v2 = [ { - "kind": "Literal", - "name": "shallow", - "value": true + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null } ], v3 = { @@ -59,34 +61,32 @@ v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "href", "storageKey": null }, -v5 = { +v5 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v6 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v7 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v8 = [ - (v4/*: any*/), + (v6/*: any*/), (v3/*: any*/) ], v9 = { @@ -269,6 +269,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v1/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v2/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -280,7 +303,7 @@ return { "name": "isUnlisted", "storageKey": null }, - (v1/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -311,7 +334,7 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -359,15 +382,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ (v3/*: any*/), - (v1/*: any*/), - (v4/*: any*/) + (v4/*: any*/), + (v6/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -380,14 +403,14 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ + (v6/*: any*/), (v4/*: any*/), - (v1/*: any*/), (v3/*: any*/) ], "storageKey": "partner(shallow:true)" @@ -400,7 +423,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v5/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -455,7 +478,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -463,7 +486,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v5/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -503,7 +526,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -513,7 +536,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, (v3/*: any*/) @@ -528,7 +551,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), (v3/*: any*/) ], "storageKey": null @@ -632,7 +655,7 @@ return { ] }, "params": { - "cacheID": "a0f52c24c380f91417aefceb1f80a944", + "cacheID": "e6461af5c72e3c723354a999487eeedd", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -705,6 +728,21 @@ return { "artworksForUser.edges.node.collectorSignals.auction.lotWatcherCount": (v12/*: any*/), "artworksForUser.edges.node.collectorSignals.auction.onlineBiddingExtended": (v13/*: any*/), "artworksForUser.edges.node.collectorSignals.auction.registrationEndsAt": (v11/*: any*/), + "artworksForUser.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "artworksForUser.edges.node.collectorSignals.partnerOffer.endAt": (v11/*: any*/), + "artworksForUser.edges.node.collectorSignals.partnerOffer.id": (v9/*: any*/), + "artworksForUser.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "artworksForUser.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v11/*: any*/), "artworksForUser.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -823,7 +861,7 @@ return { }, "name": "HomeNewWorksForYouRail_Test_Query", "operationKind": "query", - "text": "query HomeNewWorksForYouRail_Test_Query {\n artworksForUser(includeBackfill: true, first: 20) {\n ...HomeNewWorksForYouRail_artworksForUser\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeNewWorksForYouRail_artworksForUser on ArtworkConnection {\n edges {\n node {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query HomeNewWorksForYouRail_Test_Query {\n artworksForUser(includeBackfill: true, first: 20) {\n ...HomeNewWorksForYouRail_artworksForUser\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeNewWorksForYouRail_artworksForUser on ArtworkConnection {\n edges {\n node {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/HomeNewWorksFromGalleriesYouFollowRailQuery.graphql.ts b/src/__generated__/HomeNewWorksFromGalleriesYouFollowRailQuery.graphql.ts index f372aba2ad2..8c3dc70e5cb 100644 --- a/src/__generated__/HomeNewWorksFromGalleriesYouFollowRailQuery.graphql.ts +++ b/src/__generated__/HomeNewWorksFromGalleriesYouFollowRailQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<9201332208922007c58d8e210f4d8853>> + * @generated SignedSource<<985f96f5cf4d81fdb1ff6640b04777bd>> * @lightSyntaxTransform * @nogrep */ @@ -35,14 +35,16 @@ v1 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "href", + "name": "endAt", "storageKey": null }, v2 = [ { - "kind": "Literal", - "name": "shallow", - "value": true + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null } ], v3 = { @@ -56,34 +58,32 @@ v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "href", "storageKey": null }, -v5 = { +v5 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v6 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v7 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v8 = [ - (v4/*: any*/), + (v6/*: any*/), (v3/*: any*/) ]; return { @@ -243,6 +243,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v1/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v2/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -254,7 +277,7 @@ return { "name": "isUnlisted", "storageKey": null }, - (v1/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -285,7 +308,7 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -333,15 +356,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ (v3/*: any*/), - (v1/*: any*/), - (v4/*: any*/) + (v4/*: any*/), + (v6/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -354,14 +377,14 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ + (v6/*: any*/), (v4/*: any*/), - (v1/*: any*/), (v3/*: any*/) ], "storageKey": "partner(shallow:true)" @@ -374,7 +397,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v5/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -429,7 +452,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -437,7 +460,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v5/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -477,7 +500,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -487,7 +510,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, (v3/*: any*/) @@ -502,7 +525,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), (v3/*: any*/) ], "storageKey": null @@ -610,12 +633,12 @@ return { ] }, "params": { - "cacheID": "eed022eeafdce630c01af86ee6d0448c", + "cacheID": "9c4f078dbfb1acca052ef322beed78b7", "id": null, "metadata": {}, "name": "HomeNewWorksFromGalleriesYouFollowRailQuery", "operationKind": "query", - "text": "query HomeNewWorksFromGalleriesYouFollowRailQuery {\n me {\n newWorksFromGalleriesYouFollowConnection(first: 20) {\n ...HomeNewWorksFromGalleriesYouFollowRail_newWorksFromGalleriesYouFollowConnection\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeNewWorksFromGalleriesYouFollowRail_newWorksFromGalleriesYouFollowConnection on ArtworkConnection {\n edges {\n node {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query HomeNewWorksFromGalleriesYouFollowRailQuery {\n me {\n newWorksFromGalleriesYouFollowConnection(first: 20) {\n ...HomeNewWorksFromGalleriesYouFollowRail_newWorksFromGalleriesYouFollowConnection\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeNewWorksFromGalleriesYouFollowRail_newWorksFromGalleriesYouFollowConnection on ArtworkConnection {\n edges {\n node {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/HomeNewWorksFromGalleriesYouFollowRail_Test_Query.graphql.ts b/src/__generated__/HomeNewWorksFromGalleriesYouFollowRail_Test_Query.graphql.ts index 769928b730e..4c055eb70ea 100644 --- a/src/__generated__/HomeNewWorksFromGalleriesYouFollowRail_Test_Query.graphql.ts +++ b/src/__generated__/HomeNewWorksFromGalleriesYouFollowRail_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<6a4dbfd797de50a773d09ea1e3b5043f>> * @lightSyntaxTransform * @nogrep */ @@ -35,14 +35,16 @@ v1 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "href", + "name": "endAt", "storageKey": null }, v2 = [ { - "kind": "Literal", - "name": "shallow", - "value": true + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null } ], v3 = { @@ -56,34 +58,32 @@ v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "href", "storageKey": null }, -v5 = { +v5 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v6 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v7 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v8 = [ - (v4/*: any*/), + (v6/*: any*/), (v3/*: any*/) ], v9 = { @@ -285,6 +285,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v1/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v2/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -296,7 +319,7 @@ return { "name": "isUnlisted", "storageKey": null }, - (v1/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -327,7 +350,7 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -375,15 +398,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ (v3/*: any*/), - (v1/*: any*/), - (v4/*: any*/) + (v4/*: any*/), + (v6/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -396,14 +419,14 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ + (v6/*: any*/), (v4/*: any*/), - (v1/*: any*/), (v3/*: any*/) ], "storageKey": "partner(shallow:true)" @@ -416,7 +439,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v5/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -471,7 +494,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -479,7 +502,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v5/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -519,7 +542,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -529,7 +552,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, (v3/*: any*/) @@ -544,7 +567,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), (v3/*: any*/) ], "storageKey": null @@ -652,7 +675,7 @@ return { ] }, "params": { - "cacheID": "578b9d7eaed39e4f7988bbc57b7b834d", + "cacheID": "f12543617825a80f907d17a685bf99e5", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -732,6 +755,21 @@ return { "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.auction.lotWatcherCount": (v12/*: any*/), "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v13/*: any*/), "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v11/*: any*/), + "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.partnerOffer.endAt": (v11/*: any*/), + "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.partnerOffer.id": (v9/*: any*/), + "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v11/*: any*/), "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -850,7 +888,7 @@ return { }, "name": "HomeNewWorksFromGalleriesYouFollowRail_Test_Query", "operationKind": "query", - "text": "query HomeNewWorksFromGalleriesYouFollowRail_Test_Query {\n me {\n newWorksFromGalleriesYouFollowConnection(first: 20) {\n ...HomeNewWorksFromGalleriesYouFollowRail_newWorksFromGalleriesYouFollowConnection\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeNewWorksFromGalleriesYouFollowRail_newWorksFromGalleriesYouFollowConnection on ArtworkConnection {\n edges {\n node {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query HomeNewWorksFromGalleriesYouFollowRail_Test_Query {\n me {\n newWorksFromGalleriesYouFollowConnection(first: 20) {\n ...HomeNewWorksFromGalleriesYouFollowRail_newWorksFromGalleriesYouFollowConnection\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeNewWorksFromGalleriesYouFollowRail_newWorksFromGalleriesYouFollowConnection on ArtworkConnection {\n edges {\n node {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/HomeRecentlyViewedRailQuery.graphql.ts b/src/__generated__/HomeRecentlyViewedRailQuery.graphql.ts index 358e3d0d8af..d00299b5fd4 100644 --- a/src/__generated__/HomeRecentlyViewedRailQuery.graphql.ts +++ b/src/__generated__/HomeRecentlyViewedRailQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<6973637b246ec46912400b4f82abccc0>> * @lightSyntaxTransform * @nogrep */ @@ -26,14 +26,16 @@ var v0 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "href", + "name": "endAt", "storageKey": null }, v1 = [ { - "kind": "Literal", - "name": "shallow", - "value": true + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null } ], v2 = { @@ -47,34 +49,32 @@ v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "href", "storageKey": null }, -v4 = { +v4 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v3/*: any*/), + (v5/*: any*/), (v2/*: any*/) ]; return { @@ -221,6 +221,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v0/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v1/*: any*/), + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -232,7 +255,7 @@ return { "name": "isUnlisted", "storageKey": null }, - (v0/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -263,7 +286,7 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -311,15 +334,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ (v2/*: any*/), - (v0/*: any*/), - (v3/*: any*/) + (v3/*: any*/), + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -332,14 +355,14 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ + (v5/*: any*/), (v3/*: any*/), - (v0/*: any*/), (v2/*: any*/) ], "storageKey": "partner(shallow:true)" @@ -352,7 +375,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v4/*: any*/), + (v0/*: any*/), { "alias": null, "args": null, @@ -407,7 +430,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -415,7 +438,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v4/*: any*/), + (v0/*: any*/), { "alias": null, "args": null, @@ -455,7 +478,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v1/*: any*/), "storageKey": null }, { @@ -465,7 +488,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v1/*: any*/), "storageKey": null }, (v2/*: any*/) @@ -480,7 +503,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), (v2/*: any*/) ], "storageKey": null @@ -585,12 +608,12 @@ return { ] }, "params": { - "cacheID": "0135a7c35249728593c959c1d2832f80", + "cacheID": "ea394d4d579966a78c09b48336994a34", "id": null, "metadata": {}, "name": "HomeRecentlyViewedRailQuery", "operationKind": "query", - "text": "query HomeRecentlyViewedRailQuery {\n homePage {\n ...HomeRecentlyViewedRail_homePage\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeRecentlyViewedRail_homePage on HomePage {\n artworkModule(key: RECENTLY_VIEWED_WORKS) {\n results {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query HomeRecentlyViewedRailQuery {\n homePage {\n ...HomeRecentlyViewedRail_homePage\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeRecentlyViewedRail_homePage on HomePage {\n artworkModule(key: RECENTLY_VIEWED_WORKS) {\n results {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/HomeRecentlyViewedRail_Test_Query.graphql.ts b/src/__generated__/HomeRecentlyViewedRail_Test_Query.graphql.ts index a3f3e4a7d83..2dc9576482d 100644 --- a/src/__generated__/HomeRecentlyViewedRail_Test_Query.graphql.ts +++ b/src/__generated__/HomeRecentlyViewedRail_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<3965d5086e381ad46c7bc0ae90df379c>> * @lightSyntaxTransform * @nogrep */ @@ -26,14 +26,16 @@ var v0 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "href", + "name": "endAt", "storageKey": null }, v1 = [ { - "kind": "Literal", - "name": "shallow", - "value": true + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null } ], v2 = { @@ -47,34 +49,32 @@ v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "href", "storageKey": null }, -v4 = { +v4 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v3/*: any*/), + (v5/*: any*/), (v2/*: any*/) ]; return { @@ -221,6 +221,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v0/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v1/*: any*/), + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -232,7 +255,7 @@ return { "name": "isUnlisted", "storageKey": null }, - (v0/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -263,7 +286,7 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -311,15 +334,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ (v2/*: any*/), - (v0/*: any*/), - (v3/*: any*/) + (v3/*: any*/), + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -332,14 +355,14 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ + (v5/*: any*/), (v3/*: any*/), - (v0/*: any*/), (v2/*: any*/) ], "storageKey": "partner(shallow:true)" @@ -352,7 +375,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v4/*: any*/), + (v0/*: any*/), { "alias": null, "args": null, @@ -407,7 +430,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -415,7 +438,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v4/*: any*/), + (v0/*: any*/), { "alias": null, "args": null, @@ -455,7 +478,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v1/*: any*/), "storageKey": null }, { @@ -465,7 +488,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v1/*: any*/), "storageKey": null }, (v2/*: any*/) @@ -480,7 +503,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), (v2/*: any*/) ], "storageKey": null @@ -585,12 +608,12 @@ return { ] }, "params": { - "cacheID": "7a299ee1af7dbdac87bcf0d7569cf734", + "cacheID": "1f4acc7b800e286f693c5f647d0da789", "id": null, "metadata": {}, "name": "HomeRecentlyViewedRail_Test_Query", "operationKind": "query", - "text": "query HomeRecentlyViewedRail_Test_Query {\n homePage {\n ...HomeRecentlyViewedRail_homePage\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeRecentlyViewedRail_homePage on HomePage {\n artworkModule(key: RECENTLY_VIEWED_WORKS) {\n results {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query HomeRecentlyViewedRail_Test_Query {\n homePage {\n ...HomeRecentlyViewedRail_homePage\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeRecentlyViewedRail_homePage on HomePage {\n artworkModule(key: RECENTLY_VIEWED_WORKS) {\n results {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/HomeWorksByArtistsYouFollowRailQuery.graphql.ts b/src/__generated__/HomeWorksByArtistsYouFollowRailQuery.graphql.ts index 061f443feed..dbf34257120 100644 --- a/src/__generated__/HomeWorksByArtistsYouFollowRailQuery.graphql.ts +++ b/src/__generated__/HomeWorksByArtistsYouFollowRailQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<7c201998809b676d69199693cbdcaa77>> * @lightSyntaxTransform * @nogrep */ @@ -26,14 +26,16 @@ var v0 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "href", + "name": "endAt", "storageKey": null }, v1 = [ { - "kind": "Literal", - "name": "shallow", - "value": true + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null } ], v2 = { @@ -47,34 +49,32 @@ v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "href", "storageKey": null }, -v4 = { +v4 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v3/*: any*/), + (v5/*: any*/), (v2/*: any*/) ]; return { @@ -221,6 +221,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v0/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v1/*: any*/), + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -232,7 +255,7 @@ return { "name": "isUnlisted", "storageKey": null }, - (v0/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -263,7 +286,7 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -311,15 +334,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ (v2/*: any*/), - (v0/*: any*/), - (v3/*: any*/) + (v3/*: any*/), + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -332,14 +355,14 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ + (v5/*: any*/), (v3/*: any*/), - (v0/*: any*/), (v2/*: any*/) ], "storageKey": "partner(shallow:true)" @@ -352,7 +375,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v4/*: any*/), + (v0/*: any*/), { "alias": null, "args": null, @@ -407,7 +430,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -415,7 +438,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v4/*: any*/), + (v0/*: any*/), { "alias": null, "args": null, @@ -455,7 +478,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v1/*: any*/), "storageKey": null }, { @@ -465,7 +488,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v1/*: any*/), "storageKey": null }, (v2/*: any*/) @@ -480,7 +503,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), (v2/*: any*/) ], "storageKey": null @@ -585,12 +608,12 @@ return { ] }, "params": { - "cacheID": "328842b61d4d078c7af0dccde8de113e", + "cacheID": "8425797c7767493af9bb79ddffdb764a", "id": null, "metadata": {}, "name": "HomeWorksByArtistsYouFollowRailQuery", "operationKind": "query", - "text": "query HomeWorksByArtistsYouFollowRailQuery {\n homePage {\n ...HomeWorksByArtistsYouFollowRail_homePage\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeWorksByArtistsYouFollowRail_homePage on HomePage {\n artworkModule(key: FOLLOWED_ARTISTS) {\n results {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query HomeWorksByArtistsYouFollowRailQuery {\n homePage {\n ...HomeWorksByArtistsYouFollowRail_homePage\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeWorksByArtistsYouFollowRail_homePage on HomePage {\n artworkModule(key: FOLLOWED_ARTISTS) {\n results {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/HomeWorksByArtistsYouFollowRail_Test_Query.graphql.ts b/src/__generated__/HomeWorksByArtistsYouFollowRail_Test_Query.graphql.ts index f8554cab885..2bc011f0f0f 100644 --- a/src/__generated__/HomeWorksByArtistsYouFollowRail_Test_Query.graphql.ts +++ b/src/__generated__/HomeWorksByArtistsYouFollowRail_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<59d89e4d789a6a21622f995ffa884e32>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -26,14 +26,16 @@ var v0 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "href", + "name": "endAt", "storageKey": null }, v1 = [ { - "kind": "Literal", - "name": "shallow", - "value": true + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null } ], v2 = { @@ -47,34 +49,32 @@ v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "href", "storageKey": null }, -v4 = { +v4 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v3/*: any*/), + (v5/*: any*/), (v2/*: any*/) ], v8 = { @@ -263,6 +263,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v0/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v1/*: any*/), + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -274,7 +297,7 @@ return { "name": "isUnlisted", "storageKey": null }, - (v0/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -305,7 +328,7 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -353,15 +376,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ (v2/*: any*/), - (v0/*: any*/), - (v3/*: any*/) + (v3/*: any*/), + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -374,14 +397,14 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ + (v5/*: any*/), (v3/*: any*/), - (v0/*: any*/), (v2/*: any*/) ], "storageKey": "partner(shallow:true)" @@ -394,7 +417,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v4/*: any*/), + (v0/*: any*/), { "alias": null, "args": null, @@ -449,7 +472,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -457,7 +480,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v4/*: any*/), + (v0/*: any*/), { "alias": null, "args": null, @@ -497,7 +520,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v1/*: any*/), "storageKey": null }, { @@ -507,7 +530,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v1/*: any*/), "storageKey": null }, (v2/*: any*/) @@ -522,7 +545,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), (v2/*: any*/) ], "storageKey": null @@ -627,7 +650,7 @@ return { ] }, "params": { - "cacheID": "3bb2407ac42776dc93d21be81a91fca8", + "cacheID": "6a6d161ca4ef4a8a70099ec16681c329", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -701,6 +724,21 @@ return { "homePage.artworkModule.results.collectorSignals.auction.lotWatcherCount": (v11/*: any*/), "homePage.artworkModule.results.collectorSignals.auction.onlineBiddingExtended": (v12/*: any*/), "homePage.artworkModule.results.collectorSignals.auction.registrationEndsAt": (v10/*: any*/), + "homePage.artworkModule.results.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "homePage.artworkModule.results.collectorSignals.partnerOffer.endAt": (v10/*: any*/), + "homePage.artworkModule.results.collectorSignals.partnerOffer.id": (v8/*: any*/), + "homePage.artworkModule.results.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "homePage.artworkModule.results.collectorSignals.partnerOffer.priceWithDiscount.display": (v10/*: any*/), "homePage.artworkModule.results.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -819,7 +857,7 @@ return { }, "name": "HomeWorksByArtistsYouFollowRail_Test_Query", "operationKind": "query", - "text": "query HomeWorksByArtistsYouFollowRail_Test_Query {\n homePage {\n ...HomeWorksByArtistsYouFollowRail_homePage\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeWorksByArtistsYouFollowRail_homePage on HomePage {\n artworkModule(key: FOLLOWED_ARTISTS) {\n results {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query HomeWorksByArtistsYouFollowRail_Test_Query {\n homePage {\n ...HomeWorksByArtistsYouFollowRail_homePage\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeWorksByArtistsYouFollowRail_homePage on HomePage {\n artworkModule(key: FOLLOWED_ARTISTS) {\n results {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/MarketingFeaturedArtworksRailQuery.graphql.ts b/src/__generated__/MarketingFeaturedArtworksRailQuery.graphql.ts index 98e3edb4e6e..b7b521d8289 100644 --- a/src/__generated__/MarketingFeaturedArtworksRailQuery.graphql.ts +++ b/src/__generated__/MarketingFeaturedArtworksRailQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<00432e4fb09269e79d217915934ad018>> + * @generated SignedSource<<8bb6b512bf6548a6b8342410c9e865fb>> * @lightSyntaxTransform * @nogrep */ @@ -29,53 +29,53 @@ var v0 = { "name": "href", "storageKey": null }, -v1 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v2 = { +v1 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v2 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v4 = { +v4 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v3/*: any*/), - (v2/*: any*/) + (v5/*: any*/), + (v3/*: any*/) ]; return { "fragment": { @@ -253,6 +253,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v1/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v2/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -273,7 +296,7 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -297,7 +320,7 @@ return { ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -321,15 +344,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v2/*: any*/), + (v3/*: any*/), (v0/*: any*/), - (v3/*: any*/) + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -342,15 +365,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v3/*: any*/), + (v5/*: any*/), (v0/*: any*/), - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -362,7 +385,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -398,7 +421,7 @@ return { "name": "isClosed", "storageKey": null }, - (v2/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -417,7 +440,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -425,7 +448,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -465,7 +488,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -475,10 +498,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null }, @@ -490,8 +513,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), - (v2/*: any*/) + (v6/*: any*/), + (v3/*: any*/) ], "storageKey": null }, @@ -581,18 +604,18 @@ return { ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artworksConnection(first:25)" }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "marketingCollections(slugs:[\"new-this-week\"])" } @@ -602,12 +625,12 @@ return { ] }, "params": { - "cacheID": "ba28fc6c6c1574141e3e9b0b60945324", + "cacheID": "39f8bcf74e175adeb9e4e4f0750bc9bb", "id": null, "metadata": {}, "name": "MarketingFeaturedArtworksRailQuery", "operationKind": "query", - "text": "query MarketingFeaturedArtworksRailQuery {\n viewer {\n ...MarketingFeaturedArtworksRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment MarketingFeaturedArtworksRail_viewer on Viewer {\n marketingCollections(slugs: [\"new-this-week\"]) {\n artworksConnection(first: 25) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n }\n }\n id\n }\n id\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query MarketingFeaturedArtworksRailQuery {\n viewer {\n ...MarketingFeaturedArtworksRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment MarketingFeaturedArtworksRail_viewer on Viewer {\n marketingCollections(slugs: [\"new-this-week\"]) {\n artworksConnection(first: 25) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n }\n }\n id\n }\n id\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/MetadataTestQuery.graphql.ts b/src/__generated__/MetadataTestQuery.graphql.ts index 185c1a86b6e..ac36a6faa10 100644 --- a/src/__generated__/MetadataTestQuery.graphql.ts +++ b/src/__generated__/MetadataTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<0461411242b8c03a18d954a582f99655>> * @lightSyntaxTransform * @nogrep */ @@ -36,53 +36,53 @@ v1 = { "name": "href", "storageKey": null }, -v2 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v3 = { +v2 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v3 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v5 = { +v5 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v6 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v7 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v8 = [ - (v4/*: any*/), - (v3/*: any*/) + (v6/*: any*/), + (v4/*: any*/) ], v9 = { "enumValues": null, @@ -243,6 +243,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v2/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v3/*: any*/), + "storageKey": null + }, + (v4/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -263,7 +286,7 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -287,7 +310,7 @@ return { ], "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -311,15 +334,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v3/*: any*/), + (v4/*: any*/), (v1/*: any*/), - (v4/*: any*/) + (v6/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -332,15 +355,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v4/*: any*/), + (v6/*: any*/), (v1/*: any*/), - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -352,7 +375,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v5/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -388,7 +411,7 @@ return { "name": "isClosed", "storageKey": null }, - (v3/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -407,7 +430,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -415,7 +438,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v5/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -455,7 +478,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, { @@ -465,10 +488,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": null }, @@ -480,8 +503,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), - (v3/*: any*/) + (v7/*: any*/), + (v4/*: any*/) ], "storageKey": null }, @@ -516,14 +539,14 @@ return { ], "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "artwork(id:\"artwork-id\")" } ] }, "params": { - "cacheID": "4da8c53181a5ccb8c4ca4cc190ffbadc", + "cacheID": "13b424ab842e344481d25283960e955d", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -587,6 +610,21 @@ return { "artwork.collectorSignals.auction.lotClosesAt": (v11/*: any*/), "artwork.collectorSignals.auction.onlineBiddingExtended": (v12/*: any*/), "artwork.collectorSignals.auction.registrationEndsAt": (v11/*: any*/), + "artwork.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "artwork.collectorSignals.partnerOffer.endAt": (v11/*: any*/), + "artwork.collectorSignals.partnerOffer.id": (v9/*: any*/), + "artwork.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "artwork.collectorSignals.partnerOffer.priceWithDiscount.display": (v11/*: any*/), "artwork.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -693,7 +731,7 @@ return { }, "name": "MetadataTestQuery", "operationKind": "query", - "text": "query MetadataTestQuery {\n artwork(id: \"artwork-id\") {\n ...Metadata_artwork\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query MetadataTestQuery {\n artwork(id: \"artwork-id\") {\n ...Metadata_artwork\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/MyCollectionArworkSearchQuery.graphql.ts b/src/__generated__/MyCollectionArworkSearchQuery.graphql.ts index 2a481c6d4bb..e28d246e474 100644 --- a/src/__generated__/MyCollectionArworkSearchQuery.graphql.ts +++ b/src/__generated__/MyCollectionArworkSearchQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<145da0879cea73b4c339de05aa902d68>> + * @generated SignedSource<<5363ca4f42ee8ca7605379ed973fdb05>> * @lightSyntaxTransform * @nogrep */ @@ -274,45 +274,45 @@ v17 = { "name": "href", "storageKey": null }, -v18 = [ +v18 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v19 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v20 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v19 = { +v21 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v20 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v21 = { +v22 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v22 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v23 = [ - (v19/*: any*/), + (v21/*: any*/), (v12/*: any*/) ]; return { @@ -578,6 +578,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v18/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v19/*: any*/), + "storageKey": null + }, + (v12/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -598,7 +621,7 @@ return { }, { "alias": null, - "args": (v18/*: any*/), + "args": (v20/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -646,7 +669,7 @@ return { }, { "alias": null, - "args": (v18/*: any*/), + "args": (v20/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -654,7 +677,7 @@ return { "selections": [ (v12/*: any*/), (v17/*: any*/), - (v19/*: any*/) + (v21/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -667,13 +690,13 @@ return { }, { "alias": null, - "args": (v18/*: any*/), + "args": (v20/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v19/*: any*/), + (v21/*: any*/), (v17/*: any*/), (v12/*: any*/) ], @@ -687,7 +710,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v20/*: any*/), + (v18/*: any*/), { "alias": null, "args": null, @@ -742,7 +765,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v21/*: any*/), + (v22/*: any*/), { "alias": null, "args": null, @@ -750,7 +773,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v20/*: any*/), + (v18/*: any*/), { "alias": null, "args": null, @@ -790,7 +813,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v22/*: any*/), + "selections": (v19/*: any*/), "storageKey": null }, { @@ -800,7 +823,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v22/*: any*/), + "selections": (v19/*: any*/), "storageKey": null }, (v12/*: any*/) @@ -815,7 +838,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v21/*: any*/), + (v22/*: any*/), (v12/*: any*/) ], "storageKey": null @@ -875,12 +898,12 @@ return { ] }, "params": { - "cacheID": "89db7d0a89c7f2bba82aa33fd431684d", + "cacheID": "eafccf27e3c42786af8ffc925faa6fcf", "id": null, "metadata": {}, "name": "MyCollectionArworkSearchQuery", "operationKind": "query", - "text": "query MyCollectionArworkSearchQuery(\n $artistID: String!\n $input: FilterArtworksInput\n) {\n artist(id: $artistID) {\n filterArtworksConnection(first: 40, input: $input) {\n edges {\n node {\n medium\n date\n depth\n editionSize\n editionNumber\n height\n images {\n height\n internalID\n isDefault\n url(version: [\"main\", \"normalized\", \"larger\", \"large\", \"medium\", \"small\"])\n width\n }\n id\n internalID\n isEdition\n category\n metric\n title\n width\n ...GridItem_artwork\n }\n }\n id\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query MyCollectionArworkSearchQuery(\n $artistID: String!\n $input: FilterArtworksInput\n) {\n artist(id: $artistID) {\n filterArtworksConnection(first: 40, input: $input) {\n edges {\n node {\n medium\n date\n depth\n editionSize\n editionNumber\n height\n images {\n height\n internalID\n isDefault\n url(version: [\"main\", \"normalized\", \"larger\", \"large\", \"medium\", \"small\"])\n width\n }\n id\n internalID\n isEdition\n category\n metric\n title\n width\n ...GridItem_artwork\n }\n }\n id\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/MyCollectionRouteQuery.graphql.ts b/src/__generated__/MyCollectionRouteQuery.graphql.ts index 8471666a1cb..a48ed414e39 100644 --- a/src/__generated__/MyCollectionRouteQuery.graphql.ts +++ b/src/__generated__/MyCollectionRouteQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<89d5a479c322972da9a9b4d2b9f634cd>> + * @generated SignedSource<<528d3cb5a37b673a0ec822091a3a4860>> * @lightSyntaxTransform * @nogrep */ @@ -94,41 +94,41 @@ v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "endAt", "storageKey": null }, -v8 = { +v8 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v9 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v9 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v10 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v11 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v12 = [ - (v7/*: any*/), + (v9/*: any*/), (v2/*: any*/) ]; return { @@ -483,6 +483,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v7/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v8/*: any*/), + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -529,7 +552,7 @@ return { "selections": [ (v2/*: any*/), (v3/*: any*/), - (v7/*: any*/) + (v9/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -548,7 +571,7 @@ return { "name": "partner", "plural": false, "selections": [ - (v7/*: any*/), + (v9/*: any*/), (v3/*: any*/), (v2/*: any*/) ], @@ -562,7 +585,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v8/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -624,7 +647,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -632,8 +655,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v8/*: any*/), - (v10/*: any*/), + (v7/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -666,7 +689,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v11/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, { @@ -676,7 +699,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v11/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, (v2/*: any*/) @@ -691,10 +714,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), (v2/*: any*/), - (v8/*: any*/), - (v10/*: any*/) + (v7/*: any*/), + (v11/*: any*/) ], "storageKey": null }, @@ -821,12 +844,12 @@ return { ] }, "params": { - "cacheID": "84947517b702d7e84d63a07422da2485", + "cacheID": "e916e3fbba5512423e7074960b3cb0f1", "id": null, "metadata": {}, "name": "MyCollectionRouteQuery", "operationKind": "query", - "text": "query MyCollectionRouteQuery(\n $count: Int!\n $cursor: String\n) {\n me {\n ...MyCollectionRoute_me_1G22uz\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment ConsignmentSubmissionStatus_artwork on Artwork {\n internalID\n isListed\n consignmentSubmission {\n internalID\n state\n stateLabel\n actionLabel\n stateLabelColor\n }\n}\n\nfragment Details_artwork_Sz0Ax on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n consignmentSubmission {\n internalID\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n ...ConsignmentSubmissionStatus_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_8QZwu on Artwork {\n ...Metadata_artwork_Sz0Ax\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: true) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_8QZwu on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: true) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_Sz0Ax\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_Sz0Ax on Artwork {\n ...Details_artwork_Sz0Ax\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment MyCollectionArtworkGrid_artworks on MyCollectionConnection {\n edges {\n node {\n id\n slug\n href\n internalID\n image(includeAll: true) {\n aspectRatio\n }\n artist(shallow: true) {\n targetSupply {\n priority\n }\n id\n }\n consignmentSubmission {\n state\n }\n ...GridItem_artwork_8QZwu\n ...FlatGridItem_artwork_8QZwu\n }\n }\n}\n\nfragment MyCollectionRoute_me_1G22uz on Me {\n myCollectionConnection(first: $count, after: $cursor, sort: CREATED_AT_DESC) {\n ...MyCollectionArtworkGrid_artworks\n totalCount\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query MyCollectionRouteQuery(\n $count: Int!\n $cursor: String\n) {\n me {\n ...MyCollectionRoute_me_1G22uz\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment ConsignmentSubmissionStatus_artwork on Artwork {\n internalID\n isListed\n consignmentSubmission {\n internalID\n state\n stateLabel\n actionLabel\n stateLabelColor\n }\n}\n\nfragment Details_artwork_Sz0Ax on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n consignmentSubmission {\n internalID\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n ...ConsignmentSubmissionStatus_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_8QZwu on Artwork {\n ...Metadata_artwork_Sz0Ax\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: true) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_8QZwu on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: true) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_Sz0Ax\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_Sz0Ax on Artwork {\n ...Details_artwork_Sz0Ax\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment MyCollectionArtworkGrid_artworks on MyCollectionConnection {\n edges {\n node {\n id\n slug\n href\n internalID\n image(includeAll: true) {\n aspectRatio\n }\n artist(shallow: true) {\n targetSupply {\n priority\n }\n id\n }\n consignmentSubmission {\n state\n }\n ...GridItem_artwork_8QZwu\n ...FlatGridItem_artwork_8QZwu\n }\n }\n}\n\nfragment MyCollectionRoute_me_1G22uz on Me {\n myCollectionConnection(first: $count, after: $cursor, sort: CREATED_AT_DESC) {\n ...MyCollectionArtworkGrid_artworks\n totalCount\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/NewForYouApp_test_Query.graphql.ts b/src/__generated__/NewForYouApp_test_Query.graphql.ts index 223ef1c943e..867c4a69cbf 100644 --- a/src/__generated__/NewForYouApp_test_Query.graphql.ts +++ b/src/__generated__/NewForYouApp_test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<6f30d3535308988b205bce5960f50d6b>> + * @generated SignedSource<<48f42dc78599a635750f6e7843132764>> * @lightSyntaxTransform * @nogrep */ @@ -78,52 +78,52 @@ v5 = { "large" ] }, -v6 = [ +v6 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v7 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v8 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v7 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v9 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v10 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v11 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v12 = [ - (v7/*: any*/), + (v9/*: any*/), (v2/*: any*/) ], v13 = { @@ -449,6 +449,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v6/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v7/*: any*/), + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -469,7 +492,7 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -517,7 +540,7 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -525,7 +548,7 @@ return { "selections": [ (v2/*: any*/), (v3/*: any*/), - (v7/*: any*/) + (v9/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -538,13 +561,13 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v7/*: any*/), + (v9/*: any*/), (v3/*: any*/), (v2/*: any*/) ], @@ -558,7 +581,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v8/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -620,7 +643,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -628,8 +651,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v8/*: any*/), - (v10/*: any*/), + (v6/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -662,7 +685,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v11/*: any*/), + "selections": (v7/*: any*/), "storageKey": null }, { @@ -672,7 +695,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v11/*: any*/), + "selections": (v7/*: any*/), "storageKey": null }, (v2/*: any*/) @@ -687,10 +710,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), (v2/*: any*/), - (v8/*: any*/), - (v10/*: any*/) + (v6/*: any*/), + (v11/*: any*/) ], "storageKey": null }, @@ -791,7 +814,7 @@ return { ] }, "params": { - "cacheID": "09d23e670cf726cf0c25f8bfd11ab7e5", + "cacheID": "f353b440d2ac7fa95c8388ccbe529600", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -878,6 +901,21 @@ return { "viewer.artworksForUser.edges.node.collectorSignals.auction.lotClosesAt": (v16/*: any*/), "viewer.artworksForUser.edges.node.collectorSignals.auction.onlineBiddingExtended": (v17/*: any*/), "viewer.artworksForUser.edges.node.collectorSignals.auction.registrationEndsAt": (v16/*: any*/), + "viewer.artworksForUser.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "viewer.artworksForUser.edges.node.collectorSignals.partnerOffer.endAt": (v16/*: any*/), + "viewer.artworksForUser.edges.node.collectorSignals.partnerOffer.id": (v14/*: any*/), + "viewer.artworksForUser.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "viewer.artworksForUser.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v16/*: any*/), "viewer.artworksForUser.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1037,7 +1075,7 @@ return { }, "name": "NewForYouApp_test_Query", "operationKind": "query", - "text": "query NewForYouApp_test_Query(\n $first: Int\n $includeBackfill: Boolean!\n) {\n viewer {\n ...NewForYouArtworksGrid_viewer_2GVV1c\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment NewForYouArtworksGrid_viewer_2GVV1c on Viewer {\n artworksForUser(first: $first, includeBackfill: $includeBackfill) {\n totalCount\n ...ArtworkGrid_artworks\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query NewForYouApp_test_Query(\n $first: Int\n $includeBackfill: Boolean!\n) {\n viewer {\n ...NewForYouArtworksGrid_viewer_2GVV1c\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment NewForYouArtworksGrid_viewer_2GVV1c on Viewer {\n artworksForUser(first: $first, includeBackfill: $includeBackfill) {\n totalCount\n ...ArtworkGrid_artworks\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/NewWorksFromGalleriesYouFollowAppQuery.graphql.ts b/src/__generated__/NewWorksFromGalleriesYouFollowAppQuery.graphql.ts index b42937eea65..cc639acb96d 100644 --- a/src/__generated__/NewWorksFromGalleriesYouFollowAppQuery.graphql.ts +++ b/src/__generated__/NewWorksFromGalleriesYouFollowAppQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<63e35ec18b0fa7dbf5d7976bc4d200b8>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -85,52 +85,52 @@ v6 = { "large" ] }, -v7 = [ +v7 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v8 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v9 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v8 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v10 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v11 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v12 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v13 = [ - (v8/*: any*/), + (v10/*: any*/), (v2/*: any*/) ]; return { @@ -474,6 +474,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v7/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v8/*: any*/), + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -494,7 +517,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -542,7 +565,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -550,7 +573,7 @@ return { "selections": [ (v2/*: any*/), (v4/*: any*/), - (v8/*: any*/) + (v10/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -563,13 +586,13 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v8/*: any*/), + (v10/*: any*/), (v4/*: any*/), (v2/*: any*/) ], @@ -583,7 +606,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v9/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -645,7 +668,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v10/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -653,8 +676,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v9/*: any*/), - (v11/*: any*/), + (v7/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -687,7 +710,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, { @@ -697,7 +720,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, (v2/*: any*/) @@ -712,10 +735,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v10/*: any*/), + (v11/*: any*/), (v2/*: any*/), - (v9/*: any*/), - (v11/*: any*/) + (v7/*: any*/), + (v12/*: any*/) ], "storageKey": null }, @@ -801,12 +824,12 @@ return { ] }, "params": { - "cacheID": "6c292b751096825f1d4e6b4ba4925747", + "cacheID": "b02570be83de0264ff5c8d6d5dad0d8f", "id": null, "metadata": {}, "name": "NewWorksFromGalleriesYouFollowAppQuery", "operationKind": "query", - "text": "query NewWorksFromGalleriesYouFollowAppQuery(\n $count: Int!\n $cursor: String\n) {\n me {\n ...NewWorksFromGalleriesYouFollowApp_me_1G22uz\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment NewWorksFromGalleriesYouFollowApp_me_1G22uz on Me {\n newWorksFromGalleriesYouFollowConnection(first: $count, after: $cursor) {\n ...ArtworkGrid_artworks\n totalCount\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query NewWorksFromGalleriesYouFollowAppQuery(\n $count: Int!\n $cursor: String\n) {\n me {\n ...NewWorksFromGalleriesYouFollowApp_me_1G22uz\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment NewWorksFromGalleriesYouFollowApp_me_1G22uz on Me {\n newWorksFromGalleriesYouFollowConnection(first: $count, after: $cursor) {\n ...ArtworkGrid_artworks\n totalCount\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/NewWorksFromGalleriesYouFollowApp_test_Query.graphql.ts b/src/__generated__/NewWorksFromGalleriesYouFollowApp_test_Query.graphql.ts index e9aada5fe29..9a3b2f5587d 100644 --- a/src/__generated__/NewWorksFromGalleriesYouFollowApp_test_Query.graphql.ts +++ b/src/__generated__/NewWorksFromGalleriesYouFollowApp_test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -44,14 +44,16 @@ v2 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "href", + "name": "endAt", "storageKey": null }, v3 = [ { - "kind": "Literal", - "name": "shallow", - "value": true + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null } ], v4 = { @@ -65,34 +67,32 @@ v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "href", "storageKey": null }, -v6 = { +v6 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v7 = { +v8 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v8 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v9 = [ - (v5/*: any*/), + (v7/*: any*/), (v4/*: any*/) ], v10 = { @@ -294,6 +294,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v2/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v3/*: any*/), + "storageKey": null + }, + (v4/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -305,7 +328,7 @@ return { "name": "isUnlisted", "storageKey": null }, - (v2/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -336,7 +359,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -384,15 +407,15 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ (v4/*: any*/), - (v2/*: any*/), - (v5/*: any*/) + (v5/*: any*/), + (v7/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -405,14 +428,14 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ + (v7/*: any*/), (v5/*: any*/), - (v2/*: any*/), (v4/*: any*/) ], "storageKey": "partner(shallow:true)" @@ -425,7 +448,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v6/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -480,7 +503,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -488,7 +511,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v6/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -528,7 +551,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, { @@ -538,7 +561,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, (v4/*: any*/) @@ -553,7 +576,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), + (v8/*: any*/), (v4/*: any*/) ], "storageKey": null @@ -661,7 +684,7 @@ return { ] }, "params": { - "cacheID": "f6d74d0c696859bdbaac509ad951b61c", + "cacheID": "9c99169e4642ab0fee51f345fe13154b", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -741,6 +764,21 @@ return { "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.auction.lotWatcherCount": (v13/*: any*/), "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v14/*: any*/), "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v12/*: any*/), + "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.partnerOffer.endAt": (v12/*: any*/), + "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.partnerOffer.id": (v10/*: any*/), + "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v12/*: any*/), "me.newWorksFromGalleriesYouFollowConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -859,7 +897,7 @@ return { }, "name": "NewWorksFromGalleriesYouFollowApp_test_Query", "operationKind": "query", - "text": "query NewWorksFromGalleriesYouFollowApp_test_Query(\n $first: Int\n) {\n me {\n newWorksFromGalleriesYouFollowConnection(first: $first) {\n ...HomeNewWorksFromGalleriesYouFollowRail_newWorksFromGalleriesYouFollowConnection\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeNewWorksFromGalleriesYouFollowRail_newWorksFromGalleriesYouFollowConnection on ArtworkConnection {\n edges {\n node {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query NewWorksFromGalleriesYouFollowApp_test_Query(\n $first: Int\n) {\n me {\n newWorksFromGalleriesYouFollowConnection(first: $first) {\n ...HomeNewWorksFromGalleriesYouFollowRail_newWorksFromGalleriesYouFollowConnection\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HomeNewWorksFromGalleriesYouFollowRail_newWorksFromGalleriesYouFollowConnection on ArtworkConnection {\n edges {\n node {\n internalID\n slug\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotWatcherCount\n }\n }\n ...ShelfArtwork_artwork\n id\n }\n }\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/NewsIndexArticlesQuery.graphql.ts b/src/__generated__/NewsIndexArticlesQuery.graphql.ts index e1a0e0b8c45..ad66fa9dff4 100644 --- a/src/__generated__/NewsIndexArticlesQuery.graphql.ts +++ b/src/__generated__/NewsIndexArticlesQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<747b0033bcfaf74099152c2a6a1b242c>> + * @generated SignedSource<<2eb96d26853baab681754b3c3544988e>> * @lightSyntaxTransform * @nogrep */ @@ -202,28 +202,14 @@ v21 = { "name": "date", "storageKey": null }, -v22 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v23 = { +v22 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v24 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lotID", - "storageKey": null -}, -v25 = [ +v23 = [ { "alias": null, "args": null, @@ -232,6 +218,20 @@ v25 = [ "storageKey": null } ], +v24 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v25 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "lotID", + "storageKey": null +}, v26 = [ (v14/*: any*/), (v15/*: any*/) @@ -649,6 +649,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v22/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v23/*: any*/), + "storageKey": null + }, + (v15/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -669,7 +692,7 @@ return { }, { "alias": null, - "args": (v22/*: any*/), + "args": (v24/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -717,7 +740,7 @@ return { }, { "alias": null, - "args": (v22/*: any*/), + "args": (v24/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -738,7 +761,7 @@ return { }, { "alias": null, - "args": (v22/*: any*/), + "args": (v24/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -758,7 +781,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v23/*: any*/), + (v22/*: any*/), { "alias": null, "args": null, @@ -813,7 +836,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v24/*: any*/), + (v25/*: any*/), { "alias": null, "args": null, @@ -821,7 +844,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v23/*: any*/), + (v22/*: any*/), { "alias": null, "args": null, @@ -861,7 +884,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v25/*: any*/), + "selections": (v23/*: any*/), "storageKey": null }, { @@ -871,7 +894,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v25/*: any*/), + "selections": (v23/*: any*/), "storageKey": null }, (v15/*: any*/) @@ -886,7 +909,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v24/*: any*/), + (v25/*: any*/), (v15/*: any*/) ], "storageKey": null @@ -1300,12 +1323,12 @@ return { ] }, "params": { - "cacheID": "cc19d284077262ed1ff2cae1b9d18ad2", + "cacheID": "2268b7642029acc7c6217acfcc382ebe", "id": null, "metadata": {}, "name": "NewsIndexArticlesQuery", "operationKind": "query", - "text": "query NewsIndexArticlesQuery(\n $after: String\n) {\n viewer {\n ...NewsIndexArticles_viewer_WGPvJ\n }\n}\n\nfragment ArticleBody_article on Article {\n ...ArticleHero_article\n ...ArticleByline_article\n ...ArticleSectionAd_article\n ...ArticleNewsSource_article\n hero {\n __typename\n }\n seriesArticle {\n thumbnailTitle\n href\n id\n }\n vertical\n byline\n internalID\n slug\n layout\n leadParagraph\n title\n href\n publishedAt\n sections {\n __typename\n ...ArticleSection_section\n }\n postscript\n relatedArticles {\n internalID\n title\n href\n byline\n thumbnailImage {\n cropped(width: 100, height: 100) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleByline_article on Article {\n byline\n authors {\n internalID\n name\n initials\n bio\n image {\n cropped(width: 60, height: 60) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleHero_article on Article {\n title\n href\n vertical\n byline\n hero {\n __typename\n ... on ArticleFeatureSection {\n layout\n embed\n media\n image {\n url\n split: resized(width: 900) {\n src\n srcSet\n }\n text: cropped(width: 1600, height: 900) {\n src\n srcSet\n }\n }\n }\n }\n}\n\nfragment ArticleNewsSource_article on Article {\n newsSource {\n title\n url\n }\n}\n\nfragment ArticleSectionAd_article on Article {\n layout\n sections {\n __typename\n }\n}\n\nfragment ArticleSectionEmbed_section on ArticleSectionEmbed {\n url\n height\n mobileHeight\n _layout: layout\n}\n\nfragment ArticleSectionImageCollectionCaption_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ...Metadata_artwork\n ... on ArticleImageSection {\n caption\n }\n ... on ArticleUnpublishedArtwork {\n title\n date\n artist {\n name\n }\n partner {\n name\n }\n }\n}\n\nfragment ArticleSectionImageCollectionImage_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n ... on ArticleImageSection {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on Artwork {\n id\n formattedMetadata\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on ArticleUnpublishedArtwork {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n}\n\nfragment ArticleSectionImageCollection_section on ArticleSectionImageCollection {\n layout\n figures {\n __typename\n ...ArticleSectionImageCollectionImage_figure\n ...ArticleSectionImageCollectionCaption_figure\n ... on Node {\n __isNode: __typename\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on ArticleUnpublishedArtwork {\n id\n }\n }\n}\n\nfragment ArticleSectionImageSet_section on ArticleSectionImageSet {\n setLayout: layout\n title\n counts {\n figures\n }\n cover {\n __typename\n ... on ArticleImageSection {\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Artwork {\n formattedMetadata\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArticleSectionSocialEmbed_section on ArticleSectionSocialEmbed {\n url\n embed\n}\n\nfragment ArticleSectionText_section on ArticleSectionText {\n body\n}\n\nfragment ArticleSectionVideo_section on ArticleSectionVideo {\n embed(autoPlay: true)\n fallbackEmbed: embed(autoPlay: false)\n image {\n cropped(width: 910, height: 512) {\n src\n srcSet\n }\n }\n}\n\nfragment ArticleSection_section on ArticleSections {\n __isArticleSections: __typename\n __typename\n ...ArticleSectionText_section\n ...ArticleSectionImageCollection_section\n ...ArticleSectionImageSet_section\n ...ArticleSectionVideo_section\n ...ArticleSectionSocialEmbed_section\n ...ArticleSectionEmbed_section\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment NewsIndexArticles_viewer_WGPvJ on Viewer {\n articlesConnection(first: 15, after: $after, layout: NEWS, sort: PUBLISHED_AT_DESC) {\n edges {\n node {\n internalID\n ...ArticleBody_article\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query NewsIndexArticlesQuery(\n $after: String\n) {\n viewer {\n ...NewsIndexArticles_viewer_WGPvJ\n }\n}\n\nfragment ArticleBody_article on Article {\n ...ArticleHero_article\n ...ArticleByline_article\n ...ArticleSectionAd_article\n ...ArticleNewsSource_article\n hero {\n __typename\n }\n seriesArticle {\n thumbnailTitle\n href\n id\n }\n vertical\n byline\n internalID\n slug\n layout\n leadParagraph\n title\n href\n publishedAt\n sections {\n __typename\n ...ArticleSection_section\n }\n postscript\n relatedArticles {\n internalID\n title\n href\n byline\n thumbnailImage {\n cropped(width: 100, height: 100) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleByline_article on Article {\n byline\n authors {\n internalID\n name\n initials\n bio\n image {\n cropped(width: 60, height: 60) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleHero_article on Article {\n title\n href\n vertical\n byline\n hero {\n __typename\n ... on ArticleFeatureSection {\n layout\n embed\n media\n image {\n url\n split: resized(width: 900) {\n src\n srcSet\n }\n text: cropped(width: 1600, height: 900) {\n src\n srcSet\n }\n }\n }\n }\n}\n\nfragment ArticleNewsSource_article on Article {\n newsSource {\n title\n url\n }\n}\n\nfragment ArticleSectionAd_article on Article {\n layout\n sections {\n __typename\n }\n}\n\nfragment ArticleSectionEmbed_section on ArticleSectionEmbed {\n url\n height\n mobileHeight\n _layout: layout\n}\n\nfragment ArticleSectionImageCollectionCaption_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ...Metadata_artwork\n ... on ArticleImageSection {\n caption\n }\n ... on ArticleUnpublishedArtwork {\n title\n date\n artist {\n name\n }\n partner {\n name\n }\n }\n}\n\nfragment ArticleSectionImageCollectionImage_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n ... on ArticleImageSection {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on Artwork {\n id\n formattedMetadata\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on ArticleUnpublishedArtwork {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n}\n\nfragment ArticleSectionImageCollection_section on ArticleSectionImageCollection {\n layout\n figures {\n __typename\n ...ArticleSectionImageCollectionImage_figure\n ...ArticleSectionImageCollectionCaption_figure\n ... on Node {\n __isNode: __typename\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on ArticleUnpublishedArtwork {\n id\n }\n }\n}\n\nfragment ArticleSectionImageSet_section on ArticleSectionImageSet {\n setLayout: layout\n title\n counts {\n figures\n }\n cover {\n __typename\n ... on ArticleImageSection {\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Artwork {\n formattedMetadata\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArticleSectionSocialEmbed_section on ArticleSectionSocialEmbed {\n url\n embed\n}\n\nfragment ArticleSectionText_section on ArticleSectionText {\n body\n}\n\nfragment ArticleSectionVideo_section on ArticleSectionVideo {\n embed(autoPlay: true)\n fallbackEmbed: embed(autoPlay: false)\n image {\n cropped(width: 910, height: 512) {\n src\n srcSet\n }\n }\n}\n\nfragment ArticleSection_section on ArticleSections {\n __isArticleSections: __typename\n __typename\n ...ArticleSectionText_section\n ...ArticleSectionImageCollection_section\n ...ArticleSectionImageSet_section\n ...ArticleSectionVideo_section\n ...ArticleSectionSocialEmbed_section\n ...ArticleSectionEmbed_section\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment NewsIndexArticles_viewer_WGPvJ on Viewer {\n articlesConnection(first: 15, after: $after, layout: NEWS, sort: PUBLISHED_AT_DESC) {\n edges {\n node {\n internalID\n ...ArticleBody_article\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/NotificationQuery.graphql.ts b/src/__generated__/NotificationQuery.graphql.ts index 25dd73bf989..8c1b93e7dc5 100644 --- a/src/__generated__/NotificationQuery.graphql.ts +++ b/src/__generated__/NotificationQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<88027eae302d76dd3ff59f1e63a62a0a>> * @lightSyntaxTransform * @nogrep */ @@ -102,6 +102,32 @@ v9 = { "storageKey": null }, v10 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v11 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v12 = { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v11/*: any*/), + "storageKey": null +}, +v13 = { "alias": null, "args": null, "concreteType": "CollectorSignals", @@ -161,34 +187,48 @@ v10 = { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v10/*: any*/), + (v12/*: any*/), + (v2/*: any*/) + ], + "storageKey": null } ], "storageKey": null }, -v11 = { +v14 = { "alias": "sale_message", "args": null, "kind": "ScalarField", "name": "saleMessage", "storageKey": null }, -v12 = { +v15 = { "alias": "cultural_maker", "args": null, "kind": "ScalarField", "name": "culturalMaker", "storageKey": null }, -v13 = [ +v16 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v14 = { +v17 = { "alias": null, - "args": (v13/*: any*/), + "args": (v16/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -216,7 +256,7 @@ v14 = { ], "storageKey": "artist(shallow:true)" }, -v15 = { +v18 = { "alias": null, "args": null, "concreteType": "ArtworkPriceInsights", @@ -234,16 +274,16 @@ v15 = { ], "storageKey": null }, -v16 = { +v19 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v17 = { +v20 = { "alias": null, - "args": (v13/*: any*/), + "args": (v16/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -251,32 +291,25 @@ v17 = { "selections": [ (v2/*: any*/), (v7/*: any*/), - (v16/*: any*/) + (v19/*: any*/) ], "storageKey": "artists(shallow:true)" }, -v18 = { +v21 = { "alias": "collecting_institution", "args": null, "kind": "ScalarField", "name": "collectingInstitution", "storageKey": null }, -v19 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v20 = { +v22 = { "alias": null, "args": null, "kind": "ScalarField", "name": "startAt", "storageKey": null }, -v21 = { +v23 = { "alias": null, "args": null, "concreteType": "Sale", @@ -284,7 +317,7 @@ v21 = { "name": "sale", "plural": false, "selections": [ - (v19/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -299,7 +332,7 @@ v21 = { "name": "extendedBiddingIntervalMinutes", "storageKey": null }, - (v20/*: any*/), + (v22/*: any*/), { "alias": "is_auction", "args": null, @@ -325,23 +358,14 @@ v21 = { ], "storageKey": null }, -v22 = { +v24 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v23 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], -v24 = { +v25 = { "alias": "sale_artwork", "args": null, "concreteType": "SaleArtwork", @@ -349,7 +373,7 @@ v24 = { "name": "saleArtwork", "plural": false, "selections": [ - (v22/*: any*/), + (v24/*: any*/), { "alias": null, "args": null, @@ -357,7 +381,7 @@ v24 = { "name": "lotLabel", "storageKey": null }, - (v19/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -397,7 +421,7 @@ v24 = { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v23/*: any*/), + "selections": (v11/*: any*/), "storageKey": null }, { @@ -407,14 +431,14 @@ v24 = { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v23/*: any*/), + "selections": (v11/*: any*/), "storageKey": null }, (v2/*: any*/) ], "storageKey": null }, -v25 = { +v26 = { "alias": null, "args": null, "concreteType": "SaleArtwork", @@ -422,26 +446,26 @@ v25 = { "name": "saleArtwork", "plural": false, "selections": [ - (v22/*: any*/), + (v24/*: any*/), (v2/*: any*/) ], "storageKey": null }, -v26 = [ - (v16/*: any*/), +v27 = [ + (v19/*: any*/), (v2/*: any*/) ], -v27 = { +v28 = { "alias": null, "args": null, "concreteType": "AttributionClass", "kind": "LinkedField", "name": "attributionClass", "plural": false, - "selections": (v26/*: any*/), + "selections": (v27/*: any*/), "storageKey": null }, -v28 = { +v29 = { "alias": null, "args": null, "concreteType": "ArtworkMedium", @@ -456,20 +480,20 @@ v28 = { "kind": "LinkedField", "name": "filterGene", "plural": false, - "selections": (v26/*: any*/), + "selections": (v27/*: any*/), "storageKey": null } ], "storageKey": null }, -v29 = { +v30 = { "alias": null, "args": null, "kind": "ScalarField", "name": "artistNames", "storageKey": null }, -v30 = { +v31 = { "kind": "Literal", "name": "version", "value": [ @@ -477,21 +501,21 @@ v30 = { "large" ] }, -v31 = { +v32 = { "alias": null, "args": null, "kind": "ScalarField", "name": "width", "storageKey": null }, -v32 = { +v33 = { "alias": null, "args": null, "kind": "ScalarField", "name": "height", "storageKey": null }, -v33 = { +v34 = { "alias": null, "args": null, "concreteType": "Image", @@ -502,39 +526,39 @@ v33 = { { "alias": "src", "args": [ - (v30/*: any*/) + (v31/*: any*/) ], "kind": "ScalarField", "name": "url", "storageKey": "url(version:[\"larger\",\"large\"])" }, - (v31/*: any*/), - (v32/*: any*/) + (v32/*: any*/), + (v33/*: any*/) ], "storageKey": null }, -v34 = { +v35 = { "alias": null, "args": null, "kind": "ScalarField", "name": "slug", "storageKey": null }, -v35 = { +v36 = { "alias": null, "args": null, "kind": "ScalarField", "name": "src", "storageKey": null }, -v36 = { +v37 = { "alias": null, "args": null, "kind": "ScalarField", "name": "srcSet", "storageKey": null }, -v37 = { +v38 = { "alias": null, "args": null, "concreteType": "Profile", @@ -671,34 +695,34 @@ return { (v7/*: any*/), (v8/*: any*/), (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), + (v13/*: any*/), (v14/*: any*/), (v15/*: any*/), (v17/*: any*/), (v18/*: any*/), + (v20/*: any*/), + (v21/*: any*/), { "alias": null, - "args": (v13/*: any*/), + "args": (v16/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v16/*: any*/), + (v19/*: any*/), (v7/*: any*/), (v2/*: any*/) ], "storageKey": "partner(shallow:true)" }, - (v21/*: any*/), - (v24/*: any*/), + (v23/*: any*/), (v25/*: any*/), - (v27/*: any*/), + (v26/*: any*/), (v28/*: any*/), (v29/*: any*/), - (v33/*: any*/), + (v30/*: any*/), + (v34/*: any*/), (v2/*: any*/) ], "storageKey": null @@ -758,8 +782,8 @@ return { "name": "artists", "plural": true, "selections": [ - (v16/*: any*/), - (v34/*: any*/), + (v19/*: any*/), + (v35/*: any*/), (v2/*: any*/) ], "storageKey": null @@ -809,8 +833,8 @@ return { "name": "isFollowed", "storageKey": null }, - (v16/*: any*/), - (v34/*: any*/), + (v19/*: any*/), + (v35/*: any*/), (v2/*: any*/) ], "storageKey": null @@ -885,10 +909,10 @@ return { "name": "cropped", "plural": false, "selections": [ - (v35/*: any*/), (v36/*: any*/), - (v31/*: any*/), - (v32/*: any*/) + (v37/*: any*/), + (v32/*: any*/), + (v33/*: any*/) ], "storageKey": "cropped(height:607,width:910)" } @@ -923,8 +947,8 @@ return { "name": "node", "plural": false, "selections": [ - (v16/*: any*/), - (v34/*: any*/), + (v19/*: any*/), + (v35/*: any*/), (v3/*: any*/), (v7/*: any*/), (v2/*: any*/) @@ -953,7 +977,7 @@ return { "plural": false, "selections": [ (v3/*: any*/), - (v19/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -975,16 +999,7 @@ return { "name": "source", "storageKey": null }, - { - "alias": null, - "args": null, - "concreteType": "Money", - "kind": "LinkedField", - "name": "priceWithDiscount", - "plural": false, - "selections": (v23/*: any*/), - "storageKey": null - }, + (v12/*: any*/), (v2/*: any*/) ], "storageKey": null @@ -1005,8 +1020,8 @@ return { "plural": false, "selections": [ (v7/*: any*/), - (v16/*: any*/), - (v37/*: any*/), + (v19/*: any*/), + (v38/*: any*/), (v2/*: any*/) ], "storageKey": null @@ -1062,9 +1077,9 @@ return { "name": "exhibitionPeriod", "storageKey": null }, - (v20/*: any*/), + (v22/*: any*/), + (v10/*: any*/), (v19/*: any*/), - (v16/*: any*/), { "alias": null, "args": null, @@ -1089,7 +1104,7 @@ return { "name": "height", "value": 450 }, - (v30/*: any*/), + (v31/*: any*/), { "kind": "Literal", "name": "width", @@ -1101,15 +1116,15 @@ return { "name": "cropped", "plural": false, "selections": [ - (v35/*: any*/), - (v36/*: any*/) + (v36/*: any*/), + (v37/*: any*/) ], "storageKey": "cropped(height:450,version:[\"larger\",\"large\"],width:600)" } ], "storageKey": null }, - (v34/*: any*/), + (v35/*: any*/), (v2/*: any*/) ], "storageKey": null @@ -1135,9 +1150,9 @@ return { "name": "partner", "plural": false, "selections": [ - (v16/*: any*/), + (v19/*: any*/), (v7/*: any*/), - (v37/*: any*/), + (v38/*: any*/), (v2/*: any*/) ], "storageKey": null @@ -1201,8 +1216,8 @@ return { ], "storageKey": null }, - (v31/*: any*/), - (v32/*: any*/) + (v32/*: any*/), + (v33/*: any*/) ], "storageKey": null }, @@ -1269,10 +1284,10 @@ return { "plural": false, "selections": [ (v3/*: any*/), - (v34/*: any*/), + (v35/*: any*/), (v7/*: any*/), (v8/*: any*/), - (v29/*: any*/), + (v30/*: any*/), { "alias": null, "args": null, @@ -1280,10 +1295,10 @@ return { "name": "price", "storageKey": null }, - (v33/*: any*/), + (v34/*: any*/), { "alias": null, - "args": (v13/*: any*/), + "args": (v16/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -1326,24 +1341,24 @@ return { "storageKey": null }, (v2/*: any*/), - (v16/*: any*/), + (v19/*: any*/), (v7/*: any*/) ], "storageKey": "partner(shallow:true)" }, - (v10/*: any*/), + (v13/*: any*/), (v9/*: any*/), - (v11/*: any*/), - (v12/*: any*/), (v14/*: any*/), (v15/*: any*/), (v17/*: any*/), (v18/*: any*/), + (v20/*: any*/), (v21/*: any*/), - (v24/*: any*/), + (v23/*: any*/), (v25/*: any*/), - (v27/*: any*/), + (v26/*: any*/), (v28/*: any*/), + (v29/*: any*/), (v2/*: any*/) ], "storageKey": null @@ -1366,12 +1381,12 @@ return { ] }, "params": { - "cacheID": "d08159ab3726ebd3f066a9ba0099e411", + "cacheID": "0ffabd91e3c554aa02da3affca2f244b", "id": null, "metadata": {}, "name": "NotificationQuery", "operationKind": "query", - "text": "query NotificationQuery(\n $internalID: String!\n) {\n me {\n notification(id: $internalID) {\n ...AlertNotification_notification\n ...ArtworkPublishedNotification_notification\n ...ArticleFeaturedArtistNotification_notification\n ...PartnerOfferCreatedNotification_notification\n ...PartnerShowOpenedNotification_notification\n ...ViewingRoomPublishedNotification_notification\n id\n internalID\n notificationType\n targetHref\n }\n id\n }\n}\n\nfragment AlertNotification_notification on Notification {\n artworksConnection(first: 10) {\n ...NotificationArtworkList_artworksConnection\n totalCount\n }\n headline\n item {\n __typename\n ... on AlertNotificationItem {\n alert {\n internalID\n artists {\n name\n slug\n id\n }\n labels {\n displayValue\n }\n id\n }\n }\n }\n notificationType\n ...NotificationTypeLabel_notification\n}\n\nfragment ArticleFeaturedArtistNotification_notification on Notification {\n headline\n item {\n __typename\n ... on ArticleFeaturedArtistNotificationItem {\n article {\n href\n thumbnailTitle\n byline\n publishedAt(format: \"MMM D, YYYY\")\n thumbnailImage {\n cropped(width: 910, height: 607) {\n src\n srcSet\n width\n height\n }\n }\n id\n }\n artistsConnection(first: 10) {\n edges {\n node {\n name\n slug\n internalID\n href\n id\n }\n }\n }\n }\n }\n notificationType\n ...NotificationTypeLabel_notification\n}\n\nfragment ArtworkPublishedNotification_notification on Notification {\n artworksConnection(first: 10) {\n ...NotificationArtworkList_artworksConnection\n totalCount\n }\n headline\n item {\n __typename\n ... on ArtworkPublishedNotificationItem {\n artists {\n internalID\n isFollowed\n name\n slug\n id\n }\n }\n }\n notificationType\n ...NotificationTypeLabel_notification\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment NotificationArtworkList_artworksConnection on ArtworkConnection {\n edges {\n node {\n ...NotificationArtwork_artwork\n internalID\n id\n }\n }\n}\n\nfragment NotificationArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n artistNames\n href\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n }\n title\n}\n\nfragment NotificationPartnerShow_show on Show {\n location {\n city\n id\n }\n exhibitionPeriod\n startAt\n endAt\n name\n description\n href\n coverImage {\n cropped(width: 600, height: 450, version: [\"larger\", \"large\"]) {\n src\n srcSet\n }\n }\n slug\n}\n\nfragment NotificationTypeLabel_notification on Notification {\n notificationType\n publishedAt(format: \"RELATIVE\")\n}\n\nfragment NotificationViewingRoom_viewingRoom on ViewingRoom {\n title\n href\n introStatement\n image {\n imageURLs {\n normalized\n }\n width\n height\n }\n}\n\nfragment NotificationViewingRoomsList_viewingRoomsConnection on ViewingRoomsConnection {\n edges {\n node {\n ...NotificationViewingRoom_viewingRoom\n internalID\n }\n }\n}\n\nfragment PartnerOfferArtwork_artwork on Artwork {\n internalID\n slug\n href\n title\n artistNames\n price\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n }\n partner(shallow: true) {\n profile {\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n collectorSignals {\n primaryLabel\n }\n ...Metadata_artwork\n}\n\nfragment PartnerOfferCreatedNotification_notification on Notification {\n headline\n targetHref\n item {\n __typename\n ... on PartnerOfferCreatedNotificationItem {\n partnerOffer {\n internalID\n endAt\n isAvailable\n note\n source\n priceWithDiscount {\n display\n }\n id\n }\n }\n }\n offerArtworksConnection: artworksConnection(first: 1) {\n edges {\n node {\n ...PartnerOfferArtwork_artwork\n id\n }\n }\n }\n}\n\nfragment PartnerShowOpenedNotification_notification on Notification {\n headline\n item {\n __typename\n ... on ShowOpenedNotificationItem {\n partner {\n href\n name\n profile {\n internalID\n id\n }\n id\n }\n showsConnection {\n edges {\n node {\n internalID\n ...NotificationPartnerShow_show\n id\n }\n }\n }\n }\n }\n ...NotificationTypeLabel_notification\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ViewingRoomPublishedNotification_notification on Notification {\n headline\n item {\n __typename\n ... on ViewingRoomPublishedNotificationItem {\n partner {\n name\n href\n profile {\n internalID\n id\n }\n id\n }\n viewingRoomsConnection(first: 10) {\n ...NotificationViewingRoomsList_viewingRoomsConnection\n }\n }\n }\n notificationType\n ...NotificationTypeLabel_notification\n}\n" + "text": "query NotificationQuery(\n $internalID: String!\n) {\n me {\n notification(id: $internalID) {\n ...AlertNotification_notification\n ...ArtworkPublishedNotification_notification\n ...ArticleFeaturedArtistNotification_notification\n ...PartnerOfferCreatedNotification_notification\n ...PartnerShowOpenedNotification_notification\n ...ViewingRoomPublishedNotification_notification\n id\n internalID\n notificationType\n targetHref\n }\n id\n }\n}\n\nfragment AlertNotification_notification on Notification {\n artworksConnection(first: 10) {\n ...NotificationArtworkList_artworksConnection\n totalCount\n }\n headline\n item {\n __typename\n ... on AlertNotificationItem {\n alert {\n internalID\n artists {\n name\n slug\n id\n }\n labels {\n displayValue\n }\n id\n }\n }\n }\n notificationType\n ...NotificationTypeLabel_notification\n}\n\nfragment ArticleFeaturedArtistNotification_notification on Notification {\n headline\n item {\n __typename\n ... on ArticleFeaturedArtistNotificationItem {\n article {\n href\n thumbnailTitle\n byline\n publishedAt(format: \"MMM D, YYYY\")\n thumbnailImage {\n cropped(width: 910, height: 607) {\n src\n srcSet\n width\n height\n }\n }\n id\n }\n artistsConnection(first: 10) {\n edges {\n node {\n name\n slug\n internalID\n href\n id\n }\n }\n }\n }\n }\n notificationType\n ...NotificationTypeLabel_notification\n}\n\nfragment ArtworkPublishedNotification_notification on Notification {\n artworksConnection(first: 10) {\n ...NotificationArtworkList_artworksConnection\n totalCount\n }\n headline\n item {\n __typename\n ... on ArtworkPublishedNotificationItem {\n artists {\n internalID\n isFollowed\n name\n slug\n id\n }\n }\n }\n notificationType\n ...NotificationTypeLabel_notification\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment NotificationArtworkList_artworksConnection on ArtworkConnection {\n edges {\n node {\n ...NotificationArtwork_artwork\n internalID\n id\n }\n }\n}\n\nfragment NotificationArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n artistNames\n href\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n }\n title\n}\n\nfragment NotificationPartnerShow_show on Show {\n location {\n city\n id\n }\n exhibitionPeriod\n startAt\n endAt\n name\n description\n href\n coverImage {\n cropped(width: 600, height: 450, version: [\"larger\", \"large\"]) {\n src\n srcSet\n }\n }\n slug\n}\n\nfragment NotificationTypeLabel_notification on Notification {\n notificationType\n publishedAt(format: \"RELATIVE\")\n}\n\nfragment NotificationViewingRoom_viewingRoom on ViewingRoom {\n title\n href\n introStatement\n image {\n imageURLs {\n normalized\n }\n width\n height\n }\n}\n\nfragment NotificationViewingRoomsList_viewingRoomsConnection on ViewingRoomsConnection {\n edges {\n node {\n ...NotificationViewingRoom_viewingRoom\n internalID\n }\n }\n}\n\nfragment PartnerOfferArtwork_artwork on Artwork {\n internalID\n slug\n href\n title\n artistNames\n price\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n }\n partner(shallow: true) {\n profile {\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n collectorSignals {\n primaryLabel\n }\n ...Metadata_artwork\n}\n\nfragment PartnerOfferCreatedNotification_notification on Notification {\n headline\n targetHref\n item {\n __typename\n ... on PartnerOfferCreatedNotificationItem {\n partnerOffer {\n internalID\n endAt\n isAvailable\n note\n source\n priceWithDiscount {\n display\n }\n id\n }\n }\n }\n offerArtworksConnection: artworksConnection(first: 1) {\n edges {\n node {\n ...PartnerOfferArtwork_artwork\n id\n }\n }\n }\n}\n\nfragment PartnerShowOpenedNotification_notification on Notification {\n headline\n item {\n __typename\n ... on ShowOpenedNotificationItem {\n partner {\n href\n name\n profile {\n internalID\n id\n }\n id\n }\n showsConnection {\n edges {\n node {\n internalID\n ...NotificationPartnerShow_show\n id\n }\n }\n }\n }\n }\n ...NotificationTypeLabel_notification\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ViewingRoomPublishedNotification_notification on Notification {\n headline\n item {\n __typename\n ... on ViewingRoomPublishedNotificationItem {\n partner {\n name\n href\n profile {\n internalID\n id\n }\n id\n }\n viewingRoomsConnection(first: 10) {\n ...NotificationViewingRoomsList_viewingRoomsConnection\n }\n }\n }\n notificationType\n ...NotificationTypeLabel_notification\n}\n" } }; })(); diff --git a/src/__generated__/OnboardingMarketingCollectionQuery.graphql.ts b/src/__generated__/OnboardingMarketingCollectionQuery.graphql.ts index 95283b5e04e..1d435203994 100644 --- a/src/__generated__/OnboardingMarketingCollectionQuery.graphql.ts +++ b/src/__generated__/OnboardingMarketingCollectionQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<20c662913a1dfb7f9f94d895a71711c2>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -59,53 +59,53 @@ v4 = { "name": "href", "storageKey": null }, -v5 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v6 = { +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v6 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v8 = { +v8 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v9 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v9 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v10 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v11 = [ - (v7/*: any*/), - (v6/*: any*/) + (v9/*: any*/), + (v7/*: any*/) ]; return { "fragment": { @@ -335,6 +335,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v5/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v6/*: any*/), + "storageKey": null + }, + (v7/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -355,7 +378,7 @@ return { }, { "alias": null, - "args": (v5/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -379,7 +402,7 @@ return { ], "storageKey": null }, - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -403,15 +426,15 @@ return { }, { "alias": null, - "args": (v5/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v6/*: any*/), + (v7/*: any*/), (v4/*: any*/), - (v7/*: any*/) + (v9/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -424,15 +447,15 @@ return { }, { "alias": null, - "args": (v5/*: any*/), + "args": (v8/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v7/*: any*/), + (v9/*: any*/), (v4/*: any*/), - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -444,7 +467,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v8/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -480,7 +503,7 @@ return { "name": "isClosed", "storageKey": null }, - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -499,7 +522,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -507,7 +530,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v8/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -547,7 +570,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v6/*: any*/), "storageKey": null }, { @@ -557,10 +580,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v6/*: any*/), "storageKey": null }, - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": null }, @@ -572,8 +595,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), - (v6/*: any*/) + (v10/*: any*/), + (v7/*: any*/) ], "storageKey": null }, @@ -615,30 +638,30 @@ return { "name": "isUnlisted", "storageKey": null }, - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": "artworksConnection(first:50,page:1,sort:\"-decayed_merch\")" }, - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": null } ] }, "params": { - "cacheID": "1410f61c530a87c79a2aacaa0093edc5", + "cacheID": "d1596c6b5eb5e3156882cfba5a08b4e4", "id": null, "metadata": {}, "name": "OnboardingMarketingCollectionQuery", "operationKind": "query", - "text": "query OnboardingMarketingCollectionQuery(\n $slug: String!\n) {\n marketingCollection(slug: $slug) {\n ...OnboardingMarketingCollection_marketingCollection\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment OnboardingMarketingCollection_marketingCollection on MarketingCollection {\n title\n artworks: artworksConnection(first: 50, page: 1, sort: \"-decayed_merch\") {\n edges {\n node {\n internalID\n ...GridItem_artwork\n id\n }\n }\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query OnboardingMarketingCollectionQuery(\n $slug: String!\n) {\n marketingCollection(slug: $slug) {\n ...OnboardingMarketingCollection_marketingCollection\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment OnboardingMarketingCollection_marketingCollection on MarketingCollection {\n title\n artworks: artworksConnection(first: 50, page: 1, sort: \"-decayed_merch\") {\n edges {\n node {\n internalID\n ...GridItem_artwork\n id\n }\n }\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/OnboardingMarketingCollection_Test_Query.graphql.ts b/src/__generated__/OnboardingMarketingCollection_Test_Query.graphql.ts index 5241d36fdd0..7a3051eab48 100644 --- a/src/__generated__/OnboardingMarketingCollection_Test_Query.graphql.ts +++ b/src/__generated__/OnboardingMarketingCollection_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<9b8d8fb694431781c3bd4bcf45bb10e7>> + * @generated SignedSource<<6e46b6ce9b63141f3fcd9b54cc8f306a>> * @lightSyntaxTransform * @nogrep */ @@ -50,53 +50,53 @@ v3 = { "name": "href", "storageKey": null }, -v4 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v5 = { +v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v5 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v7 = { +v7 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v8 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v8 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v9 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v10 = [ - (v6/*: any*/), - (v5/*: any*/) + (v8/*: any*/), + (v6/*: any*/) ], v11 = { "enumValues": null, @@ -362,6 +362,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v4/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v5/*: any*/), + "storageKey": null + }, + (v6/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -382,7 +405,7 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -406,7 +429,7 @@ return { ], "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -430,15 +453,15 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v5/*: any*/), + (v6/*: any*/), (v3/*: any*/), - (v6/*: any*/) + (v8/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -451,15 +474,15 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v6/*: any*/), + (v8/*: any*/), (v3/*: any*/), - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -471,7 +494,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v7/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -507,7 +530,7 @@ return { "name": "isClosed", "storageKey": null }, - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -526,7 +549,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -534,7 +557,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v7/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -574,7 +597,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v9/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, { @@ -584,10 +607,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v9/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null }, @@ -599,8 +622,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), - (v5/*: any*/) + (v9/*: any*/), + (v6/*: any*/) ], "storageKey": null }, @@ -642,25 +665,25 @@ return { "name": "isUnlisted", "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "artworksConnection(first:50,page:1,sort:\"-decayed_merch\")" }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "marketingCollection(slug:\"example\")" } ] }, "params": { - "cacheID": "1fa6d7cef06403dad755dbdc2e22ea3a", + "cacheID": "69bf66275502684171ed6e0d4c6265e4", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -743,6 +766,21 @@ return { "marketingCollection.artworks.edges.node.collectorSignals.auction.lotClosesAt": (v13/*: any*/), "marketingCollection.artworks.edges.node.collectorSignals.auction.onlineBiddingExtended": (v14/*: any*/), "marketingCollection.artworks.edges.node.collectorSignals.auction.registrationEndsAt": (v13/*: any*/), + "marketingCollection.artworks.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "marketingCollection.artworks.edges.node.collectorSignals.partnerOffer.endAt": (v13/*: any*/), + "marketingCollection.artworks.edges.node.collectorSignals.partnerOffer.id": (v11/*: any*/), + "marketingCollection.artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "marketingCollection.artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v13/*: any*/), "marketingCollection.artworks.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -886,7 +924,7 @@ return { }, "name": "OnboardingMarketingCollection_Test_Query", "operationKind": "query", - "text": "query OnboardingMarketingCollection_Test_Query {\n marketingCollection(slug: \"example\") {\n ...OnboardingMarketingCollection_marketingCollection\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment OnboardingMarketingCollection_marketingCollection on MarketingCollection {\n title\n artworks: artworksConnection(first: 50, page: 1, sort: \"-decayed_merch\") {\n edges {\n node {\n internalID\n ...GridItem_artwork\n id\n }\n }\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query OnboardingMarketingCollection_Test_Query {\n marketingCollection(slug: \"example\") {\n ...OnboardingMarketingCollection_marketingCollection\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment OnboardingMarketingCollection_marketingCollection on MarketingCollection {\n title\n artworks: artworksConnection(first: 50, page: 1, sort: \"-decayed_merch\") {\n edges {\n node {\n internalID\n ...GridItem_artwork\n id\n }\n }\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/OtherWorksQuery.graphql.ts b/src/__generated__/OtherWorksQuery.graphql.ts index 34a0ba52570..4b4b80acd39 100644 --- a/src/__generated__/OtherWorksQuery.graphql.ts +++ b/src/__generated__/OtherWorksQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<9d0fd266fc5fbbd2e7d0392a33175853>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -88,52 +88,52 @@ v8 = { "large" ] }, -v9 = [ +v9 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v10 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v11 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v10 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v12 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v13 = { +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v14 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v15 = [ - (v10/*: any*/), + (v12/*: any*/), (v5/*: any*/) ], v16 = { @@ -458,6 +458,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v9/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v10/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -478,7 +501,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -526,7 +549,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -534,7 +557,7 @@ return { "selections": [ (v5/*: any*/), (v6/*: any*/), - (v10/*: any*/) + (v12/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -547,13 +570,13 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v10/*: any*/), + (v12/*: any*/), (v6/*: any*/), (v5/*: any*/) ], @@ -567,7 +590,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v11/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -629,7 +652,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v12/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -637,8 +660,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v11/*: any*/), - (v13/*: any*/), + (v9/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -671,7 +694,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v14/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, { @@ -681,7 +704,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v14/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, (v5/*: any*/) @@ -696,10 +719,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v12/*: any*/), + (v13/*: any*/), (v5/*: any*/), - (v11/*: any*/), - (v13/*: any*/) + (v9/*: any*/), + (v14/*: any*/) ], "storageKey": null }, @@ -786,12 +809,12 @@ return { ] }, "params": { - "cacheID": "5ad35e47c5dfb11f5d7b74684ade5949", + "cacheID": "79516540aadb769753d67bdb9443c20a", "id": null, "metadata": {}, "name": "OtherWorksQuery", "operationKind": "query", - "text": "query OtherWorksQuery(\n $slug: String!\n) {\n artwork(id: $slug) {\n ...OtherWorks_artwork\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment OtherWorks_artwork on Artwork {\n contextGrids(includeRelatedArtworks: false) {\n __typename\n title\n ctaTitle\n ctaHref\n artworksConnection(first: 8) {\n ...ArtworkGrid_artworks\n edges {\n node {\n slug\n id\n }\n }\n }\n }\n slug\n context {\n __typename\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query OtherWorksQuery(\n $slug: String!\n) {\n artwork(id: $slug) {\n ...OtherWorks_artwork\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment OtherWorks_artwork on Artwork {\n contextGrids(includeRelatedArtworks: false) {\n __typename\n title\n ctaTitle\n ctaHref\n artworksConnection(first: 8) {\n ...ArtworkGrid_artworks\n edges {\n node {\n slug\n id\n }\n }\n }\n }\n slug\n context {\n __typename\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/PartnerArtistDetailsListQuery.graphql.ts b/src/__generated__/PartnerArtistDetailsListQuery.graphql.ts index f03c259c8d9..06c1f31152e 100644 --- a/src/__generated__/PartnerArtistDetailsListQuery.graphql.ts +++ b/src/__generated__/PartnerArtistDetailsListQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<86b2b234d789d4ff882410d4698c33d4>> * @lightSyntaxTransform * @nogrep */ @@ -107,45 +107,45 @@ v11 = { "name": "href", "storageKey": null }, -v12 = [ +v12 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v13 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v14 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v13 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v15 = { +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v16 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v17 = [ - (v13/*: any*/), + (v15/*: any*/), (v8/*: any*/) ], v18 = { @@ -427,6 +427,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v12/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v13/*: any*/), + "storageKey": null + }, + (v8/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -447,7 +470,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -495,7 +518,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -503,7 +526,7 @@ return { "selections": [ (v8/*: any*/), (v11/*: any*/), - (v13/*: any*/) + (v15/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -516,13 +539,13 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v13/*: any*/), + (v15/*: any*/), (v11/*: any*/), (v8/*: any*/) ], @@ -536,7 +559,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v14/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -591,7 +614,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -599,7 +622,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v14/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -639,7 +662,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, { @@ -649,7 +672,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, (v8/*: any*/) @@ -664,7 +687,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), (v8/*: any*/) ], "storageKey": null @@ -787,7 +810,7 @@ return { "selections": [ (v10/*: any*/), (v6/*: any*/), - (v13/*: any*/), + (v15/*: any*/), (v11/*: any*/), { "alias": null, @@ -828,12 +851,12 @@ return { ] }, "params": { - "cacheID": "8e43a6cbbd0ac3185c1e69090b1b0fdc", + "cacheID": "4996d12ee2cfba0d3c72e709dcd44001", "id": null, "metadata": {}, "name": "PartnerArtistDetailsListQuery", "operationKind": "query", - "text": "query PartnerArtistDetailsListQuery(\n $partnerId: String!\n $first: Int!\n $after: String\n) {\n partner(id: $partnerId) @principalField {\n ...PartnerArtistDetailsList_partner_2HEEH6\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PartnerArtistArtworksRail_partnerArtist on ArtistPartnerEdge {\n artworksConnection(first: 12) {\n totalCount\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PartnerArtistDetailsList_partner_2HEEH6 on Partner {\n slug\n artists: artistsConnection(first: $first, after: $after, hasPublishedArtworks: true, displayOnPartnerProfile: true) {\n edges {\n id\n representedBy\n counts {\n artworks\n }\n ...PartnerArtistDetails_partnerArtist\n cursor\n node {\n __typename\n id\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PartnerArtistDetails_partnerArtist on ArtistPartnerEdge {\n biographyBlurb(format: HTML) {\n text\n credit\n }\n ...PartnerArtistArtworksRail_partnerArtist\n node {\n internalID\n slug\n name\n href\n formattedNationalityAndBirthday\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query PartnerArtistDetailsListQuery(\n $partnerId: String!\n $first: Int!\n $after: String\n) {\n partner(id: $partnerId) @principalField {\n ...PartnerArtistDetailsList_partner_2HEEH6\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PartnerArtistArtworksRail_partnerArtist on ArtistPartnerEdge {\n artworksConnection(first: 12) {\n totalCount\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PartnerArtistDetailsList_partner_2HEEH6 on Partner {\n slug\n artists: artistsConnection(first: $first, after: $after, hasPublishedArtworks: true, displayOnPartnerProfile: true) {\n edges {\n id\n representedBy\n counts {\n artworks\n }\n ...PartnerArtistDetails_partnerArtist\n cursor\n node {\n __typename\n id\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PartnerArtistDetails_partnerArtist on ArtistPartnerEdge {\n biographyBlurb(format: HTML) {\n text\n credit\n }\n ...PartnerArtistArtworksRail_partnerArtist\n node {\n internalID\n slug\n name\n href\n formattedNationalityAndBirthday\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/PartnerArtistDetailsListRendererQuery.graphql.ts b/src/__generated__/PartnerArtistDetailsListRendererQuery.graphql.ts index 530d463e5e9..58e2924a21c 100644 --- a/src/__generated__/PartnerArtistDetailsListRendererQuery.graphql.ts +++ b/src/__generated__/PartnerArtistDetailsListRendererQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<3530cf67f2401311a3cad8c71941aa39>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -90,45 +90,45 @@ v7 = { "name": "href", "storageKey": null }, -v8 = [ +v8 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v9 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v10 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v9 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v11 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v12 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v13 = [ - (v9/*: any*/), + (v11/*: any*/), (v4/*: any*/) ], v14 = { @@ -399,6 +399,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v8/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v9/*: any*/), + "storageKey": null + }, + (v4/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -419,7 +442,7 @@ return { }, { "alias": null, - "args": (v8/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -467,7 +490,7 @@ return { }, { "alias": null, - "args": (v8/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -475,7 +498,7 @@ return { "selections": [ (v4/*: any*/), (v7/*: any*/), - (v9/*: any*/) + (v11/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -488,13 +511,13 @@ return { }, { "alias": null, - "args": (v8/*: any*/), + "args": (v10/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v9/*: any*/), + (v11/*: any*/), (v7/*: any*/), (v4/*: any*/) ], @@ -508,7 +531,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v10/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -563,7 +586,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -571,7 +594,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v10/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -611,7 +634,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v9/*: any*/), "storageKey": null }, { @@ -621,7 +644,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v9/*: any*/), "storageKey": null }, (v4/*: any*/) @@ -636,7 +659,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), (v4/*: any*/) ], "storageKey": null @@ -759,7 +782,7 @@ return { "selections": [ (v6/*: any*/), (v2/*: any*/), - (v9/*: any*/), + (v11/*: any*/), (v7/*: any*/), { "alias": null, @@ -800,12 +823,12 @@ return { ] }, "params": { - "cacheID": "0d576e24c3944171984f21be79f02095", + "cacheID": "c7b8736fe5eb53a1e170eaea4abbc8fe", "id": null, "metadata": {}, "name": "PartnerArtistDetailsListRendererQuery", "operationKind": "query", - "text": "query PartnerArtistDetailsListRendererQuery(\n $partnerId: String!\n) {\n partner(id: $partnerId) @principalField {\n ...PartnerArtistDetailsList_partner\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PartnerArtistArtworksRail_partnerArtist on ArtistPartnerEdge {\n artworksConnection(first: 12) {\n totalCount\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PartnerArtistDetailsList_partner on Partner {\n slug\n artists: artistsConnection(first: 10, hasPublishedArtworks: true, displayOnPartnerProfile: true) {\n edges {\n id\n representedBy\n counts {\n artworks\n }\n ...PartnerArtistDetails_partnerArtist\n cursor\n node {\n __typename\n id\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PartnerArtistDetails_partnerArtist on ArtistPartnerEdge {\n biographyBlurb(format: HTML) {\n text\n credit\n }\n ...PartnerArtistArtworksRail_partnerArtist\n node {\n internalID\n slug\n name\n href\n formattedNationalityAndBirthday\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query PartnerArtistDetailsListRendererQuery(\n $partnerId: String!\n) {\n partner(id: $partnerId) @principalField {\n ...PartnerArtistDetailsList_partner\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PartnerArtistArtworksRail_partnerArtist on ArtistPartnerEdge {\n artworksConnection(first: 12) {\n totalCount\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PartnerArtistDetailsList_partner on Partner {\n slug\n artists: artistsConnection(first: 10, hasPublishedArtworks: true, displayOnPartnerProfile: true) {\n edges {\n id\n representedBy\n counts {\n artworks\n }\n ...PartnerArtistDetails_partnerArtist\n cursor\n node {\n __typename\n id\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PartnerArtistDetails_partnerArtist on ArtistPartnerEdge {\n biographyBlurb(format: HTML) {\n text\n credit\n }\n ...PartnerArtistArtworksRail_partnerArtist\n node {\n internalID\n slug\n name\n href\n formattedNationalityAndBirthday\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/PartnerArtistDetailsQuery.graphql.ts b/src/__generated__/PartnerArtistDetailsQuery.graphql.ts index e6487a791f0..d5c5a12bae1 100644 --- a/src/__generated__/PartnerArtistDetailsQuery.graphql.ts +++ b/src/__generated__/PartnerArtistDetailsQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<26beab71619b781c05fa1ee43b636bd7>> * @lightSyntaxTransform * @nogrep */ @@ -85,53 +85,53 @@ v6 = { "name": "href", "storageKey": null }, -v7 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v8 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v8 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v9 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v10 = { +v10 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v11 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v11 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v12 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v13 = [ - (v9/*: any*/), - (v8/*: any*/) + (v11/*: any*/), + (v9/*: any*/) ]; return { "fragment": { @@ -363,6 +363,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v7/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v8/*: any*/), + "storageKey": null + }, + (v9/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -383,7 +406,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -407,7 +430,7 @@ return { ], "storageKey": null }, - (v8/*: any*/) + (v9/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -431,15 +454,15 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v8/*: any*/), + (v9/*: any*/), (v6/*: any*/), - (v9/*: any*/) + (v11/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -452,15 +475,15 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v10/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v9/*: any*/), + (v11/*: any*/), (v6/*: any*/), - (v8/*: any*/) + (v9/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -472,7 +495,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v10/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -508,7 +531,7 @@ return { "name": "isClosed", "storageKey": null }, - (v8/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -527,7 +550,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -535,7 +558,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v10/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -575,7 +598,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, { @@ -585,10 +608,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, - (v8/*: any*/) + (v9/*: any*/) ], "storageKey": null }, @@ -600,8 +623,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), - (v8/*: any*/) + (v12/*: any*/), + (v9/*: any*/) ], "storageKey": null }, @@ -691,7 +714,7 @@ return { ], "storageKey": null }, - (v8/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -765,7 +788,7 @@ return { "name": "slug", "storageKey": null }, - (v9/*: any*/), + (v11/*: any*/), (v6/*: any*/), { "alias": null, @@ -774,30 +797,30 @@ return { "name": "formattedNationalityAndBirthday", "storageKey": null }, - (v8/*: any*/) + (v9/*: any*/) ], "storageKey": null }, - (v8/*: any*/) + (v9/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v8/*: any*/) + (v9/*: any*/) ], "storageKey": null } ] }, "params": { - "cacheID": "f283eb5229136353ef8be8aa1bcb2ca1", + "cacheID": "dfaffd8f1f6745db8b69176fa54f1030", "id": null, "metadata": {}, "name": "PartnerArtistDetailsQuery", "operationKind": "query", - "text": "query PartnerArtistDetailsQuery(\n $partnerId: String!\n $artistId: String!\n) {\n partner(id: $partnerId) {\n artistsConnection(artistIDs: [$artistId], first: 1) {\n edges {\n ...PartnerArtistDetails_partnerArtist\n id\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PartnerArtistArtworksRail_partnerArtist on ArtistPartnerEdge {\n artworksConnection(first: 12) {\n totalCount\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PartnerArtistDetails_partnerArtist on ArtistPartnerEdge {\n biographyBlurb(format: HTML) {\n text\n credit\n }\n ...PartnerArtistArtworksRail_partnerArtist\n node {\n internalID\n slug\n name\n href\n formattedNationalityAndBirthday\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query PartnerArtistDetailsQuery(\n $partnerId: String!\n $artistId: String!\n) {\n partner(id: $partnerId) {\n artistsConnection(artistIDs: [$artistId], first: 1) {\n edges {\n ...PartnerArtistDetails_partnerArtist\n id\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PartnerArtistArtworksRail_partnerArtist on ArtistPartnerEdge {\n artworksConnection(first: 12) {\n totalCount\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PartnerArtistDetails_partnerArtist on ArtistPartnerEdge {\n biographyBlurb(format: HTML) {\n text\n credit\n }\n ...PartnerArtistArtworksRail_partnerArtist\n node {\n internalID\n slug\n name\n href\n formattedNationalityAndBirthday\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/PartnerOfferCreatedNotification_test_Query.graphql.ts b/src/__generated__/PartnerOfferCreatedNotification_test_Query.graphql.ts index 9b0a6d92330..519d662e0e3 100644 --- a/src/__generated__/PartnerOfferCreatedNotification_test_Query.graphql.ts +++ b/src/__generated__/PartnerOfferCreatedNotification_test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<02cb33655849ef69425ad971188e38d0>> + * @generated SignedSource<<1577fa18ff74ded1d3f2ccfc6950cec1>> * @lightSyntaxTransform * @nogrep */ @@ -57,87 +57,103 @@ v3 = [ } ], v4 = { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v3/*: any*/), + "storageKey": null +}, +v5 = { "alias": null, "args": null, "kind": "ScalarField", "name": "id", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "href", "storageKey": null }, -v6 = [ +v7 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v7 = { +v8 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v8 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v9 = [ - (v7/*: any*/), - (v4/*: any*/) +v10 = [ + (v8/*: any*/), + (v5/*: any*/) ], -v10 = { +v11 = { "enumValues": null, "nullable": false, "plural": false, "type": "String" }, -v11 = { +v12 = { "enumValues": null, "nullable": false, "plural": false, "type": "ID" }, -v12 = { +v13 = { "enumValues": null, "nullable": true, "plural": false, "type": "String" }, -v13 = { +v14 = { "enumValues": null, "nullable": true, "plural": false, "type": "Boolean" }, -v14 = { +v15 = { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" +}, +v16 = { "enumValues": null, "nullable": false, "plural": false, "type": "Boolean" }, -v15 = { +v17 = { "enumValues": null, "nullable": true, "plural": false, "type": "Image" }, -v16 = { +v18 = { "enumValues": null, "nullable": true, "plural": false, "type": "Int" }, -v17 = { +v19 = { "enumValues": null, "nullable": true, "plural": false, @@ -285,17 +301,8 @@ return { "name": "source", "storageKey": null }, - { - "alias": null, - "args": null, - "concreteType": "Money", - "kind": "LinkedField", - "name": "priceWithDiscount", - "plural": false, - "selections": (v3/*: any*/), - "storageKey": null - }, - (v4/*: any*/) + (v4/*: any*/), + (v5/*: any*/) ], "storageKey": null } @@ -338,7 +345,7 @@ return { "name": "slug", "storageKey": null }, - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -403,7 +410,7 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v7/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -441,13 +448,13 @@ return { ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null }, - (v4/*: any*/), - (v7/*: any*/), - (v5/*: any*/) + (v5/*: any*/), + (v8/*: any*/), + (v6/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -511,6 +518,20 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v2/*: any*/), + (v4/*: any*/), + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -538,7 +559,7 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -562,7 +583,7 @@ return { ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -586,15 +607,15 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v4/*: any*/), (v5/*: any*/), - (v7/*: any*/) + (v6/*: any*/), + (v8/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -649,7 +670,7 @@ return { "name": "isClosed", "storageKey": null }, - (v4/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -668,7 +689,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -729,7 +750,7 @@ return { "selections": (v3/*: any*/), "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null }, @@ -741,8 +762,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), - (v4/*: any*/) + (v9/*: any*/), + (v5/*: any*/) ], "storageKey": null }, @@ -753,7 +774,7 @@ return { "kind": "LinkedField", "name": "attributionClass", "plural": false, - "selections": (v9/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, { @@ -771,13 +792,13 @@ return { "kind": "LinkedField", "name": "filterGene", "plural": false, - "selections": (v9/*: any*/), + "selections": (v10/*: any*/), "storageKey": null } ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null } @@ -787,7 +808,7 @@ return { ], "storageKey": "artworksConnection(first:1)" }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null } @@ -800,7 +821,7 @@ return { ] }, "params": { - "cacheID": "21301d9e66c68e62946fb0548fe68d81", + "cacheID": "83f6b6036e847578f6f50c115bb0202b", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -822,33 +843,28 @@ return { "plural": false, "type": "Notification" }, - "notificationsConnection.edges.node.headline": (v10/*: any*/), - "notificationsConnection.edges.node.id": (v11/*: any*/), + "notificationsConnection.edges.node.headline": (v11/*: any*/), + "notificationsConnection.edges.node.id": (v12/*: any*/), "notificationsConnection.edges.node.item": { "enumValues": null, "nullable": true, "plural": false, "type": "NotificationItem" }, - "notificationsConnection.edges.node.item.__typename": (v10/*: any*/), + "notificationsConnection.edges.node.item.__typename": (v11/*: any*/), "notificationsConnection.edges.node.item.partnerOffer": { "enumValues": null, "nullable": true, "plural": false, "type": "PartnerOffer" }, - "notificationsConnection.edges.node.item.partnerOffer.endAt": (v12/*: any*/), - "notificationsConnection.edges.node.item.partnerOffer.id": (v11/*: any*/), - "notificationsConnection.edges.node.item.partnerOffer.internalID": (v11/*: any*/), - "notificationsConnection.edges.node.item.partnerOffer.isAvailable": (v13/*: any*/), - "notificationsConnection.edges.node.item.partnerOffer.note": (v12/*: any*/), - "notificationsConnection.edges.node.item.partnerOffer.priceWithDiscount": { - "enumValues": null, - "nullable": true, - "plural": false, - "type": "Money" - }, - "notificationsConnection.edges.node.item.partnerOffer.priceWithDiscount.display": (v12/*: any*/), + "notificationsConnection.edges.node.item.partnerOffer.endAt": (v13/*: any*/), + "notificationsConnection.edges.node.item.partnerOffer.id": (v12/*: any*/), + "notificationsConnection.edges.node.item.partnerOffer.internalID": (v12/*: any*/), + "notificationsConnection.edges.node.item.partnerOffer.isAvailable": (v14/*: any*/), + "notificationsConnection.edges.node.item.partnerOffer.note": (v13/*: any*/), + "notificationsConnection.edges.node.item.partnerOffer.priceWithDiscount": (v15/*: any*/), + "notificationsConnection.edges.node.item.partnerOffer.priceWithDiscount.display": (v13/*: any*/), "notificationsConnection.edges.node.item.partnerOffer.source": { "enumValues": [ "ABANDONED_ORDER", @@ -882,33 +898,33 @@ return { "plural": false, "type": "Artist" }, - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.artist.id": (v11/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.artist.id": (v12/*: any*/), "notificationsConnection.edges.node.offerArtworksConnection.edges.node.artist.targetSupply": { "enumValues": null, "nullable": false, "plural": false, "type": "ArtistTargetSupply" }, - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.artist.targetSupply.isP1": (v13/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.artistNames": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.artist.targetSupply.isP1": (v14/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.artistNames": (v13/*: any*/), "notificationsConnection.edges.node.offerArtworksConnection.edges.node.artists": { "enumValues": null, "nullable": true, "plural": true, "type": "Artist" }, - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.artists.href": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.artists.id": (v11/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.artists.name": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.artists.href": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.artists.id": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.artists.name": (v13/*: any*/), "notificationsConnection.edges.node.offerArtworksConnection.edges.node.attributionClass": { "enumValues": null, "nullable": true, "plural": false, "type": "AttributionClass" }, - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.attributionClass.id": (v11/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.attributionClass.name": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collecting_institution": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.attributionClass.id": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.attributionClass.name": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collecting_institution": (v13/*: any*/), "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collectorSignals": { "enumValues": null, "nullable": true, @@ -927,10 +943,20 @@ return { "plural": false, "type": "Int" }, - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collectorSignals.auction.liveBiddingStarted": (v14/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collectorSignals.auction.lotClosesAt": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v14/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collectorSignals.auction.liveBiddingStarted": (v16/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collectorSignals.auction.lotClosesAt": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v16/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collectorSignals.partnerOffer.endAt": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collectorSignals.partnerOffer.id": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": (v15/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v13/*: any*/), "notificationsConnection.edges.node.offerArtworksConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -941,15 +967,15 @@ return { "plural": false, "type": "LabelSignalEnum" }, - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.cultural_maker": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.date": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.href": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.id": (v11/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.image": (v15/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.image.height": (v16/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.image.src": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.image.width": (v16/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.internalID": (v11/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.cultural_maker": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.date": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.href": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.id": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.image": (v17/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.image.height": (v18/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.image.src": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.image.width": (v18/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.internalID": (v12/*: any*/), "notificationsConnection.edges.node.offerArtworksConnection.edges.node.marketPriceInsights": { "enumValues": null, "nullable": true, @@ -974,45 +1000,45 @@ return { "plural": false, "type": "Gene" }, - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.mediumType.filterGene.id": (v11/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.mediumType.filterGene.name": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.mediumType.filterGene.id": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.mediumType.filterGene.name": (v13/*: any*/), "notificationsConnection.edges.node.offerArtworksConnection.edges.node.partner": { "enumValues": null, "nullable": true, "plural": false, "type": "Partner" }, - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.partner.href": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.partner.id": (v11/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.partner.name": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.partner.href": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.partner.id": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.partner.name": (v13/*: any*/), "notificationsConnection.edges.node.offerArtworksConnection.edges.node.partner.profile": { "enumValues": null, "nullable": true, "plural": false, "type": "Profile" }, - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.partner.profile.icon": (v15/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.partner.profile.icon.url": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.partner.profile.id": (v11/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.price": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.partner.profile.icon": (v17/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.partner.profile.icon.url": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.partner.profile.id": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.price": (v13/*: any*/), "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale": { "enumValues": null, "nullable": true, "plural": false, "type": "Sale" }, - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale.cascadingEndTimeIntervalMinutes": (v16/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale.endAt": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale.extendedBiddingIntervalMinutes": (v16/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale.id": (v11/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale.isOpen": (v13/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale.is_auction": (v13/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale.is_closed": (v13/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale.startAt": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.saleArtwork": (v17/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.saleArtwork.id": (v11/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.saleArtwork.lotID": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork": (v17/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale.cascadingEndTimeIntervalMinutes": (v18/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale.endAt": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale.extendedBiddingIntervalMinutes": (v18/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale.id": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale.isOpen": (v14/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale.is_auction": (v14/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale.is_closed": (v14/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale.startAt": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.saleArtwork": (v19/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.saleArtwork.id": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.saleArtwork.lotID": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork": (v19/*: any*/), "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.counts": { "enumValues": null, "nullable": true, @@ -1025,35 +1051,35 @@ return { "plural": false, "type": "FormattedNumber" }, - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.endAt": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.extendedBiddingEndAt": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.formattedEndDateTime": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.endAt": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.extendedBiddingEndAt": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.formattedEndDateTime": (v13/*: any*/), "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.highest_bid": { "enumValues": null, "nullable": true, "plural": false, "type": "SaleArtworkHighestBid" }, - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.highest_bid.display": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.id": (v11/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.lotID": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.lotLabel": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.highest_bid.display": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.id": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.lotID": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.lotLabel": (v13/*: any*/), "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.opening_bid": { "enumValues": null, "nullable": true, "plural": false, "type": "SaleArtworkOpeningBid" }, - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.opening_bid.display": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_message": (v12/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.slug": (v11/*: any*/), - "notificationsConnection.edges.node.offerArtworksConnection.edges.node.title": (v12/*: any*/), - "notificationsConnection.edges.node.targetHref": (v10/*: any*/) + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_artwork.opening_bid.display": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.sale_message": (v13/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.slug": (v12/*: any*/), + "notificationsConnection.edges.node.offerArtworksConnection.edges.node.title": (v13/*: any*/), + "notificationsConnection.edges.node.targetHref": (v11/*: any*/) } }, "name": "PartnerOfferCreatedNotification_test_Query", "operationKind": "query", - "text": "query PartnerOfferCreatedNotification_test_Query {\n notificationsConnection(first: 1) {\n edges {\n node {\n ...PartnerOfferCreatedNotification_notification\n id\n }\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PartnerOfferArtwork_artwork on Artwork {\n internalID\n slug\n href\n title\n artistNames\n price\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n }\n partner(shallow: true) {\n profile {\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n collectorSignals {\n primaryLabel\n }\n ...Metadata_artwork\n}\n\nfragment PartnerOfferCreatedNotification_notification on Notification {\n headline\n targetHref\n item {\n __typename\n ... on PartnerOfferCreatedNotificationItem {\n partnerOffer {\n internalID\n endAt\n isAvailable\n note\n source\n priceWithDiscount {\n display\n }\n id\n }\n }\n }\n offerArtworksConnection: artworksConnection(first: 1) {\n edges {\n node {\n ...PartnerOfferArtwork_artwork\n id\n }\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query PartnerOfferCreatedNotification_test_Query {\n notificationsConnection(first: 1) {\n edges {\n node {\n ...PartnerOfferCreatedNotification_notification\n id\n }\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PartnerOfferArtwork_artwork on Artwork {\n internalID\n slug\n href\n title\n artistNames\n price\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n }\n partner(shallow: true) {\n profile {\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n collectorSignals {\n primaryLabel\n }\n ...Metadata_artwork\n}\n\nfragment PartnerOfferCreatedNotification_notification on Notification {\n headline\n targetHref\n item {\n __typename\n ... on PartnerOfferCreatedNotificationItem {\n partnerOffer {\n internalID\n endAt\n isAvailable\n note\n source\n priceWithDiscount {\n display\n }\n id\n }\n }\n }\n offerArtworksConnection: artworksConnection(first: 1) {\n edges {\n node {\n ...PartnerOfferArtwork_artwork\n id\n }\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/PrimaryLabelLineQuery.graphql.ts b/src/__generated__/PrimaryLabelLineQuery.graphql.ts new file mode 100644 index 00000000000..2f40a64fe74 --- /dev/null +++ b/src/__generated__/PrimaryLabelLineQuery.graphql.ts @@ -0,0 +1,163 @@ +/** + * @generated SignedSource<> + * @lightSyntaxTransform + * @nogrep + */ + +/* tslint:disable */ +/* eslint-disable */ +// @ts-nocheck + +import { ConcreteRequest, Query } from 'relay-runtime'; +import { FragmentRefs } from "relay-runtime"; +export type PrimaryLabelLineQuery$variables = { + id: string; +}; +export type PrimaryLabelLineQuery$data = { + readonly artwork: { + readonly " $fragmentSpreads": FragmentRefs<"PrimaryLabelLine_artwork">; + } | null | undefined; +}; +export type PrimaryLabelLineQuery = { + response: PrimaryLabelLineQuery$data; + variables: PrimaryLabelLineQuery$variables; +}; + +const node: ConcreteRequest = (function(){ +var v0 = [ + { + "defaultValue": null, + "kind": "LocalArgument", + "name": "id" + } +], +v1 = [ + { + "kind": "Variable", + "name": "id", + "variableName": "id" + } +], +v2 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "id", + "storageKey": null +}; +return { + "fragment": { + "argumentDefinitions": (v0/*: any*/), + "kind": "Fragment", + "metadata": null, + "name": "PrimaryLabelLineQuery", + "selections": [ + { + "alias": null, + "args": (v1/*: any*/), + "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", + "plural": false, + "selections": [ + { + "args": null, + "kind": "FragmentSpread", + "name": "PrimaryLabelLine_artwork" + } + ], + "storageKey": null + } + ], + "type": "Query", + "abstractKey": null + }, + "kind": "Request", + "operation": { + "argumentDefinitions": (v0/*: any*/), + "kind": "Operation", + "name": "PrimaryLabelLineQuery", + "selections": [ + { + "alias": null, + "args": (v1/*: any*/), + "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", + "plural": false, + "selections": [ + { + "alias": null, + "args": null, + "concreteType": "CollectorSignals", + "kind": "LinkedField", + "name": "collectorSignals", + "plural": false, + "selections": [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "primaryLabel", + "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } + ], + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null + } + ], + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null + } + ] + }, + "params": { + "cacheID": "9482ce43f89cf7a5343d9c1491db122d", + "id": null, + "metadata": {}, + "name": "PrimaryLabelLineQuery", + "operationKind": "query", + "text": "query PrimaryLabelLineQuery(\n $id: String!\n) {\n artwork(id: $id) {\n ...PrimaryLabelLine_artwork\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" + } +}; +})(); + +(node as any).hash = "05a7ad415ba37c52d978d686eb288093"; + +export default node; diff --git a/src/__generated__/PrimaryLabelLine_artwork.graphql.ts b/src/__generated__/PrimaryLabelLine_artwork.graphql.ts index 518b14e49ae..eb56ff08d52 100644 --- a/src/__generated__/PrimaryLabelLine_artwork.graphql.ts +++ b/src/__generated__/PrimaryLabelLine_artwork.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<41810ef827c7e6c4b81762375467c27a>> + * @generated SignedSource<<0f59d923e037d431771e1ff412685606>> * @lightSyntaxTransform * @nogrep */ @@ -13,6 +13,12 @@ export type LabelSignalEnum = "CURATORS_PICK" | "INCREASED_INTEREST" | "PARTNER_ import { FragmentRefs } from "relay-runtime"; export type PrimaryLabelLine_artwork$data = { readonly collectorSignals: { + readonly partnerOffer: { + readonly endAt: string | null | undefined; + readonly priceWithDiscount: { + readonly display: string | null | undefined; + } | null | undefined; + } | null | undefined; readonly primaryLabel: LabelSignalEnum | null | undefined; } | null | undefined; readonly " $fragmentType": "PrimaryLabelLine_artwork"; @@ -42,6 +48,42 @@ const node: ReaderFragment = { "kind": "ScalarField", "name": "primaryLabel", "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } + ], + "storageKey": null + } + ], + "storageKey": null } ], "storageKey": null @@ -51,6 +93,6 @@ const node: ReaderFragment = { "abstractKey": null }; -(node as any).hash = "c5cd8670ae27924ffc259da488c784da"; +(node as any).hash = "5db8b43463a55bc26a5350bc16e429b4"; export default node; diff --git a/src/__generated__/RecentlyViewedQuery.graphql.ts b/src/__generated__/RecentlyViewedQuery.graphql.ts index d653743d4bf..4e8aa8c0bc9 100644 --- a/src/__generated__/RecentlyViewedQuery.graphql.ts +++ b/src/__generated__/RecentlyViewedQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<7aa62d8f3c8393d4a42c8f2d8871bc4f>> + * @generated SignedSource<<31c435f97288d5447b39e54dc30ef66d>> * @lightSyntaxTransform * @nogrep */ @@ -36,45 +36,45 @@ v1 = { "name": "href", "storageKey": null }, -v2 = [ +v2 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v3 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v4 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v3 = { +v5 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v3/*: any*/), + (v5/*: any*/), (v0/*: any*/) ]; return { @@ -238,6 +238,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v2/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v3/*: any*/), + "storageKey": null + }, + (v0/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -258,7 +281,7 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -306,7 +329,7 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -314,7 +337,7 @@ return { "selections": [ (v0/*: any*/), (v1/*: any*/), - (v3/*: any*/) + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -327,13 +350,13 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v3/*: any*/), + (v5/*: any*/), (v1/*: any*/), (v0/*: any*/) ], @@ -347,7 +370,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v4/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -402,7 +425,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -410,7 +433,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v4/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -450,7 +473,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, { @@ -460,7 +483,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, (v0/*: any*/) @@ -475,7 +498,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), (v0/*: any*/) ], "storageKey": null @@ -582,12 +605,12 @@ return { ] }, "params": { - "cacheID": "13623416ceb63701e08ee4b833f4baed", + "cacheID": "9e049438927b3e0452cf93b4317ef847", "id": null, "metadata": {}, "name": "RecentlyViewedQuery", "operationKind": "query", - "text": "query RecentlyViewedQuery {\n me {\n ...RecentlyViewed_me\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment RecentlyViewed_me on Me {\n recentlyViewedArtworksConnection(first: 20) {\n edges {\n node {\n id\n ...ShelfArtwork_artwork\n }\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query RecentlyViewedQuery {\n me {\n ...RecentlyViewed_me\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment RecentlyViewed_me on Me {\n recentlyViewedArtworksConnection(first: 20) {\n edges {\n node {\n id\n ...ShelfArtwork_artwork\n }\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/RelatedWorksQuery.graphql.ts b/src/__generated__/RelatedWorksQuery.graphql.ts index 751929736e1..5f0c3fa7bf7 100644 --- a/src/__generated__/RelatedWorksQuery.graphql.ts +++ b/src/__generated__/RelatedWorksQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<9b1022ed288cf76b655b44a91be833cd>> + * @generated SignedSource<<94dc4553adb2a04099e25c05a0c672ae>> * @lightSyntaxTransform * @nogrep */ @@ -88,43 +88,43 @@ v8 = { "large" ] }, -v9 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v10 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v11 = { +v10 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v11 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v12 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v13 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v14 = [ (v4/*: any*/), (v5/*: any*/) @@ -436,6 +436,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v9/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v10/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -456,7 +479,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -504,7 +527,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -525,7 +548,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -545,7 +568,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v10/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -607,7 +630,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -615,8 +638,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v10/*: any*/), - (v12/*: any*/), + (v9/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -649,7 +672,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v13/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, { @@ -659,7 +682,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v13/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, (v5/*: any*/) @@ -674,10 +697,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), (v5/*: any*/), - (v10/*: any*/), - (v12/*: any*/) + (v9/*: any*/), + (v13/*: any*/) ], "storageKey": null }, @@ -758,12 +781,12 @@ return { ] }, "params": { - "cacheID": "6dc3360a80687579641500a2d8595ba5", + "cacheID": "dc71c6178ab3e10bec7575b0f31186ef", "id": null, "metadata": {}, "name": "RelatedWorksQuery", "operationKind": "query", - "text": "query RelatedWorksQuery(\n $slug: String!\n) {\n artwork(id: $slug) {\n ...RelatedWorks_artwork\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment RelatedWorks_artwork on Artwork {\n slug\n title\n layer(id: \"main\") {\n name\n artworksConnection(first: 8) {\n ...ArtworkGrid_artworks\n edges {\n node {\n slug\n id\n }\n }\n }\n id\n }\n}\n" + "text": "query RelatedWorksQuery(\n $slug: String!\n) {\n artwork(id: $slug) {\n ...RelatedWorks_artwork\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment RelatedWorks_artwork on Artwork {\n slug\n title\n layer(id: \"main\") {\n name\n artworksConnection(first: 8) {\n ...ArtworkGrid_artworks\n edges {\n node {\n slug\n id\n }\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/__generated__/RelatedWorks_Test_Query.graphql.ts b/src/__generated__/RelatedWorks_Test_Query.graphql.ts index 54ad3c7a735..44dcf972142 100644 --- a/src/__generated__/RelatedWorks_Test_Query.graphql.ts +++ b/src/__generated__/RelatedWorks_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<8d9f22cf06ea936e3a534528b360dff3>> * @lightSyntaxTransform * @nogrep */ @@ -88,43 +88,43 @@ v8 = { "large" ] }, -v9 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v10 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v11 = { +v10 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v11 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v12 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v13 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v14 = [ (v4/*: any*/), (v5/*: any*/) @@ -484,6 +484,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v9/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v10/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -504,7 +527,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -552,7 +575,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -573,7 +596,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -593,7 +616,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v10/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -655,7 +678,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -663,8 +686,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v10/*: any*/), - (v12/*: any*/), + (v9/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -697,7 +720,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v13/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, { @@ -707,7 +730,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v13/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, (v5/*: any*/) @@ -722,10 +745,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), (v5/*: any*/), - (v10/*: any*/), - (v12/*: any*/) + (v9/*: any*/), + (v13/*: any*/) ], "storageKey": null }, @@ -806,7 +829,7 @@ return { ] }, "params": { - "cacheID": "110dbadf4a5877f2e963fc84488190d2", + "cacheID": "f41fa5b708b6d94883a611f2d882628a", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -890,6 +913,21 @@ return { "artwork.layer.artworksConnection.edges.node.collectorSignals.auction.lotClosesAt": (v19/*: any*/), "artwork.layer.artworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v20/*: any*/), "artwork.layer.artworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v19/*: any*/), + "artwork.layer.artworksConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "artwork.layer.artworksConnection.edges.node.collectorSignals.partnerOffer.endAt": (v19/*: any*/), + "artwork.layer.artworksConnection.edges.node.collectorSignals.partnerOffer.id": (v16/*: any*/), + "artwork.layer.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "artwork.layer.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v19/*: any*/), "artwork.layer.artworksConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1044,7 +1082,7 @@ return { }, "name": "RelatedWorks_Test_Query", "operationKind": "query", - "text": "query RelatedWorks_Test_Query(\n $slug: String!\n) {\n artwork(id: $slug) {\n ...RelatedWorks_artwork\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment RelatedWorks_artwork on Artwork {\n slug\n title\n layer(id: \"main\") {\n name\n artworksConnection(first: 8) {\n ...ArtworkGrid_artworks\n edges {\n node {\n slug\n id\n }\n }\n }\n id\n }\n}\n" + "text": "query RelatedWorks_Test_Query(\n $slug: String!\n) {\n artwork(id: $slug) {\n ...RelatedWorks_artwork\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment RelatedWorks_artwork on Artwork {\n slug\n title\n layer(id: \"main\") {\n name\n artworksConnection(first: 8) {\n ...ArtworkGrid_artworks\n edges {\n node {\n slug\n id\n }\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/__generated__/SaleArtworksFilterQuery.graphql.ts b/src/__generated__/SaleArtworksFilterQuery.graphql.ts index 91693cfcda9..8502fb8b733 100644 --- a/src/__generated__/SaleArtworksFilterQuery.graphql.ts +++ b/src/__generated__/SaleArtworksFilterQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<0fa560b87184d44af1b09bfc99cd37fd>> * @lightSyntaxTransform * @nogrep */ @@ -149,52 +149,52 @@ v10 = { "large" ] }, -v11 = [ +v11 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v12 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v13 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v12 = { +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v14 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v15 = { +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v16 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v17 = [ - (v12/*: any*/), + (v14/*: any*/), (v3/*: any*/) ]; return { @@ -595,6 +595,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v11/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v12/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -615,7 +638,7 @@ return { }, { "alias": null, - "args": (v11/*: any*/), + "args": (v13/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -663,7 +686,7 @@ return { }, { "alias": null, - "args": (v11/*: any*/), + "args": (v13/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -671,7 +694,7 @@ return { "selections": [ (v3/*: any*/), (v8/*: any*/), - (v12/*: any*/) + (v14/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -684,13 +707,13 @@ return { }, { "alias": null, - "args": (v11/*: any*/), + "args": (v13/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v12/*: any*/), + (v14/*: any*/), (v8/*: any*/), (v3/*: any*/) ], @@ -704,7 +727,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v13/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -766,7 +789,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v14/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -774,8 +797,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v13/*: any*/), - (v15/*: any*/), + (v11/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -808,7 +831,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v12/*: any*/), "storageKey": null }, { @@ -818,7 +841,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v12/*: any*/), "storageKey": null }, (v3/*: any*/) @@ -833,10 +856,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v14/*: any*/), + (v15/*: any*/), (v3/*: any*/), - (v13/*: any*/), - (v15/*: any*/) + (v11/*: any*/), + (v16/*: any*/) ], "storageKey": null }, @@ -960,7 +983,7 @@ return { "name": "counts", "plural": true, "selections": [ - (v12/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -991,12 +1014,12 @@ return { ] }, "params": { - "cacheID": "3fbc9b3d2800c6a8391958ef0b46e1ee", + "cacheID": "9356247135373a8c5061312bffa536f6", "id": null, "metadata": {}, "name": "SaleArtworksFilterQuery", "operationKind": "query", - "text": "query SaleArtworksFilterQuery(\n $input: FilterArtworksInput\n) {\n viewer {\n ...SaleArtworksFilter_viewer_2VV6jB\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment SaleArtworksFilter_viewer_2VV6jB on Viewer {\n filtered_artworks: artworksConnection(input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n sidebarAggregations: artworksConnection(input: $input, first: 1) {\n counts {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n}\n" + "text": "query SaleArtworksFilterQuery(\n $input: FilterArtworksInput\n) {\n viewer {\n ...SaleArtworksFilter_viewer_2VV6jB\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment SaleArtworksFilter_viewer_2VV6jB on Viewer {\n filtered_artworks: artworksConnection(input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n sidebarAggregations: artworksConnection(input: $input, first: 1) {\n counts {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/__generated__/SaleArtworks_Test_Query.graphql.ts b/src/__generated__/SaleArtworks_Test_Query.graphql.ts index 73334ac60aa..db91183ac63 100644 --- a/src/__generated__/SaleArtworks_Test_Query.graphql.ts +++ b/src/__generated__/SaleArtworks_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<5dfe23e04f1e68f785c692efd1f72fef>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -79,52 +79,52 @@ v7 = { "large" ] }, -v8 = [ +v8 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v9 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v10 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v9 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v11 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v12 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v13 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v14 = [ - (v9/*: any*/), + (v11/*: any*/), (v0/*: any*/) ], v15 = { @@ -597,6 +597,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v8/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v9/*: any*/), + "storageKey": null + }, + (v0/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -617,7 +640,7 @@ return { }, { "alias": null, - "args": (v8/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -665,7 +688,7 @@ return { }, { "alias": null, - "args": (v8/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -673,7 +696,7 @@ return { "selections": [ (v0/*: any*/), (v5/*: any*/), - (v9/*: any*/) + (v11/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -686,13 +709,13 @@ return { }, { "alias": null, - "args": (v8/*: any*/), + "args": (v10/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v9/*: any*/), + (v11/*: any*/), (v5/*: any*/), (v0/*: any*/) ], @@ -706,7 +729,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v10/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -768,7 +791,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -776,8 +799,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v10/*: any*/), - (v12/*: any*/), + (v8/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -810,7 +833,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v13/*: any*/), + "selections": (v9/*: any*/), "storageKey": null }, { @@ -820,7 +843,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v13/*: any*/), + "selections": (v9/*: any*/), "storageKey": null }, (v0/*: any*/) @@ -835,10 +858,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), (v0/*: any*/), - (v10/*: any*/), - (v12/*: any*/) + (v8/*: any*/), + (v13/*: any*/) ], "storageKey": null }, @@ -961,7 +984,7 @@ return { "name": "counts", "plural": true, "selections": [ - (v9/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -992,7 +1015,7 @@ return { ] }, "params": { - "cacheID": "8c7268435a7b064fe789075bd4447044", + "cacheID": "d967c326d47849747f899cb2649ba088", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1071,6 +1094,21 @@ return { "viewer.filtered_artworks.edges.node.collectorSignals.auction.lotClosesAt": (v21/*: any*/), "viewer.filtered_artworks.edges.node.collectorSignals.auction.onlineBiddingExtended": (v23/*: any*/), "viewer.filtered_artworks.edges.node.collectorSignals.auction.registrationEndsAt": (v21/*: any*/), + "viewer.filtered_artworks.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "viewer.filtered_artworks.edges.node.collectorSignals.partnerOffer.endAt": (v21/*: any*/), + "viewer.filtered_artworks.edges.node.collectorSignals.partnerOffer.id": (v19/*: any*/), + "viewer.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "viewer.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v21/*: any*/), "viewer.filtered_artworks.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1297,7 +1335,7 @@ return { }, "name": "SaleArtworks_Test_Query", "operationKind": "query", - "text": "query SaleArtworks_Test_Query {\n viewer {\n ...SaleArtworksFilter_viewer\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment SaleArtworksFilter_viewer on Viewer {\n filtered_artworks: artworksConnection {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n sidebarAggregations: artworksConnection(first: 1) {\n counts {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n}\n" + "text": "query SaleArtworks_Test_Query {\n viewer {\n ...SaleArtworksFilter_viewer\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment SaleArtworksFilter_viewer on Viewer {\n filtered_artworks: artworksConnection {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n sidebarAggregations: artworksConnection(first: 1) {\n counts {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/__generated__/SavedSearchAlertsArtworksQuery.graphql.ts b/src/__generated__/SavedSearchAlertsArtworksQuery.graphql.ts index d0dbcf39333..8cad8f7b343 100644 --- a/src/__generated__/SavedSearchAlertsArtworksQuery.graphql.ts +++ b/src/__generated__/SavedSearchAlertsArtworksQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<54e85fbe9da21c89bb5f8bad23fd95e0>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -245,52 +245,52 @@ v25 = { "large" ] }, -v26 = [ +v26 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v27 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v28 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v27 = { +v29 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v28 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v29 = { +v30 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v30 = { +v31 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v31 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v32 = [ - (v27/*: any*/), + (v29/*: any*/), (v24/*: any*/) ]; return { @@ -607,6 +607,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v26/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v27/*: any*/), + "storageKey": null + }, + (v24/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -627,7 +650,7 @@ return { }, { "alias": null, - "args": (v26/*: any*/), + "args": (v28/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -675,7 +698,7 @@ return { }, { "alias": null, - "args": (v26/*: any*/), + "args": (v28/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -683,7 +706,7 @@ return { "selections": [ (v24/*: any*/), (v4/*: any*/), - (v27/*: any*/) + (v29/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -696,13 +719,13 @@ return { }, { "alias": null, - "args": (v26/*: any*/), + "args": (v28/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v27/*: any*/), + (v29/*: any*/), (v4/*: any*/), (v24/*: any*/) ], @@ -716,7 +739,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v28/*: any*/), + (v26/*: any*/), { "alias": null, "args": null, @@ -778,7 +801,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v29/*: any*/), + (v30/*: any*/), { "alias": null, "args": null, @@ -786,8 +809,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v28/*: any*/), - (v30/*: any*/), + (v26/*: any*/), + (v31/*: any*/), { "alias": null, "args": null, @@ -820,7 +843,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v31/*: any*/), + "selections": (v27/*: any*/), "storageKey": null }, { @@ -830,7 +853,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v31/*: any*/), + "selections": (v27/*: any*/), "storageKey": null }, (v24/*: any*/) @@ -845,10 +868,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v29/*: any*/), + (v30/*: any*/), (v24/*: any*/), - (v28/*: any*/), - (v30/*: any*/) + (v26/*: any*/), + (v31/*: any*/) ], "storageKey": null }, @@ -950,12 +973,12 @@ return { ] }, "params": { - "cacheID": "b972abf703781c22cdb3ae592ebda4c5", + "cacheID": "9b487f089dad33552690be9265b46ffa", "id": null, "metadata": {}, "name": "SavedSearchAlertsArtworksQuery", "operationKind": "query", - "text": "query SavedSearchAlertsArtworksQuery(\n $id: String!\n) {\n me {\n alert(id: $id) {\n artworksConnection(first: 10) {\n counts {\n total\n }\n ...ArtworkGrid_artworks\n id\n }\n href\n internalID\n acquireable\n additionalGeneIDs\n artistIDs\n artistSeriesIDs\n atAuction\n attributionClass\n colors\n dimensionRange\n sizes\n width\n height\n inquireableOnly\n locationCities\n majorPeriods\n materialsTerms\n offerable\n partnerIDs\n priceRange\n id\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query SavedSearchAlertsArtworksQuery(\n $id: String!\n) {\n me {\n alert(id: $id) {\n artworksConnection(first: 10) {\n counts {\n total\n }\n ...ArtworkGrid_artworks\n id\n }\n href\n internalID\n acquireable\n additionalGeneIDs\n artistIDs\n artistSeriesIDs\n atAuction\n attributionClass\n colors\n dimensionRange\n sizes\n width\n height\n inquireableOnly\n locationCities\n majorPeriods\n materialsTerms\n offerable\n partnerIDs\n priceRange\n id\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/SavesArtworksGridQuery.graphql.ts b/src/__generated__/SavesArtworksGridQuery.graphql.ts index 8ba0e676741..a64a563968e 100644 --- a/src/__generated__/SavesArtworksGridQuery.graphql.ts +++ b/src/__generated__/SavesArtworksGridQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<390e8a82be1b60e02290b4082f4c1456>> + * @generated SignedSource<<5300f4a0977a799a4432a336428b78d4>> * @lightSyntaxTransform * @nogrep */ @@ -185,45 +185,45 @@ v15 = { "name": "href", "storageKey": null }, -v16 = [ +v16 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v17 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v18 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v17 = { +v19 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v18 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v19 = { +v20 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v20 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v21 = [ - (v17/*: any*/), + (v19/*: any*/), (v11/*: any*/) ]; return { @@ -586,6 +586,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v16/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v17/*: any*/), + "storageKey": null + }, + (v11/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -606,7 +629,7 @@ return { }, { "alias": null, - "args": (v16/*: any*/), + "args": (v18/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -654,7 +677,7 @@ return { }, { "alias": null, - "args": (v16/*: any*/), + "args": (v18/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -662,7 +685,7 @@ return { "selections": [ (v11/*: any*/), (v15/*: any*/), - (v17/*: any*/) + (v19/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -675,13 +698,13 @@ return { }, { "alias": null, - "args": (v16/*: any*/), + "args": (v18/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v17/*: any*/), + (v19/*: any*/), (v15/*: any*/), (v11/*: any*/) ], @@ -695,7 +718,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v18/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -750,7 +773,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v19/*: any*/), + (v20/*: any*/), { "alias": null, "args": null, @@ -758,7 +781,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v18/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -798,7 +821,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v20/*: any*/), + "selections": (v17/*: any*/), "storageKey": null }, { @@ -808,7 +831,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v20/*: any*/), + "selections": (v17/*: any*/), "storageKey": null }, (v11/*: any*/) @@ -823,7 +846,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v19/*: any*/), + (v20/*: any*/), (v11/*: any*/) ], "storageKey": null @@ -887,12 +910,12 @@ return { ] }, "params": { - "cacheID": "97767708329b21fae365b7b709c4afee", + "cacheID": "1dd2e3c659bb1f16ac74aa317c4ee284", "id": null, "metadata": {}, "name": "SavesArtworksGridQuery", "operationKind": "query", - "text": "query SavesArtworksGridQuery(\n $id: String!\n $page: Int\n $sort: CollectionArtworkSorts\n $size: Int\n $forSale: Boolean\n $priceMax: Int\n $priceMin: Int\n) {\n me {\n collection(id: $id) {\n internalID\n artworksConnection(first: $size, page: $page, sort: $sort, forSale: $forSale, priceMax: $priceMax, priceMin: $priceMin) {\n pageInfo {\n hasNextPage\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n ...GridItem_artwork\n id\n }\n }\n }\n id\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query SavesArtworksGridQuery(\n $id: String!\n $page: Int\n $sort: CollectionArtworkSorts\n $size: Int\n $forSale: Boolean\n $priceMax: Int\n $priceMin: Int\n) {\n me {\n collection(id: $id) {\n internalID\n artworksConnection(first: $size, page: $page, sort: $sort, forSale: $forSale, priceMax: $priceMax, priceMin: $priceMin) {\n pageInfo {\n hasNextPage\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n ...GridItem_artwork\n id\n }\n }\n }\n id\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/SearchResultsArtworks_Query.graphql.ts b/src/__generated__/SearchResultsArtworks_Query.graphql.ts index 01867291f47..f11b5a9f25c 100644 --- a/src/__generated__/SearchResultsArtworks_Query.graphql.ts +++ b/src/__generated__/SearchResultsArtworks_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -86,43 +86,43 @@ v8 = { "large" ] }, -v9 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v10 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v11 = { +v10 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v11 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v12 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v13 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v14 = [ (v0/*: any*/), (v1/*: any*/) @@ -683,6 +683,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v9/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v10/*: any*/), + "storageKey": null + }, + (v1/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -703,7 +726,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -751,7 +774,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -772,7 +795,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -792,7 +815,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v10/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -854,7 +877,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -862,8 +885,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v10/*: any*/), - (v12/*: any*/), + (v9/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -896,7 +919,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v13/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, { @@ -906,7 +929,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v13/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, (v1/*: any*/) @@ -921,10 +944,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), (v1/*: any*/), - (v10/*: any*/), - (v12/*: any*/) + (v9/*: any*/), + (v13/*: any*/) ], "storageKey": null }, @@ -998,7 +1021,7 @@ return { ] }, "params": { - "cacheID": "bc7b399b08c63905732688daa507ce30", + "cacheID": "131ca5072756fab84d7acabc9a7130d6", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1077,6 +1100,21 @@ return { "viewer.filtered_artworks.edges.node.collectorSignals.auction.lotClosesAt": (v21/*: any*/), "viewer.filtered_artworks.edges.node.collectorSignals.auction.onlineBiddingExtended": (v23/*: any*/), "viewer.filtered_artworks.edges.node.collectorSignals.auction.registrationEndsAt": (v21/*: any*/), + "viewer.filtered_artworks.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "viewer.filtered_artworks.edges.node.collectorSignals.partnerOffer.endAt": (v21/*: any*/), + "viewer.filtered_artworks.edges.node.collectorSignals.partnerOffer.id": (v19/*: any*/), + "viewer.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "viewer.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v21/*: any*/), "viewer.filtered_artworks.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1303,7 +1341,7 @@ return { }, "name": "SearchResultsArtworks_Query", "operationKind": "query", - "text": "query SearchResultsArtworks_Query {\n viewer {\n ...SearchResultsArtworks_viewer_3Rrp9Z\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkFilter_viewer_4g78v5 on Viewer {\n filtered_artworks: artworksConnection {\n ...ArtworkFilterArtworkGrid_filtered_artworks\n counts {\n total(format: \"0,0\")\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment SearchResultsArtworks_viewer_3Rrp9Z on Viewer {\n sidebar: artworksConnection(first: 1) {\n counts {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n ...ArtworkFilter_viewer_4g78v5\n}\n" + "text": "query SearchResultsArtworks_Query {\n viewer {\n ...SearchResultsArtworks_viewer_3Rrp9Z\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkFilter_viewer_4g78v5 on Viewer {\n filtered_artworks: artworksConnection {\n ...ArtworkFilterArtworkGrid_filtered_artworks\n counts {\n total(format: \"0,0\")\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment SearchResultsArtworks_viewer_3Rrp9Z on Viewer {\n sidebar: artworksConnection(first: 1) {\n counts {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n ...ArtworkFilter_viewer_4g78v5\n}\n" } }; })(); diff --git a/src/__generated__/SettingsAuctionsRouteQuery_Test_Query.graphql.ts b/src/__generated__/SettingsAuctionsRouteQuery_Test_Query.graphql.ts index 2f1596072b9..23eb1ecb99c 100644 --- a/src/__generated__/SettingsAuctionsRouteQuery_Test_Query.graphql.ts +++ b/src/__generated__/SettingsAuctionsRouteQuery_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<62576bb03c495a212d97e26594331ef9>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -50,45 +50,45 @@ v3 = { "name": "href", "storageKey": null }, -v4 = [ +v4 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v5 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v6 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v5 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v7 = { +v8 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v8 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v9 = [ - (v5/*: any*/), + (v7/*: any*/), (v2/*: any*/) ], v10 = [ @@ -211,6 +211,29 @@ v10 = [ } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v4/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v5/*: any*/), + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -231,7 +254,7 @@ v10 = [ }, { "alias": null, - "args": (v4/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -279,7 +302,7 @@ v10 = [ }, { "alias": null, - "args": (v4/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -287,7 +310,7 @@ v10 = [ "selections": [ (v2/*: any*/), (v3/*: any*/), - (v5/*: any*/) + (v7/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -300,13 +323,13 @@ v10 = [ }, { "alias": null, - "args": (v4/*: any*/), + "args": (v6/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v5/*: any*/), + (v7/*: any*/), (v3/*: any*/), (v2/*: any*/) ], @@ -320,7 +343,7 @@ v10 = [ "name": "sale", "plural": false, "selections": [ - (v6/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -368,9 +391,9 @@ v10 = [ "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), + (v8/*: any*/), (v0/*: any*/), - (v6/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -410,7 +433,7 @@ v10 = [ "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, { @@ -420,7 +443,7 @@ v10 = [ "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, (v2/*: any*/) @@ -435,7 +458,7 @@ v10 = [ "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), + (v8/*: any*/), (v2/*: any*/) ], "storageKey": null @@ -612,6 +635,18 @@ v24 = { "type": "Boolean" }, v25 = { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" +}, +v26 = { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" +}, +v27 = { "enumValues": [ "CURATORS_PICK", "INCREASED_INTEREST", @@ -621,85 +656,85 @@ v25 = { "plural": false, "type": "LabelSignalEnum" }, -v26 = { +v28 = { "enumValues": null, "nullable": true, "plural": false, "type": "Image" }, -v27 = { +v29 = { "enumValues": null, "nullable": true, "plural": false, "type": "CroppedImageUrl" }, -v28 = { +v30 = { "enumValues": null, "nullable": false, "plural": false, "type": "String" }, -v29 = { +v31 = { "enumValues": null, "nullable": true, "plural": false, "type": "ArtworkPriceInsights" }, -v30 = { +v32 = { "enumValues": null, "nullable": true, "plural": false, "type": "Float" }, -v31 = { +v33 = { "enumValues": null, "nullable": true, "plural": false, "type": "ArtworkMedium" }, -v32 = { +v34 = { "enumValues": null, "nullable": true, "plural": false, "type": "Gene" }, -v33 = { +v35 = { "enumValues": null, "nullable": true, "plural": false, "type": "Partner" }, -v34 = { +v36 = { "enumValues": null, "nullable": true, "plural": false, "type": "Sale" }, -v35 = { +v37 = { "enumValues": null, "nullable": true, "plural": false, "type": "Int" }, -v36 = { +v38 = { "enumValues": null, "nullable": true, "plural": false, "type": "SaleArtworkCounts" }, -v37 = { +v39 = { "enumValues": null, "nullable": true, "plural": false, "type": "FormattedNumber" }, -v38 = { +v40 = { "enumValues": null, "nullable": true, "plural": false, "type": "SaleArtworkHighestBid" }, -v39 = { +v41 = { "enumValues": null, "nullable": true, "plural": false, @@ -844,7 +879,7 @@ return { "plural": false, "selections": [ (v2/*: any*/), - (v5/*: any*/), + (v7/*: any*/), (v3/*: any*/), { "alias": null, @@ -887,7 +922,7 @@ return { ] }, "params": { - "cacheID": "01d1f96de55dfe31fa69b9b9fd53b719", + "cacheID": "2dacb5e5b864044d2d6e40ea58b265c4", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -920,30 +955,35 @@ return { "me.activeLotStandings.saleArtwork.artwork.collectorSignals.auction.lotClosesAt": (v19/*: any*/), "me.activeLotStandings.saleArtwork.artwork.collectorSignals.auction.onlineBiddingExtended": (v24/*: any*/), "me.activeLotStandings.saleArtwork.artwork.collectorSignals.auction.registrationEndsAt": (v19/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.collectorSignals.primaryLabel": (v25/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer": (v25/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer.endAt": (v19/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer.id": (v16/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer.priceWithDiscount": (v26/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer.priceWithDiscount.display": (v19/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.collectorSignals.primaryLabel": (v27/*: any*/), "me.activeLotStandings.saleArtwork.artwork.cultural_maker": (v19/*: any*/), "me.activeLotStandings.saleArtwork.artwork.date": (v19/*: any*/), "me.activeLotStandings.saleArtwork.artwork.href": (v19/*: any*/), "me.activeLotStandings.saleArtwork.artwork.id": (v16/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.image": (v26/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.image.cropped": (v27/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.image.cropped.src": (v28/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.image.cropped.srcSet": (v28/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.image": (v28/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.image.cropped": (v29/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.image.cropped.src": (v30/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.image.cropped.srcSet": (v30/*: any*/), "me.activeLotStandings.saleArtwork.artwork.internalID": (v16/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.marketPriceInsights": (v29/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.marketPriceInsights.demandRank": (v30/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.mediumType": (v31/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.mediumType.filterGene": (v32/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.marketPriceInsights": (v31/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.marketPriceInsights.demandRank": (v32/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.mediumType": (v33/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.mediumType.filterGene": (v34/*: any*/), "me.activeLotStandings.saleArtwork.artwork.mediumType.filterGene.id": (v16/*: any*/), "me.activeLotStandings.saleArtwork.artwork.mediumType.filterGene.name": (v19/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.partner": (v33/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.partner": (v35/*: any*/), "me.activeLotStandings.saleArtwork.artwork.partner.href": (v19/*: any*/), "me.activeLotStandings.saleArtwork.artwork.partner.id": (v16/*: any*/), "me.activeLotStandings.saleArtwork.artwork.partner.name": (v19/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.sale": (v34/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.sale.cascadingEndTimeIntervalMinutes": (v35/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.sale": (v36/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.sale.cascadingEndTimeIntervalMinutes": (v37/*: any*/), "me.activeLotStandings.saleArtwork.artwork.sale.endAt": (v19/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.sale.extendedBiddingIntervalMinutes": (v35/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.sale.extendedBiddingIntervalMinutes": (v37/*: any*/), "me.activeLotStandings.saleArtwork.artwork.sale.id": (v16/*: any*/), "me.activeLotStandings.saleArtwork.artwork.sale.is_auction": (v12/*: any*/), "me.activeLotStandings.saleArtwork.artwork.sale.is_closed": (v12/*: any*/), @@ -952,23 +992,23 @@ return { "me.activeLotStandings.saleArtwork.artwork.saleArtwork.id": (v16/*: any*/), "me.activeLotStandings.saleArtwork.artwork.saleArtwork.lotID": (v19/*: any*/), "me.activeLotStandings.saleArtwork.artwork.sale_artwork": (v13/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.sale_artwork.counts": (v36/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.sale_artwork.counts.bidder_positions": (v37/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.sale_artwork.counts": (v38/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.sale_artwork.counts.bidder_positions": (v39/*: any*/), "me.activeLotStandings.saleArtwork.artwork.sale_artwork.endAt": (v19/*: any*/), "me.activeLotStandings.saleArtwork.artwork.sale_artwork.extendedBiddingEndAt": (v19/*: any*/), "me.activeLotStandings.saleArtwork.artwork.sale_artwork.formattedEndDateTime": (v19/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.sale_artwork.highest_bid": (v38/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.sale_artwork.highest_bid": (v40/*: any*/), "me.activeLotStandings.saleArtwork.artwork.sale_artwork.highest_bid.display": (v19/*: any*/), "me.activeLotStandings.saleArtwork.artwork.sale_artwork.id": (v16/*: any*/), "me.activeLotStandings.saleArtwork.artwork.sale_artwork.lotID": (v19/*: any*/), "me.activeLotStandings.saleArtwork.artwork.sale_artwork.lotLabel": (v19/*: any*/), - "me.activeLotStandings.saleArtwork.artwork.sale_artwork.opening_bid": (v39/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.sale_artwork.opening_bid": (v41/*: any*/), "me.activeLotStandings.saleArtwork.artwork.sale_artwork.opening_bid.display": (v19/*: any*/), "me.activeLotStandings.saleArtwork.artwork.sale_message": (v19/*: any*/), "me.activeLotStandings.saleArtwork.artwork.title": (v19/*: any*/), "me.activeLotStandings.saleArtwork.id": (v16/*: any*/), "me.activeLotStandings.saleArtwork.lotLabel": (v19/*: any*/), - "me.activeLotStandings.saleArtwork.sale": (v34/*: any*/), + "me.activeLotStandings.saleArtwork.sale": (v36/*: any*/), "me.activeLotStandings.saleArtwork.sale.id": (v16/*: any*/), "me.activeLotStandings.saleArtwork.sale.isClosed": (v12/*: any*/), "me.id": (v16/*: any*/), @@ -995,30 +1035,35 @@ return { "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.auction.lotClosesAt": (v19/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.auction.onlineBiddingExtended": (v24/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.auction.registrationEndsAt": (v19/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.primaryLabel": (v25/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer": (v25/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer.endAt": (v19/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer.id": (v16/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer.priceWithDiscount": (v26/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer.priceWithDiscount.display": (v19/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.primaryLabel": (v27/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.cultural_maker": (v19/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.date": (v19/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.href": (v19/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.id": (v16/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.image": (v26/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.image.cropped": (v27/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.image.cropped.src": (v28/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.image.cropped.srcSet": (v28/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.image": (v28/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.image.cropped": (v29/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.image.cropped.src": (v30/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.image.cropped.srcSet": (v30/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.internalID": (v16/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.marketPriceInsights": (v29/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.marketPriceInsights.demandRank": (v30/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.mediumType": (v31/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.mediumType.filterGene": (v32/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.marketPriceInsights": (v31/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.marketPriceInsights.demandRank": (v32/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.mediumType": (v33/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.mediumType.filterGene": (v34/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.mediumType.filterGene.id": (v16/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.mediumType.filterGene.name": (v19/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.partner": (v33/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.partner": (v35/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.partner.href": (v19/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.partner.id": (v16/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.partner.name": (v19/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.sale": (v34/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.sale.cascadingEndTimeIntervalMinutes": (v35/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.sale": (v36/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.sale.cascadingEndTimeIntervalMinutes": (v37/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.sale.endAt": (v19/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.sale.extendedBiddingIntervalMinutes": (v35/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.sale.extendedBiddingIntervalMinutes": (v37/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.sale.id": (v16/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.sale.is_auction": (v12/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.sale.is_closed": (v12/*: any*/), @@ -1027,23 +1072,23 @@ return { "me.inactiveLotStandings.saleArtwork.artwork.saleArtwork.id": (v16/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.saleArtwork.lotID": (v19/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork": (v13/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork.counts": (v36/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork.counts.bidder_positions": (v37/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork.counts": (v38/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork.counts.bidder_positions": (v39/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork.endAt": (v19/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork.extendedBiddingEndAt": (v19/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork.formattedEndDateTime": (v19/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork.highest_bid": (v38/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork.highest_bid": (v40/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork.highest_bid.display": (v19/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork.id": (v16/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork.lotID": (v19/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork.lotLabel": (v19/*: any*/), - "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork.opening_bid": (v39/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork.opening_bid": (v41/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.sale_artwork.opening_bid.display": (v19/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.sale_message": (v19/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.title": (v19/*: any*/), "me.inactiveLotStandings.saleArtwork.id": (v16/*: any*/), "me.inactiveLotStandings.saleArtwork.lotLabel": (v19/*: any*/), - "me.inactiveLotStandings.saleArtwork.sale": (v34/*: any*/), + "me.inactiveLotStandings.saleArtwork.sale": (v36/*: any*/), "me.inactiveLotStandings.saleArtwork.sale.id": (v16/*: any*/), "me.inactiveLotStandings.saleArtwork.sale.isClosed": (v12/*: any*/), "me.saleRegistrationsConnection": { @@ -1066,7 +1111,7 @@ return { }, "me.saleRegistrationsConnection.edges.node.id": (v16/*: any*/), "me.saleRegistrationsConnection.edges.node.isRegistered": (v12/*: any*/), - "me.saleRegistrationsConnection.edges.node.sale": (v34/*: any*/), + "me.saleRegistrationsConnection.edges.node.sale": (v36/*: any*/), "me.saleRegistrationsConnection.edges.node.sale.href": (v19/*: any*/), "me.saleRegistrationsConnection.edges.node.sale.id": (v16/*: any*/), "me.saleRegistrationsConnection.edges.node.sale.isClosed": (v12/*: any*/), @@ -1077,7 +1122,7 @@ return { }, "name": "SettingsAuctionsRouteQuery_Test_Query", "operationKind": "query", - "text": "query SettingsAuctionsRouteQuery_Test_Query {\n me {\n ...SettingsAuctionsRoute_me\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment SettingsAuctionsLotStanding_lotStanding on LotStanding {\n isLeadingBidder\n saleArtwork {\n lotLabel\n sale {\n isClosed\n id\n }\n artwork {\n ...Details_artwork\n href\n image {\n cropped(height: 100, width: 100) {\n src\n srcSet\n }\n }\n id\n }\n id\n }\n}\n\nfragment SettingsAuctionsRoute_me on Me {\n ...UserActiveBids_me\n ...UserBidHistory_me\n ...UserRegistrationAuctions_me\n}\n\nfragment UserActiveBids_me on Me {\n activeLotStandings: lotStandings(live: true) {\n ...SettingsAuctionsLotStanding_lotStanding\n }\n}\n\nfragment UserBidHistory_me on Me {\n inactiveLotStandings: lotStandings(live: false) {\n ...SettingsAuctionsLotStanding_lotStanding\n }\n}\n\nfragment UserRegistrationAuctions_me on Me {\n saleRegistrationsConnection(published: true, isAuction: true, sort: CREATED_AT_DESC, first: 10, registered: false) {\n edges {\n node {\n isRegistered\n sale {\n id\n name\n href\n startAt(format: \"MMMM D, h:mmA\")\n isClosed\n isRegistrationClosed\n }\n id\n }\n }\n }\n}\n" + "text": "query SettingsAuctionsRouteQuery_Test_Query {\n me {\n ...SettingsAuctionsRoute_me\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment SettingsAuctionsLotStanding_lotStanding on LotStanding {\n isLeadingBidder\n saleArtwork {\n lotLabel\n sale {\n isClosed\n id\n }\n artwork {\n ...Details_artwork\n href\n image {\n cropped(height: 100, width: 100) {\n src\n srcSet\n }\n }\n id\n }\n id\n }\n}\n\nfragment SettingsAuctionsRoute_me on Me {\n ...UserActiveBids_me\n ...UserBidHistory_me\n ...UserRegistrationAuctions_me\n}\n\nfragment UserActiveBids_me on Me {\n activeLotStandings: lotStandings(live: true) {\n ...SettingsAuctionsLotStanding_lotStanding\n }\n}\n\nfragment UserBidHistory_me on Me {\n inactiveLotStandings: lotStandings(live: false) {\n ...SettingsAuctionsLotStanding_lotStanding\n }\n}\n\nfragment UserRegistrationAuctions_me on Me {\n saleRegistrationsConnection(published: true, isAuction: true, sort: CREATED_AT_DESC, first: 10, registered: false) {\n edges {\n node {\n isRegistered\n sale {\n id\n name\n href\n startAt(format: \"MMMM D, h:mmA\")\n isClosed\n isRegistrationClosed\n }\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/SettingsSavesArtistsQuery.graphql.ts b/src/__generated__/SettingsSavesArtistsQuery.graphql.ts index 589fd304d1e..c3f2fa47f82 100644 --- a/src/__generated__/SettingsSavesArtistsQuery.graphql.ts +++ b/src/__generated__/SettingsSavesArtistsQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<06ee2c22692459acf41b665ae97a8d6b>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -72,28 +72,14 @@ v6 = { "name": "id", "storageKey": null }, -v7 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v8 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lotID", - "storageKey": null -}, -v10 = [ +v8 = [ { "alias": null, "args": null, @@ -102,6 +88,20 @@ v10 = [ "storageKey": null } ], +v9 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v10 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "lotID", + "storageKey": null +}, v11 = [ (v5/*: any*/), (v6/*: any*/) @@ -418,6 +418,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v7/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v8/*: any*/), + "storageKey": null + }, + (v6/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -438,7 +461,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -486,7 +509,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -507,7 +530,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -527,7 +550,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v8/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -582,7 +605,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -590,7 +613,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v8/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -630,7 +653,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, { @@ -640,7 +663,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, (v6/*: any*/) @@ -655,7 +678,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), (v6/*: any*/) ], "storageKey": null @@ -828,12 +851,12 @@ return { ] }, "params": { - "cacheID": "280d5b5a4adefb3b029f660238ed9283", + "cacheID": "c553abdf33390d35704f9951287c79a4", "id": null, "metadata": {}, "name": "SettingsSavesArtistsQuery", "operationKind": "query", - "text": "query SettingsSavesArtistsQuery(\n $after: String\n) {\n me {\n ...SettingsSavesArtists_me_WGPvJ\n id\n }\n}\n\nfragment ArtistRail_artist on Artist {\n ...EntityHeaderArtist_artist\n name\n artworksConnection(first: 10) {\n edges {\n node {\n internalID\n ...ShelfArtwork_artwork\n id\n }\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment EntityHeaderArtist_artist on Artist {\n internalID\n href\n slug\n name\n initials\n formattedNationalityAndBirthday\n counts {\n artworks\n forSaleArtworks\n }\n coverArtwork {\n avatar: image {\n cropped(width: 45, height: 45) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment SettingsSavesArtists_me_WGPvJ on Me {\n followsAndSaves {\n artistsConnection(first: 4, after: $after) {\n totalCount\n edges {\n node {\n internalID\n artist {\n ...ArtistRail_artist\n id\n }\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query SettingsSavesArtistsQuery(\n $after: String\n) {\n me {\n ...SettingsSavesArtists_me_WGPvJ\n id\n }\n}\n\nfragment ArtistRail_artist on Artist {\n ...EntityHeaderArtist_artist\n name\n artworksConnection(first: 10) {\n edges {\n node {\n internalID\n ...ShelfArtwork_artwork\n id\n }\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment EntityHeaderArtist_artist on Artist {\n internalID\n href\n slug\n name\n initials\n formattedNationalityAndBirthday\n counts {\n artworks\n forSaleArtworks\n }\n coverArtwork {\n avatar: image {\n cropped(width: 45, height: 45) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment SettingsSavesArtists_me_WGPvJ on Me {\n followsAndSaves {\n artistsConnection(first: 4, after: $after) {\n totalCount\n edges {\n node {\n internalID\n artist {\n ...ArtistRail_artist\n id\n }\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/SettingsSavesArtists_test_Query.graphql.ts b/src/__generated__/SettingsSavesArtists_test_Query.graphql.ts index 0c6a1f3e304..369a2fff409 100644 --- a/src/__generated__/SettingsSavesArtists_test_Query.graphql.ts +++ b/src/__generated__/SettingsSavesArtists_test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<134b6c6fa9d6525979dca091a8836d7c>> + * @generated SignedSource<<3330916a6058b4c837d19b955f08e634>> * @lightSyntaxTransform * @nogrep */ @@ -72,28 +72,14 @@ v6 = { "name": "id", "storageKey": null }, -v7 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v8 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lotID", - "storageKey": null -}, -v10 = [ +v8 = [ { "alias": null, "args": null, @@ -102,6 +88,20 @@ v10 = [ "storageKey": null } ], +v9 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v10 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "lotID", + "storageKey": null +}, v11 = [ (v5/*: any*/), (v6/*: any*/) @@ -484,6 +484,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v7/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v8/*: any*/), + "storageKey": null + }, + (v6/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -504,7 +527,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -552,7 +575,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -573,7 +596,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -593,7 +616,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v8/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -648,7 +671,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -656,7 +679,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v8/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -696,7 +719,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, { @@ -706,7 +729,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, (v6/*: any*/) @@ -721,7 +744,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), (v6/*: any*/) ], "storageKey": null @@ -894,7 +917,7 @@ return { ] }, "params": { - "cacheID": "c339d4e051aa9962999a8f5fda7b1777", + "cacheID": "ceceb8a8f34c4129b7d7ed995314e7d3", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -994,6 +1017,21 @@ return { "me.followsAndSaves.artistsConnection.edges.node.artist.artworksConnection.edges.node.collectorSignals.auction.lotClosesAt": (v17/*: any*/), "me.followsAndSaves.artistsConnection.edges.node.artist.artworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v18/*: any*/), "me.followsAndSaves.artistsConnection.edges.node.artist.artworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v17/*: any*/), + "me.followsAndSaves.artistsConnection.edges.node.artist.artworksConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "me.followsAndSaves.artistsConnection.edges.node.artist.artworksConnection.edges.node.collectorSignals.partnerOffer.endAt": (v17/*: any*/), + "me.followsAndSaves.artistsConnection.edges.node.artist.artworksConnection.edges.node.collectorSignals.partnerOffer.id": (v15/*: any*/), + "me.followsAndSaves.artistsConnection.edges.node.artist.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "me.followsAndSaves.artistsConnection.edges.node.artist.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v17/*: any*/), "me.followsAndSaves.artistsConnection.edges.node.artist.artworksConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1139,7 +1177,7 @@ return { }, "name": "SettingsSavesArtists_test_Query", "operationKind": "query", - "text": "query SettingsSavesArtists_test_Query(\n $after: String\n) {\n me {\n ...SettingsSavesArtists_me_WGPvJ\n id\n }\n}\n\nfragment ArtistRail_artist on Artist {\n ...EntityHeaderArtist_artist\n name\n artworksConnection(first: 10) {\n edges {\n node {\n internalID\n ...ShelfArtwork_artwork\n id\n }\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment EntityHeaderArtist_artist on Artist {\n internalID\n href\n slug\n name\n initials\n formattedNationalityAndBirthday\n counts {\n artworks\n forSaleArtworks\n }\n coverArtwork {\n avatar: image {\n cropped(width: 45, height: 45) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment SettingsSavesArtists_me_WGPvJ on Me {\n followsAndSaves {\n artistsConnection(first: 4, after: $after) {\n totalCount\n edges {\n node {\n internalID\n artist {\n ...ArtistRail_artist\n id\n }\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query SettingsSavesArtists_test_Query(\n $after: String\n) {\n me {\n ...SettingsSavesArtists_me_WGPvJ\n id\n }\n}\n\nfragment ArtistRail_artist on Artist {\n ...EntityHeaderArtist_artist\n name\n artworksConnection(first: 10) {\n edges {\n node {\n internalID\n ...ShelfArtwork_artwork\n id\n }\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment EntityHeaderArtist_artist on Artist {\n internalID\n href\n slug\n name\n initials\n formattedNationalityAndBirthday\n counts {\n artworks\n forSaleArtworks\n }\n coverArtwork {\n avatar: image {\n cropped(width: 45, height: 45) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment SettingsSavesArtists_me_WGPvJ on Me {\n followsAndSaves {\n artistsConnection(first: 4, after: $after) {\n totalCount\n edges {\n node {\n internalID\n artist {\n ...ArtistRail_artist\n id\n }\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/SettingsSavesCategoriesQuery.graphql.ts b/src/__generated__/SettingsSavesCategoriesQuery.graphql.ts index ca279463733..5bb0c65e77e 100644 --- a/src/__generated__/SettingsSavesCategoriesQuery.graphql.ts +++ b/src/__generated__/SettingsSavesCategoriesQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<0a6659384d97fa817c42ab0d4f3fd20e>> + * @generated SignedSource<<92a5b96a1339499e914bfec81ff2820a>> * @lightSyntaxTransform * @nogrep */ @@ -72,28 +72,14 @@ v6 = { "name": "id", "storageKey": null }, -v7 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v8 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lotID", - "storageKey": null -}, -v10 = [ +v8 = [ { "alias": null, "args": null, @@ -102,6 +88,20 @@ v10 = [ "storageKey": null } ], +v9 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v10 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "lotID", + "storageKey": null +}, v11 = [ (v5/*: any*/), (v6/*: any*/) @@ -404,6 +404,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v7/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v8/*: any*/), + "storageKey": null + }, + (v6/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -424,7 +447,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -472,7 +495,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -493,7 +516,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -513,7 +536,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v8/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -568,7 +591,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -576,7 +599,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v8/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -616,7 +639,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, { @@ -626,7 +649,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, (v6/*: any*/) @@ -641,7 +664,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), (v6/*: any*/) ], "storageKey": null @@ -815,12 +838,12 @@ return { ] }, "params": { - "cacheID": "d7e6d03817a3b104069f5d32d1398f31", + "cacheID": "5eee6964e78b6463d274d83072abd27d", "id": null, "metadata": {}, "name": "SettingsSavesCategoriesQuery", "operationKind": "query", - "text": "query SettingsSavesCategoriesQuery(\n $after: String\n) {\n me {\n ...SettingsSavesCategories_me_WGPvJ\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CategoryRail_category on Gene {\n ...EntityHeaderGene_gene\n name\n href\n filterArtworks: filterArtworksConnection(first: 10) {\n edges {\n node {\n internalID\n ...ShelfArtwork_artwork\n id\n }\n }\n id\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment EntityHeaderGene_gene on Gene {\n internalID\n href\n name\n avatar: image {\n cropped(width: 45, height: 45, version: [\"big_and_tall\", \"tall\"]) {\n src\n srcSet\n }\n }\n filterArtworksConnection(first: 1) {\n counts {\n total\n }\n id\n }\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment SettingsSavesCategories_me_WGPvJ on Me {\n followsAndSaves {\n categoriesConnection: genesConnection(first: 4, after: $after) {\n totalCount\n edges {\n node {\n internalID\n category: gene {\n internalID\n ...CategoryRail_category\n id\n }\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query SettingsSavesCategoriesQuery(\n $after: String\n) {\n me {\n ...SettingsSavesCategories_me_WGPvJ\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CategoryRail_category on Gene {\n ...EntityHeaderGene_gene\n name\n href\n filterArtworks: filterArtworksConnection(first: 10) {\n edges {\n node {\n internalID\n ...ShelfArtwork_artwork\n id\n }\n }\n id\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment EntityHeaderGene_gene on Gene {\n internalID\n href\n name\n avatar: image {\n cropped(width: 45, height: 45, version: [\"big_and_tall\", \"tall\"]) {\n src\n srcSet\n }\n }\n filterArtworksConnection(first: 1) {\n counts {\n total\n }\n id\n }\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment SettingsSavesCategories_me_WGPvJ on Me {\n followsAndSaves {\n categoriesConnection: genesConnection(first: 4, after: $after) {\n totalCount\n edges {\n node {\n internalID\n category: gene {\n internalID\n ...CategoryRail_category\n id\n }\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/SettingsSavesCategories_test_Query.graphql.ts b/src/__generated__/SettingsSavesCategories_test_Query.graphql.ts index 5cd2f7eb452..9f968ae22e9 100644 --- a/src/__generated__/SettingsSavesCategories_test_Query.graphql.ts +++ b/src/__generated__/SettingsSavesCategories_test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -72,28 +72,14 @@ v6 = { "name": "id", "storageKey": null }, -v7 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v8 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lotID", - "storageKey": null -}, -v10 = [ +v8 = [ { "alias": null, "args": null, @@ -102,6 +88,20 @@ v10 = [ "storageKey": null } ], +v9 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v10 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "lotID", + "storageKey": null +}, v11 = [ (v5/*: any*/), (v6/*: any*/) @@ -470,6 +470,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v7/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v8/*: any*/), + "storageKey": null + }, + (v6/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -490,7 +513,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -538,7 +561,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -559,7 +582,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -579,7 +602,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v8/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -634,7 +657,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -642,7 +665,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v8/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -682,7 +705,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, { @@ -692,7 +715,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, (v6/*: any*/) @@ -707,7 +730,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), (v6/*: any*/) ], "storageKey": null @@ -881,7 +904,7 @@ return { ] }, "params": { - "cacheID": "4d150f93d57e0e63979a572bf7d282ba", + "cacheID": "85c6c4f8645aa8d2896f3edf9d4d59ae", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -995,6 +1018,21 @@ return { "me.followsAndSaves.categoriesConnection.edges.node.category.filterArtworks.edges.node.collectorSignals.auction.lotClosesAt": (v18/*: any*/), "me.followsAndSaves.categoriesConnection.edges.node.category.filterArtworks.edges.node.collectorSignals.auction.onlineBiddingExtended": (v19/*: any*/), "me.followsAndSaves.categoriesConnection.edges.node.category.filterArtworks.edges.node.collectorSignals.auction.registrationEndsAt": (v18/*: any*/), + "me.followsAndSaves.categoriesConnection.edges.node.category.filterArtworks.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "me.followsAndSaves.categoriesConnection.edges.node.category.filterArtworks.edges.node.collectorSignals.partnerOffer.endAt": (v18/*: any*/), + "me.followsAndSaves.categoriesConnection.edges.node.category.filterArtworks.edges.node.collectorSignals.partnerOffer.id": (v16/*: any*/), + "me.followsAndSaves.categoriesConnection.edges.node.category.filterArtworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "me.followsAndSaves.categoriesConnection.edges.node.category.filterArtworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v18/*: any*/), "me.followsAndSaves.categoriesConnection.edges.node.category.filterArtworks.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1123,7 +1161,7 @@ return { }, "name": "SettingsSavesCategories_test_Query", "operationKind": "query", - "text": "query SettingsSavesCategories_test_Query(\n $after: String\n) {\n me {\n ...SettingsSavesCategories_me_WGPvJ\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CategoryRail_category on Gene {\n ...EntityHeaderGene_gene\n name\n href\n filterArtworks: filterArtworksConnection(first: 10) {\n edges {\n node {\n internalID\n ...ShelfArtwork_artwork\n id\n }\n }\n id\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment EntityHeaderGene_gene on Gene {\n internalID\n href\n name\n avatar: image {\n cropped(width: 45, height: 45, version: [\"big_and_tall\", \"tall\"]) {\n src\n srcSet\n }\n }\n filterArtworksConnection(first: 1) {\n counts {\n total\n }\n id\n }\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment SettingsSavesCategories_me_WGPvJ on Me {\n followsAndSaves {\n categoriesConnection: genesConnection(first: 4, after: $after) {\n totalCount\n edges {\n node {\n internalID\n category: gene {\n internalID\n ...CategoryRail_category\n id\n }\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query SettingsSavesCategories_test_Query(\n $after: String\n) {\n me {\n ...SettingsSavesCategories_me_WGPvJ\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CategoryRail_category on Gene {\n ...EntityHeaderGene_gene\n name\n href\n filterArtworks: filterArtworksConnection(first: 10) {\n edges {\n node {\n internalID\n ...ShelfArtwork_artwork\n id\n }\n }\n id\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment EntityHeaderGene_gene on Gene {\n internalID\n href\n name\n avatar: image {\n cropped(width: 45, height: 45, version: [\"big_and_tall\", \"tall\"]) {\n src\n srcSet\n }\n }\n filterArtworksConnection(first: 1) {\n counts {\n total\n }\n id\n }\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment SettingsSavesCategories_me_WGPvJ on Me {\n followsAndSaves {\n categoriesConnection: genesConnection(first: 4, after: $after) {\n totalCount\n edges {\n node {\n internalID\n category: gene {\n internalID\n ...CategoryRail_category\n id\n }\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/ShelfArtworkStoryQuery.graphql.ts b/src/__generated__/ShelfArtworkStoryQuery.graphql.ts index bb84b397d5e..0593e7b68d2 100644 --- a/src/__generated__/ShelfArtworkStoryQuery.graphql.ts +++ b/src/__generated__/ShelfArtworkStoryQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<99c9685d81219ba88a423f8477c3109d>> + * @generated SignedSource<<629e75d4a0d3a794d6b1c52eda420495>> * @lightSyntaxTransform * @nogrep */ @@ -45,53 +45,53 @@ v2 = { "name": "href", "storageKey": null }, -v3 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v4 = { +v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v4 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v6 = { +v6 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v7 = { +v8 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v8 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v9 = [ - (v5/*: any*/), - (v4/*: any*/) + (v7/*: any*/), + (v5/*: any*/) ]; return { "fragment": { @@ -223,6 +223,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v3/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v4/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -243,7 +266,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -267,7 +290,7 @@ return { ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -291,15 +314,15 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v4/*: any*/), + (v5/*: any*/), (v2/*: any*/), - (v5/*: any*/) + (v7/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -312,15 +335,15 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v6/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v5/*: any*/), + (v7/*: any*/), (v2/*: any*/), - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -332,7 +355,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v6/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -368,7 +391,7 @@ return { "name": "isClosed", "storageKey": null }, - (v4/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -387,7 +410,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -395,7 +418,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v6/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -435,7 +458,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, { @@ -445,10 +468,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null }, @@ -460,8 +483,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), - (v4/*: any*/) + (v8/*: any*/), + (v5/*: any*/) ], "storageKey": null }, @@ -551,19 +574,19 @@ return { ], "storageKey": null }, - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": null } ] }, "params": { - "cacheID": "c5f9b70ce0cf265a9809726765c6daee", + "cacheID": "db46a28f886ac44e794753f58cf65af0", "id": null, "metadata": {}, "name": "ShelfArtworkStoryQuery", "operationKind": "query", - "text": "query ShelfArtworkStoryQuery(\n $id: String!\n) {\n artwork(id: $id) {\n ...ShelfArtwork_artwork\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query ShelfArtworkStoryQuery(\n $id: String!\n) {\n artwork(id: $id) {\n ...ShelfArtwork_artwork\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/ShelfArtwork_test_Query.graphql.ts b/src/__generated__/ShelfArtwork_test_Query.graphql.ts index 93bb5e6f1bb..8d209a519f5 100644 --- a/src/__generated__/ShelfArtwork_test_Query.graphql.ts +++ b/src/__generated__/ShelfArtwork_test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<17abe42aa90978d0150369b13c6a8ec0>> + * @generated SignedSource<<48f6ffeaa1f9b6031c3ef909acd1c4e4>> * @lightSyntaxTransform * @nogrep */ @@ -36,53 +36,53 @@ v1 = { "name": "href", "storageKey": null }, -v2 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v3 = { +v2 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v3 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v5 = { +v5 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v6 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v7 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v8 = [ - (v4/*: any*/), - (v3/*: any*/) + (v6/*: any*/), + (v4/*: any*/) ], v9 = { "enumValues": null, @@ -250,6 +250,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v2/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v3/*: any*/), + "storageKey": null + }, + (v4/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -270,7 +293,7 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -294,7 +317,7 @@ return { ], "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -318,15 +341,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v3/*: any*/), + (v4/*: any*/), (v1/*: any*/), - (v4/*: any*/) + (v6/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -339,15 +362,15 @@ return { }, { "alias": null, - "args": (v2/*: any*/), + "args": (v5/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v4/*: any*/), + (v6/*: any*/), (v1/*: any*/), - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -359,7 +382,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v5/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -395,7 +418,7 @@ return { "name": "isClosed", "storageKey": null }, - (v3/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -414,7 +437,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -422,7 +445,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v5/*: any*/), + (v2/*: any*/), { "alias": null, "args": null, @@ -462,7 +485,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, { @@ -472,10 +495,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": null }, @@ -487,8 +510,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), - (v3/*: any*/) + (v7/*: any*/), + (v4/*: any*/) ], "storageKey": null }, @@ -578,14 +601,14 @@ return { ], "storageKey": null }, - (v3/*: any*/) + (v4/*: any*/) ], "storageKey": "artwork(id:\"foo\")" } ] }, "params": { - "cacheID": "1e861292c396a9eb71d27e15ff33f143", + "cacheID": "d4ea18ab396b38ea6f4fa60dceefc1d6", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -650,6 +673,21 @@ return { "artwork.collectorSignals.auction.lotClosesAt": (v11/*: any*/), "artwork.collectorSignals.auction.onlineBiddingExtended": (v12/*: any*/), "artwork.collectorSignals.auction.registrationEndsAt": (v11/*: any*/), + "artwork.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "artwork.collectorSignals.partnerOffer.endAt": (v11/*: any*/), + "artwork.collectorSignals.partnerOffer.id": (v9/*: any*/), + "artwork.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "artwork.collectorSignals.partnerOffer.priceWithDiscount.display": (v11/*: any*/), "artwork.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -767,7 +805,7 @@ return { }, "name": "ShelfArtwork_test_Query", "operationKind": "query", - "text": "query ShelfArtwork_test_Query {\n artwork(id: \"foo\") {\n ...ShelfArtwork_artwork\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query ShelfArtwork_test_Query {\n artwork(id: \"foo\") {\n ...ShelfArtwork_artwork\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/ShowArtworksFilterQuery.graphql.ts b/src/__generated__/ShowArtworksFilterQuery.graphql.ts index 4ec7df4bc84..5a42019f3a1 100644 --- a/src/__generated__/ShowArtworksFilterQuery.graphql.ts +++ b/src/__generated__/ShowArtworksFilterQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<72bd28868da33d7980eb4b922065a101>> + * @generated SignedSource<<67d0d086789f24fb851679671f8b0147>> * @lightSyntaxTransform * @nogrep */ @@ -175,43 +175,43 @@ v14 = { "large" ] }, -v15 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v16 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v17 = { +v16 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v17 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v18 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v18 = { +v19 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v19 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v20 = [ (v6/*: any*/), (v7/*: any*/) @@ -695,6 +695,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v15/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v16/*: any*/), + "storageKey": null + }, + (v7/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -715,7 +738,7 @@ return { }, { "alias": null, - "args": (v15/*: any*/), + "args": (v17/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -763,7 +786,7 @@ return { }, { "alias": null, - "args": (v15/*: any*/), + "args": (v17/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -784,7 +807,7 @@ return { }, { "alias": null, - "args": (v15/*: any*/), + "args": (v17/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -804,7 +827,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v16/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -866,7 +889,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v17/*: any*/), + (v18/*: any*/), { "alias": null, "args": null, @@ -874,8 +897,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v16/*: any*/), - (v18/*: any*/), + (v15/*: any*/), + (v19/*: any*/), { "alias": null, "args": null, @@ -908,7 +931,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v19/*: any*/), + "selections": (v16/*: any*/), "storageKey": null }, { @@ -918,7 +941,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v19/*: any*/), + "selections": (v16/*: any*/), "storageKey": null }, (v7/*: any*/) @@ -933,10 +956,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v17/*: any*/), + (v18/*: any*/), (v7/*: any*/), - (v16/*: any*/), - (v18/*: any*/) + (v15/*: any*/), + (v19/*: any*/) ], "storageKey": null }, @@ -1011,12 +1034,12 @@ return { ] }, "params": { - "cacheID": "714ed087ed3d5cf19aa126469fec1cc9", + "cacheID": "3a12ba1d552bb2978be299e30ecb4bc4", "id": null, "metadata": {}, "name": "ShowArtworksFilterQuery", "operationKind": "query", - "text": "query ShowArtworksFilterQuery(\n $slug: String!\n $input: FilterArtworksInput\n $aggregations: [ArtworkAggregation]\n) {\n show(id: $slug) {\n ...ShowArtworks_show_2p2tYs\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShowArtworks_show_2p2tYs on Show {\n sidebar: filterArtworksConnection(aggregations: $aggregations, first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" + "text": "query ShowArtworksFilterQuery(\n $slug: String!\n $input: FilterArtworksInput\n $aggregations: [ArtworkAggregation]\n) {\n show(id: $slug) {\n ...ShowArtworks_show_2p2tYs\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShowArtworks_show_2p2tYs on Show {\n sidebar: filterArtworksConnection(aggregations: $aggregations, first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" } }; })(); diff --git a/src/__generated__/ShowArtworksFilterRefetchQuery.graphql.ts b/src/__generated__/ShowArtworksFilterRefetchQuery.graphql.ts index 926cad1967c..b810b526e09 100644 --- a/src/__generated__/ShowArtworksFilterRefetchQuery.graphql.ts +++ b/src/__generated__/ShowArtworksFilterRefetchQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<963826117c9d8066e56647a0b14dd302>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -164,43 +164,43 @@ v12 = { "large" ] }, -v13 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v14 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v15 = { +v14 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v15 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v16 = { +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v17 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v18 = [ (v4/*: any*/), (v5/*: any*/) @@ -680,6 +680,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v13/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v14/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -700,7 +723,7 @@ return { }, { "alias": null, - "args": (v13/*: any*/), + "args": (v15/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -748,7 +771,7 @@ return { }, { "alias": null, - "args": (v13/*: any*/), + "args": (v15/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -769,7 +792,7 @@ return { }, { "alias": null, - "args": (v13/*: any*/), + "args": (v15/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -789,7 +812,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v14/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -851,7 +874,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -859,8 +882,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v14/*: any*/), - (v16/*: any*/), + (v13/*: any*/), + (v17/*: any*/), { "alias": null, "args": null, @@ -893,7 +916,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v17/*: any*/), + "selections": (v14/*: any*/), "storageKey": null }, { @@ -903,7 +926,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v17/*: any*/), + "selections": (v14/*: any*/), "storageKey": null }, (v5/*: any*/) @@ -918,10 +941,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), (v5/*: any*/), - (v14/*: any*/), - (v16/*: any*/) + (v13/*: any*/), + (v17/*: any*/) ], "storageKey": null }, @@ -996,12 +1019,12 @@ return { ] }, "params": { - "cacheID": "5e343560edd671c3fda0296ee375a9e2", + "cacheID": "d0f1e2ee07671685b83cc377af0a85e6", "id": null, "metadata": {}, "name": "ShowArtworksFilterRefetchQuery", "operationKind": "query", - "text": "query ShowArtworksFilterRefetchQuery(\n $slug: String!\n $input: FilterArtworksInput\n) {\n show(id: $slug) {\n ...ShowArtworks_show_2VV6jB\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShowArtworks_show_2VV6jB on Show {\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" + "text": "query ShowArtworksFilterRefetchQuery(\n $slug: String!\n $input: FilterArtworksInput\n) {\n show(id: $slug) {\n ...ShowArtworks_show_2VV6jB\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShowArtworks_show_2VV6jB on Show {\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" } }; })(); diff --git a/src/__generated__/ShowArtworks_Test_Query.graphql.ts b/src/__generated__/ShowArtworks_Test_Query.graphql.ts index 1f7a18bbe3a..457269b963b 100644 --- a/src/__generated__/ShowArtworks_Test_Query.graphql.ts +++ b/src/__generated__/ShowArtworks_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<1bc1549b62f2c018e98d2e3a6b4f33a0>> + * @generated SignedSource<<82a3be8edef67c16ca2780cdf9f2243f>> * @lightSyntaxTransform * @nogrep */ @@ -93,43 +93,43 @@ v9 = { "large" ] }, -v10 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v11 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v12 = { +v11 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v12 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v13 = { +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v14 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v15 = [ (v1/*: any*/), (v2/*: any*/) @@ -666,6 +666,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v10/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v11/*: any*/), + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -686,7 +709,7 @@ return { }, { "alias": null, - "args": (v10/*: any*/), + "args": (v12/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -734,7 +757,7 @@ return { }, { "alias": null, - "args": (v10/*: any*/), + "args": (v12/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -755,7 +778,7 @@ return { }, { "alias": null, - "args": (v10/*: any*/), + "args": (v12/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -775,7 +798,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v11/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -837,7 +860,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v12/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -845,8 +868,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v11/*: any*/), - (v13/*: any*/), + (v10/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -879,7 +902,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v14/*: any*/), + "selections": (v11/*: any*/), "storageKey": null }, { @@ -889,7 +912,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v14/*: any*/), + "selections": (v11/*: any*/), "storageKey": null }, (v2/*: any*/) @@ -904,10 +927,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v12/*: any*/), + (v13/*: any*/), (v2/*: any*/), - (v11/*: any*/), - (v13/*: any*/) + (v10/*: any*/), + (v14/*: any*/) ], "storageKey": null }, @@ -982,7 +1005,7 @@ return { ] }, "params": { - "cacheID": "4c759215270c387136f0331a211abf1b", + "cacheID": "4c97d2b62fbab7c2c8866269f2993c9b", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1066,6 +1089,21 @@ return { "show.filtered_artworks.edges.node.collectorSignals.auction.lotClosesAt": (v21/*: any*/), "show.filtered_artworks.edges.node.collectorSignals.auction.onlineBiddingExtended": (v23/*: any*/), "show.filtered_artworks.edges.node.collectorSignals.auction.registrationEndsAt": (v21/*: any*/), + "show.filtered_artworks.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "show.filtered_artworks.edges.node.collectorSignals.partnerOffer.endAt": (v21/*: any*/), + "show.filtered_artworks.edges.node.collectorSignals.partnerOffer.id": (v19/*: any*/), + "show.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "show.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v21/*: any*/), "show.filtered_artworks.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1291,7 +1329,7 @@ return { }, "name": "ShowArtworks_Test_Query", "operationKind": "query", - "text": "query ShowArtworks_Test_Query {\n show(id: \"catty-show\") {\n ...ShowArtworks_show\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShowArtworks_show on Show {\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" + "text": "query ShowArtworks_Test_Query {\n show(id: \"catty-show\") {\n ...ShowArtworks_show\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShowArtworks_show on Show {\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" } }; })(); diff --git a/src/__generated__/ShowsCurrentShowsQuery.graphql.ts b/src/__generated__/ShowsCurrentShowsQuery.graphql.ts index b4331f71595..42b7f65e393 100644 --- a/src/__generated__/ShowsCurrentShowsQuery.graphql.ts +++ b/src/__generated__/ShowsCurrentShowsQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<3ce5c13e58de71e472a93faf34d9e6a0>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -120,28 +120,14 @@ v11 = [ (v6/*: any*/), (v10/*: any*/) ], -v12 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v13 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lotID", - "storageKey": null -}, -v15 = [ +v13 = [ { "alias": null, "args": null, @@ -149,7 +135,21 @@ v15 = [ "name": "display", "storageKey": null } -]; +], +v14 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v15 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "lotID", + "storageKey": null +}; return { "fragment": { "argumentDefinitions": [ @@ -508,6 +508,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v12/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v13/*: any*/), + "storageKey": null + }, + (v10/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -528,7 +551,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -576,7 +599,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -597,7 +620,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -617,7 +640,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v13/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -672,7 +695,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v14/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -680,7 +703,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v13/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -720,7 +743,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v15/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, { @@ -730,7 +753,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v15/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, (v10/*: any*/) @@ -745,7 +768,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v14/*: any*/), + (v15/*: any*/), (v10/*: any*/) ], "storageKey": null @@ -837,12 +860,12 @@ return { ] }, "params": { - "cacheID": "c45fa538f3001dd8293baf591bb5648a", + "cacheID": "917c2e110eea8b9597cd68e871c91fb1", "id": null, "metadata": {}, "name": "ShowsCurrentShowsQuery", "operationKind": "query", - "text": "query ShowsCurrentShowsQuery(\n $first: Int\n $after: String\n) {\n viewer {\n ...ShowsCurrentShows_viewer_2HEEH6\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShowsCurrentShow_show on Show {\n name\n href\n startAt(format: \"MMM D\")\n endAt(format: \"MMM D\")\n partner {\n __typename\n ... on Partner {\n name\n }\n ... on ExternalPartner {\n name\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n location {\n city\n id\n }\n artworksConnection(first: 15) {\n totalCount\n edges {\n node {\n internalID\n ...GridItem_artwork\n id\n }\n }\n }\n}\n\nfragment ShowsCurrentShows_viewer_2HEEH6 on Viewer {\n showsConnection(first: $first, after: $after, displayable: true, atAFair: false, sort: END_AT_ASC, status: CURRENT, hasLocation: true) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n internalID\n ...ShowsCurrentShow_show\n id\n __typename\n }\n cursor\n }\n }\n}\n" + "text": "query ShowsCurrentShowsQuery(\n $first: Int\n $after: String\n) {\n viewer {\n ...ShowsCurrentShows_viewer_2HEEH6\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShowsCurrentShow_show on Show {\n name\n href\n startAt(format: \"MMM D\")\n endAt(format: \"MMM D\")\n partner {\n __typename\n ... on Partner {\n name\n }\n ... on ExternalPartner {\n name\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n location {\n city\n id\n }\n artworksConnection(first: 15) {\n totalCount\n edges {\n node {\n internalID\n ...GridItem_artwork\n id\n }\n }\n }\n}\n\nfragment ShowsCurrentShows_viewer_2HEEH6 on Viewer {\n showsConnection(first: $first, after: $after, displayable: true, atAFair: false, sort: END_AT_ASC, status: CURRENT, hasLocation: true) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n internalID\n ...ShowsCurrentShow_show\n id\n __typename\n }\n cursor\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/SoldRecentlyOnArtsyQuery.graphql.ts b/src/__generated__/SoldRecentlyOnArtsyQuery.graphql.ts index 0155a609357..528b173db7e 100644 --- a/src/__generated__/SoldRecentlyOnArtsyQuery.graphql.ts +++ b/src/__generated__/SoldRecentlyOnArtsyQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<073d8c9e0aa05cf31052eaed78a19fab>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -29,53 +29,53 @@ var v0 = { "name": "href", "storageKey": null }, -v1 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v2 = { +v1 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v2 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v4 = { +v4 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v3/*: any*/), - (v2/*: any*/) + (v5/*: any*/), + (v3/*: any*/) ]; return { "fragment": { @@ -231,6 +231,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v1/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v2/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -251,7 +274,7 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -275,7 +298,7 @@ return { ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -299,15 +322,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v2/*: any*/), + (v3/*: any*/), (v0/*: any*/), - (v3/*: any*/) + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -320,15 +343,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v3/*: any*/), + (v5/*: any*/), (v0/*: any*/), - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -340,7 +363,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -376,7 +399,7 @@ return { "name": "isClosed", "storageKey": null }, - (v2/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -395,7 +418,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -403,7 +426,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -443,7 +466,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -453,10 +476,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null }, @@ -468,8 +491,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), - (v2/*: any*/) + (v6/*: any*/), + (v3/*: any*/) ], "storageKey": null }, @@ -566,7 +589,7 @@ return { "name": "slug", "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null }, @@ -577,7 +600,7 @@ return { "kind": "LinkedField", "name": "lowEstimate", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -587,7 +610,7 @@ return { "kind": "LinkedField", "name": "highEstimate", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -597,7 +620,7 @@ return { "kind": "LinkedField", "name": "priceRealized", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null } ], @@ -612,12 +635,12 @@ return { ] }, "params": { - "cacheID": "bf9d7ba9ad30baacb3458adfaf47c307", + "cacheID": "566bd19b775fe771ce03a20e2da6f0d8", "id": null, "metadata": {}, "name": "SoldRecentlyOnArtsyQuery", "operationKind": "query", - "text": "query SoldRecentlyOnArtsyQuery {\n recentlySoldArtworks {\n ...SoldRecentlyOnArtsy_recentlySoldArtworks\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n\nfragment SoldRecentlyOnArtsy_recentlySoldArtworks on RecentlySoldArtworkTypeConnection {\n edges {\n node {\n artwork {\n ...ShelfArtwork_artwork\n slug\n href\n internalID\n id\n }\n lowEstimate {\n display\n }\n highEstimate {\n display\n }\n priceRealized {\n display\n }\n }\n }\n}\n" + "text": "query SoldRecentlyOnArtsyQuery {\n recentlySoldArtworks {\n ...SoldRecentlyOnArtsy_recentlySoldArtworks\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n\nfragment SoldRecentlyOnArtsy_recentlySoldArtworks on RecentlySoldArtworkTypeConnection {\n edges {\n node {\n artwork {\n ...ShelfArtwork_artwork\n slug\n href\n internalID\n id\n }\n lowEstimate {\n display\n }\n highEstimate {\n display\n }\n priceRealized {\n display\n }\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/SoldRecentlyOnArtsy_tests_Query.graphql.ts b/src/__generated__/SoldRecentlyOnArtsy_tests_Query.graphql.ts index cb8994a08fd..2b7c41436eb 100644 --- a/src/__generated__/SoldRecentlyOnArtsy_tests_Query.graphql.ts +++ b/src/__generated__/SoldRecentlyOnArtsy_tests_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<24c7dac41a523ec7d8605f3b3eccc1c6>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -29,53 +29,53 @@ var v0 = { "name": "href", "storageKey": null }, -v1 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v2 = { +v1 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v2 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v4 = { +v4 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v3/*: any*/), - (v2/*: any*/) + (v5/*: any*/), + (v3/*: any*/) ], v8 = { "enumValues": null, @@ -105,19 +105,19 @@ v12 = { "enumValues": null, "nullable": true, "plural": false, - "type": "Int" + "type": "Money" }, v13 = { "enumValues": null, "nullable": true, "plural": false, - "type": "SaleArtwork" + "type": "Int" }, v14 = { "enumValues": null, "nullable": true, "plural": false, - "type": "Money" + "type": "SaleArtwork" }; return { "fragment": { @@ -273,6 +273,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v1/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v2/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -293,7 +316,7 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -317,7 +340,7 @@ return { ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -341,15 +364,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v2/*: any*/), + (v3/*: any*/), (v0/*: any*/), - (v3/*: any*/) + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -362,15 +385,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v3/*: any*/), + (v5/*: any*/), (v0/*: any*/), - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -382,7 +405,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -418,7 +441,7 @@ return { "name": "isClosed", "storageKey": null }, - (v2/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -437,7 +460,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -445,7 +468,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -485,7 +508,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -495,10 +518,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null }, @@ -510,8 +533,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), - (v2/*: any*/) + (v6/*: any*/), + (v3/*: any*/) ], "storageKey": null }, @@ -608,7 +631,7 @@ return { "name": "slug", "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null }, @@ -619,7 +642,7 @@ return { "kind": "LinkedField", "name": "lowEstimate", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -629,7 +652,7 @@ return { "kind": "LinkedField", "name": "highEstimate", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -639,7 +662,7 @@ return { "kind": "LinkedField", "name": "priceRealized", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null } ], @@ -654,7 +677,7 @@ return { ] }, "params": { - "cacheID": "67717c325b2876c52ff987e42845ccc1", + "cacheID": "a979b36225de00013a3a510b17fd70d0", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -737,6 +760,16 @@ return { "recentlySoldArtworks.edges.node.artwork.collectorSignals.auction.lotClosesAt": (v10/*: any*/), "recentlySoldArtworks.edges.node.artwork.collectorSignals.auction.onlineBiddingExtended": (v11/*: any*/), "recentlySoldArtworks.edges.node.artwork.collectorSignals.auction.registrationEndsAt": (v10/*: any*/), + "recentlySoldArtworks.edges.node.artwork.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "recentlySoldArtworks.edges.node.artwork.collectorSignals.partnerOffer.endAt": (v10/*: any*/), + "recentlySoldArtworks.edges.node.artwork.collectorSignals.partnerOffer.id": (v8/*: any*/), + "recentlySoldArtworks.edges.node.artwork.collectorSignals.partnerOffer.priceWithDiscount": (v12/*: any*/), + "recentlySoldArtworks.edges.node.artwork.collectorSignals.partnerOffer.priceWithDiscount.display": (v10/*: any*/), "recentlySoldArtworks.edges.node.artwork.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -758,9 +791,9 @@ return { "type": "Image" }, "recentlySoldArtworks.edges.node.artwork.image.blurhashDataURL": (v10/*: any*/), - "recentlySoldArtworks.edges.node.artwork.image.height": (v12/*: any*/), + "recentlySoldArtworks.edges.node.artwork.image.height": (v13/*: any*/), "recentlySoldArtworks.edges.node.artwork.image.src": (v10/*: any*/), - "recentlySoldArtworks.edges.node.artwork.image.width": (v12/*: any*/), + "recentlySoldArtworks.edges.node.artwork.image.width": (v13/*: any*/), "recentlySoldArtworks.edges.node.artwork.internalID": (v8/*: any*/), "recentlySoldArtworks.edges.node.artwork.isUnlisted": (v11/*: any*/), "recentlySoldArtworks.edges.node.artwork.marketPriceInsights": { @@ -804,18 +837,18 @@ return { "plural": false, "type": "Sale" }, - "recentlySoldArtworks.edges.node.artwork.sale.cascadingEndTimeIntervalMinutes": (v12/*: any*/), + "recentlySoldArtworks.edges.node.artwork.sale.cascadingEndTimeIntervalMinutes": (v13/*: any*/), "recentlySoldArtworks.edges.node.artwork.sale.endAt": (v10/*: any*/), - "recentlySoldArtworks.edges.node.artwork.sale.extendedBiddingIntervalMinutes": (v12/*: any*/), + "recentlySoldArtworks.edges.node.artwork.sale.extendedBiddingIntervalMinutes": (v13/*: any*/), "recentlySoldArtworks.edges.node.artwork.sale.id": (v8/*: any*/), "recentlySoldArtworks.edges.node.artwork.sale.isOpen": (v9/*: any*/), "recentlySoldArtworks.edges.node.artwork.sale.is_auction": (v9/*: any*/), "recentlySoldArtworks.edges.node.artwork.sale.is_closed": (v9/*: any*/), "recentlySoldArtworks.edges.node.artwork.sale.startAt": (v10/*: any*/), - "recentlySoldArtworks.edges.node.artwork.saleArtwork": (v13/*: any*/), + "recentlySoldArtworks.edges.node.artwork.saleArtwork": (v14/*: any*/), "recentlySoldArtworks.edges.node.artwork.saleArtwork.id": (v8/*: any*/), "recentlySoldArtworks.edges.node.artwork.saleArtwork.lotID": (v10/*: any*/), - "recentlySoldArtworks.edges.node.artwork.sale_artwork": (v13/*: any*/), + "recentlySoldArtworks.edges.node.artwork.sale_artwork": (v14/*: any*/), "recentlySoldArtworks.edges.node.artwork.sale_artwork.counts": { "enumValues": null, "nullable": true, @@ -851,17 +884,17 @@ return { "recentlySoldArtworks.edges.node.artwork.sale_message": (v10/*: any*/), "recentlySoldArtworks.edges.node.artwork.slug": (v8/*: any*/), "recentlySoldArtworks.edges.node.artwork.title": (v10/*: any*/), - "recentlySoldArtworks.edges.node.highEstimate": (v14/*: any*/), + "recentlySoldArtworks.edges.node.highEstimate": (v12/*: any*/), "recentlySoldArtworks.edges.node.highEstimate.display": (v10/*: any*/), - "recentlySoldArtworks.edges.node.lowEstimate": (v14/*: any*/), + "recentlySoldArtworks.edges.node.lowEstimate": (v12/*: any*/), "recentlySoldArtworks.edges.node.lowEstimate.display": (v10/*: any*/), - "recentlySoldArtworks.edges.node.priceRealized": (v14/*: any*/), + "recentlySoldArtworks.edges.node.priceRealized": (v12/*: any*/), "recentlySoldArtworks.edges.node.priceRealized.display": (v10/*: any*/) } }, "name": "SoldRecentlyOnArtsy_tests_Query", "operationKind": "query", - "text": "query SoldRecentlyOnArtsy_tests_Query {\n recentlySoldArtworks {\n ...SoldRecentlyOnArtsy_recentlySoldArtworks\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n\nfragment SoldRecentlyOnArtsy_recentlySoldArtworks on RecentlySoldArtworkTypeConnection {\n edges {\n node {\n artwork {\n ...ShelfArtwork_artwork\n slug\n href\n internalID\n id\n }\n lowEstimate {\n display\n }\n highEstimate {\n display\n }\n priceRealized {\n display\n }\n }\n }\n}\n" + "text": "query SoldRecentlyOnArtsy_tests_Query {\n recentlySoldArtworks {\n ...SoldRecentlyOnArtsy_recentlySoldArtworks\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n\nfragment SoldRecentlyOnArtsy_recentlySoldArtworks on RecentlySoldArtworkTypeConnection {\n edges {\n node {\n artwork {\n ...ShelfArtwork_artwork\n slug\n href\n internalID\n id\n }\n lowEstimate {\n display\n }\n highEstimate {\n display\n }\n priceRealized {\n display\n }\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/StandoutLotsRailQuery.graphql.ts b/src/__generated__/StandoutLotsRailQuery.graphql.ts index 2d1e0829bcf..a759b142cb2 100644 --- a/src/__generated__/StandoutLotsRailQuery.graphql.ts +++ b/src/__generated__/StandoutLotsRailQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<74f0a089f1c1e1f3c37092c6068e2803>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -29,53 +29,53 @@ var v0 = { "name": "href", "storageKey": null }, -v1 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v2 = { +v1 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v2 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v4 = { +v4 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v3/*: any*/), - (v2/*: any*/) + (v5/*: any*/), + (v3/*: any*/) ]; return { "fragment": { @@ -256,6 +256,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v1/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v2/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -276,7 +299,7 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -300,7 +323,7 @@ return { ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -324,15 +347,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v2/*: any*/), + (v3/*: any*/), (v0/*: any*/), - (v3/*: any*/) + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -345,15 +368,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v3/*: any*/), + (v5/*: any*/), (v0/*: any*/), - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -365,7 +388,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -401,7 +424,7 @@ return { "name": "isClosed", "storageKey": null }, - (v2/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -420,7 +443,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -428,7 +451,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -468,7 +491,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -478,10 +501,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null }, @@ -493,8 +516,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), - (v2/*: any*/) + (v6/*: any*/), + (v3/*: any*/) ], "storageKey": null }, @@ -584,14 +607,14 @@ return { ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artworksConnection(first:50,forSale:true,geneIDs:[\"our-top-auction-lots\"])" } @@ -601,12 +624,12 @@ return { ] }, "params": { - "cacheID": "220ea1eaa55196534e2e5d390abab96c", + "cacheID": "9f01b7ea06c449b321b746dbda2ed82e", "id": null, "metadata": {}, "name": "StandoutLotsRailQuery", "operationKind": "query", - "text": "query StandoutLotsRailQuery {\n viewer {\n ...StandoutLotsRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n\nfragment StandoutLotsRail_viewer on Viewer {\n standoutLotsRailConnection: artworksConnection(forSale: true, first: 50, geneIDs: [\"our-top-auction-lots\"]) {\n edges {\n node {\n internalID\n slug\n ...ShelfArtwork_artwork\n id\n }\n }\n id\n }\n}\n" + "text": "query StandoutLotsRailQuery {\n viewer {\n ...StandoutLotsRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n\nfragment StandoutLotsRail_viewer on Viewer {\n standoutLotsRailConnection: artworksConnection(forSale: true, first: 50, geneIDs: [\"our-top-auction-lots\"]) {\n edges {\n node {\n internalID\n slug\n ...ShelfArtwork_artwork\n id\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/__generated__/StandoutLotsRail_Test_Query.graphql.ts b/src/__generated__/StandoutLotsRail_Test_Query.graphql.ts index dfa7cc96589..fa5a9bcbcda 100644 --- a/src/__generated__/StandoutLotsRail_Test_Query.graphql.ts +++ b/src/__generated__/StandoutLotsRail_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -29,53 +29,53 @@ var v0 = { "name": "href", "storageKey": null }, -v1 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v2 = { +v1 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v2 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v3 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v4 = { +v4 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v3/*: any*/), - (v2/*: any*/) + (v5/*: any*/), + (v3/*: any*/) ], v8 = { "enumValues": null, @@ -292,6 +292,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v1/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v2/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -312,7 +335,7 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -336,7 +359,7 @@ return { ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -360,15 +383,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v2/*: any*/), + (v3/*: any*/), (v0/*: any*/), - (v3/*: any*/) + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -381,15 +404,15 @@ return { }, { "alias": null, - "args": (v1/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v3/*: any*/), + (v5/*: any*/), (v0/*: any*/), - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -401,7 +424,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -437,7 +460,7 @@ return { "name": "isClosed", "storageKey": null }, - (v2/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -456,7 +479,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -464,7 +487,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v4/*: any*/), + (v1/*: any*/), { "alias": null, "args": null, @@ -504,7 +527,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, { @@ -514,10 +537,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v2/*: any*/), "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null }, @@ -529,8 +552,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), - (v2/*: any*/) + (v6/*: any*/), + (v3/*: any*/) ], "storageKey": null }, @@ -620,14 +643,14 @@ return { ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v2/*: any*/) + (v3/*: any*/) ], "storageKey": "artworksConnection(first:50,forSale:true,geneIDs:[\"our-top-auction-lots\"])" } @@ -637,7 +660,7 @@ return { ] }, "params": { - "cacheID": "9d922719faa040889eae0e4d20198f00", + "cacheID": "d53929616acf67a47ae4ba9ff59180ce", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -720,6 +743,21 @@ return { "viewer.standoutLotsRailConnection.edges.node.collectorSignals.auction.lotClosesAt": (v10/*: any*/), "viewer.standoutLotsRailConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v11/*: any*/), "viewer.standoutLotsRailConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v10/*: any*/), + "viewer.standoutLotsRailConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "viewer.standoutLotsRailConnection.edges.node.collectorSignals.partnerOffer.endAt": (v10/*: any*/), + "viewer.standoutLotsRailConnection.edges.node.collectorSignals.partnerOffer.id": (v8/*: any*/), + "viewer.standoutLotsRailConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "viewer.standoutLotsRailConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v10/*: any*/), "viewer.standoutLotsRailConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -839,7 +877,7 @@ return { }, "name": "StandoutLotsRail_Test_Query", "operationKind": "query", - "text": "query StandoutLotsRail_Test_Query {\n viewer {\n ...StandoutLotsRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n\nfragment StandoutLotsRail_viewer on Viewer {\n standoutLotsRailConnection: artworksConnection(forSale: true, first: 50, geneIDs: [\"our-top-auction-lots\"]) {\n edges {\n node {\n internalID\n slug\n ...ShelfArtwork_artwork\n id\n }\n }\n id\n }\n}\n" + "text": "query StandoutLotsRail_Test_Query {\n viewer {\n ...StandoutLotsRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n\nfragment StandoutLotsRail_viewer on Viewer {\n standoutLotsRailConnection: artworksConnection(forSale: true, first: 50, geneIDs: [\"our-top-auction-lots\"]) {\n edges {\n node {\n internalID\n slug\n ...ShelfArtwork_artwork\n id\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/__generated__/SuggestedArtworksModalGridQuery.graphql.ts b/src/__generated__/SuggestedArtworksModalGridQuery.graphql.ts index 5cde86c4932..146eeb000e6 100644 --- a/src/__generated__/SuggestedArtworksModalGridQuery.graphql.ts +++ b/src/__generated__/SuggestedArtworksModalGridQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<749e5f2b9fb6351f6d5ef7dee0038ee7>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -141,52 +141,52 @@ v6 = { "large" ] }, -v7 = [ +v7 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v8 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v9 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v8 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v10 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v11 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v12 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v13 = [ - (v8/*: any*/), + (v10/*: any*/), (v3/*: any*/) ]; return { @@ -457,6 +457,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v7/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v8/*: any*/), + "storageKey": null + }, + (v3/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -477,7 +500,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -525,7 +548,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -533,7 +556,7 @@ return { "selections": [ (v3/*: any*/), (v4/*: any*/), - (v8/*: any*/) + (v10/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -546,13 +569,13 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v8/*: any*/), + (v10/*: any*/), (v4/*: any*/), (v3/*: any*/) ], @@ -566,7 +589,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v9/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -628,7 +651,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v10/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -636,8 +659,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v9/*: any*/), - (v11/*: any*/), + (v7/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -670,7 +693,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, { @@ -680,7 +703,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, (v3/*: any*/) @@ -695,10 +718,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v10/*: any*/), + (v11/*: any*/), (v3/*: any*/), - (v9/*: any*/), - (v11/*: any*/) + (v7/*: any*/), + (v12/*: any*/) ], "storageKey": null }, @@ -772,12 +795,12 @@ return { ] }, "params": { - "cacheID": "6db18517cb904927f1f725940a52902e", + "cacheID": "6063a222cde4172a2eba8ef6fea1d896", "id": null, "metadata": {}, "name": "SuggestedArtworksModalGridQuery", "operationKind": "query", - "text": "query SuggestedArtworksModalGridQuery(\n $input: FilterArtworksInput\n) {\n artworksConnection(input: $input) {\n counts {\n total\n }\n ...ArtworkGrid_artworks\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query SuggestedArtworksModalGridQuery(\n $input: FilterArtworksInput\n) {\n artworksConnection(input: $input) {\n counts {\n total\n }\n ...ArtworkGrid_artworks\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/SuggestedArtworksModalGrid_Test_Query.graphql.ts b/src/__generated__/SuggestedArtworksModalGrid_Test_Query.graphql.ts index 2b1c59ff393..09d385cff5b 100644 --- a/src/__generated__/SuggestedArtworksModalGrid_Test_Query.graphql.ts +++ b/src/__generated__/SuggestedArtworksModalGrid_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<9f89ebf015a7485296debc2e864a7bee>> + * @generated SignedSource<<4b9c9bb56ba0d0580869c097e771767c>> * @lightSyntaxTransform * @nogrep */ @@ -89,52 +89,52 @@ v5 = { "large" ] }, -v6 = [ +v6 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v7 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v8 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v7 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v9 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v10 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v11 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v12 = [ - (v7/*: any*/), + (v9/*: any*/), (v2/*: any*/) ], v13 = { @@ -453,6 +453,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v6/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v7/*: any*/), + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -473,7 +496,7 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -521,7 +544,7 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -529,7 +552,7 @@ return { "selections": [ (v2/*: any*/), (v3/*: any*/), - (v7/*: any*/) + (v9/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -542,13 +565,13 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v7/*: any*/), + (v9/*: any*/), (v3/*: any*/), (v2/*: any*/) ], @@ -562,7 +585,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v8/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -624,7 +647,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -632,8 +655,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v8/*: any*/), - (v10/*: any*/), + (v6/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -666,7 +689,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v11/*: any*/), + "selections": (v7/*: any*/), "storageKey": null }, { @@ -676,7 +699,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v11/*: any*/), + "selections": (v7/*: any*/), "storageKey": null }, (v2/*: any*/) @@ -691,10 +714,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), (v2/*: any*/), - (v8/*: any*/), - (v10/*: any*/) + (v6/*: any*/), + (v11/*: any*/) ], "storageKey": null }, @@ -768,7 +791,7 @@ return { ] }, "params": { - "cacheID": "8e820c45ba1f274cd3af4a7e03c278a4", + "cacheID": "94f8fe34df5aa8ed65c8a0747cce2aec", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -856,6 +879,21 @@ return { "artworksConnection.edges.node.collectorSignals.auction.lotClosesAt": (v17/*: any*/), "artworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v18/*: any*/), "artworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v17/*: any*/), + "artworksConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "artworksConnection.edges.node.collectorSignals.partnerOffer.endAt": (v17/*: any*/), + "artworksConnection.edges.node.collectorSignals.partnerOffer.id": (v15/*: any*/), + "artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v17/*: any*/), "artworksConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1002,7 +1040,7 @@ return { }, "name": "SuggestedArtworksModalGrid_Test_Query", "operationKind": "query", - "text": "query SuggestedArtworksModalGrid_Test_Query {\n artworksConnection(first: 10, sort: \"-published_at\", forSale: true) {\n counts {\n total\n }\n ...ArtworkGrid_artworks\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query SuggestedArtworksModalGrid_Test_Query {\n artworksConnection(first: 10, sort: \"-published_at\", forSale: true) {\n counts {\n total\n }\n ...ArtworkGrid_artworks\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/SuggestedArtworksShelfQuery.graphql.ts b/src/__generated__/SuggestedArtworksShelfQuery.graphql.ts index f770b43fbc9..7bd083b36a4 100644 --- a/src/__generated__/SuggestedArtworksShelfQuery.graphql.ts +++ b/src/__generated__/SuggestedArtworksShelfQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<94b82a6742b15be29965febf813f672e>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -131,53 +131,53 @@ v4 = { "name": "href", "storageKey": null }, -v5 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v6 = { +v5 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v6 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v8 = { +v8 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v9 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v9 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v10 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v11 = [ - (v7/*: any*/), - (v6/*: any*/) + (v9/*: any*/), + (v7/*: any*/) ]; return { "fragment": { @@ -344,6 +344,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v5/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v6/*: any*/), + "storageKey": null + }, + (v7/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -364,7 +387,7 @@ return { }, { "alias": null, - "args": (v5/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -388,7 +411,7 @@ return { ], "storageKey": null }, - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -412,15 +435,15 @@ return { }, { "alias": null, - "args": (v5/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v6/*: any*/), + (v7/*: any*/), (v4/*: any*/), - (v7/*: any*/) + (v9/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -433,15 +456,15 @@ return { }, { "alias": null, - "args": (v5/*: any*/), + "args": (v8/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v7/*: any*/), + (v9/*: any*/), (v4/*: any*/), - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -453,7 +476,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v8/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -489,7 +512,7 @@ return { "name": "isClosed", "storageKey": null }, - (v6/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -508,7 +531,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -516,7 +539,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v8/*: any*/), + (v5/*: any*/), { "alias": null, "args": null, @@ -556,7 +579,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v6/*: any*/), "storageKey": null }, { @@ -566,10 +589,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v6/*: any*/), "storageKey": null }, - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": null }, @@ -581,8 +604,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), - (v6/*: any*/) + (v10/*: any*/), + (v7/*: any*/) ], "storageKey": null }, @@ -672,26 +695,26 @@ return { ], "storageKey": null }, - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v6/*: any*/) + (v7/*: any*/) ], "storageKey": null } ] }, "params": { - "cacheID": "87a2a785bd434231f4b60e11bc11bdd1", + "cacheID": "46a6f7bdd9a3eee5d5f236b1637ce73b", "id": null, "metadata": {}, "name": "SuggestedArtworksShelfQuery", "operationKind": "query", - "text": "query SuggestedArtworksShelfQuery(\n $input: FilterArtworksInput\n) {\n artworksConnection(input: $input) {\n counts {\n total\n }\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query SuggestedArtworksShelfQuery(\n $input: FilterArtworksInput\n) {\n artworksConnection(input: $input) {\n counts {\n total\n }\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/SuggestedArtworksShelf_Test_Query.graphql.ts b/src/__generated__/SuggestedArtworksShelf_Test_Query.graphql.ts index bd1e28df379..8830d1f2328 100644 --- a/src/__generated__/SuggestedArtworksShelf_Test_Query.graphql.ts +++ b/src/__generated__/SuggestedArtworksShelf_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<63570672242e34496e47559060bfbba8>> * @lightSyntaxTransform * @nogrep */ @@ -79,53 +79,53 @@ v3 = { "name": "href", "storageKey": null }, -v4 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v5 = { +v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v5 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v7 = { +v7 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v8 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v8 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v9 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v10 = [ - (v6/*: any*/), - (v5/*: any*/) + (v8/*: any*/), + (v6/*: any*/) ], v11 = { "enumValues": null, @@ -334,6 +334,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v4/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v5/*: any*/), + "storageKey": null + }, + (v6/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -354,7 +377,7 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -378,7 +401,7 @@ return { ], "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -402,15 +425,15 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v5/*: any*/), + (v6/*: any*/), (v3/*: any*/), - (v6/*: any*/) + (v8/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -423,15 +446,15 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v6/*: any*/), + (v8/*: any*/), (v3/*: any*/), - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -443,7 +466,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v7/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -479,7 +502,7 @@ return { "name": "isClosed", "storageKey": null }, - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -498,7 +521,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -506,7 +529,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v7/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -546,7 +569,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v9/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, { @@ -556,10 +579,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v9/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null }, @@ -571,8 +594,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), - (v5/*: any*/) + (v9/*: any*/), + (v6/*: any*/) ], "storageKey": null }, @@ -662,21 +685,21 @@ return { ], "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null } ], "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "artworksConnection(first:5,forSale:true,sort:\"-published_at\")" } ] }, "params": { - "cacheID": "2637c74dff4dc70cd19da2a5fadef660", + "cacheID": "3a1593e4d44bb5cb2a3f9004a38ef7da", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -760,6 +783,21 @@ return { "artworksConnection.edges.node.collectorSignals.auction.lotClosesAt": (v14/*: any*/), "artworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v15/*: any*/), "artworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v14/*: any*/), + "artworksConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "artworksConnection.edges.node.collectorSignals.partnerOffer.endAt": (v14/*: any*/), + "artworksConnection.edges.node.collectorSignals.partnerOffer.id": (v12/*: any*/), + "artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v14/*: any*/), "artworksConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -873,7 +911,7 @@ return { }, "name": "SuggestedArtworksShelf_Test_Query", "operationKind": "query", - "text": "query SuggestedArtworksShelf_Test_Query {\n artworksConnection(first: 5, sort: \"-published_at\", forSale: true) {\n counts {\n total\n }\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query SuggestedArtworksShelf_Test_Query {\n artworksConnection(first: 5, sort: \"-published_at\", forSale: true) {\n counts {\n total\n }\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n id\n }\n }\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/TagArtworkFilterQuery.graphql.ts b/src/__generated__/TagArtworkFilterQuery.graphql.ts index 0856334cd97..78f14e7471a 100644 --- a/src/__generated__/TagArtworkFilterQuery.graphql.ts +++ b/src/__generated__/TagArtworkFilterQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<59a26650bff5f4204805ef6ec4b59c4d>> * @lightSyntaxTransform * @nogrep */ @@ -188,43 +188,43 @@ v16 = { "large" ] }, -v17 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v18 = { +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v19 = { +v18 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v19 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v20 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v20 = { +v21 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v21 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v22 = [ (v9/*: any*/), (v10/*: any*/) @@ -736,6 +736,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v17/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v18/*: any*/), + "storageKey": null + }, + (v10/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -756,7 +779,7 @@ return { }, { "alias": null, - "args": (v17/*: any*/), + "args": (v19/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -804,7 +827,7 @@ return { }, { "alias": null, - "args": (v17/*: any*/), + "args": (v19/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -825,7 +848,7 @@ return { }, { "alias": null, - "args": (v17/*: any*/), + "args": (v19/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -845,7 +868,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v18/*: any*/), + (v17/*: any*/), { "alias": null, "args": null, @@ -907,7 +930,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v19/*: any*/), + (v20/*: any*/), { "alias": null, "args": null, @@ -915,8 +938,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v18/*: any*/), - (v20/*: any*/), + (v17/*: any*/), + (v21/*: any*/), { "alias": null, "args": null, @@ -949,7 +972,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v21/*: any*/), + "selections": (v18/*: any*/), "storageKey": null }, { @@ -959,7 +982,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v21/*: any*/), + "selections": (v18/*: any*/), "storageKey": null }, (v10/*: any*/) @@ -974,10 +997,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v19/*: any*/), + (v20/*: any*/), (v10/*: any*/), - (v18/*: any*/), - (v20/*: any*/) + (v17/*: any*/), + (v21/*: any*/) ], "storageKey": null }, @@ -1052,12 +1075,12 @@ return { ] }, "params": { - "cacheID": "8204d89522c1940627dfb207953e4ada", + "cacheID": "5db53db380aa70f0f8d70fd1a8b2f7d7", "id": null, "metadata": {}, "name": "TagArtworkFilterQuery", "operationKind": "query", - "text": "query TagArtworkFilterQuery(\n $slug: String!\n $input: FilterArtworksInput\n $aggregations: [ArtworkAggregation]\n $shouldFetchCounts: Boolean!\n) {\n tag(id: $slug) {\n ...TagArtworkFilter_tag_3TMxyn\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment TagArtworkFilter_tag_3TMxyn on Tag {\n slug\n internalID\n sidebar: filterArtworksConnection(aggregations: $aggregations, first: 1) {\n counts @include(if: $shouldFetchCounts) {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" + "text": "query TagArtworkFilterQuery(\n $slug: String!\n $input: FilterArtworksInput\n $aggregations: [ArtworkAggregation]\n $shouldFetchCounts: Boolean!\n) {\n tag(id: $slug) {\n ...TagArtworkFilter_tag_3TMxyn\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment TagArtworkFilter_tag_3TMxyn on Tag {\n slug\n internalID\n sidebar: filterArtworksConnection(aggregations: $aggregations, first: 1) {\n counts @include(if: $shouldFetchCounts) {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" } }; })(); diff --git a/src/__generated__/TagArtworkFilterRefetchQuery.graphql.ts b/src/__generated__/TagArtworkFilterRefetchQuery.graphql.ts index e5b7e76f6de..0c086d3df76 100644 --- a/src/__generated__/TagArtworkFilterRefetchQuery.graphql.ts +++ b/src/__generated__/TagArtworkFilterRefetchQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<3f0676dbfb9552bd690291e847de98a0>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -171,43 +171,43 @@ v13 = { "large" ] }, -v14 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v15 = { +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v16 = { +v15 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v16 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v17 = { +v18 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v18 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v19 = [ (v6/*: any*/), (v7/*: any*/) @@ -683,6 +683,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v14/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v15/*: any*/), + "storageKey": null + }, + (v7/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -703,7 +726,7 @@ return { }, { "alias": null, - "args": (v14/*: any*/), + "args": (v16/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -751,7 +774,7 @@ return { }, { "alias": null, - "args": (v14/*: any*/), + "args": (v16/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -772,7 +795,7 @@ return { }, { "alias": null, - "args": (v14/*: any*/), + "args": (v16/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -792,7 +815,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v15/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -854,7 +877,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v16/*: any*/), + (v17/*: any*/), { "alias": null, "args": null, @@ -862,8 +885,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v15/*: any*/), - (v17/*: any*/), + (v14/*: any*/), + (v18/*: any*/), { "alias": null, "args": null, @@ -896,7 +919,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v18/*: any*/), + "selections": (v15/*: any*/), "storageKey": null }, { @@ -906,7 +929,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v18/*: any*/), + "selections": (v15/*: any*/), "storageKey": null }, (v7/*: any*/) @@ -921,10 +944,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v16/*: any*/), + (v17/*: any*/), (v7/*: any*/), - (v15/*: any*/), - (v17/*: any*/) + (v14/*: any*/), + (v18/*: any*/) ], "storageKey": null }, @@ -999,12 +1022,12 @@ return { ] }, "params": { - "cacheID": "f8b11f5f3588fca86a92fddfc8d353d6", + "cacheID": "56ced271d3a0e2f2f11bf1478cabb199", "id": null, "metadata": {}, "name": "TagArtworkFilterRefetchQuery", "operationKind": "query", - "text": "query TagArtworkFilterRefetchQuery(\n $slug: String!\n $input: FilterArtworksInput\n) {\n tag(id: $slug) {\n ...TagArtworkFilter_tag_2VV6jB\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment TagArtworkFilter_tag_2VV6jB on Tag {\n slug\n internalID\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" + "text": "query TagArtworkFilterRefetchQuery(\n $slug: String!\n $input: FilterArtworksInput\n) {\n tag(id: $slug) {\n ...TagArtworkFilter_tag_2VV6jB\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment TagArtworkFilter_tag_2VV6jB on Tag {\n slug\n internalID\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" } }; })(); diff --git a/src/__generated__/TagArtworkFilter_Query.graphql.ts b/src/__generated__/TagArtworkFilter_Query.graphql.ts index 630234eab62..864f80c78c1 100644 --- a/src/__generated__/TagArtworkFilter_Query.graphql.ts +++ b/src/__generated__/TagArtworkFilter_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<3ba0d34e47241a585425df15b4755b7d>> + * @generated SignedSource<<05f018037be9af6df43583bc4cba9371>> * @lightSyntaxTransform * @nogrep */ @@ -109,43 +109,43 @@ v11 = { "large" ] }, -v12 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v13 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v14 = { +v13 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v14 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v15 = { +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v16 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v17 = [ (v4/*: any*/), (v5/*: any*/) @@ -708,6 +708,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v12/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v13/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -728,7 +751,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -776,7 +799,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -797,7 +820,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -817,7 +840,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v13/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -879,7 +902,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v14/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -887,8 +910,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v13/*: any*/), - (v15/*: any*/), + (v12/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -921,7 +944,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, { @@ -931,7 +954,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, (v5/*: any*/) @@ -946,10 +969,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v14/*: any*/), + (v15/*: any*/), (v5/*: any*/), - (v13/*: any*/), - (v15/*: any*/) + (v12/*: any*/), + (v16/*: any*/) ], "storageKey": null }, @@ -1024,7 +1047,7 @@ return { ] }, "params": { - "cacheID": "07d60b075077fcfd6bccee31075cb098", + "cacheID": "fdc1b0379cf4ce1a6afde42ab9f88e74", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1103,6 +1126,21 @@ return { "tag.filtered_artworks.edges.node.collectorSignals.auction.lotClosesAt": (v24/*: any*/), "tag.filtered_artworks.edges.node.collectorSignals.auction.onlineBiddingExtended": (v26/*: any*/), "tag.filtered_artworks.edges.node.collectorSignals.auction.registrationEndsAt": (v24/*: any*/), + "tag.filtered_artworks.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "tag.filtered_artworks.edges.node.collectorSignals.partnerOffer.endAt": (v24/*: any*/), + "tag.filtered_artworks.edges.node.collectorSignals.partnerOffer.id": (v22/*: any*/), + "tag.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "tag.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v24/*: any*/), "tag.filtered_artworks.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1332,7 +1370,7 @@ return { }, "name": "TagArtworkFilter_Query", "operationKind": "query", - "text": "query TagArtworkFilter_Query(\n $slug: String!\n) {\n tag(id: $slug) {\n ...TagArtworkFilter_tag_3Rrp9Z\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment TagArtworkFilter_tag_3Rrp9Z on Tag {\n slug\n internalID\n sidebar: filterArtworksConnection(first: 1) {\n counts {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" + "text": "query TagArtworkFilter_Query(\n $slug: String!\n) {\n tag(id: $slug) {\n ...TagArtworkFilter_tag_3Rrp9Z\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment TagArtworkFilter_tag_3Rrp9Z on Tag {\n slug\n internalID\n sidebar: filterArtworksConnection(first: 1) {\n counts {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" } }; })(); diff --git a/src/__generated__/TrendingLotsRailQuery.graphql.ts b/src/__generated__/TrendingLotsRailQuery.graphql.ts index 5d427db83a8..dd966e28b7d 100644 --- a/src/__generated__/TrendingLotsRailQuery.graphql.ts +++ b/src/__generated__/TrendingLotsRailQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<4bc61fcb6f88989e708bad67b0788310>> + * @generated SignedSource<<0aad57398a79cb0953c0c6e5286f6674>> * @lightSyntaxTransform * @nogrep */ @@ -44,37 +44,37 @@ v2 = { "storageKey": null }, v3 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v4 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v4 = { +v5 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v4/*: any*/), + (v5/*: any*/), (v0/*: any*/) ]; return { @@ -339,6 +339,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v1/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v3/*: any*/), + "storageKey": null + }, + (v0/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -359,7 +382,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -407,7 +430,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -415,7 +438,7 @@ return { "selections": [ (v0/*: any*/), (v2/*: any*/), - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -428,13 +451,13 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v4/*: any*/), + (v5/*: any*/), (v2/*: any*/), (v0/*: any*/) ], @@ -448,7 +471,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -496,7 +519,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, { @@ -506,7 +529,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, (v0/*: any*/) @@ -521,7 +544,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), (v0/*: any*/) ], "storageKey": null @@ -629,12 +652,12 @@ return { ] }, "params": { - "cacheID": "71bd8a3bc978ffb6504f5fa522457470", + "cacheID": "5d3daba02be75912a31f801bd0f99c5f", "id": null, "metadata": {}, "name": "TrendingLotsRailQuery", "operationKind": "query", - "text": "query TrendingLotsRailQuery {\n viewer {\n ...TrendingLotsRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n\nfragment TrendingLotsRail_viewer on Viewer {\n trendingLotsConnection: saleArtworksConnection(biddableSale: true, first: 10, sort: \"-bidder_positions_count\", estimateRange: \"5_000_00-*\") {\n edges {\n counts {\n bidderPositions\n }\n node {\n internalID\n slug\n sale {\n isClosed\n id\n }\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n}\n" + "text": "query TrendingLotsRailQuery {\n viewer {\n ...TrendingLotsRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n\nfragment TrendingLotsRail_viewer on Viewer {\n trendingLotsConnection: saleArtworksConnection(biddableSale: true, first: 10, sort: \"-bidder_positions_count\", estimateRange: \"5_000_00-*\") {\n edges {\n counts {\n bidderPositions\n }\n node {\n internalID\n slug\n sale {\n isClosed\n id\n }\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/TrendingLotsRail_Test_Query.graphql.ts b/src/__generated__/TrendingLotsRail_Test_Query.graphql.ts index ac5235eeb2c..2dbb5dcaa90 100644 --- a/src/__generated__/TrendingLotsRail_Test_Query.graphql.ts +++ b/src/__generated__/TrendingLotsRail_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -44,37 +44,37 @@ v2 = { "storageKey": null }, v3 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v4 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v4 = { +v5 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v5 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v6 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v7 = [ - (v4/*: any*/), + (v5/*: any*/), (v0/*: any*/) ], v8 = { @@ -387,6 +387,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v1/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v3/*: any*/), + "storageKey": null + }, + (v0/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -407,7 +430,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -455,7 +478,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v4/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -463,7 +486,7 @@ return { "selections": [ (v0/*: any*/), (v2/*: any*/), - (v4/*: any*/) + (v5/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -476,13 +499,13 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v4/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v4/*: any*/), + (v5/*: any*/), (v2/*: any*/), (v0/*: any*/) ], @@ -496,7 +519,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -544,7 +567,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, { @@ -554,7 +577,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v6/*: any*/), + "selections": (v3/*: any*/), "storageKey": null }, (v0/*: any*/) @@ -569,7 +592,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v5/*: any*/), + (v6/*: any*/), (v0/*: any*/) ], "storageKey": null @@ -677,7 +700,7 @@ return { ] }, "params": { - "cacheID": "71af6bd96d0da7f5adad2522691b034c", + "cacheID": "ecaad0c5970a9363f6479dbd739b5bde", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -763,6 +786,21 @@ return { "viewer.trendingLotsConnection.edges.node.collectorSignals.auction.lotClosesAt": (v12/*: any*/), "viewer.trendingLotsConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v13/*: any*/), "viewer.trendingLotsConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v12/*: any*/), + "viewer.trendingLotsConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "viewer.trendingLotsConnection.edges.node.collectorSignals.partnerOffer.endAt": (v12/*: any*/), + "viewer.trendingLotsConnection.edges.node.collectorSignals.partnerOffer.id": (v10/*: any*/), + "viewer.trendingLotsConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "viewer.trendingLotsConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v12/*: any*/), "viewer.trendingLotsConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -872,7 +910,7 @@ return { }, "name": "TrendingLotsRail_Test_Query", "operationKind": "query", - "text": "query TrendingLotsRail_Test_Query {\n viewer {\n ...TrendingLotsRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n\nfragment TrendingLotsRail_viewer on Viewer {\n trendingLotsConnection: saleArtworksConnection(biddableSale: true, first: 10, sort: \"-bidder_positions_count\", estimateRange: \"5_000_00-*\") {\n edges {\n counts {\n bidderPositions\n }\n node {\n internalID\n slug\n sale {\n isClosed\n id\n }\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n}\n" + "text": "query TrendingLotsRail_Test_Query {\n viewer {\n ...TrendingLotsRail_viewer\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n\nfragment TrendingLotsRail_viewer on Viewer {\n trendingLotsConnection: saleArtworksConnection(biddableSale: true, first: 10, sort: \"-bidder_positions_count\", estimateRange: \"5_000_00-*\") {\n edges {\n counts {\n bidderPositions\n }\n node {\n internalID\n slug\n sale {\n isClosed\n id\n }\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/UserActiveBids_Test_Query.graphql.ts b/src/__generated__/UserActiveBids_Test_Query.graphql.ts index ddf3f5f64f0..c33d8775d6a 100644 --- a/src/__generated__/UserActiveBids_Test_Query.graphql.ts +++ b/src/__generated__/UserActiveBids_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<32f204c762e1dfc5d0a3c70ae385927e>> + * @generated SignedSource<<12ddca24cfdd8c6968024df8a6f01e37>> * @lightSyntaxTransform * @nogrep */ @@ -43,45 +43,45 @@ v2 = { "name": "href", "storageKey": null }, -v3 = [ +v3 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v4 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v5 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v4 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v6 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v7 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v8 = [ - (v4/*: any*/), + (v6/*: any*/), (v1/*: any*/) ], v9 = { @@ -312,6 +312,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v3/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v4/*: any*/), + "storageKey": null + }, + (v1/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -332,7 +355,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -380,7 +403,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -388,7 +411,7 @@ return { "selections": [ (v1/*: any*/), (v2/*: any*/), - (v4/*: any*/) + (v6/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -401,13 +424,13 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v5/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v4/*: any*/), + (v6/*: any*/), (v2/*: any*/), (v1/*: any*/) ], @@ -421,7 +444,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v5/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -469,9 +492,9 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), (v0/*: any*/), - (v5/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -511,7 +534,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, { @@ -521,7 +544,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, (v1/*: any*/) @@ -536,7 +559,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), (v1/*: any*/) ], "storageKey": null @@ -637,7 +660,7 @@ return { ] }, "params": { - "cacheID": "b872805eabb6f362be321e5ee4d2f35f", + "cacheID": "0903db18aeb2aa37e7b9fac30c0902eb", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -715,6 +738,21 @@ return { "me.activeLotStandings.saleArtwork.artwork.collectorSignals.auction.lotClosesAt": (v12/*: any*/), "me.activeLotStandings.saleArtwork.artwork.collectorSignals.auction.onlineBiddingExtended": (v13/*: any*/), "me.activeLotStandings.saleArtwork.artwork.collectorSignals.auction.registrationEndsAt": (v12/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "me.activeLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer.endAt": (v12/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer.id": (v11/*: any*/), + "me.activeLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "me.activeLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer.priceWithDiscount.display": (v12/*: any*/), "me.activeLotStandings.saleArtwork.artwork.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -835,7 +873,7 @@ return { }, "name": "UserActiveBids_Test_Query", "operationKind": "query", - "text": "query UserActiveBids_Test_Query {\n me {\n ...UserActiveBids_me\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment SettingsAuctionsLotStanding_lotStanding on LotStanding {\n isLeadingBidder\n saleArtwork {\n lotLabel\n sale {\n isClosed\n id\n }\n artwork {\n ...Details_artwork\n href\n image {\n cropped(height: 100, width: 100) {\n src\n srcSet\n }\n }\n id\n }\n id\n }\n}\n\nfragment UserActiveBids_me on Me {\n activeLotStandings: lotStandings(live: true) {\n ...SettingsAuctionsLotStanding_lotStanding\n }\n}\n" + "text": "query UserActiveBids_Test_Query {\n me {\n ...UserActiveBids_me\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment SettingsAuctionsLotStanding_lotStanding on LotStanding {\n isLeadingBidder\n saleArtwork {\n lotLabel\n sale {\n isClosed\n id\n }\n artwork {\n ...Details_artwork\n href\n image {\n cropped(height: 100, width: 100) {\n src\n srcSet\n }\n }\n id\n }\n id\n }\n}\n\nfragment UserActiveBids_me on Me {\n activeLotStandings: lotStandings(live: true) {\n ...SettingsAuctionsLotStanding_lotStanding\n }\n}\n" } }; })(); diff --git a/src/__generated__/UserBidHistory_Test_Query.graphql.ts b/src/__generated__/UserBidHistory_Test_Query.graphql.ts index 982ceb3c4cb..9566bfce27e 100644 --- a/src/__generated__/UserBidHistory_Test_Query.graphql.ts +++ b/src/__generated__/UserBidHistory_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<9ff8f20c02bba7d2f0edf4b361b60e16>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -43,45 +43,45 @@ v2 = { "name": "href", "storageKey": null }, -v3 = [ +v3 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v4 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v5 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v4 = { +v6 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v6 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v7 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v8 = [ - (v4/*: any*/), + (v6/*: any*/), (v1/*: any*/) ], v9 = { @@ -312,6 +312,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v3/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v4/*: any*/), + "storageKey": null + }, + (v1/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -332,7 +355,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -380,7 +403,7 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v5/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -388,7 +411,7 @@ return { "selections": [ (v1/*: any*/), (v2/*: any*/), - (v4/*: any*/) + (v6/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -401,13 +424,13 @@ return { }, { "alias": null, - "args": (v3/*: any*/), + "args": (v5/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v4/*: any*/), + (v6/*: any*/), (v2/*: any*/), (v1/*: any*/) ], @@ -421,7 +444,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v5/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -469,9 +492,9 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), (v0/*: any*/), - (v5/*: any*/), + (v3/*: any*/), { "alias": null, "args": null, @@ -511,7 +534,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, { @@ -521,7 +544,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v7/*: any*/), + "selections": (v4/*: any*/), "storageKey": null }, (v1/*: any*/) @@ -536,7 +559,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v6/*: any*/), + (v7/*: any*/), (v1/*: any*/) ], "storageKey": null @@ -637,7 +660,7 @@ return { ] }, "params": { - "cacheID": "cb25f2895906399075aa5e001aee3898", + "cacheID": "66502def81344bdd1c348fc0beed4e06", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -716,6 +739,21 @@ return { "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.auction.lotClosesAt": (v12/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.auction.onlineBiddingExtended": (v13/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.auction.registrationEndsAt": (v12/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer.endAt": (v12/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer.id": (v9/*: any*/), + "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.partnerOffer.priceWithDiscount.display": (v12/*: any*/), "me.inactiveLotStandings.saleArtwork.artwork.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -835,7 +873,7 @@ return { }, "name": "UserBidHistory_Test_Query", "operationKind": "query", - "text": "query UserBidHistory_Test_Query {\n me {\n ...UserBidHistory_me\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment SettingsAuctionsLotStanding_lotStanding on LotStanding {\n isLeadingBidder\n saleArtwork {\n lotLabel\n sale {\n isClosed\n id\n }\n artwork {\n ...Details_artwork\n href\n image {\n cropped(height: 100, width: 100) {\n src\n srcSet\n }\n }\n id\n }\n id\n }\n}\n\nfragment UserBidHistory_me on Me {\n inactiveLotStandings: lotStandings(live: false) {\n ...SettingsAuctionsLotStanding_lotStanding\n }\n}\n" + "text": "query UserBidHistory_Test_Query {\n me {\n ...UserBidHistory_me\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment SettingsAuctionsLotStanding_lotStanding on LotStanding {\n isLeadingBidder\n saleArtwork {\n lotLabel\n sale {\n isClosed\n id\n }\n artwork {\n ...Details_artwork\n href\n image {\n cropped(height: 100, width: 100) {\n src\n srcSet\n }\n }\n id\n }\n id\n }\n}\n\nfragment UserBidHistory_me on Me {\n inactiveLotStandings: lotStandings(live: false) {\n ...SettingsAuctionsLotStanding_lotStanding\n }\n}\n" } }; })(); diff --git a/src/__generated__/ViewingRoomWorksRoute_Test_Query.graphql.ts b/src/__generated__/ViewingRoomWorksRoute_Test_Query.graphql.ts index 9dad6f48830..12da758e115 100644 --- a/src/__generated__/ViewingRoomWorksRoute_Test_Query.graphql.ts +++ b/src/__generated__/ViewingRoomWorksRoute_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<541207910a4aefb40cd4ea35b2c5155b>> + * @generated SignedSource<<26c0bb4f295e1ca3c01c58cc00bafd6e>> * @lightSyntaxTransform * @nogrep */ @@ -49,6 +49,13 @@ export type ViewingRoomWorksRoute_Test_Query$rawResponse = { readonly onlineBiddingExtended: boolean; readonly registrationEndsAt: string | null | undefined; } | null | undefined; + readonly partnerOffer: { + readonly endAt: string | null | undefined; + readonly id: string; + readonly priceWithDiscount: { + readonly display: string | null | undefined; + } | null | undefined; + } | null | undefined; readonly primaryLabel: LabelSignalEnum | null | undefined; } | null | undefined; readonly cultural_maker: string | null | undefined; @@ -197,53 +204,53 @@ v6 = { "name": "href", "storageKey": null }, -v7 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v8 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v8 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v9 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v10 = { +v10 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v11 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v11 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v12 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v13 = [ - (v9/*: any*/), - (v8/*: any*/) + (v11/*: any*/), + (v9/*: any*/) ], v14 = { "enumValues": null, @@ -482,6 +489,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v7/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v8/*: any*/), + "storageKey": null + }, + (v9/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -502,7 +532,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -526,7 +556,7 @@ return { ], "storageKey": null }, - (v8/*: any*/) + (v9/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -550,15 +580,15 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v8/*: any*/), + (v9/*: any*/), (v6/*: any*/), - (v9/*: any*/) + (v11/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -571,15 +601,15 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v10/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v9/*: any*/), + (v11/*: any*/), (v6/*: any*/), - (v8/*: any*/) + (v9/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -591,7 +621,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v10/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -627,7 +657,7 @@ return { "name": "isClosed", "storageKey": null }, - (v8/*: any*/) + (v9/*: any*/) ], "storageKey": null }, @@ -639,7 +669,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -647,7 +677,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v10/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -687,7 +717,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, { @@ -697,10 +727,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, - (v8/*: any*/) + (v9/*: any*/) ], "storageKey": null }, @@ -712,8 +742,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), - (v8/*: any*/) + (v12/*: any*/), + (v9/*: any*/) ], "storageKey": null }, @@ -748,7 +778,7 @@ return { ], "storageKey": null }, - (v8/*: any*/), + (v9/*: any*/), { "alias": null, "args": [ @@ -777,7 +807,7 @@ return { ] }, "params": { - "cacheID": "4f12f6d44cfbb29e571ba1f41aaeced7", + "cacheID": "49f387a8d774cfa0cb47cab9446cb711", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -860,6 +890,21 @@ return { "viewingRoom.artworksConnection.edges.node.collectorSignals.auction.lotClosesAt": (v14/*: any*/), "viewingRoom.artworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v17/*: any*/), "viewingRoom.artworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v14/*: any*/), + "viewingRoom.artworksConnection.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "viewingRoom.artworksConnection.edges.node.collectorSignals.partnerOffer.endAt": (v14/*: any*/), + "viewingRoom.artworksConnection.edges.node.collectorSignals.partnerOffer.id": (v15/*: any*/), + "viewingRoom.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "viewingRoom.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v14/*: any*/), "viewingRoom.artworksConnection.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -987,7 +1032,7 @@ return { }, "name": "ViewingRoomWorksRoute_Test_Query", "operationKind": "query", - "text": "query ViewingRoomWorksRoute_Test_Query(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomWorksRoute_viewingRoom\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ViewingRoomArtworkDetails_artwork on Artwork {\n ...Details_artwork\n id\n additionalInformation(format: HTML)\n href\n}\n\nfragment ViewingRoomWorksRoute_viewingRoom on ViewingRoom {\n artworksConnection {\n edges {\n node {\n internalID\n title\n images {\n internalID\n solo: resized(quality: 85, width: 600, version: \"normalized\") {\n src\n srcSet\n width\n height\n }\n resized(quality: 85, height: 550, version: \"normalized\") {\n src\n srcSet\n width\n height\n }\n }\n ...ViewingRoomArtworkDetails_artwork\n id\n }\n }\n }\n}\n" + "text": "query ViewingRoomWorksRoute_Test_Query(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomWorksRoute_viewingRoom\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ViewingRoomArtworkDetails_artwork on Artwork {\n ...Details_artwork\n id\n additionalInformation(format: HTML)\n href\n}\n\nfragment ViewingRoomWorksRoute_viewingRoom on ViewingRoom {\n artworksConnection {\n edges {\n node {\n internalID\n title\n images {\n internalID\n solo: resized(quality: 85, width: 600, version: \"normalized\") {\n src\n srcSet\n width\n height\n }\n resized(quality: 85, height: 550, version: \"normalized\") {\n src\n srcSet\n width\n height\n }\n }\n ...ViewingRoomArtworkDetails_artwork\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/WorksFilterQuery.graphql.ts b/src/__generated__/WorksFilterQuery.graphql.ts index 5aa08029685..053e81263bf 100644 --- a/src/__generated__/WorksFilterQuery.graphql.ts +++ b/src/__generated__/WorksFilterQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -188,43 +188,43 @@ v16 = { "large" ] }, -v17 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v18 = { +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v19 = { +v18 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v19 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v20 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v20 = { +v21 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v21 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v22 = [ (v9/*: any*/), (v10/*: any*/) @@ -743,6 +743,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v17/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v18/*: any*/), + "storageKey": null + }, + (v10/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -763,7 +786,7 @@ return { }, { "alias": null, - "args": (v17/*: any*/), + "args": (v19/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -811,7 +834,7 @@ return { }, { "alias": null, - "args": (v17/*: any*/), + "args": (v19/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -832,7 +855,7 @@ return { }, { "alias": null, - "args": (v17/*: any*/), + "args": (v19/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -852,7 +875,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v18/*: any*/), + (v17/*: any*/), { "alias": null, "args": null, @@ -914,7 +937,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v19/*: any*/), + (v20/*: any*/), { "alias": null, "args": null, @@ -922,8 +945,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v18/*: any*/), - (v20/*: any*/), + (v17/*: any*/), + (v21/*: any*/), { "alias": null, "args": null, @@ -956,7 +979,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v21/*: any*/), + "selections": (v18/*: any*/), "storageKey": null }, { @@ -966,7 +989,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v21/*: any*/), + "selections": (v18/*: any*/), "storageKey": null }, (v10/*: any*/) @@ -981,10 +1004,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v19/*: any*/), + (v20/*: any*/), (v10/*: any*/), - (v18/*: any*/), - (v20/*: any*/) + (v17/*: any*/), + (v21/*: any*/) ], "storageKey": null }, @@ -1059,12 +1082,12 @@ return { ] }, "params": { - "cacheID": "db3621a8708d293f58aa893635fa268f", + "cacheID": "caf4109ff71056e833c15929c4499e4e", "id": null, "metadata": {}, "name": "WorksFilterQuery", "operationKind": "query", - "text": "query WorksFilterQuery(\n $partnerId: String!\n $input: FilterArtworksInput\n $aggregations: [ArtworkAggregation]\n $shouldFetchCounts: Boolean!\n) {\n partner(id: $partnerId) {\n ...Works_partner_3TMxyn\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment Works_partner_3TMxyn on Partner {\n slug\n internalID\n featuredKeywords\n sidebar: filterArtworksConnection(first: 1, aggregations: $aggregations) {\n counts @include(if: $shouldFetchCounts) {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" + "text": "query WorksFilterQuery(\n $partnerId: String!\n $input: FilterArtworksInput\n $aggregations: [ArtworkAggregation]\n $shouldFetchCounts: Boolean!\n) {\n partner(id: $partnerId) {\n ...Works_partner_3TMxyn\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment Works_partner_3TMxyn on Partner {\n slug\n internalID\n featuredKeywords\n sidebar: filterArtworksConnection(first: 1, aggregations: $aggregations) {\n counts @include(if: $shouldFetchCounts) {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" } }; })(); diff --git a/src/__generated__/WorksFilterRefetchQuery.graphql.ts b/src/__generated__/WorksFilterRefetchQuery.graphql.ts index d3768bb89c6..6b99eca6990 100644 --- a/src/__generated__/WorksFilterRefetchQuery.graphql.ts +++ b/src/__generated__/WorksFilterRefetchQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<7ad8ca79b682503855536d6255f49dc8>> * @lightSyntaxTransform * @nogrep */ @@ -171,43 +171,43 @@ v13 = { "large" ] }, -v14 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v15 = { +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v16 = { +v15 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v16 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v17 = { +v18 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v18 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v19 = [ (v6/*: any*/), (v7/*: any*/) @@ -690,6 +690,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v14/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v15/*: any*/), + "storageKey": null + }, + (v7/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -710,7 +733,7 @@ return { }, { "alias": null, - "args": (v14/*: any*/), + "args": (v16/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -758,7 +781,7 @@ return { }, { "alias": null, - "args": (v14/*: any*/), + "args": (v16/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -779,7 +802,7 @@ return { }, { "alias": null, - "args": (v14/*: any*/), + "args": (v16/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -799,7 +822,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v15/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -861,7 +884,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v16/*: any*/), + (v17/*: any*/), { "alias": null, "args": null, @@ -869,8 +892,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v15/*: any*/), - (v17/*: any*/), + (v14/*: any*/), + (v18/*: any*/), { "alias": null, "args": null, @@ -903,7 +926,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v18/*: any*/), + "selections": (v15/*: any*/), "storageKey": null }, { @@ -913,7 +936,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v18/*: any*/), + "selections": (v15/*: any*/), "storageKey": null }, (v7/*: any*/) @@ -928,10 +951,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v16/*: any*/), + (v17/*: any*/), (v7/*: any*/), - (v15/*: any*/), - (v17/*: any*/) + (v14/*: any*/), + (v18/*: any*/) ], "storageKey": null }, @@ -1006,12 +1029,12 @@ return { ] }, "params": { - "cacheID": "8b333ede5c7ef440f3bde5cbc7defad4", + "cacheID": "d09330fa7b97194a04d95f3237439a53", "id": null, "metadata": {}, "name": "WorksFilterRefetchQuery", "operationKind": "query", - "text": "query WorksFilterRefetchQuery(\n $partnerId: String!\n $input: FilterArtworksInput\n) {\n partner(id: $partnerId) {\n ...Works_partner_2VV6jB\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment Works_partner_2VV6jB on Partner {\n slug\n internalID\n featuredKeywords\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" + "text": "query WorksFilterRefetchQuery(\n $partnerId: String!\n $input: FilterArtworksInput\n) {\n partner(id: $partnerId) {\n ...Works_partner_2VV6jB\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment Works_partner_2VV6jB on Partner {\n slug\n internalID\n featuredKeywords\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30, input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" } }; })(); diff --git a/src/__generated__/WorksForYouApp_test_Query.graphql.ts b/src/__generated__/WorksForYouApp_test_Query.graphql.ts index 1520805adcb..48047d8575a 100644 --- a/src/__generated__/WorksForYouApp_test_Query.graphql.ts +++ b/src/__generated__/WorksForYouApp_test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<6c11f69d79d3fdb29ac456e52b8aedaf>> + * @generated SignedSource<<3951bf5a9f6ac7f3ab51943422741541>> * @lightSyntaxTransform * @nogrep */ @@ -311,6 +311,22 @@ v21 = { "storageKey": null }, v22 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v23 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v24 = { "alias": null, "args": null, "concreteType": "CollectorSignals", @@ -370,34 +386,57 @@ v22 = { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v22/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v23/*: any*/), + "storageKey": null + }, + (v12/*: any*/) + ], + "storageKey": null } ], "storageKey": null }, -v23 = { +v25 = { "alias": "sale_message", "args": null, "kind": "ScalarField", "name": "saleMessage", "storageKey": null }, -v24 = { +v26 = { "alias": "cultural_maker", "args": null, "kind": "ScalarField", "name": "culturalMaker", "storageKey": null }, -v25 = [ +v27 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v26 = { +v28 = { "alias": null, - "args": (v25/*: any*/), + "args": (v27/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -425,7 +464,7 @@ v26 = { ], "storageKey": "artist(shallow:true)" }, -v27 = { +v29 = { "alias": null, "args": null, "concreteType": "ArtworkPriceInsights", @@ -443,9 +482,9 @@ v27 = { ], "storageKey": null }, -v28 = { +v30 = { "alias": null, - "args": (v25/*: any*/), + "args": (v27/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -457,16 +496,16 @@ v28 = { ], "storageKey": "artists(shallow:true)" }, -v29 = { +v31 = { "alias": "collecting_institution", "args": null, "kind": "ScalarField", "name": "collectingInstitution", "storageKey": null }, -v30 = { +v32 = { "alias": null, - "args": (v25/*: any*/), + "args": (v27/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -478,14 +517,7 @@ v30 = { ], "storageKey": "partner(shallow:true)" }, -v31 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v32 = { +v33 = { "alias": null, "args": null, "concreteType": "Sale", @@ -493,7 +525,7 @@ v32 = { "name": "sale", "plural": false, "selections": [ - (v31/*: any*/), + (v22/*: any*/), { "alias": null, "args": null, @@ -547,29 +579,20 @@ v32 = { ], "storageKey": null }, -v33 = { +v34 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v34 = { +v35 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v35 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v36 = { "alias": "sale_artwork", "args": null, @@ -578,7 +601,7 @@ v36 = { "name": "saleArtwork", "plural": false, "selections": [ - (v33/*: any*/), + (v34/*: any*/), { "alias": null, "args": null, @@ -586,8 +609,8 @@ v36 = { "name": "lotLabel", "storageKey": null }, - (v31/*: any*/), - (v34/*: any*/), + (v22/*: any*/), + (v35/*: any*/), { "alias": null, "args": null, @@ -620,7 +643,7 @@ v36 = { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v35/*: any*/), + "selections": (v23/*: any*/), "storageKey": null }, { @@ -630,7 +653,7 @@ v36 = { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v35/*: any*/), + "selections": (v23/*: any*/), "storageKey": null }, (v12/*: any*/) @@ -645,10 +668,10 @@ v37 = { "name": "saleArtwork", "plural": false, "selections": [ - (v33/*: any*/), + (v34/*: any*/), (v12/*: any*/), - (v31/*: any*/), - (v34/*: any*/) + (v22/*: any*/), + (v35/*: any*/) ], "storageKey": null }, @@ -817,6 +840,18 @@ v62 = { "type": "Boolean" }, v63 = { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" +}, +v64 = { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" +}, +v65 = { "enumValues": [ "CURATORS_PICK", "INCREASED_INTEREST", @@ -826,139 +861,139 @@ v63 = { "plural": false, "type": "LabelSignalEnum" }, -v64 = { +v66 = { "enumValues": null, "nullable": true, "plural": false, "type": "Image" }, -v65 = { +v67 = { "enumValues": null, "nullable": false, "plural": false, "type": "Float" }, -v66 = { +v68 = { "enumValues": null, "nullable": true, "plural": false, "type": "ID" }, -v67 = { +v69 = { "enumValues": null, "nullable": true, "plural": false, "type": "ResizedImageUrl" }, -v68 = { +v70 = { "enumValues": null, "nullable": true, "plural": false, "type": "Int" }, -v69 = { +v71 = { "enumValues": null, "nullable": true, "plural": true, "type": "String" }, -v70 = { +v72 = { "enumValues": null, "nullable": true, "plural": false, "type": "ArtworkPriceInsights" }, -v71 = { +v73 = { "enumValues": null, "nullable": true, "plural": false, "type": "Float" }, -v72 = { +v74 = { "enumValues": null, "nullable": true, "plural": false, "type": "ArtworkMedium" }, -v73 = { +v75 = { "enumValues": null, "nullable": true, "plural": false, "type": "Gene" }, -v74 = { +v76 = { "enumValues": null, "nullable": true, "plural": false, "type": "Partner" }, -v75 = { +v77 = { "enumValues": null, "nullable": true, "plural": false, "type": "Sale" }, -v76 = { +v78 = { "enumValues": null, "nullable": true, "plural": false, "type": "SaleArtwork" }, -v77 = { +v79 = { "enumValues": null, "nullable": true, "plural": false, "type": "SaleArtworkCounts" }, -v78 = { +v80 = { "enumValues": null, "nullable": true, "plural": false, "type": "FormattedNumber" }, -v79 = { +v81 = { "enumValues": null, "nullable": true, "plural": false, "type": "SaleArtworkHighestBid" }, -v80 = { +v82 = { "enumValues": null, "nullable": true, "plural": false, "type": "SaleArtworkOpeningBid" }, -v81 = { +v83 = { "enumValues": null, "nullable": false, "plural": false, "type": "PageInfo" }, -v82 = { +v84 = { "enumValues": null, "nullable": true, "plural": false, "type": "Me" }, -v83 = { +v85 = { "enumValues": null, "nullable": true, "plural": false, "type": "FollowsAndSaves" }, -v84 = { +v86 = { "enumValues": null, "nullable": true, "plural": false, "type": "FollowedArtistsArtworksGroupConnection" }, -v85 = { +v87 = { "enumValues": null, "nullable": true, "plural": true, "type": "FollowedArtistsArtworksGroupEdge" }, -v86 = { +v88 = { "enumValues": null, "nullable": true, "plural": false, @@ -1173,15 +1208,15 @@ return { (v19/*: any*/), (v20/*: any*/), (v21/*: any*/), - (v22/*: any*/), - (v23/*: any*/), (v24/*: any*/), + (v25/*: any*/), (v26/*: any*/), - (v27/*: any*/), (v28/*: any*/), (v29/*: any*/), (v30/*: any*/), + (v31/*: any*/), (v32/*: any*/), + (v33/*: any*/), (v36/*: any*/), (v37/*: any*/), (v39/*: any*/), @@ -1343,15 +1378,15 @@ return { (v19/*: any*/), (v20/*: any*/), (v21/*: any*/), - (v22/*: any*/), - (v23/*: any*/), (v24/*: any*/), + (v25/*: any*/), (v26/*: any*/), - (v27/*: any*/), (v28/*: any*/), (v29/*: any*/), (v30/*: any*/), + (v31/*: any*/), (v32/*: any*/), + (v33/*: any*/), (v36/*: any*/), (v37/*: any*/), (v39/*: any*/), @@ -1545,7 +1580,7 @@ return { ] }, "params": { - "cacheID": "70abe227c0ca29515a1973bcf8df4893", + "cacheID": "a922785d0350ba965e74476ba8c07766", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1580,69 +1615,74 @@ return { "viewerArtist.artist.artworksConnection.edges.node.collectorSignals.auction.lotClosesAt": (v56/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v62/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v56/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.collectorSignals.primaryLabel": (v63/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.collectorSignals.partnerOffer": (v63/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.collectorSignals.partnerOffer.endAt": (v56/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.collectorSignals.partnerOffer.id": (v52/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": (v64/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v56/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.collectorSignals.primaryLabel": (v65/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.cultural_maker": (v56/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.date": (v56/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.href": (v56/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.id": (v52/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.image": (v64/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.image.aspectRatio": (v65/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.image": (v66/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.image.aspectRatio": (v67/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.image.blurhashDataURL": (v56/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.image.internalID": (v66/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.image.internalID": (v68/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.image.placeholder": (v56/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.image.resized": (v67/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.image.resized.height": (v68/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.image.resized": (v69/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.image.resized.height": (v70/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.image.resized.src": (v50/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.image.resized.srcSet": (v50/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.image.resized.width": (v68/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.image.resized.width": (v70/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.image.url": (v56/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.image.versions": (v69/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.image.versions": (v71/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.imageTitle": (v56/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.image_title": (v56/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.internalID": (v52/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.isUnlisted": (v62/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.marketPriceInsights": (v70/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.marketPriceInsights.demandRank": (v71/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.mediumType": (v72/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.mediumType.filterGene": (v73/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.marketPriceInsights": (v72/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.marketPriceInsights.demandRank": (v73/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.mediumType": (v74/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.mediumType.filterGene": (v75/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.mediumType.filterGene.id": (v52/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.mediumType.filterGene.name": (v56/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.partner": (v74/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.partner": (v76/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.partner.href": (v56/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.partner.id": (v52/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.partner.name": (v56/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.sale": (v75/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.sale.cascadingEndTimeIntervalMinutes": (v68/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.sale": (v77/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.sale.cascadingEndTimeIntervalMinutes": (v70/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.sale.endAt": (v56/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.sale.extendedBiddingIntervalMinutes": (v68/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.sale.extendedBiddingPeriodMinutes": (v68/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.sale.extendedBiddingIntervalMinutes": (v70/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.sale.extendedBiddingPeriodMinutes": (v70/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.sale.id": (v52/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.sale.isOpen": (v55/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.sale.is_auction": (v55/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.sale.is_closed": (v55/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.sale.startAt": (v56/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.saleArtwork": (v76/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.saleArtwork": (v78/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.saleArtwork.endAt": (v56/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.saleArtwork.extendedBiddingEndAt": (v56/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.saleArtwork.id": (v52/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.saleArtwork.lotID": (v56/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.sale_artwork": (v76/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.sale_artwork.counts": (v77/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.sale_artwork.counts.bidder_positions": (v78/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.sale_artwork": (v78/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.sale_artwork.counts": (v79/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.sale_artwork.counts.bidder_positions": (v80/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.sale_artwork.endAt": (v56/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.sale_artwork.extendedBiddingEndAt": (v56/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.sale_artwork.formattedEndDateTime": (v56/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.sale_artwork.highest_bid": (v79/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.sale_artwork.highest_bid": (v81/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.sale_artwork.highest_bid.display": (v56/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.sale_artwork.id": (v52/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.sale_artwork.lotID": (v56/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.sale_artwork.lotLabel": (v56/*: any*/), - "viewerArtist.artist.artworksConnection.edges.node.sale_artwork.opening_bid": (v80/*: any*/), + "viewerArtist.artist.artworksConnection.edges.node.sale_artwork.opening_bid": (v82/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.sale_artwork.opening_bid.display": (v56/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.sale_message": (v56/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.slug": (v52/*: any*/), "viewerArtist.artist.artworksConnection.edges.node.title": (v56/*: any*/), - "viewerArtist.artist.artworksConnection.pageInfo": (v81/*: any*/), + "viewerArtist.artist.artworksConnection.pageInfo": (v83/*: any*/), "viewerArtist.artist.artworksConnection.pageInfo.endCursor": (v56/*: any*/), "viewerArtist.artist.artworksConnection.pageInfo.hasNextPage": (v62/*: any*/), "viewerArtist.artist.counts": { @@ -1651,23 +1691,23 @@ return { "plural": false, "type": "ArtistCounts" }, - "viewerArtist.artist.counts.artworks": (v78/*: any*/), - "viewerArtist.artist.counts.forSaleArtworks": (v78/*: any*/), + "viewerArtist.artist.counts.artworks": (v80/*: any*/), + "viewerArtist.artist.counts.forSaleArtworks": (v80/*: any*/), "viewerArtist.artist.href": (v56/*: any*/), "viewerArtist.artist.id": (v52/*: any*/), - "viewerArtist.artist.image": (v64/*: any*/), - "viewerArtist.artist.image.resized": (v67/*: any*/), + "viewerArtist.artist.image": (v66/*: any*/), + "viewerArtist.artist.image.resized": (v69/*: any*/), "viewerArtist.artist.image.resized.src": (v50/*: any*/), "viewerArtist.artist.image.resized.srcSet": (v50/*: any*/), "viewerArtist.artist.internalID": (v52/*: any*/), "viewerArtist.artist.name": (v56/*: any*/), "viewerFeed": (v47/*: any*/), - "viewerFeed.me": (v82/*: any*/), - "viewerFeed.me.followsAndSaves": (v83/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection": (v84/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges": (v85/*: any*/), + "viewerFeed.me": (v84/*: any*/), + "viewerFeed.me.followsAndSaves": (v85/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection": (v86/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges": (v87/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.cursor": (v50/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node": (v86/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node": (v88/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.__typename": (v50/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artists": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection": (v49/*: any*/), @@ -1697,83 +1737,88 @@ return { "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.collectorSignals.auction.lotClosesAt": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.collectorSignals.auction.onlineBiddingExtended": (v62/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.collectorSignals.auction.registrationEndsAt": (v56/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.collectorSignals.primaryLabel": (v63/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.collectorSignals.partnerOffer": (v63/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.collectorSignals.partnerOffer.endAt": (v56/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.collectorSignals.partnerOffer.id": (v52/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount": (v64/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v56/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.collectorSignals.primaryLabel": (v65/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.cultural_maker": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.date": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.href": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.id": (v52/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image": (v64/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.aspectRatio": (v65/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image": (v66/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.aspectRatio": (v67/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.blurhashDataURL": (v56/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.internalID": (v66/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.internalID": (v68/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.placeholder": (v56/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.resized": (v67/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.resized.height": (v68/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.resized": (v69/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.resized.height": (v70/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.resized.src": (v50/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.resized.srcSet": (v50/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.resized.width": (v68/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.resized.width": (v70/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.url": (v56/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.versions": (v69/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image.versions": (v71/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.imageTitle": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.image_title": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.internalID": (v52/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.isUnlisted": (v62/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.marketPriceInsights": (v70/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.marketPriceInsights.demandRank": (v71/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.mediumType": (v72/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.mediumType.filterGene": (v73/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.marketPriceInsights": (v72/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.marketPriceInsights.demandRank": (v73/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.mediumType": (v74/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.mediumType.filterGene": (v75/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.mediumType.filterGene.id": (v52/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.mediumType.filterGene.name": (v56/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.partner": (v74/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.partner": (v76/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.partner.href": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.partner.id": (v52/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.partner.name": (v56/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale": (v75/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale.cascadingEndTimeIntervalMinutes": (v68/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale": (v77/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale.cascadingEndTimeIntervalMinutes": (v70/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale.endAt": (v56/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale.extendedBiddingIntervalMinutes": (v68/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale.extendedBiddingPeriodMinutes": (v68/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale.extendedBiddingIntervalMinutes": (v70/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale.extendedBiddingPeriodMinutes": (v70/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale.id": (v52/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale.isOpen": (v55/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale.is_auction": (v55/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale.is_closed": (v55/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale.startAt": (v56/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.saleArtwork": (v76/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.saleArtwork": (v78/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.saleArtwork.endAt": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.saleArtwork.extendedBiddingEndAt": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.saleArtwork.id": (v52/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.saleArtwork.lotID": (v56/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork": (v76/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork.counts": (v77/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork.counts.bidder_positions": (v78/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork": (v78/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork.counts": (v79/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork.counts.bidder_positions": (v80/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork.endAt": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork.extendedBiddingEndAt": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork.formattedEndDateTime": (v56/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork.highest_bid": (v79/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork.highest_bid": (v81/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork.highest_bid.display": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork.id": (v52/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork.lotID": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork.lotLabel": (v56/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork.opening_bid": (v80/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork.opening_bid": (v82/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_artwork.opening_bid.display": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.sale_message": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.slug": (v52/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.artworksConnection.edges.node.title": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.href": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.id": (v52/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.image": (v64/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.image.resized": (v67/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.image": (v66/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.image.resized": (v69/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.image.resized.src": (v50/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.image.resized.srcSet": (v50/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.publishedAt": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.summary": (v56/*: any*/), - "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.pageInfo": (v81/*: any*/), + "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.pageInfo": (v83/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.pageInfo.endCursor": (v56/*: any*/), "viewerFeed.me.followsAndSaves.bundledArtworksByArtistConnection.pageInfo.hasNextPage": (v62/*: any*/), "viewerFeed.me.id": (v52/*: any*/), "viewerMe": (v47/*: any*/), - "viewerMe.me": (v82/*: any*/), - "viewerMe.me.followsAndSaves": (v83/*: any*/), + "viewerMe.me": (v84/*: any*/), + "viewerMe.me.followsAndSaves": (v85/*: any*/), "viewerMe.me.followsAndSaves.artistsConnection": { "enumValues": null, "nullable": true, @@ -1797,17 +1842,17 @@ return { "viewerMe.me.followsAndSaves.artistsConnection.edges.node.artist.name": (v56/*: any*/), "viewerMe.me.followsAndSaves.artistsConnection.edges.node.artist.slug": (v52/*: any*/), "viewerMe.me.followsAndSaves.artistsConnection.edges.node.id": (v52/*: any*/), - "viewerMe.me.followsAndSaves.artistsConnection.totalCount": (v68/*: any*/), - "viewerMe.me.followsAndSaves.bundledArtworksByArtistConnection": (v84/*: any*/), - "viewerMe.me.followsAndSaves.bundledArtworksByArtistConnection.edges": (v85/*: any*/), - "viewerMe.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node": (v86/*: any*/), + "viewerMe.me.followsAndSaves.artistsConnection.totalCount": (v70/*: any*/), + "viewerMe.me.followsAndSaves.bundledArtworksByArtistConnection": (v86/*: any*/), + "viewerMe.me.followsAndSaves.bundledArtworksByArtistConnection.edges": (v87/*: any*/), + "viewerMe.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node": (v88/*: any*/), "viewerMe.me.followsAndSaves.bundledArtworksByArtistConnection.edges.node.id": (v52/*: any*/), "viewerMe.me.id": (v52/*: any*/) } }, "name": "WorksForYouApp_test_Query", "operationKind": "query", - "text": "query WorksForYouApp_test_Query(\n $includeSelectedArtist: Boolean!\n $artistSlug: String!\n) {\n viewerArtist: viewer {\n ...WorksForYouApp_viewerArtist_1H2h5M @include(if: $includeSelectedArtist)\n }\n viewerFeed: viewer {\n ...WorksForYouApp_viewerFeed @skip(if: $includeSelectedArtist)\n }\n viewerMe: viewer {\n ...WorksForYouApp_viewerMe\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment WorksForYouApp_viewerArtist_1H2h5M on Viewer {\n ...WorksForYouArtistFeed_viewer_1H2h5M\n}\n\nfragment WorksForYouApp_viewerFeed on Viewer {\n ...WorksForYouFeed_viewer\n}\n\nfragment WorksForYouApp_viewerMe on Viewer {\n me {\n followsAndSaves {\n artistsConnection(first: 99) {\n totalCount\n edges {\n node {\n artist {\n name\n slug\n id\n }\n id\n }\n }\n }\n bundledArtworksByArtistConnection(first: 1, forSale: true) {\n edges {\n node {\n id\n }\n }\n }\n }\n id\n }\n}\n\nfragment WorksForYouArtistFeed_viewer_1H2h5M on Viewer {\n artist(id: $artistSlug) {\n internalID\n name\n href\n counts {\n artworks\n forSaleArtworks\n }\n image {\n resized(height: 80, width: 80) {\n src\n srcSet\n }\n }\n artworksConnection(sort: PUBLISHED_AT_DESC, first: 25, filter: [IS_FOR_SALE]) {\n ...ArtworkGrid_artworks\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n }\n id\n }\n}\n\nfragment WorksForYouFeed_viewer on Viewer {\n me {\n followsAndSaves {\n bundledArtworksByArtistConnection(sort: PUBLISHED_AT_DESC, first: 25, forSale: true) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n href\n summary\n artists\n publishedAt(format: \"MMM DD\")\n artworksConnection {\n ...ArtworkGrid_artworks\n }\n image {\n resized(height: 80, width: 80) {\n src\n srcSet\n }\n }\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n" + "text": "query WorksForYouApp_test_Query(\n $includeSelectedArtist: Boolean!\n $artistSlug: String!\n) {\n viewerArtist: viewer {\n ...WorksForYouApp_viewerArtist_1H2h5M @include(if: $includeSelectedArtist)\n }\n viewerFeed: viewer {\n ...WorksForYouApp_viewerFeed @skip(if: $includeSelectedArtist)\n }\n viewerMe: viewer {\n ...WorksForYouApp_viewerMe\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment WorksForYouApp_viewerArtist_1H2h5M on Viewer {\n ...WorksForYouArtistFeed_viewer_1H2h5M\n}\n\nfragment WorksForYouApp_viewerFeed on Viewer {\n ...WorksForYouFeed_viewer\n}\n\nfragment WorksForYouApp_viewerMe on Viewer {\n me {\n followsAndSaves {\n artistsConnection(first: 99) {\n totalCount\n edges {\n node {\n artist {\n name\n slug\n id\n }\n id\n }\n }\n }\n bundledArtworksByArtistConnection(first: 1, forSale: true) {\n edges {\n node {\n id\n }\n }\n }\n }\n id\n }\n}\n\nfragment WorksForYouArtistFeed_viewer_1H2h5M on Viewer {\n artist(id: $artistSlug) {\n internalID\n name\n href\n counts {\n artworks\n forSaleArtworks\n }\n image {\n resized(height: 80, width: 80) {\n src\n srcSet\n }\n }\n artworksConnection(sort: PUBLISHED_AT_DESC, first: 25, filter: [IS_FOR_SALE]) {\n ...ArtworkGrid_artworks\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n }\n id\n }\n}\n\nfragment WorksForYouFeed_viewer on Viewer {\n me {\n followsAndSaves {\n bundledArtworksByArtistConnection(sort: PUBLISHED_AT_DESC, first: 25, forSale: true) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n href\n summary\n artists\n publishedAt(format: \"MMM DD\")\n artworksConnection {\n ...ArtworkGrid_artworks\n }\n image {\n resized(height: 80, width: 80) {\n src\n srcSet\n }\n }\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/__generated__/WorksForYouArtistFeedPaginationQuery.graphql.ts b/src/__generated__/WorksForYouArtistFeedPaginationQuery.graphql.ts index e38db5f6b93..00ac83e2f4e 100644 --- a/src/__generated__/WorksForYouArtistFeedPaginationQuery.graphql.ts +++ b/src/__generated__/WorksForYouArtistFeedPaginationQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -130,43 +130,43 @@ v10 = { "large" ] }, -v11 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v12 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v13 = { +v12 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v13 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v14 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v15 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v16 = [ (v3/*: any*/), (v8/*: any*/) @@ -576,6 +576,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v11/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v12/*: any*/), + "storageKey": null + }, + (v8/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -596,7 +619,7 @@ return { }, { "alias": null, - "args": (v11/*: any*/), + "args": (v13/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -644,7 +667,7 @@ return { }, { "alias": null, - "args": (v11/*: any*/), + "args": (v13/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -665,7 +688,7 @@ return { }, { "alias": null, - "args": (v11/*: any*/), + "args": (v13/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -685,7 +708,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v12/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -747,7 +770,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v13/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -755,8 +778,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v12/*: any*/), - (v14/*: any*/), + (v11/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -789,7 +812,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v15/*: any*/), + "selections": (v12/*: any*/), "storageKey": null }, { @@ -799,7 +822,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v15/*: any*/), + "selections": (v12/*: any*/), "storageKey": null }, (v8/*: any*/) @@ -814,10 +837,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v13/*: any*/), + (v14/*: any*/), (v8/*: any*/), - (v12/*: any*/), - (v14/*: any*/) + (v11/*: any*/), + (v15/*: any*/) ], "storageKey": null }, @@ -909,12 +932,12 @@ return { ] }, "params": { - "cacheID": "2ed14ab212e3b3ac24d59db8c333cc2b", + "cacheID": "e68b01ee91ff6ea23fae53184850eeeb", "id": null, "metadata": {}, "name": "WorksForYouArtistFeedPaginationQuery", "operationKind": "query", - "text": "query WorksForYouArtistFeedPaginationQuery(\n $artistSlug: String!\n $count: Int!\n $cursor: String\n $filter: [ArtistArtworksFilters]\n) {\n viewer {\n ...WorksForYouArtistFeed_viewer_1dft6k\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment WorksForYouArtistFeed_viewer_1dft6k on Viewer {\n artist(id: $artistSlug) {\n internalID\n name\n href\n counts {\n artworks\n forSaleArtworks\n }\n image {\n resized(height: 80, width: 80) {\n src\n srcSet\n }\n }\n artworksConnection(sort: PUBLISHED_AT_DESC, first: $count, after: $cursor, filter: $filter) {\n ...ArtworkGrid_artworks\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n }\n id\n }\n}\n" + "text": "query WorksForYouArtistFeedPaginationQuery(\n $artistSlug: String!\n $count: Int!\n $cursor: String\n $filter: [ArtistArtworksFilters]\n) {\n viewer {\n ...WorksForYouArtistFeed_viewer_1dft6k\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment WorksForYouArtistFeed_viewer_1dft6k on Viewer {\n artist(id: $artistSlug) {\n internalID\n name\n href\n counts {\n artworks\n forSaleArtworks\n }\n image {\n resized(height: 80, width: 80) {\n src\n srcSet\n }\n }\n artworksConnection(sort: PUBLISHED_AT_DESC, first: $count, after: $cursor, filter: $filter) {\n ...ArtworkGrid_artworks\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/__generated__/WorksForYouFeedPaginationQuery.graphql.ts b/src/__generated__/WorksForYouFeedPaginationQuery.graphql.ts index 23f9c6a35e3..0ae4a940a2b 100644 --- a/src/__generated__/WorksForYouFeedPaginationQuery.graphql.ts +++ b/src/__generated__/WorksForYouFeedPaginationQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -109,52 +109,52 @@ v8 = { "name": "srcSet", "storageKey": null }, -v9 = [ +v9 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v10 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v11 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v10 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v12 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v13 = { +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v14 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v15 = [ - (v10/*: any*/), + (v12/*: any*/), (v2/*: any*/) ]; return { @@ -518,6 +518,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v9/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v10/*: any*/), + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -538,7 +561,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -586,7 +609,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -594,7 +617,7 @@ return { "selections": [ (v2/*: any*/), (v3/*: any*/), - (v10/*: any*/) + (v12/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -607,13 +630,13 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v10/*: any*/), + (v12/*: any*/), (v3/*: any*/), (v2/*: any*/) ], @@ -627,7 +650,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v11/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -689,7 +712,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v12/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -697,8 +720,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v11/*: any*/), - (v13/*: any*/), + (v9/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -731,7 +754,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v14/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, { @@ -741,7 +764,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v14/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, (v2/*: any*/) @@ -756,10 +779,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v12/*: any*/), + (v13/*: any*/), (v2/*: any*/), - (v11/*: any*/), - (v13/*: any*/) + (v9/*: any*/), + (v14/*: any*/) ], "storageKey": null }, @@ -906,12 +929,12 @@ return { ] }, "params": { - "cacheID": "996885a7f76deab061e46c7564e7cb8c", + "cacheID": "0c1b79eed4cc4f7ec275629dbbccb00a", "id": null, "metadata": {}, "name": "WorksForYouFeedPaginationQuery", "operationKind": "query", - "text": "query WorksForYouFeedPaginationQuery(\n $count: Int!\n $cursor: String\n) {\n viewer {\n ...WorksForYouFeed_viewer_1G22uz\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment WorksForYouFeed_viewer_1G22uz on Viewer {\n me {\n followsAndSaves {\n bundledArtworksByArtistConnection(sort: PUBLISHED_AT_DESC, first: $count, after: $cursor, forSale: true) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n href\n summary\n artists\n publishedAt(format: \"MMM DD\")\n artworksConnection {\n ...ArtworkGrid_artworks\n }\n image {\n resized(height: 80, width: 80) {\n src\n srcSet\n }\n }\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n" + "text": "query WorksForYouFeedPaginationQuery(\n $count: Int!\n $cursor: String\n) {\n viewer {\n ...WorksForYouFeed_viewer_1G22uz\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment WorksForYouFeed_viewer_1G22uz on Viewer {\n me {\n followsAndSaves {\n bundledArtworksByArtistConnection(sort: PUBLISHED_AT_DESC, first: $count, after: $cursor, forSale: true) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n href\n summary\n artists\n publishedAt(format: \"MMM DD\")\n artworksConnection {\n ...ArtworkGrid_artworks\n }\n image {\n resized(height: 80, width: 80) {\n src\n srcSet\n }\n }\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/__generated__/WorksTL_Query.graphql.ts b/src/__generated__/WorksTL_Query.graphql.ts index 6f1a989a465..2ecf3d64d00 100644 --- a/src/__generated__/WorksTL_Query.graphql.ts +++ b/src/__generated__/WorksTL_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<5bf0a8c3571be176a8ab80d3a78122c4>> + * @generated SignedSource<<06af8a78911387eee79cc01f0096097e>> * @lightSyntaxTransform * @nogrep */ @@ -109,43 +109,43 @@ v11 = { "large" ] }, -v12 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v13 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v14 = { +v13 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v14 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v15 = { +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v16 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v17 = [ (v4/*: any*/), (v5/*: any*/) @@ -691,6 +691,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v12/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v13/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -711,7 +734,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -759,7 +782,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -780,7 +803,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -800,7 +823,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v13/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -862,7 +885,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v14/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -870,8 +893,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v13/*: any*/), - (v15/*: any*/), + (v12/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -904,7 +927,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, { @@ -914,7 +937,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, (v5/*: any*/) @@ -929,10 +952,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v14/*: any*/), + (v15/*: any*/), (v5/*: any*/), - (v13/*: any*/), - (v15/*: any*/) + (v12/*: any*/), + (v16/*: any*/) ], "storageKey": null }, @@ -1007,7 +1030,7 @@ return { ] }, "params": { - "cacheID": "064a081d77d77d5155efef8508a72a8c", + "cacheID": "98ee76180eb66c3575d7170b521817c9", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1092,6 +1115,21 @@ return { "partner.filtered_artworks.edges.node.collectorSignals.auction.lotClosesAt": (v24/*: any*/), "partner.filtered_artworks.edges.node.collectorSignals.auction.onlineBiddingExtended": (v26/*: any*/), "partner.filtered_artworks.edges.node.collectorSignals.auction.registrationEndsAt": (v24/*: any*/), + "partner.filtered_artworks.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "partner.filtered_artworks.edges.node.collectorSignals.partnerOffer.endAt": (v24/*: any*/), + "partner.filtered_artworks.edges.node.collectorSignals.partnerOffer.id": (v22/*: any*/), + "partner.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "partner.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v24/*: any*/), "partner.filtered_artworks.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1314,7 +1352,7 @@ return { }, "name": "WorksTL_Query", "operationKind": "query", - "text": "query WorksTL_Query(\n $partnerId: String!\n) {\n partner(id: $partnerId) {\n ...Works_partner\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment Works_partner on Partner {\n slug\n internalID\n featuredKeywords\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" + "text": "query WorksTL_Query(\n $partnerId: String!\n) {\n partner(id: $partnerId) {\n ...Works_partner\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment Works_partner on Partner {\n slug\n internalID\n featuredKeywords\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" } }; })(); diff --git a/src/__generated__/Works_Query.graphql.ts b/src/__generated__/Works_Query.graphql.ts index d39ac357a18..209913a8ed7 100644 --- a/src/__generated__/Works_Query.graphql.ts +++ b/src/__generated__/Works_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<7d528a5ab2565ecdbf9c14dceb1d2005>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -109,43 +109,43 @@ v11 = { "large" ] }, -v12 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v13 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v14 = { +v13 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v14 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v15 = { +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v16 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v17 = [ (v4/*: any*/), (v5/*: any*/) @@ -691,6 +691,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v12/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v13/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -711,7 +734,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -759,7 +782,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -780,7 +803,7 @@ return { }, { "alias": null, - "args": (v12/*: any*/), + "args": (v14/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -800,7 +823,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v13/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -862,7 +885,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v14/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -870,8 +893,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v13/*: any*/), - (v15/*: any*/), + (v12/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -904,7 +927,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, { @@ -914,7 +937,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v16/*: any*/), + "selections": (v13/*: any*/), "storageKey": null }, (v5/*: any*/) @@ -929,10 +952,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v14/*: any*/), + (v15/*: any*/), (v5/*: any*/), - (v13/*: any*/), - (v15/*: any*/) + (v12/*: any*/), + (v16/*: any*/) ], "storageKey": null }, @@ -1007,7 +1030,7 @@ return { ] }, "params": { - "cacheID": "ef897eb6fc136203c2f03f69f9123945", + "cacheID": "2094338cd2ec5d15780cbc4564144409", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1092,6 +1115,21 @@ return { "partner.filtered_artworks.edges.node.collectorSignals.auction.lotClosesAt": (v24/*: any*/), "partner.filtered_artworks.edges.node.collectorSignals.auction.onlineBiddingExtended": (v26/*: any*/), "partner.filtered_artworks.edges.node.collectorSignals.auction.registrationEndsAt": (v24/*: any*/), + "partner.filtered_artworks.edges.node.collectorSignals.partnerOffer": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "PartnerOfferToCollector" + }, + "partner.filtered_artworks.edges.node.collectorSignals.partnerOffer.endAt": (v24/*: any*/), + "partner.filtered_artworks.edges.node.collectorSignals.partnerOffer.id": (v22/*: any*/), + "partner.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "Money" + }, + "partner.filtered_artworks.edges.node.collectorSignals.partnerOffer.priceWithDiscount.display": (v24/*: any*/), "partner.filtered_artworks.edges.node.collectorSignals.primaryLabel": { "enumValues": [ "CURATORS_PICK", @@ -1314,7 +1352,7 @@ return { }, "name": "Works_Query", "operationKind": "query", - "text": "query Works_Query(\n $partnerId: String!\n) {\n partner(id: $partnerId) {\n ...Works_partner\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment Works_partner on Partner {\n slug\n internalID\n featuredKeywords\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" + "text": "query Works_Query(\n $partnerId: String!\n) {\n partner(id: $partnerId) {\n ...Works_partner\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment Works_partner on Partner {\n slug\n internalID\n featuredKeywords\n sidebar: filterArtworksConnection(first: 1) {\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n filtered_artworks: filterArtworksConnection(first: 30) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n}\n" } }; })(); diff --git a/src/__generated__/articleRoutes_ArticleQuery.graphql.ts b/src/__generated__/articleRoutes_ArticleQuery.graphql.ts index aa7fca64b68..c2561e26b49 100644 --- a/src/__generated__/articleRoutes_ArticleQuery.graphql.ts +++ b/src/__generated__/articleRoutes_ArticleQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<8988a36244169fe80125769d6f8a31eb>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -193,28 +193,14 @@ v21 = { "name": "date", "storageKey": null }, -v22 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v23 = { +v22 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v24 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lotID", - "storageKey": null -}, -v25 = [ +v23 = [ { "alias": null, "args": null, @@ -223,6 +209,20 @@ v25 = [ "storageKey": null } ], +v24 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v25 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "lotID", + "storageKey": null +}, v26 = [ (v14/*: any*/), (v15/*: any*/) @@ -722,6 +722,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v22/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v23/*: any*/), + "storageKey": null + }, + (v15/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -742,7 +765,7 @@ return { }, { "alias": null, - "args": (v22/*: any*/), + "args": (v24/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -790,7 +813,7 @@ return { }, { "alias": null, - "args": (v22/*: any*/), + "args": (v24/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -811,7 +834,7 @@ return { }, { "alias": null, - "args": (v22/*: any*/), + "args": (v24/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -831,7 +854,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v23/*: any*/), + (v22/*: any*/), { "alias": null, "args": null, @@ -886,7 +909,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v24/*: any*/), + (v25/*: any*/), { "alias": null, "args": null, @@ -894,7 +917,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v23/*: any*/), + (v22/*: any*/), { "alias": null, "args": null, @@ -934,7 +957,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v25/*: any*/), + "selections": (v23/*: any*/), "storageKey": null }, { @@ -944,7 +967,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v25/*: any*/), + "selections": (v23/*: any*/), "storageKey": null }, (v15/*: any*/) @@ -959,7 +982,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v24/*: any*/), + (v25/*: any*/), (v15/*: any*/) ], "storageKey": null @@ -1467,12 +1490,12 @@ return { ] }, "params": { - "cacheID": "ddaf51172801055c3cf47ec547c0dcb4", + "cacheID": "ba49e54efa798830209df23e057a2212", "id": null, "metadata": {}, "name": "articleRoutes_ArticleQuery", "operationKind": "query", - "text": "query articleRoutes_ArticleQuery(\n $id: String!\n) {\n article(id: $id) @principalField {\n ...ArticleApp_article\n id\n }\n}\n\nfragment ArticleApp_article on Article {\n ...ArticleBody_article\n ...ArticleSeries_article\n ...ArticleVideo_article\n ...ArticleVisibilityMetadata_article\n ...ArticleMetaTags_article\n internalID\n layout\n channelID\n}\n\nfragment ArticleBody_article on Article {\n ...ArticleHero_article\n ...ArticleByline_article\n ...ArticleSectionAd_article\n ...ArticleNewsSource_article\n hero {\n __typename\n }\n seriesArticle {\n thumbnailTitle\n href\n id\n }\n vertical\n byline\n internalID\n slug\n layout\n leadParagraph\n title\n href\n publishedAt\n sections {\n __typename\n ...ArticleSection_section\n }\n postscript\n relatedArticles {\n internalID\n title\n href\n byline\n thumbnailImage {\n cropped(width: 100, height: 100) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleByline_article on Article {\n byline\n authors {\n internalID\n name\n initials\n bio\n image {\n cropped(width: 60, height: 60) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleHero_article on Article {\n title\n href\n vertical\n byline\n hero {\n __typename\n ... on ArticleFeatureSection {\n layout\n embed\n media\n image {\n url\n split: resized(width: 900) {\n src\n srcSet\n }\n text: cropped(width: 1600, height: 900) {\n src\n srcSet\n }\n }\n }\n }\n}\n\nfragment ArticleMetaTags_article on Article {\n byline\n href\n keywords\n metaPublishedAt: publishedAt\n title\n searchTitle\n description\n searchDescription\n thumbnailImage {\n url\n }\n}\n\nfragment ArticleNewsSource_article on Article {\n newsSource {\n title\n url\n }\n}\n\nfragment ArticleSectionAd_article on Article {\n layout\n sections {\n __typename\n }\n}\n\nfragment ArticleSectionEmbed_section on ArticleSectionEmbed {\n url\n height\n mobileHeight\n _layout: layout\n}\n\nfragment ArticleSectionImageCollectionCaption_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ...Metadata_artwork\n ... on ArticleImageSection {\n caption\n }\n ... on ArticleUnpublishedArtwork {\n title\n date\n artist {\n name\n }\n partner {\n name\n }\n }\n}\n\nfragment ArticleSectionImageCollectionImage_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n ... on ArticleImageSection {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on Artwork {\n id\n formattedMetadata\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on ArticleUnpublishedArtwork {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n}\n\nfragment ArticleSectionImageCollection_section on ArticleSectionImageCollection {\n layout\n figures {\n __typename\n ...ArticleSectionImageCollectionImage_figure\n ...ArticleSectionImageCollectionCaption_figure\n ... on Node {\n __isNode: __typename\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on ArticleUnpublishedArtwork {\n id\n }\n }\n}\n\nfragment ArticleSectionImageSet_section on ArticleSectionImageSet {\n setLayout: layout\n title\n counts {\n figures\n }\n cover {\n __typename\n ... on ArticleImageSection {\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Artwork {\n formattedMetadata\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArticleSectionSocialEmbed_section on ArticleSectionSocialEmbed {\n url\n embed\n}\n\nfragment ArticleSectionText_section on ArticleSectionText {\n body\n}\n\nfragment ArticleSectionVideo_section on ArticleSectionVideo {\n embed(autoPlay: true)\n fallbackEmbed: embed(autoPlay: false)\n image {\n cropped(width: 910, height: 512) {\n src\n srcSet\n }\n }\n}\n\nfragment ArticleSection_section on ArticleSections {\n __isArticleSections: __typename\n __typename\n ...ArticleSectionText_section\n ...ArticleSectionImageCollection_section\n ...ArticleSectionImageSet_section\n ...ArticleSectionVideo_section\n ...ArticleSectionSocialEmbed_section\n ...ArticleSectionEmbed_section\n}\n\nfragment ArticleSeriesItem_article on Article {\n href\n vertical\n title\n thumbnailTitle\n byline\n description\n publishedAt(format: \"MMM DD, YYYY\")\n thumbnailImage {\n display: cropped(width: 869, height: 580) {\n src\n srcSet\n }\n }\n media {\n duration\n }\n seriesArticle {\n title\n id\n }\n}\n\nfragment ArticleSeries_article on Article {\n title\n byline\n href\n series {\n description\n }\n sponsor {\n ...ArticleSponsor_sponsor\n }\n relatedArticles {\n ...ArticleSeriesItem_article\n internalID\n id\n }\n}\n\nfragment ArticleSponsor_sponsor on ArticleSponsor {\n partnerLightLogo\n partnerDarkLogo\n partnerLogoLink\n}\n\nfragment ArticleVideo_article on Article {\n vertical\n title\n href\n description\n media {\n coverImage {\n url\n }\n credits\n description\n duration\n releaseDate(format: \"MMM DD, YYYY h:mma\")\n url\n }\n seriesArticle {\n title\n href\n description\n sponsor {\n ...ArticleSponsor_sponsor\n }\n id\n }\n moreRelatedArticles: relatedArticles(size: 4) {\n ...ArticleSeriesItem_article\n internalID\n id\n }\n}\n\nfragment ArticleVisibilityMetadata_article on Article {\n title\n searchTitle\n href\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query articleRoutes_ArticleQuery(\n $id: String!\n) {\n article(id: $id) @principalField {\n ...ArticleApp_article\n id\n }\n}\n\nfragment ArticleApp_article on Article {\n ...ArticleBody_article\n ...ArticleSeries_article\n ...ArticleVideo_article\n ...ArticleVisibilityMetadata_article\n ...ArticleMetaTags_article\n internalID\n layout\n channelID\n}\n\nfragment ArticleBody_article on Article {\n ...ArticleHero_article\n ...ArticleByline_article\n ...ArticleSectionAd_article\n ...ArticleNewsSource_article\n hero {\n __typename\n }\n seriesArticle {\n thumbnailTitle\n href\n id\n }\n vertical\n byline\n internalID\n slug\n layout\n leadParagraph\n title\n href\n publishedAt\n sections {\n __typename\n ...ArticleSection_section\n }\n postscript\n relatedArticles {\n internalID\n title\n href\n byline\n thumbnailImage {\n cropped(width: 100, height: 100) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleByline_article on Article {\n byline\n authors {\n internalID\n name\n initials\n bio\n image {\n cropped(width: 60, height: 60) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleHero_article on Article {\n title\n href\n vertical\n byline\n hero {\n __typename\n ... on ArticleFeatureSection {\n layout\n embed\n media\n image {\n url\n split: resized(width: 900) {\n src\n srcSet\n }\n text: cropped(width: 1600, height: 900) {\n src\n srcSet\n }\n }\n }\n }\n}\n\nfragment ArticleMetaTags_article on Article {\n byline\n href\n keywords\n metaPublishedAt: publishedAt\n title\n searchTitle\n description\n searchDescription\n thumbnailImage {\n url\n }\n}\n\nfragment ArticleNewsSource_article on Article {\n newsSource {\n title\n url\n }\n}\n\nfragment ArticleSectionAd_article on Article {\n layout\n sections {\n __typename\n }\n}\n\nfragment ArticleSectionEmbed_section on ArticleSectionEmbed {\n url\n height\n mobileHeight\n _layout: layout\n}\n\nfragment ArticleSectionImageCollectionCaption_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ...Metadata_artwork\n ... on ArticleImageSection {\n caption\n }\n ... on ArticleUnpublishedArtwork {\n title\n date\n artist {\n name\n }\n partner {\n name\n }\n }\n}\n\nfragment ArticleSectionImageCollectionImage_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n ... on ArticleImageSection {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on Artwork {\n id\n formattedMetadata\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on ArticleUnpublishedArtwork {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n}\n\nfragment ArticleSectionImageCollection_section on ArticleSectionImageCollection {\n layout\n figures {\n __typename\n ...ArticleSectionImageCollectionImage_figure\n ...ArticleSectionImageCollectionCaption_figure\n ... on Node {\n __isNode: __typename\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on ArticleUnpublishedArtwork {\n id\n }\n }\n}\n\nfragment ArticleSectionImageSet_section on ArticleSectionImageSet {\n setLayout: layout\n title\n counts {\n figures\n }\n cover {\n __typename\n ... on ArticleImageSection {\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Artwork {\n formattedMetadata\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArticleSectionSocialEmbed_section on ArticleSectionSocialEmbed {\n url\n embed\n}\n\nfragment ArticleSectionText_section on ArticleSectionText {\n body\n}\n\nfragment ArticleSectionVideo_section on ArticleSectionVideo {\n embed(autoPlay: true)\n fallbackEmbed: embed(autoPlay: false)\n image {\n cropped(width: 910, height: 512) {\n src\n srcSet\n }\n }\n}\n\nfragment ArticleSection_section on ArticleSections {\n __isArticleSections: __typename\n __typename\n ...ArticleSectionText_section\n ...ArticleSectionImageCollection_section\n ...ArticleSectionImageSet_section\n ...ArticleSectionVideo_section\n ...ArticleSectionSocialEmbed_section\n ...ArticleSectionEmbed_section\n}\n\nfragment ArticleSeriesItem_article on Article {\n href\n vertical\n title\n thumbnailTitle\n byline\n description\n publishedAt(format: \"MMM DD, YYYY\")\n thumbnailImage {\n display: cropped(width: 869, height: 580) {\n src\n srcSet\n }\n }\n media {\n duration\n }\n seriesArticle {\n title\n id\n }\n}\n\nfragment ArticleSeries_article on Article {\n title\n byline\n href\n series {\n description\n }\n sponsor {\n ...ArticleSponsor_sponsor\n }\n relatedArticles {\n ...ArticleSeriesItem_article\n internalID\n id\n }\n}\n\nfragment ArticleSponsor_sponsor on ArticleSponsor {\n partnerLightLogo\n partnerDarkLogo\n partnerLogoLink\n}\n\nfragment ArticleVideo_article on Article {\n vertical\n title\n href\n description\n media {\n coverImage {\n url\n }\n credits\n description\n duration\n releaseDate(format: \"MMM DD, YYYY h:mma\")\n url\n }\n seriesArticle {\n title\n href\n description\n sponsor {\n ...ArticleSponsor_sponsor\n }\n id\n }\n moreRelatedArticles: relatedArticles(size: 4) {\n ...ArticleSeriesItem_article\n internalID\n id\n }\n}\n\nfragment ArticleVisibilityMetadata_article on Article {\n title\n searchTitle\n href\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/articlesRoutes_NewsQuery.graphql.ts b/src/__generated__/articlesRoutes_NewsQuery.graphql.ts index 1017af2fc1e..fa32c794fc6 100644 --- a/src/__generated__/articlesRoutes_NewsQuery.graphql.ts +++ b/src/__generated__/articlesRoutes_NewsQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<55044c40d435c5bd47a720e64020439e>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -187,28 +187,14 @@ v19 = { "name": "date", "storageKey": null }, -v20 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v21 = { +v20 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v22 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lotID", - "storageKey": null -}, -v23 = [ +v21 = [ { "alias": null, "args": null, @@ -217,6 +203,20 @@ v23 = [ "storageKey": null } ], +v22 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v23 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "lotID", + "storageKey": null +}, v24 = [ (v12/*: any*/), (v13/*: any*/) @@ -632,6 +632,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v20/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v21/*: any*/), + "storageKey": null + }, + (v13/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -652,7 +675,7 @@ return { }, { "alias": null, - "args": (v20/*: any*/), + "args": (v22/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -700,7 +723,7 @@ return { }, { "alias": null, - "args": (v20/*: any*/), + "args": (v22/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -721,7 +744,7 @@ return { }, { "alias": null, - "args": (v20/*: any*/), + "args": (v22/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -741,7 +764,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v21/*: any*/), + (v20/*: any*/), { "alias": null, "args": null, @@ -796,7 +819,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v22/*: any*/), + (v23/*: any*/), { "alias": null, "args": null, @@ -804,7 +827,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v21/*: any*/), + (v20/*: any*/), { "alias": null, "args": null, @@ -844,7 +867,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v23/*: any*/), + "selections": (v21/*: any*/), "storageKey": null }, { @@ -854,7 +877,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v23/*: any*/), + "selections": (v21/*: any*/), "storageKey": null }, (v13/*: any*/) @@ -869,7 +892,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v22/*: any*/), + (v23/*: any*/), (v13/*: any*/) ], "storageKey": null @@ -1283,12 +1306,12 @@ return { ] }, "params": { - "cacheID": "fdd57df3e693657e9fe7dabf0e0baaaa", + "cacheID": "7c6f797569713722b6a4c4af0824590b", "id": null, "metadata": {}, "name": "articlesRoutes_NewsQuery", "operationKind": "query", - "text": "query articlesRoutes_NewsQuery {\n viewer {\n ...NewsApp_viewer\n }\n}\n\nfragment ArticleBody_article on Article {\n ...ArticleHero_article\n ...ArticleByline_article\n ...ArticleSectionAd_article\n ...ArticleNewsSource_article\n hero {\n __typename\n }\n seriesArticle {\n thumbnailTitle\n href\n id\n }\n vertical\n byline\n internalID\n slug\n layout\n leadParagraph\n title\n href\n publishedAt\n sections {\n __typename\n ...ArticleSection_section\n }\n postscript\n relatedArticles {\n internalID\n title\n href\n byline\n thumbnailImage {\n cropped(width: 100, height: 100) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleByline_article on Article {\n byline\n authors {\n internalID\n name\n initials\n bio\n image {\n cropped(width: 60, height: 60) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleHero_article on Article {\n title\n href\n vertical\n byline\n hero {\n __typename\n ... on ArticleFeatureSection {\n layout\n embed\n media\n image {\n url\n split: resized(width: 900) {\n src\n srcSet\n }\n text: cropped(width: 1600, height: 900) {\n src\n srcSet\n }\n }\n }\n }\n}\n\nfragment ArticleNewsSource_article on Article {\n newsSource {\n title\n url\n }\n}\n\nfragment ArticleSectionAd_article on Article {\n layout\n sections {\n __typename\n }\n}\n\nfragment ArticleSectionEmbed_section on ArticleSectionEmbed {\n url\n height\n mobileHeight\n _layout: layout\n}\n\nfragment ArticleSectionImageCollectionCaption_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ...Metadata_artwork\n ... on ArticleImageSection {\n caption\n }\n ... on ArticleUnpublishedArtwork {\n title\n date\n artist {\n name\n }\n partner {\n name\n }\n }\n}\n\nfragment ArticleSectionImageCollectionImage_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n ... on ArticleImageSection {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on Artwork {\n id\n formattedMetadata\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on ArticleUnpublishedArtwork {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n}\n\nfragment ArticleSectionImageCollection_section on ArticleSectionImageCollection {\n layout\n figures {\n __typename\n ...ArticleSectionImageCollectionImage_figure\n ...ArticleSectionImageCollectionCaption_figure\n ... on Node {\n __isNode: __typename\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on ArticleUnpublishedArtwork {\n id\n }\n }\n}\n\nfragment ArticleSectionImageSet_section on ArticleSectionImageSet {\n setLayout: layout\n title\n counts {\n figures\n }\n cover {\n __typename\n ... on ArticleImageSection {\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Artwork {\n formattedMetadata\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArticleSectionSocialEmbed_section on ArticleSectionSocialEmbed {\n url\n embed\n}\n\nfragment ArticleSectionText_section on ArticleSectionText {\n body\n}\n\nfragment ArticleSectionVideo_section on ArticleSectionVideo {\n embed(autoPlay: true)\n fallbackEmbed: embed(autoPlay: false)\n image {\n cropped(width: 910, height: 512) {\n src\n srcSet\n }\n }\n}\n\nfragment ArticleSection_section on ArticleSections {\n __isArticleSections: __typename\n __typename\n ...ArticleSectionText_section\n ...ArticleSectionImageCollection_section\n ...ArticleSectionImageSet_section\n ...ArticleSectionVideo_section\n ...ArticleSectionSocialEmbed_section\n ...ArticleSectionEmbed_section\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment NewsApp_viewer on Viewer {\n ...NewsIndexArticles_viewer\n}\n\nfragment NewsIndexArticles_viewer on Viewer {\n articlesConnection(first: 15, layout: NEWS, sort: PUBLISHED_AT_DESC) {\n edges {\n node {\n internalID\n ...ArticleBody_article\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query articlesRoutes_NewsQuery {\n viewer {\n ...NewsApp_viewer\n }\n}\n\nfragment ArticleBody_article on Article {\n ...ArticleHero_article\n ...ArticleByline_article\n ...ArticleSectionAd_article\n ...ArticleNewsSource_article\n hero {\n __typename\n }\n seriesArticle {\n thumbnailTitle\n href\n id\n }\n vertical\n byline\n internalID\n slug\n layout\n leadParagraph\n title\n href\n publishedAt\n sections {\n __typename\n ...ArticleSection_section\n }\n postscript\n relatedArticles {\n internalID\n title\n href\n byline\n thumbnailImage {\n cropped(width: 100, height: 100) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleByline_article on Article {\n byline\n authors {\n internalID\n name\n initials\n bio\n image {\n cropped(width: 60, height: 60) {\n src\n srcSet\n }\n }\n id\n }\n}\n\nfragment ArticleHero_article on Article {\n title\n href\n vertical\n byline\n hero {\n __typename\n ... on ArticleFeatureSection {\n layout\n embed\n media\n image {\n url\n split: resized(width: 900) {\n src\n srcSet\n }\n text: cropped(width: 1600, height: 900) {\n src\n srcSet\n }\n }\n }\n }\n}\n\nfragment ArticleNewsSource_article on Article {\n newsSource {\n title\n url\n }\n}\n\nfragment ArticleSectionAd_article on Article {\n layout\n sections {\n __typename\n }\n}\n\nfragment ArticleSectionEmbed_section on ArticleSectionEmbed {\n url\n height\n mobileHeight\n _layout: layout\n}\n\nfragment ArticleSectionImageCollectionCaption_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n __typename\n ...Metadata_artwork\n ... on ArticleImageSection {\n caption\n }\n ... on ArticleUnpublishedArtwork {\n title\n date\n artist {\n name\n }\n partner {\n name\n }\n }\n}\n\nfragment ArticleSectionImageCollectionImage_figure on ArticleSectionImageCollectionFigure {\n __isArticleSectionImageCollectionFigure: __typename\n ... on ArticleImageSection {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on Artwork {\n id\n formattedMetadata\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n ... on ArticleUnpublishedArtwork {\n id\n image {\n url(version: [\"main\", \"normalized\", \"larger\", \"large\"])\n width\n height\n }\n }\n}\n\nfragment ArticleSectionImageCollection_section on ArticleSectionImageCollection {\n layout\n figures {\n __typename\n ...ArticleSectionImageCollectionImage_figure\n ...ArticleSectionImageCollectionCaption_figure\n ... on Node {\n __isNode: __typename\n id\n }\n ... on ArticleImageSection {\n id\n }\n ... on ArticleUnpublishedArtwork {\n id\n }\n }\n}\n\nfragment ArticleSectionImageSet_section on ArticleSectionImageSet {\n setLayout: layout\n title\n counts {\n figures\n }\n cover {\n __typename\n ... on ArticleImageSection {\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Artwork {\n formattedMetadata\n id\n image {\n small: cropped(width: 80, height: 80, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n large: resized(width: 1220, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n height\n width\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArticleSectionSocialEmbed_section on ArticleSectionSocialEmbed {\n url\n embed\n}\n\nfragment ArticleSectionText_section on ArticleSectionText {\n body\n}\n\nfragment ArticleSectionVideo_section on ArticleSectionVideo {\n embed(autoPlay: true)\n fallbackEmbed: embed(autoPlay: false)\n image {\n cropped(width: 910, height: 512) {\n src\n srcSet\n }\n }\n}\n\nfragment ArticleSection_section on ArticleSections {\n __isArticleSections: __typename\n __typename\n ...ArticleSectionText_section\n ...ArticleSectionImageCollection_section\n ...ArticleSectionImageSet_section\n ...ArticleSectionVideo_section\n ...ArticleSectionSocialEmbed_section\n ...ArticleSectionEmbed_section\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment NewsApp_viewer on Viewer {\n ...NewsIndexArticles_viewer\n}\n\nfragment NewsIndexArticles_viewer on Viewer {\n articlesConnection(first: 15, layout: NEWS, sort: PUBLISHED_AT_DESC) {\n edges {\n node {\n internalID\n ...ArticleBody_article\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/artistRoutes_ArtistConsignQuery.graphql.ts b/src/__generated__/artistRoutes_ArtistConsignQuery.graphql.ts index 2ff326cdfac..1f6a312a20e 100644 --- a/src/__generated__/artistRoutes_ArtistConsignQuery.graphql.ts +++ b/src/__generated__/artistRoutes_ArtistConsignQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<99184ef7c6067f89a6ca15d5a5edcc72>> + * @generated SignedSource<<34510acce7659ab9362634a94111f0c3>> * @lightSyntaxTransform * @nogrep */ @@ -83,28 +83,14 @@ v7 = { "name": "id", "storageKey": null }, -v8 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v9 = { +v8 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lotID", - "storageKey": null -}, -v11 = [ +v9 = [ { "alias": null, "args": null, @@ -113,6 +99,20 @@ v11 = [ "storageKey": null } ], +v10 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v11 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "lotID", + "storageKey": null +}, v12 = [ (v3/*: any*/), (v7/*: any*/) @@ -389,6 +389,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v8/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v9/*: any*/), + "storageKey": null + }, + (v7/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -409,7 +432,7 @@ return { }, { "alias": null, - "args": (v8/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -457,7 +480,7 @@ return { }, { "alias": null, - "args": (v8/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -478,7 +501,7 @@ return { }, { "alias": null, - "args": (v8/*: any*/), + "args": (v10/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -498,7 +521,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v9/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -553,7 +576,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v10/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -561,7 +584,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v9/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -601,7 +624,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v11/*: any*/), + "selections": (v9/*: any*/), "storageKey": null }, { @@ -611,7 +634,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v11/*: any*/), + "selections": (v9/*: any*/), "storageKey": null }, (v7/*: any*/) @@ -626,7 +649,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v10/*: any*/), + (v11/*: any*/), (v7/*: any*/) ], "storageKey": null @@ -745,12 +768,12 @@ return { ] }, "params": { - "cacheID": "fd10ed36382650fc3a787066d11deb23", + "cacheID": "30d640c4662f03da9f2d7ba4cf1bf450", "id": null, "metadata": {}, "name": "artistRoutes_ArtistConsignQuery", "operationKind": "query", - "text": "query artistRoutes_ArtistConsignQuery(\n $artistID: String!\n) @cacheable {\n artist(id: $artistID) @principalField {\n ...ArtistConsignRoute_artist\n targetSupply {\n isInMicrofunnel\n }\n id\n }\n}\n\nfragment ArtistConsignFAQ_artist on Artist {\n href\n}\n\nfragment ArtistConsignHeader_artist on Artist {\n name\n href\n targetSupply {\n microfunnel {\n artworksConnection {\n edges {\n node {\n image {\n cropped(width: 300, height: 300) {\n width\n height\n src\n srcSet\n }\n }\n id\n }\n }\n }\n }\n }\n}\n\nfragment ArtistConsignHowToSell_artist on Artist {\n href\n}\n\nfragment ArtistConsignMarketTrends_artist on Artist {\n href\n targetSupply {\n microfunnel {\n metadata {\n highestRealized\n str\n realized\n }\n }\n }\n}\n\nfragment ArtistConsignMeta_artist on Artist {\n name\n href\n targetSupply {\n microfunnel {\n artworksConnection {\n edges {\n node {\n image {\n imageURL: url(version: \"medium\")\n }\n id\n }\n }\n }\n }\n }\n}\n\nfragment ArtistConsignPageViews_artist on Artist {\n name\n targetSupply {\n microfunnel {\n metadata {\n roundedViews\n roundedUniqueVisitors\n }\n }\n }\n}\n\nfragment ArtistConsignRecentlySold_artist on Artist {\n name\n targetSupply {\n microfunnel {\n artworksConnection {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n realizedPrice\n id\n }\n }\n }\n }\n }\n}\n\nfragment ArtistConsignRoute_artist on Artist {\n ...ArtistConsignMeta_artist\n ...ArtistConsignHeader_artist\n ...ArtistConsignRecentlySold_artist\n ...ArtistConsignPageViews_artist\n ...ArtistConsignMarketTrends_artist\n ...ArtistConsignHowToSell_artist\n ...ArtistConsignFAQ_artist\n ...ArtistConsignSellArt_artist\n}\n\nfragment ArtistConsignSellArt_artist on Artist {\n href\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query artistRoutes_ArtistConsignQuery(\n $artistID: String!\n) @cacheable {\n artist(id: $artistID) @principalField {\n ...ArtistConsignRoute_artist\n targetSupply {\n isInMicrofunnel\n }\n id\n }\n}\n\nfragment ArtistConsignFAQ_artist on Artist {\n href\n}\n\nfragment ArtistConsignHeader_artist on Artist {\n name\n href\n targetSupply {\n microfunnel {\n artworksConnection {\n edges {\n node {\n image {\n cropped(width: 300, height: 300) {\n width\n height\n src\n srcSet\n }\n }\n id\n }\n }\n }\n }\n }\n}\n\nfragment ArtistConsignHowToSell_artist on Artist {\n href\n}\n\nfragment ArtistConsignMarketTrends_artist on Artist {\n href\n targetSupply {\n microfunnel {\n metadata {\n highestRealized\n str\n realized\n }\n }\n }\n}\n\nfragment ArtistConsignMeta_artist on Artist {\n name\n href\n targetSupply {\n microfunnel {\n artworksConnection {\n edges {\n node {\n image {\n imageURL: url(version: \"medium\")\n }\n id\n }\n }\n }\n }\n }\n}\n\nfragment ArtistConsignPageViews_artist on Artist {\n name\n targetSupply {\n microfunnel {\n metadata {\n roundedViews\n roundedUniqueVisitors\n }\n }\n }\n}\n\nfragment ArtistConsignRecentlySold_artist on Artist {\n name\n targetSupply {\n microfunnel {\n artworksConnection {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n realizedPrice\n id\n }\n }\n }\n }\n }\n}\n\nfragment ArtistConsignRoute_artist on Artist {\n ...ArtistConsignMeta_artist\n ...ArtistConsignHeader_artist\n ...ArtistConsignRecentlySold_artist\n ...ArtistConsignPageViews_artist\n ...ArtistConsignMarketTrends_artist\n ...ArtistConsignHowToSell_artist\n ...ArtistConsignFAQ_artist\n ...ArtistConsignSellArt_artist\n}\n\nfragment ArtistConsignSellArt_artist on Artist {\n href\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/auctionRoutes_TopLevelQuery.graphql.ts b/src/__generated__/auctionRoutes_TopLevelQuery.graphql.ts index 072fe55f364..20abf37131c 100644 --- a/src/__generated__/auctionRoutes_TopLevelQuery.graphql.ts +++ b/src/__generated__/auctionRoutes_TopLevelQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<05d56fea068edd95040baf8a1b7b930c>> + * @generated SignedSource<<7ad9461ccb44b961cd79fe67882c6b9b>> * @lightSyntaxTransform * @nogrep */ @@ -341,6 +341,29 @@ v37 = [ } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v21/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v8/*: any*/), + "storageKey": null + }, + (v18/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -1400,12 +1423,12 @@ return { ] }, "params": { - "cacheID": "77705a4e5f84cdd9531353c7230fd039", + "cacheID": "fbbb31e53ceb0fae8f9eac739e4ab386", "id": null, "metadata": {}, "name": "auctionRoutes_TopLevelQuery", "operationKind": "query", - "text": "query auctionRoutes_TopLevelQuery(\n $slug: String!\n $isLoggedIn: Boolean!\n) {\n me {\n ...AuctionApp_me_96HcF\n id\n }\n sale(id: $slug) @principalField {\n ...AuctionApp_sale\n id\n }\n viewer {\n ...AuctionApp_viewer_1PBNVF\n }\n}\n\nfragment AuctionActiveBids_me_96HcF on Me {\n internalID\n lotStandings(saleID: $slug, live: true) {\n isHighestBidder\n saleArtwork {\n ...AuctionLotInfo_saleArtwork_4oTW5x\n counts {\n bidderPositions\n }\n currentBid {\n display\n }\n slug\n lotLabel\n reserveStatus\n saleID\n highestBid {\n display\n }\n endedAt\n sale {\n slug\n liveStartAt\n endAt\n isLiveOpen\n isClosed\n id\n }\n id\n }\n }\n}\n\nfragment AuctionApp_me_96HcF on Me {\n ...AuctionActiveBids_me_96HcF\n ...AuctionDetails_me\n internalID\n showActiveBids: lotStandings(saleID: $slug, live: true) {\n activeBid {\n internalID\n id\n }\n }\n}\n\nfragment AuctionApp_sale on Sale {\n ...AuctionMeta_sale\n ...AuctionAssociatedSale_sale\n ...AuctionBuyNowRail_sale\n ...AuctionDetails_sale\n ...CascadingEndTimesBanner_sale\n internalID\n slug\n isClosed\n eligibleSaleArtworksCount\n coverImage {\n url(version: [\"wide\", \"source\", \"large_rectangle\"])\n }\n showAssociatedSale: associatedSale {\n internalID\n id\n }\n showBuyNowTab: promotedSale {\n internalID\n id\n }\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n status\n}\n\nfragment AuctionApp_viewer_1PBNVF on Viewer {\n ...AuctionWorksByFollowedArtistsRail_viewer_96HcF @include(if: $isLoggedIn)\n showFollowedArtistsTab: saleArtworksConnection(first: 1, aggregations: [TOTAL], saleSlug: $slug, includeArtworksByFollowedArtists: true) @include(if: $isLoggedIn) {\n edges {\n node {\n internalID\n id\n }\n id\n }\n }\n ...AuctionCurrentAuctionsRail_viewer\n}\n\nfragment AuctionAssociatedSale_sale on Sale {\n associatedSale {\n coverImage {\n cropped(width: 445, height: 250) {\n src\n srcSet\n }\n }\n displayTimelyAt\n href\n slug\n name\n id\n }\n}\n\nfragment AuctionBuyNowRail_sale on Sale {\n promotedSale {\n href\n internalID\n name\n saleArtworksConnection(first: 30) {\n edges {\n node {\n artwork {\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n }\n id\n }\n}\n\nfragment AuctionCurrentAuctionsRail_viewer on Viewer {\n salesConnection(first: 30, published: true, live: true, sort: LICENSED_TIMELY_AT_NAME_DESC) {\n edges {\n node {\n ...CellSale_sale\n id\n }\n }\n }\n}\n\nfragment AuctionDetails_me on Me {\n ...RegisterButton_me\n}\n\nfragment AuctionDetails_sale on Sale {\n ...RegisterButton_sale\n ...AuctionInfoSidebar_sale\n ...SaleDetailTimer_sale\n internalID\n name\n slug\n liveStartAt\n startAt\n endAt\n description(format: HTML)\n href\n isClosed\n cascadingEndTimeIntervalMinutes\n}\n\nfragment AuctionInfoSidebar_sale on Sale {\n liveStartAt\n}\n\nfragment AuctionLotInfo_saleArtwork_4oTW5x on SaleArtwork {\n counts {\n bidderPositions\n }\n lotLabel\n currentBid {\n display\n }\n formattedEndDateTime\n artwork {\n internalID\n date\n title\n image {\n resized(width: 100, height: 100, version: \"medium\") {\n src\n srcSet\n width\n height\n }\n }\n imageUrl\n artistNames\n slug\n id\n }\n}\n\nfragment AuctionMeta_sale on Sale {\n name\n description(format: HTML)\n slug\n coverImage {\n url(version: [\"wide\", \"source\", \"large_rectangle\"])\n }\n}\n\nfragment AuctionWorksByFollowedArtistsRail_viewer_96HcF on Viewer {\n saleArtworksConnection(first: 30, aggregations: [TOTAL], saleSlug: $slug, includeArtworksByFollowedArtists: true) {\n edges {\n node {\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CascadingEndTimesBanner_sale on Sale {\n isClosed\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n}\n\nfragment CellSale_sale on Sale {\n name\n formattedStartDateTime\n href\n coverImage {\n cropped(width: 445, height: 334, version: [\"larger\", \"large\"]) {\n src\n srcSet\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment RegisterButton_me on Me {\n internalID\n isIdentityVerified\n hasCreditCards\n pendingIdentityVerification {\n internalID\n id\n }\n}\n\nfragment RegisterButton_sale on Sale {\n bidder {\n qualifiedForBidding\n id\n }\n isAuction\n isClosed\n isLiveOpen\n isPreview\n isRegistrationClosed\n liveURLIfOpen\n requireIdentityVerification\n registrationStatus {\n internalID\n id\n }\n slug\n status\n}\n\nfragment SaleDetailTimer_sale on Sale {\n endAt\n endedAt\n startAt\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query auctionRoutes_TopLevelQuery(\n $slug: String!\n $isLoggedIn: Boolean!\n) {\n me {\n ...AuctionApp_me_96HcF\n id\n }\n sale(id: $slug) @principalField {\n ...AuctionApp_sale\n id\n }\n viewer {\n ...AuctionApp_viewer_1PBNVF\n }\n}\n\nfragment AuctionActiveBids_me_96HcF on Me {\n internalID\n lotStandings(saleID: $slug, live: true) {\n isHighestBidder\n saleArtwork {\n ...AuctionLotInfo_saleArtwork_4oTW5x\n counts {\n bidderPositions\n }\n currentBid {\n display\n }\n slug\n lotLabel\n reserveStatus\n saleID\n highestBid {\n display\n }\n endedAt\n sale {\n slug\n liveStartAt\n endAt\n isLiveOpen\n isClosed\n id\n }\n id\n }\n }\n}\n\nfragment AuctionApp_me_96HcF on Me {\n ...AuctionActiveBids_me_96HcF\n ...AuctionDetails_me\n internalID\n showActiveBids: lotStandings(saleID: $slug, live: true) {\n activeBid {\n internalID\n id\n }\n }\n}\n\nfragment AuctionApp_sale on Sale {\n ...AuctionMeta_sale\n ...AuctionAssociatedSale_sale\n ...AuctionBuyNowRail_sale\n ...AuctionDetails_sale\n ...CascadingEndTimesBanner_sale\n internalID\n slug\n isClosed\n eligibleSaleArtworksCount\n coverImage {\n url(version: [\"wide\", \"source\", \"large_rectangle\"])\n }\n showAssociatedSale: associatedSale {\n internalID\n id\n }\n showBuyNowTab: promotedSale {\n internalID\n id\n }\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n status\n}\n\nfragment AuctionApp_viewer_1PBNVF on Viewer {\n ...AuctionWorksByFollowedArtistsRail_viewer_96HcF @include(if: $isLoggedIn)\n showFollowedArtistsTab: saleArtworksConnection(first: 1, aggregations: [TOTAL], saleSlug: $slug, includeArtworksByFollowedArtists: true) @include(if: $isLoggedIn) {\n edges {\n node {\n internalID\n id\n }\n id\n }\n }\n ...AuctionCurrentAuctionsRail_viewer\n}\n\nfragment AuctionAssociatedSale_sale on Sale {\n associatedSale {\n coverImage {\n cropped(width: 445, height: 250) {\n src\n srcSet\n }\n }\n displayTimelyAt\n href\n slug\n name\n id\n }\n}\n\nfragment AuctionBuyNowRail_sale on Sale {\n promotedSale {\n href\n internalID\n name\n saleArtworksConnection(first: 30) {\n edges {\n node {\n artwork {\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n }\n id\n }\n}\n\nfragment AuctionCurrentAuctionsRail_viewer on Viewer {\n salesConnection(first: 30, published: true, live: true, sort: LICENSED_TIMELY_AT_NAME_DESC) {\n edges {\n node {\n ...CellSale_sale\n id\n }\n }\n }\n}\n\nfragment AuctionDetails_me on Me {\n ...RegisterButton_me\n}\n\nfragment AuctionDetails_sale on Sale {\n ...RegisterButton_sale\n ...AuctionInfoSidebar_sale\n ...SaleDetailTimer_sale\n internalID\n name\n slug\n liveStartAt\n startAt\n endAt\n description(format: HTML)\n href\n isClosed\n cascadingEndTimeIntervalMinutes\n}\n\nfragment AuctionInfoSidebar_sale on Sale {\n liveStartAt\n}\n\nfragment AuctionLotInfo_saleArtwork_4oTW5x on SaleArtwork {\n counts {\n bidderPositions\n }\n lotLabel\n currentBid {\n display\n }\n formattedEndDateTime\n artwork {\n internalID\n date\n title\n image {\n resized(width: 100, height: 100, version: \"medium\") {\n src\n srcSet\n width\n height\n }\n }\n imageUrl\n artistNames\n slug\n id\n }\n}\n\nfragment AuctionMeta_sale on Sale {\n name\n description(format: HTML)\n slug\n coverImage {\n url(version: [\"wide\", \"source\", \"large_rectangle\"])\n }\n}\n\nfragment AuctionWorksByFollowedArtistsRail_viewer_96HcF on Viewer {\n saleArtworksConnection(first: 30, aggregations: [TOTAL], saleSlug: $slug, includeArtworksByFollowedArtists: true) {\n edges {\n node {\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CascadingEndTimesBanner_sale on Sale {\n isClosed\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n}\n\nfragment CellSale_sale on Sale {\n name\n formattedStartDateTime\n href\n coverImage {\n cropped(width: 445, height: 334, version: [\"larger\", \"large\"]) {\n src\n srcSet\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment RegisterButton_me on Me {\n internalID\n isIdentityVerified\n hasCreditCards\n pendingIdentityVerification {\n internalID\n id\n }\n}\n\nfragment RegisterButton_sale on Sale {\n bidder {\n qualifiedForBidding\n id\n }\n isAuction\n isClosed\n isLiveOpen\n isPreview\n isRegistrationClosed\n liveURLIfOpen\n requireIdentityVerification\n registrationStatus {\n internalID\n id\n }\n slug\n status\n}\n\nfragment SaleDetailTimer_sale on Sale {\n endAt\n endedAt\n startAt\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/auctionsRoutes_Artworks_AuctionsQuery.graphql.ts b/src/__generated__/auctionsRoutes_Artworks_AuctionsQuery.graphql.ts index a740105898b..0ea424a820e 100644 --- a/src/__generated__/auctionsRoutes_Artworks_AuctionsQuery.graphql.ts +++ b/src/__generated__/auctionsRoutes_Artworks_AuctionsQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<87a9e497f7d0b366b37d5eecb05a0207>> + * @generated SignedSource<<1b70a8c6888eb3d5b77a67c6d3604095>> * @lightSyntaxTransform * @nogrep */ @@ -50,46 +50,46 @@ v3 = { "name": "internalID", "storageKey": null }, -v4 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v5 = { +v4 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v5 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "id", "storageKey": null }, -v7 = { +v7 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v8 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v8 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v9 = [ (v1/*: any*/), - (v5/*: any*/) + (v6/*: any*/) ]; return { "fragment": { @@ -319,6 +319,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v4/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v5/*: any*/), + "storageKey": null + }, + (v6/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -339,7 +362,7 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -363,7 +386,7 @@ return { ], "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -387,13 +410,13 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v5/*: any*/), + (v6/*: any*/), (v2/*: any*/), (v1/*: any*/) ], @@ -408,7 +431,7 @@ return { }, { "alias": null, - "args": (v4/*: any*/), + "args": (v7/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -416,7 +439,7 @@ return { "selections": [ (v1/*: any*/), (v2/*: any*/), - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -428,7 +451,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v6/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -464,7 +487,7 @@ return { "name": "isClosed", "storageKey": null }, - (v5/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -483,7 +506,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), + (v8/*: any*/), { "alias": null, "args": null, @@ -491,7 +514,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v6/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -531,7 +554,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, { @@ -541,10 +564,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null }, @@ -556,8 +579,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), - (v5/*: any*/) + (v8/*: any*/), + (v6/*: any*/) ], "storageKey": null }, @@ -648,7 +671,7 @@ return { "storageKey": null }, (v0/*: any*/), - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null } @@ -666,7 +689,7 @@ return { "name": "formattedStartDateTime", "storageKey": null }, - (v5/*: any*/) + (v6/*: any*/) ], "storageKey": null } @@ -682,12 +705,12 @@ return { ] }, "params": { - "cacheID": "e648e34c021c66bc18c65fa3bbed0852", + "cacheID": "91c001c86d12e09e501a6922efe39a8f", "id": null, "metadata": {}, "name": "auctionsRoutes_Artworks_AuctionsQuery", "operationKind": "query", - "text": "query auctionsRoutes_Artworks_AuctionsQuery {\n viewer {\n ...ArtworksRoute_viewer\n }\n}\n\nfragment ArtworksRoute_viewer on Viewer {\n salesConnection(first: 10, live: true, published: true, sort: TIMELY_AT_NAME_ASC, auctionState: OPEN) {\n totalCount\n edges {\n node {\n slug\n name\n href\n liveStartAt\n isLiveOpen\n ...AuctionArtworksRail_sale\n id\n }\n }\n }\n}\n\nfragment AuctionArtworksRail_sale on Sale {\n artworksConnection(first: 20) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n slug\n id\n }\n }\n }\n internalID\n slug\n href\n name\n formattedStartDateTime\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "query auctionsRoutes_Artworks_AuctionsQuery {\n viewer {\n ...ArtworksRoute_viewer\n }\n}\n\nfragment ArtworksRoute_viewer on Viewer {\n salesConnection(first: 10, live: true, published: true, sort: TIMELY_AT_NAME_ASC, auctionState: OPEN) {\n totalCount\n edges {\n node {\n slug\n name\n href\n liveStartAt\n isLiveOpen\n ...AuctionArtworksRail_sale\n id\n }\n }\n }\n}\n\nfragment AuctionArtworksRail_sale on Sale {\n artworksConnection(first: 20) {\n edges {\n node {\n ...ShelfArtwork_artwork\n internalID\n slug\n id\n }\n }\n }\n internalID\n slug\n href\n name\n formattedStartDateTime\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/collectorProfileRoutes_MyCollectionRouteQuery.graphql.ts b/src/__generated__/collectorProfileRoutes_MyCollectionRouteQuery.graphql.ts index 31cebf48ce2..c078e95c6bd 100644 --- a/src/__generated__/collectorProfileRoutes_MyCollectionRouteQuery.graphql.ts +++ b/src/__generated__/collectorProfileRoutes_MyCollectionRouteQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -74,41 +74,41 @@ v6 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "endAt", "storageKey": null }, -v7 = { +v7 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v8 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v8 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v9 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v10 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v11 = [ - (v6/*: any*/), + (v8/*: any*/), (v1/*: any*/) ]; return { @@ -452,6 +452,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v6/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v7/*: any*/), + "storageKey": null + }, + (v1/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -498,7 +521,7 @@ return { "selections": [ (v1/*: any*/), (v2/*: any*/), - (v6/*: any*/) + (v8/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -517,7 +540,7 @@ return { "name": "partner", "plural": false, "selections": [ - (v6/*: any*/), + (v8/*: any*/), (v2/*: any*/), (v1/*: any*/) ], @@ -531,7 +554,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v7/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -593,7 +616,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -601,8 +624,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v7/*: any*/), - (v9/*: any*/), + (v6/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -635,7 +658,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v7/*: any*/), "storageKey": null }, { @@ -645,7 +668,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v10/*: any*/), + "selections": (v7/*: any*/), "storageKey": null }, (v1/*: any*/) @@ -660,10 +683,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v8/*: any*/), + (v9/*: any*/), (v1/*: any*/), - (v7/*: any*/), - (v9/*: any*/) + (v6/*: any*/), + (v10/*: any*/) ], "storageKey": null }, @@ -790,12 +813,12 @@ return { ] }, "params": { - "cacheID": "fd74a965011f623b9fd3d0e68a4ad529", + "cacheID": "c0c1834472f3da6e93c93878839a3cc7", "id": null, "metadata": {}, "name": "collectorProfileRoutes_MyCollectionRouteQuery", "operationKind": "query", - "text": "query collectorProfileRoutes_MyCollectionRouteQuery {\n me {\n ...MyCollectionRoute_me\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment ConsignmentSubmissionStatus_artwork on Artwork {\n internalID\n isListed\n consignmentSubmission {\n internalID\n state\n stateLabel\n actionLabel\n stateLabelColor\n }\n}\n\nfragment Details_artwork_Sz0Ax on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n consignmentSubmission {\n internalID\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n ...ConsignmentSubmissionStatus_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_8QZwu on Artwork {\n ...Metadata_artwork_Sz0Ax\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: true) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_8QZwu on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: true) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_Sz0Ax\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_Sz0Ax on Artwork {\n ...Details_artwork_Sz0Ax\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment MyCollectionArtworkGrid_artworks on MyCollectionConnection {\n edges {\n node {\n id\n slug\n href\n internalID\n image(includeAll: true) {\n aspectRatio\n }\n artist(shallow: true) {\n targetSupply {\n priority\n }\n id\n }\n consignmentSubmission {\n state\n }\n ...GridItem_artwork_8QZwu\n ...FlatGridItem_artwork_8QZwu\n }\n }\n}\n\nfragment MyCollectionRoute_me on Me {\n myCollectionConnection(first: 25, sort: CREATED_AT_DESC) {\n ...MyCollectionArtworkGrid_artworks\n totalCount\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query collectorProfileRoutes_MyCollectionRouteQuery {\n me {\n ...MyCollectionRoute_me\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment ConsignmentSubmissionStatus_artwork on Artwork {\n internalID\n isListed\n consignmentSubmission {\n internalID\n state\n stateLabel\n actionLabel\n stateLabelColor\n }\n}\n\nfragment Details_artwork_Sz0Ax on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n consignmentSubmission {\n internalID\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n ...ConsignmentSubmissionStatus_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_8QZwu on Artwork {\n ...Metadata_artwork_Sz0Ax\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: true) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_8QZwu on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: true) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_Sz0Ax\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_Sz0Ax on Artwork {\n ...Details_artwork_Sz0Ax\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment MyCollectionArtworkGrid_artworks on MyCollectionConnection {\n edges {\n node {\n id\n slug\n href\n internalID\n image(includeAll: true) {\n aspectRatio\n }\n artist(shallow: true) {\n targetSupply {\n priority\n }\n id\n }\n consignmentSubmission {\n state\n }\n ...GridItem_artwork_8QZwu\n ...FlatGridItem_artwork_8QZwu\n }\n }\n}\n\nfragment MyCollectionRoute_me on Me {\n myCollectionConnection(first: 25, sort: CREATED_AT_DESC) {\n ...MyCollectionArtworkGrid_artworks\n totalCount\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/endingSoonAuctionsRoutes_TopLevelQuery.graphql.ts b/src/__generated__/endingSoonAuctionsRoutes_TopLevelQuery.graphql.ts index aac4b46bd2f..69ff9d0cb7a 100644 --- a/src/__generated__/endingSoonAuctionsRoutes_TopLevelQuery.graphql.ts +++ b/src/__generated__/endingSoonAuctionsRoutes_TopLevelQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -80,52 +80,52 @@ v5 = { "large" ] }, -v6 = [ +v6 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v7 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v8 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v7 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v9 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v10 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v11 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v12 = [ - (v7/*: any*/), + (v9/*: any*/), (v1/*: any*/) ]; return { @@ -452,6 +452,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v6/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v7/*: any*/), + "storageKey": null + }, + (v1/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -472,7 +495,7 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -520,7 +543,7 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -528,7 +551,7 @@ return { "selections": [ (v1/*: any*/), (v3/*: any*/), - (v7/*: any*/) + (v9/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -541,13 +564,13 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v7/*: any*/), + (v9/*: any*/), (v3/*: any*/), (v1/*: any*/) ], @@ -561,7 +584,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v8/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -623,7 +646,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -631,8 +654,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v8/*: any*/), - (v10/*: any*/), + (v6/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -665,7 +688,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v11/*: any*/), + "selections": (v7/*: any*/), "storageKey": null }, { @@ -675,7 +698,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v11/*: any*/), + "selections": (v7/*: any*/), "storageKey": null }, (v1/*: any*/) @@ -690,10 +713,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), (v1/*: any*/), - (v8/*: any*/), - (v10/*: any*/) + (v6/*: any*/), + (v11/*: any*/) ], "storageKey": null }, @@ -778,12 +801,12 @@ return { ] }, "params": { - "cacheID": "af9ac828da3463dd92803516073432fe", + "cacheID": "311605d81eb63fdcd771e40a837783f9", "id": null, "metadata": {}, "name": "endingSoonAuctionsRoutes_TopLevelQuery", "operationKind": "query", - "text": "query endingSoonAuctionsRoutes_TopLevelQuery {\n viewer {\n ...EndingSoonAuctions_viewer\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment EndingSoonAuctionsGrid_viewer on Viewer {\n saleArtworksConnection(includeArtworksByFollowedArtists: true, isAuction: true, liveSale: true, first: 10) {\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n id\n }\n }\n}\n\nfragment EndingSoonAuctions_viewer on Viewer {\n ...EndingSoonAuctionsGrid_viewer\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query endingSoonAuctionsRoutes_TopLevelQuery {\n viewer {\n ...EndingSoonAuctions_viewer\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment EndingSoonAuctionsGrid_viewer on Viewer {\n saleArtworksConnection(includeArtworksByFollowedArtists: true, isAuction: true, liveSale: true, first: 10) {\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n id\n }\n }\n}\n\nfragment EndingSoonAuctions_viewer on Viewer {\n ...EndingSoonAuctionsGrid_viewer\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/exampleRoutes_ArtworkFilterQuery.graphql.ts b/src/__generated__/exampleRoutes_ArtworkFilterQuery.graphql.ts index 0a7e6804328..a63cd27ebd2 100644 --- a/src/__generated__/exampleRoutes_ArtworkFilterQuery.graphql.ts +++ b/src/__generated__/exampleRoutes_ArtworkFilterQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<652acff9da5916f4a7b786cb80256a68>> + * @generated SignedSource<<73a9229cb98f3e3e8a557b4b9f5f1713>> * @lightSyntaxTransform * @nogrep */ @@ -148,52 +148,52 @@ v9 = { "large" ] }, -v10 = [ +v10 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v11 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v12 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v11 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v13 = { +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v14 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v15 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v16 = [ - (v11/*: any*/), + (v13/*: any*/), (v2/*: any*/) ]; return { @@ -594,6 +594,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v10/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v11/*: any*/), + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -614,7 +637,7 @@ return { }, { "alias": null, - "args": (v10/*: any*/), + "args": (v12/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -662,7 +685,7 @@ return { }, { "alias": null, - "args": (v10/*: any*/), + "args": (v12/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -670,7 +693,7 @@ return { "selections": [ (v2/*: any*/), (v7/*: any*/), - (v11/*: any*/) + (v13/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -683,13 +706,13 @@ return { }, { "alias": null, - "args": (v10/*: any*/), + "args": (v12/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v11/*: any*/), + (v13/*: any*/), (v7/*: any*/), (v2/*: any*/) ], @@ -703,7 +726,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v12/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -765,7 +788,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v13/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -773,8 +796,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v12/*: any*/), - (v14/*: any*/), + (v10/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -807,7 +830,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v15/*: any*/), + "selections": (v11/*: any*/), "storageKey": null }, { @@ -817,7 +840,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v15/*: any*/), + "selections": (v11/*: any*/), "storageKey": null }, (v2/*: any*/) @@ -832,10 +855,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v13/*: any*/), + (v14/*: any*/), (v2/*: any*/), - (v12/*: any*/), - (v14/*: any*/) + (v10/*: any*/), + (v15/*: any*/) ], "storageKey": null }, @@ -909,12 +932,12 @@ return { ] }, "params": { - "cacheID": "fc6e380308e3f039cb895458c97245c2", + "cacheID": "ec40bdf12382febb631a4a1857713d8e", "id": null, "metadata": {}, "name": "exampleRoutes_ArtworkFilterQuery", "operationKind": "query", - "text": "query exampleRoutes_ArtworkFilterQuery(\n $input: FilterArtworksInput\n) {\n viewer {\n ...ExampleArtworkFilterRoute_viewer_2VV6jB\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkFilter_viewer_2VV6jB on Viewer {\n filtered_artworks: artworksConnection(input: $input) {\n ...ArtworkFilterArtworkGrid_filtered_artworks\n counts {\n total(format: \"0,0\")\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExampleArtworkFilterRoute_viewer_2VV6jB on Viewer {\n ...ArtworkFilter_viewer_2VV6jB\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query exampleRoutes_ArtworkFilterQuery(\n $input: FilterArtworksInput\n) {\n viewer {\n ...ExampleArtworkFilterRoute_viewer_2VV6jB\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkFilter_viewer_2VV6jB on Viewer {\n filtered_artworks: artworksConnection(input: $input) {\n ...ArtworkFilterArtworkGrid_filtered_artworks\n counts {\n total(format: \"0,0\")\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExampleArtworkFilterRoute_viewer_2VV6jB on Viewer {\n ...ArtworkFilter_viewer_2VV6jB\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/featureRoutes_FeatureQuery.graphql.ts b/src/__generated__/featureRoutes_FeatureQuery.graphql.ts index 85f86c45f6c..f7572de048f 100644 --- a/src/__generated__/featureRoutes_FeatureQuery.graphql.ts +++ b/src/__generated__/featureRoutes_FeatureQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<3934bacd0bc06ff4ad194a28510f2729>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -124,28 +124,14 @@ v13 = { "name": "href", "storageKey": null }, -v14 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v15 = { +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v16 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lotID", - "storageKey": null -}, -v17 = [ +v15 = [ { "alias": null, "args": null, @@ -154,6 +140,20 @@ v17 = [ "storageKey": null } ], +v16 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v17 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "lotID", + "storageKey": null +}, v18 = [ (v2/*: any*/), (v9/*: any*/) @@ -552,6 +552,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v14/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v15/*: any*/), + "storageKey": null + }, + (v9/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -572,7 +595,7 @@ return { }, { "alias": null, - "args": (v14/*: any*/), + "args": (v16/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -620,7 +643,7 @@ return { }, { "alias": null, - "args": (v14/*: any*/), + "args": (v16/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -641,7 +664,7 @@ return { }, { "alias": null, - "args": (v14/*: any*/), + "args": (v16/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -661,7 +684,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v15/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -716,7 +739,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v16/*: any*/), + (v17/*: any*/), { "alias": null, "args": null, @@ -724,7 +747,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v15/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -764,7 +787,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v17/*: any*/), + "selections": (v15/*: any*/), "storageKey": null }, { @@ -774,7 +797,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v17/*: any*/), + "selections": (v15/*: any*/), "storageKey": null }, (v9/*: any*/) @@ -789,7 +812,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v16/*: any*/), + (v17/*: any*/), (v9/*: any*/) ], "storageKey": null @@ -1000,12 +1023,12 @@ return { ] }, "params": { - "cacheID": "8ffb8db74f652c90702f34d9cc2208a5", + "cacheID": "33abb8cd15292d2d7897375e6133edea", "id": null, "metadata": {}, "name": "featureRoutes_FeatureQuery", "operationKind": "query", - "text": "query featureRoutes_FeatureQuery(\n $slug: ID!\n) @cacheable {\n feature(id: $slug) @principalField {\n ...FeatureApp_feature\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FeatureApp_feature on Feature {\n ...FeatureMeta_feature\n ...FeatureHeader_feature\n description(format: HTML)\n callout(format: HTML)\n sets: setsConnection(first: 20) {\n edges {\n node {\n id\n ...FeatureSet_set\n }\n }\n }\n}\n\nfragment FeatureFeaturedLink_featuredLink on FeaturedLink {\n href\n title\n subtitle(format: PLAIN)\n description(format: HTML)\n image {\n small: cropped(width: 670, height: 480, version: [\"main\", \"wide\"]) {\n src\n srcSet\n width\n height\n }\n medium: cropped(width: 904, height: 648, version: [\"main\", \"wide\"]) {\n src\n srcSet\n width\n height\n }\n large: cropped(width: 1808, height: 1296, version: [\"main\", \"wide\"]) {\n src\n srcSet\n width\n height\n }\n full: resized(width: 2170, height: 1554, version: [\"main\", \"wide\"]) {\n src\n srcSet\n width\n height\n }\n }\n}\n\nfragment FeatureHeaderDefault_feature on Feature {\n name\n subheadline(format: HTML)\n defaultImage: image {\n resized(width: 900, version: [\"main\", \"source\", \"wide\"]) {\n src\n srcSet\n }\n }\n}\n\nfragment FeatureHeaderFull_feature on Feature {\n name\n subheadline(format: HTML)\n fullImage: image {\n url(version: [\"main\", \"source\", \"wide\"])\n }\n}\n\nfragment FeatureHeader_feature on Feature {\n ...FeatureHeaderDefault_feature\n ...FeatureHeaderFull_feature\n layout\n}\n\nfragment FeatureMeta_feature on Feature {\n slug\n meta {\n name\n description\n image\n }\n}\n\nfragment FeatureSetContainer_set on OrderedSet {\n id\n layout\n itemType\n orderedItems: orderedItemsConnection(first: 99) {\n edges {\n __typename\n }\n }\n}\n\nfragment FeatureSetItem_setItem on OrderedSetItem {\n __isOrderedSetItem: __typename\n __typename\n ... on FeaturedLink {\n id\n }\n ... on Artwork {\n id\n }\n ...GridItem_artwork\n ...FeatureFeaturedLink_featuredLink\n}\n\nfragment FeatureSetMeta_set on OrderedSet {\n name\n description(format: HTML)\n}\n\nfragment FeatureSet_set on OrderedSet {\n id\n layout\n name\n description(format: HTML)\n itemType\n orderedItems: orderedItemsConnection(first: 99) {\n edges {\n __typename\n node {\n __typename\n ... on Artwork {\n id\n }\n ... on FeaturedLink {\n id\n }\n ...FeatureSetItem_setItem\n ... on Node {\n __isNode: __typename\n id\n }\n ... on Profile {\n id\n }\n }\n }\n }\n ...FeatureSetMeta_set\n ...FeatureSetContainer_set\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query featureRoutes_FeatureQuery(\n $slug: ID!\n) @cacheable {\n feature(id: $slug) @principalField {\n ...FeatureApp_feature\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FeatureApp_feature on Feature {\n ...FeatureMeta_feature\n ...FeatureHeader_feature\n description(format: HTML)\n callout(format: HTML)\n sets: setsConnection(first: 20) {\n edges {\n node {\n id\n ...FeatureSet_set\n }\n }\n }\n}\n\nfragment FeatureFeaturedLink_featuredLink on FeaturedLink {\n href\n title\n subtitle(format: PLAIN)\n description(format: HTML)\n image {\n small: cropped(width: 670, height: 480, version: [\"main\", \"wide\"]) {\n src\n srcSet\n width\n height\n }\n medium: cropped(width: 904, height: 648, version: [\"main\", \"wide\"]) {\n src\n srcSet\n width\n height\n }\n large: cropped(width: 1808, height: 1296, version: [\"main\", \"wide\"]) {\n src\n srcSet\n width\n height\n }\n full: resized(width: 2170, height: 1554, version: [\"main\", \"wide\"]) {\n src\n srcSet\n width\n height\n }\n }\n}\n\nfragment FeatureHeaderDefault_feature on Feature {\n name\n subheadline(format: HTML)\n defaultImage: image {\n resized(width: 900, version: [\"main\", \"source\", \"wide\"]) {\n src\n srcSet\n }\n }\n}\n\nfragment FeatureHeaderFull_feature on Feature {\n name\n subheadline(format: HTML)\n fullImage: image {\n url(version: [\"main\", \"source\", \"wide\"])\n }\n}\n\nfragment FeatureHeader_feature on Feature {\n ...FeatureHeaderDefault_feature\n ...FeatureHeaderFull_feature\n layout\n}\n\nfragment FeatureMeta_feature on Feature {\n slug\n meta {\n name\n description\n image\n }\n}\n\nfragment FeatureSetContainer_set on OrderedSet {\n id\n layout\n itemType\n orderedItems: orderedItemsConnection(first: 99) {\n edges {\n __typename\n }\n }\n}\n\nfragment FeatureSetItem_setItem on OrderedSetItem {\n __isOrderedSetItem: __typename\n __typename\n ... on FeaturedLink {\n id\n }\n ... on Artwork {\n id\n }\n ...GridItem_artwork\n ...FeatureFeaturedLink_featuredLink\n}\n\nfragment FeatureSetMeta_set on OrderedSet {\n name\n description(format: HTML)\n}\n\nfragment FeatureSet_set on OrderedSet {\n id\n layout\n name\n description(format: HTML)\n itemType\n orderedItems: orderedItemsConnection(first: 99) {\n edges {\n __typename\n node {\n __typename\n ... on Artwork {\n id\n }\n ... on FeaturedLink {\n id\n }\n ...FeatureSetItem_setItem\n ... on Node {\n __isNode: __typename\n id\n }\n ... on Profile {\n id\n }\n }\n }\n }\n ...FeatureSetMeta_set\n ...FeatureSetContainer_set\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/newForYouRoutes_TopLevelQuery.graphql.ts b/src/__generated__/newForYouRoutes_TopLevelQuery.graphql.ts index eee998cfc1a..6110ecd8d66 100644 --- a/src/__generated__/newForYouRoutes_TopLevelQuery.graphql.ts +++ b/src/__generated__/newForYouRoutes_TopLevelQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<51866792f59c0d3b37513e0d363f2add>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -98,52 +98,52 @@ v8 = { "large" ] }, -v9 = [ +v9 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v10 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v11 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v10 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v12 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v13 = { +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v14 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v15 = [ - (v10/*: any*/), + (v12/*: any*/), (v5/*: any*/) ]; return { @@ -437,6 +437,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v9/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v10/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -457,7 +480,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -505,7 +528,7 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -513,7 +536,7 @@ return { "selections": [ (v5/*: any*/), (v6/*: any*/), - (v10/*: any*/) + (v12/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -526,13 +549,13 @@ return { }, { "alias": null, - "args": (v9/*: any*/), + "args": (v11/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v10/*: any*/), + (v12/*: any*/), (v6/*: any*/), (v5/*: any*/) ], @@ -546,7 +569,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v11/*: any*/), + (v9/*: any*/), { "alias": null, "args": null, @@ -608,7 +631,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v12/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -616,8 +639,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v11/*: any*/), - (v13/*: any*/), + (v9/*: any*/), + (v14/*: any*/), { "alias": null, "args": null, @@ -650,7 +673,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v14/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, { @@ -660,7 +683,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v14/*: any*/), + "selections": (v10/*: any*/), "storageKey": null }, (v5/*: any*/) @@ -675,10 +698,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v12/*: any*/), + (v13/*: any*/), (v5/*: any*/), - (v11/*: any*/), - (v13/*: any*/) + (v9/*: any*/), + (v14/*: any*/) ], "storageKey": null }, @@ -779,12 +802,12 @@ return { ] }, "params": { - "cacheID": "7eab8a8e0a79c86d8bd4bda9fd526f98", + "cacheID": "204528e4b0c52a33c048e9bd2f36936d", "id": null, "metadata": {}, "name": "newForYouRoutes_TopLevelQuery", "operationKind": "query", - "text": "query newForYouRoutes_TopLevelQuery(\n $first: Int\n $includeBackfill: Boolean!\n $version: String\n $maxWorksPerArtist: Int\n) {\n viewer {\n ...NewForYouApp_viewer_132xqu\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment NewForYouApp_viewer_132xqu on Viewer {\n ...NewForYouArtworksGrid_viewer_132xqu\n}\n\nfragment NewForYouArtworksGrid_viewer_132xqu on Viewer {\n artworksForUser(first: $first, includeBackfill: $includeBackfill, version: $version, maxWorksPerArtist: $maxWorksPerArtist) {\n totalCount\n ...ArtworkGrid_artworks\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query newForYouRoutes_TopLevelQuery(\n $first: Int\n $includeBackfill: Boolean!\n $version: String\n $maxWorksPerArtist: Int\n) {\n viewer {\n ...NewForYouApp_viewer_132xqu\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment NewForYouApp_viewer_132xqu on Viewer {\n ...NewForYouArtworksGrid_viewer_132xqu\n}\n\nfragment NewForYouArtworksGrid_viewer_132xqu on Viewer {\n artworksForUser(first: $first, includeBackfill: $includeBackfill, version: $version, maxWorksPerArtist: $maxWorksPerArtist) {\n totalCount\n ...ArtworkGrid_artworks\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/newWorksFromGalleriesYouFollowRoutes_TopLevelQuery.graphql.ts b/src/__generated__/newWorksFromGalleriesYouFollowRoutes_TopLevelQuery.graphql.ts index 1055c5c3746..0db44c3acdc 100644 --- a/src/__generated__/newWorksFromGalleriesYouFollowRoutes_TopLevelQuery.graphql.ts +++ b/src/__generated__/newWorksFromGalleriesYouFollowRoutes_TopLevelQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<034c31c6b77abe7344e6701e61013662>> * @lightSyntaxTransform * @nogrep */ @@ -65,52 +65,52 @@ v5 = { "large" ] }, -v6 = [ +v6 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v7 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v8 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v7 = { +v9 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v9 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v10 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v11 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v12 = [ - (v7/*: any*/), + (v9/*: any*/), (v1/*: any*/) ]; return { @@ -443,6 +443,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v6/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v7/*: any*/), + "storageKey": null + }, + (v1/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -463,7 +486,7 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -511,7 +534,7 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -519,7 +542,7 @@ return { "selections": [ (v1/*: any*/), (v3/*: any*/), - (v7/*: any*/) + (v9/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -532,13 +555,13 @@ return { }, { "alias": null, - "args": (v6/*: any*/), + "args": (v8/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v7/*: any*/), + (v9/*: any*/), (v3/*: any*/), (v1/*: any*/) ], @@ -552,7 +575,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v8/*: any*/), + (v6/*: any*/), { "alias": null, "args": null, @@ -614,7 +637,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), { "alias": null, "args": null, @@ -622,8 +645,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v8/*: any*/), - (v10/*: any*/), + (v6/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -656,7 +679,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v11/*: any*/), + "selections": (v7/*: any*/), "storageKey": null }, { @@ -666,7 +689,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v11/*: any*/), + "selections": (v7/*: any*/), "storageKey": null }, (v1/*: any*/) @@ -681,10 +704,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v9/*: any*/), + (v10/*: any*/), (v1/*: any*/), - (v8/*: any*/), - (v10/*: any*/) + (v6/*: any*/), + (v11/*: any*/) ], "storageKey": null }, @@ -770,12 +793,12 @@ return { ] }, "params": { - "cacheID": "df5b44375c449483858f092623978e31", + "cacheID": "1730709276eed0b89c4c12fcc8581a24", "id": null, "metadata": {}, "name": "newWorksFromGalleriesYouFollowRoutes_TopLevelQuery", "operationKind": "query", - "text": "query newWorksFromGalleriesYouFollowRoutes_TopLevelQuery {\n me {\n ...NewWorksFromGalleriesYouFollowApp_me\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment NewWorksFromGalleriesYouFollowApp_me on Me {\n newWorksFromGalleriesYouFollowConnection(first: 25) {\n ...ArtworkGrid_artworks\n totalCount\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query newWorksFromGalleriesYouFollowRoutes_TopLevelQuery {\n me {\n ...NewWorksFromGalleriesYouFollowApp_me\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment NewWorksFromGalleriesYouFollowApp_me on Me {\n newWorksFromGalleriesYouFollowConnection(first: 25) {\n ...ArtworkGrid_artworks\n totalCount\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/saleRoutes_SaleQuery.graphql.ts b/src/__generated__/saleRoutes_SaleQuery.graphql.ts index 82fa2ce4e53..8597060247a 100644 --- a/src/__generated__/saleRoutes_SaleQuery.graphql.ts +++ b/src/__generated__/saleRoutes_SaleQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<59335305e77a208d5a2a5d53d314e1ef>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -187,43 +187,43 @@ v14 = { "large" ] }, -v15 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v16 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v17 = { +v16 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v17 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v18 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v18 = { +v19 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v19 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v20 = [ (v5/*: any*/), (v8/*: any*/) @@ -708,6 +708,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v15/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v16/*: any*/), + "storageKey": null + }, + (v8/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -728,7 +751,7 @@ return { }, { "alias": null, - "args": (v15/*: any*/), + "args": (v17/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -776,7 +799,7 @@ return { }, { "alias": null, - "args": (v15/*: any*/), + "args": (v17/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -797,7 +820,7 @@ return { }, { "alias": null, - "args": (v15/*: any*/), + "args": (v17/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -817,7 +840,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v16/*: any*/), + (v15/*: any*/), { "alias": null, "args": null, @@ -879,7 +902,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v17/*: any*/), + (v18/*: any*/), { "alias": null, "args": null, @@ -887,8 +910,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v16/*: any*/), - (v18/*: any*/), + (v15/*: any*/), + (v19/*: any*/), { "alias": null, "args": null, @@ -921,7 +944,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v19/*: any*/), + "selections": (v16/*: any*/), "storageKey": null }, { @@ -931,7 +954,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v19/*: any*/), + "selections": (v16/*: any*/), "storageKey": null }, (v8/*: any*/) @@ -946,10 +969,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v17/*: any*/), + (v18/*: any*/), (v8/*: any*/), - (v16/*: any*/), - (v18/*: any*/) + (v15/*: any*/), + (v19/*: any*/) ], "storageKey": null }, @@ -1104,12 +1127,12 @@ return { ] }, "params": { - "cacheID": "c1b19e154968fc805421c921ae2a6bc9", + "cacheID": "89788694899185629de17fefb751101a", "id": null, "metadata": {}, "name": "saleRoutes_SaleQuery", "operationKind": "query", - "text": "query saleRoutes_SaleQuery(\n $input: FilterArtworksInput\n $slug: String!\n) {\n sale(id: $slug) @principalField {\n ...SaleApp_sale\n isAuction\n id\n }\n viewer {\n ...SaleApp_viewer_2VV6jB\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment SaleApp_sale on Sale {\n ...SaleMeta_sale\n coverImage {\n url(version: [\"wide\", \"source\", \"large_rectangle\"])\n }\n description(format: HTML)\n eligibleSaleArtworksCount\n internalID\n name\n featuredKeywords\n}\n\nfragment SaleApp_viewer_2VV6jB on Viewer {\n ...SaleArtworksFilter_viewer_2VV6jB\n}\n\nfragment SaleArtworksFilter_viewer_2VV6jB on Viewer {\n filtered_artworks: artworksConnection(input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n sidebarAggregations: artworksConnection(input: $input, first: 1) {\n counts {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n}\n\nfragment SaleMeta_sale on Sale {\n name\n description(format: HTML)\n slug\n coverImage {\n url(version: [\"wide\", \"source\", \"large_rectangle\"])\n }\n}\n" + "text": "query saleRoutes_SaleQuery(\n $input: FilterArtworksInput\n $slug: String!\n) {\n sale(id: $slug) @principalField {\n ...SaleApp_sale\n isAuction\n id\n }\n viewer {\n ...SaleApp_viewer_2VV6jB\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment SaleApp_sale on Sale {\n ...SaleMeta_sale\n coverImage {\n url(version: [\"wide\", \"source\", \"large_rectangle\"])\n }\n description(format: HTML)\n eligibleSaleArtworksCount\n internalID\n name\n featuredKeywords\n}\n\nfragment SaleApp_viewer_2VV6jB on Viewer {\n ...SaleArtworksFilter_viewer_2VV6jB\n}\n\nfragment SaleArtworksFilter_viewer_2VV6jB on Viewer {\n filtered_artworks: artworksConnection(input: $input) {\n id\n counts {\n total(format: \"0,0\")\n }\n ...ArtworkFilterArtworkGrid_filtered_artworks\n }\n sidebarAggregations: artworksConnection(input: $input, first: 1) {\n counts {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n}\n\nfragment SaleMeta_sale on Sale {\n name\n description(format: HTML)\n slug\n coverImage {\n url(version: [\"wide\", \"source\", \"large_rectangle\"])\n }\n}\n" } }; })(); diff --git a/src/__generated__/searchRoutes_ArtworksViewerQuery.graphql.ts b/src/__generated__/searchRoutes_ArtworksViewerQuery.graphql.ts index ef3642e82f1..12559f27a6b 100644 --- a/src/__generated__/searchRoutes_ArtworksViewerQuery.graphql.ts +++ b/src/__generated__/searchRoutes_ArtworksViewerQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<3348453102f1d480bc365e90edd56dd3>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -163,43 +163,43 @@ v12 = { "large" ] }, -v13 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v14 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v15 = { +v14 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v15 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v16 = { +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v17 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v18 = [ (v4/*: any*/), (v5/*: any*/) @@ -716,6 +716,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v13/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v14/*: any*/), + "storageKey": null + }, + (v5/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -736,7 +759,7 @@ return { }, { "alias": null, - "args": (v13/*: any*/), + "args": (v15/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -784,7 +807,7 @@ return { }, { "alias": null, - "args": (v13/*: any*/), + "args": (v15/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -805,7 +828,7 @@ return { }, { "alias": null, - "args": (v13/*: any*/), + "args": (v15/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -825,7 +848,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v14/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -887,7 +910,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), { "alias": null, "args": null, @@ -895,8 +918,8 @@ return { "name": "lotLabel", "storageKey": null }, - (v14/*: any*/), - (v16/*: any*/), + (v13/*: any*/), + (v17/*: any*/), { "alias": null, "args": null, @@ -929,7 +952,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v17/*: any*/), + "selections": (v14/*: any*/), "storageKey": null }, { @@ -939,7 +962,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v17/*: any*/), + "selections": (v14/*: any*/), "storageKey": null }, (v5/*: any*/) @@ -954,10 +977,10 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v15/*: any*/), + (v16/*: any*/), (v5/*: any*/), - (v14/*: any*/), - (v16/*: any*/) + (v13/*: any*/), + (v17/*: any*/) ], "storageKey": null }, @@ -1031,12 +1054,12 @@ return { ] }, "params": { - "cacheID": "b391e00b7d362b5579ebb4172797bc12", + "cacheID": "0e2200ab7322755073c67c9a46bc51fb", "id": null, "metadata": {}, "name": "searchRoutes_ArtworksViewerQuery", "operationKind": "query", - "text": "query searchRoutes_ArtworksViewerQuery(\n $input: FilterArtworksInput\n $sidebarInput: FilterArtworksInput\n $shouldFetchCounts: Boolean!\n) {\n viewer {\n ...SearchResultsArtworks_viewer_1OkEZd\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkFilter_viewer_2VV6jB on Viewer {\n filtered_artworks: artworksConnection(input: $input) {\n ...ArtworkFilterArtworkGrid_filtered_artworks\n counts {\n total(format: \"0,0\")\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment SearchResultsArtworks_viewer_1OkEZd on Viewer {\n sidebar: artworksConnection(first: 1, input: $sidebarInput) {\n counts @include(if: $shouldFetchCounts) {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n ...ArtworkFilter_viewer_2VV6jB\n}\n" + "text": "query searchRoutes_ArtworksViewerQuery(\n $input: FilterArtworksInput\n $sidebarInput: FilterArtworksInput\n $shouldFetchCounts: Boolean!\n) {\n viewer {\n ...SearchResultsArtworks_viewer_1OkEZd\n }\n}\n\nfragment ArtworkFilterArtworkGrid_filtered_artworks on FilterArtworksConnection {\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks_3QDGWC\n}\n\nfragment ArtworkFilter_viewer_2VV6jB on Viewer {\n filtered_artworks: artworksConnection(input: $input) {\n ...ArtworkFilterArtworkGrid_filtered_artworks\n counts {\n total(format: \"0,0\")\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks_3QDGWC on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment Pagination_pageCursors on PageCursors {\n around {\n cursor\n page\n isCurrent\n }\n first {\n cursor\n page\n isCurrent\n }\n last {\n cursor\n page\n isCurrent\n }\n previous {\n cursor\n page\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment SearchResultsArtworks_viewer_1OkEZd on Viewer {\n sidebar: artworksConnection(first: 1, input: $sidebarInput) {\n counts @include(if: $shouldFetchCounts) {\n followedArtists\n }\n aggregations {\n slice\n counts {\n name\n value\n count\n }\n }\n id\n }\n ...ArtworkFilter_viewer_2VV6jB\n}\n" } }; })(); diff --git a/src/__generated__/settingsRoutes_SettingsAuctionsRouteQuery.graphql.ts b/src/__generated__/settingsRoutes_SettingsAuctionsRouteQuery.graphql.ts index 6ff6ca12a99..b1d2a82bb28 100644 --- a/src/__generated__/settingsRoutes_SettingsAuctionsRouteQuery.graphql.ts +++ b/src/__generated__/settingsRoutes_SettingsAuctionsRouteQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<6f35d3f952817cae3756be10ae040adb>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -50,45 +50,45 @@ v3 = { "name": "href", "storageKey": null }, -v4 = [ +v4 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v5 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v6 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v5 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v7 = { +v8 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v8 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v9 = [ - (v5/*: any*/), + (v7/*: any*/), (v2/*: any*/) ], v10 = [ @@ -211,6 +211,29 @@ v10 = [ } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v4/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v5/*: any*/), + "storageKey": null + }, + (v2/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -231,7 +254,7 @@ v10 = [ }, { "alias": null, - "args": (v4/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -279,7 +302,7 @@ v10 = [ }, { "alias": null, - "args": (v4/*: any*/), + "args": (v6/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -287,7 +310,7 @@ v10 = [ "selections": [ (v2/*: any*/), (v3/*: any*/), - (v5/*: any*/) + (v7/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -300,13 +323,13 @@ v10 = [ }, { "alias": null, - "args": (v4/*: any*/), + "args": (v6/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v5/*: any*/), + (v7/*: any*/), (v3/*: any*/), (v2/*: any*/) ], @@ -320,7 +343,7 @@ v10 = [ "name": "sale", "plural": false, "selections": [ - (v6/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -368,9 +391,9 @@ v10 = [ "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), + (v8/*: any*/), (v0/*: any*/), - (v6/*: any*/), + (v4/*: any*/), { "alias": null, "args": null, @@ -410,7 +433,7 @@ v10 = [ "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, { @@ -420,7 +443,7 @@ v10 = [ "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v8/*: any*/), + "selections": (v5/*: any*/), "storageKey": null }, (v2/*: any*/) @@ -435,7 +458,7 @@ v10 = [ "name": "saleArtwork", "plural": false, "selections": [ - (v7/*: any*/), + (v8/*: any*/), (v2/*: any*/) ], "storageKey": null @@ -666,7 +689,7 @@ return { "plural": false, "selections": [ (v2/*: any*/), - (v5/*: any*/), + (v7/*: any*/), (v3/*: any*/), { "alias": null, @@ -709,12 +732,12 @@ return { ] }, "params": { - "cacheID": "34de009087954acbffbbbc4f6b47a251", + "cacheID": "217e99f55aeffbc4b59f915f20ab7b7a", "id": null, "metadata": {}, "name": "settingsRoutes_SettingsAuctionsRouteQuery", "operationKind": "query", - "text": "query settingsRoutes_SettingsAuctionsRouteQuery {\n me {\n ...SettingsAuctionsRoute_me\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment SettingsAuctionsLotStanding_lotStanding on LotStanding {\n isLeadingBidder\n saleArtwork {\n lotLabel\n sale {\n isClosed\n id\n }\n artwork {\n ...Details_artwork\n href\n image {\n cropped(height: 100, width: 100) {\n src\n srcSet\n }\n }\n id\n }\n id\n }\n}\n\nfragment SettingsAuctionsRoute_me on Me {\n ...UserActiveBids_me\n ...UserBidHistory_me\n ...UserRegistrationAuctions_me\n}\n\nfragment UserActiveBids_me on Me {\n activeLotStandings: lotStandings(live: true) {\n ...SettingsAuctionsLotStanding_lotStanding\n }\n}\n\nfragment UserBidHistory_me on Me {\n inactiveLotStandings: lotStandings(live: false) {\n ...SettingsAuctionsLotStanding_lotStanding\n }\n}\n\nfragment UserRegistrationAuctions_me on Me {\n saleRegistrationsConnection(published: true, isAuction: true, sort: CREATED_AT_DESC, first: 10, registered: false) {\n edges {\n node {\n isRegistered\n sale {\n id\n name\n href\n startAt(format: \"MMMM D, h:mmA\")\n isClosed\n isRegistrationClosed\n }\n id\n }\n }\n }\n}\n" + "text": "query settingsRoutes_SettingsAuctionsRouteQuery {\n me {\n ...SettingsAuctionsRoute_me\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment SettingsAuctionsLotStanding_lotStanding on LotStanding {\n isLeadingBidder\n saleArtwork {\n lotLabel\n sale {\n isClosed\n id\n }\n artwork {\n ...Details_artwork\n href\n image {\n cropped(height: 100, width: 100) {\n src\n srcSet\n }\n }\n id\n }\n id\n }\n}\n\nfragment SettingsAuctionsRoute_me on Me {\n ...UserActiveBids_me\n ...UserBidHistory_me\n ...UserRegistrationAuctions_me\n}\n\nfragment UserActiveBids_me on Me {\n activeLotStandings: lotStandings(live: true) {\n ...SettingsAuctionsLotStanding_lotStanding\n }\n}\n\nfragment UserBidHistory_me on Me {\n inactiveLotStandings: lotStandings(live: false) {\n ...SettingsAuctionsLotStanding_lotStanding\n }\n}\n\nfragment UserRegistrationAuctions_me on Me {\n saleRegistrationsConnection(published: true, isAuction: true, sort: CREATED_AT_DESC, first: 10, registered: false) {\n edges {\n node {\n isRegistered\n sale {\n id\n name\n href\n startAt(format: \"MMMM D, h:mmA\")\n isClosed\n isRegistrationClosed\n }\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/useBidderPositionQuery.graphql.ts b/src/__generated__/useBidderPositionQuery.graphql.ts index cfeea49a47b..dda3d5bf3b5 100644 --- a/src/__generated__/useBidderPositionQuery.graphql.ts +++ b/src/__generated__/useBidderPositionQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<0207df688f209bb6396c6b4eca4a14cf>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -609,6 +609,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v14/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v8/*: any*/), + "storageKey": null + }, + (v13/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -885,12 +908,12 @@ return { ] }, "params": { - "cacheID": "2e96cab4003f3e17cbe62d695fcf64ea", + "cacheID": "064e7fc30f4f86836301c2f8457efaca", "id": null, "metadata": {}, "name": "useBidderPositionQuery", "operationKind": "query", - "text": "query useBidderPositionQuery(\n $bidderPositionID: String!\n) {\n me {\n ...AuctionActiveBids_me\n bidderPosition(id: $bidderPositionID) {\n status\n messageHeader\n position {\n internalID\n suggestedNextBid {\n cents\n display\n }\n saleArtwork {\n artwork {\n ...Details_artwork\n id\n }\n id\n }\n id\n }\n }\n id\n }\n}\n\nfragment AuctionActiveBids_me on Me {\n internalID\n lotStandings(live: true) {\n isHighestBidder\n saleArtwork {\n ...AuctionLotInfo_saleArtwork_4oTW5x\n counts {\n bidderPositions\n }\n currentBid {\n display\n }\n slug\n lotLabel\n reserveStatus\n saleID\n highestBid {\n display\n }\n endedAt\n sale {\n slug\n liveStartAt\n endAt\n isLiveOpen\n isClosed\n id\n }\n id\n }\n }\n}\n\nfragment AuctionLotInfo_saleArtwork_4oTW5x on SaleArtwork {\n counts {\n bidderPositions\n }\n lotLabel\n currentBid {\n display\n }\n formattedEndDateTime\n artwork {\n internalID\n date\n title\n image {\n resized(width: 100, height: 100, version: \"medium\") {\n src\n srcSet\n width\n height\n }\n }\n imageUrl\n artistNames\n slug\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n" + "text": "query useBidderPositionQuery(\n $bidderPositionID: String!\n) {\n me {\n ...AuctionActiveBids_me\n bidderPosition(id: $bidderPositionID) {\n status\n messageHeader\n position {\n internalID\n suggestedNextBid {\n cents\n display\n }\n saleArtwork {\n artwork {\n ...Details_artwork\n id\n }\n id\n }\n id\n }\n }\n id\n }\n}\n\nfragment AuctionActiveBids_me on Me {\n internalID\n lotStandings(live: true) {\n isHighestBidder\n saleArtwork {\n ...AuctionLotInfo_saleArtwork_4oTW5x\n counts {\n bidderPositions\n }\n currentBid {\n display\n }\n slug\n lotLabel\n reserveStatus\n saleID\n highestBid {\n display\n }\n endedAt\n sale {\n slug\n liveStartAt\n endAt\n isLiveOpen\n isClosed\n id\n }\n id\n }\n }\n}\n\nfragment AuctionLotInfo_saleArtwork_4oTW5x on SaleArtwork {\n counts {\n bidderPositions\n }\n lotLabel\n currentBid {\n display\n }\n formattedEndDateTime\n artwork {\n internalID\n date\n title\n image {\n resized(width: 100, height: 100, version: \"medium\") {\n src\n srcSet\n width\n height\n }\n }\n imageUrl\n artistNames\n slug\n id\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/useCreateBidderMutation.graphql.ts b/src/__generated__/useCreateBidderMutation.graphql.ts index 3f760b91e46..22754cc5aca 100644 --- a/src/__generated__/useCreateBidderMutation.graphql.ts +++ b/src/__generated__/useCreateBidderMutation.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<8c685a7618305bdb6cfda80029a04503>> + * @generated SignedSource<<132370bf136ee6e77da3ee1862d1db35>> * @lightSyntaxTransform * @nogrep */ @@ -82,57 +82,57 @@ v6 = { "name": "id", "storageKey": null }, -v7 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v8 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "endAt", "storageKey": null }, -v9 = { +v8 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v9 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "cascadingEndTimeIntervalMinutes", "storageKey": null }, -v10 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingIntervalMinutes", "storageKey": null }, -v11 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "startAt", "storageKey": null }, -v12 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v13 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v14 = [ (v3/*: any*/), (v6/*: any*/) @@ -466,6 +466,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v7/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v8/*: any*/), + "storageKey": null + }, + (v6/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -486,7 +509,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -534,7 +557,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -555,7 +578,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v9/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -575,10 +598,10 @@ return { "name": "sale", "plural": false, "selections": [ - (v8/*: any*/), - (v9/*: any*/), + (v7/*: any*/), (v10/*: any*/), (v11/*: any*/), + (v12/*: any*/), { "alias": "is_auction", "args": null, @@ -612,7 +635,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v12/*: any*/), + (v13/*: any*/), { "alias": null, "args": null, @@ -620,7 +643,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v8/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -660,7 +683,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v13/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, { @@ -670,7 +693,7 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v13/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, (v6/*: any*/) @@ -685,7 +708,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v12/*: any*/), + (v13/*: any*/), (v6/*: any*/) ], "storageKey": null @@ -886,7 +909,7 @@ return { "name": "liveStartAt", "storageKey": null }, - (v8/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -894,11 +917,11 @@ return { "name": "endedAt", "storageKey": null }, - (v11/*: any*/), + (v12/*: any*/), (v2/*: any*/), (v5/*: any*/), - (v9/*: any*/), (v10/*: any*/), + (v11/*: any*/), { "alias": null, "args": null, @@ -940,12 +963,12 @@ return { ] }, "params": { - "cacheID": "8f9b938766f38200d7ff6b9b5a9c170c", + "cacheID": "bb25d984fa1a5ca8a1188a4ff5e17059", "id": null, "metadata": {}, "name": "useCreateBidderMutation", "operationKind": "mutation", - "text": "mutation useCreateBidderMutation(\n $input: CreateBidderInput!\n) {\n createBidder(input: $input) {\n bidder {\n internalID\n sale {\n ...AuctionApp_sale\n id\n }\n id\n }\n }\n}\n\nfragment AuctionApp_sale on Sale {\n ...AuctionMeta_sale\n ...AuctionAssociatedSale_sale\n ...AuctionBuyNowRail_sale\n ...AuctionDetails_sale\n ...CascadingEndTimesBanner_sale\n internalID\n slug\n isClosed\n eligibleSaleArtworksCount\n coverImage {\n url(version: [\"wide\", \"source\", \"large_rectangle\"])\n }\n showAssociatedSale: associatedSale {\n internalID\n id\n }\n showBuyNowTab: promotedSale {\n internalID\n id\n }\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n status\n}\n\nfragment AuctionAssociatedSale_sale on Sale {\n associatedSale {\n coverImage {\n cropped(width: 445, height: 250) {\n src\n srcSet\n }\n }\n displayTimelyAt\n href\n slug\n name\n id\n }\n}\n\nfragment AuctionBuyNowRail_sale on Sale {\n promotedSale {\n href\n internalID\n name\n saleArtworksConnection(first: 30) {\n edges {\n node {\n artwork {\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n }\n id\n }\n}\n\nfragment AuctionDetails_sale on Sale {\n ...RegisterButton_sale\n ...AuctionInfoSidebar_sale\n ...SaleDetailTimer_sale\n internalID\n name\n slug\n liveStartAt\n startAt\n endAt\n description(format: HTML)\n href\n isClosed\n cascadingEndTimeIntervalMinutes\n}\n\nfragment AuctionInfoSidebar_sale on Sale {\n liveStartAt\n}\n\nfragment AuctionMeta_sale on Sale {\n name\n description(format: HTML)\n slug\n coverImage {\n url(version: [\"wide\", \"source\", \"large_rectangle\"])\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CascadingEndTimesBanner_sale on Sale {\n isClosed\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment RegisterButton_sale on Sale {\n bidder {\n qualifiedForBidding\n id\n }\n isAuction\n isClosed\n isLiveOpen\n isPreview\n isRegistrationClosed\n liveURLIfOpen\n requireIdentityVerification\n registrationStatus {\n internalID\n id\n }\n slug\n status\n}\n\nfragment SaleDetailTimer_sale on Sale {\n endAt\n endedAt\n startAt\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" + "text": "mutation useCreateBidderMutation(\n $input: CreateBidderInput!\n) {\n createBidder(input: $input) {\n bidder {\n internalID\n sale {\n ...AuctionApp_sale\n id\n }\n id\n }\n }\n}\n\nfragment AuctionApp_sale on Sale {\n ...AuctionMeta_sale\n ...AuctionAssociatedSale_sale\n ...AuctionBuyNowRail_sale\n ...AuctionDetails_sale\n ...CascadingEndTimesBanner_sale\n internalID\n slug\n isClosed\n eligibleSaleArtworksCount\n coverImage {\n url(version: [\"wide\", \"source\", \"large_rectangle\"])\n }\n showAssociatedSale: associatedSale {\n internalID\n id\n }\n showBuyNowTab: promotedSale {\n internalID\n id\n }\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n status\n}\n\nfragment AuctionAssociatedSale_sale on Sale {\n associatedSale {\n coverImage {\n cropped(width: 445, height: 250) {\n src\n srcSet\n }\n }\n displayTimelyAt\n href\n slug\n name\n id\n }\n}\n\nfragment AuctionBuyNowRail_sale on Sale {\n promotedSale {\n href\n internalID\n name\n saleArtworksConnection(first: 30) {\n edges {\n node {\n artwork {\n ...ShelfArtwork_artwork\n id\n }\n id\n }\n }\n }\n id\n }\n}\n\nfragment AuctionDetails_sale on Sale {\n ...RegisterButton_sale\n ...AuctionInfoSidebar_sale\n ...SaleDetailTimer_sale\n internalID\n name\n slug\n liveStartAt\n startAt\n endAt\n description(format: HTML)\n href\n isClosed\n cascadingEndTimeIntervalMinutes\n}\n\nfragment AuctionInfoSidebar_sale on Sale {\n liveStartAt\n}\n\nfragment AuctionMeta_sale on Sale {\n name\n description(format: HTML)\n slug\n coverImage {\n url(version: [\"wide\", \"source\", \"large_rectangle\"])\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment CascadingEndTimesBanner_sale on Sale {\n isClosed\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment RegisterButton_sale on Sale {\n bidder {\n qualifiedForBidding\n id\n }\n isAuction\n isClosed\n isLiveOpen\n isPreview\n isRegistrationClosed\n liveURLIfOpen\n requireIdentityVerification\n registrationStatus {\n internalID\n id\n }\n slug\n status\n}\n\nfragment SaleDetailTimer_sale on Sale {\n endAt\n endedAt\n startAt\n}\n\nfragment ShelfArtwork_artwork on Artwork {\n ...ExclusiveAccessBadge_artwork\n ...Metadata_artwork\n title\n href\n artistNames\n isUnlisted\n image {\n src: url(version: [\"larger\", \"large\"])\n width\n height\n blurhashDataURL\n }\n}\n" } }; })(); diff --git a/src/__generated__/viewingRoomRoutes_ViewingRoomWorksRouteQuery.graphql.ts b/src/__generated__/viewingRoomRoutes_ViewingRoomWorksRouteQuery.graphql.ts index 3ce38dfad6c..abe663de29d 100644 --- a/src/__generated__/viewingRoomRoutes_ViewingRoomWorksRouteQuery.graphql.ts +++ b/src/__generated__/viewingRoomRoutes_ViewingRoomWorksRouteQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<96346e5ae37def5d5888651d88f5ec6b>> * @lightSyntaxTransform * @nogrep */ @@ -92,53 +92,53 @@ v6 = { "name": "href", "storageKey": null }, -v7 = [ - { - "kind": "Literal", - "name": "shallow", - "value": true - } -], -v8 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "id", + "name": "endAt", "storageKey": null }, +v8 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], v9 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "name", + "name": "id", "storageKey": null }, -v10 = { +v10 = [ + { + "kind": "Literal", + "name": "shallow", + "value": true + } +], +v11 = { "alias": null, "args": null, "kind": "ScalarField", - "name": "endAt", + "name": "name", "storageKey": null }, -v11 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v12 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v13 = [ - (v9/*: any*/), - (v8/*: any*/) + (v11/*: any*/), + (v9/*: any*/) ]; return { "fragment": { @@ -329,6 +329,29 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v7/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v8/*: any*/), + "storageKey": null + }, + (v9/*: any*/) + ], + "storageKey": null } ], "storageKey": null @@ -349,7 +372,7 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -373,7 +396,7 @@ return { ], "storageKey": null }, - (v8/*: any*/) + (v9/*: any*/) ], "storageKey": "artist(shallow:true)" }, @@ -397,15 +420,15 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v10/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", "plural": true, "selections": [ - (v8/*: any*/), + (v9/*: any*/), (v6/*: any*/), - (v9/*: any*/) + (v11/*: any*/) ], "storageKey": "artists(shallow:true)" }, @@ -418,15 +441,15 @@ return { }, { "alias": null, - "args": (v7/*: any*/), + "args": (v10/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", "plural": false, "selections": [ - (v9/*: any*/), + (v11/*: any*/), (v6/*: any*/), - (v8/*: any*/) + (v9/*: any*/) ], "storageKey": "partner(shallow:true)" }, @@ -438,7 +461,7 @@ return { "name": "sale", "plural": false, "selections": [ - (v10/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -474,7 +497,7 @@ return { "name": "isClosed", "storageKey": null }, - (v8/*: any*/) + (v9/*: any*/) ], "storageKey": null }, @@ -486,7 +509,7 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), + (v12/*: any*/), { "alias": null, "args": null, @@ -494,7 +517,7 @@ return { "name": "lotLabel", "storageKey": null }, - (v10/*: any*/), + (v7/*: any*/), { "alias": null, "args": null, @@ -534,7 +557,7 @@ return { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, { @@ -544,10 +567,10 @@ return { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v12/*: any*/), + "selections": (v8/*: any*/), "storageKey": null }, - (v8/*: any*/) + (v9/*: any*/) ], "storageKey": null }, @@ -559,8 +582,8 @@ return { "name": "saleArtwork", "plural": false, "selections": [ - (v11/*: any*/), - (v8/*: any*/) + (v12/*: any*/), + (v9/*: any*/) ], "storageKey": null }, @@ -595,7 +618,7 @@ return { ], "storageKey": null }, - (v8/*: any*/), + (v9/*: any*/), { "alias": null, "args": [ @@ -624,12 +647,12 @@ return { ] }, "params": { - "cacheID": "e0030482804c5584832f67b6706a2d49", + "cacheID": "760ddb174a08470a021249a2ea5f7d5c", "id": null, "metadata": {}, "name": "viewingRoomRoutes_ViewingRoomWorksRouteQuery", "operationKind": "query", - "text": "query viewingRoomRoutes_ViewingRoomWorksRouteQuery(\n $slug: ID!\n) {\n viewingRoom(id: $slug) @principalField {\n ...ViewingRoomWorksRoute_viewingRoom\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment ViewingRoomArtworkDetails_artwork on Artwork {\n ...Details_artwork\n id\n additionalInformation(format: HTML)\n href\n}\n\nfragment ViewingRoomWorksRoute_viewingRoom on ViewingRoom {\n artworksConnection {\n edges {\n node {\n internalID\n title\n images {\n internalID\n solo: resized(quality: 85, width: 600, version: \"normalized\") {\n src\n srcSet\n width\n height\n }\n resized(quality: 85, height: 550, version: \"normalized\") {\n src\n srcSet\n width\n height\n }\n }\n ...ViewingRoomArtworkDetails_artwork\n id\n }\n }\n }\n}\n" + "text": "query viewingRoomRoutes_ViewingRoomWorksRouteQuery(\n $slug: ID!\n) {\n viewingRoom(id: $slug) @principalField {\n ...ViewingRoomWorksRoute_viewingRoom\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment ViewingRoomArtworkDetails_artwork on Artwork {\n ...Details_artwork\n id\n additionalInformation(format: HTML)\n href\n}\n\nfragment ViewingRoomWorksRoute_viewingRoom on ViewingRoom {\n artworksConnection {\n edges {\n node {\n internalID\n title\n images {\n internalID\n solo: resized(quality: 85, width: 600, version: \"normalized\") {\n src\n srcSet\n width\n height\n }\n resized(quality: 85, height: 550, version: \"normalized\") {\n src\n srcSet\n width\n height\n }\n }\n ...ViewingRoomArtworkDetails_artwork\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/worksForYouRoutes_TopLevelQuery.graphql.ts b/src/__generated__/worksForYouRoutes_TopLevelQuery.graphql.ts index 33f3267086d..cf6cb15af63 100644 --- a/src/__generated__/worksForYouRoutes_TopLevelQuery.graphql.ts +++ b/src/__generated__/worksForYouRoutes_TopLevelQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<3a169b382fa2844c0f9ce69bf31bcb3a>> + * @generated SignedSource<<22d703a732185fde7739102e8288b2e2>> * @lightSyntaxTransform * @nogrep */ @@ -311,6 +311,22 @@ v21 = { "storageKey": null }, v22 = { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "endAt", + "storageKey": null +}, +v23 = [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "display", + "storageKey": null + } +], +v24 = { "alias": null, "args": null, "concreteType": "CollectorSignals", @@ -370,34 +386,57 @@ v22 = { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "PartnerOfferToCollector", + "kind": "LinkedField", + "name": "partnerOffer", + "plural": false, + "selections": [ + (v22/*: any*/), + { + "alias": null, + "args": null, + "concreteType": "Money", + "kind": "LinkedField", + "name": "priceWithDiscount", + "plural": false, + "selections": (v23/*: any*/), + "storageKey": null + }, + (v12/*: any*/) + ], + "storageKey": null } ], "storageKey": null }, -v23 = { +v25 = { "alias": "sale_message", "args": null, "kind": "ScalarField", "name": "saleMessage", "storageKey": null }, -v24 = { +v26 = { "alias": "cultural_maker", "args": null, "kind": "ScalarField", "name": "culturalMaker", "storageKey": null }, -v25 = [ +v27 = [ { "kind": "Literal", "name": "shallow", "value": true } ], -v26 = { +v28 = { "alias": null, - "args": (v25/*: any*/), + "args": (v27/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artist", @@ -425,7 +464,7 @@ v26 = { ], "storageKey": "artist(shallow:true)" }, -v27 = { +v29 = { "alias": null, "args": null, "concreteType": "ArtworkPriceInsights", @@ -443,9 +482,9 @@ v27 = { ], "storageKey": null }, -v28 = { +v30 = { "alias": null, - "args": (v25/*: any*/), + "args": (v27/*: any*/), "concreteType": "Artist", "kind": "LinkedField", "name": "artists", @@ -457,16 +496,16 @@ v28 = { ], "storageKey": "artists(shallow:true)" }, -v29 = { +v31 = { "alias": "collecting_institution", "args": null, "kind": "ScalarField", "name": "collectingInstitution", "storageKey": null }, -v30 = { +v32 = { "alias": null, - "args": (v25/*: any*/), + "args": (v27/*: any*/), "concreteType": "Partner", "kind": "LinkedField", "name": "partner", @@ -478,14 +517,7 @@ v30 = { ], "storageKey": "partner(shallow:true)" }, -v31 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endAt", - "storageKey": null -}, -v32 = { +v33 = { "alias": null, "args": null, "concreteType": "Sale", @@ -493,7 +525,7 @@ v32 = { "name": "sale", "plural": false, "selections": [ - (v31/*: any*/), + (v22/*: any*/), { "alias": null, "args": null, @@ -547,29 +579,20 @@ v32 = { ], "storageKey": null }, -v33 = { +v34 = { "alias": null, "args": null, "kind": "ScalarField", "name": "lotID", "storageKey": null }, -v34 = { +v35 = { "alias": null, "args": null, "kind": "ScalarField", "name": "extendedBiddingEndAt", "storageKey": null }, -v35 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "display", - "storageKey": null - } -], v36 = { "alias": "sale_artwork", "args": null, @@ -578,7 +601,7 @@ v36 = { "name": "saleArtwork", "plural": false, "selections": [ - (v33/*: any*/), + (v34/*: any*/), { "alias": null, "args": null, @@ -586,8 +609,8 @@ v36 = { "name": "lotLabel", "storageKey": null }, - (v31/*: any*/), - (v34/*: any*/), + (v22/*: any*/), + (v35/*: any*/), { "alias": null, "args": null, @@ -620,7 +643,7 @@ v36 = { "kind": "LinkedField", "name": "highestBid", "plural": false, - "selections": (v35/*: any*/), + "selections": (v23/*: any*/), "storageKey": null }, { @@ -630,7 +653,7 @@ v36 = { "kind": "LinkedField", "name": "openingBid", "plural": false, - "selections": (v35/*: any*/), + "selections": (v23/*: any*/), "storageKey": null }, (v12/*: any*/) @@ -645,10 +668,10 @@ v37 = { "name": "saleArtwork", "plural": false, "selections": [ - (v33/*: any*/), + (v34/*: any*/), (v12/*: any*/), - (v31/*: any*/), - (v34/*: any*/) + (v22/*: any*/), + (v35/*: any*/) ], "storageKey": null }, @@ -929,15 +952,15 @@ return { (v19/*: any*/), (v20/*: any*/), (v21/*: any*/), - (v22/*: any*/), - (v23/*: any*/), (v24/*: any*/), + (v25/*: any*/), (v26/*: any*/), - (v27/*: any*/), (v28/*: any*/), (v29/*: any*/), (v30/*: any*/), + (v31/*: any*/), (v32/*: any*/), + (v33/*: any*/), (v36/*: any*/), (v37/*: any*/), (v39/*: any*/), @@ -1099,15 +1122,15 @@ return { (v19/*: any*/), (v20/*: any*/), (v21/*: any*/), - (v22/*: any*/), - (v23/*: any*/), (v24/*: any*/), + (v25/*: any*/), (v26/*: any*/), - (v27/*: any*/), (v28/*: any*/), (v29/*: any*/), (v30/*: any*/), + (v31/*: any*/), (v32/*: any*/), + (v33/*: any*/), (v36/*: any*/), (v37/*: any*/), (v39/*: any*/), @@ -1301,12 +1324,12 @@ return { ] }, "params": { - "cacheID": "29dffe4d0d0b62b777d7bce0408a6858", + "cacheID": "527f55bb01708abd8b0dcb48b28918dc", "id": null, "metadata": {}, "name": "worksForYouRoutes_TopLevelQuery", "operationKind": "query", - "text": "query worksForYouRoutes_TopLevelQuery(\n $includeSelectedArtist: Boolean!\n $artistSlug: String!\n) {\n viewerArtist: viewer {\n ...WorksForYouApp_viewerArtist_1H2h5M @include(if: $includeSelectedArtist)\n }\n viewerFeed: viewer {\n ...WorksForYouApp_viewerFeed @skip(if: $includeSelectedArtist)\n }\n viewerMe: viewer {\n ...WorksForYouApp_viewerMe\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n }\n}\n\nfragment WorksForYouApp_viewerArtist_1H2h5M on Viewer {\n ...WorksForYouArtistFeed_viewer_1H2h5M\n}\n\nfragment WorksForYouApp_viewerFeed on Viewer {\n ...WorksForYouFeed_viewer\n}\n\nfragment WorksForYouApp_viewerMe on Viewer {\n me {\n followsAndSaves {\n artistsConnection(first: 99) {\n totalCount\n edges {\n node {\n artist {\n name\n slug\n id\n }\n id\n }\n }\n }\n bundledArtworksByArtistConnection(first: 1, forSale: true) {\n edges {\n node {\n id\n }\n }\n }\n }\n id\n }\n}\n\nfragment WorksForYouArtistFeed_viewer_1H2h5M on Viewer {\n artist(id: $artistSlug) {\n internalID\n name\n href\n counts {\n artworks\n forSaleArtworks\n }\n image {\n resized(height: 80, width: 80) {\n src\n srcSet\n }\n }\n artworksConnection(sort: PUBLISHED_AT_DESC, first: 25, filter: [IS_FOR_SALE]) {\n ...ArtworkGrid_artworks\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n }\n id\n }\n}\n\nfragment WorksForYouFeed_viewer on Viewer {\n me {\n followsAndSaves {\n bundledArtworksByArtistConnection(sort: PUBLISHED_AT_DESC, first: 25, forSale: true) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n href\n summary\n artists\n publishedAt(format: \"MMM DD\")\n artworksConnection {\n ...ArtworkGrid_artworks\n }\n image {\n resized(height: 80, width: 80) {\n src\n srcSet\n }\n }\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n" + "text": "query worksForYouRoutes_TopLevelQuery(\n $includeSelectedArtist: Boolean!\n $artistSlug: String!\n) {\n viewerArtist: viewer {\n ...WorksForYouApp_viewerArtist_1H2h5M @include(if: $includeSelectedArtist)\n }\n viewerFeed: viewer {\n ...WorksForYouApp_viewerFeed @skip(if: $includeSelectedArtist)\n }\n viewerMe: viewer {\n ...WorksForYouApp_viewerMe\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n __isArtworkConnectionInterface: __typename\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image(includeAll: false) {\n aspectRatio\n }\n ...GridItem_artwork_3QDGWC\n ...FlatGridItem_artwork_13vYwd\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment BidTimerLine_artwork on Artwork {\n saleArtwork {\n lotID\n id\n }\n collectorSignals {\n auction {\n lotClosesAt\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n}\n\nfragment Details_artwork_1ZRKfT on Artwork {\n internalID\n href\n title\n date\n collectorSignals {\n primaryLabel\n auction {\n bidCount\n lotClosesAt\n liveBiddingStarted\n registrationEndsAt\n onlineBiddingExtended\n }\n }\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artist(shallow: true) {\n targetSupply {\n isP1\n }\n id\n }\n marketPriceInsights {\n demandRank\n }\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n endAt\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n startAt\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n lotID\n lotLabel\n endAt\n extendedBiddingEndAt\n formattedEndDateTime\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n ...PrimaryLabelLine_artwork\n ...BidTimerLine_artwork\n ...HoverDetails_artwork\n}\n\nfragment ExclusiveAccessBadge_artwork on Artwork {\n isUnlisted\n}\n\nfragment FlatGridItem_artwork_13vYwd on Artwork {\n ...Metadata_artwork_1ZRKfT\n sale {\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n startAt\n isOpen\n id\n }\n saleArtwork {\n endAt\n extendedBiddingEndAt\n lotID\n id\n }\n internalID\n title\n image_title: imageTitle\n image(includeAll: false) {\n resized(width: 445, version: [\"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n blurhashDataURL\n }\n artistNames\n href\n}\n\nfragment GridItem_artwork_3QDGWC on Artwork {\n internalID\n title\n imageTitle\n image(includeAll: false) {\n internalID\n placeholder\n url(version: [\"larger\", \"large\"])\n aspectRatio\n versions\n blurhashDataURL\n }\n artistNames\n href\n ...Metadata_artwork_1ZRKfT\n ...ExclusiveAccessBadge_artwork\n}\n\nfragment HoverDetails_artwork on Artwork {\n internalID\n attributionClass {\n name\n id\n }\n mediumType {\n filterGene {\n name\n id\n }\n }\n}\n\nfragment Metadata_artwork_1ZRKfT on Artwork {\n ...Details_artwork_1ZRKfT\n internalID\n href\n sale {\n isOpen\n id\n }\n}\n\nfragment PrimaryLabelLine_artwork on Artwork {\n collectorSignals {\n primaryLabel\n partnerOffer {\n endAt\n priceWithDiscount {\n display\n }\n id\n }\n }\n}\n\nfragment WorksForYouApp_viewerArtist_1H2h5M on Viewer {\n ...WorksForYouArtistFeed_viewer_1H2h5M\n}\n\nfragment WorksForYouApp_viewerFeed on Viewer {\n ...WorksForYouFeed_viewer\n}\n\nfragment WorksForYouApp_viewerMe on Viewer {\n me {\n followsAndSaves {\n artistsConnection(first: 99) {\n totalCount\n edges {\n node {\n artist {\n name\n slug\n id\n }\n id\n }\n }\n }\n bundledArtworksByArtistConnection(first: 1, forSale: true) {\n edges {\n node {\n id\n }\n }\n }\n }\n id\n }\n}\n\nfragment WorksForYouArtistFeed_viewer_1H2h5M on Viewer {\n artist(id: $artistSlug) {\n internalID\n name\n href\n counts {\n artworks\n forSaleArtworks\n }\n image {\n resized(height: 80, width: 80) {\n src\n srcSet\n }\n }\n artworksConnection(sort: PUBLISHED_AT_DESC, first: 25, filter: [IS_FOR_SALE]) {\n ...ArtworkGrid_artworks\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n }\n id\n }\n}\n\nfragment WorksForYouFeed_viewer on Viewer {\n me {\n followsAndSaves {\n bundledArtworksByArtistConnection(sort: PUBLISHED_AT_DESC, first: 25, forSale: true) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n href\n summary\n artists\n publishedAt(format: \"MMM DD\")\n artworksConnection {\n ...ArtworkGrid_artworks\n }\n image {\n resized(height: 80, width: 80) {\n src\n srcSet\n }\n }\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n" } }; })();