diff --git a/src/Apps/Artwork/Components/ArtworkSidebar/ArtworkSidebarPrivateArtwork.tsx b/src/Apps/Artwork/Components/ArtworkSidebar/ArtworkSidebarPrivateArtwork.tsx index 9ae395a0386..40b633f7e84 100644 --- a/src/Apps/Artwork/Components/ArtworkSidebar/ArtworkSidebarPrivateArtwork.tsx +++ b/src/Apps/Artwork/Components/ArtworkSidebar/ArtworkSidebarPrivateArtwork.tsx @@ -24,6 +24,9 @@ export const ArtworkSidebarPrivateArtwork: React.FC Exclusive access. This work was privately shared by{" "} - { - const payload = { - action: "Click", - context_module: "Sidebar", - subject: "Gallery Name", - type: "Link", - flow: "Exclusive Access", - } + {data.partner?.profile?.isPubliclyVisible ? ( + { + const payload = { + action: "Click", + context_module: "Sidebar", + subject: "Gallery Name", + type: "Link", + flow: "Exclusive Access", + } - trackEvent(payload) - }} - > - {data.partner?.name} - + trackEvent(payload) + }} + > + {data.partner?.name} + + ) : ( + data.partner?.name + )} ) diff --git a/src/__generated__/ArtworkAppTestQuery.graphql.ts b/src/__generated__/ArtworkAppTestQuery.graphql.ts index 3c85c195e22..d2c7abe5682 100644 --- a/src/__generated__/ArtworkAppTestQuery.graphql.ts +++ b/src/__generated__/ArtworkAppTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<3ebb158dcc7467b83a3837b13ffa3bf8>> + * @generated SignedSource<<8a60e2575a48c13689fd86329fd54dc7>> * @lightSyntaxTransform * @nogrep */ @@ -1319,6 +1319,13 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "isPubliclyVisible", + "storageKey": null } ], "storageKey": null @@ -2674,12 +2681,12 @@ return { ] }, "params": { - "cacheID": "62af10885add60a4f3bc74b29af29a1c", + "cacheID": "673b4678061309684d5e7d5760914bdd", "id": null, "metadata": {}, "name": "ArtworkAppTestQuery", "operationKind": "query", - "text": "query ArtworkAppTestQuery {\n artworkResult(id: \"artwork-id\") {\n __typename\n ...ArtworkApp_artworkResult\n ... on Node {\n __isNode: __typename\n id\n }\n }\n me {\n ...ArtworkApp_me_39o6UP\n id\n }\n}\n\nfragment ArtistBio_bio on Artist {\n biographyBlurb(format: HTML, partnerBio: false) {\n credit\n partnerID\n text\n }\n}\n\nfragment ArtistInfo_artist on Artist {\n ...EntityHeaderArtist_artist\n internalID\n slug\n image {\n cropped(width: 45, height: 45) {\n src\n srcSet\n }\n }\n counts {\n partnerShows\n }\n exhibitionHighlights(size: 3) {\n ...SelectedExhibitions_exhibitions\n id\n }\n collections\n highlights {\n partnersConnection(first: 10, displayOnPartnerProfile: true, representedBy: true, partnerCategory: [\"blue-chip\", \"top-established\", \"top-emerging\"]) {\n edges {\n node {\n __typename\n id\n }\n id\n }\n }\n }\n auctionResultsConnection(recordsTrusted: true, first: 1, sort: PRICE_AND_DATE_DESC) {\n edges {\n node {\n __typename\n id\n }\n }\n }\n ...ArtistBio_bio\n ...ArtistMarketInsights_artist\n biographyBlurb(format: HTML, partnerBio: false) {\n text\n }\n}\n\nfragment ArtistMarketInsights_artist on Artist {\n collections\n highlights {\n partnersConnection(first: 10, displayOnPartnerProfile: true, representedBy: true, partnerCategory: [\"blue-chip\", \"top-established\", \"top-emerging\"]) {\n edges {\n node {\n categories {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n auctionResultsConnection(recordsTrusted: true, first: 1, sort: PRICE_AND_DATE_DESC) {\n edges {\n node {\n price_realized: priceRealized {\n display(format: \"0.0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n}\n\nfragment ArtworkActionsSaveButton_artwork on Artwork {\n id\n internalID\n isSaved\n slug\n title\n date\n artistNames\n preview: image {\n url(version: \"square\")\n }\n isSavedToList\n sale {\n isAuction\n isClosed\n id\n }\n ...ArtworkActionsWatchLotButton_artwork\n}\n\nfragment ArtworkActionsWatchLotButton_artwork on Artwork {\n sale {\n isLiveOpen\n isRegistrationClosed\n liveStartAt\n registrationStatus {\n qualifiedForBidding\n id\n }\n id\n }\n ...ArtworkAuctionRegistrationPanel_artwork\n}\n\nfragment ArtworkActions_artwork_FOvjt on Artwork {\n ...ArtworkActionsSaveButton_artwork\n ...ArtworkDownloadButton_artwork\n ...ArtworkSharePanel_artwork_FOvjt\n ...ViewInRoom_artwork\n isUnlisted\n slug\n downloadableImageUrl\n isDownloadable\n isHangable\n partner {\n slug\n id\n }\n}\n\nfragment ArtworkApp_artwork on Artwork {\n ...ArtworkRelatedArtists_artwork\n ...ArtworkMeta_artwork\n ...ArtworkTopContextBar_artwork\n ...ArtworkImageBrowser_artwork\n ...ArtworkSidebar_artwork\n ...ArtworkAuctionCreateAlertHeader_artwork\n ...PrivateArtworkDetails_artwork\n ...ArtworkPageBanner_artwork\n attributionClass {\n internalID\n id\n }\n slug\n internalID\n isAcquireable\n isOfferable\n published\n availability\n mediumType {\n filterGene {\n slug\n id\n }\n }\n visibilityLevel\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n partner {\n __typename\n id\n }\n isInAuction\n sale {\n internalID\n slug\n extendedBiddingIntervalMinutes\n id\n }\n artists {\n id\n internalID\n slug\n ...ArtistInfo_artist\n }\n artist {\n ...ArtistInfo_artist\n id\n }\n}\n\nfragment ArtworkApp_artworkResult on ArtworkResult {\n __isArtworkResult: __typename\n __typename\n ...ArtworkApp_artwork\n ...ArtworkErrorApp_artworkError\n}\n\nfragment ArtworkApp_me_39o6UP on Me {\n ...ArtworkSidebar_me_39o6UP\n ...ArtworkPageBanner_me_39o6UP\n}\n\nfragment ArtworkAuctionCreateAlertHeader_artwork on Artwork {\n slug\n internalID\n title\n isEligibleToCreateAlert\n isInAuction\n artistNames\n artists {\n internalID\n name\n slug\n id\n }\n sale {\n startAt\n isClosed\n id\n }\n saleArtwork {\n extendedBiddingEndAt\n endAt\n endedAt\n id\n }\n attributionClass {\n internalID\n id\n }\n mediumType {\n filterGene {\n slug\n name\n id\n }\n }\n savedSearch {\n suggestedArtworksConnection {\n totalCount\n }\n }\n myLotStandingManageAlerts: myLotStanding {\n isHighestBidder\n }\n}\n\nfragment ArtworkAuctionRegistrationPanel_artwork on Artwork {\n sale {\n slug\n registrationEndsAt\n isRegistrationClosed\n id\n }\n}\n\nfragment ArtworkChatBubble_artwork on Artwork {\n isAcquireable\n isInquireable\n isOfferable\n isInAuction\n listPrice {\n __typename\n ... on Money {\n currencyCode\n major\n }\n ... on PriceRange {\n maxPrice {\n currencyCode\n major\n }\n }\n }\n saleArtwork {\n currency\n openingBid {\n cents\n }\n id\n }\n}\n\nfragment ArtworkDownloadButton_artwork on Artwork {\n title\n date\n downloadableImageUrl\n artists {\n name\n id\n }\n}\n\nfragment ArtworkErrorApp_artworkError on ArtworkError {\n artwork {\n slug\n id\n }\n requestError {\n statusCode\n }\n}\n\nfragment ArtworkImageBrowserLarge_artwork_FOvjt on Artwork {\n ...ArtworkLightbox_artwork_FOvjt\n ...ArtworkVideoPlayer_artwork_FOvjt\n isSetVideoAsCover\n figures(includeAll: false) {\n __typename\n ... on Image {\n ...DeepZoom_image\n __typename\n internalID\n isZoomable\n }\n ... on Video {\n __typename\n id\n }\n }\n}\n\nfragment ArtworkImageBrowserSmall_artwork_FOvjt on Artwork {\n ...ArtworkLightbox_artwork_FOvjt\n ...ArtworkVideoPlayer_artwork_FOvjt\n isSetVideoAsCover\n figures(includeAll: false) {\n __typename\n ... on Image {\n ...DeepZoom_image\n internalID\n isZoomable\n type: __typename\n }\n ... on Video {\n type: __typename\n id\n }\n }\n}\n\nfragment ArtworkImageBrowser_artwork on Artwork {\n ...ArtworkActions_artwork_FOvjt\n ...ArtworkImageBrowserSmall_artwork_FOvjt\n ...ArtworkImageBrowserLarge_artwork_FOvjt\n internalID\n figures(includeAll: false) {\n __typename\n ... on Image {\n isDefault\n width\n height\n }\n ... on Video {\n videoWidth: width\n videoHeight: height\n id\n }\n }\n}\n\nfragment ArtworkLightbox_artwork_FOvjt on Artwork {\n formattedMetadata\n images(includeAll: false) {\n internalID\n isDefault\n placeholder: url(version: [\"small\", \"medium\"])\n fallback: cropped(quality: 85, width: 800, height: 800, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n width\n height\n src\n srcSet\n }\n resized(quality: 85, width: 800, height: 800, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n width\n height\n src\n srcSet\n }\n versions\n }\n}\n\nfragment ArtworkMeta_artwork on Artwork {\n ...SeoDataForArtwork_artwork\n ...ArtworkChatBubble_artwork\n href\n isShareable\n visibilityLevel\n metaImage: image {\n resized(width: 640, height: 640, version: [\"large\", \"medium\", \"tall\"]) {\n width\n height\n url\n }\n }\n meta {\n title\n description(limit: 155)\n longDescription: description(limit: 200)\n }\n}\n\nfragment ArtworkPageBanner_artwork on Artwork {\n published\n visibilityLevel\n isPurchasable\n sale {\n __typename\n ...CascadingEndTimesBanner_sale\n id\n }\n}\n\nfragment ArtworkPageBanner_me_39o6UP on Me {\n partnerOffersConnection(artworkID: \"artwork-id\", first: 1) {\n edges {\n node {\n internalID\n id\n }\n }\n }\n}\n\nfragment ArtworkRelatedArtists_artwork on Artwork {\n slug\n artist {\n href\n related {\n artistsConnection(kind: MAIN, first: 6, after: \"\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n ...EntityHeaderArtist_artist\n id\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n\nfragment ArtworkSharePanel_artwork_FOvjt on Artwork {\n href\n images(includeAll: false) {\n url\n }\n artworkMeta: meta {\n share\n }\n}\n\nfragment ArtworkSidebarArtists_artwork on Artwork {\n culturalMaker\n artists {\n slug\n name\n id\n }\n}\n\nfragment ArtworkSidebarArtsyGuarantee_artwork on Artwork {\n isUnlisted\n}\n\nfragment ArtworkSidebarArtworkTitle_artwork on Artwork {\n date\n title\n}\n\nfragment ArtworkSidebarAuctionInfoPolling_artwork on Artwork {\n internalID\n sale {\n isClosed\n id\n }\n saleArtwork {\n currentBid {\n display\n }\n id\n }\n ...ArtworkSidebarCurrentBidInfo_artwork\n ...ArtworkSidebarBidAction_artwork\n}\n\nfragment ArtworkSidebarAuctionInfoPolling_me on Me {\n ...ArtworkSidebarBidAction_me\n}\n\nfragment ArtworkSidebarAuctionTimer_artwork on Artwork {\n internalID\n sale {\n cascadingEndTimeIntervalMinutes\n isClosed\n ...AuctionTimer_sale\n startAt\n id\n }\n saleArtwork {\n ...LotTimer_saleArtwork\n endAt\n endedAt\n id\n }\n}\n\nfragment ArtworkSidebarAuthenticityCertificate_artwork on Artwork {\n hasCertificateOfAuthenticity\n isBiddable\n}\n\nfragment ArtworkSidebarBidAction_artwork on Artwork {\n myLotStanding(live: true) {\n most_recent_bid: mostRecentBid {\n max_bid: maxBid {\n cents\n }\n id\n }\n }\n slug\n internalID\n sale {\n slug\n registrationStatus {\n qualified_for_bidding: qualifiedForBidding\n id\n }\n is_preview: isPreview\n is_open: isOpen\n is_live_open: isLiveOpen\n is_closed: isClosed\n is_registration_closed: isRegistrationClosed\n requireIdentityVerification\n id\n }\n sale_artwork: saleArtwork {\n increments {\n cents\n display\n }\n endedAt\n id\n }\n}\n\nfragment ArtworkSidebarBidAction_me on Me {\n isIdentityVerified\n pendingIdentityVerification {\n internalID\n id\n }\n}\n\nfragment ArtworkSidebarBiddingClosedMessage_artwork on Artwork {\n isEligibleToCreateAlert\n artists {\n internalID\n id\n }\n attributionClass {\n internalID\n id\n }\n mediumType {\n filterGene {\n slug\n id\n }\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attributionClass {\n shortArrayDescription\n id\n }\n}\n\nfragment ArtworkSidebarCommercialButtons_artwork on Artwork {\n ...ArtworkSidebarEditionSets_artwork\n isEligibleToCreateAlert\n artists {\n internalID\n id\n }\n attributionClass {\n internalID\n id\n }\n internalID\n slug\n saleMessage\n isInquireable\n isAcquireable\n isOfferable\n isSold\n priceListedDisplay\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n mediumType {\n filterGene {\n slug\n id\n }\n }\n editionSets {\n id\n internalID\n isAcquireable\n isOfferable\n saleMessage\n }\n partner {\n profile {\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n}\n\nfragment ArtworkSidebarCommercialButtons_me_39o6UP on Me {\n partnerOffersConnection(artworkID: \"artwork-id\", first: 1) {\n edges {\n node {\n endAt\n internalID\n isAvailable\n note\n priceWithDiscount {\n display\n }\n id\n }\n }\n }\n}\n\nfragment ArtworkSidebarCreateAlert_artwork on Artwork {\n internalID\n title\n slug\n isEligibleToCreateAlert\n artists {\n internalID\n name\n slug\n id\n }\n attributionClass {\n internalID\n id\n }\n mediumType {\n filterGene {\n slug\n name\n id\n }\n }\n}\n\nfragment ArtworkSidebarCurrentBidInfo_artwork on Artwork {\n sale {\n is_closed: isClosed\n is_live_open: isLiveOpen\n internalID\n is_with_buyers_premium: isWithBuyersPremium\n id\n }\n sale_artwork: saleArtwork {\n is_with_reserve: isWithReserve\n reserve_message: reserveMessage\n reserve_status: reserveStatus\n endedAt\n current_bid: currentBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n myLotStanding(live: true) {\n active_bid: activeBid {\n is_winning: isWinning\n id\n }\n most_recent_bid: mostRecentBid {\n max_bid: maxBid {\n display\n }\n id\n }\n }\n ...ArtworkSidebarBiddingClosedMessage_artwork\n}\n\nfragment ArtworkSidebarDetails_artwork on Artwork {\n medium\n dimensions {\n in\n cm\n }\n framed {\n details\n }\n editionOf\n isEdition\n editionSets {\n internalID\n id\n }\n ...ArtworkSidebarClassification_artwork\n ...ArtworkSidebarAuthenticityCertificate_artwork\n}\n\nfragment ArtworkSidebarEditionSets_artwork on Artwork {\n isInquireable\n isOfferable\n isAcquireable\n editionSets {\n id\n internalID\n isOfferable\n isAcquireable\n saleMessage\n ...ArtworkSidebarSizeInfo_piece\n }\n}\n\nfragment ArtworkSidebarEstimatedValue_artwork on Artwork {\n saleArtwork {\n estimate\n id\n }\n sale {\n isClosed\n id\n }\n}\n\nfragment ArtworkSidebarLinks_artwork on Artwork {\n isInAuction\n isUnlisted\n sale {\n isClosed\n id\n }\n}\n\nfragment ArtworkSidebarPartnerInfo_artwork on Artwork {\n internalID\n slug\n isInquireable\n isUnlisted\n partner {\n name\n href\n cities\n isInquireable\n id\n }\n sale {\n name\n href\n id\n }\n}\n\nfragment ArtworkSidebarPrivateArtwork_artwork on Artwork {\n partner {\n name\n slug\n id\n }\n visibilityLevel\n additionalInformation\n}\n\nfragment ArtworkSidebarShippingInformation_artwork on Artwork {\n isUnlisted\n shippingOrigin\n shippingInfo\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n __isSellable: __typename\n dimensions {\n in\n cm\n }\n editionOf\n}\n\nfragment ArtworkSidebar_artwork on Artwork {\n ...ArtworkSidebarArtworkTitle_artwork\n ...ArtworkSidebarArtists_artwork\n ...ArtworkSidebarDetails_artwork\n ...ArtworkSidebarCommercialButtons_artwork\n ...ArtworkSidebarShippingInformation_artwork\n ...ArtworkSidebarPartnerInfo_artwork\n ...ArtworkSidebarCreateAlert_artwork\n ...ArtworkSidebarLinks_artwork\n ...ArtworkSidebarEstimatedValue_artwork\n ...ArtworkSidebarBiddingClosedMessage_artwork\n ...ArtworkSidebarAuctionTimer_artwork\n ...ArtworkSidebarAuctionInfoPolling_artwork\n ...ArtworkSidebarPrivateArtwork_artwork\n ...ArtworkSidebarArtsyGuarantee_artwork\n slug\n isSold\n isAcquireable\n isOfferable\n isInAuction\n saleMessage\n isBiddable\n isEligibleForArtsyGuarantee\n isEligibleToCreateAlert\n partner {\n internalID\n id\n }\n sale {\n endAt\n startAt\n isClosed\n isAuction\n id\n }\n saleArtwork {\n lotID\n lotLabel\n extendedBiddingEndAt\n endAt\n endedAt\n id\n }\n artists {\n internalID\n id\n }\n isUnlisted\n}\n\nfragment ArtworkSidebar_me_39o6UP on Me {\n ...ArtworkSidebarAuctionInfoPolling_me\n ...ArtworkSidebarCommercialButtons_me_39o6UP\n}\n\nfragment ArtworkTopContextBar_artwork on Artwork {\n partner {\n name\n id\n }\n sale {\n isAuction\n isBenefit\n isGalleryAuction\n coverImage {\n url\n }\n ...RegistrationAuctionTimer_sale\n id\n }\n context {\n __typename\n ... on Sale {\n name\n href\n }\n ... on Fair {\n name\n href\n profile {\n icon {\n url\n }\n id\n }\n }\n ... on Show {\n name\n href\n status\n thumbnail: coverImage {\n url\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArtworkVideoPlayer_artwork_FOvjt on Artwork {\n internalID\n slug\n figures(includeAll: false) {\n __typename\n ... on Video {\n __typename\n playerUrl\n videoWidth: width\n videoHeight: height\n id\n }\n }\n}\n\nfragment AuctionTimer_sale on Sale {\n liveStartAt\n endAt\n}\n\nfragment CascadingEndTimesBanner_sale on Sale {\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n}\n\nfragment DeepZoom_image on Image {\n deepZoom {\n Image {\n xmlns\n Url\n Format\n TileSize\n Overlap\n Size {\n Width\n Height\n }\n }\n }\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 FollowArtistButton_artist on Artist {\n id\n slug\n name\n internalID\n isFollowed\n counts {\n follows\n }\n}\n\nfragment LotTimer_saleArtwork on SaleArtwork {\n endAt\n formattedStartDateTime\n extendedBiddingEndAt\n lotID\n sale {\n startAt\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n internalID\n id\n }\n}\n\nfragment PrivateArtworkAboutArtist_artwork on Artwork {\n slug\n artist {\n ...FollowArtistButton_artist\n internalID\n href\n slug\n name\n initials\n formattedNationalityAndBirthday\n counts {\n artworks\n forSaleArtworks\n follows\n }\n coverArtwork {\n image {\n cropped(width: 145, height: 145) {\n src\n srcSet\n }\n }\n id\n }\n partnerArtists {\n biography\n id\n }\n partnerBiographyBlurb: biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n biographyBlurb(format: HTML, partnerBio: false) {\n text\n }\n id\n }\n}\n\nfragment PrivateArtworkAboutWork_artwork on Artwork {\n additionalInformationHTML: additionalInformation(format: HTML)\n}\n\nfragment PrivateArtworkDetails_artwork on Artwork {\n ...PrivateArtworkAboutWork_artwork\n ...PrivateArtworkAboutArtist_artwork\n ...PrivateArtworkMetadata_artwork\n}\n\nfragment PrivateArtworkMetadata_artwork on Artwork {\n conditionDescription {\n details\n }\n provenance(format: HTML)\n exhibitionHistory(format: HTML)\n}\n\nfragment RegistrationAuctionTimer_sale on Sale {\n registrationEndsAt\n isRegistrationClosed\n}\n\nfragment SelectedExhibitions_exhibitions on Show {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n}\n\nfragment SeoDataForArtwork_artwork on Artwork {\n href\n date\n is_price_hidden: isPriceHidden\n is_price_range: isPriceRange\n listPrice {\n __typename\n ... on PriceRange {\n minPrice {\n major\n currencyCode\n }\n maxPrice {\n major\n }\n }\n ... on Money {\n major\n currencyCode\n }\n }\n meta_image: image {\n resized(width: 640, height: 640, version: [\"large\", \"medium\", \"tall\"]) {\n width\n height\n url\n }\n }\n meta {\n title\n description(limit: 155)\n }\n partner {\n name\n type\n profile {\n image {\n resized(width: 320, height: 320, version: [\"medium\"]) {\n url\n }\n }\n id\n }\n id\n }\n artistNames\n availability\n category\n dimensions {\n in\n }\n}\n\nfragment ViewInRoomArtwork_artwork on Artwork {\n widthCm\n heightCm\n image {\n resized(width: 800, height: 800, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n }\n}\n\nfragment ViewInRoom_artwork on Artwork {\n ...ViewInRoomArtwork_artwork\n}\n" + "text": "query ArtworkAppTestQuery {\n artworkResult(id: \"artwork-id\") {\n __typename\n ...ArtworkApp_artworkResult\n ... on Node {\n __isNode: __typename\n id\n }\n }\n me {\n ...ArtworkApp_me_39o6UP\n id\n }\n}\n\nfragment ArtistBio_bio on Artist {\n biographyBlurb(format: HTML, partnerBio: false) {\n credit\n partnerID\n text\n }\n}\n\nfragment ArtistInfo_artist on Artist {\n ...EntityHeaderArtist_artist\n internalID\n slug\n image {\n cropped(width: 45, height: 45) {\n src\n srcSet\n }\n }\n counts {\n partnerShows\n }\n exhibitionHighlights(size: 3) {\n ...SelectedExhibitions_exhibitions\n id\n }\n collections\n highlights {\n partnersConnection(first: 10, displayOnPartnerProfile: true, representedBy: true, partnerCategory: [\"blue-chip\", \"top-established\", \"top-emerging\"]) {\n edges {\n node {\n __typename\n id\n }\n id\n }\n }\n }\n auctionResultsConnection(recordsTrusted: true, first: 1, sort: PRICE_AND_DATE_DESC) {\n edges {\n node {\n __typename\n id\n }\n }\n }\n ...ArtistBio_bio\n ...ArtistMarketInsights_artist\n biographyBlurb(format: HTML, partnerBio: false) {\n text\n }\n}\n\nfragment ArtistMarketInsights_artist on Artist {\n collections\n highlights {\n partnersConnection(first: 10, displayOnPartnerProfile: true, representedBy: true, partnerCategory: [\"blue-chip\", \"top-established\", \"top-emerging\"]) {\n edges {\n node {\n categories {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n auctionResultsConnection(recordsTrusted: true, first: 1, sort: PRICE_AND_DATE_DESC) {\n edges {\n node {\n price_realized: priceRealized {\n display(format: \"0.0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n}\n\nfragment ArtworkActionsSaveButton_artwork on Artwork {\n id\n internalID\n isSaved\n slug\n title\n date\n artistNames\n preview: image {\n url(version: \"square\")\n }\n isSavedToList\n sale {\n isAuction\n isClosed\n id\n }\n ...ArtworkActionsWatchLotButton_artwork\n}\n\nfragment ArtworkActionsWatchLotButton_artwork on Artwork {\n sale {\n isLiveOpen\n isRegistrationClosed\n liveStartAt\n registrationStatus {\n qualifiedForBidding\n id\n }\n id\n }\n ...ArtworkAuctionRegistrationPanel_artwork\n}\n\nfragment ArtworkActions_artwork_FOvjt on Artwork {\n ...ArtworkActionsSaveButton_artwork\n ...ArtworkDownloadButton_artwork\n ...ArtworkSharePanel_artwork_FOvjt\n ...ViewInRoom_artwork\n isUnlisted\n slug\n downloadableImageUrl\n isDownloadable\n isHangable\n partner {\n slug\n id\n }\n}\n\nfragment ArtworkApp_artwork on Artwork {\n ...ArtworkRelatedArtists_artwork\n ...ArtworkMeta_artwork\n ...ArtworkTopContextBar_artwork\n ...ArtworkImageBrowser_artwork\n ...ArtworkSidebar_artwork\n ...ArtworkAuctionCreateAlertHeader_artwork\n ...PrivateArtworkDetails_artwork\n ...ArtworkPageBanner_artwork\n attributionClass {\n internalID\n id\n }\n slug\n internalID\n isAcquireable\n isOfferable\n published\n availability\n mediumType {\n filterGene {\n slug\n id\n }\n }\n visibilityLevel\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n partner {\n __typename\n id\n }\n isInAuction\n sale {\n internalID\n slug\n extendedBiddingIntervalMinutes\n id\n }\n artists {\n id\n internalID\n slug\n ...ArtistInfo_artist\n }\n artist {\n ...ArtistInfo_artist\n id\n }\n}\n\nfragment ArtworkApp_artworkResult on ArtworkResult {\n __isArtworkResult: __typename\n __typename\n ...ArtworkApp_artwork\n ...ArtworkErrorApp_artworkError\n}\n\nfragment ArtworkApp_me_39o6UP on Me {\n ...ArtworkSidebar_me_39o6UP\n ...ArtworkPageBanner_me_39o6UP\n}\n\nfragment ArtworkAuctionCreateAlertHeader_artwork on Artwork {\n slug\n internalID\n title\n isEligibleToCreateAlert\n isInAuction\n artistNames\n artists {\n internalID\n name\n slug\n id\n }\n sale {\n startAt\n isClosed\n id\n }\n saleArtwork {\n extendedBiddingEndAt\n endAt\n endedAt\n id\n }\n attributionClass {\n internalID\n id\n }\n mediumType {\n filterGene {\n slug\n name\n id\n }\n }\n savedSearch {\n suggestedArtworksConnection {\n totalCount\n }\n }\n myLotStandingManageAlerts: myLotStanding {\n isHighestBidder\n }\n}\n\nfragment ArtworkAuctionRegistrationPanel_artwork on Artwork {\n sale {\n slug\n registrationEndsAt\n isRegistrationClosed\n id\n }\n}\n\nfragment ArtworkChatBubble_artwork on Artwork {\n isAcquireable\n isInquireable\n isOfferable\n isInAuction\n listPrice {\n __typename\n ... on Money {\n currencyCode\n major\n }\n ... on PriceRange {\n maxPrice {\n currencyCode\n major\n }\n }\n }\n saleArtwork {\n currency\n openingBid {\n cents\n }\n id\n }\n}\n\nfragment ArtworkDownloadButton_artwork on Artwork {\n title\n date\n downloadableImageUrl\n artists {\n name\n id\n }\n}\n\nfragment ArtworkErrorApp_artworkError on ArtworkError {\n artwork {\n slug\n id\n }\n requestError {\n statusCode\n }\n}\n\nfragment ArtworkImageBrowserLarge_artwork_FOvjt on Artwork {\n ...ArtworkLightbox_artwork_FOvjt\n ...ArtworkVideoPlayer_artwork_FOvjt\n isSetVideoAsCover\n figures(includeAll: false) {\n __typename\n ... on Image {\n ...DeepZoom_image\n __typename\n internalID\n isZoomable\n }\n ... on Video {\n __typename\n id\n }\n }\n}\n\nfragment ArtworkImageBrowserSmall_artwork_FOvjt on Artwork {\n ...ArtworkLightbox_artwork_FOvjt\n ...ArtworkVideoPlayer_artwork_FOvjt\n isSetVideoAsCover\n figures(includeAll: false) {\n __typename\n ... on Image {\n ...DeepZoom_image\n internalID\n isZoomable\n type: __typename\n }\n ... on Video {\n type: __typename\n id\n }\n }\n}\n\nfragment ArtworkImageBrowser_artwork on Artwork {\n ...ArtworkActions_artwork_FOvjt\n ...ArtworkImageBrowserSmall_artwork_FOvjt\n ...ArtworkImageBrowserLarge_artwork_FOvjt\n internalID\n figures(includeAll: false) {\n __typename\n ... on Image {\n isDefault\n width\n height\n }\n ... on Video {\n videoWidth: width\n videoHeight: height\n id\n }\n }\n}\n\nfragment ArtworkLightbox_artwork_FOvjt on Artwork {\n formattedMetadata\n images(includeAll: false) {\n internalID\n isDefault\n placeholder: url(version: [\"small\", \"medium\"])\n fallback: cropped(quality: 85, width: 800, height: 800, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n width\n height\n src\n srcSet\n }\n resized(quality: 85, width: 800, height: 800, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n width\n height\n src\n srcSet\n }\n versions\n }\n}\n\nfragment ArtworkMeta_artwork on Artwork {\n ...SeoDataForArtwork_artwork\n ...ArtworkChatBubble_artwork\n href\n isShareable\n visibilityLevel\n metaImage: image {\n resized(width: 640, height: 640, version: [\"large\", \"medium\", \"tall\"]) {\n width\n height\n url\n }\n }\n meta {\n title\n description(limit: 155)\n longDescription: description(limit: 200)\n }\n}\n\nfragment ArtworkPageBanner_artwork on Artwork {\n published\n visibilityLevel\n isPurchasable\n sale {\n __typename\n ...CascadingEndTimesBanner_sale\n id\n }\n}\n\nfragment ArtworkPageBanner_me_39o6UP on Me {\n partnerOffersConnection(artworkID: \"artwork-id\", first: 1) {\n edges {\n node {\n internalID\n id\n }\n }\n }\n}\n\nfragment ArtworkRelatedArtists_artwork on Artwork {\n slug\n artist {\n href\n related {\n artistsConnection(kind: MAIN, first: 6, after: \"\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n ...EntityHeaderArtist_artist\n id\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n\nfragment ArtworkSharePanel_artwork_FOvjt on Artwork {\n href\n images(includeAll: false) {\n url\n }\n artworkMeta: meta {\n share\n }\n}\n\nfragment ArtworkSidebarArtists_artwork on Artwork {\n culturalMaker\n artists {\n slug\n name\n id\n }\n}\n\nfragment ArtworkSidebarArtsyGuarantee_artwork on Artwork {\n isUnlisted\n}\n\nfragment ArtworkSidebarArtworkTitle_artwork on Artwork {\n date\n title\n}\n\nfragment ArtworkSidebarAuctionInfoPolling_artwork on Artwork {\n internalID\n sale {\n isClosed\n id\n }\n saleArtwork {\n currentBid {\n display\n }\n id\n }\n ...ArtworkSidebarCurrentBidInfo_artwork\n ...ArtworkSidebarBidAction_artwork\n}\n\nfragment ArtworkSidebarAuctionInfoPolling_me on Me {\n ...ArtworkSidebarBidAction_me\n}\n\nfragment ArtworkSidebarAuctionTimer_artwork on Artwork {\n internalID\n sale {\n cascadingEndTimeIntervalMinutes\n isClosed\n ...AuctionTimer_sale\n startAt\n id\n }\n saleArtwork {\n ...LotTimer_saleArtwork\n endAt\n endedAt\n id\n }\n}\n\nfragment ArtworkSidebarAuthenticityCertificate_artwork on Artwork {\n hasCertificateOfAuthenticity\n isBiddable\n}\n\nfragment ArtworkSidebarBidAction_artwork on Artwork {\n myLotStanding(live: true) {\n most_recent_bid: mostRecentBid {\n max_bid: maxBid {\n cents\n }\n id\n }\n }\n slug\n internalID\n sale {\n slug\n registrationStatus {\n qualified_for_bidding: qualifiedForBidding\n id\n }\n is_preview: isPreview\n is_open: isOpen\n is_live_open: isLiveOpen\n is_closed: isClosed\n is_registration_closed: isRegistrationClosed\n requireIdentityVerification\n id\n }\n sale_artwork: saleArtwork {\n increments {\n cents\n display\n }\n endedAt\n id\n }\n}\n\nfragment ArtworkSidebarBidAction_me on Me {\n isIdentityVerified\n pendingIdentityVerification {\n internalID\n id\n }\n}\n\nfragment ArtworkSidebarBiddingClosedMessage_artwork on Artwork {\n isEligibleToCreateAlert\n artists {\n internalID\n id\n }\n attributionClass {\n internalID\n id\n }\n mediumType {\n filterGene {\n slug\n id\n }\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attributionClass {\n shortArrayDescription\n id\n }\n}\n\nfragment ArtworkSidebarCommercialButtons_artwork on Artwork {\n ...ArtworkSidebarEditionSets_artwork\n isEligibleToCreateAlert\n artists {\n internalID\n id\n }\n attributionClass {\n internalID\n id\n }\n internalID\n slug\n saleMessage\n isInquireable\n isAcquireable\n isOfferable\n isSold\n priceListedDisplay\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n mediumType {\n filterGene {\n slug\n id\n }\n }\n editionSets {\n id\n internalID\n isAcquireable\n isOfferable\n saleMessage\n }\n partner {\n profile {\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n}\n\nfragment ArtworkSidebarCommercialButtons_me_39o6UP on Me {\n partnerOffersConnection(artworkID: \"artwork-id\", first: 1) {\n edges {\n node {\n endAt\n internalID\n isAvailable\n note\n priceWithDiscount {\n display\n }\n id\n }\n }\n }\n}\n\nfragment ArtworkSidebarCreateAlert_artwork on Artwork {\n internalID\n title\n slug\n isEligibleToCreateAlert\n artists {\n internalID\n name\n slug\n id\n }\n attributionClass {\n internalID\n id\n }\n mediumType {\n filterGene {\n slug\n name\n id\n }\n }\n}\n\nfragment ArtworkSidebarCurrentBidInfo_artwork on Artwork {\n sale {\n is_closed: isClosed\n is_live_open: isLiveOpen\n internalID\n is_with_buyers_premium: isWithBuyersPremium\n id\n }\n sale_artwork: saleArtwork {\n is_with_reserve: isWithReserve\n reserve_message: reserveMessage\n reserve_status: reserveStatus\n endedAt\n current_bid: currentBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n myLotStanding(live: true) {\n active_bid: activeBid {\n is_winning: isWinning\n id\n }\n most_recent_bid: mostRecentBid {\n max_bid: maxBid {\n display\n }\n id\n }\n }\n ...ArtworkSidebarBiddingClosedMessage_artwork\n}\n\nfragment ArtworkSidebarDetails_artwork on Artwork {\n medium\n dimensions {\n in\n cm\n }\n framed {\n details\n }\n editionOf\n isEdition\n editionSets {\n internalID\n id\n }\n ...ArtworkSidebarClassification_artwork\n ...ArtworkSidebarAuthenticityCertificate_artwork\n}\n\nfragment ArtworkSidebarEditionSets_artwork on Artwork {\n isInquireable\n isOfferable\n isAcquireable\n editionSets {\n id\n internalID\n isOfferable\n isAcquireable\n saleMessage\n ...ArtworkSidebarSizeInfo_piece\n }\n}\n\nfragment ArtworkSidebarEstimatedValue_artwork on Artwork {\n saleArtwork {\n estimate\n id\n }\n sale {\n isClosed\n id\n }\n}\n\nfragment ArtworkSidebarLinks_artwork on Artwork {\n isInAuction\n isUnlisted\n sale {\n isClosed\n id\n }\n}\n\nfragment ArtworkSidebarPartnerInfo_artwork on Artwork {\n internalID\n slug\n isInquireable\n isUnlisted\n partner {\n name\n href\n cities\n isInquireable\n id\n }\n sale {\n name\n href\n id\n }\n}\n\nfragment ArtworkSidebarPrivateArtwork_artwork on Artwork {\n partner {\n name\n slug\n profile {\n isPubliclyVisible\n id\n }\n id\n }\n visibilityLevel\n additionalInformation\n}\n\nfragment ArtworkSidebarShippingInformation_artwork on Artwork {\n isUnlisted\n shippingOrigin\n shippingInfo\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n __isSellable: __typename\n dimensions {\n in\n cm\n }\n editionOf\n}\n\nfragment ArtworkSidebar_artwork on Artwork {\n ...ArtworkSidebarArtworkTitle_artwork\n ...ArtworkSidebarArtists_artwork\n ...ArtworkSidebarDetails_artwork\n ...ArtworkSidebarCommercialButtons_artwork\n ...ArtworkSidebarShippingInformation_artwork\n ...ArtworkSidebarPartnerInfo_artwork\n ...ArtworkSidebarCreateAlert_artwork\n ...ArtworkSidebarLinks_artwork\n ...ArtworkSidebarEstimatedValue_artwork\n ...ArtworkSidebarBiddingClosedMessage_artwork\n ...ArtworkSidebarAuctionTimer_artwork\n ...ArtworkSidebarAuctionInfoPolling_artwork\n ...ArtworkSidebarPrivateArtwork_artwork\n ...ArtworkSidebarArtsyGuarantee_artwork\n slug\n isSold\n isAcquireable\n isOfferable\n isInAuction\n saleMessage\n isBiddable\n isEligibleForArtsyGuarantee\n isEligibleToCreateAlert\n partner {\n internalID\n id\n }\n sale {\n endAt\n startAt\n isClosed\n isAuction\n id\n }\n saleArtwork {\n lotID\n lotLabel\n extendedBiddingEndAt\n endAt\n endedAt\n id\n }\n artists {\n internalID\n id\n }\n isUnlisted\n}\n\nfragment ArtworkSidebar_me_39o6UP on Me {\n ...ArtworkSidebarAuctionInfoPolling_me\n ...ArtworkSidebarCommercialButtons_me_39o6UP\n}\n\nfragment ArtworkTopContextBar_artwork on Artwork {\n partner {\n name\n id\n }\n sale {\n isAuction\n isBenefit\n isGalleryAuction\n coverImage {\n url\n }\n ...RegistrationAuctionTimer_sale\n id\n }\n context {\n __typename\n ... on Sale {\n name\n href\n }\n ... on Fair {\n name\n href\n profile {\n icon {\n url\n }\n id\n }\n }\n ... on Show {\n name\n href\n status\n thumbnail: coverImage {\n url\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArtworkVideoPlayer_artwork_FOvjt on Artwork {\n internalID\n slug\n figures(includeAll: false) {\n __typename\n ... on Video {\n __typename\n playerUrl\n videoWidth: width\n videoHeight: height\n id\n }\n }\n}\n\nfragment AuctionTimer_sale on Sale {\n liveStartAt\n endAt\n}\n\nfragment CascadingEndTimesBanner_sale on Sale {\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n}\n\nfragment DeepZoom_image on Image {\n deepZoom {\n Image {\n xmlns\n Url\n Format\n TileSize\n Overlap\n Size {\n Width\n Height\n }\n }\n }\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 FollowArtistButton_artist on Artist {\n id\n slug\n name\n internalID\n isFollowed\n counts {\n follows\n }\n}\n\nfragment LotTimer_saleArtwork on SaleArtwork {\n endAt\n formattedStartDateTime\n extendedBiddingEndAt\n lotID\n sale {\n startAt\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n internalID\n id\n }\n}\n\nfragment PrivateArtworkAboutArtist_artwork on Artwork {\n slug\n artist {\n ...FollowArtistButton_artist\n internalID\n href\n slug\n name\n initials\n formattedNationalityAndBirthday\n counts {\n artworks\n forSaleArtworks\n follows\n }\n coverArtwork {\n image {\n cropped(width: 145, height: 145) {\n src\n srcSet\n }\n }\n id\n }\n partnerArtists {\n biography\n id\n }\n partnerBiographyBlurb: biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n biographyBlurb(format: HTML, partnerBio: false) {\n text\n }\n id\n }\n}\n\nfragment PrivateArtworkAboutWork_artwork on Artwork {\n additionalInformationHTML: additionalInformation(format: HTML)\n}\n\nfragment PrivateArtworkDetails_artwork on Artwork {\n ...PrivateArtworkAboutWork_artwork\n ...PrivateArtworkAboutArtist_artwork\n ...PrivateArtworkMetadata_artwork\n}\n\nfragment PrivateArtworkMetadata_artwork on Artwork {\n conditionDescription {\n details\n }\n provenance(format: HTML)\n exhibitionHistory(format: HTML)\n}\n\nfragment RegistrationAuctionTimer_sale on Sale {\n registrationEndsAt\n isRegistrationClosed\n}\n\nfragment SelectedExhibitions_exhibitions on Show {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n}\n\nfragment SeoDataForArtwork_artwork on Artwork {\n href\n date\n is_price_hidden: isPriceHidden\n is_price_range: isPriceRange\n listPrice {\n __typename\n ... on PriceRange {\n minPrice {\n major\n currencyCode\n }\n maxPrice {\n major\n }\n }\n ... on Money {\n major\n currencyCode\n }\n }\n meta_image: image {\n resized(width: 640, height: 640, version: [\"large\", \"medium\", \"tall\"]) {\n width\n height\n url\n }\n }\n meta {\n title\n description(limit: 155)\n }\n partner {\n name\n type\n profile {\n image {\n resized(width: 320, height: 320, version: [\"medium\"]) {\n url\n }\n }\n id\n }\n id\n }\n artistNames\n availability\n category\n dimensions {\n in\n }\n}\n\nfragment ViewInRoomArtwork_artwork on Artwork {\n widthCm\n heightCm\n image {\n resized(width: 800, height: 800, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n }\n}\n\nfragment ViewInRoom_artwork on Artwork {\n ...ViewInRoomArtwork_artwork\n}\n" } }; })(); diff --git a/src/__generated__/ArtworkSidebarPrivateArtworkQuery.graphql.ts b/src/__generated__/ArtworkSidebarPrivateArtworkQuery.graphql.ts index 78b5eb22a1a..83f25b1d49d 100644 --- a/src/__generated__/ArtworkSidebarPrivateArtworkQuery.graphql.ts +++ b/src/__generated__/ArtworkSidebarPrivateArtworkQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<36b2dbba82ccd3cf8b3da3e9593db517>> + * @generated SignedSource<<61fb29412f2aba387a077895903d69f7>> * @lightSyntaxTransform * @nogrep */ @@ -99,6 +99,25 @@ return { "name": "slug", "storageKey": null }, + { + "alias": null, + "args": null, + "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", + "plural": false, + "selections": [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "isPubliclyVisible", + "storageKey": null + }, + (v1/*: any*/) + ], + "storageKey": null + }, (v1/*: any*/) ], "storageKey": null @@ -124,12 +143,12 @@ return { ] }, "params": { - "cacheID": "b1b1c7a4511e767ff913827b52df48ed", + "cacheID": "fd8708252c2fc65ee53052bd3a8744b7", "id": null, "metadata": {}, "name": "ArtworkSidebarPrivateArtworkQuery", "operationKind": "query", - "text": "query ArtworkSidebarPrivateArtworkQuery {\n artwork(id: \"foo\") {\n ...ArtworkSidebarPrivateArtwork_artwork\n id\n }\n}\n\nfragment ArtworkSidebarPrivateArtwork_artwork on Artwork {\n partner {\n name\n slug\n id\n }\n visibilityLevel\n additionalInformation\n}\n" + "text": "query ArtworkSidebarPrivateArtworkQuery {\n artwork(id: \"foo\") {\n ...ArtworkSidebarPrivateArtwork_artwork\n id\n }\n}\n\nfragment ArtworkSidebarPrivateArtwork_artwork on Artwork {\n partner {\n name\n slug\n profile {\n isPubliclyVisible\n id\n }\n id\n }\n visibilityLevel\n additionalInformation\n}\n" } }; })(); diff --git a/src/__generated__/ArtworkSidebarPrivateArtwork_artwork.graphql.ts b/src/__generated__/ArtworkSidebarPrivateArtwork_artwork.graphql.ts index 55e86b61059..a855a7e596d 100644 --- a/src/__generated__/ArtworkSidebarPrivateArtwork_artwork.graphql.ts +++ b/src/__generated__/ArtworkSidebarPrivateArtwork_artwork.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<9ff3b27e80002ec2df5dd8b6de08f358>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -15,6 +15,9 @@ export type ArtworkSidebarPrivateArtwork_artwork$data = { readonly additionalInformation: string | null | undefined; readonly partner: { readonly name: string | null | undefined; + readonly profile: { + readonly isPubliclyVisible: boolean | null | undefined; + } | null | undefined; readonly slug: string; } | null | undefined; readonly visibilityLevel: Visibility | null | undefined; @@ -52,6 +55,24 @@ const node: ReaderFragment = { "kind": "ScalarField", "name": "slug", "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", + "plural": false, + "selections": [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "isPubliclyVisible", + "storageKey": null + } + ], + "storageKey": null } ], "storageKey": null @@ -75,6 +96,6 @@ const node: ReaderFragment = { "abstractKey": null }; -(node as any).hash = "36a3d135f0df1038a6b1277192d349dc"; +(node as any).hash = "7b7dd48feab1906fdc66cd789cca2fe8"; export default node; diff --git a/src/__generated__/ArtworkSidebar_Test_Query.graphql.ts b/src/__generated__/ArtworkSidebar_Test_Query.graphql.ts index 76e49727a41..adb4ba54b38 100644 --- a/src/__generated__/ArtworkSidebar_Test_Query.graphql.ts +++ b/src/__generated__/ArtworkSidebar_Test_Query.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -532,7 +532,14 @@ return { ], "storageKey": null }, - (v3/*: any*/) + (v3/*: any*/), + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "isPubliclyVisible", + "storageKey": null + } ], "storageKey": null }, @@ -945,7 +952,7 @@ return { ] }, "params": { - "cacheID": "38055a01ab84ac821699e4c866bed4d0", + "cacheID": "d67419bd614c208b26a2fc407ca4dad3", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1086,6 +1093,7 @@ return { }, "artwork.partner.profile.icon.url": (v18/*: any*/), "artwork.partner.profile.id": (v19/*: any*/), + "artwork.partner.profile.isPubliclyVisible": (v23/*: any*/), "artwork.partner.slug": (v19/*: any*/), "artwork.priceListedDisplay": (v18/*: any*/), "artwork.sale": (v27/*: any*/), @@ -1178,7 +1186,7 @@ return { }, "name": "ArtworkSidebar_Test_Query", "operationKind": "query", - "text": "query ArtworkSidebar_Test_Query {\n artwork(id: \"josef-albers-homage-to-the-square-85\") {\n ...ArtworkSidebar_artwork\n id\n }\n}\n\nfragment ArtworkSidebarArtists_artwork on Artwork {\n culturalMaker\n artists {\n slug\n name\n id\n }\n}\n\nfragment ArtworkSidebarArtsyGuarantee_artwork on Artwork {\n isUnlisted\n}\n\nfragment ArtworkSidebarArtworkTitle_artwork on Artwork {\n date\n title\n}\n\nfragment ArtworkSidebarAuctionInfoPolling_artwork on Artwork {\n internalID\n sale {\n isClosed\n id\n }\n saleArtwork {\n currentBid {\n display\n }\n id\n }\n ...ArtworkSidebarCurrentBidInfo_artwork\n ...ArtworkSidebarBidAction_artwork\n}\n\nfragment ArtworkSidebarAuctionTimer_artwork on Artwork {\n internalID\n sale {\n cascadingEndTimeIntervalMinutes\n isClosed\n ...AuctionTimer_sale\n startAt\n id\n }\n saleArtwork {\n ...LotTimer_saleArtwork\n endAt\n endedAt\n id\n }\n}\n\nfragment ArtworkSidebarAuthenticityCertificate_artwork on Artwork {\n hasCertificateOfAuthenticity\n isBiddable\n}\n\nfragment ArtworkSidebarBidAction_artwork on Artwork {\n myLotStanding(live: true) {\n most_recent_bid: mostRecentBid {\n max_bid: maxBid {\n cents\n }\n id\n }\n }\n slug\n internalID\n sale {\n slug\n registrationStatus {\n qualified_for_bidding: qualifiedForBidding\n id\n }\n is_preview: isPreview\n is_open: isOpen\n is_live_open: isLiveOpen\n is_closed: isClosed\n is_registration_closed: isRegistrationClosed\n requireIdentityVerification\n id\n }\n sale_artwork: saleArtwork {\n increments {\n cents\n display\n }\n endedAt\n id\n }\n}\n\nfragment ArtworkSidebarBiddingClosedMessage_artwork on Artwork {\n isEligibleToCreateAlert\n artists {\n internalID\n id\n }\n attributionClass {\n internalID\n id\n }\n mediumType {\n filterGene {\n slug\n id\n }\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attributionClass {\n shortArrayDescription\n id\n }\n}\n\nfragment ArtworkSidebarCommercialButtons_artwork on Artwork {\n ...ArtworkSidebarEditionSets_artwork\n isEligibleToCreateAlert\n artists {\n internalID\n id\n }\n attributionClass {\n internalID\n id\n }\n internalID\n slug\n saleMessage\n isInquireable\n isAcquireable\n isOfferable\n isSold\n priceListedDisplay\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n mediumType {\n filterGene {\n slug\n id\n }\n }\n editionSets {\n id\n internalID\n isAcquireable\n isOfferable\n saleMessage\n }\n partner {\n profile {\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n}\n\nfragment ArtworkSidebarCreateAlert_artwork on Artwork {\n internalID\n title\n slug\n isEligibleToCreateAlert\n artists {\n internalID\n name\n slug\n id\n }\n attributionClass {\n internalID\n id\n }\n mediumType {\n filterGene {\n slug\n name\n id\n }\n }\n}\n\nfragment ArtworkSidebarCurrentBidInfo_artwork on Artwork {\n sale {\n is_closed: isClosed\n is_live_open: isLiveOpen\n internalID\n is_with_buyers_premium: isWithBuyersPremium\n id\n }\n sale_artwork: saleArtwork {\n is_with_reserve: isWithReserve\n reserve_message: reserveMessage\n reserve_status: reserveStatus\n endedAt\n current_bid: currentBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n myLotStanding(live: true) {\n active_bid: activeBid {\n is_winning: isWinning\n id\n }\n most_recent_bid: mostRecentBid {\n max_bid: maxBid {\n display\n }\n id\n }\n }\n ...ArtworkSidebarBiddingClosedMessage_artwork\n}\n\nfragment ArtworkSidebarDetails_artwork on Artwork {\n medium\n dimensions {\n in\n cm\n }\n framed {\n details\n }\n editionOf\n isEdition\n editionSets {\n internalID\n id\n }\n ...ArtworkSidebarClassification_artwork\n ...ArtworkSidebarAuthenticityCertificate_artwork\n}\n\nfragment ArtworkSidebarEditionSets_artwork on Artwork {\n isInquireable\n isOfferable\n isAcquireable\n editionSets {\n id\n internalID\n isOfferable\n isAcquireable\n saleMessage\n ...ArtworkSidebarSizeInfo_piece\n }\n}\n\nfragment ArtworkSidebarEstimatedValue_artwork on Artwork {\n saleArtwork {\n estimate\n id\n }\n sale {\n isClosed\n id\n }\n}\n\nfragment ArtworkSidebarLinks_artwork on Artwork {\n isInAuction\n isUnlisted\n sale {\n isClosed\n id\n }\n}\n\nfragment ArtworkSidebarPartnerInfo_artwork on Artwork {\n internalID\n slug\n isInquireable\n isUnlisted\n partner {\n name\n href\n cities\n isInquireable\n id\n }\n sale {\n name\n href\n id\n }\n}\n\nfragment ArtworkSidebarPrivateArtwork_artwork on Artwork {\n partner {\n name\n slug\n id\n }\n visibilityLevel\n additionalInformation\n}\n\nfragment ArtworkSidebarShippingInformation_artwork on Artwork {\n isUnlisted\n shippingOrigin\n shippingInfo\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n __isSellable: __typename\n dimensions {\n in\n cm\n }\n editionOf\n}\n\nfragment ArtworkSidebar_artwork on Artwork {\n ...ArtworkSidebarArtworkTitle_artwork\n ...ArtworkSidebarArtists_artwork\n ...ArtworkSidebarDetails_artwork\n ...ArtworkSidebarCommercialButtons_artwork\n ...ArtworkSidebarShippingInformation_artwork\n ...ArtworkSidebarPartnerInfo_artwork\n ...ArtworkSidebarCreateAlert_artwork\n ...ArtworkSidebarLinks_artwork\n ...ArtworkSidebarEstimatedValue_artwork\n ...ArtworkSidebarBiddingClosedMessage_artwork\n ...ArtworkSidebarAuctionTimer_artwork\n ...ArtworkSidebarAuctionInfoPolling_artwork\n ...ArtworkSidebarPrivateArtwork_artwork\n ...ArtworkSidebarArtsyGuarantee_artwork\n slug\n isSold\n isAcquireable\n isOfferable\n isInAuction\n saleMessage\n isBiddable\n isEligibleForArtsyGuarantee\n isEligibleToCreateAlert\n partner {\n internalID\n id\n }\n sale {\n endAt\n startAt\n isClosed\n isAuction\n id\n }\n saleArtwork {\n lotID\n lotLabel\n extendedBiddingEndAt\n endAt\n endedAt\n id\n }\n artists {\n internalID\n id\n }\n isUnlisted\n}\n\nfragment AuctionTimer_sale on Sale {\n liveStartAt\n endAt\n}\n\nfragment LotTimer_saleArtwork on SaleArtwork {\n endAt\n formattedStartDateTime\n extendedBiddingEndAt\n lotID\n sale {\n startAt\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n internalID\n id\n }\n}\n" + "text": "query ArtworkSidebar_Test_Query {\n artwork(id: \"josef-albers-homage-to-the-square-85\") {\n ...ArtworkSidebar_artwork\n id\n }\n}\n\nfragment ArtworkSidebarArtists_artwork on Artwork {\n culturalMaker\n artists {\n slug\n name\n id\n }\n}\n\nfragment ArtworkSidebarArtsyGuarantee_artwork on Artwork {\n isUnlisted\n}\n\nfragment ArtworkSidebarArtworkTitle_artwork on Artwork {\n date\n title\n}\n\nfragment ArtworkSidebarAuctionInfoPolling_artwork on Artwork {\n internalID\n sale {\n isClosed\n id\n }\n saleArtwork {\n currentBid {\n display\n }\n id\n }\n ...ArtworkSidebarCurrentBidInfo_artwork\n ...ArtworkSidebarBidAction_artwork\n}\n\nfragment ArtworkSidebarAuctionTimer_artwork on Artwork {\n internalID\n sale {\n cascadingEndTimeIntervalMinutes\n isClosed\n ...AuctionTimer_sale\n startAt\n id\n }\n saleArtwork {\n ...LotTimer_saleArtwork\n endAt\n endedAt\n id\n }\n}\n\nfragment ArtworkSidebarAuthenticityCertificate_artwork on Artwork {\n hasCertificateOfAuthenticity\n isBiddable\n}\n\nfragment ArtworkSidebarBidAction_artwork on Artwork {\n myLotStanding(live: true) {\n most_recent_bid: mostRecentBid {\n max_bid: maxBid {\n cents\n }\n id\n }\n }\n slug\n internalID\n sale {\n slug\n registrationStatus {\n qualified_for_bidding: qualifiedForBidding\n id\n }\n is_preview: isPreview\n is_open: isOpen\n is_live_open: isLiveOpen\n is_closed: isClosed\n is_registration_closed: isRegistrationClosed\n requireIdentityVerification\n id\n }\n sale_artwork: saleArtwork {\n increments {\n cents\n display\n }\n endedAt\n id\n }\n}\n\nfragment ArtworkSidebarBiddingClosedMessage_artwork on Artwork {\n isEligibleToCreateAlert\n artists {\n internalID\n id\n }\n attributionClass {\n internalID\n id\n }\n mediumType {\n filterGene {\n slug\n id\n }\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attributionClass {\n shortArrayDescription\n id\n }\n}\n\nfragment ArtworkSidebarCommercialButtons_artwork on Artwork {\n ...ArtworkSidebarEditionSets_artwork\n isEligibleToCreateAlert\n artists {\n internalID\n id\n }\n attributionClass {\n internalID\n id\n }\n internalID\n slug\n saleMessage\n isInquireable\n isAcquireable\n isOfferable\n isSold\n priceListedDisplay\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n mediumType {\n filterGene {\n slug\n id\n }\n }\n editionSets {\n id\n internalID\n isAcquireable\n isOfferable\n saleMessage\n }\n partner {\n profile {\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n}\n\nfragment ArtworkSidebarCreateAlert_artwork on Artwork {\n internalID\n title\n slug\n isEligibleToCreateAlert\n artists {\n internalID\n name\n slug\n id\n }\n attributionClass {\n internalID\n id\n }\n mediumType {\n filterGene {\n slug\n name\n id\n }\n }\n}\n\nfragment ArtworkSidebarCurrentBidInfo_artwork on Artwork {\n sale {\n is_closed: isClosed\n is_live_open: isLiveOpen\n internalID\n is_with_buyers_premium: isWithBuyersPremium\n id\n }\n sale_artwork: saleArtwork {\n is_with_reserve: isWithReserve\n reserve_message: reserveMessage\n reserve_status: reserveStatus\n endedAt\n current_bid: currentBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n myLotStanding(live: true) {\n active_bid: activeBid {\n is_winning: isWinning\n id\n }\n most_recent_bid: mostRecentBid {\n max_bid: maxBid {\n display\n }\n id\n }\n }\n ...ArtworkSidebarBiddingClosedMessage_artwork\n}\n\nfragment ArtworkSidebarDetails_artwork on Artwork {\n medium\n dimensions {\n in\n cm\n }\n framed {\n details\n }\n editionOf\n isEdition\n editionSets {\n internalID\n id\n }\n ...ArtworkSidebarClassification_artwork\n ...ArtworkSidebarAuthenticityCertificate_artwork\n}\n\nfragment ArtworkSidebarEditionSets_artwork on Artwork {\n isInquireable\n isOfferable\n isAcquireable\n editionSets {\n id\n internalID\n isOfferable\n isAcquireable\n saleMessage\n ...ArtworkSidebarSizeInfo_piece\n }\n}\n\nfragment ArtworkSidebarEstimatedValue_artwork on Artwork {\n saleArtwork {\n estimate\n id\n }\n sale {\n isClosed\n id\n }\n}\n\nfragment ArtworkSidebarLinks_artwork on Artwork {\n isInAuction\n isUnlisted\n sale {\n isClosed\n id\n }\n}\n\nfragment ArtworkSidebarPartnerInfo_artwork on Artwork {\n internalID\n slug\n isInquireable\n isUnlisted\n partner {\n name\n href\n cities\n isInquireable\n id\n }\n sale {\n name\n href\n id\n }\n}\n\nfragment ArtworkSidebarPrivateArtwork_artwork on Artwork {\n partner {\n name\n slug\n profile {\n isPubliclyVisible\n id\n }\n id\n }\n visibilityLevel\n additionalInformation\n}\n\nfragment ArtworkSidebarShippingInformation_artwork on Artwork {\n isUnlisted\n shippingOrigin\n shippingInfo\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n __isSellable: __typename\n dimensions {\n in\n cm\n }\n editionOf\n}\n\nfragment ArtworkSidebar_artwork on Artwork {\n ...ArtworkSidebarArtworkTitle_artwork\n ...ArtworkSidebarArtists_artwork\n ...ArtworkSidebarDetails_artwork\n ...ArtworkSidebarCommercialButtons_artwork\n ...ArtworkSidebarShippingInformation_artwork\n ...ArtworkSidebarPartnerInfo_artwork\n ...ArtworkSidebarCreateAlert_artwork\n ...ArtworkSidebarLinks_artwork\n ...ArtworkSidebarEstimatedValue_artwork\n ...ArtworkSidebarBiddingClosedMessage_artwork\n ...ArtworkSidebarAuctionTimer_artwork\n ...ArtworkSidebarAuctionInfoPolling_artwork\n ...ArtworkSidebarPrivateArtwork_artwork\n ...ArtworkSidebarArtsyGuarantee_artwork\n slug\n isSold\n isAcquireable\n isOfferable\n isInAuction\n saleMessage\n isBiddable\n isEligibleForArtsyGuarantee\n isEligibleToCreateAlert\n partner {\n internalID\n id\n }\n sale {\n endAt\n startAt\n isClosed\n isAuction\n id\n }\n saleArtwork {\n lotID\n lotLabel\n extendedBiddingEndAt\n endAt\n endedAt\n id\n }\n artists {\n internalID\n id\n }\n isUnlisted\n}\n\nfragment AuctionTimer_sale on Sale {\n liveStartAt\n endAt\n}\n\nfragment LotTimer_saleArtwork on SaleArtwork {\n endAt\n formattedStartDateTime\n extendedBiddingEndAt\n lotID\n sale {\n startAt\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n internalID\n id\n }\n}\n" } }; })(); diff --git a/src/__generated__/artworkRoutes_ArtworkQuery.graphql.ts b/src/__generated__/artworkRoutes_ArtworkQuery.graphql.ts index 2e7915d89b3..f4b50b05345 100644 --- a/src/__generated__/artworkRoutes_ArtworkQuery.graphql.ts +++ b/src/__generated__/artworkRoutes_ArtworkQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<4aa0f46d3d9abe2a02052c2173c7c01e>> * @lightSyntaxTransform * @nogrep */ @@ -1357,6 +1357,13 @@ return { } ], "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "isPubliclyVisible", + "storageKey": null } ], "storageKey": null @@ -2695,12 +2702,12 @@ return { ] }, "params": { - "cacheID": "1c22918fe5eaa85679bc56a9acd83973", + "cacheID": "d299adba8734a22db90794b6ef34d9e5", "id": null, "metadata": {}, "name": "artworkRoutes_ArtworkQuery", "operationKind": "query", - "text": "query artworkRoutes_ArtworkQuery(\n $artworkID: String!\n) {\n artworkResult(id: $artworkID) {\n __typename\n ...ArtworkApp_artworkResult\n ... on ArtworkError {\n requestError {\n statusCode\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n me {\n ...ArtworkApp_me_2R6IMa\n id\n }\n}\n\nfragment ArtistBio_bio on Artist {\n biographyBlurb(format: HTML, partnerBio: false) {\n credit\n partnerID\n text\n }\n}\n\nfragment ArtistInfo_artist on Artist {\n ...EntityHeaderArtist_artist\n internalID\n slug\n image {\n cropped(width: 45, height: 45) {\n src\n srcSet\n }\n }\n counts {\n partnerShows\n }\n exhibitionHighlights(size: 3) {\n ...SelectedExhibitions_exhibitions\n id\n }\n collections\n highlights {\n partnersConnection(first: 10, displayOnPartnerProfile: true, representedBy: true, partnerCategory: [\"blue-chip\", \"top-established\", \"top-emerging\"]) {\n edges {\n node {\n __typename\n id\n }\n id\n }\n }\n }\n auctionResultsConnection(recordsTrusted: true, first: 1, sort: PRICE_AND_DATE_DESC) {\n edges {\n node {\n __typename\n id\n }\n }\n }\n ...ArtistBio_bio\n ...ArtistMarketInsights_artist\n biographyBlurb(format: HTML, partnerBio: false) {\n text\n }\n}\n\nfragment ArtistMarketInsights_artist on Artist {\n collections\n highlights {\n partnersConnection(first: 10, displayOnPartnerProfile: true, representedBy: true, partnerCategory: [\"blue-chip\", \"top-established\", \"top-emerging\"]) {\n edges {\n node {\n categories {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n auctionResultsConnection(recordsTrusted: true, first: 1, sort: PRICE_AND_DATE_DESC) {\n edges {\n node {\n price_realized: priceRealized {\n display(format: \"0.0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n}\n\nfragment ArtworkActionsSaveButton_artwork on Artwork {\n id\n internalID\n isSaved\n slug\n title\n date\n artistNames\n preview: image {\n url(version: \"square\")\n }\n isSavedToList\n sale {\n isAuction\n isClosed\n id\n }\n ...ArtworkActionsWatchLotButton_artwork\n}\n\nfragment ArtworkActionsWatchLotButton_artwork on Artwork {\n sale {\n isLiveOpen\n isRegistrationClosed\n liveStartAt\n registrationStatus {\n qualifiedForBidding\n id\n }\n id\n }\n ...ArtworkAuctionRegistrationPanel_artwork\n}\n\nfragment ArtworkActions_artwork_FOvjt on Artwork {\n ...ArtworkActionsSaveButton_artwork\n ...ArtworkDownloadButton_artwork\n ...ArtworkSharePanel_artwork_FOvjt\n ...ViewInRoom_artwork\n isUnlisted\n slug\n downloadableImageUrl\n isDownloadable\n isHangable\n partner {\n slug\n id\n }\n}\n\nfragment ArtworkApp_artwork on Artwork {\n ...ArtworkRelatedArtists_artwork\n ...ArtworkMeta_artwork\n ...ArtworkTopContextBar_artwork\n ...ArtworkImageBrowser_artwork\n ...ArtworkSidebar_artwork\n ...ArtworkAuctionCreateAlertHeader_artwork\n ...PrivateArtworkDetails_artwork\n ...ArtworkPageBanner_artwork\n attributionClass {\n internalID\n id\n }\n slug\n internalID\n isAcquireable\n isOfferable\n published\n availability\n mediumType {\n filterGene {\n slug\n id\n }\n }\n visibilityLevel\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n partner {\n __typename\n id\n }\n isInAuction\n sale {\n internalID\n slug\n extendedBiddingIntervalMinutes\n id\n }\n artists {\n id\n internalID\n slug\n ...ArtistInfo_artist\n }\n artist {\n ...ArtistInfo_artist\n id\n }\n}\n\nfragment ArtworkApp_artworkResult on ArtworkResult {\n __isArtworkResult: __typename\n __typename\n ...ArtworkApp_artwork\n ...ArtworkErrorApp_artworkError\n}\n\nfragment ArtworkApp_me_2R6IMa on Me {\n ...ArtworkSidebar_me_2R6IMa\n ...ArtworkPageBanner_me_2R6IMa\n}\n\nfragment ArtworkAuctionCreateAlertHeader_artwork on Artwork {\n slug\n internalID\n title\n isEligibleToCreateAlert\n isInAuction\n artistNames\n artists {\n internalID\n name\n slug\n id\n }\n sale {\n startAt\n isClosed\n id\n }\n saleArtwork {\n extendedBiddingEndAt\n endAt\n endedAt\n id\n }\n attributionClass {\n internalID\n id\n }\n mediumType {\n filterGene {\n slug\n name\n id\n }\n }\n savedSearch {\n suggestedArtworksConnection {\n totalCount\n }\n }\n myLotStandingManageAlerts: myLotStanding {\n isHighestBidder\n }\n}\n\nfragment ArtworkAuctionRegistrationPanel_artwork on Artwork {\n sale {\n slug\n registrationEndsAt\n isRegistrationClosed\n id\n }\n}\n\nfragment ArtworkChatBubble_artwork on Artwork {\n isAcquireable\n isInquireable\n isOfferable\n isInAuction\n listPrice {\n __typename\n ... on Money {\n currencyCode\n major\n }\n ... on PriceRange {\n maxPrice {\n currencyCode\n major\n }\n }\n }\n saleArtwork {\n currency\n openingBid {\n cents\n }\n id\n }\n}\n\nfragment ArtworkDownloadButton_artwork on Artwork {\n title\n date\n downloadableImageUrl\n artists {\n name\n id\n }\n}\n\nfragment ArtworkErrorApp_artworkError on ArtworkError {\n artwork {\n slug\n id\n }\n requestError {\n statusCode\n }\n}\n\nfragment ArtworkImageBrowserLarge_artwork_FOvjt on Artwork {\n ...ArtworkLightbox_artwork_FOvjt\n ...ArtworkVideoPlayer_artwork_FOvjt\n isSetVideoAsCover\n figures(includeAll: false) {\n __typename\n ... on Image {\n ...DeepZoom_image\n __typename\n internalID\n isZoomable\n }\n ... on Video {\n __typename\n id\n }\n }\n}\n\nfragment ArtworkImageBrowserSmall_artwork_FOvjt on Artwork {\n ...ArtworkLightbox_artwork_FOvjt\n ...ArtworkVideoPlayer_artwork_FOvjt\n isSetVideoAsCover\n figures(includeAll: false) {\n __typename\n ... on Image {\n ...DeepZoom_image\n internalID\n isZoomable\n type: __typename\n }\n ... on Video {\n type: __typename\n id\n }\n }\n}\n\nfragment ArtworkImageBrowser_artwork on Artwork {\n ...ArtworkActions_artwork_FOvjt\n ...ArtworkImageBrowserSmall_artwork_FOvjt\n ...ArtworkImageBrowserLarge_artwork_FOvjt\n internalID\n figures(includeAll: false) {\n __typename\n ... on Image {\n isDefault\n width\n height\n }\n ... on Video {\n videoWidth: width\n videoHeight: height\n id\n }\n }\n}\n\nfragment ArtworkLightbox_artwork_FOvjt on Artwork {\n formattedMetadata\n images(includeAll: false) {\n internalID\n isDefault\n placeholder: url(version: [\"small\", \"medium\"])\n fallback: cropped(quality: 85, width: 800, height: 800, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n width\n height\n src\n srcSet\n }\n resized(quality: 85, width: 800, height: 800, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n width\n height\n src\n srcSet\n }\n versions\n }\n}\n\nfragment ArtworkMeta_artwork on Artwork {\n ...SeoDataForArtwork_artwork\n ...ArtworkChatBubble_artwork\n href\n isShareable\n visibilityLevel\n metaImage: image {\n resized(width: 640, height: 640, version: [\"large\", \"medium\", \"tall\"]) {\n width\n height\n url\n }\n }\n meta {\n title\n description(limit: 155)\n longDescription: description(limit: 200)\n }\n}\n\nfragment ArtworkPageBanner_artwork on Artwork {\n published\n visibilityLevel\n isPurchasable\n sale {\n __typename\n ...CascadingEndTimesBanner_sale\n id\n }\n}\n\nfragment ArtworkPageBanner_me_2R6IMa on Me {\n partnerOffersConnection(artworkID: $artworkID, first: 1) {\n edges {\n node {\n internalID\n id\n }\n }\n }\n}\n\nfragment ArtworkRelatedArtists_artwork on Artwork {\n slug\n artist {\n href\n related {\n artistsConnection(kind: MAIN, first: 6, after: \"\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n ...EntityHeaderArtist_artist\n id\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n\nfragment ArtworkSharePanel_artwork_FOvjt on Artwork {\n href\n images(includeAll: false) {\n url\n }\n artworkMeta: meta {\n share\n }\n}\n\nfragment ArtworkSidebarArtists_artwork on Artwork {\n culturalMaker\n artists {\n slug\n name\n id\n }\n}\n\nfragment ArtworkSidebarArtsyGuarantee_artwork on Artwork {\n isUnlisted\n}\n\nfragment ArtworkSidebarArtworkTitle_artwork on Artwork {\n date\n title\n}\n\nfragment ArtworkSidebarAuctionInfoPolling_artwork on Artwork {\n internalID\n sale {\n isClosed\n id\n }\n saleArtwork {\n currentBid {\n display\n }\n id\n }\n ...ArtworkSidebarCurrentBidInfo_artwork\n ...ArtworkSidebarBidAction_artwork\n}\n\nfragment ArtworkSidebarAuctionInfoPolling_me on Me {\n ...ArtworkSidebarBidAction_me\n}\n\nfragment ArtworkSidebarAuctionTimer_artwork on Artwork {\n internalID\n sale {\n cascadingEndTimeIntervalMinutes\n isClosed\n ...AuctionTimer_sale\n startAt\n id\n }\n saleArtwork {\n ...LotTimer_saleArtwork\n endAt\n endedAt\n id\n }\n}\n\nfragment ArtworkSidebarAuthenticityCertificate_artwork on Artwork {\n hasCertificateOfAuthenticity\n isBiddable\n}\n\nfragment ArtworkSidebarBidAction_artwork on Artwork {\n myLotStanding(live: true) {\n most_recent_bid: mostRecentBid {\n max_bid: maxBid {\n cents\n }\n id\n }\n }\n slug\n internalID\n sale {\n slug\n registrationStatus {\n qualified_for_bidding: qualifiedForBidding\n id\n }\n is_preview: isPreview\n is_open: isOpen\n is_live_open: isLiveOpen\n is_closed: isClosed\n is_registration_closed: isRegistrationClosed\n requireIdentityVerification\n id\n }\n sale_artwork: saleArtwork {\n increments {\n cents\n display\n }\n endedAt\n id\n }\n}\n\nfragment ArtworkSidebarBidAction_me on Me {\n isIdentityVerified\n pendingIdentityVerification {\n internalID\n id\n }\n}\n\nfragment ArtworkSidebarBiddingClosedMessage_artwork on Artwork {\n isEligibleToCreateAlert\n artists {\n internalID\n id\n }\n attributionClass {\n internalID\n id\n }\n mediumType {\n filterGene {\n slug\n id\n }\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attributionClass {\n shortArrayDescription\n id\n }\n}\n\nfragment ArtworkSidebarCommercialButtons_artwork on Artwork {\n ...ArtworkSidebarEditionSets_artwork\n isEligibleToCreateAlert\n artists {\n internalID\n id\n }\n attributionClass {\n internalID\n id\n }\n internalID\n slug\n saleMessage\n isInquireable\n isAcquireable\n isOfferable\n isSold\n priceListedDisplay\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n mediumType {\n filterGene {\n slug\n id\n }\n }\n editionSets {\n id\n internalID\n isAcquireable\n isOfferable\n saleMessage\n }\n partner {\n profile {\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n}\n\nfragment ArtworkSidebarCommercialButtons_me_2R6IMa on Me {\n partnerOffersConnection(artworkID: $artworkID, first: 1) {\n edges {\n node {\n endAt\n internalID\n isAvailable\n note\n priceWithDiscount {\n display\n }\n id\n }\n }\n }\n}\n\nfragment ArtworkSidebarCreateAlert_artwork on Artwork {\n internalID\n title\n slug\n isEligibleToCreateAlert\n artists {\n internalID\n name\n slug\n id\n }\n attributionClass {\n internalID\n id\n }\n mediumType {\n filterGene {\n slug\n name\n id\n }\n }\n}\n\nfragment ArtworkSidebarCurrentBidInfo_artwork on Artwork {\n sale {\n is_closed: isClosed\n is_live_open: isLiveOpen\n internalID\n is_with_buyers_premium: isWithBuyersPremium\n id\n }\n sale_artwork: saleArtwork {\n is_with_reserve: isWithReserve\n reserve_message: reserveMessage\n reserve_status: reserveStatus\n endedAt\n current_bid: currentBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n myLotStanding(live: true) {\n active_bid: activeBid {\n is_winning: isWinning\n id\n }\n most_recent_bid: mostRecentBid {\n max_bid: maxBid {\n display\n }\n id\n }\n }\n ...ArtworkSidebarBiddingClosedMessage_artwork\n}\n\nfragment ArtworkSidebarDetails_artwork on Artwork {\n medium\n dimensions {\n in\n cm\n }\n framed {\n details\n }\n editionOf\n isEdition\n editionSets {\n internalID\n id\n }\n ...ArtworkSidebarClassification_artwork\n ...ArtworkSidebarAuthenticityCertificate_artwork\n}\n\nfragment ArtworkSidebarEditionSets_artwork on Artwork {\n isInquireable\n isOfferable\n isAcquireable\n editionSets {\n id\n internalID\n isOfferable\n isAcquireable\n saleMessage\n ...ArtworkSidebarSizeInfo_piece\n }\n}\n\nfragment ArtworkSidebarEstimatedValue_artwork on Artwork {\n saleArtwork {\n estimate\n id\n }\n sale {\n isClosed\n id\n }\n}\n\nfragment ArtworkSidebarLinks_artwork on Artwork {\n isInAuction\n isUnlisted\n sale {\n isClosed\n id\n }\n}\n\nfragment ArtworkSidebarPartnerInfo_artwork on Artwork {\n internalID\n slug\n isInquireable\n isUnlisted\n partner {\n name\n href\n cities\n isInquireable\n id\n }\n sale {\n name\n href\n id\n }\n}\n\nfragment ArtworkSidebarPrivateArtwork_artwork on Artwork {\n partner {\n name\n slug\n id\n }\n visibilityLevel\n additionalInformation\n}\n\nfragment ArtworkSidebarShippingInformation_artwork on Artwork {\n isUnlisted\n shippingOrigin\n shippingInfo\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n __isSellable: __typename\n dimensions {\n in\n cm\n }\n editionOf\n}\n\nfragment ArtworkSidebar_artwork on Artwork {\n ...ArtworkSidebarArtworkTitle_artwork\n ...ArtworkSidebarArtists_artwork\n ...ArtworkSidebarDetails_artwork\n ...ArtworkSidebarCommercialButtons_artwork\n ...ArtworkSidebarShippingInformation_artwork\n ...ArtworkSidebarPartnerInfo_artwork\n ...ArtworkSidebarCreateAlert_artwork\n ...ArtworkSidebarLinks_artwork\n ...ArtworkSidebarEstimatedValue_artwork\n ...ArtworkSidebarBiddingClosedMessage_artwork\n ...ArtworkSidebarAuctionTimer_artwork\n ...ArtworkSidebarAuctionInfoPolling_artwork\n ...ArtworkSidebarPrivateArtwork_artwork\n ...ArtworkSidebarArtsyGuarantee_artwork\n slug\n isSold\n isAcquireable\n isOfferable\n isInAuction\n saleMessage\n isBiddable\n isEligibleForArtsyGuarantee\n isEligibleToCreateAlert\n partner {\n internalID\n id\n }\n sale {\n endAt\n startAt\n isClosed\n isAuction\n id\n }\n saleArtwork {\n lotID\n lotLabel\n extendedBiddingEndAt\n endAt\n endedAt\n id\n }\n artists {\n internalID\n id\n }\n isUnlisted\n}\n\nfragment ArtworkSidebar_me_2R6IMa on Me {\n ...ArtworkSidebarAuctionInfoPolling_me\n ...ArtworkSidebarCommercialButtons_me_2R6IMa\n}\n\nfragment ArtworkTopContextBar_artwork on Artwork {\n partner {\n name\n id\n }\n sale {\n isAuction\n isBenefit\n isGalleryAuction\n coverImage {\n url\n }\n ...RegistrationAuctionTimer_sale\n id\n }\n context {\n __typename\n ... on Sale {\n name\n href\n }\n ... on Fair {\n name\n href\n profile {\n icon {\n url\n }\n id\n }\n }\n ... on Show {\n name\n href\n status\n thumbnail: coverImage {\n url\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArtworkVideoPlayer_artwork_FOvjt on Artwork {\n internalID\n slug\n figures(includeAll: false) {\n __typename\n ... on Video {\n __typename\n playerUrl\n videoWidth: width\n videoHeight: height\n id\n }\n }\n}\n\nfragment AuctionTimer_sale on Sale {\n liveStartAt\n endAt\n}\n\nfragment CascadingEndTimesBanner_sale on Sale {\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n}\n\nfragment DeepZoom_image on Image {\n deepZoom {\n Image {\n xmlns\n Url\n Format\n TileSize\n Overlap\n Size {\n Width\n Height\n }\n }\n }\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 FollowArtistButton_artist on Artist {\n id\n slug\n name\n internalID\n isFollowed\n counts {\n follows\n }\n}\n\nfragment LotTimer_saleArtwork on SaleArtwork {\n endAt\n formattedStartDateTime\n extendedBiddingEndAt\n lotID\n sale {\n startAt\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n internalID\n id\n }\n}\n\nfragment PrivateArtworkAboutArtist_artwork on Artwork {\n slug\n artist {\n ...FollowArtistButton_artist\n internalID\n href\n slug\n name\n initials\n formattedNationalityAndBirthday\n counts {\n artworks\n forSaleArtworks\n follows\n }\n coverArtwork {\n image {\n cropped(width: 145, height: 145) {\n src\n srcSet\n }\n }\n id\n }\n partnerArtists {\n biography\n id\n }\n partnerBiographyBlurb: biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n biographyBlurb(format: HTML, partnerBio: false) {\n text\n }\n id\n }\n}\n\nfragment PrivateArtworkAboutWork_artwork on Artwork {\n additionalInformationHTML: additionalInformation(format: HTML)\n}\n\nfragment PrivateArtworkDetails_artwork on Artwork {\n ...PrivateArtworkAboutWork_artwork\n ...PrivateArtworkAboutArtist_artwork\n ...PrivateArtworkMetadata_artwork\n}\n\nfragment PrivateArtworkMetadata_artwork on Artwork {\n conditionDescription {\n details\n }\n provenance(format: HTML)\n exhibitionHistory(format: HTML)\n}\n\nfragment RegistrationAuctionTimer_sale on Sale {\n registrationEndsAt\n isRegistrationClosed\n}\n\nfragment SelectedExhibitions_exhibitions on Show {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n}\n\nfragment SeoDataForArtwork_artwork on Artwork {\n href\n date\n is_price_hidden: isPriceHidden\n is_price_range: isPriceRange\n listPrice {\n __typename\n ... on PriceRange {\n minPrice {\n major\n currencyCode\n }\n maxPrice {\n major\n }\n }\n ... on Money {\n major\n currencyCode\n }\n }\n meta_image: image {\n resized(width: 640, height: 640, version: [\"large\", \"medium\", \"tall\"]) {\n width\n height\n url\n }\n }\n meta {\n title\n description(limit: 155)\n }\n partner {\n name\n type\n profile {\n image {\n resized(width: 320, height: 320, version: [\"medium\"]) {\n url\n }\n }\n id\n }\n id\n }\n artistNames\n availability\n category\n dimensions {\n in\n }\n}\n\nfragment ViewInRoomArtwork_artwork on Artwork {\n widthCm\n heightCm\n image {\n resized(width: 800, height: 800, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n }\n}\n\nfragment ViewInRoom_artwork on Artwork {\n ...ViewInRoomArtwork_artwork\n}\n" + "text": "query artworkRoutes_ArtworkQuery(\n $artworkID: String!\n) {\n artworkResult(id: $artworkID) {\n __typename\n ...ArtworkApp_artworkResult\n ... on ArtworkError {\n requestError {\n statusCode\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n me {\n ...ArtworkApp_me_2R6IMa\n id\n }\n}\n\nfragment ArtistBio_bio on Artist {\n biographyBlurb(format: HTML, partnerBio: false) {\n credit\n partnerID\n text\n }\n}\n\nfragment ArtistInfo_artist on Artist {\n ...EntityHeaderArtist_artist\n internalID\n slug\n image {\n cropped(width: 45, height: 45) {\n src\n srcSet\n }\n }\n counts {\n partnerShows\n }\n exhibitionHighlights(size: 3) {\n ...SelectedExhibitions_exhibitions\n id\n }\n collections\n highlights {\n partnersConnection(first: 10, displayOnPartnerProfile: true, representedBy: true, partnerCategory: [\"blue-chip\", \"top-established\", \"top-emerging\"]) {\n edges {\n node {\n __typename\n id\n }\n id\n }\n }\n }\n auctionResultsConnection(recordsTrusted: true, first: 1, sort: PRICE_AND_DATE_DESC) {\n edges {\n node {\n __typename\n id\n }\n }\n }\n ...ArtistBio_bio\n ...ArtistMarketInsights_artist\n biographyBlurb(format: HTML, partnerBio: false) {\n text\n }\n}\n\nfragment ArtistMarketInsights_artist on Artist {\n collections\n highlights {\n partnersConnection(first: 10, displayOnPartnerProfile: true, representedBy: true, partnerCategory: [\"blue-chip\", \"top-established\", \"top-emerging\"]) {\n edges {\n node {\n categories {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n auctionResultsConnection(recordsTrusted: true, first: 1, sort: PRICE_AND_DATE_DESC) {\n edges {\n node {\n price_realized: priceRealized {\n display(format: \"0.0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n}\n\nfragment ArtworkActionsSaveButton_artwork on Artwork {\n id\n internalID\n isSaved\n slug\n title\n date\n artistNames\n preview: image {\n url(version: \"square\")\n }\n isSavedToList\n sale {\n isAuction\n isClosed\n id\n }\n ...ArtworkActionsWatchLotButton_artwork\n}\n\nfragment ArtworkActionsWatchLotButton_artwork on Artwork {\n sale {\n isLiveOpen\n isRegistrationClosed\n liveStartAt\n registrationStatus {\n qualifiedForBidding\n id\n }\n id\n }\n ...ArtworkAuctionRegistrationPanel_artwork\n}\n\nfragment ArtworkActions_artwork_FOvjt on Artwork {\n ...ArtworkActionsSaveButton_artwork\n ...ArtworkDownloadButton_artwork\n ...ArtworkSharePanel_artwork_FOvjt\n ...ViewInRoom_artwork\n isUnlisted\n slug\n downloadableImageUrl\n isDownloadable\n isHangable\n partner {\n slug\n id\n }\n}\n\nfragment ArtworkApp_artwork on Artwork {\n ...ArtworkRelatedArtists_artwork\n ...ArtworkMeta_artwork\n ...ArtworkTopContextBar_artwork\n ...ArtworkImageBrowser_artwork\n ...ArtworkSidebar_artwork\n ...ArtworkAuctionCreateAlertHeader_artwork\n ...PrivateArtworkDetails_artwork\n ...ArtworkPageBanner_artwork\n attributionClass {\n internalID\n id\n }\n slug\n internalID\n isAcquireable\n isOfferable\n published\n availability\n mediumType {\n filterGene {\n slug\n id\n }\n }\n visibilityLevel\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n partner {\n __typename\n id\n }\n isInAuction\n sale {\n internalID\n slug\n extendedBiddingIntervalMinutes\n id\n }\n artists {\n id\n internalID\n slug\n ...ArtistInfo_artist\n }\n artist {\n ...ArtistInfo_artist\n id\n }\n}\n\nfragment ArtworkApp_artworkResult on ArtworkResult {\n __isArtworkResult: __typename\n __typename\n ...ArtworkApp_artwork\n ...ArtworkErrorApp_artworkError\n}\n\nfragment ArtworkApp_me_2R6IMa on Me {\n ...ArtworkSidebar_me_2R6IMa\n ...ArtworkPageBanner_me_2R6IMa\n}\n\nfragment ArtworkAuctionCreateAlertHeader_artwork on Artwork {\n slug\n internalID\n title\n isEligibleToCreateAlert\n isInAuction\n artistNames\n artists {\n internalID\n name\n slug\n id\n }\n sale {\n startAt\n isClosed\n id\n }\n saleArtwork {\n extendedBiddingEndAt\n endAt\n endedAt\n id\n }\n attributionClass {\n internalID\n id\n }\n mediumType {\n filterGene {\n slug\n name\n id\n }\n }\n savedSearch {\n suggestedArtworksConnection {\n totalCount\n }\n }\n myLotStandingManageAlerts: myLotStanding {\n isHighestBidder\n }\n}\n\nfragment ArtworkAuctionRegistrationPanel_artwork on Artwork {\n sale {\n slug\n registrationEndsAt\n isRegistrationClosed\n id\n }\n}\n\nfragment ArtworkChatBubble_artwork on Artwork {\n isAcquireable\n isInquireable\n isOfferable\n isInAuction\n listPrice {\n __typename\n ... on Money {\n currencyCode\n major\n }\n ... on PriceRange {\n maxPrice {\n currencyCode\n major\n }\n }\n }\n saleArtwork {\n currency\n openingBid {\n cents\n }\n id\n }\n}\n\nfragment ArtworkDownloadButton_artwork on Artwork {\n title\n date\n downloadableImageUrl\n artists {\n name\n id\n }\n}\n\nfragment ArtworkErrorApp_artworkError on ArtworkError {\n artwork {\n slug\n id\n }\n requestError {\n statusCode\n }\n}\n\nfragment ArtworkImageBrowserLarge_artwork_FOvjt on Artwork {\n ...ArtworkLightbox_artwork_FOvjt\n ...ArtworkVideoPlayer_artwork_FOvjt\n isSetVideoAsCover\n figures(includeAll: false) {\n __typename\n ... on Image {\n ...DeepZoom_image\n __typename\n internalID\n isZoomable\n }\n ... on Video {\n __typename\n id\n }\n }\n}\n\nfragment ArtworkImageBrowserSmall_artwork_FOvjt on Artwork {\n ...ArtworkLightbox_artwork_FOvjt\n ...ArtworkVideoPlayer_artwork_FOvjt\n isSetVideoAsCover\n figures(includeAll: false) {\n __typename\n ... on Image {\n ...DeepZoom_image\n internalID\n isZoomable\n type: __typename\n }\n ... on Video {\n type: __typename\n id\n }\n }\n}\n\nfragment ArtworkImageBrowser_artwork on Artwork {\n ...ArtworkActions_artwork_FOvjt\n ...ArtworkImageBrowserSmall_artwork_FOvjt\n ...ArtworkImageBrowserLarge_artwork_FOvjt\n internalID\n figures(includeAll: false) {\n __typename\n ... on Image {\n isDefault\n width\n height\n }\n ... on Video {\n videoWidth: width\n videoHeight: height\n id\n }\n }\n}\n\nfragment ArtworkLightbox_artwork_FOvjt on Artwork {\n formattedMetadata\n images(includeAll: false) {\n internalID\n isDefault\n placeholder: url(version: [\"small\", \"medium\"])\n fallback: cropped(quality: 85, width: 800, height: 800, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n width\n height\n src\n srcSet\n }\n resized(quality: 85, width: 800, height: 800, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n width\n height\n src\n srcSet\n }\n versions\n }\n}\n\nfragment ArtworkMeta_artwork on Artwork {\n ...SeoDataForArtwork_artwork\n ...ArtworkChatBubble_artwork\n href\n isShareable\n visibilityLevel\n metaImage: image {\n resized(width: 640, height: 640, version: [\"large\", \"medium\", \"tall\"]) {\n width\n height\n url\n }\n }\n meta {\n title\n description(limit: 155)\n longDescription: description(limit: 200)\n }\n}\n\nfragment ArtworkPageBanner_artwork on Artwork {\n published\n visibilityLevel\n isPurchasable\n sale {\n __typename\n ...CascadingEndTimesBanner_sale\n id\n }\n}\n\nfragment ArtworkPageBanner_me_2R6IMa on Me {\n partnerOffersConnection(artworkID: $artworkID, first: 1) {\n edges {\n node {\n internalID\n id\n }\n }\n }\n}\n\nfragment ArtworkRelatedArtists_artwork on Artwork {\n slug\n artist {\n href\n related {\n artistsConnection(kind: MAIN, first: 6, after: \"\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n ...EntityHeaderArtist_artist\n id\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n\nfragment ArtworkSharePanel_artwork_FOvjt on Artwork {\n href\n images(includeAll: false) {\n url\n }\n artworkMeta: meta {\n share\n }\n}\n\nfragment ArtworkSidebarArtists_artwork on Artwork {\n culturalMaker\n artists {\n slug\n name\n id\n }\n}\n\nfragment ArtworkSidebarArtsyGuarantee_artwork on Artwork {\n isUnlisted\n}\n\nfragment ArtworkSidebarArtworkTitle_artwork on Artwork {\n date\n title\n}\n\nfragment ArtworkSidebarAuctionInfoPolling_artwork on Artwork {\n internalID\n sale {\n isClosed\n id\n }\n saleArtwork {\n currentBid {\n display\n }\n id\n }\n ...ArtworkSidebarCurrentBidInfo_artwork\n ...ArtworkSidebarBidAction_artwork\n}\n\nfragment ArtworkSidebarAuctionInfoPolling_me on Me {\n ...ArtworkSidebarBidAction_me\n}\n\nfragment ArtworkSidebarAuctionTimer_artwork on Artwork {\n internalID\n sale {\n cascadingEndTimeIntervalMinutes\n isClosed\n ...AuctionTimer_sale\n startAt\n id\n }\n saleArtwork {\n ...LotTimer_saleArtwork\n endAt\n endedAt\n id\n }\n}\n\nfragment ArtworkSidebarAuthenticityCertificate_artwork on Artwork {\n hasCertificateOfAuthenticity\n isBiddable\n}\n\nfragment ArtworkSidebarBidAction_artwork on Artwork {\n myLotStanding(live: true) {\n most_recent_bid: mostRecentBid {\n max_bid: maxBid {\n cents\n }\n id\n }\n }\n slug\n internalID\n sale {\n slug\n registrationStatus {\n qualified_for_bidding: qualifiedForBidding\n id\n }\n is_preview: isPreview\n is_open: isOpen\n is_live_open: isLiveOpen\n is_closed: isClosed\n is_registration_closed: isRegistrationClosed\n requireIdentityVerification\n id\n }\n sale_artwork: saleArtwork {\n increments {\n cents\n display\n }\n endedAt\n id\n }\n}\n\nfragment ArtworkSidebarBidAction_me on Me {\n isIdentityVerified\n pendingIdentityVerification {\n internalID\n id\n }\n}\n\nfragment ArtworkSidebarBiddingClosedMessage_artwork on Artwork {\n isEligibleToCreateAlert\n artists {\n internalID\n id\n }\n attributionClass {\n internalID\n id\n }\n mediumType {\n filterGene {\n slug\n id\n }\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attributionClass {\n shortArrayDescription\n id\n }\n}\n\nfragment ArtworkSidebarCommercialButtons_artwork on Artwork {\n ...ArtworkSidebarEditionSets_artwork\n isEligibleToCreateAlert\n artists {\n internalID\n id\n }\n attributionClass {\n internalID\n id\n }\n internalID\n slug\n saleMessage\n isInquireable\n isAcquireable\n isOfferable\n isSold\n priceListedDisplay\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n mediumType {\n filterGene {\n slug\n id\n }\n }\n editionSets {\n id\n internalID\n isAcquireable\n isOfferable\n saleMessage\n }\n partner {\n profile {\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n}\n\nfragment ArtworkSidebarCommercialButtons_me_2R6IMa on Me {\n partnerOffersConnection(artworkID: $artworkID, first: 1) {\n edges {\n node {\n endAt\n internalID\n isAvailable\n note\n priceWithDiscount {\n display\n }\n id\n }\n }\n }\n}\n\nfragment ArtworkSidebarCreateAlert_artwork on Artwork {\n internalID\n title\n slug\n isEligibleToCreateAlert\n artists {\n internalID\n name\n slug\n id\n }\n attributionClass {\n internalID\n id\n }\n mediumType {\n filterGene {\n slug\n name\n id\n }\n }\n}\n\nfragment ArtworkSidebarCurrentBidInfo_artwork on Artwork {\n sale {\n is_closed: isClosed\n is_live_open: isLiveOpen\n internalID\n is_with_buyers_premium: isWithBuyersPremium\n id\n }\n sale_artwork: saleArtwork {\n is_with_reserve: isWithReserve\n reserve_message: reserveMessage\n reserve_status: reserveStatus\n endedAt\n current_bid: currentBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n myLotStanding(live: true) {\n active_bid: activeBid {\n is_winning: isWinning\n id\n }\n most_recent_bid: mostRecentBid {\n max_bid: maxBid {\n display\n }\n id\n }\n }\n ...ArtworkSidebarBiddingClosedMessage_artwork\n}\n\nfragment ArtworkSidebarDetails_artwork on Artwork {\n medium\n dimensions {\n in\n cm\n }\n framed {\n details\n }\n editionOf\n isEdition\n editionSets {\n internalID\n id\n }\n ...ArtworkSidebarClassification_artwork\n ...ArtworkSidebarAuthenticityCertificate_artwork\n}\n\nfragment ArtworkSidebarEditionSets_artwork on Artwork {\n isInquireable\n isOfferable\n isAcquireable\n editionSets {\n id\n internalID\n isOfferable\n isAcquireable\n saleMessage\n ...ArtworkSidebarSizeInfo_piece\n }\n}\n\nfragment ArtworkSidebarEstimatedValue_artwork on Artwork {\n saleArtwork {\n estimate\n id\n }\n sale {\n isClosed\n id\n }\n}\n\nfragment ArtworkSidebarLinks_artwork on Artwork {\n isInAuction\n isUnlisted\n sale {\n isClosed\n id\n }\n}\n\nfragment ArtworkSidebarPartnerInfo_artwork on Artwork {\n internalID\n slug\n isInquireable\n isUnlisted\n partner {\n name\n href\n cities\n isInquireable\n id\n }\n sale {\n name\n href\n id\n }\n}\n\nfragment ArtworkSidebarPrivateArtwork_artwork on Artwork {\n partner {\n name\n slug\n profile {\n isPubliclyVisible\n id\n }\n id\n }\n visibilityLevel\n additionalInformation\n}\n\nfragment ArtworkSidebarShippingInformation_artwork on Artwork {\n isUnlisted\n shippingOrigin\n shippingInfo\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n __isSellable: __typename\n dimensions {\n in\n cm\n }\n editionOf\n}\n\nfragment ArtworkSidebar_artwork on Artwork {\n ...ArtworkSidebarArtworkTitle_artwork\n ...ArtworkSidebarArtists_artwork\n ...ArtworkSidebarDetails_artwork\n ...ArtworkSidebarCommercialButtons_artwork\n ...ArtworkSidebarShippingInformation_artwork\n ...ArtworkSidebarPartnerInfo_artwork\n ...ArtworkSidebarCreateAlert_artwork\n ...ArtworkSidebarLinks_artwork\n ...ArtworkSidebarEstimatedValue_artwork\n ...ArtworkSidebarBiddingClosedMessage_artwork\n ...ArtworkSidebarAuctionTimer_artwork\n ...ArtworkSidebarAuctionInfoPolling_artwork\n ...ArtworkSidebarPrivateArtwork_artwork\n ...ArtworkSidebarArtsyGuarantee_artwork\n slug\n isSold\n isAcquireable\n isOfferable\n isInAuction\n saleMessage\n isBiddable\n isEligibleForArtsyGuarantee\n isEligibleToCreateAlert\n partner {\n internalID\n id\n }\n sale {\n endAt\n startAt\n isClosed\n isAuction\n id\n }\n saleArtwork {\n lotID\n lotLabel\n extendedBiddingEndAt\n endAt\n endedAt\n id\n }\n artists {\n internalID\n id\n }\n isUnlisted\n}\n\nfragment ArtworkSidebar_me_2R6IMa on Me {\n ...ArtworkSidebarAuctionInfoPolling_me\n ...ArtworkSidebarCommercialButtons_me_2R6IMa\n}\n\nfragment ArtworkTopContextBar_artwork on Artwork {\n partner {\n name\n id\n }\n sale {\n isAuction\n isBenefit\n isGalleryAuction\n coverImage {\n url\n }\n ...RegistrationAuctionTimer_sale\n id\n }\n context {\n __typename\n ... on Sale {\n name\n href\n }\n ... on Fair {\n name\n href\n profile {\n icon {\n url\n }\n id\n }\n }\n ... on Show {\n name\n href\n status\n thumbnail: coverImage {\n url\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment ArtworkVideoPlayer_artwork_FOvjt on Artwork {\n internalID\n slug\n figures(includeAll: false) {\n __typename\n ... on Video {\n __typename\n playerUrl\n videoWidth: width\n videoHeight: height\n id\n }\n }\n}\n\nfragment AuctionTimer_sale on Sale {\n liveStartAt\n endAt\n}\n\nfragment CascadingEndTimesBanner_sale on Sale {\n cascadingEndTimeIntervalMinutes\n extendedBiddingIntervalMinutes\n}\n\nfragment DeepZoom_image on Image {\n deepZoom {\n Image {\n xmlns\n Url\n Format\n TileSize\n Overlap\n Size {\n Width\n Height\n }\n }\n }\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 FollowArtistButton_artist on Artist {\n id\n slug\n name\n internalID\n isFollowed\n counts {\n follows\n }\n}\n\nfragment LotTimer_saleArtwork on SaleArtwork {\n endAt\n formattedStartDateTime\n extendedBiddingEndAt\n lotID\n sale {\n startAt\n extendedBiddingPeriodMinutes\n extendedBiddingIntervalMinutes\n internalID\n id\n }\n}\n\nfragment PrivateArtworkAboutArtist_artwork on Artwork {\n slug\n artist {\n ...FollowArtistButton_artist\n internalID\n href\n slug\n name\n initials\n formattedNationalityAndBirthday\n counts {\n artworks\n forSaleArtworks\n follows\n }\n coverArtwork {\n image {\n cropped(width: 145, height: 145) {\n src\n srcSet\n }\n }\n id\n }\n partnerArtists {\n biography\n id\n }\n partnerBiographyBlurb: biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n biographyBlurb(format: HTML, partnerBio: false) {\n text\n }\n id\n }\n}\n\nfragment PrivateArtworkAboutWork_artwork on Artwork {\n additionalInformationHTML: additionalInformation(format: HTML)\n}\n\nfragment PrivateArtworkDetails_artwork on Artwork {\n ...PrivateArtworkAboutWork_artwork\n ...PrivateArtworkAboutArtist_artwork\n ...PrivateArtworkMetadata_artwork\n}\n\nfragment PrivateArtworkMetadata_artwork on Artwork {\n conditionDescription {\n details\n }\n provenance(format: HTML)\n exhibitionHistory(format: HTML)\n}\n\nfragment RegistrationAuctionTimer_sale on Sale {\n registrationEndsAt\n isRegistrationClosed\n}\n\nfragment SelectedExhibitions_exhibitions on Show {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n}\n\nfragment SeoDataForArtwork_artwork on Artwork {\n href\n date\n is_price_hidden: isPriceHidden\n is_price_range: isPriceRange\n listPrice {\n __typename\n ... on PriceRange {\n minPrice {\n major\n currencyCode\n }\n maxPrice {\n major\n }\n }\n ... on Money {\n major\n currencyCode\n }\n }\n meta_image: image {\n resized(width: 640, height: 640, version: [\"large\", \"medium\", \"tall\"]) {\n width\n height\n url\n }\n }\n meta {\n title\n description(limit: 155)\n }\n partner {\n name\n type\n profile {\n image {\n resized(width: 320, height: 320, version: [\"medium\"]) {\n url\n }\n }\n id\n }\n id\n }\n artistNames\n availability\n category\n dimensions {\n in\n }\n}\n\nfragment ViewInRoomArtwork_artwork on Artwork {\n widthCm\n heightCm\n image {\n resized(width: 800, height: 800, version: [\"main\", \"normalized\", \"larger\", \"large\"]) {\n src\n srcSet\n width\n height\n }\n }\n}\n\nfragment ViewInRoom_artwork on Artwork {\n ...ViewInRoomArtwork_artwork\n}\n" } }; })();