diff --git a/.vscode/settings.json b/.vscode/settings.json index d9f2d18f6b4..cc1f6c98b83 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,5 @@ { - "editor.rulers": [ - 80 - ], + "editor.rulers": [80], "editor.tabSize": 2, "javascript.validate.enable": true, "search.exclude": { @@ -16,7 +14,7 @@ "editor.formatOnSave": false }, "typescript.tsdk": "./node_modules/typescript/lib", - "debug.node.autoAttach": "on", + "debug.node.autoAttach": "off", "cSpell.ignoreWords": [], "cSpell.diagnosticLevel": "Hint", "cSpell.ignorePaths": [ @@ -34,4 +32,4 @@ "source.fixAll.eslint": true, "source.fixAll.stylelint": true } -} \ No newline at end of file +} diff --git a/package.json b/package.json index f34ff2e671d..ee46a7a11a9 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "@artsy/gemup": "0.1.0", "@artsy/palette": "12.0.2", "@artsy/passport": "1.3.2", - "@artsy/reaction": "27.1.0", + "@artsy/reaction": "28.0.0", "@artsy/stitch": "6.1.6", "@artsy/xapp": "1.0.6", "@loadable/component": "5.12.0", @@ -104,14 +104,15 @@ "express": "4.16.4", "express-ipfilter": "0.2.1", "express-request-id": "1.4.0", + "farce": "^0.4.5", "fastclick": "1.0.6", "flickity": "2.1.2", "flickity-imagesloaded": "2.0.0", "focus-visible": "5.1.0", "forever": "0.15.3", - "found": "0.4.9", - "found-relay": "0.5.0", - "found-scroll": "0.1.6", + "found": "^0.5.5", + "found-relay": "^0.8.2", + "found-scroll": "^0.3.0", "geoformatter": "artsy/geoformatter", "geolib": "2.0.22", "glob": "7.1.3", @@ -167,9 +168,9 @@ "react-dom": "16.8.6", "react-linkify": "1.0.0-alpha", "react-redux": "5.1.1", - "react-relay": "7.1.0", - "react-relay-network-modern": "2.5.1", - "react-relay-network-modern-ssr": "1.2.2", + "react-relay": "9.1.0", + "react-relay-network-modern": "^4.7.3", + "react-relay-network-modern-ssr": "^1.4.0", "react-remove-scroll": "2.3.0", "react-router": "4.2.0", "react-router-redux": "4.0.8", @@ -183,7 +184,7 @@ "redux-thunk": "2.2.0", "referer-parser": "0.0.3", "relay-mock-network-layer": "2.0.0", - "relay-runtime": "7.1.0", + "relay-runtime": "9.1.0", "require-control": "2.1.1", "sailthru-client": "3.0.2", "scroll-frame": "1.0.0", @@ -256,7 +257,7 @@ "@types/react-tracking": "7.0.0", "@types/react-transition-group": "2.0.11", "@types/redis": "2.8.22", - "@types/relay-runtime": "8.0.10", + "@types/relay-runtime": "9.1.0", "@types/storybook__react": "5.2.1", "@types/styled-components": "4.0.3", "@types/styled-system": "5.1.9", @@ -271,7 +272,7 @@ "babel-plugin-inline-react-svg": "0.2.0", "babel-plugin-lodash": "3.3.4", "babel-plugin-module-resolver": "3.1.0", - "babel-plugin-relay": "7.1.0", + "babel-plugin-relay": "9.0.0", "babel-plugin-styled-components": "1.11.1", "benv": "3.3.0", "cache-loader": "1.2.2", @@ -321,9 +322,9 @@ "react-stripe-elements": "2.0.1", "react-test-renderer": "16.8.6", "react-use-dimensions": "1.2.1", - "relay-compiler": "7.1.0", - "relay-compiler-language-typescript": "10.1.0", - "relay-config": "7.1.0", + "relay-compiler": "9.1.0", + "relay-compiler-language-typescript": "^12.0.3", + "relay-config": "9.1.0", "rewire": "2.2.0", "s3": "4.4.0", "should": "11.2.1", diff --git a/patches/found+0.4.9.patch b/patches/found+0.5.5.patch similarity index 70% rename from patches/found+0.4.9.patch rename to patches/found+0.5.5.patch index 36cb9491e71..bdf7f2a1c02 100644 --- a/patches/found+0.4.9.patch +++ b/patches/found+0.5.5.patch @@ -1,7 +1,7 @@ -diff --git a/node_modules/found/lib/index.d.ts b/node_modules/found/lib/index.d.ts -index 02cc90c..b3706dd 100644 ---- a/node_modules/found/lib/index.d.ts -+++ b/node_modules/found/lib/index.d.ts +diff --git a/node_modules/found/index.d.ts b/node_modules/found/index.d.ts +index 6868cf5..4bca495 100644 +--- a/node_modules/found/index.d.ts ++++ b/node_modules/found/index.d.ts @@ -111,6 +111,10 @@ declare module 'found' { * matchContext from the router */ @@ -13,7 +13,7 @@ index 02cc90c..b3706dd 100644 } interface FoundState { -@@ -267,6 +271,12 @@ declare module 'found' { +@@ -272,6 +276,12 @@ declare module 'found' { * loaded */ data?: any; @@ -26,10 +26,10 @@ index 02cc90c..b3706dd 100644 } /** -@@ -438,6 +448,8 @@ declare module 'found' { +@@ -444,6 +454,8 @@ declare module 'found' { function useRouter(): RouterState; - + + const RouterContext: React.Context; + function withRouter( diff --git a/patches/relay-compiler+7.1.0.patch b/patches/relay-compiler+9.1.0.patch similarity index 86% rename from patches/relay-compiler+7.1.0.patch rename to patches/relay-compiler+9.1.0.patch index 3337eeb8919..5fc6158daf9 100644 --- a/patches/relay-compiler+7.1.0.patch +++ b/patches/relay-compiler+9.1.0.patch @@ -1,17 +1,17 @@ diff --git a/node_modules/relay-compiler/bin/relay-compiler b/node_modules/relay-compiler/bin/relay-compiler -index 78b40a3..8d05a9a 100755 +index 02c8adc..e74249f 100755 --- a/node_modules/relay-compiler/bin/relay-compiler +++ b/node_modules/relay-compiler/bin/relay-compiler -@@ -308,7 +308,7 @@ function highlightSourceAtLocation(source, location) { +@@ -291,7 +291,7 @@ function highlightSourceAtLocation(source, location) { var columnOffset = location.line === 1 ? firstLineColumnOffset : 0; var columnNum = location.column + columnOffset; var lines = body.split(/\r\n|[\n\r]/g); - return "".concat(source.name, " (").concat(lineNum, ":").concat(columnNum, ")\n") + printPrefixedLines([// Lines specified like this: ["prefix", "string"], -+ return "".concat(source.name, ":").concat(lineNum, ":").concat(columnNum, "\n") + printPrefixedLines([// Lines specified like this: ["prefix", "string"], ++ return "".concat(source.name, ":").concat(lineNum, ":").concat(columnNum, ")\n") + printPrefixedLines([// Lines specified like this: ["prefix", "string"], ["".concat(lineNum - 1, ": "), lines[lineIndex - 1]], ["".concat(lineNum, ": "), lines[lineIndex]], ['', whitespace(columnNum - 1) + '^'], ["".concat(lineNum + 1, ": "), lines[lineIndex + 1]]]); } -@@ -17391,10 +17391,10 @@ module.exports = function (tagFinder) { +@@ -17783,10 +17783,10 @@ module.exports = function (tagFinder, getFileFilter) { var astDefinitions = []; var sources = []; @@ -25,7 +25,7 @@ index 78b40a3..8d05a9a 100755 sources.push(source.body); astDefinitions.push.apply(astDefinitions, (0, _toConsumableArray2["default"])(ast.definitions)); }); -@@ -17478,9 +17478,7 @@ function find(tagFinder, text, absPath) { +@@ -17871,9 +17871,7 @@ function find(tagFinder, text, absPath) { tags.forEach(function (tag) { return validateTemplate(tag, moduleName, absPath); }); diff --git a/patches/relay-runtime+7.1.0.patch b/patches/relay-runtime+9.1.0.patch similarity index 77% rename from patches/relay-runtime+7.1.0.patch rename to patches/relay-runtime+9.1.0.patch index 3860ce90c81..2052bb7d439 100644 --- a/patches/relay-runtime+7.1.0.patch +++ b/patches/relay-runtime+9.1.0.patch @@ -1,7 +1,8 @@ -patch-package +diff --git a/node_modules/relay-runtime/lib/store/RelayResponseNormalizer.js b/node_modules/relay-runtime/lib/store/RelayResponseNormalizer.js +index 13ac420..8502116 100644 --- a/node_modules/relay-runtime/lib/store/RelayResponseNormalizer.js +++ b/node_modules/relay-runtime/lib/store/RelayResponseNormalizer.js -@@ -407,7 +407,7 @@ function () { +@@ -278,7 +278,7 @@ var RelayResponseNormalizer = /*#__PURE__*/function () { // // Otherwise, missing fields usually indicate a server or user error ( // the latter for manually constructed payloads). diff --git a/src/v2/Apps/Artist/ArtistApp.tsx b/src/v2/Apps/Artist/ArtistApp.tsx index 9a84421717a..dee0a44f907 100644 --- a/src/v2/Apps/Artist/ArtistApp.tsx +++ b/src/v2/Apps/Artist/ArtistApp.tsx @@ -38,7 +38,9 @@ export const ArtistApp: React.FC = props => { const { artist, children } = props const { trackEvent } = useTracking() const route = findCurrentRoute(props.match) - let HorizontalPaddingArea = HorizontalPadding + let HorizontalPaddingArea: + | typeof HorizontalPadding + | typeof Box = HorizontalPadding let maxWidth if (route.displayFullPage) { diff --git a/src/v2/Apps/Artist/__tests__/routes.jest.tsx b/src/v2/Apps/Artist/__tests__/routes.jest.tsx index 31526162439..75229a1f30d 100644 --- a/src/v2/Apps/Artist/__tests__/routes.jest.tsx +++ b/src/v2/Apps/Artist/__tests__/routes.jest.tsx @@ -2,8 +2,7 @@ import { routes_ArtistTopLevelQueryRawResponse } from "v2/__generated__/routes_A import { routes } from "v2/Apps/Artist/routes" import { createMockNetworkLayer2 } from "v2/DevTools/createMockNetworkLayer" import { Resolver } from "found-relay" -import { FarceRedirectResult } from "found/lib/server" -import getFarceResult from "found/lib/server/getFarceResult" +import { FarceRedirectResult, getFarceResult } from "found/server" import React from "react" import { Environment, RecordSource, Store } from "relay-runtime" import { PermanentRedirectException } from "v2/Artsy/Router/PermanentRedirectException" diff --git a/src/v2/Apps/Auction/__tests__/routes.jest.ts b/src/v2/Apps/Auction/__tests__/routes.jest.ts index fad28463f42..dfb438ef878 100644 --- a/src/v2/Apps/Auction/__tests__/routes.jest.ts +++ b/src/v2/Apps/Auction/__tests__/routes.jest.ts @@ -7,8 +7,8 @@ import deepMerge from "deepmerge" import { createMockNetworkLayer2 } from "v2/DevTools/createMockNetworkLayer" import { createRender } from "found" import { Resolver } from "found-relay" -import { FarceElementResult, FarceRedirectResult } from "found/lib/server" -import getFarceResult from "found/lib/server/getFarceResult" +import { FarceElementResult, FarceRedirectResult } from "found/server" +import { getFarceResult } from "found/server" import { Environment, RecordSource, Store } from "relay-runtime" import { DeepPartial } from "v2/Utils/typeSupport" diff --git a/src/v2/Apps/Conversation/Components/TimeSince.tsx b/src/v2/Apps/Conversation/Components/TimeSince.tsx index 13cdafa015f..61a10d1f6ae 100644 --- a/src/v2/Apps/Conversation/Components/TimeSince.tsx +++ b/src/v2/Apps/Conversation/Components/TimeSince.tsx @@ -73,7 +73,7 @@ interface TimeSinceProps extends Omit { size?: SansSize time: string exact?: boolean - style?: React.CSSProperties + style?: any // FIXME: React.CSSProperties } export const TimeSince: React.FC = ({ size = "2", diff --git a/src/v2/Apps/IdentityVerification/__tests__/routes.jest.tsx b/src/v2/Apps/IdentityVerification/__tests__/routes.jest.tsx index 77fd0ad3c50..7b54ba6eddd 100644 --- a/src/v2/Apps/IdentityVerification/__tests__/routes.jest.tsx +++ b/src/v2/Apps/IdentityVerification/__tests__/routes.jest.tsx @@ -5,7 +5,7 @@ import { FarceElementResult, FarceRedirectResult, getFarceResult, -} from "found/lib/server" +} from "found/server" import { Environment, RecordSource, Store } from "relay-runtime" import { routes } from "v2/Apps/IdentityVerification/routes" diff --git a/src/v2/Apps/Order/Components/OfferHistoryItem.tsx b/src/v2/Apps/Order/Components/OfferHistoryItem.tsx index 95720ca74bd..6589726325c 100644 --- a/src/v2/Apps/Order/Components/OfferHistoryItem.tsx +++ b/src/v2/Apps/Order/Components/OfferHistoryItem.tsx @@ -4,82 +4,83 @@ import { StepSummaryItem, StepSummaryItemProps, } from "v2/Components/StepSummaryItem" -import React, { HTMLProps } from "react" +import React from "react" import { createFragmentContainer, graphql } from "react-relay" import { RevealButton } from "./RevealButton" -const OfferHistoryItem: React.SFC<{ - order: OfferHistoryItem_order -} & StepSummaryItemProps> = ({ - order: { totalListPrice, lastOffer, offers }, - ...others -}) => { - const previousOffers = offers.edges.filter( - ({ node: { internalID } }) => internalID !== lastOffer.internalID - ) +const OfferHistoryItem: React.SFC< + { + order: OfferHistoryItem_order + } & StepSummaryItemProps +> = ({ order: { totalListPrice, lastOffer, offers }, ...others }) => { + const previousOffers = offers.edges.filter( + ({ node: { internalID } }) => internalID !== lastOffer.internalID + ) - return ( - - + return ( + + + + {lastOffer.fromParticipant === "SELLER" + ? "Seller's offer" + : "Your offer"} + + + {lastOffer.amount} + + + +
+ + List price: {totalListPrice} + + + {lastOffer.note && ( + <> + {lastOffer.fromParticipant === "SELLER" - ? "Seller's offer" - : "Your offer"} + ? "Seller's note" + : "Your note"} - - {lastOffer.amount} + + {lastOffer.note} - - -
- - List price: {totalListPrice} - - - {lastOffer.note && ( - <> - - - {lastOffer.fromParticipant === "SELLER" - ? "Seller's note" - : "Your note"} - - - {lastOffer.note} - - - - )} - {previousOffers.length > 0 && ( - <> - - - - - Offer history + + + )} + {previousOffers.length > 0 && ( + <> + + + + + Offer history - {previousOffers.map(({ node: offer }) => ( - - - {offer.fromParticipant === "BUYER" ? "You" : "Seller"} - {` (${offer.createdAt})`} - - - {offer.amount} - - - ))} - - - - )} - - ) - } + {previousOffers.map(({ node: offer }) => ( + + + {offer.fromParticipant === "BUYER" ? "You" : "Seller"} + {` (${offer.createdAt})`} + + + {offer.amount} + + + ))} + + + + )} + + ) +} // TODO: look into why a separate style prop is necessary here -const Row: React.SFC["style"] -}> = ({ children, ...others }) => ( +const Row: React.SFC< + FlexProps & { + style?: any // FIXME: HTMLProps["style"] + } +> = ({ children, ...others }) => ( {children} diff --git a/src/v2/Apps/Order/OrderApp.tsx b/src/v2/Apps/Order/OrderApp.tsx index d4b73aea3af..ce55f42d985 100644 --- a/src/v2/Apps/Order/OrderApp.tsx +++ b/src/v2/Apps/Order/OrderApp.tsx @@ -37,11 +37,11 @@ interface OrderAppState { class OrderApp extends React.Component { mediator: Mediator | null = null state = { stripe: null } - removeTransitionHook: () => void + removeNavigationListener: () => void componentDidMount() { - if (!this.removeTransitionHook) { - this.removeTransitionHook = this.props.router.addTransitionHook( + if (!this.removeNavigationListener) { + this.removeNavigationListener = this.props.router.addNavigationListener( this.onTransition ) } @@ -76,8 +76,8 @@ class OrderApp extends React.Component { } componentWillUnmount() { - if (this.removeTransitionHook) { - this.removeTransitionHook() + if (this.removeNavigationListener) { + this.removeNavigationListener() } window.removeEventListener("beforeunload", this.preventHardReload) diff --git a/src/v2/Apps/Order/__tests__/OrderApp.jest.tsx b/src/v2/Apps/Order/__tests__/OrderApp.jest.tsx index e7218ffea1c..b632ba96234 100644 --- a/src/v2/Apps/Order/__tests__/OrderApp.jest.tsx +++ b/src/v2/Apps/Order/__tests__/OrderApp.jest.tsx @@ -3,7 +3,7 @@ import { SystemContextProvider } from "v2/Artsy" import { ErrorPage } from "v2/Components/ErrorPage" import { mount } from "enzyme" import { Resolver } from "found-relay" -import getFarceResult from "found/lib/server/getFarceResult" +import { getFarceResult } from "found/server" import React from "react" import { HeadProvider, Meta } from "react-head" import { OrderApp } from "../OrderApp" @@ -19,7 +19,7 @@ import { } from "v2/Apps/__tests__/Fixtures/Order" import { MockBoot } from "v2/DevTools" import { createMockNetworkLayer2 } from "v2/DevTools/createMockNetworkLayer" -import { FarceRedirectResult } from "found/lib/server" +import { FarceRedirectResult } from "found/server" import { DateTime } from "luxon" import { Environment, RecordSource, Store } from "relay-runtime" import { GlobalData } from "sharify" @@ -491,7 +491,7 @@ describe("OrderApp", () => { location: { pathname: location || "/order/123/shipping" }, router: { // tslint:disable-next-line:no-empty - addTransitionHook: () => {}, + addNavigationListener: () => {}, replace, }, order: { diff --git a/src/v2/Apps/__stories__/OrderApp.story.tsx b/src/v2/Apps/__stories__/OrderApp.story.tsx index 135b5f6e3c3..e535610c20f 100644 --- a/src/v2/Apps/__stories__/OrderApp.story.tsx +++ b/src/v2/Apps/__stories__/OrderApp.story.tsx @@ -28,7 +28,13 @@ const Router = ({ order, ...props }: any) => ( name: "Dr. Collector", }, }} - historyOptions={{ useBeforeUnload: true }} + /** + * FIXME: Lib upgrade + * Breaking: Configure beforeunload handling on navigation listeners rather than on history enhancer (#313) + * Instead of setting useBeforeUnload in createHistoryEnhancer, set beforeUnload in addNavigationListener + * @see https://github.com/4Catalyzer/farce/releases/tag/v0.4.0 + */ + // historyOptions={{ useBeforeUnload: true }} context={{ mediator: { trigger: x => x, @@ -187,14 +193,10 @@ storiesOf("Apps/Order/Make Offer/NewPayment", module) order={{ ...OfferOrderPickup, state: "SUBMITTED", - stateExpiresAt: DateTime.local() - .plus({ days: 1 }) - .toString(), + stateExpiresAt: DateTime.local().plus({ days: 1 }).toString(), lastOffer: { ...OfferWithTotals, - createdAt: DateTime.local() - .minus({ days: 1 }) - .toString(), + createdAt: DateTime.local().minus({ days: 1 }).toString(), }, awaitingResponseFrom: "BUYER", lastTransactionFailed: true, @@ -209,14 +211,10 @@ storiesOf("Apps/Order/Make Offer/NewPayment", module) order={{ ...OfferOrderWithShippingDetails, state: "SUBMITTED", - stateExpiresAt: DateTime.local() - .plus({ days: 1 }) - .toString(), + stateExpiresAt: DateTime.local().plus({ days: 1 }).toString(), lastOffer: { ...OfferWithTotals, - createdAt: DateTime.local() - .minus({ days: 1 }) - .toString(), + createdAt: DateTime.local().minus({ days: 1 }).toString(), }, lastTransactionFailed: true, awaitingResponseFrom: "BUYER", @@ -239,14 +237,10 @@ storiesOf("Apps/Order/Respond", module) order={{ ...OfferOrderWithShippingDetails, state: "SUBMITTED", - stateExpiresAt: DateTime.local() - .plus({ days: 1 }) - .toString(), + stateExpiresAt: DateTime.local().plus({ days: 1 }).toString(), lastOffer: { ...OfferWithTotals, - createdAt: DateTime.local() - .minus({ days: 1 }) - .toString(), + createdAt: DateTime.local().minus({ days: 1 }).toString(), }, awaitingResponseFrom: "BUYER", offers: { edges: Offers }, @@ -260,23 +254,17 @@ storiesOf("Apps/Order/Respond", module) order={{ ...OfferOrderWithShippingDetails, state: "SUBMITTED", - stateExpiresAt: DateTime.local() - .plus({ days: 1 }) - .toString(), + stateExpiresAt: DateTime.local().plus({ days: 1 }).toString(), lastOffer: { ...OfferWithTotals, id: "last-offer", - createdAt: DateTime.local() - .minus({ days: 1 }) - .toString(), + createdAt: DateTime.local().minus({ days: 1 }).toString(), }, myLastOffer: { ...OfferWithTotals, id: "my-last-offer", fromParticipant: "BUYER", - createdAt: DateTime.local() - .minus({ days: 1 }) - .toString(), + createdAt: DateTime.local().minus({ days: 1 }).toString(), }, awaitingResponseFrom: "BUYER", offers: { edges: Offers }, @@ -290,15 +278,11 @@ storiesOf("Apps/Order/Respond", module) order={{ ...OfferOrderWithShippingDetails, state: "SUBMITTED", - stateExpiresAt: DateTime.local() - .plus({ days: 1 }) - .toString(), + stateExpiresAt: DateTime.local().plus({ days: 1 }).toString(), lastOffer: { ...OfferWithTotals, id: "last-offer", - createdAt: DateTime.local() - .minus({ days: 1 }) - .toString(), + createdAt: DateTime.local().minus({ days: 1 }).toString(), }, awaitingResponseFrom: "BUYER", offers: { edges: Offers }, @@ -313,15 +297,11 @@ storiesOf("Apps/Order/Respond", module) order={{ ...OfferOrderWithShippingDetails, state: "SUBMITTED", - stateExpiresAt: DateTime.local() - .plus({ days: 1 }) - .toString(), + stateExpiresAt: DateTime.local().plus({ days: 1 }).toString(), lastOffer: { ...OfferWithTotals, id: "last-offer", - createdAt: DateTime.local() - .minus({ days: 1 }) - .toString(), + createdAt: DateTime.local().minus({ days: 1 }).toString(), }, awaitingResponseFrom: "BUYER", offers: { edges: Offers }, diff --git a/src/v2/Artsy/Analytics/__tests__/trackingMiddleware.jest.ts b/src/v2/Artsy/Analytics/__tests__/trackingMiddleware.jest.ts index ba880e513a2..3385967fbab 100644 --- a/src/v2/Artsy/Analytics/__tests__/trackingMiddleware.jest.ts +++ b/src/v2/Artsy/Analytics/__tests__/trackingMiddleware.jest.ts @@ -1,4 +1,4 @@ -import ActionTypes from "farce/lib/ActionTypes" +import { ActionTypes } from "farce" import { trackingMiddleware } from "../trackingMiddleware" declare const global: any diff --git a/src/v2/Artsy/Analytics/trackingMiddleware.ts b/src/v2/Artsy/Analytics/trackingMiddleware.ts index 4ab50c45484..dd0a8141440 100644 --- a/src/v2/Artsy/Analytics/trackingMiddleware.ts +++ b/src/v2/Artsy/Analytics/trackingMiddleware.ts @@ -1,5 +1,5 @@ // import { trackExperimentViewed } from "v2/Artsy/Analytics/trackExperimentViewed" -import ActionTypes from "farce/lib/ActionTypes" +import { ActionTypes } from "farce" import { data as sd } from "sharify" import { get } from "v2/Utils/get" import { match } from "path-to-regexp" diff --git a/src/v2/Artsy/Relay/createRelaySSREnvironment.ts b/src/v2/Artsy/Relay/createRelaySSREnvironment.ts index 7b6e4c0b75f..94cd861d3e8 100644 --- a/src/v2/Artsy/Relay/createRelaySSREnvironment.ts +++ b/src/v2/Artsy/Relay/createRelaySSREnvironment.ts @@ -2,8 +2,8 @@ import "isomorphic-fetch" import "regenerator-runtime/runtime" import { isEmpty } from "lodash" -import RelayClientSSR from "react-relay-network-modern-ssr/node8/client" -import RelayServerSSR from "react-relay-network-modern-ssr/node8/server" +import RelayClientSSR from "react-relay-network-modern-ssr/lib/client" +import RelayServerSSR from "react-relay-network-modern-ssr/lib/server" import { Environment, INetwork, RecordSource, Store } from "relay-runtime" import { data as sd } from "sharify" diff --git a/src/v2/Artsy/Router/PageLoader.tsx b/src/v2/Artsy/Router/PageLoader.tsx index 6b310a30d55..3492f1b458f 100644 --- a/src/v2/Artsy/Router/PageLoader.tsx +++ b/src/v2/Artsy/Router/PageLoader.tsx @@ -1,6 +1,6 @@ import { Box, ProgressBar } from "@artsy/palette" import { random } from "lodash" -import React, { CSSProperties } from "react" +import React from "react" import { Spring } from "react-spring/renderprops.cjs" interface PageLoaderProps { @@ -9,7 +9,7 @@ interface PageLoaderProps { percentComplete?: number showBackground?: boolean step?: number - style?: CSSProperties + style?: any // FIXME: any } interface PageLoaderState { diff --git a/src/v2/Artsy/Router/RenderStatus.tsx b/src/v2/Artsy/Router/RenderStatus.tsx index ae1743de93f..d8860136271 100644 --- a/src/v2/Artsy/Router/RenderStatus.tsx +++ b/src/v2/Artsy/Router/RenderStatus.tsx @@ -4,7 +4,7 @@ import StaticContainer from "react-static-container" import { Box } from "@artsy/palette" import { useSystemContext } from "v2/Artsy" import { ErrorPage } from "v2/Components/ErrorPage" -import ElementsRenderer from "found/lib/ElementsRenderer" +import ElementsRenderer from "found/ElementsRenderer" import { data as sd } from "sharify" import createLogger from "v2/Utils/logger" import { NetworkTimeout } from "./NetworkTimeout" diff --git a/src/v2/Artsy/Router/Route.tsx b/src/v2/Artsy/Router/Route.tsx index b615cf98dd5..00b2e32f715 100644 --- a/src/v2/Artsy/Router/Route.tsx +++ b/src/v2/Artsy/Router/Route.tsx @@ -5,7 +5,7 @@ import { RouteSpinner } from "v2/Artsy/Relay/renderWithLoadProgress" import { HttpError } from "found" -import BaseRoute from "found/lib/Route" +import BaseRoute from "found/Route" import React from "react" type FetchIndicator = "spinner" | "overlay" diff --git a/src/v2/Artsy/Router/__tests__/buildServerApp.jest.tsx b/src/v2/Artsy/Router/__tests__/buildServerApp.jest.tsx index 9b312f5ec2e..750eb0387d6 100644 --- a/src/v2/Artsy/Router/__tests__/buildServerApp.jest.tsx +++ b/src/v2/Artsy/Router/__tests__/buildServerApp.jest.tsx @@ -6,7 +6,7 @@ import { SystemContextConsumer } from "v2/Artsy" import { createRelaySSREnvironment } from "v2/Artsy/Relay/createRelaySSREnvironment" import { ServerRouterConfig, - __THOU_SHALT_NOT_FAFF_AROUND_WITH_THIS_HERE_OBJECT_WE_ARE_SERIOUS__, + __TEST_INTERNAL_SERVER_APP__, buildServerApp, } from "v2/Artsy/Router/buildServerApp" import { createMockNetworkLayer } from "v2/DevTools" @@ -19,6 +19,10 @@ import { Media } from "v2/Utils/Responsive" jest.unmock("react-relay") +// FIXME: Not sure why this fails test since all code here is server-side. Need +// to investigate where this dep intersects +jest.mock("found-scroll", () => {}) + jest.mock("@loadable/server", () => ({ ChunkExtractor: class { collectChunks = x => x @@ -62,7 +66,7 @@ describe("buildServerApp", () => { }) const ServerApp = Object.getOwnPropertyDescriptor( result, - __THOU_SHALT_NOT_FAFF_AROUND_WITH_THIS_HERE_OBJECT_WE_ARE_SERIOUS__ + __TEST_INTERNAL_SERVER_APP__ ).value return { ...result, diff --git a/src/v2/Artsy/Router/buildClientApp.tsx b/src/v2/Artsy/Router/buildClientApp.tsx index 966106c27a7..d518947fd98 100644 --- a/src/v2/Artsy/Router/buildClientApp.tsx +++ b/src/v2/Artsy/Router/buildClientApp.tsx @@ -2,13 +2,16 @@ import React, { ComponentType } from "react" import { Resolver } from "found-relay" import { ScrollManager } from "found-scroll" -import createInitialFarceRouter from "found/lib/createInitialFarceRouter" -import createRender from "found/lib/createRender" +import createInitialFarceRouter from "found/createInitialFarceRouter" +import createRender from "found/createRender" + +import { + BrowserProtocol, + HashProtocol, + MemoryProtocol, + createQueryMiddleware, +} from "farce" -import BrowserProtocol from "farce/lib/BrowserProtocol" -import createQueryMiddleware from "farce/lib/createQueryMiddleware" -import HashProtocol from "farce/lib/HashProtocol" -import MemoryProtocol from "farce/lib/MemoryProtocol" import qs from "qs" import createLogger from "v2/Utils/logger" diff --git a/src/v2/Artsy/Router/buildServerApp.tsx b/src/v2/Artsy/Router/buildServerApp.tsx index 7e31facf2bd..fb5ee4de7bb 100644 --- a/src/v2/Artsy/Router/buildServerApp.tsx +++ b/src/v2/Artsy/Router/buildServerApp.tsx @@ -5,15 +5,15 @@ import serialize from "serialize-javascript" import { ServerStyleSheet } from "styled-components" import { Resolver } from "found-relay" -import createRender from "found/lib/createRender" +import createRender from "found/createRender" import { FarceElementResult, FarceRedirectResult, getFarceResult, -} from "found/lib/server" +} from "found/server" import qs from "qs" -import createQueryMiddleware from "farce/lib/createQueryMiddleware" +import { createQueryMiddleware } from "farce" import { createRelaySSREnvironment } from "v2/Artsy/Relay/createRelaySSREnvironment" import { Boot } from "v2/Artsy/Router/Boot" @@ -31,6 +31,7 @@ import { queryStringParsing } from "./Utils/queryStringParsing" import { ChunkExtractor } from "@loadable/server" import { getENV } from "v2/Utils/getENV" import { PermanentRedirectException } from "v2/Artsy/Router/PermanentRedirectException" +import RelayServerSSR from "react-relay-network-modern-ssr/lib/server" export interface ServerAppResolve { bodyHTML?: string @@ -203,7 +204,7 @@ export function buildServerApp( // extractor.getLinkTags() // Get serializable Relay data for rehydration on the client - const _relayData = await relayEnvironment.relaySSRMiddleware.getCache() + const _relayData = await (relayEnvironment.relaySSRMiddleware as RelayServerSSR).getCache() // Extract CSS styleTags to inject for SSR pass const styleTags = sheet.getStyleTags() @@ -230,7 +231,8 @@ export function buildServerApp( if (typeof jest !== "undefined") { Object.defineProperty( result, - __THOU_SHALT_NOT_FAFF_AROUND_WITH_THIS_HERE_OBJECT_WE_ARE_SERIOUS__, + + __TEST_INTERNAL_SERVER_APP__, { value: ServerApp } ) } @@ -250,7 +252,7 @@ export function buildServerApp( }) } -export const __THOU_SHALT_NOT_FAFF_AROUND_WITH_THIS_HERE_OBJECT_WE_ARE_SERIOUS__ = +export const __TEST_INTERNAL_SERVER_APP__ = typeof jest !== "undefined" ? Symbol() : null function isRedirect( diff --git a/src/v2/Artsy/Router/index.ts b/src/v2/Artsy/Router/index.ts index 7022cd3fbc5..be1673dc9d4 100644 --- a/src/v2/Artsy/Router/index.ts +++ b/src/v2/Artsy/Router/index.ts @@ -1,6 +1,5 @@ import { RelaySSREnvironment } from "v2/Artsy/Relay/createRelaySSREnvironment" -import { HistoryOptions, HistoryProtocol } from "farce" -import { RouteConfig } from "found" +import { FarceCreateRouterArgs, RouteConfig } from "found" import { SystemContextProps } from "../SystemContext" export { Link } from "found" @@ -23,9 +22,9 @@ export interface RouterConfig { /** * Defines the type of history to use, depending on router environment. */ - protocol?: HistoryProtocol + protocol?: "browser" | "hash" | "memory" - options?: HistoryOptions + options?: FarceCreateRouterArgs["historyOptions"] } /** diff --git a/src/v2/Components/Carousel.tsx b/src/v2/Components/Carousel.tsx index 2a332addd3b..145053b94c9 100644 --- a/src/v2/Components/Carousel.tsx +++ b/src/v2/Components/Carousel.tsx @@ -449,6 +449,7 @@ const FlickityCarousel = styled.div<{ ` const CarouselContainer = styled(Box)<{ + height: any isMounted: boolean }>` width: 100%; @@ -494,7 +495,9 @@ const CarouselContainer = styled(Box)<{ }}; ` -export const ArrowButton = styled(Flex)` +export const ArrowButton: typeof Flex = styled(Flex)< + LeftProps & RightProps & HeightProps +>` position: relative; cursor: pointer; display: flex; diff --git a/src/v2/Components/Menu/Menu.tsx b/src/v2/Components/Menu/Menu.tsx index f5740a6cd02..ecdf2a5eec1 100644 --- a/src/v2/Components/Menu/Menu.tsx +++ b/src/v2/Components/Menu/Menu.tsx @@ -8,7 +8,7 @@ const Container = styled(BorderBox)` export type MenuProps = BorderBoxProps & { title?: string - onClick?: (event: React.MouseEvent) => void + onClick?: (event) => void } export const Menu: React.FC = ({ children, title, ...rest }) => { diff --git a/src/v2/Components/NavBar/Menus/MobileNavMenu/MobileLink.tsx b/src/v2/Components/NavBar/Menus/MobileNavMenu/MobileLink.tsx index b40cf57b0ff..2c25667c93a 100644 --- a/src/v2/Components/NavBar/Menus/MobileNavMenu/MobileLink.tsx +++ b/src/v2/Components/NavBar/Menus/MobileNavMenu/MobileLink.tsx @@ -9,7 +9,7 @@ interface MobileLinkProps { contextModule?: any children: React.ReactNode href?: string - onClick?: (event?: React.MouseEvent) => void + onClick?: (event?) => void } export const MobileLink: React.FC = ({ @@ -48,8 +48,8 @@ export const MobileLink: React.FC = ({ { - onClick && onClick(evt) + onClick={event => { + onClick && onClick(event) handleClickTracking(href) }} > diff --git a/src/v2/DevTools/MockRouter.tsx b/src/v2/DevTools/MockRouter.tsx index bd253c5bcb4..49082b80cdc 100644 --- a/src/v2/DevTools/MockRouter.tsx +++ b/src/v2/DevTools/MockRouter.tsx @@ -4,8 +4,7 @@ import { createMockNetworkLayer, createMockNetworkLayer2, } from "v2/DevTools/createMockNetworkLayer" -import { HistoryOptions } from "farce" -import { RouteConfig } from "found" +import { FarceCreateRouterArgs, RouteConfig } from "found" import { IMocks } from "graphql-tools/dist/Interfaces" import React from "react" import { getUser } from "v2/Utils/user" @@ -14,7 +13,7 @@ interface Props { routes: RouteConfig[] initialRoute?: string initialState?: object - historyOptions?: HistoryOptions + historyOptions?: FarceCreateRouterArgs["historyOptions"] mockResolvers?: IMocks mockData?: object mockMutationResults?: object @@ -47,8 +46,8 @@ export class MockRouter extends React.Component { const relayEnvironment = mockResolvers ? createMockNetworkLayer(mockResolvers) : mockData || mockMutationResults - ? createMockNetworkLayer2({ mockData, mockMutationResults }) - : undefined + ? createMockNetworkLayer2({ mockData, mockMutationResults }) + : undefined const { ClientApp } = await buildClientApp({ routes, diff --git a/src/v2/__generated__/AcceptOfferMutation.graphql.ts b/src/v2/__generated__/AcceptOfferMutation.graphql.ts index 229d92aca79..63c56c42b4a 100644 --- a/src/v2/__generated__/AcceptOfferMutation.graphql.ts +++ b/src/v2/__generated__/AcceptOfferMutation.graphql.ts @@ -1,10 +1,11 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CommerceOrderParticipantEnum = "BUYER" | "SELLER" | "%future added value"; export type CommerceBuyerAcceptOfferInput = { - readonly clientMutationId?: string | null; - readonly offerId: string; + clientMutationId?: string | null; + offerId: string; }; export type AcceptOfferMutationVariables = { input: CommerceBuyerAcceptOfferInput; @@ -65,10 +66,10 @@ mutation AcceptOfferMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CommerceBuyerAcceptOfferInput!", - "defaultValue": null + "type": "CommerceBuyerAcceptOfferInput!" } ], v1 = [ @@ -79,189 +80,189 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "awaitingResponseFrom", "args": null, + "kind": "ScalarField", + "name": "awaitingResponseFrom", "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" }, v5 = { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "error", - "storageKey": null, "args": null, "concreteType": "CommerceApplicationError", + "kind": "LinkedField", + "name": "error", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "data", "args": null, + "kind": "ScalarField", + "name": "data", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationFailure" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "AcceptOfferMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "AcceptOfferMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceBuyerAcceptOffer", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceBuyerAcceptOfferPayload", + "kind": "LinkedField", + "name": "commerceBuyerAcceptOffer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "AcceptOfferMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceBuyerAcceptOffer", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceBuyerAcceptOfferPayload", + "kind": "LinkedField", + "name": "commerceBuyerAcceptOffer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ (v2/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "AcceptOfferMutation", "id": null, - "text": "mutation AcceptOfferMutation(\n $input: CommerceBuyerAcceptOfferInput!\n) {\n commerceBuyerAcceptOffer(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n __typename\n order {\n __typename\n internalID\n ... on CommerceOfferOrder {\n awaitingResponseFrom\n }\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "AcceptOfferMutation", + "operationKind": "mutation", + "text": "mutation AcceptOfferMutation(\n $input: CommerceBuyerAcceptOfferInput!\n) {\n commerceBuyerAcceptOffer(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n __typename\n order {\n __typename\n internalID\n ... on CommerceOfferOrder {\n awaitingResponseFrom\n }\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/AcceptTestQuery.graphql.ts b/src/v2/__generated__/AcceptTestQuery.graphql.ts index 83cf0fce453..dbe1cacd704 100644 --- a/src/v2/__generated__/AcceptTestQuery.graphql.ts +++ b/src/v2/__generated__/AcceptTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -349,31 +350,31 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v5 = [ @@ -384,224 +385,215 @@ v5 = [ } ], v6 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, v16 = { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "AcceptTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "AcceptTestQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Accept_order", - "args": null + "name": "Accept_order" } - ] + ], + "storageKey": "commerceOrder(id:\"\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "AcceptTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": null, + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -610,34 +602,42 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, (v6/*: any*/), @@ -645,175 +645,173 @@ return { (v8/*: any*/), (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v10/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v4/*: any*/), (v3/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v11/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v4/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null } - ] + ], + "type": "CommerceShip" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, (v3/*: any*/), @@ -827,15 +825,15 @@ return { (v14/*: any*/), (v15/*: any*/), (v16/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v1/*: any*/), @@ -850,20 +848,23 @@ return { (v15/*: any*/), (v16/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": "commerceOrder(id:\"\")" } ] }, "params": { - "operationKind": "query", - "name": "AcceptTestQuery", "id": null, - "text": "query AcceptTestQuery {\n order: commerceOrder(id: \"\") {\n __typename\n ...Accept_order\n id\n }\n}\n\nfragment Accept_order on CommerceOrder {\n internalID\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n artists {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "AcceptTestQuery", + "operationKind": "query", + "text": "query AcceptTestQuery {\n order: commerceOrder(id: \"\") {\n __typename\n ...Accept_order\n id\n }\n}\n\nfragment Accept_order on CommerceOrder {\n internalID\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n artists {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Accept_order.graphql.ts b/src/v2/__generated__/Accept_order.graphql.ts index 621da45e0da..2efed0ca7de 100644 --- a/src/v2/__generated__/Accept_order.graphql.ts +++ b/src/v2/__generated__/Accept_order.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -34,137 +35,137 @@ export type Accept_order$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Accept_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "Accept_order", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": null, + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" }, { + "args": null, "kind": "FragmentSpread", - "name": "TransactionDetailsSummaryItem_order", - "args": null + "name": "TransactionDetailsSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSummaryItem_order", - "args": null + "name": "ArtworkSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "ShippingSummaryItem_order", - "args": null + "name": "ShippingSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "CreditCardSummaryItem_order", - "args": null + "name": "CreditCardSummaryItem_order" } - ] + ], + "type": "CommerceOrder" }; })(); (node as any).hash = '91654c3e6d9f31a894287e9684b81500'; diff --git a/src/v2/__generated__/AppSecondFactorStorySuccessQuery.graphql.ts b/src/v2/__generated__/AppSecondFactorStorySuccessQuery.graphql.ts index 55f16eef7dd..08b05506e79 100644 --- a/src/v2/__generated__/AppSecondFactorStorySuccessQuery.graphql.ts +++ b/src/v2/__generated__/AppSecondFactorStorySuccessQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -38,65 +39,61 @@ fragment AppSecondFactor_me on Me { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "AppSecondFactorStorySuccessQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "AppSecondFactorStorySuccessQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "AppSecondFactor_me", - "args": null + "name": "AppSecondFactor_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "AppSecondFactorStorySuccessQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasSecondFactorEnabled", "args": null, + "kind": "ScalarField", + "name": "hasSecondFactorEnabled", "storageKey": null }, { - "kind": "LinkedField", "alias": "appSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"app\"])", "args": [ { "kind": "Literal", @@ -107,49 +104,53 @@ return { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ (v0/*: any*/), { "kind": "InlineFragment", - "type": "AppSecondFactor", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "type": "AppSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"app\"])" }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "AppSecondFactorStorySuccessQuery", "id": null, - "text": "query AppSecondFactorStorySuccessQuery {\n me {\n ...AppSecondFactor_me\n id\n }\n}\n\nfragment AppSecondFactor_me on Me {\n hasSecondFactorEnabled\n appSecondFactors: secondFactors(kinds: [app]) {\n __typename\n ... on AppSecondFactor {\n __typename\n internalID\n name\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "AppSecondFactorStorySuccessQuery", + "operationKind": "query", + "text": "query AppSecondFactorStorySuccessQuery {\n me {\n ...AppSecondFactor_me\n id\n }\n}\n\nfragment AppSecondFactor_me on Me {\n hasSecondFactorEnabled\n appSecondFactors: secondFactors(kinds: [app]) {\n __typename\n ... on AppSecondFactor {\n __typename\n internalID\n name\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/AppSecondFactor_me.graphql.ts b/src/v2/__generated__/AppSecondFactor_me.graphql.ts index e41df713202..01f624fd8c5 100644 --- a/src/v2/__generated__/AppSecondFactor_me.graphql.ts +++ b/src/v2/__generated__/AppSecondFactor_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -24,24 +25,20 @@ export type AppSecondFactor_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "AppSecondFactor_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "AppSecondFactor_me", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasSecondFactorEnabled", "args": null, + "kind": "ScalarField", + "name": "hasSecondFactorEnabled", "storageKey": null }, { - "kind": "LinkedField", "alias": "appSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"app\"])", "args": [ { "kind": "Literal", @@ -52,38 +49,42 @@ const node: ReaderFragment = { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ { "kind": "InlineFragment", - "type": "AppSecondFactor", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "type": "AppSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"app\"])" } - ] + ], + "type": "Me" }; (node as any).hash = '5c098681fc3af26acb2b13dab1368da3'; export default node; diff --git a/src/v2/__generated__/Articles_Test_Query.graphql.ts b/src/v2/__generated__/Articles_Test_Query.graphql.ts index ef5cde1ca1a..9ab1a6ce3df 100644 --- a/src/v2/__generated__/Articles_Test_Query.graphql.ts +++ b/src/v2/__generated__/Articles_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -138,10 +139,10 @@ fragment Pagination_pageCursors on PageCursors { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -152,90 +153,86 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v4 = [ (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ], v5 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "Articles_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "Articles_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Articles_artist", - "args": null + "name": "Articles_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "Articles_Test_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "articlesConnection", - "storageKey": "articlesConnection(first:10,inEditorialFeed:true,sort:\"PUBLISHED_AT_DESC\")", "args": [ { "kind": "Literal", @@ -254,142 +251,140 @@ return { } ], "concreteType": "ArticleConnection", + "kind": "LinkedField", + "name": "articlesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArticleEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Article", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": "thumbnail_title", - "name": "thumbnailTitle", "args": null, + "kind": "ScalarField", + "name": "thumbnailTitle", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "author", - "storageKey": null, "args": null, "concreteType": "Author", + "kind": "LinkedField", + "name": "author", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "published_at", - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -397,22 +392,20 @@ return { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM Do, YYYY\")" }, { - "kind": "LinkedField", "alias": "thumbnail_image", - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:300)", "args": [ { "kind": "Literal", @@ -421,37 +414,45 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:300)" } - ] + ], + "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "articlesConnection(first:10,inEditorialFeed:true,sort:\"PUBLISHED_AT_DESC\")" }, (v5/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "Articles_Test_Query", "id": null, - "text": "query Articles_Test_Query(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...Articles_artist\n id\n }\n}\n\nfragment Articles_artist on Artist {\n ...ArtistArticles_artist\n}\n\nfragment ArtistArticles_artist on Artist {\n slug\n articlesConnection(first: 10, sort: PUBLISHED_AT_DESC, inEditorialFeed: true) {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n href\n thumbnail_title: thumbnailTitle\n author {\n name\n id\n }\n published_at: publishedAt(format: \"MMM Do, YYYY\")\n thumbnail_image: thumbnailImage {\n resized(width: 300) {\n url\n }\n }\n id\n }\n }\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", - "metadata": {} + "metadata": {}, + "name": "Articles_Test_Query", + "operationKind": "query", + "text": "query Articles_Test_Query(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...Articles_artist\n id\n }\n}\n\nfragment Articles_artist on Artist {\n ...ArtistArticles_artist\n}\n\nfragment ArtistArticles_artist on Artist {\n slug\n articlesConnection(first: 10, sort: PUBLISHED_AT_DESC, inEditorialFeed: true) {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n href\n thumbnail_title: thumbnailTitle\n author {\n name\n id\n }\n published_at: publishedAt(format: \"MMM Do, YYYY\")\n thumbnail_image: thumbnailImage {\n resized(width: 300) {\n url\n }\n }\n id\n }\n }\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" } }; })(); diff --git a/src/v2/__generated__/Articles_artist.graphql.ts b/src/v2/__generated__/Articles_artist.graphql.ts index fe1fb882f16..c2fb94a5807 100644 --- a/src/v2/__generated__/Articles_artist.graphql.ts +++ b/src/v2/__generated__/Articles_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,18 +16,18 @@ export type Articles_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Articles_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "Articles_artist", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistArticles_artist", - "args": null + "name": "ArtistArticles_artist" } - ] + ], + "type": "Artist" }; (node as any).hash = '98d755e5b63a5214bafae8262897cdab'; export default node; diff --git a/src/v2/__generated__/ArtistApp_artist.graphql.ts b/src/v2/__generated__/ArtistApp_artist.graphql.ts index 4f652caab8f..a743836f923 100644 --- a/src/v2/__generated__/ArtistApp_artist.graphql.ts +++ b/src/v2/__generated__/ArtistApp_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -18,49 +19,49 @@ export type ArtistApp_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistApp_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistApp_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistMeta_artist", - "args": null + "name": "ArtistMeta_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistHeader_artist", - "args": null + "name": "ArtistHeader_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "NavigationTabs_artist", - "args": null + "name": "NavigationTabs_artist" } - ] + ], + "type": "Artist" }; (node as any).hash = '8804872230d49a56826f305d90d76385'; export default node; diff --git a/src/v2/__generated__/ArtistArticlesQuery.graphql.ts b/src/v2/__generated__/ArtistArticlesQuery.graphql.ts index f3e82c5186b..42f95c2717d 100644 --- a/src/v2/__generated__/ArtistArticlesQuery.graphql.ts +++ b/src/v2/__generated__/ArtistArticlesQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -91,34 +92,34 @@ fragment Pagination_pageCursors on PageCursors { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "first", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "last", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "before", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -149,95 +150,91 @@ v5 = { "variableName": "last" }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v8 = [ (v6/*: any*/), (v7/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ], v9 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistArticlesQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtistArticlesQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "ArtistArticles_artist", "args": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/), (v5/*: any*/) - ] + ], + "kind": "FragmentSpread", + "name": "ArtistArticles_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistArticlesQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "articlesConnection", - "storageKey": null, "args": [ (v2/*: any*/), (v3/*: any*/), @@ -255,142 +252,140 @@ return { } ], "concreteType": "ArticleConnection", + "kind": "LinkedField", + "name": "articlesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v6/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArticleEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Article", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": "thumbnail_title", - "name": "thumbnailTitle", "args": null, + "kind": "ScalarField", + "name": "thumbnailTitle", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "author", - "storageKey": null, "args": null, "concreteType": "Author", + "kind": "LinkedField", + "name": "author", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v9/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "published_at", - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -398,22 +393,20 @@ return { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM Do, YYYY\")" }, { - "kind": "LinkedField", "alias": "thumbnail_image", - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:300)", "args": [ { "kind": "Literal", @@ -422,37 +415,45 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:300)" } - ] + ], + "storageKey": null }, (v9/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v9/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtistArticlesQuery", "id": null, - "text": "query ArtistArticlesQuery(\n $first: Int\n $last: Int\n $after: String\n $before: String\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...ArtistArticles_artist_pbnwq\n id\n }\n}\n\nfragment ArtistArticles_artist_pbnwq on Artist {\n slug\n articlesConnection(first: $first, after: $after, before: $before, last: $last, sort: PUBLISHED_AT_DESC, inEditorialFeed: true) {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n href\n thumbnail_title: thumbnailTitle\n author {\n name\n id\n }\n published_at: publishedAt(format: \"MMM Do, YYYY\")\n thumbnail_image: thumbnailImage {\n resized(width: 300) {\n url\n }\n }\n id\n }\n }\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", - "metadata": {} + "metadata": {}, + "name": "ArtistArticlesQuery", + "operationKind": "query", + "text": "query ArtistArticlesQuery(\n $first: Int\n $last: Int\n $after: String\n $before: String\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...ArtistArticles_artist_pbnwq\n id\n }\n}\n\nfragment ArtistArticles_artist_pbnwq on Artist {\n slug\n articlesConnection(first: $first, after: $after, before: $before, last: $last, sort: PUBLISHED_AT_DESC, inEditorialFeed: true) {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n href\n thumbnail_title: thumbnailTitle\n author {\n name\n id\n }\n published_at: publishedAt(format: \"MMM Do, YYYY\")\n thumbnail_image: thumbnailImage {\n resized(width: 300) {\n url\n }\n }\n id\n }\n }\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" } }; })(); diff --git a/src/v2/__generated__/ArtistArticles_artist.graphql.ts b/src/v2/__generated__/ArtistArticles_artist.graphql.ts index 318777efffe..062374ac9ba 100644 --- a/src/v2/__generated__/ArtistArticles_artist.graphql.ts +++ b/src/v2/__generated__/ArtistArticles_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -39,49 +40,45 @@ export type ArtistArticles_artist$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "ArtistArticles_artist", - "type": "Artist", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": 10, "kind": "LocalArgument", "name": "first", - "type": "Int", - "defaultValue": 10 + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "last", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "before", - "type": "String", - "defaultValue": null + "type": "String" } ], + "kind": "Fragment", + "metadata": null, + "name": "ArtistArticles_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "articlesConnection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -115,103 +112,101 @@ const node: ReaderFragment = { } ], "concreteType": "ArticleConnection", + "kind": "LinkedField", + "name": "articlesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Pagination_pageCursors", - "args": null + "name": "Pagination_pageCursors" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArticleEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Article", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": "thumbnail_title", - "name": "thumbnailTitle", "args": null, + "kind": "ScalarField", + "name": "thumbnailTitle", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "author", - "storageKey": null, "args": null, "concreteType": "Author", + "kind": "LinkedField", + "name": "author", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "published_at", - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -219,22 +214,20 @@ const node: ReaderFragment = { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM Do, YYYY\")" }, { - "kind": "LinkedField", "alias": "thumbnail_image", - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:300)", "args": [ { "kind": "Literal", @@ -243,26 +236,34 @@ const node: ReaderFragment = { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:300)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = '7f0e34e1adeff84958977955f2073aa5'; export default node; diff --git a/src/v2/__generated__/ArtistArtworkFilterQuery.graphql.ts b/src/v2/__generated__/ArtistArtworkFilterQuery.graphql.ts index 960c712f249..d5f249d2ceb 100644 --- a/src/v2/__generated__/ArtistArtworkFilterQuery.graphql.ts +++ b/src/v2/__generated__/ArtistArtworkFilterQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -6,22 +7,22 @@ export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS export type ArtworkSizes = "LARGE" | "MEDIUM" | "SMALL" | "%future added value"; export type ArtistArtworkFilterQueryVariables = { acquireable?: boolean | null; - aggregations?: ReadonlyArray | null; + aggregations?: Array | null; artistID: string; atAuction?: boolean | null; - attributionClass?: ReadonlyArray | null; + attributionClass?: Array | null; color?: string | null; forSale?: boolean | null; height?: string | null; inquireableOnly?: boolean | null; keyword?: string | null; - majorPeriods?: ReadonlyArray | null; + majorPeriods?: Array | null; medium?: string | null; offerable?: boolean | null; page?: number | null; partnerID?: string | null; priceRange?: string | null; - sizes?: ReadonlyArray | null; + sizes?: Array | null; sort?: string | null; width?: string | null; }; @@ -256,124 +257,124 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "acquireable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { - "kind": "LocalArgument", - "name": "aggregations", - "type": "[ArtworkAggregation]", "defaultValue": [ "MEDIUM", "TOTAL", "GALLERY", "INSTITUTION", "MAJOR_PERIOD" - ] + ], + "kind": "LocalArgument", + "name": "aggregations", + "type": "[ArtworkAggregation]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "atAuction", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "attributionClass", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "color", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "height", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "inquireableOnly", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "keyword", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "majorPeriods", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "offerable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "partnerID", - "type": "ID", - "defaultValue": null + "type": "ID" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sizes", - "type": "[ArtworkSizes]", - "defaultValue": null + "type": "[ArtworkSizes]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "width", - "type": "String", - "defaultValue": null + "type": "String" } ], v1 = [ @@ -479,63 +480,63 @@ v20 = { "variableName": "width" }, v21 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v22 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v23 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v24 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v25 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v26 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v27 = [ (v25/*: any*/), (v26/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ], v28 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v29 = [ @@ -547,34 +548,29 @@ v29 = [ ], v30 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistArtworkFilterQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtistArtworkFilterQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "ArtistArtworkFilter_artist", "args": [ (v2/*: any*/), (v3/*: any*/), @@ -595,93 +591,94 @@ return { (v18/*: any*/), (v19/*: any*/), (v20/*: any*/) - ] + ], + "kind": "FragmentSpread", + "name": "ArtistArtworkFilter_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistArtworkFilterQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "partner_shows", - "name": "partnerShows", "args": null, + "kind": "ScalarField", + "name": "partnerShows", "storageKey": null }, { - "kind": "ScalarField", "alias": "for_sale_artworks", - "name": "forSaleArtworks", "args": null, + "kind": "ScalarField", + "name": "forSaleArtworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "ecommerce_artworks", - "name": "ecommerceArtworks", "args": null, + "kind": "ScalarField", + "name": "ecommerceArtworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "auction_artworks", - "name": "auctionArtworks", "args": null, + "kind": "ScalarField", + "name": "auctionArtworks", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artworks", "args": null, + "kind": "ScalarField", + "name": "artworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "has_make_offer_artworks", - "name": "hasMakeOfferArtworks", "args": null, + "kind": "ScalarField", + "name": "hasMakeOfferArtworks", "storageKey": null } - ] + ], + "storageKey": null }, (v21/*: any*/), (v22/*: any*/), { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "filterArtworksConnection", - "storageKey": null, "args": [ (v2/*: any*/), { @@ -714,148 +711,148 @@ return { (v20/*: any*/) ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ (v23/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, (v24/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v25/*: any*/), (v26/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v23/*: any*/), @@ -863,32 +860,29 @@ return { (v28/*: any*/), (v22/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -896,230 +890,237 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v29/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v23/*: any*/), (v28/*: any*/), (v24/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v29/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v24/*: any*/), (v28/*: any*/), (v23/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v23/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v30/*: any*/) + "selections": (v30/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v30/*: any*/) + "selections": (v30/*: any*/), + "storageKey": null }, (v23/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v23/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v23/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtistArtworkFilterQuery", "id": null, - "text": "query ArtistArtworkFilterQuery(\n $acquireable: Boolean\n $aggregations: [ArtworkAggregation] = [MEDIUM, TOTAL, GALLERY, INSTITUTION, MAJOR_PERIOD]\n $artistID: String!\n $atAuction: Boolean\n $attributionClass: [String]\n $color: String\n $forSale: Boolean\n $height: String\n $inquireableOnly: Boolean\n $keyword: String\n $majorPeriods: [String]\n $medium: String\n $offerable: Boolean\n $page: Int\n $partnerID: ID\n $priceRange: String\n $sizes: [ArtworkSizes]\n $sort: String\n $width: String\n) {\n artist(id: $artistID) {\n ...ArtistArtworkFilter_artist_2TJyna\n id\n }\n}\n\nfragment ArtistArtworkFilter_artist_2TJyna on Artist {\n is_followed: isFollowed\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 slug\n internalID\n filtered_artworks: filterArtworksConnection(acquireable: $acquireable, aggregations: $aggregations, artistID: $artistID, atAuction: $atAuction, attributionClass: $attributionClass, color: $color, forSale: $forSale, height: $height, inquireableOnly: $inquireableOnly, keyword: $keyword, majorPeriods: $majorPeriods, medium: $medium, offerable: $offerable, page: $page, partnerID: $partnerID, priceRange: $priceRange, sizes: $sizes, first: 30, after: \"\", sort: $sort, width: $width) {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistArtworkFilterQuery", + "operationKind": "query", + "text": "query ArtistArtworkFilterQuery(\n $acquireable: Boolean\n $aggregations: [ArtworkAggregation] = [MEDIUM, TOTAL, GALLERY, INSTITUTION, MAJOR_PERIOD]\n $artistID: String!\n $atAuction: Boolean\n $attributionClass: [String]\n $color: String\n $forSale: Boolean\n $height: String\n $inquireableOnly: Boolean\n $keyword: String\n $majorPeriods: [String]\n $medium: String\n $offerable: Boolean\n $page: Int\n $partnerID: ID\n $priceRange: String\n $sizes: [ArtworkSizes]\n $sort: String\n $width: String\n) {\n artist(id: $artistID) {\n ...ArtistArtworkFilter_artist_2TJyna\n id\n }\n}\n\nfragment ArtistArtworkFilter_artist_2TJyna on Artist {\n is_followed: isFollowed\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 slug\n internalID\n filtered_artworks: filterArtworksConnection(acquireable: $acquireable, aggregations: $aggregations, artistID: $artistID, atAuction: $atAuction, attributionClass: $attributionClass, color: $color, forSale: $forSale, height: $height, inquireableOnly: $inquireableOnly, keyword: $keyword, majorPeriods: $majorPeriods, medium: $medium, offerable: $offerable, page: $page, partnerID: $partnerID, priceRange: $priceRange, sizes: $sizes, first: 30, after: \"\", sort: $sort, width: $width) {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtistArtworkFilter_artist.graphql.ts b/src/v2/__generated__/ArtistArtworkFilter_artist.graphql.ts index fa59358bda8..d33a05c3826 100644 --- a/src/v2/__generated__/ArtistArtworkFilter_artist.graphql.ts +++ b/src/v2/__generated__/ArtistArtworkFilter_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -29,206 +30,202 @@ export type ArtistArtworkFilter_artist$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "ArtistArtworkFilter_artist", - "type": "Artist", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": null, "kind": "LocalArgument", "name": "acquireable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "aggregations", - "type": "[ArtworkAggregation]", - "defaultValue": null + "type": "[ArtworkAggregation]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "atAuction", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "attributionClass", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "color", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "height", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "inquireableOnly", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "keyword", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "majorPeriods", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": "*", "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": "*" + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "offerable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "partnerID", - "type": "ID", - "defaultValue": null + "type": "ID" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sizes", - "type": "[ArtworkSizes]", - "defaultValue": null + "type": "[ArtworkSizes]" }, { + "defaultValue": "-partner_updated_at", "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": "-partner_updated_at" + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "width", - "type": "String", - "defaultValue": null + "type": "String" } ], + "kind": "Fragment", + "metadata": null, + "name": "ArtistArtworkFilter_artist", "selections": [ { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "partner_shows", - "name": "partnerShows", "args": null, + "kind": "ScalarField", + "name": "partnerShows", "storageKey": null }, { - "kind": "ScalarField", "alias": "for_sale_artworks", - "name": "forSaleArtworks", "args": null, + "kind": "ScalarField", + "name": "forSaleArtworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "ecommerce_artworks", - "name": "ecommerceArtworks", "args": null, + "kind": "ScalarField", + "name": "ecommerceArtworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "auction_artworks", - "name": "auctionArtworks", "args": null, + "kind": "ScalarField", + "name": "auctionArtworks", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artworks", "args": null, + "kind": "ScalarField", + "name": "artworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "has_make_offer_artworks", - "name": "hasMakeOfferArtworks", "args": null, + "kind": "ScalarField", + "name": "hasMakeOfferArtworks", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "filterArtworksConnection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -337,23 +334,27 @@ const node: ReaderFragment = { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkFilterArtworkGrid2_filtered_artworks", - "args": null + "name": "ArtworkFilterArtworkGrid2_filtered_artworks" } - ] + ], + "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = 'caa1cb1ee80638fc72aea4d53608a99d'; export default node; diff --git a/src/v2/__generated__/ArtistAuctionResultItem_auctionResult.graphql.ts b/src/v2/__generated__/ArtistAuctionResultItem_auctionResult.graphql.ts index 37c24ad7dca..f91acf88f15 100644 --- a/src/v2/__generated__/ArtistAuctionResultItem_auctionResult.graphql.ts +++ b/src/v2/__generated__/ArtistAuctionResultItem_auctionResult.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -35,136 +36,136 @@ export type ArtistAuctionResultItem_auctionResult$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistAuctionResultItem_auctionResult", - "type": "AuctionResult", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistAuctionResultItem_auctionResult", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "dimension_text", - "name": "dimensionText", "args": null, + "kind": "ScalarField", + "name": "dimensionText", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "organization", "args": null, + "kind": "ScalarField", + "name": "organization", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "images", - "storageKey": null, "args": null, "concreteType": "AuctionLotImages", + "kind": "LinkedField", + "name": "images", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "thumbnail", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnail", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mediumText", "args": null, + "kind": "ScalarField", + "name": "mediumText", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "categoryText", "args": null, + "kind": "ScalarField", + "name": "categoryText", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, { - "kind": "ScalarField", "alias": "date_text", - "name": "dateText", "args": null, + "kind": "ScalarField", + "name": "dateText", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "saleDate", "args": null, + "kind": "ScalarField", + "name": "saleDate", "storageKey": null }, { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": "cents_usd", - "name": "centsUSD", "args": null, + "kind": "ScalarField", + "name": "centsUSD", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "estimate", - "storageKey": null, "args": null, "concreteType": "AuctionLotEstimate", + "kind": "LinkedField", + "name": "estimate", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "AuctionResult" }; })(); (node as any).hash = '3a2f0277ca44b0ac5b199a1c147fdc7f'; diff --git a/src/v2/__generated__/ArtistAuctionResultsQuery.graphql.ts b/src/v2/__generated__/ArtistAuctionResultsQuery.graphql.ts index feda4103aa7..fef141c4dbe 100644 --- a/src/v2/__generated__/ArtistAuctionResultsQuery.graphql.ts +++ b/src/v2/__generated__/ArtistAuctionResultsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -11,9 +12,9 @@ export type ArtistAuctionResultsQueryVariables = { before?: string | null; sort?: AuctionResultSorts | null; artistID: string; - organizations?: ReadonlyArray | null; - categories?: ReadonlyArray | null; - sizes?: ReadonlyArray | null; + organizations?: Array | null; + categories?: Array | null; + sizes?: Array | null; createdBeforeYear?: number | null; createdAfterYear?: number | null; allowEmptyCreatedDates?: boolean | null; @@ -144,76 +145,76 @@ fragment Pagination_pageCursors on PageCursors { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "first", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "last", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "before", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sort", - "type": "AuctionResultSorts", - "defaultValue": null + "type": "AuctionResultSorts" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "organizations", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "categories", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sizes", - "type": "[ArtworkSizes]", - "defaultValue": null + "type": "[ArtworkSizes]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "createdBeforeYear", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "createdAfterYear", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "allowEmptyCreatedDates", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" } ], v1 = [ @@ -269,65 +270,60 @@ v10 = { "variableName": "sort" }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v13 = [ (v11/*: any*/), (v12/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ], v14 = { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistAuctionResultsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtistAuctionResultsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "ArtistAuctionResults_artist", "args": [ (v2/*: any*/), (v3/*: any*/), @@ -348,45 +344,46 @@ return { (v8/*: any*/), (v9/*: any*/), (v10/*: any*/) - ] + ], + "kind": "FragmentSpread", + "name": "ArtistAuctionResults_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistAuctionResultsQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": null, "args": [ (v2/*: any*/), (v3/*: any*/), @@ -409,271 +406,275 @@ return { (v10/*: any*/) ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "createdYearRange", - "storageKey": null, "args": null, "concreteType": "YearRange", + "kind": "LinkedField", + "name": "createdYearRange", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "startAt", "args": null, + "kind": "ScalarField", + "name": "startAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endAt", "args": null, + "kind": "ScalarField", + "name": "endAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v11/*: any*/), (v12/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "dimension_text", - "name": "dimensionText", "args": null, + "kind": "ScalarField", + "name": "dimensionText", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "images", - "storageKey": null, "args": null, "concreteType": "AuctionLotImages", + "kind": "LinkedField", + "name": "images", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "thumbnail", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnail", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, { - "kind": "ScalarField", "alias": "date_text", - "name": "dateText", "args": null, + "kind": "ScalarField", + "name": "dateText", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "organization", "args": null, + "kind": "ScalarField", + "name": "organization", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mediumText", "args": null, + "kind": "ScalarField", + "name": "mediumText", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "categoryText", "args": null, + "kind": "ScalarField", + "name": "categoryText", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "saleDate", "args": null, + "kind": "ScalarField", + "name": "saleDate", "storageKey": null }, { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ (v14/*: any*/), { - "kind": "ScalarField", "alias": "cents_usd", - "name": "centsUSD", "args": null, + "kind": "ScalarField", + "name": "centsUSD", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "estimate", - "storageKey": null, "args": null, "concreteType": "AuctionLotEstimate", + "kind": "LinkedField", + "name": "estimate", "plural": false, "selections": [ (v14/*: any*/) - ] + ], + "storageKey": null }, (v15/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v15/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtistAuctionResultsQuery", "id": null, - "text": "query ArtistAuctionResultsQuery(\n $first: Int\n $last: Int\n $after: String\n $before: String\n $sort: AuctionResultSorts\n $artistID: String!\n $organizations: [String]\n $categories: [String]\n $sizes: [ArtworkSizes]\n $createdBeforeYear: Int\n $createdAfterYear: Int\n $allowEmptyCreatedDates: Boolean\n) {\n artist(id: $artistID) {\n ...ArtistAuctionResults_artist_214CZC\n id\n }\n}\n\nfragment ArtistAuctionResultItem_auctionResult on AuctionResult {\n title\n dimension_text: dimensionText\n organization\n images {\n thumbnail {\n url\n }\n }\n mediumText\n categoryText\n description\n date_text: dateText\n saleDate\n price_realized: priceRealized {\n display\n cents_usd: centsUSD\n }\n estimate {\n display\n }\n}\n\nfragment ArtistAuctionResults_artist_214CZC on Artist {\n slug\n name\n ...AuctionResultHeader_artist\n auctionResultsConnection(first: $first, after: $after, before: $before, last: $last, sort: $sort, organizations: $organizations, categories: $categories, sizes: $sizes, earliestCreatedYear: $createdAfterYear, latestCreatedYear: $createdBeforeYear, allowEmptyCreatedDates: $allowEmptyCreatedDates) {\n ...AuctionResultsCount_results\n createdYearRange {\n startAt\n endAt\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n totalCount\n edges {\n node {\n title\n dimension_text: dimensionText\n images {\n thumbnail {\n url\n }\n }\n description\n date_text: dateText\n ...ArtistAuctionResultItem_auctionResult\n id\n }\n }\n }\n}\n\nfragment AuctionResultHeader_artist on Artist {\n slug\n}\n\nfragment AuctionResultsCount_results on AuctionResultConnection {\n totalCount\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", - "metadata": {} + "metadata": {}, + "name": "ArtistAuctionResultsQuery", + "operationKind": "query", + "text": "query ArtistAuctionResultsQuery(\n $first: Int\n $last: Int\n $after: String\n $before: String\n $sort: AuctionResultSorts\n $artistID: String!\n $organizations: [String]\n $categories: [String]\n $sizes: [ArtworkSizes]\n $createdBeforeYear: Int\n $createdAfterYear: Int\n $allowEmptyCreatedDates: Boolean\n) {\n artist(id: $artistID) {\n ...ArtistAuctionResults_artist_214CZC\n id\n }\n}\n\nfragment ArtistAuctionResultItem_auctionResult on AuctionResult {\n title\n dimension_text: dimensionText\n organization\n images {\n thumbnail {\n url\n }\n }\n mediumText\n categoryText\n description\n date_text: dateText\n saleDate\n price_realized: priceRealized {\n display\n cents_usd: centsUSD\n }\n estimate {\n display\n }\n}\n\nfragment ArtistAuctionResults_artist_214CZC on Artist {\n slug\n name\n ...AuctionResultHeader_artist\n auctionResultsConnection(first: $first, after: $after, before: $before, last: $last, sort: $sort, organizations: $organizations, categories: $categories, sizes: $sizes, earliestCreatedYear: $createdAfterYear, latestCreatedYear: $createdBeforeYear, allowEmptyCreatedDates: $allowEmptyCreatedDates) {\n ...AuctionResultsCount_results\n createdYearRange {\n startAt\n endAt\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n totalCount\n edges {\n node {\n title\n dimension_text: dimensionText\n images {\n thumbnail {\n url\n }\n }\n description\n date_text: dateText\n ...ArtistAuctionResultItem_auctionResult\n id\n }\n }\n }\n}\n\nfragment AuctionResultHeader_artist on Artist {\n slug\n}\n\nfragment AuctionResultsCount_results on AuctionResultConnection {\n totalCount\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" } }; })(); diff --git a/src/v2/__generated__/ArtistAuctionResults_artist.graphql.ts b/src/v2/__generated__/ArtistAuctionResults_artist.graphql.ts index 2751da599c7..7b71bdf436e 100644 --- a/src/v2/__generated__/ArtistAuctionResults_artist.graphql.ts +++ b/src/v2/__generated__/ArtistAuctionResults_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -46,98 +47,94 @@ export type ArtistAuctionResults_artist$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "ArtistAuctionResults_artist", - "type": "Artist", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": "DATE_DESC", "kind": "LocalArgument", "name": "sort", - "type": "AuctionResultSorts", - "defaultValue": "DATE_DESC" + "type": "AuctionResultSorts" }, { + "defaultValue": 10, "kind": "LocalArgument", "name": "first", - "type": "Int", - "defaultValue": 10 + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "last", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "before", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "organizations", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "categories", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sizes", - "type": "[ArtworkSizes]", - "defaultValue": null + "type": "[ArtworkSizes]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "createdAfterYear", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "createdBeforeYear", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "allowEmptyCreatedDates", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" } ], + "kind": "Fragment", + "metadata": null, + "name": "ArtistAuctionResults_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -196,178 +193,182 @@ const node: ReaderFragment = { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createdYearRange", - "storageKey": null, "args": null, "concreteType": "YearRange", + "kind": "LinkedField", + "name": "createdYearRange", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "startAt", "args": null, + "kind": "ScalarField", + "name": "startAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endAt", "args": null, + "kind": "ScalarField", + "name": "endAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Pagination_pageCursors", - "args": null + "name": "Pagination_pageCursors" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "dimension_text", - "name": "dimensionText", "args": null, + "kind": "ScalarField", + "name": "dimensionText", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "images", - "storageKey": null, "args": null, "concreteType": "AuctionLotImages", + "kind": "LinkedField", + "name": "images", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "thumbnail", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnail", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, { - "kind": "ScalarField", "alias": "date_text", - "name": "dateText", "args": null, + "kind": "ScalarField", + "name": "dateText", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistAuctionResultItem_auctionResult", - "args": null + "name": "ArtistAuctionResultItem_auctionResult" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "AuctionResultsCount_results", - "args": null + "name": "AuctionResultsCount_results" } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "AuctionResultHeader_artist", - "args": null + "name": "AuctionResultHeader_artist" } - ] + ], + "type": "Artist" }; (node as any).hash = '5aff1d33dbcf125bff6a53cf3f8a8a6f'; export default node; diff --git a/src/v2/__generated__/ArtistBioTestQuery.graphql.ts b/src/v2/__generated__/ArtistBioTestQuery.graphql.ts index e11ba8ec5a5..89db7bbfb61 100644 --- a/src/v2/__generated__/ArtistBioTestQuery.graphql.ts +++ b/src/v2/__generated__/ArtistBioTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -48,51 +49,47 @@ var v0 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistBioTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistBioTestQuery", "selections": [ { - "kind": "LinkedField", "alias": "bio", - "name": "artist", - "storageKey": "artist(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistBio_bio", - "args": null + "name": "ArtistBio_bio" } - ] + ], + "storageKey": "artist(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtistBioTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "bio", - "name": "artist", - "storageKey": "artist(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "biographyBlurb", - "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)", "args": [ { "kind": "Literal", @@ -106,34 +103,38 @@ return { } ], "concreteType": "ArtistBlurb", + "kind": "LinkedField", + "name": "biographyBlurb", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "text", "args": null, + "kind": "ScalarField", + "name": "text", "storageKey": null } - ] + ], + "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)" }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": "artist(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtistBioTestQuery", "id": null, - "text": "query ArtistBioTestQuery {\n bio: artist(id: \"unused\") {\n ...ArtistBio_bio\n id\n }\n}\n\nfragment ArtistBio_bio on Artist {\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistBioTestQuery", + "operationKind": "query", + "text": "query ArtistBioTestQuery {\n bio: artist(id: \"unused\") {\n ...ArtistBio_bio\n id\n }\n}\n\nfragment ArtistBio_bio on Artist {\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtistBio_bio.graphql.ts b/src/v2/__generated__/ArtistBio_bio.graphql.ts index b42b4559f52..9cfd0dcb2df 100644 --- a/src/v2/__generated__/ArtistBio_bio.graphql.ts +++ b/src/v2/__generated__/ArtistBio_bio.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -17,17 +18,13 @@ export type ArtistBio_bio$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistBio_bio", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistBio_bio", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "biographyBlurb", - "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)", "args": [ { "kind": "Literal", @@ -41,18 +38,22 @@ const node: ReaderFragment = { } ], "concreteType": "ArtistBlurb", + "kind": "LinkedField", + "name": "biographyBlurb", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "text", "args": null, + "kind": "ScalarField", + "name": "text", "storageKey": null } - ] + ], + "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)" } - ] + ], + "type": "Artist" }; (node as any).hash = '8d3d6cad9783dad9b00e24bb96e77b1a'; export default node; diff --git a/src/v2/__generated__/ArtistCardStoryQuery.graphql.ts b/src/v2/__generated__/ArtistCardStoryQuery.graphql.ts index 0c771e40871..a0ea0836db5 100644 --- a/src/v2/__generated__/ArtistCardStoryQuery.graphql.ts +++ b/src/v2/__generated__/ArtistCardStoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -56,81 +57,76 @@ var v0 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistCardStoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistCardStoryQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistCard_artist", - "args": null + "name": "ArtistCard_artist" } - ] + ], + "storageKey": "artist(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtistCardStoryQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:300,width:400)", "args": [ { "kind": "Literal", @@ -144,75 +140,80 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:300,width:400)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "formatted_nationality_and_birthday", - "name": "formattedNationalityAndBirthday", "args": null, + "kind": "ScalarField", + "name": "formattedNationalityAndBirthday", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artist(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtistCardStoryQuery", "id": null, - "text": "query ArtistCardStoryQuery {\n artist(id: \"unused\") {\n ...ArtistCard_artist\n id\n }\n}\n\nfragment ArtistCard_artist on Artist {\n name\n slug\n href\n image {\n cropped(width: 400, height: 300) {\n url\n }\n }\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n ...FollowArtistButton_artist\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistCardStoryQuery", + "operationKind": "query", + "text": "query ArtistCardStoryQuery {\n artist(id: \"unused\") {\n ...ArtistCard_artist\n id\n }\n}\n\nfragment ArtistCard_artist on Artist {\n name\n slug\n href\n image {\n cropped(width: 400, height: 300) {\n url\n }\n }\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n ...FollowArtistButton_artist\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtistCard_artist.graphql.ts b/src/v2/__generated__/ArtistCard_artist.graphql.ts index 8021749970b..3eb262b3c93 100644 --- a/src/v2/__generated__/ArtistCard_artist.graphql.ts +++ b/src/v2/__generated__/ArtistCard_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -24,47 +25,42 @@ export type ArtistCard_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistCard_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistCard_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:300,width:400)", "args": [ { "kind": "Literal", @@ -78,32 +74,37 @@ const node: ReaderFragment = { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:300,width:400)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "formatted_nationality_and_birthday", - "name": "formattedNationalityAndBirthday", "args": null, + "kind": "ScalarField", + "name": "formattedNationalityAndBirthday", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "FollowArtistButton_artist", - "args": null + "name": "FollowArtistButton_artist" } - ] + ], + "type": "Artist" }; (node as any).hash = 'ecffdabd44e8c5cd2c3ffa2fe9662349'; export default node; diff --git a/src/v2/__generated__/ArtistCollectionEntity_collection.graphql.ts b/src/v2/__generated__/ArtistCollectionEntity_collection.graphql.ts index 17af07a8f29..4c7ab627b88 100644 --- a/src/v2/__generated__/ArtistCollectionEntity_collection.graphql.ts +++ b/src/v2/__generated__/ArtistCollectionEntity_collection.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -34,46 +35,42 @@ export type ArtistCollectionEntity_collection$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistCollectionEntity_collection", - "type": "MarketingCollection", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistCollectionEntity_collection", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "headerImage", "args": null, + "kind": "ScalarField", + "name": "headerImage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": "price_guidance", - "name": "priceGuidance", "args": null, + "kind": "ScalarField", + "name": "priceGuidance", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(aggregations:[\"TOTAL\"],first:3,sort:\"-decayed_merch\")", "args": [ { "kind": "Literal", @@ -94,59 +91,55 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null }, (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:262)", "args": [ { "kind": "Literal", @@ -155,26 +148,34 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:262)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(aggregations:[\"TOTAL\"],first:3,sort:\"-decayed_merch\")" } - ] + ], + "type": "MarketingCollection" }; })(); (node as any).hash = '06f7b9a47e7980055c0e2e125b084f55'; diff --git a/src/v2/__generated__/ArtistCollectionsRailQuery.graphql.ts b/src/v2/__generated__/ArtistCollectionsRailQuery.graphql.ts index 882493a4080..a1187b39ec7 100644 --- a/src/v2/__generated__/ArtistCollectionsRailQuery.graphql.ts +++ b/src/v2/__generated__/ArtistCollectionsRailQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -64,22 +65,22 @@ fragment ArtistCollectionsRail_collections on MarketingCollection { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "isFeaturedArtistContent", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "size", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String", - "defaultValue": null + "type": "String" } ], v1 = [ @@ -100,87 +101,83 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistCollectionsRailQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtistCollectionsRailQuery", "selections": [ { - "kind": "LinkedField", "alias": "collections", - "name": "marketingCollections", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingCollections", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistCollectionsRail_collections", - "args": null + "name": "ArtistCollectionsRail_collections" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistCollectionsRailQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": "collections", - "name": "marketingCollections", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingCollections", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "headerImage", "args": null, + "kind": "ScalarField", + "name": "headerImage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": "price_guidance", - "name": "priceGuidance", "args": null, + "kind": "ScalarField", + "name": "priceGuidance", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(aggregations:[\"TOTAL\"],first:3,sort:\"-decayed_merch\")", "args": [ { "kind": "Literal", @@ -201,60 +198,56 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:262)", "args": [ { "kind": "Literal", @@ -263,38 +256,46 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:262)" } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": "artworksConnection(aggregations:[\"TOTAL\"],first:3,sort:\"-decayed_merch\")" }, (v3/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtistCollectionsRailQuery", "id": null, - "text": "query ArtistCollectionsRailQuery(\n $isFeaturedArtistContent: Boolean\n $size: Int\n $artistID: String\n) {\n collections: marketingCollections(isFeaturedArtistContent: $isFeaturedArtistContent, size: $size, artistID: $artistID) {\n ...ArtistCollectionsRail_collections\n id\n }\n}\n\nfragment ArtistCollectionEntity_collection on MarketingCollection {\n headerImage\n slug\n title\n price_guidance: priceGuidance\n artworksConnection(first: 3, aggregations: [TOTAL], sort: \"-decayed_merch\") {\n edges {\n node {\n artist {\n name\n id\n }\n title\n image {\n resized(width: 262) {\n url\n }\n }\n id\n }\n }\n id\n }\n}\n\nfragment ArtistCollectionsRail_collections on MarketingCollection {\n ...ArtistCollectionEntity_collection\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistCollectionsRailQuery", + "operationKind": "query", + "text": "query ArtistCollectionsRailQuery(\n $isFeaturedArtistContent: Boolean\n $size: Int\n $artistID: String\n) {\n collections: marketingCollections(isFeaturedArtistContent: $isFeaturedArtistContent, size: $size, artistID: $artistID) {\n ...ArtistCollectionsRail_collections\n id\n }\n}\n\nfragment ArtistCollectionEntity_collection on MarketingCollection {\n headerImage\n slug\n title\n price_guidance: priceGuidance\n artworksConnection(first: 3, aggregations: [TOTAL], sort: \"-decayed_merch\") {\n edges {\n node {\n artist {\n name\n id\n }\n title\n image {\n resized(width: 262) {\n url\n }\n }\n id\n }\n }\n id\n }\n}\n\nfragment ArtistCollectionsRail_collections on MarketingCollection {\n ...ArtistCollectionEntity_collection\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtistCollectionsRail_collections.graphql.ts b/src/v2/__generated__/ArtistCollectionsRail_collections.graphql.ts index 8566e06c83a..94d022bdbe3 100644 --- a/src/v2/__generated__/ArtistCollectionsRail_collections.graphql.ts +++ b/src/v2/__generated__/ArtistCollectionsRail_collections.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,20 +16,20 @@ export type ArtistCollectionsRail_collections$key = ReadonlyArray<{ const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistCollectionsRail_collections", - "type": "MarketingCollection", "metadata": { "plural": true }, - "argumentDefinitions": [], + "name": "ArtistCollectionsRail_collections", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistCollectionEntity_collection", - "args": null + "name": "ArtistCollectionEntity_collection" } - ] + ], + "type": "MarketingCollection" }; (node as any).hash = '321de31247fea0486faf7cdbe0016219'; export default node; diff --git a/src/v2/__generated__/ArtistConsignButtonQuery.graphql.ts b/src/v2/__generated__/ArtistConsignButtonQuery.graphql.ts index c2ccf181680..35e3a6693ff 100644 --- a/src/v2/__generated__/ArtistConsignButtonQuery.graphql.ts +++ b/src/v2/__generated__/ArtistConsignButtonQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -66,10 +67,10 @@ fragment ArtistConsignButton_artist on Artist { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -80,113 +81,108 @@ v1 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistConsignButtonQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtistConsignButtonQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistConsignButton_artist", - "args": null + "name": "ArtistConsignButton_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistConsignButtonQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "targetSupply", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupply", + "kind": "LinkedField", + "name": "targetSupply", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "isInMicrofunnel", "args": null, + "kind": "ScalarField", + "name": "isInMicrofunnel", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isTargetSupply", "args": null, + "kind": "ScalarField", + "name": "isTargetSupply", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:66,width:66)", "args": [ { "kind": "Literal", @@ -200,36 +196,41 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:66,width:66)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtistConsignButtonQuery", "id": null, - "text": "query ArtistConsignButtonQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...ArtistConsignButton_artist\n id\n }\n}\n\nfragment ArtistConsignButton_artist on Artist {\n targetSupply {\n isInMicrofunnel\n isTargetSupply\n }\n internalID\n slug\n name\n href\n image {\n cropped(width: 66, height: 66) {\n url\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistConsignButtonQuery", + "operationKind": "query", + "text": "query ArtistConsignButtonQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...ArtistConsignButton_artist\n id\n }\n}\n\nfragment ArtistConsignButton_artist on Artist {\n targetSupply {\n isInMicrofunnel\n isTargetSupply\n }\n internalID\n slug\n name\n href\n image {\n cropped(width: 66, height: 66) {\n url\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtistConsignButton_Test_Query.graphql.ts b/src/v2/__generated__/ArtistConsignButton_Test_Query.graphql.ts index d2b2deb322c..43d2dee377f 100644 --- a/src/v2/__generated__/ArtistConsignButton_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtistConsignButton_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -66,10 +67,10 @@ fragment ArtistConsignButton_artist on Artist { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -80,113 +81,108 @@ v1 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistConsignButton_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtistConsignButton_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistConsignButton_artist", - "args": null + "name": "ArtistConsignButton_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistConsignButton_Test_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "targetSupply", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupply", + "kind": "LinkedField", + "name": "targetSupply", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "isInMicrofunnel", "args": null, + "kind": "ScalarField", + "name": "isInMicrofunnel", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isTargetSupply", "args": null, + "kind": "ScalarField", + "name": "isTargetSupply", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:66,width:66)", "args": [ { "kind": "Literal", @@ -200,36 +196,41 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:66,width:66)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtistConsignButton_Test_Query", "id": null, - "text": "query ArtistConsignButton_Test_Query(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...ArtistConsignButton_artist\n id\n }\n}\n\nfragment ArtistConsignButton_artist on Artist {\n targetSupply {\n isInMicrofunnel\n isTargetSupply\n }\n internalID\n slug\n name\n href\n image {\n cropped(width: 66, height: 66) {\n url\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistConsignButton_Test_Query", + "operationKind": "query", + "text": "query ArtistConsignButton_Test_Query(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...ArtistConsignButton_artist\n id\n }\n}\n\nfragment ArtistConsignButton_artist on Artist {\n targetSupply {\n isInMicrofunnel\n isTargetSupply\n }\n internalID\n slug\n name\n href\n image {\n cropped(width: 66, height: 66) {\n url\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtistConsignButton_artist.graphql.ts b/src/v2/__generated__/ArtistConsignButton_artist.graphql.ts index a2f671b3aea..4d17d530d87 100644 --- a/src/v2/__generated__/ArtistConsignButton_artist.graphql.ts +++ b/src/v2/__generated__/ArtistConsignButton_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -27,79 +28,74 @@ export type ArtistConsignButton_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistConsignButton_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistConsignButton_artist", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "targetSupply", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupply", + "kind": "LinkedField", + "name": "targetSupply", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "isInMicrofunnel", "args": null, + "kind": "ScalarField", + "name": "isInMicrofunnel", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isTargetSupply", "args": null, + "kind": "ScalarField", + "name": "isTargetSupply", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:66,width:66)", "args": [ { "kind": "Literal", @@ -113,20 +109,25 @@ const node: ReaderFragment = { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:66,width:66)" } - ] + ], + "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = '00f008210bc719365dd2bf6db729abac'; export default node; diff --git a/src/v2/__generated__/ArtistConsignFAQ_artist.graphql.ts b/src/v2/__generated__/ArtistConsignFAQ_artist.graphql.ts index 8e107cd0ec7..b91e1e35c3e 100644 --- a/src/v2/__generated__/ArtistConsignFAQ_artist.graphql.ts +++ b/src/v2/__generated__/ArtistConsignFAQ_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,20 +16,20 @@ export type ArtistConsignFAQ_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistConsignFAQ_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistConsignFAQ_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = '47a1b13d640815b4ba8a092d0a1bf991'; export default node; diff --git a/src/v2/__generated__/ArtistConsignHeaderImages_artist.graphql.ts b/src/v2/__generated__/ArtistConsignHeaderImages_artist.graphql.ts index ddf73eb8b83..7ddbda7f324 100644 --- a/src/v2/__generated__/ArtistConsignHeaderImages_artist.graphql.ts +++ b/src/v2/__generated__/ArtistConsignHeaderImages_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -30,62 +31,53 @@ export type ArtistConsignHeaderImages_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistConsignHeaderImages_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistConsignHeaderImages_artist", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "targetSupply", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupply", + "kind": "LinkedField", + "name": "targetSupply", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "microfunnel", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupplyMicrofunnel", + "kind": "LinkedField", + "name": "microfunnel", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artworks", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupplyMicrofunnelArtwork", + "kind": "LinkedField", + "name": "artworks", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:395)", "args": [ { "kind": "Literal", @@ -94,47 +86,56 @@ const node: ReaderFragment = { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(height:395)" } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "FillwidthItem_artwork", - "args": null + "name": "FillwidthItem_artwork" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = 'f7f772023dc79dc472421a1b53b4cffd'; export default node; diff --git a/src/v2/__generated__/ArtistConsignHeader_artist.graphql.ts b/src/v2/__generated__/ArtistConsignHeader_artist.graphql.ts index f0cc3d70ec5..ac36c965ca1 100644 --- a/src/v2/__generated__/ArtistConsignHeader_artist.graphql.ts +++ b/src/v2/__generated__/ArtistConsignHeader_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -17,32 +18,32 @@ export type ArtistConsignHeader_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistConsignHeader_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistConsignHeader_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistConsignHeaderImages_artist", - "args": null + "name": "ArtistConsignHeaderImages_artist" } - ] + ], + "type": "Artist" }; (node as any).hash = '7d3a03283b2d243183694c0120190387'; export default node; diff --git a/src/v2/__generated__/ArtistConsignHowToSell_artist.graphql.ts b/src/v2/__generated__/ArtistConsignHowToSell_artist.graphql.ts index f44e97a1a7a..0b1c72b90d8 100644 --- a/src/v2/__generated__/ArtistConsignHowToSell_artist.graphql.ts +++ b/src/v2/__generated__/ArtistConsignHowToSell_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,20 +16,20 @@ export type ArtistConsignHowToSell_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistConsignHowToSell_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistConsignHowToSell_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = '4c7974a321e83d875e6ce77d5ea43b66'; export default node; diff --git a/src/v2/__generated__/ArtistConsignMarketTrends_artist.graphql.ts b/src/v2/__generated__/ArtistConsignMarketTrends_artist.graphql.ts index 96472162aca..7af0f8199ec 100644 --- a/src/v2/__generated__/ArtistConsignMarketTrends_artist.graphql.ts +++ b/src/v2/__generated__/ArtistConsignMarketTrends_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -24,74 +25,74 @@ export type ArtistConsignMarketTrends_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistConsignMarketTrends_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistConsignMarketTrends_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "targetSupply", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupply", + "kind": "LinkedField", + "name": "targetSupply", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "microfunnel", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupplyMicrofunnel", + "kind": "LinkedField", + "name": "microfunnel", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "metadata", - "storageKey": null, "args": null, "concreteType": "TargetSupplyMicrofunnelMetadata", + "kind": "LinkedField", + "name": "metadata", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "highestRealized", "args": null, + "kind": "ScalarField", + "name": "highestRealized", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "str", "args": null, + "kind": "ScalarField", + "name": "str", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "realized", "args": null, + "kind": "ScalarField", + "name": "realized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = '91c1ebf56415fcb86b69ff9fa6f2a918'; export default node; diff --git a/src/v2/__generated__/ArtistConsignMeta_artist.graphql.ts b/src/v2/__generated__/ArtistConsignMeta_artist.graphql.ts index 758e529c038..cf8ce9c8bdc 100644 --- a/src/v2/__generated__/ArtistConsignMeta_artist.graphql.ts +++ b/src/v2/__generated__/ArtistConsignMeta_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -27,75 +28,67 @@ export type ArtistConsignMeta_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistConsignMeta_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistConsignMeta_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "targetSupply", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupply", + "kind": "LinkedField", + "name": "targetSupply", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "microfunnel", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupplyMicrofunnel", + "kind": "LinkedField", + "name": "microfunnel", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artworks", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupplyMicrofunnelArtwork", + "kind": "LinkedField", + "name": "artworks", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "imageURL", - "name": "url", "args": [ { "kind": "Literal", @@ -103,19 +96,27 @@ const node: ReaderFragment = { "value": "medium" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"medium\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = 'cdb304af5dff2c7987ce5b9833fa7914'; export default node; diff --git a/src/v2/__generated__/ArtistConsignPageViews_artist.graphql.ts b/src/v2/__generated__/ArtistConsignPageViews_artist.graphql.ts index fa0a26cc539..5a516acac8d 100644 --- a/src/v2/__generated__/ArtistConsignPageViews_artist.graphql.ts +++ b/src/v2/__generated__/ArtistConsignPageViews_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -23,67 +24,67 @@ export type ArtistConsignPageViews_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistConsignPageViews_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistConsignPageViews_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "targetSupply", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupply", + "kind": "LinkedField", + "name": "targetSupply", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "microfunnel", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupplyMicrofunnel", + "kind": "LinkedField", + "name": "microfunnel", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "metadata", - "storageKey": null, "args": null, "concreteType": "TargetSupplyMicrofunnelMetadata", + "kind": "LinkedField", + "name": "metadata", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "roundedViews", "args": null, + "kind": "ScalarField", + "name": "roundedViews", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "roundedUniqueVisitors", "args": null, + "kind": "ScalarField", + "name": "roundedUniqueVisitors", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = 'cb356e907f92e5bad02e30c7e4377123'; export default node; diff --git a/src/v2/__generated__/ArtistConsignRecentlySold_artist.graphql.ts b/src/v2/__generated__/ArtistConsignRecentlySold_artist.graphql.ts index 674f5a7e4ab..f6edbc6be01 100644 --- a/src/v2/__generated__/ArtistConsignRecentlySold_artist.graphql.ts +++ b/src/v2/__generated__/ArtistConsignRecentlySold_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -30,108 +31,108 @@ export type ArtistConsignRecentlySold_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistConsignRecentlySold_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistConsignRecentlySold_artist", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "targetSupply", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupply", + "kind": "LinkedField", + "name": "targetSupply", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "microfunnel", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupplyMicrofunnel", + "kind": "LinkedField", + "name": "microfunnel", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artworks", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupplyMicrofunnelArtwork", + "kind": "LinkedField", + "name": "artworks", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "FillwidthItem_artwork", - "args": null + "name": "FillwidthItem_artwork" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "realizedPrice", "args": null, + "kind": "ScalarField", + "name": "realizedPrice", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = '796c6909af76876d049a50784d7fb593'; export default node; diff --git a/src/v2/__generated__/ArtistConsignSellArt_artist.graphql.ts b/src/v2/__generated__/ArtistConsignSellArt_artist.graphql.ts index c60d91b8a72..1a8681ff69b 100644 --- a/src/v2/__generated__/ArtistConsignSellArt_artist.graphql.ts +++ b/src/v2/__generated__/ArtistConsignSellArt_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,20 +16,20 @@ export type ArtistConsignSellArt_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistConsignSellArt_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistConsignSellArt_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = 'f8a4b742046a7803e249bd34780a6c50'; export default node; diff --git a/src/v2/__generated__/ArtistFollowQuery.graphql.ts b/src/v2/__generated__/ArtistFollowQuery.graphql.ts index edb0b5c2938..75682392143 100644 --- a/src/v2/__generated__/ArtistFollowQuery.graphql.ts +++ b/src/v2/__generated__/ArtistFollowQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -38,10 +39,10 @@ fragment Follow_artist on Artist { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -52,84 +53,84 @@ v1 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistFollowQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtistFollowQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Follow_artist", - "args": null + "name": "Follow_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistFollowQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtistFollowQuery", "id": null, - "text": "query ArtistFollowQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...Follow_artist\n id\n }\n}\n\nfragment Follow_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistFollowQuery", + "operationKind": "query", + "text": "query ArtistFollowQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...Follow_artist\n id\n }\n}\n\nfragment Follow_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtistHeader_Test_Query.graphql.ts b/src/v2/__generated__/ArtistHeader_Test_Query.graphql.ts index a5e320fe64c..d305cc44a1e 100644 --- a/src/v2/__generated__/ArtistHeader_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtistHeader_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -122,74 +123,69 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistHeader_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistHeader_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"cecily-brown\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistHeader_artist", - "args": null + "name": "ArtistHeader_artist" } - ] + ], + "storageKey": "artist(id:\"cecily-brown\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtistHeader_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"cecily-brown\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "artistHightlights", - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)", "args": [ { "kind": "Literal", @@ -217,54 +213,55 @@ return { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, "selections": [ (v1/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")", "args": [ { "kind": "Literal", @@ -283,39 +280,36 @@ return { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": [ { "kind": "Literal", @@ -323,21 +317,22 @@ return { "value": "0a" } ], + "kind": "ScalarField", + "name": "display", "storageKey": "display(format:\"0a\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "organization", "args": null, + "kind": "ScalarField", + "name": "organization", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_date", - "name": "saleDate", "args": [ { "kind": "Literal", @@ -345,80 +340,86 @@ return { "value": "YYYY" } ], + "kind": "ScalarField", + "name": "saleDate", "storageKey": "saleDate(format:\"YYYY\")" }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")" }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "formattedNationalityAndBirthday", "args": null, + "kind": "ScalarField", + "name": "formattedNationalityAndBirthday", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "forSaleArtworks", "args": null, + "kind": "ScalarField", + "name": "forSaleArtworks", "storageKey": null } - ] + ], + "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null } - ] + ], + "storageKey": "artist(id:\"cecily-brown\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtistHeader_Test_Query", "id": null, - "text": "query ArtistHeader_Test_Query {\n artist(id: \"cecily-brown\") {\n ...ArtistHeader_artist\n id\n }\n}\n\nfragment ArtistHeader_artist on Artist {\n artistHightlights: 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: \"0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n internalID\n slug\n name\n formattedNationalityAndBirthday\n counts {\n follows\n forSaleArtworks\n }\n ...FollowArtistButton_artist\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistHeader_Test_Query", + "operationKind": "query", + "text": "query ArtistHeader_Test_Query {\n artist(id: \"cecily-brown\") {\n ...ArtistHeader_artist\n id\n }\n}\n\nfragment ArtistHeader_artist on Artist {\n artistHightlights: 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: \"0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n internalID\n slug\n name\n formattedNationalityAndBirthday\n counts {\n follows\n forSaleArtworks\n }\n ...FollowArtistButton_artist\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtistHeader_artist.graphql.ts b/src/v2/__generated__/ArtistHeader_artist.graphql.ts index 60d112aa36a..efe7dc4eeae 100644 --- a/src/v2/__generated__/ArtistHeader_artist.graphql.ts +++ b/src/v2/__generated__/ArtistHeader_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -46,44 +47,39 @@ export type ArtistHeader_artist$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }; return { - "kind": "Fragment", - "name": "ArtistHeader_artist", - "type": "Artist", - "metadata": null, "argumentDefinitions": [ { - "kind": "LocalArgument", - "name": "partnerCategory", - "type": "[String]", "defaultValue": [ "blue-chip", "top-established", "top-emerging" - ] + ], + "kind": "LocalArgument", + "name": "partnerCategory", + "type": "[String]" } ], + "kind": "Fragment", + "metadata": null, + "name": "ArtistHeader_artist", "selections": [ { - "kind": "LinkedField", "alias": "artistHightlights", - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -107,51 +103,52 @@ return { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")", "args": [ { "kind": "Literal", @@ -170,39 +167,36 @@ return { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": [ { "kind": "Literal", @@ -210,21 +204,22 @@ return { "value": "0a" } ], + "kind": "ScalarField", + "name": "display", "storageKey": "display(format:\"0a\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "organization", "args": null, + "kind": "ScalarField", + "name": "organization", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_date", - "name": "saleDate", "args": [ { "kind": "Literal", @@ -232,67 +227,73 @@ return { "value": "YYYY" } ], + "kind": "ScalarField", + "name": "saleDate", "storageKey": "saleDate(format:\"YYYY\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")" }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "formattedNationalityAndBirthday", "args": null, + "kind": "ScalarField", + "name": "formattedNationalityAndBirthday", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "forSaleArtworks", "args": null, + "kind": "ScalarField", + "name": "forSaleArtworks", "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "FollowArtistButton_artist", - "args": null + "name": "FollowArtistButton_artist" } - ] + ], + "type": "Artist" }; })(); (node as any).hash = '2a5daadf3e6c82010b50b022e3a24276'; diff --git a/src/v2/__generated__/ArtistInfoQuery.graphql.ts b/src/v2/__generated__/ArtistInfoQuery.graphql.ts index a1d515f6ec3..c2d59a4b96d 100644 --- a/src/v2/__generated__/ArtistInfoQuery.graphql.ts +++ b/src/v2/__generated__/ArtistInfoQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -147,10 +148,10 @@ fragment SelectedExhibitions_exhibitions on Show { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -161,40 +162,40 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v4 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ], v5 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v7 = [ @@ -208,76 +209,71 @@ v8 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistInfoQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtistInfoQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistInfo_artist", - "args": null + "name": "ArtistInfo_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistInfoQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -291,48 +287,49 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "formatted_nationality_and_birthday", - "name": "formattedNationalityAndBirthday", "args": null, + "kind": "ScalarField", + "name": "formattedNationalityAndBirthday", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "partner_shows", - "name": "partnerShows", "args": null, + "kind": "ScalarField", + "name": "partnerShows", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "exhibition_highlights", - "name": "exhibitionHighlights", - "storageKey": "exhibitionHighlights(size:3)", "args": [ { "kind": "Literal", @@ -341,53 +338,51 @@ return { } ], "concreteType": "Show", + "kind": "LinkedField", + "name": "exhibitionHighlights", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v5/*: any*/), (v6/*: any*/), { "kind": "InlineFragment", - "type": "ExternalPartner", - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "type": "ExternalPartner" }, { "kind": "InlineFragment", - "type": "Partner", - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "type": "Partner" } - ] + ], + "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "start_at", - "name": "startAt", "args": (v8/*: any*/), + "kind": "ScalarField", + "name": "startAt", "storageKey": "startAt(format:\"YYYY\")" }, { - "kind": "LinkedField", "alias": "cover_image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:600,width:800)", "args": [ { "kind": "Literal", @@ -401,42 +396,43 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": "cropped(height:600,width:800)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": "exhibitionHighlights(size:3)" }, { - "kind": "ScalarField", "alias": null, - "name": "collections", "args": null, + "kind": "ScalarField", + "name": "collections", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)", "args": [ { "kind": "Literal", @@ -464,55 +460,56 @@ return { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v5/*: any*/), (v6/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, "selections": [ (v2/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")", "args": [ { "kind": "Literal", @@ -531,41 +528,38 @@ return { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v5/*: any*/), (v6/*: any*/), { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": [ { "kind": "Literal", @@ -573,35 +567,38 @@ return { "value": "0a" } ], + "kind": "ScalarField", + "name": "display", "storageKey": "display(format:\"0a\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "organization", "args": null, + "kind": "ScalarField", + "name": "organization", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_date", - "name": "saleDate", "args": (v8/*: any*/), + "kind": "ScalarField", + "name": "saleDate", "storageKey": "saleDate(format:\"YYYY\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")" }, { - "kind": "LinkedField", "alias": null, - "name": "biographyBlurb", - "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)", "args": [ { "kind": "Literal", @@ -615,35 +612,39 @@ return { } ], "concreteType": "ArtistBlurb", + "kind": "LinkedField", + "name": "biographyBlurb", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "text", "args": null, + "kind": "ScalarField", + "name": "text", "storageKey": null } - ] + ], + "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)" }, (v6/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtistInfoQuery", "id": null, - "text": "query ArtistInfoQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...ArtistInfo_artist\n id\n }\n}\n\nfragment ArtistBio_bio on Artist {\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n}\n\nfragment ArtistInfo_artist on Artist {\n internalID\n slug\n name\n href\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n counts {\n partner_shows: partnerShows\n }\n exhibition_highlights: 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 ...FollowArtistButton_artist\n biographyBlurb(format: HTML, partnerBio: true) {\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: \"0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\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 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", - "metadata": {} + "metadata": {}, + "name": "ArtistInfoQuery", + "operationKind": "query", + "text": "query ArtistInfoQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...ArtistInfo_artist\n id\n }\n}\n\nfragment ArtistBio_bio on Artist {\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n}\n\nfragment ArtistInfo_artist on Artist {\n internalID\n slug\n name\n href\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n counts {\n partner_shows: partnerShows\n }\n exhibition_highlights: 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 ...FollowArtistButton_artist\n biographyBlurb(format: HTML, partnerBio: true) {\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: \"0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\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 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" } }; })(); diff --git a/src/v2/__generated__/ArtistInfo_Test_Query.graphql.ts b/src/v2/__generated__/ArtistInfo_Test_Query.graphql.ts index 80a3bdd5881..fdfb33f2828 100644 --- a/src/v2/__generated__/ArtistInfo_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtistInfo_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -225,40 +226,40 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v3 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v6 = [ @@ -272,76 +273,71 @@ v7 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistInfo_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistInfo_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"banksy\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistInfo_artist", - "args": null + "name": "ArtistInfo_artist" } - ] + ], + "storageKey": "artist(id:\"banksy\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtistInfo_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"banksy\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, (v1/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -355,48 +351,49 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "formatted_nationality_and_birthday", - "name": "formattedNationalityAndBirthday", "args": null, + "kind": "ScalarField", + "name": "formattedNationalityAndBirthday", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "partner_shows", - "name": "partnerShows", "args": null, + "kind": "ScalarField", + "name": "partnerShows", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "exhibition_highlights", - "name": "exhibitionHighlights", - "storageKey": "exhibitionHighlights(size:3)", "args": [ { "kind": "Literal", @@ -405,53 +402,51 @@ return { } ], "concreteType": "Show", + "kind": "LinkedField", + "name": "exhibitionHighlights", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v4/*: any*/), (v5/*: any*/), { "kind": "InlineFragment", - "type": "ExternalPartner", - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "type": "ExternalPartner" }, { "kind": "InlineFragment", - "type": "Partner", - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "type": "Partner" } - ] + ], + "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": "start_at", - "name": "startAt", "args": (v7/*: any*/), + "kind": "ScalarField", + "name": "startAt", "storageKey": "startAt(format:\"YYYY\")" }, { - "kind": "LinkedField", "alias": "cover_image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:600,width:800)", "args": [ { "kind": "Literal", @@ -465,42 +460,43 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": "cropped(height:600,width:800)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": "exhibitionHighlights(size:3)" }, { - "kind": "ScalarField", "alias": null, - "name": "collections", "args": null, + "kind": "ScalarField", + "name": "collections", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)", "args": [ { "kind": "Literal", @@ -528,55 +524,56 @@ return { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, "selections": [ (v1/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")", "args": [ { "kind": "Literal", @@ -595,41 +592,38 @@ return { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), (v5/*: any*/), { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": [ { "kind": "Literal", @@ -637,35 +631,38 @@ return { "value": "0a" } ], + "kind": "ScalarField", + "name": "display", "storageKey": "display(format:\"0a\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "organization", "args": null, + "kind": "ScalarField", + "name": "organization", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_date", - "name": "saleDate", "args": (v7/*: any*/), + "kind": "ScalarField", + "name": "saleDate", "storageKey": "saleDate(format:\"YYYY\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")" }, { - "kind": "LinkedField", "alias": null, - "name": "biographyBlurb", - "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)", "args": [ { "kind": "Literal", @@ -679,35 +676,39 @@ return { } ], "concreteType": "ArtistBlurb", + "kind": "LinkedField", + "name": "biographyBlurb", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "text", "args": null, + "kind": "ScalarField", + "name": "text", "storageKey": null } - ] + ], + "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)" }, (v5/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null } - ] + ], + "storageKey": "artist(id:\"banksy\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtistInfo_Test_Query", "id": null, - "text": "query ArtistInfo_Test_Query {\n artist(id: \"banksy\") {\n ...ArtistInfo_artist\n id\n }\n}\n\nfragment ArtistBio_bio on Artist {\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n}\n\nfragment ArtistInfo_artist on Artist {\n internalID\n slug\n name\n href\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n counts {\n partner_shows: partnerShows\n }\n exhibition_highlights: 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 ...FollowArtistButton_artist\n biographyBlurb(format: HTML, partnerBio: true) {\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: \"0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\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 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", - "metadata": {} + "metadata": {}, + "name": "ArtistInfo_Test_Query", + "operationKind": "query", + "text": "query ArtistInfo_Test_Query {\n artist(id: \"banksy\") {\n ...ArtistInfo_artist\n id\n }\n}\n\nfragment ArtistBio_bio on Artist {\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n}\n\nfragment ArtistInfo_artist on Artist {\n internalID\n slug\n name\n href\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n counts {\n partner_shows: partnerShows\n }\n exhibition_highlights: 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 ...FollowArtistButton_artist\n biographyBlurb(format: HTML, partnerBio: true) {\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: \"0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\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 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" } }; })(); diff --git a/src/v2/__generated__/ArtistInfo_artist.graphql.ts b/src/v2/__generated__/ArtistInfo_artist.graphql.ts index e207e2db34f..bd4181ca8eb 100644 --- a/src/v2/__generated__/ArtistInfo_artist.graphql.ts +++ b/src/v2/__generated__/ArtistInfo_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -53,73 +54,68 @@ export type ArtistInfo_artist$key = { const node: ReaderFragment = (function(){ var v0 = [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } ]; return { - "kind": "Fragment", - "name": "ArtistInfo_artist", - "type": "Artist", - "metadata": null, "argumentDefinitions": [ { - "kind": "LocalArgument", - "name": "partnerCategory", - "type": "[String]", "defaultValue": [ "blue-chip", "top-established", "top-emerging" - ] + ], + "kind": "LocalArgument", + "name": "partnerCategory", + "type": "[String]" } ], + "kind": "Fragment", + "metadata": null, + "name": "ArtistInfo_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -133,49 +129,50 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "formatted_nationality_and_birthday", - "name": "formattedNationalityAndBirthday", "args": null, + "kind": "ScalarField", + "name": "formattedNationalityAndBirthday", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "partner_shows", - "name": "partnerShows", "args": null, + "kind": "ScalarField", + "name": "partnerShows", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "exhibition_highlights", - "name": "exhibitionHighlights", - "storageKey": "exhibitionHighlights(size:3)", "args": [ { "kind": "Literal", @@ -184,36 +181,35 @@ return { } ], "concreteType": "Show", + "kind": "LinkedField", + "name": "exhibitionHighlights", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "SelectedExhibitions_exhibitions", - "args": null + "name": "SelectedExhibitions_exhibitions" } - ] + ], + "storageKey": "exhibitionHighlights(size:3)" }, { - "kind": "ScalarField", "alias": null, - "name": "collections", "args": null, + "kind": "ScalarField", + "name": "collections", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -237,38 +233,39 @@ return { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")", "args": [ { "kind": "Literal", @@ -287,36 +284,36 @@ return { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")" }, { - "kind": "LinkedField", "alias": null, - "name": "biographyBlurb", - "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)", "args": [ { "kind": "Literal", @@ -330,33 +327,37 @@ return { } ], "concreteType": "ArtistBlurb", + "kind": "LinkedField", + "name": "biographyBlurb", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "text", "args": null, + "kind": "ScalarField", + "name": "text", "storageKey": null } - ] + ], + "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistBio_bio", - "args": null + "name": "ArtistBio_bio" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistMarketInsights_artist", - "args": null + "name": "ArtistMarketInsights_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "FollowArtistButton_artist", - "args": null + "name": "FollowArtistButton_artist" } - ] + ], + "type": "Artist" }; })(); (node as any).hash = '18b724b8ae5e5b82b1181478cf151e78'; diff --git a/src/v2/__generated__/ArtistMarketInsights_artist.graphql.ts b/src/v2/__generated__/ArtistMarketInsights_artist.graphql.ts index 403d42c0de5..5250b2e5c90 100644 --- a/src/v2/__generated__/ArtistMarketInsights_artist.graphql.ts +++ b/src/v2/__generated__/ArtistMarketInsights_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -37,44 +38,39 @@ export type ArtistMarketInsights_artist$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "ArtistMarketInsights_artist", - "type": "Artist", - "metadata": null, "argumentDefinitions": [ { - "kind": "LocalArgument", - "name": "partnerCategory", - "type": "[String]", "defaultValue": [ "blue-chip", "top-established", "top-emerging" - ] + ], + "kind": "LocalArgument", + "name": "partnerCategory", + "type": "[String]" } ], + "kind": "Fragment", + "metadata": null, + "name": "ArtistMarketInsights_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "collections", "args": null, + "kind": "ScalarField", + "name": "collections", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -98,57 +94,58 @@ const node: ReaderFragment = { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")", "args": [ { "kind": "Literal", @@ -167,39 +164,36 @@ const node: ReaderFragment = { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": [ { "kind": "Literal", @@ -207,21 +201,22 @@ const node: ReaderFragment = { "value": "0a" } ], + "kind": "ScalarField", + "name": "display", "storageKey": "display(format:\"0a\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "organization", "args": null, + "kind": "ScalarField", + "name": "organization", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_date", - "name": "saleDate", "args": [ { "kind": "Literal", @@ -229,15 +224,21 @@ const node: ReaderFragment = { "value": "YYYY" } ], + "kind": "ScalarField", + "name": "saleDate", "storageKey": "saleDate(format:\"YYYY\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")" } - ] + ], + "type": "Artist" }; (node as any).hash = 'afa3604eeb859595d8fb9bb9c0586772'; export default node; diff --git a/src/v2/__generated__/ArtistMetaCanonicalLink_artist.graphql.ts b/src/v2/__generated__/ArtistMetaCanonicalLink_artist.graphql.ts index 5e3969f655b..489f17dfb87 100644 --- a/src/v2/__generated__/ArtistMetaCanonicalLink_artist.graphql.ts +++ b/src/v2/__generated__/ArtistMetaCanonicalLink_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -46,58 +47,54 @@ export type ArtistMetaCanonicalLink_artist$key = { const node: ReaderFragment = (function(){ var v0 = [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } ]; return { - "kind": "Fragment", - "name": "ArtistMetaCanonicalLink_artist", - "type": "Artist", - "metadata": null, "argumentDefinitions": [ { - "kind": "LocalArgument", - "name": "partnerCategory", - "type": "[String]", "defaultValue": [ "blue-chip", "top-established", "top-emerging" - ] + ], + "kind": "LocalArgument", + "name": "partnerCategory", + "type": "[String]" } ], + "kind": "Fragment", + "metadata": null, + "name": "ArtistMetaCanonicalLink_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "statuses", - "storageKey": null, "args": null, "concreteType": "ArtistStatuses", + "kind": "LinkedField", + "name": "statuses", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "shows", "args": null, + "kind": "ScalarField", + "name": "shows", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cv", "args": [ { "kind": "Literal", @@ -105,45 +102,44 @@ return { "value": 0 } ], + "kind": "ScalarField", + "name": "cv", "storageKey": "cv(minShowCount:0)" }, { - "kind": "ScalarField", "alias": null, - "name": "articles", "args": null, + "kind": "ScalarField", + "name": "articles", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "auctionLots", "args": null, + "kind": "ScalarField", + "name": "auctionLots", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artworks", "args": null, + "kind": "ScalarField", + "name": "artworks", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -167,27 +163,28 @@ return { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "biographyBlurb", - "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)", "args": [ { "kind": "Literal", @@ -201,71 +198,75 @@ return { } ], "concreteType": "ArtistBlurb", + "kind": "LinkedField", + "name": "biographyBlurb", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "text", "args": null, + "kind": "ScalarField", + "name": "text", "storageKey": null } - ] + ], + "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "genes", - "storageKey": null, "args": null, "concreteType": "GeneConnection", + "kind": "LinkedField", + "name": "genes", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "GeneEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "node", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "insights", - "storageKey": null, "args": null, "concreteType": "ArtistInsight", + "kind": "LinkedField", + "name": "insights", "plural": true, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null } - ] + ], + "type": "Artist" }; })(); (node as any).hash = '0400c2e015d1e22c5224d2181c33a2d7'; diff --git a/src/v2/__generated__/ArtistMeta_artist.graphql.ts b/src/v2/__generated__/ArtistMeta_artist.graphql.ts index 355a36e8a33..852348742d3 100644 --- a/src/v2/__generated__/ArtistMeta_artist.graphql.ts +++ b/src/v2/__generated__/ArtistMeta_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -82,37 +83,35 @@ export type ArtistMeta_artist$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": "large", - "name": "url", "args": [ { "kind": "Literal", @@ -120,38 +119,37 @@ v4 = { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "major", "args": null, + "kind": "ScalarField", + "name": "major", "storageKey": null }, v6 = [ (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "currencyCode", "args": null, + "kind": "ScalarField", + "name": "currencyCode", "storageKey": null } ], v7 = { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "small", - "name": "url", "args": [ { "kind": "Literal", @@ -159,96 +157,95 @@ v7 = { "value": "small" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"small\")" }, (v4/*: any*/) - ] + ], + "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistMeta_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistMeta_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "nationality", "args": null, + "kind": "ScalarField", + "name": "nationality", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "birthday", "args": null, + "kind": "ScalarField", + "name": "birthday", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "deathday", "args": null, + "kind": "ScalarField", + "name": "deathday", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "gender", "args": null, + "kind": "ScalarField", + "name": "gender", "storageKey": null }, (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "meta", - "storageKey": null, "args": null, "concreteType": "ArtistMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "alternate_names", - "name": "alternateNames", "args": null, + "kind": "ScalarField", + "name": "alternateNames", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "versions", "args": null, + "kind": "ScalarField", + "name": "versions", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": "square", - "name": "url", "args": [ { "kind": "Literal", @@ -256,40 +253,40 @@ return { "value": "square" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"square\")" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "artworks", "args": null, + "kind": "ScalarField", + "name": "artworks", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "blurb", "args": null, + "kind": "ScalarField", + "name": "blurb", "storageKey": null }, { - "kind": "LinkedField", "alias": "artworks_connection", - "name": "artworksConnection", - "storageKey": "artworksConnection(filter:\"IS_FOR_SALE\",first:10,published:true)", "args": [ { "kind": "Literal", @@ -308,146 +305,150 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "category", "args": null, + "kind": "ScalarField", + "name": "category", "storageKey": null }, { - "kind": "ScalarField", "alias": "price_currency", - "name": "priceCurrency", "args": null, + "kind": "ScalarField", + "name": "priceCurrency", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "PriceRange", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "minPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "minPrice", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "maxPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "maxPrice", "plural": false, "selections": [ (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "availability", "args": null, + "kind": "ScalarField", + "name": "availability", "storageKey": null }, (v1/*: any*/), (v7/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(filter:\"IS_FOR_SALE\",first:10,published:true)" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistMetaCanonicalLink_artist", - "args": null + "name": "ArtistMetaCanonicalLink_artist" } - ] + ], + "type": "Artist" }; })(); (node as any).hash = '8f5b53faf93d5c15172918be714fa039'; diff --git a/src/v2/__generated__/ArtistRecommendationsPaginationQuery.graphql.ts b/src/v2/__generated__/ArtistRecommendationsPaginationQuery.graphql.ts index 729877ab0b4..c31b8a3e952 100644 --- a/src/v2/__generated__/ArtistRecommendationsPaginationQuery.graphql.ts +++ b/src/v2/__generated__/ArtistRecommendationsPaginationQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -191,22 +192,22 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "count", - "type": "Int!", - "defaultValue": null + "type": "Int!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "cursor", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -217,10 +218,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v3 = [ @@ -241,31 +242,31 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v8 = [ @@ -277,34 +278,29 @@ v8 = [ ], v9 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistRecommendationsPaginationQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtistRecommendationsPaginationQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "ArtistRecommendations_artist", "args": [ { "kind": "Variable", @@ -316,61 +312,61 @@ return { "name": "cursor", "variableName": "cursor" } - ] + ], + "kind": "FragmentSpread", + "name": "ArtistRecommendations_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistRecommendationsPaginationQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistsConnection", - "storageKey": null, "args": (v3/*: any*/), "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "artistsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), @@ -378,27 +374,23 @@ return { (v5/*: any*/), (v6/*: any*/), { - "kind": "ScalarField", "alias": "formatted_nationality_and_birthday", - "name": "formattedNationalityAndBirthday", "args": null, + "kind": "ScalarField", + "name": "formattedNationalityAndBirthday", "storageKey": null }, (v7/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -412,24 +404,25 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artworks_connection", - "name": "artworksConnection", - "storageKey": "artworksConnection(filter:\"IS_FOR_SALE\",first:20,sort:\"PUBLISHED_AT_DESC\")", "args": [ { "kind": "Literal", @@ -448,47 +441,44 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -496,315 +486,326 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v8/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v4/*: any*/), (v7/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v8/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v6/*: any*/), (v7/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v5/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(filter:\"IS_FOR_SALE\",first:20,sort:\"PUBLISHED_AT_DESC\")" }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": null, - "name": "artistsConnection", "args": (v3/*: any*/), - "handle": "connection", - "key": "ArtistRecommendations_artistsConnection", "filters": [ "minForsaleArtworks" - ] + ], + "handle": "connection", + "key": "ArtistRecommendations_artistsConnection", + "kind": "LinkedHandle", + "name": "artistsConnection" } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtistRecommendationsPaginationQuery", "id": null, - "text": "query ArtistRecommendationsPaginationQuery(\n $count: Int!\n $cursor: String\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...ArtistRecommendations_artist_1G22uz\n id\n }\n}\n\nfragment ArtistRecommendations_artist_1G22uz on Artist {\n slug\n related {\n artistsConnection(first: $count, after: $cursor, minForsaleArtworks: 7) {\n edges {\n node {\n id\n ...RecommendedArtist_artist\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment RecommendedArtist_artist on Artist {\n slug\n internalID\n name\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n href\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n artworks_connection: artworksConnection(first: 20, sort: PUBLISHED_AT_DESC, filter: IS_FOR_SALE) {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n }\n ...FollowArtistButton_artist\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistRecommendationsPaginationQuery", + "operationKind": "query", + "text": "query ArtistRecommendationsPaginationQuery(\n $count: Int!\n $cursor: String\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...ArtistRecommendations_artist_1G22uz\n id\n }\n}\n\nfragment ArtistRecommendations_artist_1G22uz on Artist {\n slug\n related {\n artistsConnection(first: $count, after: $cursor, minForsaleArtworks: 7) {\n edges {\n node {\n id\n ...RecommendedArtist_artist\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment RecommendedArtist_artist on Artist {\n slug\n internalID\n name\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n href\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n artworks_connection: artworksConnection(first: 20, sort: PUBLISHED_AT_DESC, filter: IS_FOR_SALE) {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n }\n ...FollowArtistButton_artist\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtistRecommendationsRendererQuery.graphql.ts b/src/v2/__generated__/ArtistRecommendationsRendererQuery.graphql.ts index e058800d6e2..f5cc995c0cd 100644 --- a/src/v2/__generated__/ArtistRecommendationsRendererQuery.graphql.ts +++ b/src/v2/__generated__/ArtistRecommendationsRendererQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -187,10 +188,10 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -201,10 +202,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v3 = [ @@ -225,31 +226,31 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v8 = [ @@ -261,89 +262,84 @@ v8 = [ ], v9 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistRecommendationsRendererQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtistRecommendationsRendererQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistRecommendations_artist", - "args": null + "name": "ArtistRecommendations_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistRecommendationsRendererQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistsConnection", - "storageKey": "artistsConnection(after:\"\",first:3,minForsaleArtworks:7)", "args": (v3/*: any*/), "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "artistsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), @@ -351,27 +347,23 @@ return { (v5/*: any*/), (v6/*: any*/), { - "kind": "ScalarField", "alias": "formatted_nationality_and_birthday", - "name": "formattedNationalityAndBirthday", "args": null, + "kind": "ScalarField", + "name": "formattedNationalityAndBirthday", "storageKey": null }, (v7/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -385,24 +377,25 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artworks_connection", - "name": "artworksConnection", - "storageKey": "artworksConnection(filter:\"IS_FOR_SALE\",first:20,sort:\"PUBLISHED_AT_DESC\")", "args": [ { "kind": "Literal", @@ -421,47 +414,44 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -469,315 +459,326 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v8/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v4/*: any*/), (v7/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v8/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v6/*: any*/), (v7/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v5/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(filter:\"IS_FOR_SALE\",first:20,sort:\"PUBLISHED_AT_DESC\")" }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artistsConnection(after:\"\",first:3,minForsaleArtworks:7)" }, { - "kind": "LinkedHandle", "alias": null, - "name": "artistsConnection", "args": (v3/*: any*/), - "handle": "connection", - "key": "ArtistRecommendations_artistsConnection", "filters": [ "minForsaleArtworks" - ] + ], + "handle": "connection", + "key": "ArtistRecommendations_artistsConnection", + "kind": "LinkedHandle", + "name": "artistsConnection" } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtistRecommendationsRendererQuery", "id": null, - "text": "query ArtistRecommendationsRendererQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...ArtistRecommendations_artist\n id\n }\n}\n\nfragment ArtistRecommendations_artist on Artist {\n slug\n related {\n artistsConnection(first: 3, after: \"\", minForsaleArtworks: 7) {\n edges {\n node {\n id\n ...RecommendedArtist_artist\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment RecommendedArtist_artist on Artist {\n slug\n internalID\n name\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n href\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n artworks_connection: artworksConnection(first: 20, sort: PUBLISHED_AT_DESC, filter: IS_FOR_SALE) {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n }\n ...FollowArtistButton_artist\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistRecommendationsRendererQuery", + "operationKind": "query", + "text": "query ArtistRecommendationsRendererQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...ArtistRecommendations_artist\n id\n }\n}\n\nfragment ArtistRecommendations_artist on Artist {\n slug\n related {\n artistsConnection(first: 3, after: \"\", minForsaleArtworks: 7) {\n edges {\n node {\n id\n ...RecommendedArtist_artist\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment RecommendedArtist_artist on Artist {\n slug\n internalID\n name\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n href\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n artworks_connection: artworksConnection(first: 20, sort: PUBLISHED_AT_DESC, filter: IS_FOR_SALE) {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n }\n ...FollowArtistButton_artist\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtistRecommendations_Test_Query.graphql.ts b/src/v2/__generated__/ArtistRecommendations_Test_Query.graphql.ts index 6645034cecb..baef3ff954c 100644 --- a/src/v2/__generated__/ArtistRecommendations_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtistRecommendations_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -280,10 +281,10 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v2 = [ @@ -304,31 +305,31 @@ v2 = [ } ], v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v7 = [ @@ -340,89 +341,84 @@ v7 = [ ], v8 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistRecommendations_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistRecommendations_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"andy-warhol\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistRecommendations_artist", - "args": null + "name": "ArtistRecommendations_artist" } - ] + ], + "storageKey": "artist(id:\"andy-warhol\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtistRecommendations_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"andy-warhol\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistsConnection", - "storageKey": "artistsConnection(after:\"\",first:3,minForsaleArtworks:7)", "args": (v2/*: any*/), "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "artistsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), @@ -430,27 +426,23 @@ return { (v4/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": "formatted_nationality_and_birthday", - "name": "formattedNationalityAndBirthday", "args": null, + "kind": "ScalarField", + "name": "formattedNationalityAndBirthday", "storageKey": null }, (v6/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -464,24 +456,25 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artworks_connection", - "name": "artworksConnection", - "storageKey": "artworksConnection(filter:\"IS_FOR_SALE\",first:20,sort:\"PUBLISHED_AT_DESC\")", "args": [ { "kind": "Literal", @@ -500,47 +493,44 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -548,315 +538,326 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v7/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v3/*: any*/), (v6/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v7/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v5/*: any*/), (v6/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v4/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(filter:\"IS_FOR_SALE\",first:20,sort:\"PUBLISHED_AT_DESC\")" }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artistsConnection(after:\"\",first:3,minForsaleArtworks:7)" }, { - "kind": "LinkedHandle", "alias": null, - "name": "artistsConnection", "args": (v2/*: any*/), - "handle": "connection", - "key": "ArtistRecommendations_artistsConnection", "filters": [ "minForsaleArtworks" - ] + ], + "handle": "connection", + "key": "ArtistRecommendations_artistsConnection", + "kind": "LinkedHandle", + "name": "artistsConnection" } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": "artist(id:\"andy-warhol\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtistRecommendations_Test_Query", "id": null, - "text": "query ArtistRecommendations_Test_Query {\n artist(id: \"andy-warhol\") {\n ...ArtistRecommendations_artist\n id\n }\n}\n\nfragment ArtistRecommendations_artist on Artist {\n slug\n related {\n artistsConnection(first: 3, after: \"\", minForsaleArtworks: 7) {\n edges {\n node {\n id\n ...RecommendedArtist_artist\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment RecommendedArtist_artist on Artist {\n slug\n internalID\n name\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n href\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n artworks_connection: artworksConnection(first: 20, sort: PUBLISHED_AT_DESC, filter: IS_FOR_SALE) {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n }\n ...FollowArtistButton_artist\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistRecommendations_Test_Query", + "operationKind": "query", + "text": "query ArtistRecommendations_Test_Query {\n artist(id: \"andy-warhol\") {\n ...ArtistRecommendations_artist\n id\n }\n}\n\nfragment ArtistRecommendations_artist on Artist {\n slug\n related {\n artistsConnection(first: 3, after: \"\", minForsaleArtworks: 7) {\n edges {\n node {\n id\n ...RecommendedArtist_artist\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment RecommendedArtist_artist on Artist {\n slug\n internalID\n name\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n href\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n artworks_connection: artworksConnection(first: 20, sort: PUBLISHED_AT_DESC, filter: IS_FOR_SALE) {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n }\n ...FollowArtistButton_artist\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtistRecommendations_artist.graphql.ts b/src/v2/__generated__/ArtistRecommendations_artist.graphql.ts index 13fcef952d7..8daf4b11a75 100644 --- a/src/v2/__generated__/ArtistRecommendations_artist.graphql.ts +++ b/src/v2/__generated__/ArtistRecommendations_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -25,64 +26,59 @@ export type ArtistRecommendations_artist$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "ArtistRecommendations_artist", - "type": "Artist", - "metadata": { - "connection": [ - { - "count": "count", - "cursor": "cursor", - "direction": "forward", - "path": [ - "related", - "artistsConnection" - ] - } - ] - }, "argumentDefinitions": [ { + "defaultValue": 3, "kind": "LocalArgument", "name": "count", - "type": "Int", - "defaultValue": 3 + "type": "Int" }, { + "defaultValue": "", "kind": "LocalArgument", "name": "cursor", - "type": "String", - "defaultValue": "" + "type": "String" }, { + "defaultValue": 7, "kind": "LocalArgument", "name": "minForsaleArtworks", - "type": "Int", - "defaultValue": 7 + "type": "Int" } ], + "kind": "Fragment", + "metadata": { + "connection": [ + { + "count": "count", + "cursor": "cursor", + "direction": "forward", + "path": [ + "related", + "artistsConnection" + ] + } + ] + }, + "name": "ArtistRecommendations_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "artistsConnection", - "name": "__ArtistRecommendations_artistsConnection_connection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -91,86 +87,91 @@ const node: ReaderFragment = { } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "__ArtistRecommendations_artistsConnection_connection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "RecommendedArtist_artist", - "args": null + "name": "RecommendedArtist_artist" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = 'd902cee33de1092626cb53f065896809'; export default node; diff --git a/src/v2/__generated__/ArtistRow_artist.graphql.ts b/src/v2/__generated__/ArtistRow_artist.graphql.ts index 24cb7487921..b26785f6d1c 100644 --- a/src/v2/__generated__/ArtistRow_artist.graphql.ts +++ b/src/v2/__generated__/ArtistRow_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -20,31 +21,27 @@ export type ArtistRow_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistRow_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistRow_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": "artworks", - "name": "artworksConnection", - "storageKey": "artworksConnection(first:6)", "args": [ { "kind": "Literal", @@ -53,21 +50,25 @@ const node: ReaderFragment = { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Fillwidth_artworks", - "args": null + "name": "Fillwidth_artworks" } - ] + ], + "storageKey": "artworksConnection(first:6)" }, { + "args": null, "kind": "FragmentSpread", - "name": "Follow_artist", - "args": null + "name": "Follow_artist" } - ] + ], + "type": "Artist" }; (node as any).hash = '165cde0cf105756da9745ed008809922'; export default node; diff --git a/src/v2/__generated__/ArtistSearchResultsArtistMutation.graphql.ts b/src/v2/__generated__/ArtistSearchResultsArtistMutation.graphql.ts index 639f2bdee00..8422c94d2b2 100644 --- a/src/v2/__generated__/ArtistSearchResultsArtistMutation.graphql.ts +++ b/src/v2/__generated__/ArtistSearchResultsArtistMutation.graphql.ts @@ -1,14 +1,15 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type FollowArtistInput = { - readonly artistID: string; - readonly clientMutationId?: string | null; - readonly unfollow?: boolean | null; + artistID: string; + clientMutationId?: string | null; + unfollow?: boolean | null; }; export type ArtistSearchResultsArtistMutationVariables = { input: FollowArtistInput; - excludedArtistIds: ReadonlyArray; + excludedArtistIds: Array; }; export type ArtistSearchResultsArtistMutationResponse = { readonly followArtist: { @@ -92,16 +93,16 @@ mutation ArtistSearchResultsArtistMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "FollowArtistInput!", - "defaultValue": null + "type": "FollowArtistInput!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "excludedArtistIds", - "type": "[String]!", - "defaultValue": null + "type": "[String]!" } ], v1 = { @@ -115,42 +116,38 @@ v2 = { "value": true }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -164,26 +161,27 @@ v4 = [ } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null } ], v5 = [ { - "kind": "LinkedField", "alias": null, - "name": "followArtist", - "storageKey": null, "args": [ { "kind": "Variable", @@ -192,13 +190,12 @@ v5 = [ } ], "concreteType": "FollowArtistPayload", + "kind": "LinkedField", + "name": "followArtist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "popular_artists", - "name": "popularArtists", - "storageKey": null, "args": [ (v1/*: any*/), (v2/*: any*/), @@ -209,33 +206,31 @@ v5 = [ } ], "concreteType": "Artist", + "kind": "LinkedField", + "name": "popularArtists", "plural": true, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "suggestedConnection", - "storageKey": null, "args": [ (v1/*: any*/), (v2/*: any*/), @@ -246,60 +241,66 @@ v5 = [ } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "suggestedConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistSearchResultsArtistMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), - "selections": (v5/*: any*/) + "name": "ArtistSearchResultsArtistMutation", + "selections": (v5/*: any*/), + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistSearchResultsArtistMutation", - "argumentDefinitions": (v0/*: any*/), "selections": (v5/*: any*/) }, "params": { - "operationKind": "mutation", - "name": "ArtistSearchResultsArtistMutation", "id": null, - "text": "mutation ArtistSearchResultsArtistMutation(\n $input: FollowArtistInput!\n $excludedArtistIds: [String]!\n) {\n followArtist(input: $input) {\n popular_artists: popularArtists(size: 1, excludeFollowedArtists: true, excludeArtistIDs: $excludedArtistIds) {\n internalID\n id\n name\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n }\n artist {\n id\n related {\n suggestedConnection(first: 1, excludeFollowedArtists: true, excludeArtistIDs: $excludedArtistIds) {\n edges {\n node {\n internalID\n id\n name\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistSearchResultsArtistMutation", + "operationKind": "mutation", + "text": "mutation ArtistSearchResultsArtistMutation(\n $input: FollowArtistInput!\n $excludedArtistIds: [String]!\n) {\n followArtist(input: $input) {\n popular_artists: popularArtists(size: 1, excludeFollowedArtists: true, excludeArtistIDs: $excludedArtistIds) {\n internalID\n id\n name\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n }\n artist {\n id\n related {\n suggestedConnection(first: 1, excludeFollowedArtists: true, excludeArtistIDs: $excludedArtistIds) {\n edges {\n node {\n internalID\n id\n name\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtistSearchResultsQuery.graphql.ts b/src/v2/__generated__/ArtistSearchResultsQuery.graphql.ts index 6ef1bad9bb9..2b394ec8d3b 100644 --- a/src/v2/__generated__/ArtistSearchResultsQuery.graphql.ts +++ b/src/v2/__generated__/ArtistSearchResultsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -50,58 +51,54 @@ fragment ArtistSearchResults_viewer on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "term", - "type": "String!", - "defaultValue": null + "type": "String!" } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistSearchResultsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtistSearchResultsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistSearchResults_viewer", - "args": null + "name": "ArtistSearchResults_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistSearchResultsQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "searchConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -122,90 +119,94 @@ return { } ], "concreteType": "SearchableConnection", + "kind": "LinkedField", + "name": "searchConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SearchableEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { "kind": "InlineFragment", - "type": "SearchableItem", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "displayLabel", "args": null, + "kind": "ScalarField", + "name": "displayLabel", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageUrl", "args": null, + "kind": "ScalarField", + "name": "imageUrl", "storageKey": null } - ] + ], + "type": "SearchableItem" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtistSearchResultsQuery", "id": null, - "text": "query ArtistSearchResultsQuery(\n $term: String!\n) {\n viewer {\n ...ArtistSearchResults_viewer\n }\n}\n\nfragment ArtistSearchResults_viewer on Viewer {\n searchConnection(query: $term, mode: AUTOSUGGEST, entities: [ARTIST]) {\n edges {\n node {\n __typename\n ... on SearchableItem {\n id\n slug\n internalID\n displayLabel\n imageUrl\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistSearchResultsQuery", + "operationKind": "query", + "text": "query ArtistSearchResultsQuery(\n $term: String!\n) {\n viewer {\n ...ArtistSearchResults_viewer\n }\n}\n\nfragment ArtistSearchResults_viewer on Viewer {\n searchConnection(query: $term, mode: AUTOSUGGEST, entities: [ARTIST]) {\n edges {\n node {\n __typename\n ... on SearchableItem {\n id\n slug\n internalID\n displayLabel\n imageUrl\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtistSearchResults_viewer.graphql.ts b/src/v2/__generated__/ArtistSearchResults_viewer.graphql.ts index b4f2cd36502..b6c3c3c7765 100644 --- a/src/v2/__generated__/ArtistSearchResults_viewer.graphql.ts +++ b/src/v2/__generated__/ArtistSearchResults_viewer.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -25,10 +26,6 @@ export type ArtistSearchResults_viewer$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "ArtistSearchResults_viewer", - "type": "Viewer", - "metadata": null, "argumentDefinitions": [ { "kind": "RootArgument", @@ -36,12 +33,12 @@ const node: ReaderFragment = { "type": "String!" } ], + "kind": "Fragment", + "metadata": null, + "name": "ArtistSearchResults_viewer", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "searchConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -62,74 +59,78 @@ const node: ReaderFragment = { } ], "concreteType": "SearchableConnection", + "kind": "LinkedField", + "name": "searchConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SearchableEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "SearchableItem", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "displayLabel", "args": null, + "kind": "ScalarField", + "name": "displayLabel", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageUrl", "args": null, + "kind": "ScalarField", + "name": "imageUrl", "storageKey": null } - ] + ], + "type": "SearchableItem" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Viewer" }; (node as any).hash = 'd6c4b99412cf4117f60a06e5297f433d'; export default node; diff --git a/src/v2/__generated__/ArtistSeriesApp_Query.graphql.ts b/src/v2/__generated__/ArtistSeriesApp_Query.graphql.ts index 3be4c48b74d..2d8a95b1cff 100644 --- a/src/v2/__generated__/ArtistSeriesApp_Query.graphql.ts +++ b/src/v2/__generated__/ArtistSeriesApp_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -401,10 +402,10 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -415,37 +416,37 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "artworksCountMessage", "args": null, + "kind": "ScalarField", + "name": "artworksCountMessage", "storageKey": null }, v4 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ], v5 = { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, v6 = [ { @@ -455,62 +456,62 @@ v6 = [ } ], v7 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v14 = [ (v12/*: any*/), (v13/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ], @@ -523,60 +524,57 @@ v15 = [ ], v16 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistSeriesApp_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtistSeriesApp_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeries", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "artistSeries", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistSeriesApp_artistSeries", - "args": null + "name": "ArtistSeriesApp_artistSeries" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistSeriesApp_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeries", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "artistSeries", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "descriptionFormatted", "args": [ { "kind": "Literal", @@ -584,16 +582,17 @@ return { "value": "HTML" } ], + "kind": "ScalarField", + "name": "descriptionFormatted", "storageKey": "descriptionFormatted(format:\"HTML\")" }, (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(size:1)", "args": (v6/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v7/*: any*/), @@ -603,66 +602,63 @@ return { (v10/*: any*/), (v11/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artists(size:1)" }, { - "kind": "LinkedField", "alias": "railArtist", - "name": "artists", - "storageKey": "artists(size:1)", "args": (v6/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeriesConnection", - "storageKey": null, "args": null, "concreteType": "ArtistSeriesConnection", + "kind": "LinkedField", + "name": "artistSeriesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistSeriesEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v11/*: any*/), @@ -670,19 +666,15 @@ return { (v9/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:160,width:160)", "args": [ { "kind": "Literal", @@ -696,25 +688,30 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": "cropped(height:160,width:160)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v10/*: any*/) - ] + ], + "storageKey": "artists(size:1)" }, { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "filterArtworksConnection", - "storageKey": "filterArtworksConnection(after:\"\",first:20,medium:\"*\",sort:\"-partner_updated_at\")", "args": [ { "kind": "Literal", @@ -738,148 +735,148 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ (v10/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v12/*: any*/), (v13/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v10/*: any*/), @@ -887,32 +884,29 @@ return { (v8/*: any*/), (v11/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -920,223 +914,230 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v15/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v10/*: any*/), (v8/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v15/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v7/*: any*/), (v8/*: any*/), (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v10/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v16/*: any*/) + "selections": (v16/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v16/*: any*/) + "selections": (v16/*: any*/), + "storageKey": null }, (v10/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v10/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "filterArtworksConnection(after:\"\",first:20,medium:\"*\",sort:\"-partner_updated_at\")" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtistSeriesApp_Query", "id": null, - "text": "query ArtistSeriesApp_Query(\n $slug: ID!\n) {\n artistSeries(id: $slug) {\n ...ArtistSeriesApp_artistSeries\n }\n}\n\nfragment ArtistSeriesApp_artistSeries on ArtistSeries {\n ...ArtistSeriesHeader_artistSeries\n railArtist: artists(size: 1) {\n ...ArtistSeriesRail_artist\n id\n }\n ...ArtistSeriesArtworksFilter_artistSeries_1QCCZM\n}\n\nfragment ArtistSeriesArtworksFilter_artistSeries_1QCCZM on ArtistSeries {\n filtered_artworks: filterArtworksConnection(medium: \"*\", first: 20, after: \"\", sort: \"-partner_updated_at\") {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtistSeriesHeader_artistSeries on ArtistSeries {\n title\n artworksCountMessage\n descriptionFormatted(format: HTML)\n image {\n url\n }\n artists(size: 1) {\n name\n image {\n url\n }\n href\n slug\n ...FollowArtistButton_artist\n id\n }\n}\n\nfragment ArtistSeriesItem_artistSeries on ArtistSeries {\n title\n slug\n artworksCountMessage\n image {\n cropped(width: 160, height: 160) {\n url\n }\n }\n}\n\nfragment ArtistSeriesRail_artist on Artist {\n artistSeriesConnection {\n edges {\n node {\n internalID\n ...ArtistSeriesItem_artistSeries\n }\n }\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistSeriesApp_Query", + "operationKind": "query", + "text": "query ArtistSeriesApp_Query(\n $slug: ID!\n) {\n artistSeries(id: $slug) {\n ...ArtistSeriesApp_artistSeries\n }\n}\n\nfragment ArtistSeriesApp_artistSeries on ArtistSeries {\n ...ArtistSeriesHeader_artistSeries\n railArtist: artists(size: 1) {\n ...ArtistSeriesRail_artist\n id\n }\n ...ArtistSeriesArtworksFilter_artistSeries_1QCCZM\n}\n\nfragment ArtistSeriesArtworksFilter_artistSeries_1QCCZM on ArtistSeries {\n filtered_artworks: filterArtworksConnection(medium: \"*\", first: 20, after: \"\", sort: \"-partner_updated_at\") {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtistSeriesHeader_artistSeries on ArtistSeries {\n title\n artworksCountMessage\n descriptionFormatted(format: HTML)\n image {\n url\n }\n artists(size: 1) {\n name\n image {\n url\n }\n href\n slug\n ...FollowArtistButton_artist\n id\n }\n}\n\nfragment ArtistSeriesItem_artistSeries on ArtistSeries {\n title\n slug\n artworksCountMessage\n image {\n cropped(width: 160, height: 160) {\n url\n }\n }\n}\n\nfragment ArtistSeriesRail_artist on Artist {\n artistSeriesConnection {\n edges {\n node {\n internalID\n ...ArtistSeriesItem_artistSeries\n }\n }\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtistSeriesApp_UnfoundTest_Query.graphql.ts b/src/v2/__generated__/ArtistSeriesApp_UnfoundTest_Query.graphql.ts index dcecbdab493..9a89d48b57b 100644 --- a/src/v2/__generated__/ArtistSeriesApp_UnfoundTest_Query.graphql.ts +++ b/src/v2/__generated__/ArtistSeriesApp_UnfoundTest_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -401,10 +402,10 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -415,37 +416,37 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "artworksCountMessage", "args": null, + "kind": "ScalarField", + "name": "artworksCountMessage", "storageKey": null }, v4 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ], v5 = { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, v6 = [ { @@ -455,62 +456,62 @@ v6 = [ } ], v7 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v14 = [ (v12/*: any*/), (v13/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ], @@ -523,60 +524,57 @@ v15 = [ ], v16 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistSeriesApp_UnfoundTest_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtistSeriesApp_UnfoundTest_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeries", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "artistSeries", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistSeriesApp_artistSeries", - "args": null + "name": "ArtistSeriesApp_artistSeries" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistSeriesApp_UnfoundTest_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeries", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "artistSeries", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "descriptionFormatted", "args": [ { "kind": "Literal", @@ -584,16 +582,17 @@ return { "value": "HTML" } ], + "kind": "ScalarField", + "name": "descriptionFormatted", "storageKey": "descriptionFormatted(format:\"HTML\")" }, (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(size:1)", "args": (v6/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v7/*: any*/), @@ -603,66 +602,63 @@ return { (v10/*: any*/), (v11/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artists(size:1)" }, { - "kind": "LinkedField", "alias": "railArtist", - "name": "artists", - "storageKey": "artists(size:1)", "args": (v6/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeriesConnection", - "storageKey": null, "args": null, "concreteType": "ArtistSeriesConnection", + "kind": "LinkedField", + "name": "artistSeriesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistSeriesEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v11/*: any*/), @@ -670,19 +666,15 @@ return { (v9/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:160,width:160)", "args": [ { "kind": "Literal", @@ -696,25 +688,30 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": "cropped(height:160,width:160)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v10/*: any*/) - ] + ], + "storageKey": "artists(size:1)" }, { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "filterArtworksConnection", - "storageKey": "filterArtworksConnection(after:\"\",first:20,medium:\"*\",sort:\"-partner_updated_at\")", "args": [ { "kind": "Literal", @@ -738,148 +735,148 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ (v10/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v12/*: any*/), (v13/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v10/*: any*/), @@ -887,32 +884,29 @@ return { (v8/*: any*/), (v11/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -920,223 +914,230 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v15/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v10/*: any*/), (v8/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v15/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v7/*: any*/), (v8/*: any*/), (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v10/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v16/*: any*/) + "selections": (v16/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v16/*: any*/) + "selections": (v16/*: any*/), + "storageKey": null }, (v10/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v10/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "filterArtworksConnection(after:\"\",first:20,medium:\"*\",sort:\"-partner_updated_at\")" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtistSeriesApp_UnfoundTest_Query", "id": null, - "text": "query ArtistSeriesApp_UnfoundTest_Query(\n $slug: ID!\n) {\n artistSeries(id: $slug) {\n ...ArtistSeriesApp_artistSeries\n }\n}\n\nfragment ArtistSeriesApp_artistSeries on ArtistSeries {\n ...ArtistSeriesHeader_artistSeries\n railArtist: artists(size: 1) {\n ...ArtistSeriesRail_artist\n id\n }\n ...ArtistSeriesArtworksFilter_artistSeries_1QCCZM\n}\n\nfragment ArtistSeriesArtworksFilter_artistSeries_1QCCZM on ArtistSeries {\n filtered_artworks: filterArtworksConnection(medium: \"*\", first: 20, after: \"\", sort: \"-partner_updated_at\") {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtistSeriesHeader_artistSeries on ArtistSeries {\n title\n artworksCountMessage\n descriptionFormatted(format: HTML)\n image {\n url\n }\n artists(size: 1) {\n name\n image {\n url\n }\n href\n slug\n ...FollowArtistButton_artist\n id\n }\n}\n\nfragment ArtistSeriesItem_artistSeries on ArtistSeries {\n title\n slug\n artworksCountMessage\n image {\n cropped(width: 160, height: 160) {\n url\n }\n }\n}\n\nfragment ArtistSeriesRail_artist on Artist {\n artistSeriesConnection {\n edges {\n node {\n internalID\n ...ArtistSeriesItem_artistSeries\n }\n }\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistSeriesApp_UnfoundTest_Query", + "operationKind": "query", + "text": "query ArtistSeriesApp_UnfoundTest_Query(\n $slug: ID!\n) {\n artistSeries(id: $slug) {\n ...ArtistSeriesApp_artistSeries\n }\n}\n\nfragment ArtistSeriesApp_artistSeries on ArtistSeries {\n ...ArtistSeriesHeader_artistSeries\n railArtist: artists(size: 1) {\n ...ArtistSeriesRail_artist\n id\n }\n ...ArtistSeriesArtworksFilter_artistSeries_1QCCZM\n}\n\nfragment ArtistSeriesArtworksFilter_artistSeries_1QCCZM on ArtistSeries {\n filtered_artworks: filterArtworksConnection(medium: \"*\", first: 20, after: \"\", sort: \"-partner_updated_at\") {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtistSeriesHeader_artistSeries on ArtistSeries {\n title\n artworksCountMessage\n descriptionFormatted(format: HTML)\n image {\n url\n }\n artists(size: 1) {\n name\n image {\n url\n }\n href\n slug\n ...FollowArtistButton_artist\n id\n }\n}\n\nfragment ArtistSeriesItem_artistSeries on ArtistSeries {\n title\n slug\n artworksCountMessage\n image {\n cropped(width: 160, height: 160) {\n url\n }\n }\n}\n\nfragment ArtistSeriesRail_artist on Artist {\n artistSeriesConnection {\n edges {\n node {\n internalID\n ...ArtistSeriesItem_artistSeries\n }\n }\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtistSeriesApp_artistSeries.graphql.ts b/src/v2/__generated__/ArtistSeriesApp_artistSeries.graphql.ts index 8b3011b2968..040238b241d 100644 --- a/src/v2/__generated__/ArtistSeriesApp_artistSeries.graphql.ts +++ b/src/v2/__generated__/ArtistSeriesApp_artistSeries.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -18,126 +19,122 @@ export type ArtistSeriesApp_artistSeries$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "ArtistSeriesApp_artistSeries", - "type": "ArtistSeries", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": null, "kind": "LocalArgument", "name": "acquireable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "aggregations", - "type": "[ArtworkAggregation]", - "defaultValue": null + "type": "[ArtworkAggregation]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "atAuction", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "attributionClass", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "color", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "height", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "inquireableOnly", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "keyword", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "majorPeriods", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": "*", "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": "*" + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "offerable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "partnerID", - "type": "ID", - "defaultValue": null + "type": "ID" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sizes", - "type": "[ArtworkSizes]", - "defaultValue": null + "type": "[ArtworkSizes]" }, { + "defaultValue": "-partner_updated_at", "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": "-partner_updated_at" + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "width", - "type": "String", - "defaultValue": null + "type": "String" } ], + "kind": "Fragment", + "metadata": null, + "name": "ArtistSeriesApp_artistSeries", "selections": [ { - "kind": "LinkedField", "alias": "railArtist", - "name": "artists", - "storageKey": "artists(size:1)", "args": [ { "kind": "Literal", @@ -146,23 +143,24 @@ const node: ReaderFragment = { } ], "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistSeriesRail_artist", - "args": null + "name": "ArtistSeriesRail_artist" } - ] + ], + "storageKey": "artists(size:1)" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistSeriesHeader_artistSeries", - "args": null + "name": "ArtistSeriesHeader_artistSeries" }, { - "kind": "FragmentSpread", - "name": "ArtistSeriesArtworksFilter_artistSeries", "args": [ { "kind": "Variable", @@ -254,9 +252,12 @@ const node: ReaderFragment = { "name": "width", "variableName": "width" } - ] + ], + "kind": "FragmentSpread", + "name": "ArtistSeriesArtworksFilter_artistSeries" } - ] + ], + "type": "ArtistSeries" }; (node as any).hash = '54f2094f5c9c3096ee854fe89b4b35f2'; export default node; diff --git a/src/v2/__generated__/ArtistSeriesArtworkRail_artwork.graphql.ts b/src/v2/__generated__/ArtistSeriesArtworkRail_artwork.graphql.ts index af2915d0a3d..f741fda8f7d 100644 --- a/src/v2/__generated__/ArtistSeriesArtworkRail_artwork.graphql.ts +++ b/src/v2/__generated__/ArtistSeriesArtworkRail_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -34,17 +35,13 @@ export type ArtistSeriesArtworkRail_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistSeriesArtworkRail_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistSeriesArtworkRail_artwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeriesConnection", - "storageKey": "artistSeriesConnection(first:1)", "args": [ { "kind": "Literal", @@ -53,38 +50,35 @@ const node: ReaderFragment = { } ], "concreteType": "ArtistSeriesConnection", + "kind": "LinkedField", + "name": "artistSeriesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistSeriesEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:20)", "args": [ { "kind": "Literal", @@ -93,40 +87,36 @@ const node: ReaderFragment = { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:200)", "args": [ { "kind": "Literal", @@ -135,44 +125,55 @@ const node: ReaderFragment = { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null } - ] + ], + "storageKey": "resized(height:200)" } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "FillwidthItem_artwork", - "args": null + "name": "FillwidthItem_artwork" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:20)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artistSeriesConnection(first:1)" } - ] + ], + "type": "Artwork" }; (node as any).hash = 'a51597e3761d7cabb5642743fda2eb0e'; export default node; diff --git a/src/v2/__generated__/ArtistSeriesArtworksFilterQuery.graphql.ts b/src/v2/__generated__/ArtistSeriesArtworksFilterQuery.graphql.ts index ffb03e830b7..32ba49098a8 100644 --- a/src/v2/__generated__/ArtistSeriesArtworksFilterQuery.graphql.ts +++ b/src/v2/__generated__/ArtistSeriesArtworksFilterQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -6,22 +7,22 @@ export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS export type ArtworkSizes = "LARGE" | "MEDIUM" | "SMALL" | "%future added value"; export type ArtistSeriesArtworksFilterQueryVariables = { acquireable?: boolean | null; - aggregations?: ReadonlyArray | null; + aggregations?: Array | null; slug: string; atAuction?: boolean | null; - attributionClass?: ReadonlyArray | null; + attributionClass?: Array | null; color?: string | null; forSale?: boolean | null; height?: string | null; inquireableOnly?: boolean | null; keyword?: string | null; - majorPeriods?: ReadonlyArray | null; + majorPeriods?: Array | null; medium?: string | null; offerable?: boolean | null; page?: number | null; partnerID?: string | null; priceRange?: string | null; - sizes?: ReadonlyArray | null; + sizes?: Array | null; sort?: string | null; width?: string | null; }; @@ -244,124 +245,124 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "acquireable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { - "kind": "LocalArgument", - "name": "aggregations", - "type": "[ArtworkAggregation]", "defaultValue": [ "MEDIUM", "TOTAL", "GALLERY", "INSTITUTION", "MAJOR_PERIOD" - ] + ], + "kind": "LocalArgument", + "name": "aggregations", + "type": "[ArtworkAggregation]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "ID!", - "defaultValue": null + "type": "ID!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "atAuction", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "attributionClass", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "color", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "height", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "inquireableOnly", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "keyword", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "majorPeriods", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "offerable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "partnerID", - "type": "ID", - "defaultValue": null + "type": "ID" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sizes", - "type": "[ArtworkSizes]", - "defaultValue": null + "type": "[ArtworkSizes]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "width", - "type": "String", - "defaultValue": null + "type": "String" } ], v1 = [ @@ -462,49 +463,49 @@ v19 = { "variableName": "width" }, v20 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v21 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v22 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v23 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v24 = [ (v22/*: any*/), (v23/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ], v25 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v26 = [ @@ -516,34 +517,29 @@ v26 = [ ], v27 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistSeriesArtworksFilterQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtistSeriesArtworksFilterQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeries", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "artistSeries", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "ArtistSeriesArtworksFilter_artistSeries", "args": [ (v2/*: any*/), (v3/*: any*/), @@ -563,31 +559,32 @@ return { (v17/*: any*/), (v18/*: any*/), (v19/*: any*/) - ] + ], + "kind": "FragmentSpread", + "name": "ArtistSeriesArtworksFilter_artistSeries" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistSeriesArtworksFilterQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeries", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "artistSeries", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "filterArtworksConnection", - "storageKey": null, "args": [ (v2/*: any*/), { @@ -619,193 +616,190 @@ return { (v19/*: any*/) ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ (v20/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, (v21/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v24/*: any*/) + "selections": (v24/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v24/*: any*/) + "selections": (v24/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v24/*: any*/) + "selections": (v24/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v22/*: any*/), (v23/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v20/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v25/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -813,229 +807,236 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v26/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v20/*: any*/), (v25/*: any*/), (v21/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v26/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v21/*: any*/), (v25/*: any*/), (v20/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v20/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "storageKey": null }, (v20/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v20/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtistSeriesArtworksFilterQuery", "id": null, - "text": "query ArtistSeriesArtworksFilterQuery(\n $acquireable: Boolean\n $aggregations: [ArtworkAggregation] = [MEDIUM, TOTAL, GALLERY, INSTITUTION, MAJOR_PERIOD]\n $slug: ID!\n $atAuction: Boolean\n $attributionClass: [String]\n $color: String\n $forSale: Boolean\n $height: String\n $inquireableOnly: Boolean\n $keyword: String\n $majorPeriods: [String]\n $medium: String\n $offerable: Boolean\n $page: Int\n $partnerID: ID\n $priceRange: String\n $sizes: [ArtworkSizes]\n $sort: String\n $width: String\n) {\n artistSeries(id: $slug) {\n ...ArtistSeriesArtworksFilter_artistSeries_1DvBHA\n }\n}\n\nfragment ArtistSeriesArtworksFilter_artistSeries_1DvBHA on ArtistSeries {\n filtered_artworks: filterArtworksConnection(acquireable: $acquireable, aggregations: $aggregations, atAuction: $atAuction, attributionClass: $attributionClass, color: $color, forSale: $forSale, height: $height, inquireableOnly: $inquireableOnly, keyword: $keyword, majorPeriods: $majorPeriods, medium: $medium, offerable: $offerable, page: $page, partnerID: $partnerID, priceRange: $priceRange, sizes: $sizes, first: 20, after: \"\", sort: $sort, width: $width) {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistSeriesArtworksFilterQuery", + "operationKind": "query", + "text": "query ArtistSeriesArtworksFilterQuery(\n $acquireable: Boolean\n $aggregations: [ArtworkAggregation] = [MEDIUM, TOTAL, GALLERY, INSTITUTION, MAJOR_PERIOD]\n $slug: ID!\n $atAuction: Boolean\n $attributionClass: [String]\n $color: String\n $forSale: Boolean\n $height: String\n $inquireableOnly: Boolean\n $keyword: String\n $majorPeriods: [String]\n $medium: String\n $offerable: Boolean\n $page: Int\n $partnerID: ID\n $priceRange: String\n $sizes: [ArtworkSizes]\n $sort: String\n $width: String\n) {\n artistSeries(id: $slug) {\n ...ArtistSeriesArtworksFilter_artistSeries_1DvBHA\n }\n}\n\nfragment ArtistSeriesArtworksFilter_artistSeries_1DvBHA on ArtistSeries {\n filtered_artworks: filterArtworksConnection(acquireable: $acquireable, aggregations: $aggregations, atAuction: $atAuction, attributionClass: $attributionClass, color: $color, forSale: $forSale, height: $height, inquireableOnly: $inquireableOnly, keyword: $keyword, majorPeriods: $majorPeriods, medium: $medium, offerable: $offerable, page: $page, partnerID: $partnerID, priceRange: $priceRange, sizes: $sizes, first: 20, after: \"\", sort: $sort, width: $width) {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtistSeriesArtworksFilter_artistSeries.graphql.ts b/src/v2/__generated__/ArtistSeriesArtworksFilter_artistSeries.graphql.ts index 795ad5c1735..31cd07a48e2 100644 --- a/src/v2/__generated__/ArtistSeriesArtworksFilter_artistSeries.graphql.ts +++ b/src/v2/__generated__/ArtistSeriesArtworksFilter_artistSeries.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -18,126 +19,122 @@ export type ArtistSeriesArtworksFilter_artistSeries$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "ArtistSeriesArtworksFilter_artistSeries", - "type": "ArtistSeries", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": null, "kind": "LocalArgument", "name": "acquireable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "aggregations", - "type": "[ArtworkAggregation]", - "defaultValue": null + "type": "[ArtworkAggregation]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "atAuction", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "attributionClass", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "color", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "height", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "inquireableOnly", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "keyword", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "majorPeriods", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": "*", "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": "*" + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "offerable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "partnerID", - "type": "ID", - "defaultValue": null + "type": "ID" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sizes", - "type": "[ArtworkSizes]", - "defaultValue": null + "type": "[ArtworkSizes]" }, { + "defaultValue": "-partner_updated_at", "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": "-partner_updated_at" + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "width", - "type": "String", - "defaultValue": null + "type": "String" } ], + "kind": "Fragment", + "metadata": null, + "name": "ArtistSeriesArtworksFilter_artistSeries", "selections": [ { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "filterArtworksConnection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -241,23 +238,27 @@ const node: ReaderFragment = { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkFilterArtworkGrid2_filtered_artworks", - "args": null + "name": "ArtworkFilterArtworkGrid2_filtered_artworks" } - ] + ], + "storageKey": null } - ] + ], + "type": "ArtistSeries" }; (node as any).hash = 'e28a35b1eb7b226fcec705e00cff901f'; export default node; diff --git a/src/v2/__generated__/ArtistSeriesEntity_member.graphql.ts b/src/v2/__generated__/ArtistSeriesEntity_member.graphql.ts index dde78470cde..5c39f25ed8c 100644 --- a/src/v2/__generated__/ArtistSeriesEntity_member.graphql.ts +++ b/src/v2/__generated__/ArtistSeriesEntity_member.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -33,53 +34,49 @@ export type ArtistSeriesEntity_member$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistSeriesEntity_member", - "type": "MarketingCollection", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistSeriesEntity_member", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "headerImage", "args": null, + "kind": "ScalarField", + "name": "headerImage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "thumbnail", "args": null, + "kind": "ScalarField", + "name": "thumbnail", "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": "price_guidance", - "name": "priceGuidance", "args": null, + "kind": "ScalarField", + "name": "priceGuidance", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(aggregations:[\"TOTAL\"],first:3,sort:\"-decayed_merch\")", "args": [ { "kind": "Literal", @@ -100,58 +97,55 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null }, (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -159,17 +153,24 @@ return { "value": "small" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"small\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(aggregations:[\"TOTAL\"],first:3,sort:\"-decayed_merch\")" } - ] + ], + "type": "MarketingCollection" }; })(); (node as any).hash = '0a60f3488b2db09e3fc248c364090150'; diff --git a/src/v2/__generated__/ArtistSeriesHeader_artistSeries.graphql.ts b/src/v2/__generated__/ArtistSeriesHeader_artistSeries.graphql.ts index cf31fc6470d..03cbb1abc3e 100644 --- a/src/v2/__generated__/ArtistSeriesHeader_artistSeries.graphql.ts +++ b/src/v2/__generated__/ArtistSeriesHeader_artistSeries.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -30,48 +31,45 @@ export type ArtistSeriesHeader_artistSeries$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistSeriesHeader_artistSeries", - "type": "ArtistSeries", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistSeriesHeader_artistSeries", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artworksCountMessage", "args": null, + "kind": "ScalarField", + "name": "artworksCountMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "descriptionFormatted", "args": [ { "kind": "Literal", @@ -79,14 +77,13 @@ return { "value": "HTML" } ], + "kind": "ScalarField", + "name": "descriptionFormatted", "storageKey": "descriptionFormatted(format:\"HTML\")" }, (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(size:1)", "args": [ { "kind": "Literal", @@ -95,38 +92,42 @@ return { } ], "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "FollowArtistButton_artist", - "args": null + "name": "FollowArtistButton_artist" } - ] + ], + "storageKey": "artists(size:1)" } - ] + ], + "type": "ArtistSeries" }; })(); (node as any).hash = '3304035aff74ca78914667d55ef9f93f'; diff --git a/src/v2/__generated__/ArtistSeriesItem_artistSeries.graphql.ts b/src/v2/__generated__/ArtistSeriesItem_artistSeries.graphql.ts index 9268c50ea49..4a50190caa9 100644 --- a/src/v2/__generated__/ArtistSeriesItem_artistSeries.graphql.ts +++ b/src/v2/__generated__/ArtistSeriesItem_artistSeries.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -22,47 +23,42 @@ export type ArtistSeriesItem_artistSeries$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistSeriesItem_artistSeries", - "type": "ArtistSeries", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistSeriesItem_artistSeries", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artworksCountMessage", "args": null, + "kind": "ScalarField", + "name": "artworksCountMessage", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:160,width:160)", "args": [ { "kind": "Literal", @@ -76,20 +72,25 @@ const node: ReaderFragment = { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:160,width:160)" } - ] + ], + "storageKey": null } - ] + ], + "type": "ArtistSeries" }; (node as any).hash = '83b709bc2e8b51ce5b2289aeedf6710e'; export default node; diff --git a/src/v2/__generated__/ArtistSeriesRail_artist.graphql.ts b/src/v2/__generated__/ArtistSeriesRail_artist.graphql.ts index 96fbb187b8a..b4f13e969e1 100644 --- a/src/v2/__generated__/ArtistSeriesRail_artist.graphql.ts +++ b/src/v2/__generated__/ArtistSeriesRail_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -22,58 +23,58 @@ export type ArtistSeriesRail_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistSeriesRail_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistSeriesRail_artist", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeriesConnection", - "storageKey": null, "args": null, "concreteType": "ArtistSeriesConnection", + "kind": "LinkedField", + "name": "artistSeriesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistSeriesEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistSeriesItem_artistSeries", - "args": null + "name": "ArtistSeriesItem_artistSeries" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = 'f2404c14f9b6592d9e308653647d8326'; export default node; diff --git a/src/v2/__generated__/ArtistSeriesRail_collectionGroup.graphql.ts b/src/v2/__generated__/ArtistSeriesRail_collectionGroup.graphql.ts index 60b7e88d154..798f2ca3fdd 100644 --- a/src/v2/__generated__/ArtistSeriesRail_collectionGroup.graphql.ts +++ b/src/v2/__generated__/ArtistSeriesRail_collectionGroup.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type MarketingGroupTypes = "ArtistSeries" | "FeaturedCollections" | "OtherCollections" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type MarketingGroupTypes = "ArtistSeries" | "FeaturedCollections" | "OtherCollections" | "%future added value"; export type ArtistSeriesRail_collectionGroup = { readonly groupType: MarketingGroupTypes; readonly name: string; @@ -21,50 +22,50 @@ export type ArtistSeriesRail_collectionGroup$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistSeriesRail_collectionGroup", - "type": "MarketingCollectionGroup", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistSeriesRail_collectionGroup", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "groupType", "args": null, + "kind": "ScalarField", + "name": "groupType", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "members", - "storageKey": null, "args": null, "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "members", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistSeriesEntity_member", - "args": null + "name": "ArtistSeriesEntity_member" } - ] + ], + "storageKey": null } - ] + ], + "type": "MarketingCollectionGroup" }; (node as any).hash = '0a934729123f8c15545a74cfcd58bb55'; export default node; diff --git a/src/v2/__generated__/ArtistShowsQuery.graphql.ts b/src/v2/__generated__/ArtistShowsQuery.graphql.ts index a3e5ccb7a1c..86f4cb9112d 100644 --- a/src/v2/__generated__/ArtistShowsQuery.graphql.ts +++ b/src/v2/__generated__/ArtistShowsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -106,46 +107,46 @@ fragment Pagination_pageCursors on PageCursors { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "first", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "last", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "before", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sort", - "type": "ShowSorts", - "defaultValue": null + "type": "ShowSorts" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "status", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -188,259 +189,251 @@ v2 = [ } ], v3 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v5 = [ (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ], v6 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v8 = [ (v7/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistShowsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtistShowsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": (v2/*: any*/), "kind": "FragmentSpread", - "name": "ArtistShows_artist", - "args": (v2/*: any*/) + "name": "ArtistShows_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistShowsQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": null, "args": (v2/*: any*/), "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ShowEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Show", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v6/*: any*/), { "kind": "InlineFragment", - "type": "ExternalPartner", - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "type": "ExternalPartner" }, { "kind": "InlineFragment", - "type": "Partner", - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "type": "Partner" } - ] + ], + "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": "exhibition_period", - "name": "exhibitionPeriod", "args": null, + "kind": "ScalarField", + "name": "exhibitionPeriod", "storageKey": null }, { - "kind": "LinkedField", "alias": "cover_image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:600,width:800)", "args": [ { "kind": "Literal", @@ -454,44 +447,52 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:600,width:800)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtistShowsQuery", "id": null, - "text": "query ArtistShowsQuery(\n $first: Int\n $last: Int\n $after: String\n $before: String\n $artistID: String!\n $sort: ShowSorts\n $status: String!\n) {\n artist(id: $artistID) {\n ...ArtistShows_artist_1Q1mII\n id\n }\n}\n\nfragment ArtistShows_artist_1Q1mII on Artist {\n slug\n showsConnection(first: $first, after: $after, before: $before, last: $last, sort: $sort, status: $status) {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n }\n name\n href\n exhibition_period: exhibitionPeriod\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n id\n }\n }\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", - "metadata": {} + "metadata": {}, + "name": "ArtistShowsQuery", + "operationKind": "query", + "text": "query ArtistShowsQuery(\n $first: Int\n $last: Int\n $after: String\n $before: String\n $artistID: String!\n $sort: ShowSorts\n $status: String!\n) {\n artist(id: $artistID) {\n ...ArtistShows_artist_1Q1mII\n id\n }\n}\n\nfragment ArtistShows_artist_1Q1mII on Artist {\n slug\n showsConnection(first: $first, after: $after, before: $before, last: $last, sort: $sort, status: $status) {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n }\n name\n href\n exhibition_period: exhibitionPeriod\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n id\n }\n }\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" } }; })(); diff --git a/src/v2/__generated__/ArtistShows_artist.graphql.ts b/src/v2/__generated__/ArtistShows_artist.graphql.ts index 070ba36413a..048a9b3027c 100644 --- a/src/v2/__generated__/ArtistShows_artist.graphql.ts +++ b/src/v2/__generated__/ArtistShows_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -41,71 +42,67 @@ export type ArtistShows_artist$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v1 = [ (v0/*: any*/) ]; return { - "kind": "Fragment", - "name": "ArtistShows_artist", - "type": "Artist", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": 4, "kind": "LocalArgument", "name": "first", - "type": "Int", - "defaultValue": 4 + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "last", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "before", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sort", - "type": "ShowSorts", - "defaultValue": null + "type": "ShowSorts" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "status", - "type": "String", - "defaultValue": null + "type": "String" } ], + "kind": "Fragment", + "metadata": null, + "name": "ArtistShows_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -139,117 +136,113 @@ return { } ], "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Pagination_pageCursors", - "args": null + "name": "Pagination_pageCursors" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ShowEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Show", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "ExternalPartner", - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "type": "ExternalPartner" }, { "kind": "InlineFragment", - "type": "Partner", - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "type": "Partner" } - ] + ], + "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": "exhibition_period", - "name": "exhibitionPeriod", "args": null, + "kind": "ScalarField", + "name": "exhibitionPeriod", "storageKey": null }, { - "kind": "LinkedField", "alias": "cover_image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:600,width:800)", "args": [ { "kind": "Literal", @@ -263,33 +256,41 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:600,width:800)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artist" }; })(); (node as any).hash = 'f7d518258e81de5748b5338792bd9f97'; diff --git a/src/v2/__generated__/ArtistTopWorksRail_artist.graphql.ts b/src/v2/__generated__/ArtistTopWorksRail_artist.graphql.ts index 5f14ff034f9..07949b5a609 100644 --- a/src/v2/__generated__/ArtistTopWorksRail_artist.graphql.ts +++ b/src/v2/__generated__/ArtistTopWorksRail_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -35,33 +36,29 @@ export type ArtistTopWorksRail_artist$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtistTopWorksRail_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtistTopWorksRail_artist", "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "filterArtworksConnection", - "storageKey": "filterArtworksConnection(first:10,sort:\"-weighted_iconicity\")", "args": [ { "kind": "Literal", @@ -75,56 +72,52 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/), (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": "imageAspectRatio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:300)", "args": [ { "kind": "Literal", @@ -133,45 +126,53 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null } - ] + ], + "storageKey": "resized(height:300)" } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "FillwidthItem_artwork", - "args": null + "name": "FillwidthItem_artwork" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "filterArtworksConnection(first:10,sort:\"-weighted_iconicity\")" } - ] + ], + "type": "Artist" }; })(); (node as any).hash = '476bc215ca4cd480599c42ae3a3f9835'; diff --git a/src/v2/__generated__/ArtistsQuery.graphql.ts b/src/v2/__generated__/ArtistsQuery.graphql.ts index 80320770ba8..79c6ba36577 100644 --- a/src/v2/__generated__/ArtistsQuery.graphql.ts +++ b/src/v2/__generated__/ArtistsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -7,7 +8,7 @@ export type ArtistsQueryVariables = { geneNodeID: string; count: number; cursor?: string | null; - aggregations?: ReadonlyArray | null; + aggregations?: Array | null; }; export type ArtistsQueryResponse = { readonly node: { @@ -209,28 +210,28 @@ fragment TotalCount_filter_artworks on FilterArtworksConnection { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "geneNodeID", - "type": "ID!", - "defaultValue": null + "type": "ID!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "count", - "type": "Int!", - "defaultValue": null + "type": "Int!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "cursor", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "aggregations", - "type": "[ArtworkAggregation]", - "defaultValue": null + "type": "[ArtworkAggregation]" } ], v1 = [ @@ -246,17 +247,17 @@ v2 = { "variableName": "aggregations" }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = [ @@ -272,24 +273,24 @@ v5 = [ } ], v6 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v9 = [ @@ -301,34 +302,29 @@ v9 = [ ], v10 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtistsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtistsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "Artists_gene", "args": [ (v2/*: any*/), { @@ -341,82 +337,82 @@ return { "name": "cursor", "variableName": "cursor" } - ] + ], + "kind": "FragmentSpread", + "name": "Artists_gene" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtistsQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), { "kind": "InlineFragment", - "type": "Gene", "selections": [ { - "kind": "LinkedField", "alias": "artists", - "name": "artistsConnection", - "storageKey": null, "args": (v5/*: any*/), "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "artistsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), @@ -424,17 +420,14 @@ return { (v7/*: any*/), (v8/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": "artworks", - "name": "artworksConnection", - "storageKey": "artworksConnection(first:6)", "args": [ { "kind": "Literal", @@ -443,47 +436,44 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -491,255 +481,261 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v9/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v4/*: any*/), (v7/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v9/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v6/*: any*/), (v7/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v10/*: any*/) + "selections": (v10/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v10/*: any*/) + "selections": (v10/*: any*/), + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v8/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:6)" }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": "artists", - "name": "artistsConnection", "args": (v5/*: any*/), + "filters": null, "handle": "connection", "key": "Artists_artists", - "filters": null + "kind": "LinkedHandle", + "name": "artistsConnection" }, { - "kind": "LinkedField", "alias": "filter_aggregations", - "name": "filterArtworksConnection", - "storageKey": null, "args": [ (v2/*: any*/), { @@ -754,85 +750,90 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "FilterArtworksCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "total", "args": null, + "kind": "ScalarField", + "name": "total", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "Gene" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtistsQuery", "id": null, - "text": "query ArtistsQuery(\n $geneNodeID: ID!\n $count: Int!\n $cursor: String\n $aggregations: [ArtworkAggregation]\n) {\n node(id: $geneNodeID) {\n __typename\n ...Artists_gene_18MJUj\n id\n }\n}\n\nfragment ArtistRow_artist on Artist {\n name\n href\n ...Follow_artist\n artworks: artworksConnection(first: 6) {\n ...Fillwidth_artworks\n }\n}\n\nfragment Artists_gene_18MJUj on Gene {\n id\n artists: artistsConnection(first: $count, after: $cursor) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n ...ArtistRow_artist\n __typename\n }\n cursor\n }\n }\n filter_aggregations: filterArtworksConnection(aggregations: $aggregations, size: 0, includeMediumFilterInAggregation: true) {\n ...TotalCount_filter_artworks\n aggregations {\n slice\n ...Dropdown_aggregation\n }\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Dropdown_aggregation on ArtworksAggregationResults {\n slice\n counts {\n name\n value\n count\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Fillwidth_artworks on ArtworkConnection {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n}\n\nfragment Follow_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment TotalCount_filter_artworks on FilterArtworksConnection {\n counts {\n total\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtistsQuery", + "operationKind": "query", + "text": "query ArtistsQuery(\n $geneNodeID: ID!\n $count: Int!\n $cursor: String\n $aggregations: [ArtworkAggregation]\n) {\n node(id: $geneNodeID) {\n __typename\n ...Artists_gene_18MJUj\n id\n }\n}\n\nfragment ArtistRow_artist on Artist {\n name\n href\n ...Follow_artist\n artworks: artworksConnection(first: 6) {\n ...Fillwidth_artworks\n }\n}\n\nfragment Artists_gene_18MJUj on Gene {\n id\n artists: artistsConnection(first: $count, after: $cursor) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n ...ArtistRow_artist\n __typename\n }\n cursor\n }\n }\n filter_aggregations: filterArtworksConnection(aggregations: $aggregations, size: 0, includeMediumFilterInAggregation: true) {\n ...TotalCount_filter_artworks\n aggregations {\n slice\n ...Dropdown_aggregation\n }\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Dropdown_aggregation on ArtworksAggregationResults {\n slice\n counts {\n name\n value\n count\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Fillwidth_artworks on ArtworkConnection {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n}\n\nfragment Follow_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment TotalCount_filter_artworks on FilterArtworksConnection {\n counts {\n total\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Artists_gene.graphql.ts b/src/v2/__generated__/Artists_gene.graphql.ts index 76dd9070dad..c08c4089803 100644 --- a/src/v2/__generated__/Artists_gene.graphql.ts +++ b/src/v2/__generated__/Artists_gene.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS" | "GALLERY" | "INSTITUTION" | "MAJOR_PERIOD" | "MEDIUM" | "MERCHANDISABLE_ARTISTS" | "PARTNER_CITY" | "PERIOD" | "PRICE_RANGE" | "TOTAL" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS" | "GALLERY" | "INSTITUTION" | "MAJOR_PERIOD" | "MEDIUM" | "MERCHANDISABLE_ARTISTS" | "PARTNER_CITY" | "PERIOD" | "PRICE_RANGE" | "TOTAL" | "%future added value"; export type Artists_gene = { readonly id: string; readonly artists: { @@ -35,138 +36,134 @@ export type Artists_gene$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Fragment", - "name": "Artists_gene", - "type": "Gene", - "metadata": { - "connection": [ - { - "count": "count", - "cursor": "cursor", - "direction": "forward", - "path": [ - "artists" - ] - } - ] - }, "argumentDefinitions": [ { - "kind": "LocalArgument", - "name": "aggregations", - "type": "[ArtworkAggregation]", "defaultValue": [ "MEDIUM", "TOTAL", "PRICE_RANGE", "DIMENSION_RANGE" - ] + ], + "kind": "LocalArgument", + "name": "aggregations", + "type": "[ArtworkAggregation]" }, { + "defaultValue": 10, "kind": "LocalArgument", "name": "count", - "type": "Int", - "defaultValue": 10 + "type": "Int" }, { + "defaultValue": "", "kind": "LocalArgument", "name": "cursor", - "type": "String", - "defaultValue": "" + "type": "String" } ], + "kind": "Fragment", + "metadata": { + "connection": [ + { + "count": "count", + "cursor": "cursor", + "direction": "forward", + "path": [ + "artists" + ] + } + ] + }, + "name": "Artists_gene", "selections": [ (v0/*: any*/), { - "kind": "LinkedField", "alias": "artists", - "name": "__Artists_artists_connection", - "storageKey": null, "args": null, "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "__Artists_artists_connection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistRow_artist", - "args": null + "name": "ArtistRow_artist" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "filter_aggregations", - "name": "filterArtworksConnection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -185,39 +182,43 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Dropdown_aggregation", - "args": null + "name": "Dropdown_aggregation" } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "TotalCount_filter_artworks", - "args": null + "name": "TotalCount_filter_artworks" } - ] + ], + "storageKey": null } - ] + ], + "type": "Gene" }; })(); (node as any).hash = 'a0ada1320be5d81516db46da6ebe3650'; diff --git a/src/v2/__generated__/ArtworkActionsStoryQuery.graphql.ts b/src/v2/__generated__/ArtworkActionsStoryQuery.graphql.ts index 1534b7611e5..010e40a513b 100644 --- a/src/v2/__generated__/ArtworkActionsStoryQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkActionsStoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -84,185 +85,181 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkActionsStoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkActionsStoryQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkActions_artwork", - "args": null + "name": "ArtworkActions_artwork" } - ] + ], + "storageKey": "artwork(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkActionsStoryQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v1/*: any*/), (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "images", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "images", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artworkMeta", - "name": "meta", - "storageKey": null, "args": null, "concreteType": "ArtworkMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "share", "args": null, + "kind": "ScalarField", + "name": "share", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "cm", "args": null, + "kind": "ScalarField", + "name": "cm", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -270,87 +267,91 @@ return { "value": "larger" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"larger\")" }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_downloadable", - "name": "isDownloadable", "args": null, + "kind": "ScalarField", + "name": "isDownloadable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_hangable", - "name": "isHangable", "args": null, + "kind": "ScalarField", + "name": "isHangable", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v3/*: any*/), (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artwork(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkActionsStoryQuery", "id": null, - "text": "query ArtworkActionsStoryQuery {\n artwork(id: \"unused\") {\n ...ArtworkActions_artwork\n id\n }\n}\n\nfragment ArtworkActions_artwork on Artwork {\n ...Save_artwork\n ...ArtworkSharePanel_artwork\n artists {\n name\n id\n }\n date\n dimensions {\n cm\n }\n href\n slug\n image {\n internalID\n url(version: \"larger\")\n height\n width\n }\n is_downloadable: isDownloadable\n is_hangable: isHangable\n partner {\n slug\n id\n }\n title\n sale {\n is_closed: isClosed\n is_auction: isAuction\n id\n }\n}\n\nfragment ArtworkSharePanel_artwork on Artwork {\n href\n images {\n url\n }\n artworkMeta: meta {\n share\n }\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkActionsStoryQuery", + "operationKind": "query", + "text": "query ArtworkActionsStoryQuery {\n artwork(id: \"unused\") {\n ...ArtworkActions_artwork\n id\n }\n}\n\nfragment ArtworkActions_artwork on Artwork {\n ...Save_artwork\n ...ArtworkSharePanel_artwork\n artists {\n name\n id\n }\n date\n dimensions {\n cm\n }\n href\n slug\n image {\n internalID\n url(version: \"larger\")\n height\n width\n }\n is_downloadable: isDownloadable\n is_hangable: isHangable\n partner {\n slug\n id\n }\n title\n sale {\n is_closed: isClosed\n is_auction: isAuction\n id\n }\n}\n\nfragment ArtworkSharePanel_artwork on Artwork {\n href\n images {\n url\n }\n artworkMeta: meta {\n share\n }\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkActions_Test_Query.graphql.ts b/src/v2/__generated__/ArtworkActions_Test_Query.graphql.ts index 4749f190add..d7476ae2512 100644 --- a/src/v2/__generated__/ArtworkActions_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtworkActions_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -124,10 +125,10 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -138,185 +139,181 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtworkActions_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtworkActions_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkActions_artwork", - "args": null + "name": "ArtworkActions_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtworkActions_Test_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "images", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "images", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artworkMeta", - "name": "meta", - "storageKey": null, "args": null, "concreteType": "ArtworkMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "share", "args": null, + "kind": "ScalarField", + "name": "share", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "cm", "args": null, + "kind": "ScalarField", + "name": "cm", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -324,87 +321,91 @@ return { "value": "larger" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"larger\")" }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_downloadable", - "name": "isDownloadable", "args": null, + "kind": "ScalarField", + "name": "isDownloadable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_hangable", - "name": "isHangable", "args": null, + "kind": "ScalarField", + "name": "isHangable", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v4/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtworkActions_Test_Query", "id": null, - "text": "query ArtworkActions_Test_Query(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...ArtworkActions_artwork\n id\n }\n}\n\nfragment ArtworkActions_artwork on Artwork {\n ...Save_artwork\n ...ArtworkSharePanel_artwork\n artists {\n name\n id\n }\n date\n dimensions {\n cm\n }\n href\n slug\n image {\n internalID\n url(version: \"larger\")\n height\n width\n }\n is_downloadable: isDownloadable\n is_hangable: isHangable\n partner {\n slug\n id\n }\n title\n sale {\n is_closed: isClosed\n is_auction: isAuction\n id\n }\n}\n\nfragment ArtworkSharePanel_artwork on Artwork {\n href\n images {\n url\n }\n artworkMeta: meta {\n share\n }\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkActions_Test_Query", + "operationKind": "query", + "text": "query ArtworkActions_Test_Query(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...ArtworkActions_artwork\n id\n }\n}\n\nfragment ArtworkActions_artwork on Artwork {\n ...Save_artwork\n ...ArtworkSharePanel_artwork\n artists {\n name\n id\n }\n date\n dimensions {\n cm\n }\n href\n slug\n image {\n internalID\n url(version: \"larger\")\n height\n width\n }\n is_downloadable: isDownloadable\n is_hangable: isHangable\n partner {\n slug\n id\n }\n title\n sale {\n is_closed: isClosed\n is_auction: isAuction\n id\n }\n}\n\nfragment ArtworkSharePanel_artwork on Artwork {\n href\n images {\n url\n }\n artworkMeta: meta {\n share\n }\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkActions_artwork.graphql.ts b/src/v2/__generated__/ArtworkActions_artwork.graphql.ts index 4150650eb88..9ed49d2c3fe 100644 --- a/src/v2/__generated__/ArtworkActions_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkActions_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -41,90 +42,86 @@ export type ArtworkActions_artwork$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkActions_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkActions_artwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "cm", "args": null, + "kind": "ScalarField", + "name": "cm", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -132,93 +129,97 @@ return { "value": "larger" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"larger\")" }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_downloadable", - "name": "isDownloadable", "args": null, + "kind": "ScalarField", + "name": "isDownloadable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_hangable", - "name": "isHangable", "args": null, + "kind": "ScalarField", + "name": "isHangable", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Save_artwork", - "args": null + "name": "Save_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSharePanel_artwork", - "args": null + "name": "ArtworkSharePanel_artwork" } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = '0fd4e8861bf45fabe612c87d54807954'; diff --git a/src/v2/__generated__/ArtworkApp_artwork.graphql.ts b/src/v2/__generated__/ArtworkApp_artwork.graphql.ts index 8f2ad7fe85e..ffc4de1608e 100644 --- a/src/v2/__generated__/ArtworkApp_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkApp_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -37,190 +38,190 @@ export type ArtworkApp_artwork$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], v3 = { + "args": null, "kind": "FragmentSpread", - "name": "ArtistInfo_artist", - "args": null + "name": "ArtistInfo_artist" }; return { - "kind": "Fragment", - "name": "ArtworkApp_artwork", - "type": "Artwork", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": null, "kind": "LocalArgument", "name": "shouldFetchArtistSeriesData", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" } ], + "kind": "Fragment", + "metadata": null, + "name": "ArtworkApp_artwork", "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_offerable", - "name": "isOfferable", "args": null, + "kind": "ScalarField", + "name": "isOfferable", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "availability", "args": null, + "kind": "ScalarField", + "name": "availability", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "PriceRange", - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_in_auction", - "name": "isInAuction", "args": null, + "kind": "ScalarField", + "name": "isInAuction", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ (v1/*: any*/), (v0/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, (v0/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v3/*: any*/) - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkRelatedArtists_artwork", - "args": null + "name": "ArtworkRelatedArtists_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkMeta_artwork", - "args": null + "name": "ArtworkMeta_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkBanner_artwork", - "args": null + "name": "ArtworkBanner_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebar_artwork", - "args": null + "name": "ArtworkSidebar_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkDetails_artwork", - "args": null + "name": "ArtworkDetails_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkImageBrowser_artwork", - "args": null + "name": "ArtworkImageBrowser_artwork" }, { - "kind": "FragmentSpread", - "name": "OtherWorks_artwork", "args": [ { "kind": "Variable", "name": "shouldFetchArtistSeriesData", "variableName": "shouldFetchArtistSeriesData" } - ] + ], + "kind": "FragmentSpread", + "name": "OtherWorks_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "PricingContext_artwork", - "args": null + "name": "PricingContext_artwork" } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = '164faee917283ce6cb127d9a3ee0ca1d'; diff --git a/src/v2/__generated__/ArtworkApp_me.graphql.ts b/src/v2/__generated__/ArtworkApp_me.graphql.ts index 9cc8b165729..56607cfb67e 100644 --- a/src/v2/__generated__/ArtworkApp_me.graphql.ts +++ b/src/v2/__generated__/ArtworkApp_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,18 +16,18 @@ export type ArtworkApp_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkApp_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkApp_me", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebar_me", - "args": null + "name": "ArtworkSidebar_me" } - ] + ], + "type": "Me" }; (node as any).hash = 'aae03275c844ec61c6893b5eee528e86'; export default node; diff --git a/src/v2/__generated__/ArtworkBannerQuery.graphql.ts b/src/v2/__generated__/ArtworkBannerQuery.graphql.ts index d4a322c66da..9d741925063 100644 --- a/src/v2/__generated__/ArtworkBannerQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkBannerQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -81,10 +82,10 @@ fragment ArtworkBanner_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -95,24 +96,24 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "initials", "args": null, + "kind": "ScalarField", + "name": "initials", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = { @@ -121,18 +122,15 @@ v5 = { "value": "square" }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v7 = [ { - "kind": "LinkedField", "alias": "img", - "name": "resized", - "storageKey": "resized(height:70,version:\"square\",width:70)", "args": [ { "kind": "Literal", @@ -147,220 +145,223 @@ v7 = [ } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(height:70,version:\"square\",width:70)" } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtworkBannerQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtworkBannerQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkBanner_artwork", - "args": null + "name": "ArtworkBanner_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtworkBannerQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isBenefit", "args": null, + "kind": "ScalarField", + "name": "isBenefit", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isGalleryAuction", "args": null, + "kind": "ScalarField", + "name": "isGalleryAuction", "storageKey": null }, { - "kind": "LinkedField", "alias": "cover_image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ (v5/*: any*/) ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"square\")" } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "context", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "context", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v4/*: any*/), { "kind": "InlineFragment", - "type": "Sale", "selections": [ (v2/*: any*/), (v6/*: any*/) - ] + ], + "type": "Sale" }, { "kind": "InlineFragment", - "type": "Fair", "selections": [ (v2/*: any*/), (v6/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "icon", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "icon", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "Fair" }, { "kind": "InlineFragment", - "type": "Show", "selections": [ (v2/*: any*/), (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, { - "kind": "LinkedField", "alias": "thumbnail", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null } - ] + ], + "type": "Show" } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtworkBannerQuery", "id": null, - "text": "query ArtworkBannerQuery(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...ArtworkBanner_artwork\n id\n }\n}\n\nfragment ArtworkBanner_artwork on Artwork {\n partner {\n name\n initials\n id\n }\n sale {\n is_auction: isAuction\n isBenefit\n isGalleryAuction\n cover_image: coverImage {\n url(version: \"square\")\n }\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 initials\n icon {\n img: resized(width: 70, height: 70, version: \"square\") {\n url\n }\n }\n id\n }\n }\n ... on Show {\n name\n href\n status\n thumbnail: coverImage {\n img: resized(width: 70, height: 70, version: \"square\") {\n url\n }\n }\n }\n ... on Node {\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkBannerQuery", + "operationKind": "query", + "text": "query ArtworkBannerQuery(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...ArtworkBanner_artwork\n id\n }\n}\n\nfragment ArtworkBanner_artwork on Artwork {\n partner {\n name\n initials\n id\n }\n sale {\n is_auction: isAuction\n isBenefit\n isGalleryAuction\n cover_image: coverImage {\n url(version: \"square\")\n }\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 initials\n icon {\n img: resized(width: 70, height: 70, version: \"square\") {\n url\n }\n }\n id\n }\n }\n ... on Show {\n name\n href\n status\n thumbnail: coverImage {\n img: resized(width: 70, height: 70, version: \"square\") {\n url\n }\n }\n }\n ... on Node {\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkBanner_Test_Query.graphql.ts b/src/v2/__generated__/ArtworkBanner_Test_Query.graphql.ts index 3c984f443a6..88747c204a1 100644 --- a/src/v2/__generated__/ArtworkBanner_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtworkBanner_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -137,24 +138,24 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "initials", "args": null, + "kind": "ScalarField", + "name": "initials", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = { @@ -163,18 +164,15 @@ v4 = { "value": "square" }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v6 = [ { - "kind": "LinkedField", "alias": "img", - "name": "resized", - "storageKey": "resized(height:70,version:\"square\",width:70)", "args": [ { "kind": "Literal", @@ -189,220 +187,223 @@ v6 = [ } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(height:70,version:\"square\",width:70)" } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkBanner_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkBanner_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"richard-anuszkiewicz-lino-yellow-318\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkBanner_artwork", - "args": null + "name": "ArtworkBanner_artwork" } - ] + ], + "storageKey": "artwork(id:\"richard-anuszkiewicz-lino-yellow-318\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkBanner_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"richard-anuszkiewicz-lino-yellow-318\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v1/*: any*/), (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isBenefit", "args": null, + "kind": "ScalarField", + "name": "isBenefit", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isGalleryAuction", "args": null, + "kind": "ScalarField", + "name": "isGalleryAuction", "storageKey": null }, { - "kind": "LinkedField", "alias": "cover_image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ (v4/*: any*/) ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"square\")" } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "context", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "context", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v3/*: any*/), { "kind": "InlineFragment", - "type": "Sale", "selections": [ (v1/*: any*/), (v5/*: any*/) - ] + ], + "type": "Sale" }, { "kind": "InlineFragment", - "type": "Fair", "selections": [ (v1/*: any*/), (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "icon", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "icon", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "Fair" }, { "kind": "InlineFragment", - "type": "Show", "selections": [ (v1/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, { - "kind": "LinkedField", "alias": "thumbnail", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null } - ] + ], + "type": "Show" } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": "artwork(id:\"richard-anuszkiewicz-lino-yellow-318\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkBanner_Test_Query", "id": null, - "text": "query ArtworkBanner_Test_Query {\n artwork(id: \"richard-anuszkiewicz-lino-yellow-318\") {\n ...ArtworkBanner_artwork\n id\n }\n}\n\nfragment ArtworkBanner_artwork on Artwork {\n partner {\n name\n initials\n id\n }\n sale {\n is_auction: isAuction\n isBenefit\n isGalleryAuction\n cover_image: coverImage {\n url(version: \"square\")\n }\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 initials\n icon {\n img: resized(width: 70, height: 70, version: \"square\") {\n url\n }\n }\n id\n }\n }\n ... on Show {\n name\n href\n status\n thumbnail: coverImage {\n img: resized(width: 70, height: 70, version: \"square\") {\n url\n }\n }\n }\n ... on Node {\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkBanner_Test_Query", + "operationKind": "query", + "text": "query ArtworkBanner_Test_Query {\n artwork(id: \"richard-anuszkiewicz-lino-yellow-318\") {\n ...ArtworkBanner_artwork\n id\n }\n}\n\nfragment ArtworkBanner_artwork on Artwork {\n partner {\n name\n initials\n id\n }\n sale {\n is_auction: isAuction\n isBenefit\n isGalleryAuction\n cover_image: coverImage {\n url(version: \"square\")\n }\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 initials\n icon {\n img: resized(width: 70, height: 70, version: \"square\") {\n url\n }\n }\n id\n }\n }\n ... on Show {\n name\n href\n status\n thumbnail: coverImage {\n img: resized(width: 70, height: 70, version: \"square\") {\n url\n }\n }\n }\n ... on Node {\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkBanner_artwork.graphql.ts b/src/v2/__generated__/ArtworkBanner_artwork.graphql.ts index 8690ec24fc4..75f14fdc633 100644 --- a/src/v2/__generated__/ArtworkBanner_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkBanner_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -58,17 +59,17 @@ export type ArtworkBanner_artwork$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "initials", "args": null, + "kind": "ScalarField", + "name": "initials", "storageKey": null }, v2 = { @@ -77,18 +78,15 @@ v2 = { "value": "square" }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v4 = [ { - "kind": "LinkedField", "alias": "img", - "name": "resized", - "storageKey": "resized(height:70,version:\"square\",width:70)", "args": [ { "kind": "Literal", @@ -103,172 +101,175 @@ v4 = [ } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(height:70,version:\"square\",width:70)" } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkBanner_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkBanner_artwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isBenefit", "args": null, + "kind": "ScalarField", + "name": "isBenefit", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isGalleryAuction", "args": null, + "kind": "ScalarField", + "name": "isGalleryAuction", "storageKey": null }, { - "kind": "LinkedField", "alias": "cover_image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ (v2/*: any*/) ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"square\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "context", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "context", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "Sale", "selections": [ (v0/*: any*/), (v3/*: any*/) - ] + ], + "type": "Sale" }, { "kind": "InlineFragment", - "type": "Fair", "selections": [ (v0/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "icon", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "icon", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Fair" }, { "kind": "InlineFragment", - "type": "Show", "selections": [ (v0/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, { - "kind": "LinkedField", "alias": "thumbnail", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null } - ] + ], + "type": "Show" } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = '6f615caa1957f1bdfb662387e2e3cc46'; diff --git a/src/v2/__generated__/ArtworkDetailsAboutTheWorkFromArtsy_artwork.graphql.ts b/src/v2/__generated__/ArtworkDetailsAboutTheWorkFromArtsy_artwork.graphql.ts index cf5c0668c2a..d57fc376cbc 100644 --- a/src/v2/__generated__/ArtworkDetailsAboutTheWorkFromArtsy_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkDetailsAboutTheWorkFromArtsy_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,16 +16,13 @@ export type ArtworkDetailsAboutTheWorkFromArtsy_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkDetailsAboutTheWorkFromArtsy_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkDetailsAboutTheWorkFromArtsy_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "description", "args": [ { "kind": "Literal", @@ -32,9 +30,12 @@ const node: ReaderFragment = { "value": "HTML" } ], + "kind": "ScalarField", + "name": "description", "storageKey": "description(format:\"HTML\")" } - ] + ], + "type": "Artwork" }; (node as any).hash = '621e4eaa61c267369ccc26d7d14d9ef3'; export default node; diff --git a/src/v2/__generated__/ArtworkDetailsAboutTheWorkFromPartner_artwork.graphql.ts b/src/v2/__generated__/ArtworkDetailsAboutTheWorkFromPartner_artwork.graphql.ts index e6f47252943..e0163b5f803 100644 --- a/src/v2/__generated__/ArtworkDetailsAboutTheWorkFromPartner_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkDetailsAboutTheWorkFromPartner_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -39,23 +40,20 @@ export type ArtworkDetailsAboutTheWorkFromPartner_artwork$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkDetailsAboutTheWorkFromPartner_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkDetailsAboutTheWorkFromPartner_artwork", "selections": [ { - "kind": "ScalarField", "alias": "additional_information", - "name": "additionalInformation", "args": [ { "kind": "Literal", @@ -63,126 +61,123 @@ return { "value": "HTML" } ], + "kind": "ScalarField", + "name": "additionalInformation", "storageKey": "additionalInformation(format:\"HTML\")" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "isBenefit", "args": null, + "kind": "ScalarField", + "name": "isBenefit", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isGalleryAuction", "args": null, + "kind": "ScalarField", + "name": "isGalleryAuction", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "initials", "args": null, + "kind": "ScalarField", + "name": "initials", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "locations", - "storageKey": null, "args": null, "concreteType": "Location", + "kind": "LinkedField", + "name": "locations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_default_profile_public", - "name": "isDefaultProfilePublic", "args": null, + "kind": "ScalarField", + "name": "isDefaultProfilePublic", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "icon", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "icon", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -190,20 +185,26 @@ return { "value": "square140" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"square140\")" } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "FollowProfileButton_profile", - "args": null + "name": "FollowProfileButton_profile" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = 'b4d409938d5854193023a059e8c29a43'; diff --git a/src/v2/__generated__/ArtworkDetailsAdditionalInfo_artwork.graphql.ts b/src/v2/__generated__/ArtworkDetailsAdditionalInfo_artwork.graphql.ts index 0b67d7885f1..5d911554eac 100644 --- a/src/v2/__generated__/ArtworkDetailsAdditionalInfo_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkDetailsAdditionalInfo_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -39,117 +40,117 @@ export type ArtworkDetailsAdditionalInfo_artwork$key = { const node: ReaderFragment = (function(){ var v0 = [ { - "kind": "ScalarField", "alias": null, - "name": "label", "args": null, + "kind": "ScalarField", + "name": "label", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "details", "args": null, + "kind": "ScalarField", + "name": "details", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkDetailsAdditionalInfo_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkDetailsAdditionalInfo_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "category", "args": null, + "kind": "ScalarField", + "name": "category", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "series", "args": null, + "kind": "ScalarField", + "name": "series", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "publisher", "args": null, + "kind": "ScalarField", + "name": "publisher", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "manufacturer", "args": null, + "kind": "ScalarField", + "name": "manufacturer", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_rights", - "name": "imageRights", "args": null, + "kind": "ScalarField", + "name": "imageRights", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "canRequestLotConditionsReport", "args": null, + "kind": "ScalarField", + "name": "canRequestLotConditionsReport", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "framed", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "framed", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "signatureInfo", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "signatureInfo", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "conditionDescription", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "conditionDescription", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "certificateOfAuthenticity", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "certificateOfAuthenticity", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = '866bbb3484e7b8b12947081a9d28eb6a'; diff --git a/src/v2/__generated__/ArtworkDetailsArticles_artwork.graphql.ts b/src/v2/__generated__/ArtworkDetailsArticles_artwork.graphql.ts index 7ce5b21233c..35b0a3707f0 100644 --- a/src/v2/__generated__/ArtworkDetailsArticles_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkDetailsArticles_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -27,17 +28,13 @@ export type ArtworkDetailsArticles_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkDetailsArticles_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkDetailsArticles_artwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "articles", - "storageKey": "articles(size:10)", "args": [ { "kind": "Literal", @@ -46,37 +43,37 @@ const node: ReaderFragment = { } ], "concreteType": "Article", + "kind": "LinkedField", + "name": "articles", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "author", - "storageKey": null, "args": null, "concreteType": "Author", + "kind": "LinkedField", + "name": "author", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": "published_at", - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -84,22 +81,20 @@ const node: ReaderFragment = { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM Do, YYYY\")" }, { - "kind": "LinkedField", "alias": "thumbnail_image", - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:300)", "args": [ { "kind": "Literal", @@ -108,29 +103,35 @@ const node: ReaderFragment = { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:300)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "thumbnail_title", - "name": "thumbnailTitle", "args": null, + "kind": "ScalarField", + "name": "thumbnailTitle", "storageKey": null } - ] + ], + "storageKey": "articles(size:10)" } - ] + ], + "type": "Artwork" }; (node as any).hash = '07fa06d932146874a0ac580620a5cdf9'; export default node; diff --git a/src/v2/__generated__/ArtworkDetailsQuery.graphql.ts b/src/v2/__generated__/ArtworkDetailsQuery.graphql.ts index dc9a2f5dc08..fcb9498398b 100644 --- a/src/v2/__generated__/ArtworkDetailsQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkDetailsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -130,10 +131,10 @@ fragment FollowProfileButton_profile on Profile { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -151,222 +152,216 @@ v2 = [ } ], v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v8 = [ { - "kind": "ScalarField", "alias": null, - "name": "label", "args": null, + "kind": "ScalarField", + "name": "label", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "details", "args": null, + "kind": "ScalarField", + "name": "details", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtworkDetailsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtworkDetailsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkDetails_artwork", - "args": null + "name": "ArtworkDetails_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtworkDetailsQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "description", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "description", "storageKey": "description(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": "additional_information", - "name": "additionalInformation", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "additionalInformation", "storageKey": "additionalInformation(format:\"HTML\")" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "isBenefit", "args": null, + "kind": "ScalarField", + "name": "isBenefit", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isGalleryAuction", "args": null, + "kind": "ScalarField", + "name": "isGalleryAuction", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v4/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, (v6/*: any*/), (v7/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "initials", "args": null, + "kind": "ScalarField", + "name": "initials", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "locations", - "storageKey": null, "args": null, "concreteType": "Location", + "kind": "LinkedField", + "name": "locations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_default_profile_public", - "name": "isDefaultProfilePublic", "args": null, + "kind": "ScalarField", + "name": "isDefaultProfilePublic", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "icon", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "icon", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -374,103 +369,105 @@ return { "value": "square140" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"square140\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "category", "args": null, + "kind": "ScalarField", + "name": "category", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "series", "args": null, + "kind": "ScalarField", + "name": "series", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "publisher", "args": null, + "kind": "ScalarField", + "name": "publisher", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "manufacturer", "args": null, + "kind": "ScalarField", + "name": "manufacturer", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_rights", - "name": "imageRights", "args": null, + "kind": "ScalarField", + "name": "imageRights", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "canRequestLotConditionsReport", "args": null, + "kind": "ScalarField", + "name": "canRequestLotConditionsReport", "storageKey": null }, (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "framed", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "framed", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "signatureInfo", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "signatureInfo", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "conditionDescription", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "conditionDescription", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "certificateOfAuthenticity", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "certificateOfAuthenticity", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "articles", - "storageKey": "articles(size:10)", "args": [ { "kind": "Literal", @@ -479,26 +476,26 @@ return { } ], "concreteType": "Article", + "kind": "LinkedField", + "name": "articles", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "author", - "storageKey": null, "args": null, "concreteType": "Author", + "kind": "LinkedField", + "name": "author", "plural": false, "selections": [ (v7/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, (v6/*: any*/), { - "kind": "ScalarField", "alias": "published_at", - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -506,22 +503,20 @@ return { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM Do, YYYY\")" }, { - "kind": "LinkedField", "alias": "thumbnail_image", - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:300)", "args": [ { "kind": "Literal", @@ -530,62 +525,68 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:300)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "thumbnail_title", - "name": "thumbnailTitle", "args": null, + "kind": "ScalarField", + "name": "thumbnailTitle", "storageKey": null }, (v3/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": "articles(size:10)" }, { - "kind": "ScalarField", "alias": null, - "name": "literature", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "literature", "storageKey": "literature(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": "exhibition_history", - "name": "exhibitionHistory", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "exhibitionHistory", "storageKey": "exhibitionHistory(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": null, - "name": "provenance", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "provenance", "storageKey": "provenance(format:\"HTML\")" }, (v3/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtworkDetailsQuery", "id": null, - "text": "query ArtworkDetailsQuery(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...ArtworkDetails_artwork\n id\n }\n}\n\nfragment ArtworkDetailsAboutTheWorkFromArtsy_artwork on Artwork {\n description(format: HTML)\n}\n\nfragment ArtworkDetailsAboutTheWorkFromPartner_artwork on Artwork {\n additional_information: additionalInformation(format: HTML)\n sale {\n isBenefit\n isGalleryAuction\n id\n }\n partner {\n internalID\n slug\n type\n href\n name\n initials\n locations {\n city\n id\n }\n is_default_profile_public: isDefaultProfilePublic\n profile {\n ...FollowProfileButton_profile\n slug\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n}\n\nfragment ArtworkDetailsAdditionalInfo_artwork on Artwork {\n category\n series\n publisher\n manufacturer\n image_rights: imageRights\n canRequestLotConditionsReport\n internalID\n framed {\n label\n details\n }\n signatureInfo {\n label\n details\n }\n conditionDescription {\n label\n details\n }\n certificateOfAuthenticity {\n label\n details\n }\n}\n\nfragment ArtworkDetailsArticles_artwork on Artwork {\n articles(size: 10) {\n author {\n name\n id\n }\n href\n published_at: publishedAt(format: \"MMM Do, YYYY\")\n thumbnail_image: thumbnailImage {\n resized(width: 300) {\n url\n }\n }\n thumbnail_title: thumbnailTitle\n id\n }\n}\n\nfragment ArtworkDetails_artwork on Artwork {\n ...ArtworkDetailsAboutTheWorkFromArtsy_artwork\n ...ArtworkDetailsAboutTheWorkFromPartner_artwork\n ...ArtworkDetailsAdditionalInfo_artwork\n ...ArtworkDetailsArticles_artwork\n articles(size: 10) {\n slug\n id\n }\n literature(format: HTML)\n exhibition_history: exhibitionHistory(format: HTML)\n provenance(format: HTML)\n}\n\nfragment FollowProfileButton_profile on Profile {\n id\n internalID\n is_followed: isFollowed\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkDetailsQuery", + "operationKind": "query", + "text": "query ArtworkDetailsQuery(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...ArtworkDetails_artwork\n id\n }\n}\n\nfragment ArtworkDetailsAboutTheWorkFromArtsy_artwork on Artwork {\n description(format: HTML)\n}\n\nfragment ArtworkDetailsAboutTheWorkFromPartner_artwork on Artwork {\n additional_information: additionalInformation(format: HTML)\n sale {\n isBenefit\n isGalleryAuction\n id\n }\n partner {\n internalID\n slug\n type\n href\n name\n initials\n locations {\n city\n id\n }\n is_default_profile_public: isDefaultProfilePublic\n profile {\n ...FollowProfileButton_profile\n slug\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n}\n\nfragment ArtworkDetailsAdditionalInfo_artwork on Artwork {\n category\n series\n publisher\n manufacturer\n image_rights: imageRights\n canRequestLotConditionsReport\n internalID\n framed {\n label\n details\n }\n signatureInfo {\n label\n details\n }\n conditionDescription {\n label\n details\n }\n certificateOfAuthenticity {\n label\n details\n }\n}\n\nfragment ArtworkDetailsArticles_artwork on Artwork {\n articles(size: 10) {\n author {\n name\n id\n }\n href\n published_at: publishedAt(format: \"MMM Do, YYYY\")\n thumbnail_image: thumbnailImage {\n resized(width: 300) {\n url\n }\n }\n thumbnail_title: thumbnailTitle\n id\n }\n}\n\nfragment ArtworkDetails_artwork on Artwork {\n ...ArtworkDetailsAboutTheWorkFromArtsy_artwork\n ...ArtworkDetailsAboutTheWorkFromPartner_artwork\n ...ArtworkDetailsAdditionalInfo_artwork\n ...ArtworkDetailsArticles_artwork\n articles(size: 10) {\n slug\n id\n }\n literature(format: HTML)\n exhibition_history: exhibitionHistory(format: HTML)\n provenance(format: HTML)\n}\n\nfragment FollowProfileButton_profile on Profile {\n id\n internalID\n is_followed: isFollowed\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkDetailsStoryQuery.graphql.ts b/src/v2/__generated__/ArtworkDetailsStoryQuery.graphql.ts index 3087aed84f5..8f700f59d4e 100644 --- a/src/v2/__generated__/ArtworkDetailsStoryQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkDetailsStoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -139,222 +140,216 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v7 = [ { - "kind": "ScalarField", "alias": null, - "name": "label", "args": null, + "kind": "ScalarField", + "name": "label", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "details", "args": null, + "kind": "ScalarField", + "name": "details", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkDetailsStoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkDetailsStoryQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkDetails_artwork", - "args": null + "name": "ArtworkDetails_artwork" } - ] + ], + "storageKey": "artwork(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkDetailsStoryQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "description", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "description", "storageKey": "description(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": "additional_information", - "name": "additionalInformation", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "additionalInformation", "storageKey": "additionalInformation(format:\"HTML\")" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "isBenefit", "args": null, + "kind": "ScalarField", + "name": "isBenefit", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isGalleryAuction", "args": null, + "kind": "ScalarField", + "name": "isGalleryAuction", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, (v5/*: any*/), (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "initials", "args": null, + "kind": "ScalarField", + "name": "initials", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "locations", - "storageKey": null, "args": null, "concreteType": "Location", + "kind": "LinkedField", + "name": "locations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_default_profile_public", - "name": "isDefaultProfilePublic", "args": null, + "kind": "ScalarField", + "name": "isDefaultProfilePublic", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "icon", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "icon", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -362,103 +357,105 @@ return { "value": "square140" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"square140\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "category", "args": null, + "kind": "ScalarField", + "name": "category", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "series", "args": null, + "kind": "ScalarField", + "name": "series", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "publisher", "args": null, + "kind": "ScalarField", + "name": "publisher", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "manufacturer", "args": null, + "kind": "ScalarField", + "name": "manufacturer", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_rights", - "name": "imageRights", "args": null, + "kind": "ScalarField", + "name": "imageRights", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "canRequestLotConditionsReport", "args": null, + "kind": "ScalarField", + "name": "canRequestLotConditionsReport", "storageKey": null }, (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "framed", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "framed", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "signatureInfo", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "signatureInfo", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "conditionDescription", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "conditionDescription", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "certificateOfAuthenticity", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "certificateOfAuthenticity", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "articles", - "storageKey": "articles(size:10)", "args": [ { "kind": "Literal", @@ -467,26 +464,26 @@ return { } ], "concreteType": "Article", + "kind": "LinkedField", + "name": "articles", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "author", - "storageKey": null, "args": null, "concreteType": "Author", + "kind": "LinkedField", + "name": "author", "plural": false, "selections": [ (v6/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null }, (v5/*: any*/), { - "kind": "ScalarField", "alias": "published_at", - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -494,22 +491,20 @@ return { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM Do, YYYY\")" }, { - "kind": "LinkedField", "alias": "thumbnail_image", - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:300)", "args": [ { "kind": "Literal", @@ -518,62 +513,68 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:300)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "thumbnail_title", - "name": "thumbnailTitle", "args": null, + "kind": "ScalarField", + "name": "thumbnailTitle", "storageKey": null }, (v2/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": "articles(size:10)" }, { - "kind": "ScalarField", "alias": null, - "name": "literature", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "literature", "storageKey": "literature(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": "exhibition_history", - "name": "exhibitionHistory", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "exhibitionHistory", "storageKey": "exhibitionHistory(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": null, - "name": "provenance", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "provenance", "storageKey": "provenance(format:\"HTML\")" }, (v2/*: any*/) - ] + ], + "storageKey": "artwork(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkDetailsStoryQuery", "id": null, - "text": "query ArtworkDetailsStoryQuery {\n artwork(id: \"unused\") {\n ...ArtworkDetails_artwork\n id\n }\n}\n\nfragment ArtworkDetailsAboutTheWorkFromArtsy_artwork on Artwork {\n description(format: HTML)\n}\n\nfragment ArtworkDetailsAboutTheWorkFromPartner_artwork on Artwork {\n additional_information: additionalInformation(format: HTML)\n sale {\n isBenefit\n isGalleryAuction\n id\n }\n partner {\n internalID\n slug\n type\n href\n name\n initials\n locations {\n city\n id\n }\n is_default_profile_public: isDefaultProfilePublic\n profile {\n ...FollowProfileButton_profile\n slug\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n}\n\nfragment ArtworkDetailsAdditionalInfo_artwork on Artwork {\n category\n series\n publisher\n manufacturer\n image_rights: imageRights\n canRequestLotConditionsReport\n internalID\n framed {\n label\n details\n }\n signatureInfo {\n label\n details\n }\n conditionDescription {\n label\n details\n }\n certificateOfAuthenticity {\n label\n details\n }\n}\n\nfragment ArtworkDetailsArticles_artwork on Artwork {\n articles(size: 10) {\n author {\n name\n id\n }\n href\n published_at: publishedAt(format: \"MMM Do, YYYY\")\n thumbnail_image: thumbnailImage {\n resized(width: 300) {\n url\n }\n }\n thumbnail_title: thumbnailTitle\n id\n }\n}\n\nfragment ArtworkDetails_artwork on Artwork {\n ...ArtworkDetailsAboutTheWorkFromArtsy_artwork\n ...ArtworkDetailsAboutTheWorkFromPartner_artwork\n ...ArtworkDetailsAdditionalInfo_artwork\n ...ArtworkDetailsArticles_artwork\n articles(size: 10) {\n slug\n id\n }\n literature(format: HTML)\n exhibition_history: exhibitionHistory(format: HTML)\n provenance(format: HTML)\n}\n\nfragment FollowProfileButton_profile on Profile {\n id\n internalID\n is_followed: isFollowed\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkDetailsStoryQuery", + "operationKind": "query", + "text": "query ArtworkDetailsStoryQuery {\n artwork(id: \"unused\") {\n ...ArtworkDetails_artwork\n id\n }\n}\n\nfragment ArtworkDetailsAboutTheWorkFromArtsy_artwork on Artwork {\n description(format: HTML)\n}\n\nfragment ArtworkDetailsAboutTheWorkFromPartner_artwork on Artwork {\n additional_information: additionalInformation(format: HTML)\n sale {\n isBenefit\n isGalleryAuction\n id\n }\n partner {\n internalID\n slug\n type\n href\n name\n initials\n locations {\n city\n id\n }\n is_default_profile_public: isDefaultProfilePublic\n profile {\n ...FollowProfileButton_profile\n slug\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n}\n\nfragment ArtworkDetailsAdditionalInfo_artwork on Artwork {\n category\n series\n publisher\n manufacturer\n image_rights: imageRights\n canRequestLotConditionsReport\n internalID\n framed {\n label\n details\n }\n signatureInfo {\n label\n details\n }\n conditionDescription {\n label\n details\n }\n certificateOfAuthenticity {\n label\n details\n }\n}\n\nfragment ArtworkDetailsArticles_artwork on Artwork {\n articles(size: 10) {\n author {\n name\n id\n }\n href\n published_at: publishedAt(format: \"MMM Do, YYYY\")\n thumbnail_image: thumbnailImage {\n resized(width: 300) {\n url\n }\n }\n thumbnail_title: thumbnailTitle\n id\n }\n}\n\nfragment ArtworkDetails_artwork on Artwork {\n ...ArtworkDetailsAboutTheWorkFromArtsy_artwork\n ...ArtworkDetailsAboutTheWorkFromPartner_artwork\n ...ArtworkDetailsAdditionalInfo_artwork\n ...ArtworkDetailsArticles_artwork\n articles(size: 10) {\n slug\n id\n }\n literature(format: HTML)\n exhibition_history: exhibitionHistory(format: HTML)\n provenance(format: HTML)\n}\n\nfragment FollowProfileButton_profile on Profile {\n id\n internalID\n is_followed: isFollowed\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkDetails_Test_Query.graphql.ts b/src/v2/__generated__/ArtworkDetails_Test_Query.graphql.ts index 204122e3da8..afc25e18176 100644 --- a/src/v2/__generated__/ArtworkDetails_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtworkDetails_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -217,222 +218,216 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v7 = [ { - "kind": "ScalarField", "alias": null, - "name": "label", "args": null, + "kind": "ScalarField", + "name": "label", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "details", "args": null, + "kind": "ScalarField", + "name": "details", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkDetails_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkDetails_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"richard-prince-untitled-fashion\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkDetails_artwork", - "args": null + "name": "ArtworkDetails_artwork" } - ] + ], + "storageKey": "artwork(id:\"richard-prince-untitled-fashion\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkDetails_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"richard-prince-untitled-fashion\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "description", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "description", "storageKey": "description(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": "additional_information", - "name": "additionalInformation", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "additionalInformation", "storageKey": "additionalInformation(format:\"HTML\")" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "isBenefit", "args": null, + "kind": "ScalarField", + "name": "isBenefit", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isGalleryAuction", "args": null, + "kind": "ScalarField", + "name": "isGalleryAuction", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, (v5/*: any*/), (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "initials", "args": null, + "kind": "ScalarField", + "name": "initials", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "locations", - "storageKey": null, "args": null, "concreteType": "Location", + "kind": "LinkedField", + "name": "locations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_default_profile_public", - "name": "isDefaultProfilePublic", "args": null, + "kind": "ScalarField", + "name": "isDefaultProfilePublic", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "icon", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "icon", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -440,103 +435,105 @@ return { "value": "square140" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"square140\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "category", "args": null, + "kind": "ScalarField", + "name": "category", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "series", "args": null, + "kind": "ScalarField", + "name": "series", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "publisher", "args": null, + "kind": "ScalarField", + "name": "publisher", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "manufacturer", "args": null, + "kind": "ScalarField", + "name": "manufacturer", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_rights", - "name": "imageRights", "args": null, + "kind": "ScalarField", + "name": "imageRights", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "canRequestLotConditionsReport", "args": null, + "kind": "ScalarField", + "name": "canRequestLotConditionsReport", "storageKey": null }, (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "framed", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "framed", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "signatureInfo", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "signatureInfo", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "conditionDescription", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "conditionDescription", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "certificateOfAuthenticity", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "certificateOfAuthenticity", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "articles", - "storageKey": "articles(size:10)", "args": [ { "kind": "Literal", @@ -545,26 +542,26 @@ return { } ], "concreteType": "Article", + "kind": "LinkedField", + "name": "articles", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "author", - "storageKey": null, "args": null, "concreteType": "Author", + "kind": "LinkedField", + "name": "author", "plural": false, "selections": [ (v6/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null }, (v5/*: any*/), { - "kind": "ScalarField", "alias": "published_at", - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -572,22 +569,20 @@ return { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM Do, YYYY\")" }, { - "kind": "LinkedField", "alias": "thumbnail_image", - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:300)", "args": [ { "kind": "Literal", @@ -596,62 +591,68 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:300)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "thumbnail_title", - "name": "thumbnailTitle", "args": null, + "kind": "ScalarField", + "name": "thumbnailTitle", "storageKey": null }, (v2/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": "articles(size:10)" }, { - "kind": "ScalarField", "alias": null, - "name": "literature", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "literature", "storageKey": "literature(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": "exhibition_history", - "name": "exhibitionHistory", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "exhibitionHistory", "storageKey": "exhibitionHistory(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": null, - "name": "provenance", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "provenance", "storageKey": "provenance(format:\"HTML\")" }, (v2/*: any*/) - ] + ], + "storageKey": "artwork(id:\"richard-prince-untitled-fashion\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkDetails_Test_Query", "id": null, - "text": "query ArtworkDetails_Test_Query {\n artwork(id: \"richard-prince-untitled-fashion\") {\n ...ArtworkDetails_artwork\n id\n }\n}\n\nfragment ArtworkDetailsAboutTheWorkFromArtsy_artwork on Artwork {\n description(format: HTML)\n}\n\nfragment ArtworkDetailsAboutTheWorkFromPartner_artwork on Artwork {\n additional_information: additionalInformation(format: HTML)\n sale {\n isBenefit\n isGalleryAuction\n id\n }\n partner {\n internalID\n slug\n type\n href\n name\n initials\n locations {\n city\n id\n }\n is_default_profile_public: isDefaultProfilePublic\n profile {\n ...FollowProfileButton_profile\n slug\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n}\n\nfragment ArtworkDetailsAdditionalInfo_artwork on Artwork {\n category\n series\n publisher\n manufacturer\n image_rights: imageRights\n canRequestLotConditionsReport\n internalID\n framed {\n label\n details\n }\n signatureInfo {\n label\n details\n }\n conditionDescription {\n label\n details\n }\n certificateOfAuthenticity {\n label\n details\n }\n}\n\nfragment ArtworkDetailsArticles_artwork on Artwork {\n articles(size: 10) {\n author {\n name\n id\n }\n href\n published_at: publishedAt(format: \"MMM Do, YYYY\")\n thumbnail_image: thumbnailImage {\n resized(width: 300) {\n url\n }\n }\n thumbnail_title: thumbnailTitle\n id\n }\n}\n\nfragment ArtworkDetails_artwork on Artwork {\n ...ArtworkDetailsAboutTheWorkFromArtsy_artwork\n ...ArtworkDetailsAboutTheWorkFromPartner_artwork\n ...ArtworkDetailsAdditionalInfo_artwork\n ...ArtworkDetailsArticles_artwork\n articles(size: 10) {\n slug\n id\n }\n literature(format: HTML)\n exhibition_history: exhibitionHistory(format: HTML)\n provenance(format: HTML)\n}\n\nfragment FollowProfileButton_profile on Profile {\n id\n internalID\n is_followed: isFollowed\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkDetails_Test_Query", + "operationKind": "query", + "text": "query ArtworkDetails_Test_Query {\n artwork(id: \"richard-prince-untitled-fashion\") {\n ...ArtworkDetails_artwork\n id\n }\n}\n\nfragment ArtworkDetailsAboutTheWorkFromArtsy_artwork on Artwork {\n description(format: HTML)\n}\n\nfragment ArtworkDetailsAboutTheWorkFromPartner_artwork on Artwork {\n additional_information: additionalInformation(format: HTML)\n sale {\n isBenefit\n isGalleryAuction\n id\n }\n partner {\n internalID\n slug\n type\n href\n name\n initials\n locations {\n city\n id\n }\n is_default_profile_public: isDefaultProfilePublic\n profile {\n ...FollowProfileButton_profile\n slug\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n}\n\nfragment ArtworkDetailsAdditionalInfo_artwork on Artwork {\n category\n series\n publisher\n manufacturer\n image_rights: imageRights\n canRequestLotConditionsReport\n internalID\n framed {\n label\n details\n }\n signatureInfo {\n label\n details\n }\n conditionDescription {\n label\n details\n }\n certificateOfAuthenticity {\n label\n details\n }\n}\n\nfragment ArtworkDetailsArticles_artwork on Artwork {\n articles(size: 10) {\n author {\n name\n id\n }\n href\n published_at: publishedAt(format: \"MMM Do, YYYY\")\n thumbnail_image: thumbnailImage {\n resized(width: 300) {\n url\n }\n }\n thumbnail_title: thumbnailTitle\n id\n }\n}\n\nfragment ArtworkDetails_artwork on Artwork {\n ...ArtworkDetailsAboutTheWorkFromArtsy_artwork\n ...ArtworkDetailsAboutTheWorkFromPartner_artwork\n ...ArtworkDetailsAdditionalInfo_artwork\n ...ArtworkDetailsArticles_artwork\n articles(size: 10) {\n slug\n id\n }\n literature(format: HTML)\n exhibition_history: exhibitionHistory(format: HTML)\n provenance(format: HTML)\n}\n\nfragment FollowProfileButton_profile on Profile {\n id\n internalID\n is_followed: isFollowed\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkDetails_artwork.graphql.ts b/src/v2/__generated__/ArtworkDetails_artwork.graphql.ts index bcb8800e186..42450201644 100644 --- a/src/v2/__generated__/ArtworkDetails_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkDetails_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -29,17 +30,13 @@ var v0 = [ } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkDetails_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkDetails_artwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "articles", - "storageKey": "articles(size:10)", "args": [ { "kind": "Literal", @@ -48,59 +45,63 @@ return { } ], "concreteType": "Article", + "kind": "LinkedField", + "name": "articles", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "storageKey": "articles(size:10)" }, { - "kind": "ScalarField", "alias": null, - "name": "literature", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "literature", "storageKey": "literature(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": "exhibition_history", - "name": "exhibitionHistory", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "exhibitionHistory", "storageKey": "exhibitionHistory(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": null, - "name": "provenance", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "provenance", "storageKey": "provenance(format:\"HTML\")" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkDetailsAboutTheWorkFromArtsy_artwork", - "args": null + "name": "ArtworkDetailsAboutTheWorkFromArtsy_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkDetailsAboutTheWorkFromPartner_artwork", - "args": null + "name": "ArtworkDetailsAboutTheWorkFromPartner_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkDetailsAdditionalInfo_artwork", - "args": null + "name": "ArtworkDetailsAdditionalInfo_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkDetailsArticles_artwork", - "args": null + "name": "ArtworkDetailsArticles_artwork" } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = 'ea24475efa27d1d663735de4d3c074f2'; diff --git a/src/v2/__generated__/ArtworkFilterArtworkGrid2_filtered_artworks.graphql.ts b/src/v2/__generated__/ArtworkFilterArtworkGrid2_filtered_artworks.graphql.ts index 22076cc1115..ead332daae7 100644 --- a/src/v2/__generated__/ArtworkFilterArtworkGrid2_filtered_artworks.graphql.ts +++ b/src/v2/__generated__/ArtworkFilterArtworkGrid2_filtered_artworks.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS" | "GALLERY" | "INSTITUTION" | "MAJOR_PERIOD" | "MEDIUM" | "MERCHANDISABLE_ARTISTS" | "PARTNER_CITY" | "PERIOD" | "PRICE_RANGE" | "TOTAL" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS" | "GALLERY" | "INSTITUTION" | "MAJOR_PERIOD" | "MEDIUM" | "MERCHANDISABLE_ARTISTS" | "PARTNER_CITY" | "PERIOD" | "PRICE_RANGE" | "TOTAL" | "%future added value"; export type ArtworkFilterArtworkGrid2_filtered_artworks = { readonly id: string; readonly aggregations: ReadonlyArray<{ @@ -38,140 +39,140 @@ export type ArtworkFilterArtworkGrid2_filtered_artworks$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkFilterArtworkGrid2_filtered_artworks", - "type": "FilterArtworksConnection", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkFilterArtworkGrid2_filtered_artworks", "selections": [ (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Pagination_pageCursors", - "args": null + "name": "Pagination_pageCursors" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkGrid_artworks", - "args": null + "name": "ArtworkGrid_artworks" } - ] + ], + "type": "FilterArtworksConnection" }; })(); (node as any).hash = '3b186cfca981d2185ec31f15f09ca8f2'; diff --git a/src/v2/__generated__/ArtworkFilter_viewer.graphql.ts b/src/v2/__generated__/ArtworkFilter_viewer.graphql.ts index 49c45e8c815..3ade025dfc7 100644 --- a/src/v2/__generated__/ArtworkFilter_viewer.graphql.ts +++ b/src/v2/__generated__/ArtworkFilter_viewer.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -18,138 +19,134 @@ export type ArtworkFilter_viewer$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "ArtworkFilter_viewer", - "type": "Viewer", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": null, "kind": "LocalArgument", "name": "acquireable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "aggregations", - "type": "[ArtworkAggregation]", - "defaultValue": null + "type": "[ArtworkAggregation]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "atAuction", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "attributionClass", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "color", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "height", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "inquireableOnly", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "keyword", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "majorPeriods", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "offerable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "partnerID", - "type": "ID", - "defaultValue": null + "type": "ID" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sizes", - "type": "[ArtworkSizes]", - "defaultValue": null + "type": "[ArtworkSizes]" }, { + "defaultValue": "-partner_updated_at", "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": "-partner_updated_at" + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "width", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": 30, "kind": "LocalArgument", "name": "first", - "type": "Int", - "defaultValue": 30 + "type": "Int" } ], + "kind": "Fragment", + "metadata": null, + "name": "ArtworkFilter_viewer", "selections": [ { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "artworksConnection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -253,23 +250,27 @@ const node: ReaderFragment = { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkFilterArtworkGrid2_filtered_artworks", - "args": null + "name": "ArtworkFilterArtworkGrid2_filtered_artworks" } - ] + ], + "storageKey": null } - ] + ], + "type": "Viewer" }; (node as any).hash = '35138d48a93ef0f71ee5c77428ffce91'; export default node; diff --git a/src/v2/__generated__/ArtworkGridExampleQuery.graphql.ts b/src/v2/__generated__/ArtworkGridExampleQuery.graphql.ts index 344ea636f87..8472045372c 100644 --- a/src/v2/__generated__/ArtworkGridExampleQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkGridExampleQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -157,10 +158,10 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -178,17 +179,17 @@ v2 = [ } ], v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v5 = [ @@ -199,150 +200,143 @@ v5 = [ } ], v6 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v7 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtworkGridExampleQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtworkGridExampleQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "artworks", - "name": "artworksConnection", - "storageKey": "artworksConnection(first:10)", "args": (v2/*: any*/), "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkGrid_artworks", - "args": null + "name": "ArtworkGrid_artworks" } - ] + ], + "storageKey": "artworksConnection(first:10)" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtworkGridExampleQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "artworks", - "name": "artworksConnection", - "storageKey": "artworksConnection(first:10)", "args": (v2/*: any*/), "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -350,230 +344,237 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v5/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v3/*: any*/), (v4/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v5/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v6/*: any*/), (v4/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:10)" }, (v3/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtworkGridExampleQuery", "id": null, - "text": "query ArtworkGridExampleQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n artworks: artworksConnection(first: 10) {\n ...ArtworkGrid_artworks\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkGridExampleQuery", + "operationKind": "query", + "text": "query ArtworkGridExampleQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n artworks: artworksConnection(first: 10) {\n ...ArtworkGrid_artworks\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkGridQuery.graphql.ts b/src/v2/__generated__/ArtworkGridQuery.graphql.ts index dd275851778..3c32141f7a0 100644 --- a/src/v2/__generated__/ArtworkGridQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkGridQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -157,10 +158,10 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -178,17 +179,17 @@ v2 = [ } ], v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v5 = [ @@ -199,150 +200,143 @@ v5 = [ } ], v6 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v7 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtworkGridQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtworkGridQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "artworks", - "name": "artworksConnection", - "storageKey": "artworksConnection(first:10)", "args": (v2/*: any*/), "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkGrid_artworks", - "args": null + "name": "ArtworkGrid_artworks" } - ] + ], + "storageKey": "artworksConnection(first:10)" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtworkGridQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "artworks", - "name": "artworksConnection", - "storageKey": "artworksConnection(first:10)", "args": (v2/*: any*/), "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -350,230 +344,237 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v5/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v3/*: any*/), (v4/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v5/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v6/*: any*/), (v4/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:10)" }, (v3/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtworkGridQuery", "id": null, - "text": "query ArtworkGridQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n artworks: artworksConnection(first: 10) {\n ...ArtworkGrid_artworks\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkGridQuery", + "operationKind": "query", + "text": "query ArtworkGridQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n artworks: artworksConnection(first: 10) {\n ...ArtworkGrid_artworks\n }\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkGrid_Test_Query.graphql.ts b/src/v2/__generated__/ArtworkGrid_Test_Query.graphql.ts index cdd949a76e2..327e4dcceb3 100644 --- a/src/v2/__generated__/ArtworkGrid_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtworkGrid_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -225,17 +226,17 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v3 = [ @@ -246,67 +247,63 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v5 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkGrid_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkGrid_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"pablo-picasso\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkGrid_artist", - "args": null + "name": "ArtworkGrid_artist" } - ] + ], + "storageKey": "artist(id:\"pablo-picasso\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkGrid_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"pablo-picasso\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "artworks_connection", - "name": "artworksConnection", - "storageKey": "artworksConnection(first:4)", "args": [ { "kind": "Literal", @@ -315,76 +312,73 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -392,230 +386,237 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v3/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v1/*: any*/), (v2/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v3/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v4/*: any*/), (v2/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v1/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:4)" }, (v1/*: any*/) - ] + ], + "storageKey": "artist(id:\"pablo-picasso\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkGrid_Test_Query", "id": null, - "text": "query ArtworkGrid_Test_Query {\n artist(id: \"pablo-picasso\") {\n ...ArtworkGrid_artist\n id\n }\n}\n\nfragment ArtworkGrid_artist on Artist {\n artworks_connection: artworksConnection(first: 4) {\n ...ArtworkGrid_artworks\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkGrid_Test_Query", + "operationKind": "query", + "text": "query ArtworkGrid_Test_Query {\n artist(id: \"pablo-picasso\") {\n ...ArtworkGrid_artist\n id\n }\n}\n\nfragment ArtworkGrid_artist on Artist {\n artworks_connection: artworksConnection(first: 4) {\n ...ArtworkGrid_artworks\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkGrid_artist.graphql.ts b/src/v2/__generated__/ArtworkGrid_artist.graphql.ts index 0b8810d93b7..bda473e2733 100644 --- a/src/v2/__generated__/ArtworkGrid_artist.graphql.ts +++ b/src/v2/__generated__/ArtworkGrid_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -17,17 +18,13 @@ export type ArtworkGrid_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkGrid_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkGrid_artist", "selections": [ { - "kind": "LinkedField", "alias": "artworks_connection", - "name": "artworksConnection", - "storageKey": "artworksConnection(first:4)", "args": [ { "kind": "Literal", @@ -36,16 +33,20 @@ const node: ReaderFragment = { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkGrid_artworks", - "args": null + "name": "ArtworkGrid_artworks" } - ] + ], + "storageKey": "artworksConnection(first:4)" } - ] + ], + "type": "Artist" }; (node as any).hash = '2993b1c9335bd41e7d807b765cc2d6fd'; export default node; diff --git a/src/v2/__generated__/ArtworkGrid_artworks.graphql.ts b/src/v2/__generated__/ArtworkGrid_artworks.graphql.ts index ae126df5e6c..b2394c2b5e3 100644 --- a/src/v2/__generated__/ArtworkGrid_artworks.graphql.ts +++ b/src/v2/__generated__/ArtworkGrid_artworks.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -26,86 +27,86 @@ export type ArtworkGrid_artworks$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkGrid_artworks", - "type": "ArtworkConnectionInterface", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkGrid_artworks", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "GridItem_artwork", - "args": null + "name": "GridItem_artwork" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "ArtworkConnectionInterface" }; (node as any).hash = '59d6b9d5570ebc1f6f93d1989f91ac2f'; export default node; diff --git a/src/v2/__generated__/ArtworkImageBrowserQuery.graphql.ts b/src/v2/__generated__/ArtworkImageBrowserQuery.graphql.ts index 3908575ec9a..a69ea08b32f 100644 --- a/src/v2/__generated__/ArtworkImageBrowserQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkImageBrowserQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -113,10 +114,10 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -127,120 +128,116 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtworkImageBrowserQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtworkImageBrowserQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkImageBrowser_artwork", - "args": null + "name": "ArtworkImageBrowser_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtworkImageBrowserQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "image_alt", - "name": "formattedMetadata", "args": null, + "kind": "ScalarField", + "name": "formattedMetadata", "storageKey": null }, (v2/*: any*/), (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "images", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "images", "plural": true, "selections": [ (v5/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": "uri", - "name": "url", "args": [ { "kind": "Literal", @@ -250,13 +247,12 @@ return { ] } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:[\"large\"])" }, { - "kind": "LinkedField", "alias": "placeholder", - "name": "resized", - "storageKey": "resized(height:30,version:\"small\",width:30)", "args": [ { "kind": "Literal", @@ -275,192 +271,193 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ (v5/*: any*/) - ] + ], + "storageKey": "resized(height:30,version:\"small\",width:30)" }, { - "kind": "ScalarField", "alias": null, - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_zoomable", - "name": "isZoomable", "args": null, + "kind": "ScalarField", + "name": "isZoomable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_default", - "name": "isDefault", "args": null, + "kind": "ScalarField", + "name": "isDefault", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "deepZoom", - "storageKey": null, "args": null, "concreteType": "DeepZoom", + "kind": "LinkedField", + "name": "deepZoom", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "Image", - "storageKey": null, "args": null, "concreteType": "DeepZoomImage", + "kind": "LinkedField", + "name": "Image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "xmlns", "args": null, + "kind": "ScalarField", + "name": "xmlns", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "Url", "args": null, + "kind": "ScalarField", + "name": "Url", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "Format", "args": null, + "kind": "ScalarField", + "name": "Format", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "TileSize", "args": null, + "kind": "ScalarField", + "name": "TileSize", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "Overlap", "args": null, + "kind": "ScalarField", + "name": "Overlap", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "Size", - "storageKey": null, "args": null, "concreteType": "DeepZoomImageSize", + "kind": "LinkedField", + "name": "Size", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "Width", "args": null, + "kind": "ScalarField", + "name": "Width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "Height", "args": null, + "kind": "ScalarField", + "name": "Height", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artworkMeta", - "name": "meta", - "storageKey": null, "args": null, "concreteType": "ArtworkMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "share", "args": null, + "kind": "ScalarField", + "name": "share", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "cm", "args": null, + "kind": "ScalarField", + "name": "cm", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -468,87 +465,91 @@ return { "value": "larger" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"larger\")" }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_downloadable", - "name": "isDownloadable", "args": null, + "kind": "ScalarField", + "name": "isDownloadable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_hangable", - "name": "isHangable", "args": null, + "kind": "ScalarField", + "name": "isHangable", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v4/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtworkImageBrowserQuery", "id": null, - "text": "query ArtworkImageBrowserQuery(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...ArtworkImageBrowser_artwork\n id\n }\n}\n\nfragment ArtworkActions_artwork on Artwork {\n ...Save_artwork\n ...ArtworkSharePanel_artwork\n artists {\n name\n id\n }\n date\n dimensions {\n cm\n }\n href\n slug\n image {\n internalID\n url(version: \"larger\")\n height\n width\n }\n is_downloadable: isDownloadable\n is_hangable: isHangable\n partner {\n slug\n id\n }\n title\n sale {\n is_closed: isClosed\n is_auction: isAuction\n id\n }\n}\n\nfragment ArtworkImageBrowser_artwork on Artwork {\n image_alt: formattedMetadata\n ...ArtworkActions_artwork\n image {\n internalID\n }\n images {\n internalID\n uri: url(version: [\"large\"])\n placeholder: resized(width: 30, height: 30, version: \"small\") {\n url\n }\n aspectRatio\n is_zoomable: isZoomable\n is_default: isDefault\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}\n\nfragment ArtworkSharePanel_artwork on Artwork {\n href\n images {\n url\n }\n artworkMeta: meta {\n share\n }\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkImageBrowserQuery", + "operationKind": "query", + "text": "query ArtworkImageBrowserQuery(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...ArtworkImageBrowser_artwork\n id\n }\n}\n\nfragment ArtworkActions_artwork on Artwork {\n ...Save_artwork\n ...ArtworkSharePanel_artwork\n artists {\n name\n id\n }\n date\n dimensions {\n cm\n }\n href\n slug\n image {\n internalID\n url(version: \"larger\")\n height\n width\n }\n is_downloadable: isDownloadable\n is_hangable: isHangable\n partner {\n slug\n id\n }\n title\n sale {\n is_closed: isClosed\n is_auction: isAuction\n id\n }\n}\n\nfragment ArtworkImageBrowser_artwork on Artwork {\n image_alt: formattedMetadata\n ...ArtworkActions_artwork\n image {\n internalID\n }\n images {\n internalID\n uri: url(version: [\"large\"])\n placeholder: resized(width: 30, height: 30, version: \"small\") {\n url\n }\n aspectRatio\n is_zoomable: isZoomable\n is_default: isDefault\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}\n\nfragment ArtworkSharePanel_artwork on Artwork {\n href\n images {\n url\n }\n artworkMeta: meta {\n share\n }\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkImageBrowser_Test_Query.graphql.ts b/src/v2/__generated__/ArtworkImageBrowser_Test_Query.graphql.ts index c6c44a98fc5..89926447ea7 100644 --- a/src/v2/__generated__/ArtworkImageBrowser_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtworkImageBrowser_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -177,10 +178,10 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -191,120 +192,116 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtworkImageBrowser_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtworkImageBrowser_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkImageBrowser_artwork", - "args": null + "name": "ArtworkImageBrowser_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtworkImageBrowser_Test_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "image_alt", - "name": "formattedMetadata", "args": null, + "kind": "ScalarField", + "name": "formattedMetadata", "storageKey": null }, (v2/*: any*/), (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "images", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "images", "plural": true, "selections": [ (v5/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": "uri", - "name": "url", "args": [ { "kind": "Literal", @@ -314,13 +311,12 @@ return { ] } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:[\"large\"])" }, { - "kind": "LinkedField", "alias": "placeholder", - "name": "resized", - "storageKey": "resized(height:30,version:\"small\",width:30)", "args": [ { "kind": "Literal", @@ -339,192 +335,193 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ (v5/*: any*/) - ] + ], + "storageKey": "resized(height:30,version:\"small\",width:30)" }, { - "kind": "ScalarField", "alias": null, - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_zoomable", - "name": "isZoomable", "args": null, + "kind": "ScalarField", + "name": "isZoomable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_default", - "name": "isDefault", "args": null, + "kind": "ScalarField", + "name": "isDefault", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "deepZoom", - "storageKey": null, "args": null, "concreteType": "DeepZoom", + "kind": "LinkedField", + "name": "deepZoom", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "Image", - "storageKey": null, "args": null, "concreteType": "DeepZoomImage", + "kind": "LinkedField", + "name": "Image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "xmlns", "args": null, + "kind": "ScalarField", + "name": "xmlns", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "Url", "args": null, + "kind": "ScalarField", + "name": "Url", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "Format", "args": null, + "kind": "ScalarField", + "name": "Format", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "TileSize", "args": null, + "kind": "ScalarField", + "name": "TileSize", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "Overlap", "args": null, + "kind": "ScalarField", + "name": "Overlap", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "Size", - "storageKey": null, "args": null, "concreteType": "DeepZoomImageSize", + "kind": "LinkedField", + "name": "Size", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "Width", "args": null, + "kind": "ScalarField", + "name": "Width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "Height", "args": null, + "kind": "ScalarField", + "name": "Height", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artworkMeta", - "name": "meta", - "storageKey": null, "args": null, "concreteType": "ArtworkMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "share", "args": null, + "kind": "ScalarField", + "name": "share", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "cm", "args": null, + "kind": "ScalarField", + "name": "cm", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -532,87 +529,91 @@ return { "value": "larger" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"larger\")" }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_downloadable", - "name": "isDownloadable", "args": null, + "kind": "ScalarField", + "name": "isDownloadable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_hangable", - "name": "isHangable", "args": null, + "kind": "ScalarField", + "name": "isHangable", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v4/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtworkImageBrowser_Test_Query", "id": null, - "text": "query ArtworkImageBrowser_Test_Query(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...ArtworkImageBrowser_artwork\n id\n }\n}\n\nfragment ArtworkActions_artwork on Artwork {\n ...Save_artwork\n ...ArtworkSharePanel_artwork\n artists {\n name\n id\n }\n date\n dimensions {\n cm\n }\n href\n slug\n image {\n internalID\n url(version: \"larger\")\n height\n width\n }\n is_downloadable: isDownloadable\n is_hangable: isHangable\n partner {\n slug\n id\n }\n title\n sale {\n is_closed: isClosed\n is_auction: isAuction\n id\n }\n}\n\nfragment ArtworkImageBrowser_artwork on Artwork {\n image_alt: formattedMetadata\n ...ArtworkActions_artwork\n image {\n internalID\n }\n images {\n internalID\n uri: url(version: [\"large\"])\n placeholder: resized(width: 30, height: 30, version: \"small\") {\n url\n }\n aspectRatio\n is_zoomable: isZoomable\n is_default: isDefault\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}\n\nfragment ArtworkSharePanel_artwork on Artwork {\n href\n images {\n url\n }\n artworkMeta: meta {\n share\n }\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkImageBrowser_Test_Query", + "operationKind": "query", + "text": "query ArtworkImageBrowser_Test_Query(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...ArtworkImageBrowser_artwork\n id\n }\n}\n\nfragment ArtworkActions_artwork on Artwork {\n ...Save_artwork\n ...ArtworkSharePanel_artwork\n artists {\n name\n id\n }\n date\n dimensions {\n cm\n }\n href\n slug\n image {\n internalID\n url(version: \"larger\")\n height\n width\n }\n is_downloadable: isDownloadable\n is_hangable: isHangable\n partner {\n slug\n id\n }\n title\n sale {\n is_closed: isClosed\n is_auction: isAuction\n id\n }\n}\n\nfragment ArtworkImageBrowser_artwork on Artwork {\n image_alt: formattedMetadata\n ...ArtworkActions_artwork\n image {\n internalID\n }\n images {\n internalID\n uri: url(version: [\"large\"])\n placeholder: resized(width: 30, height: 30, version: \"small\") {\n url\n }\n aspectRatio\n is_zoomable: isZoomable\n is_default: isDefault\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}\n\nfragment ArtworkSharePanel_artwork on Artwork {\n href\n images {\n url\n }\n artworkMeta: meta {\n share\n }\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkImageBrowser_artwork.graphql.ts b/src/v2/__generated__/ArtworkImageBrowser_artwork.graphql.ts index bb7fa87cb46..36e7c66b41c 100644 --- a/src/v2/__generated__/ArtworkImageBrowser_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkImageBrowser_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -43,52 +44,48 @@ export type ArtworkImageBrowser_artwork$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkImageBrowser_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkImageBrowser_artwork", "selections": [ { - "kind": "ScalarField", "alias": "image_alt", - "name": "formattedMetadata", "args": null, + "kind": "ScalarField", + "name": "formattedMetadata", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "images", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "images", "plural": true, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": "uri", - "name": "url", "args": [ { "kind": "Literal", @@ -98,13 +95,12 @@ return { ] } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:[\"large\"])" }, { - "kind": "LinkedField", "alias": "placeholder", - "name": "resized", - "storageKey": "resized(height:30,version:\"small\",width:30)", "args": [ { "kind": "Literal", @@ -123,128 +119,133 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(height:30,version:\"small\",width:30)" }, { - "kind": "ScalarField", "alias": null, - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_zoomable", - "name": "isZoomable", "args": null, + "kind": "ScalarField", + "name": "isZoomable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_default", - "name": "isDefault", "args": null, + "kind": "ScalarField", + "name": "isDefault", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "deepZoom", - "storageKey": null, "args": null, "concreteType": "DeepZoom", + "kind": "LinkedField", + "name": "deepZoom", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "Image", - "storageKey": null, "args": null, "concreteType": "DeepZoomImage", + "kind": "LinkedField", + "name": "Image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "xmlns", "args": null, + "kind": "ScalarField", + "name": "xmlns", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "Url", "args": null, + "kind": "ScalarField", + "name": "Url", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "Format", "args": null, + "kind": "ScalarField", + "name": "Format", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "TileSize", "args": null, + "kind": "ScalarField", + "name": "TileSize", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "Overlap", "args": null, + "kind": "ScalarField", + "name": "Overlap", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "Size", - "storageKey": null, "args": null, "concreteType": "DeepZoomImageSize", + "kind": "LinkedField", + "name": "Size", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "Width", "args": null, + "kind": "ScalarField", + "name": "Width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "Height", "args": null, + "kind": "ScalarField", + "name": "Height", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkActions_artwork", - "args": null + "name": "ArtworkActions_artwork" } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = '20fbbc2e9bc8fb1c04cab4d72db8d396'; diff --git a/src/v2/__generated__/ArtworkMeta_artwork.graphql.ts b/src/v2/__generated__/ArtworkMeta_artwork.graphql.ts index 54f719fcdb5..9d91f62e976 100644 --- a/src/v2/__generated__/ArtworkMeta_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkMeta_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -49,108 +50,103 @@ export type ArtworkMeta_artwork$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkMeta_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkMeta_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "image_rights", - "name": "imageRights", "args": null, + "kind": "ScalarField", + "name": "imageRights", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_in_auction", - "name": "isInAuction", "args": null, + "kind": "ScalarField", + "name": "isInAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_shareable", - "name": "isShareable", "args": null, + "kind": "ScalarField", + "name": "isShareable", "storageKey": null }, { - "kind": "LinkedField", "alias": "meta_image", - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:640,version:[\"large\",\"medium\",\"tall\"],width:640)", "args": [ { "kind": "Literal", @@ -173,53 +169,54 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(height:640,version:[\"large\",\"medium\",\"tall\"],width:640)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "meta", - "storageKey": null, "args": null, "concreteType": "ArtworkMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "description", "args": [ { "kind": "Literal", @@ -227,12 +224,12 @@ return { "value": 155 } ], + "kind": "ScalarField", + "name": "description", "storageKey": "description(limit:155)" }, { - "kind": "ScalarField", "alias": "long_description", - "name": "description", "args": [ { "kind": "Literal", @@ -240,48 +237,52 @@ return { "value": 200 } ], + "kind": "ScalarField", + "name": "description", "storageKey": "description(limit:200)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "context", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "context", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "Fair", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v0/*: any*/) - ] + ], + "type": "Fair" } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "SeoDataForArtwork_artwork", - "args": null + "name": "SeoDataForArtwork_artwork" } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = '3270b3c87f1d4d01b50b768608dc420e'; diff --git a/src/v2/__generated__/ArtworkMetadataQuery.graphql.ts b/src/v2/__generated__/ArtworkMetadataQuery.graphql.ts index 2dd8dfe20c3..d959052aa77 100644 --- a/src/v2/__generated__/ArtworkMetadataQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkMetadataQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -101,10 +102,10 @@ fragment Metadata_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -115,10 +116,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v3 = [ @@ -129,248 +130,248 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v6 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtworkMetadataQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtworkMetadataQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Metadata_artwork", - "args": null + "name": "Metadata_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtworkMetadataQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v3/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v4/*: any*/), (v2/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v3/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v5/*: any*/), (v2/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtworkMetadataQuery", "id": null, - "text": "query ArtworkMetadataQuery(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...Metadata_artwork\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkMetadataQuery", + "operationKind": "query", + "text": "query ArtworkMetadataQuery(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...Metadata_artwork\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkQuery.graphql.ts b/src/v2/__generated__/ArtworkQuery.graphql.ts index 1a84c327d3f..56f6dba577a 100644 --- a/src/v2/__generated__/ArtworkQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -110,10 +111,10 @@ fragment Metadata_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -124,10 +125,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v3 = [ @@ -138,89 +139,85 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v6 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtworkQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtworkQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Artwork_artwork", - "args": null + "name": "Artwork_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtworkQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -228,196 +225,200 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null } - ] + ], + "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v3/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v4/*: any*/), (v2/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v3/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v5/*: any*/), (v2/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtworkQuery", "id": null, - "text": "query ArtworkQuery(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...Artwork_artwork\n id\n }\n}\n\nfragment Artwork_artwork on Artwork {\n slug\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n ...Metadata_artwork\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkQuery", + "operationKind": "query", + "text": "query ArtworkQuery(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...Artwork_artwork\n id\n }\n}\n\nfragment Artwork_artwork on Artwork {\n slug\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n ...Metadata_artwork\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkQueryFilterQuery.graphql.ts b/src/v2/__generated__/ArtworkQueryFilterQuery.graphql.ts index 783ea941d78..94a74107f80 100644 --- a/src/v2/__generated__/ArtworkQueryFilterQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkQueryFilterQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -6,21 +7,21 @@ export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS export type ArtworkSizes = "LARGE" | "MEDIUM" | "SMALL" | "%future added value"; export type ArtworkQueryFilterQueryVariables = { acquireable?: boolean | null; - aggregations?: ReadonlyArray | null; + aggregations?: Array | null; artistID?: string | null; atAuction?: boolean | null; - attributionClass?: ReadonlyArray | null; + attributionClass?: Array | null; color?: string | null; forSale?: boolean | null; height?: string | null; inquireableOnly?: boolean | null; - majorPeriods?: ReadonlyArray | null; + majorPeriods?: Array | null; medium?: string | null; offerable?: boolean | null; page?: number | null; partnerID?: string | null; priceRange?: string | null; - sizes?: ReadonlyArray | null; + sizes?: Array | null; sort?: string | null; keyword?: string | null; width?: string | null; @@ -340,120 +341,120 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "acquireable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { - "kind": "LocalArgument", - "name": "aggregations", - "type": "[ArtworkAggregation]", "defaultValue": [ "TOTAL" - ] + ], + "kind": "LocalArgument", + "name": "aggregations", + "type": "[ArtworkAggregation]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "atAuction", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "attributionClass", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "color", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "height", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "inquireableOnly", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "majorPeriods", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "offerable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "partnerID", - "type": "ID", - "defaultValue": null + "type": "ID" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sizes", - "type": "[ArtworkSizes]", - "defaultValue": null + "type": "[ArtworkSizes]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "keyword", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "width", - "type": "String", - "defaultValue": null + "type": "String" } ], v1 = { @@ -552,49 +553,49 @@ v19 = { "variableName": "width" }, v20 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v21 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v22 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v23 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v24 = [ (v22/*: any*/), (v23/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ], v25 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v26 = [ @@ -606,34 +607,29 @@ v26 = [ ], v27 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtworkQueryFilterQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtworkQueryFilterQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "ArtworkFilter_viewer", "args": [ (v1/*: any*/), (v2/*: any*/), @@ -654,31 +650,32 @@ return { (v17/*: any*/), (v18/*: any*/), (v19/*: any*/) - ] + ], + "kind": "FragmentSpread", + "name": "ArtworkFilter_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtworkQueryFilterQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "artworksConnection", - "storageKey": null, "args": [ (v1/*: any*/), (v2/*: any*/), @@ -706,193 +703,190 @@ return { (v19/*: any*/) ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ (v20/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, (v21/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v24/*: any*/) + "selections": (v24/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v24/*: any*/) + "selections": (v24/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v24/*: any*/) + "selections": (v24/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v22/*: any*/), (v23/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v20/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v25/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -900,229 +894,236 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v26/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v20/*: any*/), (v25/*: any*/), (v21/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v26/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v21/*: any*/), (v25/*: any*/), (v20/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v20/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "storageKey": null }, (v20/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v20/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtworkQueryFilterQuery", "id": null, - "text": "query ArtworkQueryFilterQuery(\n $acquireable: Boolean\n $aggregations: [ArtworkAggregation] = [TOTAL]\n $artistID: String\n $atAuction: Boolean\n $attributionClass: [String]\n $color: String\n $forSale: Boolean\n $height: String\n $inquireableOnly: Boolean\n $majorPeriods: [String]\n $medium: String\n $offerable: Boolean\n $page: Int\n $partnerID: ID\n $priceRange: String\n $sizes: [ArtworkSizes]\n $sort: String\n $keyword: String\n $width: String\n) {\n viewer {\n ...ArtworkFilter_viewer_2TJyna\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkFilter_viewer_2TJyna on Viewer {\n filtered_artworks: artworksConnection(acquireable: $acquireable, aggregations: $aggregations, artistID: $artistID, atAuction: $atAuction, attributionClass: $attributionClass, color: $color, forSale: $forSale, height: $height, inquireableOnly: $inquireableOnly, keyword: $keyword, majorPeriods: $majorPeriods, medium: $medium, offerable: $offerable, page: $page, partnerID: $partnerID, priceRange: $priceRange, sizes: $sizes, sort: $sort, width: $width, first: 30) {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkQueryFilterQuery", + "operationKind": "query", + "text": "query ArtworkQueryFilterQuery(\n $acquireable: Boolean\n $aggregations: [ArtworkAggregation] = [TOTAL]\n $artistID: String\n $atAuction: Boolean\n $attributionClass: [String]\n $color: String\n $forSale: Boolean\n $height: String\n $inquireableOnly: Boolean\n $majorPeriods: [String]\n $medium: String\n $offerable: Boolean\n $page: Int\n $partnerID: ID\n $priceRange: String\n $sizes: [ArtworkSizes]\n $sort: String\n $keyword: String\n $width: String\n) {\n viewer {\n ...ArtworkFilter_viewer_2TJyna\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkFilter_viewer_2TJyna on Viewer {\n filtered_artworks: artworksConnection(acquireable: $acquireable, aggregations: $aggregations, artistID: $artistID, atAuction: $atAuction, attributionClass: $attributionClass, color: $color, forSale: $forSale, height: $height, inquireableOnly: $inquireableOnly, keyword: $keyword, majorPeriods: $majorPeriods, medium: $medium, offerable: $offerable, page: $page, partnerID: $partnerID, priceRange: $priceRange, sizes: $sizes, sort: $sort, width: $width, first: 30) {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkRelatedArtistsPaginationQuery.graphql.ts b/src/v2/__generated__/ArtworkRelatedArtistsPaginationQuery.graphql.ts index 609e5d5292a..5872d24d7e1 100644 --- a/src/v2/__generated__/ArtworkRelatedArtistsPaginationQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkRelatedArtistsPaginationQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -82,22 +83,22 @@ fragment FollowArtistButton_artist on Artist { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "count", - "type": "Int!", - "defaultValue": null + "type": "Int!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "cursor", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -108,17 +109,17 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v4 = [ @@ -139,33 +140,28 @@ v4 = [ } ], v5 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtworkRelatedArtistsPaginationQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtworkRelatedArtistsPaginationQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "ArtworkRelatedArtists_artwork", "args": [ { "kind": "Variable", @@ -177,121 +173,116 @@ return { "name": "cursor", "variableName": "cursor" } - ] + ], + "kind": "FragmentSpread", + "name": "ArtworkRelatedArtists_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtworkRelatedArtistsPaginationQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistsConnection", - "storageKey": null, "args": (v4/*: any*/), "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "artistsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v2/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:300,width:400)", "args": [ { "kind": "Literal", @@ -305,106 +296,116 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:300,width:400)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "formatted_nationality_and_birthday", - "name": "formattedNationalityAndBirthday", "args": null, + "kind": "ScalarField", + "name": "formattedNationalityAndBirthday", "storageKey": null }, (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": null, - "name": "artistsConnection", "args": (v4/*: any*/), - "handle": "connection", - "key": "ArtworkRelatedArtists_artistsConnection", "filters": [ "kind" - ] + ], + "handle": "connection", + "key": "ArtworkRelatedArtists_artistsConnection", + "kind": "LinkedHandle", + "name": "artistsConnection" } - ] + ], + "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtworkRelatedArtistsPaginationQuery", "id": null, - "text": "query ArtworkRelatedArtistsPaginationQuery(\n $count: Int!\n $cursor: String\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...ArtworkRelatedArtists_artwork_1G22uz\n id\n }\n}\n\nfragment ArtistCard_artist on Artist {\n name\n slug\n href\n image {\n cropped(width: 400, height: 300) {\n url\n }\n }\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n ...FollowArtistButton_artist\n}\n\nfragment ArtworkRelatedArtists_artwork_1G22uz on Artwork {\n slug\n artist {\n href\n related {\n artistsConnection(kind: MAIN, first: $count, after: $cursor) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n ...ArtistCard_artist\n id\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkRelatedArtistsPaginationQuery", + "operationKind": "query", + "text": "query ArtworkRelatedArtistsPaginationQuery(\n $count: Int!\n $cursor: String\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...ArtworkRelatedArtists_artwork_1G22uz\n id\n }\n}\n\nfragment ArtistCard_artist on Artist {\n name\n slug\n href\n image {\n cropped(width: 400, height: 300) {\n url\n }\n }\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n ...FollowArtistButton_artist\n}\n\nfragment ArtworkRelatedArtists_artwork_1G22uz on Artwork {\n slug\n artist {\n href\n related {\n artistsConnection(kind: MAIN, first: $count, after: $cursor) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n ...ArtistCard_artist\n id\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkRelatedArtists_artwork.graphql.ts b/src/v2/__generated__/ArtworkRelatedArtists_artwork.graphql.ts index 3a91b218a37..0742bc1655c 100644 --- a/src/v2/__generated__/ArtworkRelatedArtists_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkRelatedArtists_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -30,9 +31,21 @@ export type ArtworkRelatedArtists_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [ + { + "defaultValue": 4, + "kind": "LocalArgument", + "name": "count", + "type": "Int" + }, + { + "defaultValue": "", + "kind": "LocalArgument", + "name": "cursor", + "type": "String" + } + ], "kind": "Fragment", - "name": "ArtworkRelatedArtists_artwork", - "type": "Artwork", "metadata": { "connection": [ { @@ -47,58 +60,40 @@ const node: ReaderFragment = { } ] }, - "argumentDefinitions": [ - { - "kind": "LocalArgument", - "name": "count", - "type": "Int", - "defaultValue": 4 - }, - { - "kind": "LocalArgument", - "name": "cursor", - "type": "String", - "defaultValue": "" - } - ], + "name": "ArtworkRelatedArtists_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "artistsConnection", - "name": "__ArtworkRelatedArtists_artistsConnection_connection", - "storageKey": "__ArtworkRelatedArtists_artistsConnection_connection(kind:\"MAIN\")", "args": [ { "kind": "Literal", @@ -107,81 +102,87 @@ const node: ReaderFragment = { } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "__ArtworkRelatedArtists_artistsConnection_connection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistCard_artist", - "args": null + "name": "ArtistCard_artist" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "__ArtworkRelatedArtists_artistsConnection_connection(kind:\"MAIN\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; (node as any).hash = '4df1872cc84dffa4698fd299b4459457'; export default node; diff --git a/src/v2/__generated__/ArtworkSharePanel_artwork.graphql.ts b/src/v2/__generated__/ArtworkSharePanel_artwork.graphql.ts index 747fdd2d3ab..4affe489de1 100644 --- a/src/v2/__generated__/ArtworkSharePanel_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkSharePanel_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -21,56 +22,56 @@ export type ArtworkSharePanel_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSharePanel_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSharePanel_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "images", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "images", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artworkMeta", - "name": "meta", - "storageKey": null, "args": null, "concreteType": "ArtworkMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "share", "args": null, + "kind": "ScalarField", + "name": "share", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; (node as any).hash = '1aa535d73c67f2bc420065b91e091f3c'; export default node; diff --git a/src/v2/__generated__/ArtworkSidebarArtistsStoryQuery.graphql.ts b/src/v2/__generated__/ArtworkSidebarArtistsStoryQuery.graphql.ts index 548e8b3656f..6dfeb9d6fc8 100644 --- a/src/v2/__generated__/ArtworkSidebarArtistsStoryQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarArtistsStoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -80,139 +81,133 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarArtistsStoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarArtistsStoryQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarArtists_artwork", - "args": null + "name": "ArtworkSidebarArtists_artwork" } - ] + ], + "storageKey": "artwork(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkSidebarArtistsStoryQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v1/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "suggestedConnection", - "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)", "args": [ { "kind": "Literal", @@ -226,43 +221,39 @@ return { } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "suggestedConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/), (v2/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:45,width:45)", "args": [ { "kind": "Literal", @@ -276,40 +267,50 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:45,width:45)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "artwork(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkSidebarArtistsStoryQuery", "id": null, - "text": "query ArtworkSidebarArtistsStoryQuery {\n artwork(id: \"unused\") {\n ...ArtworkSidebarArtists_artwork\n id\n }\n}\n\nfragment ArtworkSidebarArtists_artwork on Artwork {\n cultural_maker: culturalMaker\n artists {\n id\n internalID\n slug\n name\n href\n ...FollowArtistButton_artist_2eN9lh\n }\n}\n\nfragment FollowArtistButton_artist_2eN9lh on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n ...FollowArtistPopover_artist\n}\n\nfragment FollowArtistPopoverRow_artist on Artist {\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n}\n\nfragment FollowArtistPopover_artist on Artist {\n related {\n suggestedConnection(first: 3, excludeFollowedArtists: true) {\n edges {\n node {\n id\n internalID\n ...FollowArtistPopoverRow_artist\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkSidebarArtistsStoryQuery", + "operationKind": "query", + "text": "query ArtworkSidebarArtistsStoryQuery {\n artwork(id: \"unused\") {\n ...ArtworkSidebarArtists_artwork\n id\n }\n}\n\nfragment ArtworkSidebarArtists_artwork on Artwork {\n cultural_maker: culturalMaker\n artists {\n id\n internalID\n slug\n name\n href\n ...FollowArtistButton_artist_2eN9lh\n }\n}\n\nfragment FollowArtistButton_artist_2eN9lh on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n ...FollowArtistPopover_artist\n}\n\nfragment FollowArtistPopoverRow_artist on Artist {\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n}\n\nfragment FollowArtistPopover_artist on Artist {\n related {\n suggestedConnection(first: 3, excludeFollowedArtists: true) {\n edges {\n node {\n id\n internalID\n ...FollowArtistPopoverRow_artist\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSidebarArtists_Test_Query.graphql.ts b/src/v2/__generated__/ArtworkSidebarArtists_Test_Query.graphql.ts index ae6641f14c1..10a9e1bfce2 100644 --- a/src/v2/__generated__/ArtworkSidebarArtists_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarArtists_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -114,139 +115,133 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarArtists_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarArtists_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarArtists_artwork", - "args": null + "name": "ArtworkSidebarArtists_artwork" } - ] + ], + "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkSidebarArtists_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v1/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "suggestedConnection", - "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)", "args": [ { "kind": "Literal", @@ -260,43 +255,39 @@ return { } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "suggestedConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/), (v2/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:45,width:45)", "args": [ { "kind": "Literal", @@ -310,40 +301,50 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:45,width:45)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkSidebarArtists_Test_Query", "id": null, - "text": "query ArtworkSidebarArtists_Test_Query {\n artwork(id: \"josef-albers-homage-to-the-square-85\") {\n ...ArtworkSidebarArtists_artwork\n id\n }\n}\n\nfragment ArtworkSidebarArtists_artwork on Artwork {\n cultural_maker: culturalMaker\n artists {\n id\n internalID\n slug\n name\n href\n ...FollowArtistButton_artist_2eN9lh\n }\n}\n\nfragment FollowArtistButton_artist_2eN9lh on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n ...FollowArtistPopover_artist\n}\n\nfragment FollowArtistPopoverRow_artist on Artist {\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n}\n\nfragment FollowArtistPopover_artist on Artist {\n related {\n suggestedConnection(first: 3, excludeFollowedArtists: true) {\n edges {\n node {\n id\n internalID\n ...FollowArtistPopoverRow_artist\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkSidebarArtists_Test_Query", + "operationKind": "query", + "text": "query ArtworkSidebarArtists_Test_Query {\n artwork(id: \"josef-albers-homage-to-the-square-85\") {\n ...ArtworkSidebarArtists_artwork\n id\n }\n}\n\nfragment ArtworkSidebarArtists_artwork on Artwork {\n cultural_maker: culturalMaker\n artists {\n id\n internalID\n slug\n name\n href\n ...FollowArtistButton_artist_2eN9lh\n }\n}\n\nfragment FollowArtistButton_artist_2eN9lh on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n ...FollowArtistPopover_artist\n}\n\nfragment FollowArtistPopoverRow_artist on Artist {\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n}\n\nfragment FollowArtistPopover_artist on Artist {\n related {\n suggestedConnection(first: 3, excludeFollowedArtists: true) {\n edges {\n node {\n id\n internalID\n ...FollowArtistPopoverRow_artist\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSidebarArtists_artwork.graphql.ts b/src/v2/__generated__/ArtworkSidebarArtists_artwork.graphql.ts index e277fa69487..0492af5e3e4 100644 --- a/src/v2/__generated__/ArtworkSidebarArtists_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarArtists_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -23,84 +24,84 @@ export type ArtworkSidebarArtists_artwork$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "ArtworkSidebarArtists_artwork", - "type": "Artwork", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": true, "kind": "LocalArgument", "name": "showFollowSuggestions", - "type": "Boolean", - "defaultValue": true + "type": "Boolean" } ], + "kind": "Fragment", + "metadata": null, + "name": "ArtworkSidebarArtists_artwork", "selections": [ { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "FragmentSpread", - "name": "FollowArtistButton_artist", "args": [ { "kind": "Variable", "name": "showFollowSuggestions", "variableName": "showFollowSuggestions" } - ] + ], + "kind": "FragmentSpread", + "name": "FollowArtistButton_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; (node as any).hash = '961d703b4bbc396cc6aaf106c649a11d'; export default node; diff --git a/src/v2/__generated__/ArtworkSidebarAuctionPartnerInfo_Test_Query.graphql.ts b/src/v2/__generated__/ArtworkSidebarAuctionPartnerInfo_Test_Query.graphql.ts index 75f5c472ae9..acee174ee2b 100644 --- a/src/v2/__generated__/ArtworkSidebarAuctionPartnerInfo_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarAuctionPartnerInfo_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -68,128 +69,128 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarAuctionPartnerInfo_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarAuctionPartnerInfo_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"auction_artwork_estimate_premium\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarAuctionPartnerInfo_artwork", - "args": null + "name": "ArtworkSidebarAuctionPartnerInfo_artwork" } - ] + ], + "storageKey": "artwork(id:\"auction_artwork_estimate_premium\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkSidebarAuctionPartnerInfo_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"auction_artwork_estimate_premium\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "estimate", "args": null, + "kind": "ScalarField", + "name": "estimate", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "artwork(id:\"auction_artwork_estimate_premium\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkSidebarAuctionPartnerInfo_Test_Query", "id": null, - "text": "query ArtworkSidebarAuctionPartnerInfo_Test_Query {\n artwork(id: \"auction_artwork_estimate_premium\") {\n ...ArtworkSidebarAuctionPartnerInfo_artwork\n id\n }\n}\n\nfragment ArtworkSidebarAuctionPartnerInfo_artwork on Artwork {\n partner {\n name\n id\n }\n sale_artwork: saleArtwork {\n estimate\n id\n }\n sale {\n internalID\n is_closed: isClosed\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkSidebarAuctionPartnerInfo_Test_Query", + "operationKind": "query", + "text": "query ArtworkSidebarAuctionPartnerInfo_Test_Query {\n artwork(id: \"auction_artwork_estimate_premium\") {\n ...ArtworkSidebarAuctionPartnerInfo_artwork\n id\n }\n}\n\nfragment ArtworkSidebarAuctionPartnerInfo_artwork on Artwork {\n partner {\n name\n id\n }\n sale_artwork: saleArtwork {\n estimate\n id\n }\n sale {\n internalID\n is_closed: isClosed\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSidebarAuctionPartnerInfo_artwork.graphql.ts b/src/v2/__generated__/ArtworkSidebarAuctionPartnerInfo_artwork.graphql.ts index 0fb029a7b5f..9ee1e9b0fac 100644 --- a/src/v2/__generated__/ArtworkSidebarAuctionPartnerInfo_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarAuctionPartnerInfo_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -24,74 +25,74 @@ export type ArtworkSidebarAuctionPartnerInfo_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarAuctionPartnerInfo_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarAuctionPartnerInfo_artwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "estimate", "args": null, + "kind": "ScalarField", + "name": "estimate", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; (node as any).hash = '9ae1e9a16b9b2924cf3ec43d91ed7ebf'; export default node; diff --git a/src/v2/__generated__/ArtworkSidebarBidAction_Test_Query.graphql.ts b/src/v2/__generated__/ArtworkSidebarBidAction_Test_Query.graphql.ts index 2880aadd551..b850079bf82 100644 --- a/src/v2/__generated__/ArtworkSidebarBidAction_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarBidAction_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -119,88 +120,84 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "cents", "args": null, + "kind": "ScalarField", + "name": "cents", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarBidAction_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarBidAction_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"auction_artwork\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarBidAction_artwork", - "args": null + "name": "ArtworkSidebarBidAction_artwork" } - ] + ], + "storageKey": "artwork(id:\"auction_artwork\")" }, { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarBidAction_me", - "args": null + "name": "ArtworkSidebarBidAction_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkSidebarBidAction_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"auction_artwork\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "myLotStanding", - "storageKey": "myLotStanding(live:true)", "args": [ { "kind": "Literal", @@ -209,177 +206,181 @@ return { } ], "concreteType": "LotStanding", + "kind": "LinkedField", + "name": "myLotStanding", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": "most_recent_bid", - "name": "mostRecentBid", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "mostRecentBid", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "max_bid", - "name": "maxBid", - "storageKey": null, "args": null, "concreteType": "BidderPositionMaxBid", + "kind": "LinkedField", + "name": "maxBid", "plural": false, "selections": [ (v1/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "myLotStanding(live:true)" }, (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "qualified_for_bidding", - "name": "qualifiedForBidding", "args": null, + "kind": "ScalarField", + "name": "qualifiedForBidding", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_registration_closed", - "name": "isRegistrationClosed", "args": null, + "kind": "ScalarField", + "name": "isRegistrationClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "requireIdentityVerification", "args": null, + "kind": "ScalarField", + "name": "requireIdentityVerification", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "increments", - "storageKey": null, "args": null, "concreteType": "BidIncrementsFormatted", + "kind": "LinkedField", + "name": "increments", "plural": true, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": "artwork(id:\"auction_artwork\")" }, { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "identityVerified", "args": null, + "kind": "ScalarField", + "name": "identityVerified", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtworkSidebarBidAction_Test_Query", "id": null, - "text": "query ArtworkSidebarBidAction_Test_Query {\n artwork(id: \"auction_artwork\") {\n ...ArtworkSidebarBidAction_artwork\n id\n }\n me {\n ...ArtworkSidebarBidAction_me\n id\n }\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 id\n }\n}\n\nfragment ArtworkSidebarBidAction_me on Me {\n identityVerified\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkSidebarBidAction_Test_Query", + "operationKind": "query", + "text": "query ArtworkSidebarBidAction_Test_Query {\n artwork(id: \"auction_artwork\") {\n ...ArtworkSidebarBidAction_artwork\n id\n }\n me {\n ...ArtworkSidebarBidAction_me\n id\n }\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 id\n }\n}\n\nfragment ArtworkSidebarBidAction_me on Me {\n identityVerified\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSidebarBidAction_artwork.graphql.ts b/src/v2/__generated__/ArtworkSidebarBidAction_artwork.graphql.ts index 1c8844fb918..0e15bf9c340 100644 --- a/src/v2/__generated__/ArtworkSidebarBidAction_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarBidAction_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -42,31 +43,27 @@ export type ArtworkSidebarBidAction_artwork$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "cents", "args": null, + "kind": "ScalarField", + "name": "cents", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarBidAction_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarBidAction_artwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "myLotStanding", - "storageKey": "myLotStanding(live:true)", "args": [ { "kind": "Literal", @@ -75,144 +72,148 @@ return { } ], "concreteType": "LotStanding", + "kind": "LinkedField", + "name": "myLotStanding", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": "most_recent_bid", - "name": "mostRecentBid", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "mostRecentBid", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "max_bid", - "name": "maxBid", - "storageKey": null, "args": null, "concreteType": "BidderPositionMaxBid", + "kind": "LinkedField", + "name": "maxBid", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "myLotStanding(live:true)" }, (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "qualified_for_bidding", - "name": "qualifiedForBidding", "args": null, + "kind": "ScalarField", + "name": "qualifiedForBidding", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_registration_closed", - "name": "isRegistrationClosed", "args": null, + "kind": "ScalarField", + "name": "isRegistrationClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "requireIdentityVerification", "args": null, + "kind": "ScalarField", + "name": "requireIdentityVerification", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "increments", - "storageKey": null, "args": null, "concreteType": "BidIncrementsFormatted", + "kind": "LinkedField", + "name": "increments", "plural": true, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = '5880223b32e8a4a3808623584d46c8bb'; diff --git a/src/v2/__generated__/ArtworkSidebarBidAction_me.graphql.ts b/src/v2/__generated__/ArtworkSidebarBidAction_me.graphql.ts index a5f2fb3bde0..bfa3e9bc4f5 100644 --- a/src/v2/__generated__/ArtworkSidebarBidAction_me.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarBidAction_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,20 +16,20 @@ export type ArtworkSidebarBidAction_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarBidAction_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarBidAction_me", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "identityVerified", "args": null, + "kind": "ScalarField", + "name": "identityVerified", "storageKey": null } - ] + ], + "type": "Me" }; (node as any).hash = '557cde11858598ca541ab19f9bfc4ee2'; export default node; diff --git a/src/v2/__generated__/ArtworkSidebarClassification_Test_Query.graphql.ts b/src/v2/__generated__/ArtworkSidebarClassification_Test_Query.graphql.ts index eb1a99ad4b4..53e4df6c2c7 100644 --- a/src/v2/__generated__/ArtworkSidebarClassification_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarClassification_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -50,83 +51,83 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarClassification_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarClassification_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarClassification_artwork", - "args": null + "name": "ArtworkSidebarClassification_artwork" } - ] + ], + "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkSidebarClassification_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "attribution_class", - "name": "attributionClass", - "storageKey": null, "args": null, "concreteType": "AttributionClass", + "kind": "LinkedField", + "name": "attributionClass", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "short_description", - "name": "shortDescription", "args": null, + "kind": "ScalarField", + "name": "shortDescription", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkSidebarClassification_Test_Query", "id": null, - "text": "query ArtworkSidebarClassification_Test_Query {\n artwork(id: \"josef-albers-homage-to-the-square-85\") {\n ...ArtworkSidebarClassification_artwork\n id\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attribution_class: attributionClass {\n short_description: shortDescription\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkSidebarClassification_Test_Query", + "operationKind": "query", + "text": "query ArtworkSidebarClassification_Test_Query {\n artwork(id: \"josef-albers-homage-to-the-square-85\") {\n ...ArtworkSidebarClassification_artwork\n id\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attribution_class: attributionClass {\n short_description: shortDescription\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSidebarClassification_artwork.graphql.ts b/src/v2/__generated__/ArtworkSidebarClassification_artwork.graphql.ts index 101aec03e73..037146f5424 100644 --- a/src/v2/__generated__/ArtworkSidebarClassification_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarClassification_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -17,31 +18,31 @@ export type ArtworkSidebarClassification_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarClassification_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarClassification_artwork", "selections": [ { - "kind": "LinkedField", "alias": "attribution_class", - "name": "attributionClass", - "storageKey": null, "args": null, "concreteType": "AttributionClass", + "kind": "LinkedField", + "name": "attributionClass", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "short_description", - "name": "shortDescription", "args": null, + "kind": "ScalarField", + "name": "shortDescription", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; (node as any).hash = '8207b17fc2db26e6b886dd476a7920bf'; export default node; diff --git a/src/v2/__generated__/ArtworkSidebarCommercialOfferOrderMutation.graphql.ts b/src/v2/__generated__/ArtworkSidebarCommercialOfferOrderMutation.graphql.ts index 656f65f620a..9f0ab8aa728 100644 --- a/src/v2/__generated__/ArtworkSidebarCommercialOfferOrderMutation.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarCommercialOfferOrderMutation.graphql.ts @@ -1,13 +1,14 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; export type CommerceCreateOfferOrderWithArtworkInput = { - readonly artworkId: string; - readonly clientMutationId?: string | null; - readonly editionSetId?: string | null; - readonly findActiveOrCreate?: boolean | null; - readonly quantity?: number | null; + artworkId: string; + clientMutationId?: string | null; + editionSetId?: string | null; + findActiveOrCreate?: boolean | null; + quantity?: number | null; }; export type ArtworkSidebarCommercialOfferOrderMutationVariables = { input: CommerceCreateOfferOrderWithArtworkInput; @@ -66,10 +67,10 @@ mutation ArtworkSidebarCommercialOfferOrderMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CommerceCreateOfferOrderWithArtworkInput!", - "defaultValue": null + "type": "CommerceCreateOfferOrderWithArtworkInput!" } ], v1 = [ @@ -80,183 +81,183 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, v5 = { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "error", - "storageKey": null, "args": null, "concreteType": "CommerceApplicationError", + "kind": "LinkedField", + "name": "error", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "data", "args": null, + "kind": "ScalarField", + "name": "data", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationFailure" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtworkSidebarCommercialOfferOrderMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtworkSidebarCommercialOfferOrderMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceCreateOfferOrderWithArtwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceCreateOfferOrderWithArtworkPayload", + "kind": "LinkedField", + "name": "commerceCreateOfferOrderWithArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtworkSidebarCommercialOfferOrderMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceCreateOfferOrderWithArtwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceCreateOfferOrderWithArtworkPayload", + "kind": "LinkedField", + "name": "commerceCreateOfferOrderWithArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ (v2/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "ArtworkSidebarCommercialOfferOrderMutation", "id": null, - "text": "mutation ArtworkSidebarCommercialOfferOrderMutation(\n $input: CommerceCreateOfferOrderWithArtworkInput!\n) {\n commerceCreateOfferOrderWithArtwork(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n __typename\n order {\n __typename\n internalID\n mode\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkSidebarCommercialOfferOrderMutation", + "operationKind": "mutation", + "text": "mutation ArtworkSidebarCommercialOfferOrderMutation(\n $input: CommerceCreateOfferOrderWithArtworkInput!\n) {\n commerceCreateOfferOrderWithArtwork(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n __typename\n order {\n __typename\n internalID\n mode\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSidebarCommercialOrderMutation.graphql.ts b/src/v2/__generated__/ArtworkSidebarCommercialOrderMutation.graphql.ts index c3350197ebb..374206fc8ad 100644 --- a/src/v2/__generated__/ArtworkSidebarCommercialOrderMutation.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarCommercialOrderMutation.graphql.ts @@ -1,12 +1,13 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; export type CommerceCreateOrderWithArtworkInput = { - readonly artworkId: string; - readonly clientMutationId?: string | null; - readonly editionSetId?: string | null; - readonly quantity?: number | null; + artworkId: string; + clientMutationId?: string | null; + editionSetId?: string | null; + quantity?: number | null; }; export type ArtworkSidebarCommercialOrderMutationVariables = { input: CommerceCreateOrderWithArtworkInput; @@ -65,10 +66,10 @@ mutation ArtworkSidebarCommercialOrderMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CommerceCreateOrderWithArtworkInput!", - "defaultValue": null + "type": "CommerceCreateOrderWithArtworkInput!" } ], v1 = [ @@ -79,183 +80,183 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, v5 = { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "error", - "storageKey": null, "args": null, "concreteType": "CommerceApplicationError", + "kind": "LinkedField", + "name": "error", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "data", "args": null, + "kind": "ScalarField", + "name": "data", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationFailure" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtworkSidebarCommercialOrderMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtworkSidebarCommercialOrderMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceCreateOrderWithArtwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceCreateOrderWithArtworkPayload", + "kind": "LinkedField", + "name": "commerceCreateOrderWithArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtworkSidebarCommercialOrderMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceCreateOrderWithArtwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceCreateOrderWithArtworkPayload", + "kind": "LinkedField", + "name": "commerceCreateOrderWithArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ (v2/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "ArtworkSidebarCommercialOrderMutation", "id": null, - "text": "mutation ArtworkSidebarCommercialOrderMutation(\n $input: CommerceCreateOrderWithArtworkInput!\n) {\n commerceCreateOrderWithArtwork(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n __typename\n order {\n __typename\n internalID\n mode\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkSidebarCommercialOrderMutation", + "operationKind": "mutation", + "text": "mutation ArtworkSidebarCommercialOrderMutation(\n $input: CommerceCreateOrderWithArtworkInput!\n) {\n commerceCreateOrderWithArtwork(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n __typename\n order {\n __typename\n internalID\n mode\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSidebarCommercialStoryQuery.graphql.ts b/src/v2/__generated__/ArtworkSidebarCommercialStoryQuery.graphql.ts index e06aafa3c9f..1de496dfd00 100644 --- a/src/v2/__generated__/ArtworkSidebarCommercialStoryQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarCommercialStoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -71,171 +72,169 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": "is_offerable", - "name": "isOfferable", "args": null, + "kind": "ScalarField", + "name": "isOfferable", "storageKey": null }, v4 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], v5 = { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarCommercialStoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarCommercialStoryQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarCommercial_artwork", - "args": null + "name": "ArtworkSidebarCommercial_artwork" } - ] + ], + "storageKey": "artwork(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkSidebarCommercialStoryQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v1/*: any*/), { - "kind": "ScalarField", "alias": "is_for_sale", - "name": "isForSale", "args": null, + "kind": "ScalarField", + "name": "isForSale", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "PriceRange", - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "priceIncludesTaxDisplay", "args": null, + "kind": "ScalarField", + "name": "priceIncludesTaxDisplay", "storageKey": null }, (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "shippingInfo", "args": null, + "kind": "ScalarField", + "name": "shippingInfo", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": "edition_sets", - "name": "editionSets", - "storageKey": null, "args": null, "concreteType": "EditionSet", + "kind": "LinkedField", + "name": "editionSets", "plural": true, "selections": [ (v1/*: any*/), @@ -244,50 +243,52 @@ return { (v3/*: any*/), (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "in", "args": null, + "kind": "ScalarField", + "name": "in", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cm", "args": null, + "kind": "ScalarField", + "name": "cm", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "edition_of", - "name": "editionOf", "args": null, + "kind": "ScalarField", + "name": "editionOf", "storageKey": null } - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": "artwork(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkSidebarCommercialStoryQuery", "id": null, - "text": "query ArtworkSidebarCommercialStoryQuery {\n artwork(id: \"unused\") {\n ...ArtworkSidebarCommercial_artwork\n id\n }\n}\n\nfragment ArtworkSidebarCommercial_artwork on Artwork {\n slug\n internalID\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n is_offerable: isOfferable\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n priceIncludesTaxDisplay\n sale_message: saleMessage\n shippingInfo\n shippingOrigin\n edition_sets: editionSets {\n internalID\n id\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n sale_message: saleMessage\n ...ArtworkSidebarSizeInfo_piece\n }\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n dimensions {\n in\n cm\n }\n edition_of: editionOf\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkSidebarCommercialStoryQuery", + "operationKind": "query", + "text": "query ArtworkSidebarCommercialStoryQuery {\n artwork(id: \"unused\") {\n ...ArtworkSidebarCommercial_artwork\n id\n }\n}\n\nfragment ArtworkSidebarCommercial_artwork on Artwork {\n slug\n internalID\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n is_offerable: isOfferable\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n priceIncludesTaxDisplay\n sale_message: saleMessage\n shippingInfo\n shippingOrigin\n edition_sets: editionSets {\n internalID\n id\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n sale_message: saleMessage\n ...ArtworkSidebarSizeInfo_piece\n }\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n dimensions {\n in\n cm\n }\n edition_of: editionOf\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSidebarCommercial_artwork.graphql.ts b/src/v2/__generated__/ArtworkSidebarCommercial_artwork.graphql.ts index 0539650b101..e8e873a67c9 100644 --- a/src/v2/__generated__/ArtworkSidebarCommercial_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarCommercial_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -36,144 +37,144 @@ export type ArtworkSidebarCommercial_artwork$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": "is_offerable", - "name": "isOfferable", "args": null, + "kind": "ScalarField", + "name": "isOfferable", "storageKey": null }, v3 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], v4 = { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarCommercial_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarCommercial_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": "is_for_sale", - "name": "isForSale", "args": null, + "kind": "ScalarField", + "name": "isForSale", "storageKey": null }, (v1/*: any*/), { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "PriceRange", - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "priceIncludesTaxDisplay", "args": null, + "kind": "ScalarField", + "name": "priceIncludesTaxDisplay", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "shippingInfo", "args": null, + "kind": "ScalarField", + "name": "shippingInfo", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": "edition_sets", - "name": "editionSets", - "storageKey": null, "args": null, "concreteType": "EditionSet", + "kind": "LinkedField", + "name": "editionSets", "plural": true, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, (v1/*: any*/), (v2/*: any*/), (v4/*: any*/), { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarSizeInfo_piece", - "args": null + "name": "ArtworkSidebarSizeInfo_piece" } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = '4b27f5f48c80ad681cc7752ca8fe9638'; diff --git a/src/v2/__generated__/ArtworkSidebarCurrentBidInfo_Test_Query.graphql.ts b/src/v2/__generated__/ArtworkSidebarCurrentBidInfo_Test_Query.graphql.ts index e3d979b6b85..6d68bbfdd7d 100644 --- a/src/v2/__generated__/ArtworkSidebarCurrentBidInfo_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarCurrentBidInfo_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -104,168 +105,164 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v2 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarCurrentBidInfo_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarCurrentBidInfo_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"auction_artwork_estimate_premium\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarCurrentBidInfo_artwork", - "args": null + "name": "ArtworkSidebarCurrentBidInfo_artwork" } - ] + ], + "storageKey": "artwork(id:\"auction_artwork_estimate_premium\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkSidebarCurrentBidInfo_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"auction_artwork_estimate_premium\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_with_buyers_premium", - "name": "isWithBuyersPremium", "args": null, + "kind": "ScalarField", + "name": "isWithBuyersPremium", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_with_reserve", - "name": "isWithReserve", "args": null, + "kind": "ScalarField", + "name": "isWithReserve", "storageKey": null }, { - "kind": "ScalarField", "alias": "reserve_message", - "name": "reserveMessage", "args": null, + "kind": "ScalarField", + "name": "reserveMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "reserve_status", - "name": "reserveStatus", "args": null, + "kind": "ScalarField", + "name": "reserveStatus", "storageKey": null }, { - "kind": "LinkedField", "alias": "current_bid", - "name": "currentBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCurrentBid", + "kind": "LinkedField", + "name": "currentBid", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLotStanding", - "storageKey": "myLotStanding(live:true)", "args": [ { "kind": "Literal", @@ -274,62 +271,66 @@ return { } ], "concreteType": "LotStanding", + "kind": "LinkedField", + "name": "myLotStanding", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": "active_bid", - "name": "activeBid", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "activeBid", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_winning", - "name": "isWinning", "args": null, + "kind": "ScalarField", + "name": "isWinning", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "most_recent_bid", - "name": "mostRecentBid", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "mostRecentBid", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "max_bid", - "name": "maxBid", - "storageKey": null, "args": null, "concreteType": "BidderPositionMaxBid", + "kind": "LinkedField", + "name": "maxBid", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "myLotStanding(live:true)" }, (v1/*: any*/) - ] + ], + "storageKey": "artwork(id:\"auction_artwork_estimate_premium\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkSidebarCurrentBidInfo_Test_Query", "id": null, - "text": "query ArtworkSidebarCurrentBidInfo_Test_Query {\n artwork(id: \"auction_artwork_estimate_premium\") {\n ...ArtworkSidebarCurrentBidInfo_artwork\n id\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 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}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkSidebarCurrentBidInfo_Test_Query", + "operationKind": "query", + "text": "query ArtworkSidebarCurrentBidInfo_Test_Query {\n artwork(id: \"auction_artwork_estimate_premium\") {\n ...ArtworkSidebarCurrentBidInfo_artwork\n id\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 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}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSidebarCurrentBidInfo_artwork.graphql.ts b/src/v2/__generated__/ArtworkSidebarCurrentBidInfo_artwork.graphql.ts index 49e42b92e7e..3d01235a5ac 100644 --- a/src/v2/__generated__/ArtworkSidebarCurrentBidInfo_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarCurrentBidInfo_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -43,124 +44,120 @@ export type ArtworkSidebarCurrentBidInfo_artwork$key = { const node: ReaderFragment = (function(){ var v0 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarCurrentBidInfo_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarCurrentBidInfo_artwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_with_buyers_premium", - "name": "isWithBuyersPremium", "args": null, + "kind": "ScalarField", + "name": "isWithBuyersPremium", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_with_reserve", - "name": "isWithReserve", "args": null, + "kind": "ScalarField", + "name": "isWithReserve", "storageKey": null }, { - "kind": "ScalarField", "alias": "reserve_message", - "name": "reserveMessage", "args": null, + "kind": "ScalarField", + "name": "reserveMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "reserve_status", - "name": "reserveStatus", "args": null, + "kind": "ScalarField", + "name": "reserveStatus", "storageKey": null }, { - "kind": "LinkedField", "alias": "current_bid", - "name": "currentBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCurrentBid", + "kind": "LinkedField", + "name": "currentBid", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLotStanding", - "storageKey": "myLotStanding(live:true)", "args": [ { "kind": "Literal", @@ -169,50 +166,54 @@ return { } ], "concreteType": "LotStanding", + "kind": "LinkedField", + "name": "myLotStanding", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": "active_bid", - "name": "activeBid", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "activeBid", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_winning", - "name": "isWinning", "args": null, + "kind": "ScalarField", + "name": "isWinning", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "most_recent_bid", - "name": "mostRecentBid", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "mostRecentBid", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "max_bid", - "name": "maxBid", - "storageKey": null, "args": null, "concreteType": "BidderPositionMaxBid", + "kind": "LinkedField", + "name": "maxBid", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "myLotStanding(live:true)" } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = '683ff598c60c16fd85ebe10e5225e24d'; diff --git a/src/v2/__generated__/ArtworkSidebarExtraLinks_Test_Query.graphql.ts b/src/v2/__generated__/ArtworkSidebarExtraLinks_Test_Query.graphql.ts index 514c70976b7..95da4a9500d 100644 --- a/src/v2/__generated__/ArtworkSidebarExtraLinks_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarExtraLinks_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -78,163 +79,163 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarExtraLinks_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarExtraLinks_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarExtraLinks_artwork", - "args": null + "name": "ArtworkSidebarExtraLinks_artwork" } - ] + ], + "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkSidebarExtraLinks_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_in_auction", - "name": "isInAuction", "args": null, + "kind": "ScalarField", + "name": "isInAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_for_sale", - "name": "isForSale", "args": null, + "kind": "ScalarField", + "name": "isForSale", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": "is_consignable", - "name": "isConsignable", "args": null, + "kind": "ScalarField", + "name": "isConsignable", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isBenefit", "args": null, + "kind": "ScalarField", + "name": "isBenefit", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkSidebarExtraLinks_Test_Query", "id": null, - "text": "query ArtworkSidebarExtraLinks_Test_Query {\n artwork(id: \"josef-albers-homage-to-the-square-85\") {\n ...ArtworkSidebarExtraLinks_artwork\n id\n }\n}\n\nfragment ArtworkSidebarExtraLinks_artwork on Artwork {\n internalID\n is_in_auction: isInAuction\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n artists {\n is_consignable: isConsignable\n id\n }\n sale {\n is_closed: isClosed\n isBenefit\n partner {\n name\n id\n }\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkSidebarExtraLinks_Test_Query", + "operationKind": "query", + "text": "query ArtworkSidebarExtraLinks_Test_Query {\n artwork(id: \"josef-albers-homage-to-the-square-85\") {\n ...ArtworkSidebarExtraLinks_artwork\n id\n }\n}\n\nfragment ArtworkSidebarExtraLinks_artwork on Artwork {\n internalID\n is_in_auction: isInAuction\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n artists {\n is_consignable: isConsignable\n id\n }\n sale {\n is_closed: isClosed\n isBenefit\n partner {\n name\n id\n }\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSidebarExtraLinks_artwork.graphql.ts b/src/v2/__generated__/ArtworkSidebarExtraLinks_artwork.graphql.ts index 2c503ec1403..e63261f6c2a 100644 --- a/src/v2/__generated__/ArtworkSidebarExtraLinks_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarExtraLinks_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -29,109 +30,109 @@ export type ArtworkSidebarExtraLinks_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarExtraLinks_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarExtraLinks_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_in_auction", - "name": "isInAuction", "args": null, + "kind": "ScalarField", + "name": "isInAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_for_sale", - "name": "isForSale", "args": null, + "kind": "ScalarField", + "name": "isForSale", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": "is_consignable", - "name": "isConsignable", "args": null, + "kind": "ScalarField", + "name": "isConsignable", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isBenefit", "args": null, + "kind": "ScalarField", + "name": "isBenefit", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; (node as any).hash = 'bec792d6e1dee8cecdc8ce83584d8d2e'; export default node; diff --git a/src/v2/__generated__/ArtworkSidebarMetadataStoryQuery.graphql.ts b/src/v2/__generated__/ArtworkSidebarMetadataStoryQuery.graphql.ts index 4b42e969ad0..df0dc650ca3 100644 --- a/src/v2/__generated__/ArtworkSidebarMetadataStoryQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarMetadataStoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -69,181 +70,181 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarMetadataStoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarMetadataStoryQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarMetadata_artwork", - "args": null + "name": "ArtworkSidebarMetadata_artwork" } - ] + ], + "storageKey": "artwork(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkSidebarMetadataStoryQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, { - "kind": "LinkedField", "alias": "edition_sets", - "name": "editionSets", - "storageKey": null, "args": null, "concreteType": "EditionSet", + "kind": "LinkedField", + "name": "editionSets", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "lot_label", - "name": "lotLabel", "args": null, + "kind": "ScalarField", + "name": "lotLabel", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "medium", "args": null, + "kind": "ScalarField", + "name": "medium", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "in", "args": null, + "kind": "ScalarField", + "name": "in", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cm", "args": null, + "kind": "ScalarField", + "name": "cm", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "edition_of", - "name": "editionOf", "args": null, + "kind": "ScalarField", + "name": "editionOf", "storageKey": null }, { - "kind": "LinkedField", "alias": "attribution_class", - "name": "attributionClass", - "storageKey": null, "args": null, "concreteType": "AttributionClass", + "kind": "LinkedField", + "name": "attributionClass", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "short_description", - "name": "shortDescription", "args": null, + "kind": "ScalarField", + "name": "shortDescription", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "artwork(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkSidebarMetadataStoryQuery", "id": null, - "text": "query ArtworkSidebarMetadataStoryQuery {\n artwork(id: \"unused\") {\n ...ArtworkSidebarMetadata_artwork\n id\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attribution_class: attributionClass {\n short_description: shortDescription\n id\n }\n}\n\nfragment ArtworkSidebarMetadata_artwork on Artwork {\n is_biddable: isBiddable\n edition_sets: editionSets {\n __typename\n id\n }\n sale_artwork: saleArtwork {\n lot_label: lotLabel\n id\n }\n ...ArtworkSidebarTitleInfo_artwork\n ...ArtworkSidebarSizeInfo_piece\n ...ArtworkSidebarClassification_artwork\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n dimensions {\n in\n cm\n }\n edition_of: editionOf\n}\n\nfragment ArtworkSidebarTitleInfo_artwork on Artwork {\n title\n date\n medium\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkSidebarMetadataStoryQuery", + "operationKind": "query", + "text": "query ArtworkSidebarMetadataStoryQuery {\n artwork(id: \"unused\") {\n ...ArtworkSidebarMetadata_artwork\n id\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attribution_class: attributionClass {\n short_description: shortDescription\n id\n }\n}\n\nfragment ArtworkSidebarMetadata_artwork on Artwork {\n is_biddable: isBiddable\n edition_sets: editionSets {\n __typename\n id\n }\n sale_artwork: saleArtwork {\n lot_label: lotLabel\n id\n }\n ...ArtworkSidebarTitleInfo_artwork\n ...ArtworkSidebarSizeInfo_piece\n ...ArtworkSidebarClassification_artwork\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n dimensions {\n in\n cm\n }\n edition_of: editionOf\n}\n\nfragment ArtworkSidebarTitleInfo_artwork on Artwork {\n title\n date\n medium\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSidebarMetadata_Test_Query.graphql.ts b/src/v2/__generated__/ArtworkSidebarMetadata_Test_Query.graphql.ts index ed6eba29fed..d7c680a40d2 100644 --- a/src/v2/__generated__/ArtworkSidebarMetadata_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarMetadata_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -96,181 +97,181 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarMetadata_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarMetadata_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarMetadata_artwork", - "args": null + "name": "ArtworkSidebarMetadata_artwork" } - ] + ], + "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkSidebarMetadata_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, { - "kind": "LinkedField", "alias": "edition_sets", - "name": "editionSets", - "storageKey": null, "args": null, "concreteType": "EditionSet", + "kind": "LinkedField", + "name": "editionSets", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "lot_label", - "name": "lotLabel", "args": null, + "kind": "ScalarField", + "name": "lotLabel", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "medium", "args": null, + "kind": "ScalarField", + "name": "medium", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "in", "args": null, + "kind": "ScalarField", + "name": "in", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cm", "args": null, + "kind": "ScalarField", + "name": "cm", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "edition_of", - "name": "editionOf", "args": null, + "kind": "ScalarField", + "name": "editionOf", "storageKey": null }, { - "kind": "LinkedField", "alias": "attribution_class", - "name": "attributionClass", - "storageKey": null, "args": null, "concreteType": "AttributionClass", + "kind": "LinkedField", + "name": "attributionClass", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "short_description", - "name": "shortDescription", "args": null, + "kind": "ScalarField", + "name": "shortDescription", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkSidebarMetadata_Test_Query", "id": null, - "text": "query ArtworkSidebarMetadata_Test_Query {\n artwork(id: \"josef-albers-homage-to-the-square-85\") {\n ...ArtworkSidebarMetadata_artwork\n id\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attribution_class: attributionClass {\n short_description: shortDescription\n id\n }\n}\n\nfragment ArtworkSidebarMetadata_artwork on Artwork {\n is_biddable: isBiddable\n edition_sets: editionSets {\n __typename\n id\n }\n sale_artwork: saleArtwork {\n lot_label: lotLabel\n id\n }\n ...ArtworkSidebarTitleInfo_artwork\n ...ArtworkSidebarSizeInfo_piece\n ...ArtworkSidebarClassification_artwork\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n dimensions {\n in\n cm\n }\n edition_of: editionOf\n}\n\nfragment ArtworkSidebarTitleInfo_artwork on Artwork {\n title\n date\n medium\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkSidebarMetadata_Test_Query", + "operationKind": "query", + "text": "query ArtworkSidebarMetadata_Test_Query {\n artwork(id: \"josef-albers-homage-to-the-square-85\") {\n ...ArtworkSidebarMetadata_artwork\n id\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attribution_class: attributionClass {\n short_description: shortDescription\n id\n }\n}\n\nfragment ArtworkSidebarMetadata_artwork on Artwork {\n is_biddable: isBiddable\n edition_sets: editionSets {\n __typename\n id\n }\n sale_artwork: saleArtwork {\n lot_label: lotLabel\n id\n }\n ...ArtworkSidebarTitleInfo_artwork\n ...ArtworkSidebarSizeInfo_piece\n ...ArtworkSidebarClassification_artwork\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n dimensions {\n in\n cm\n }\n edition_of: editionOf\n}\n\nfragment ArtworkSidebarTitleInfo_artwork on Artwork {\n title\n date\n medium\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSidebarMetadata_artwork.graphql.ts b/src/v2/__generated__/ArtworkSidebarMetadata_artwork.graphql.ts index 21f35d3c934..75d3a733dba 100644 --- a/src/v2/__generated__/ArtworkSidebarMetadata_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarMetadata_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -22,71 +23,71 @@ export type ArtworkSidebarMetadata_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarMetadata_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarMetadata_artwork", "selections": [ { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, { - "kind": "LinkedField", "alias": "edition_sets", - "name": "editionSets", - "storageKey": null, "args": null, "concreteType": "EditionSet", + "kind": "LinkedField", + "name": "editionSets", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "lot_label", - "name": "lotLabel", "args": null, + "kind": "ScalarField", + "name": "lotLabel", "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarTitleInfo_artwork", - "args": null + "name": "ArtworkSidebarTitleInfo_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarSizeInfo_piece", - "args": null + "name": "ArtworkSidebarSizeInfo_piece" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarClassification_artwork", - "args": null + "name": "ArtworkSidebarClassification_artwork" } - ] + ], + "type": "Artwork" }; (node as any).hash = 'ee1d620cfeeb5424fe48e300e387ffa4'; export default node; diff --git a/src/v2/__generated__/ArtworkSidebarPartnerInfo_Test_Query.graphql.ts b/src/v2/__generated__/ArtworkSidebarPartnerInfo_Test_Query.graphql.ts index 97f9adddd95..31341829d64 100644 --- a/src/v2/__generated__/ArtworkSidebarPartnerInfo_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarPartnerInfo_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -70,125 +71,125 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarPartnerInfo_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarPartnerInfo_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"artwork_from_partner_with_locations\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarPartnerInfo_artwork", - "args": null + "name": "ArtworkSidebarPartnerInfo_artwork" } - ] + ], + "storageKey": "artwork(id:\"artwork_from_partner_with_locations\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkSidebarPartnerInfo_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"artwork_from_partner_with_locations\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v1/*: any*/), (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "locations", - "storageKey": null, "args": null, "concreteType": "Location", + "kind": "LinkedField", + "name": "locations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ (v1/*: any*/), (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": "artwork(id:\"artwork_from_partner_with_locations\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkSidebarPartnerInfo_Test_Query", "id": null, - "text": "query ArtworkSidebarPartnerInfo_Test_Query {\n artwork(id: \"artwork_from_partner_with_locations\") {\n ...ArtworkSidebarPartnerInfo_artwork\n id\n }\n}\n\nfragment ArtworkSidebarPartnerInfo_artwork on Artwork {\n partner {\n name\n href\n locations {\n city\n id\n }\n id\n }\n sale {\n name\n href\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkSidebarPartnerInfo_Test_Query", + "operationKind": "query", + "text": "query ArtworkSidebarPartnerInfo_Test_Query {\n artwork(id: \"artwork_from_partner_with_locations\") {\n ...ArtworkSidebarPartnerInfo_artwork\n id\n }\n}\n\nfragment ArtworkSidebarPartnerInfo_artwork on Artwork {\n partner {\n name\n href\n locations {\n city\n id\n }\n id\n }\n sale {\n name\n href\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSidebarPartnerInfo_artwork.graphql.ts b/src/v2/__generated__/ArtworkSidebarPartnerInfo_artwork.graphql.ts index 35d2561765a..b037f392cf0 100644 --- a/src/v2/__generated__/ArtworkSidebarPartnerInfo_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarPartnerInfo_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -26,71 +27,71 @@ export type ArtworkSidebarPartnerInfo_artwork$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarPartnerInfo_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarPartnerInfo_artwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "locations", - "storageKey": null, "args": null, "concreteType": "Location", + "kind": "LinkedField", + "name": "locations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = '806a61f16b48333cb19accd4017590d0'; diff --git a/src/v2/__generated__/ArtworkSidebarQuery.graphql.ts b/src/v2/__generated__/ArtworkSidebarQuery.graphql.ts index b850aede68a..8ca8ff30fea 100644 --- a/src/v2/__generated__/ArtworkSidebarQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -310,10 +311,10 @@ fragment VerifiedSeller_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -324,179 +325,177 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": "is_offerable", - "name": "isOfferable", "args": null, + "kind": "ScalarField", + "name": "isOfferable", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, v11 = { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "in", "args": null, + "kind": "ScalarField", + "name": "in", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cm", "args": null, + "kind": "ScalarField", + "name": "cm", "storageKey": null } - ] + ], + "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": "edition_of", - "name": "editionOf", "args": null, + "kind": "ScalarField", + "name": "editionOf", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null }, v14 = [ (v13/*: any*/) ], v15 = { - "kind": "ScalarField", "alias": null, - "name": "cents", "args": null, + "kind": "ScalarField", + "name": "cents", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ArtworkSidebarQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ArtworkSidebarQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebar_artwork", - "args": null + "name": "ArtworkSidebar_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ArtworkSidebarQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_in_auction", - "name": "isInAuction", "args": null, + "kind": "ScalarField", + "name": "isInAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v2/*: any*/), @@ -505,44 +504,40 @@ return { (v5/*: any*/), (v6/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "suggestedConnection", - "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)", "args": [ { "kind": "Literal", @@ -556,43 +551,39 @@ return { } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "suggestedConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:45,width:45)", "args": [ { "kind": "Literal", @@ -606,50 +597,58 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:45,width:45)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_consignable", - "name": "isConsignable", "args": null, + "kind": "ScalarField", + "name": "isConsignable", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, { - "kind": "LinkedField", "alias": "edition_sets", - "name": "editionSets", - "storageKey": null, "args": null, "concreteType": "EditionSet", + "kind": "LinkedField", + "name": "editionSets", "plural": true, "selections": [ (v7/*: any*/), @@ -660,301 +659,299 @@ return { (v10/*: any*/), (v11/*: any*/), (v12/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "lot_label", - "name": "lotLabel", "args": null, + "kind": "ScalarField", + "name": "lotLabel", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "estimate", "args": null, + "kind": "ScalarField", + "name": "estimate", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_with_reserve", - "name": "isWithReserve", "args": null, + "kind": "ScalarField", + "name": "isWithReserve", "storageKey": null }, { - "kind": "ScalarField", "alias": "reserve_message", - "name": "reserveMessage", "args": null, + "kind": "ScalarField", + "name": "reserveMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "reserve_status", - "name": "reserveStatus", "args": null, + "kind": "ScalarField", + "name": "reserveStatus", "storageKey": null }, { - "kind": "LinkedField", "alias": "current_bid", - "name": "currentBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCurrentBid", + "kind": "LinkedField", + "name": "currentBid", "plural": false, - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "increments", - "storageKey": null, "args": null, "concreteType": "BidIncrementsFormatted", + "kind": "LinkedField", + "name": "increments", "plural": true, "selections": [ (v15/*: any*/), (v13/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "medium", "args": null, + "kind": "ScalarField", + "name": "medium", "storageKey": null }, (v11/*: any*/), (v12/*: any*/), { - "kind": "LinkedField", "alias": "attribution_class", - "name": "attributionClass", - "storageKey": null, "args": null, "concreteType": "AttributionClass", + "kind": "LinkedField", + "name": "attributionClass", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "short_description", - "name": "shortDescription", "args": null, + "kind": "ScalarField", + "name": "shortDescription", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v5/*: any*/), (v2/*: any*/), (v6/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "locations", - "storageKey": null, "args": null, "concreteType": "Location", + "kind": "LinkedField", + "name": "locations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isVerifiedSeller", "args": null, + "kind": "ScalarField", + "name": "isVerifiedSeller", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_with_buyers_premium", - "name": "isWithBuyersPremium", "args": null, + "kind": "ScalarField", + "name": "isWithBuyersPremium", "storageKey": null }, (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "qualified_for_bidding", - "name": "qualifiedForBidding", "args": null, + "kind": "ScalarField", + "name": "qualifiedForBidding", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_registration_closed", - "name": "isRegistrationClosed", "args": null, + "kind": "ScalarField", + "name": "isRegistrationClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "requireIdentityVerification", "args": null, + "kind": "ScalarField", + "name": "requireIdentityVerification", "storageKey": null }, (v5/*: any*/), (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isBenefit", "args": null, + "kind": "ScalarField", + "name": "isBenefit", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v5/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "live_start_at", - "name": "liveStartAt", "args": null, + "kind": "ScalarField", + "name": "liveStartAt", "storageKey": null }, { - "kind": "ScalarField", "alias": "end_at", - "name": "endAt", "args": null, + "kind": "ScalarField", + "name": "endAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLotStanding", - "storageKey": "myLotStanding(live:true)", "args": [ { "kind": "Literal", @@ -963,134 +960,138 @@ return { } ], "concreteType": "LotStanding", + "kind": "LinkedField", + "name": "myLotStanding", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": "active_bid", - "name": "activeBid", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "activeBid", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_winning", - "name": "isWinning", "args": null, + "kind": "ScalarField", + "name": "isWinning", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "most_recent_bid", - "name": "mostRecentBid", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "mostRecentBid", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "max_bid", - "name": "maxBid", - "storageKey": null, "args": null, "concreteType": "BidderPositionMaxBid", + "kind": "LinkedField", + "name": "maxBid", "plural": false, "selections": [ (v13/*: any*/), (v15/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "myLotStanding(live:true)" }, (v4/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": "is_for_sale", - "name": "isForSale", "args": null, + "kind": "ScalarField", + "name": "isForSale", "storageKey": null }, (v8/*: any*/), { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v9/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ (v7/*: any*/), { "kind": "InlineFragment", - "type": "PriceRange", - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "priceIncludesTaxDisplay", "args": null, + "kind": "ScalarField", + "name": "priceIncludesTaxDisplay", "storageKey": null }, (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "shippingInfo", "args": null, + "kind": "ScalarField", + "name": "shippingInfo", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasCertificateOfAuthenticity", "args": null, + "kind": "ScalarField", + "name": "hasCertificateOfAuthenticity", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ArtworkSidebarQuery", "id": null, - "text": "query ArtworkSidebarQuery(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...ArtworkSidebar_artwork\n id\n }\n}\n\nfragment ArtworkSidebarArtists_artwork on Artwork {\n cultural_maker: culturalMaker\n artists {\n id\n internalID\n slug\n name\n href\n ...FollowArtistButton_artist_2eN9lh\n }\n}\n\nfragment ArtworkSidebarAuctionPartnerInfo_artwork on Artwork {\n partner {\n name\n id\n }\n sale_artwork: saleArtwork {\n estimate\n id\n }\n sale {\n internalID\n is_closed: isClosed\n id\n }\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 id\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attribution_class: attributionClass {\n short_description: shortDescription\n id\n }\n}\n\nfragment ArtworkSidebarCommercial_artwork on Artwork {\n slug\n internalID\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n is_offerable: isOfferable\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n priceIncludesTaxDisplay\n sale_message: saleMessage\n shippingInfo\n shippingOrigin\n edition_sets: editionSets {\n internalID\n id\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n sale_message: saleMessage\n ...ArtworkSidebarSizeInfo_piece\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 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}\n\nfragment ArtworkSidebarExtraLinks_artwork on Artwork {\n internalID\n is_in_auction: isInAuction\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n artists {\n is_consignable: isConsignable\n id\n }\n sale {\n is_closed: isClosed\n isBenefit\n partner {\n name\n id\n }\n id\n }\n}\n\nfragment ArtworkSidebarMetadata_artwork on Artwork {\n is_biddable: isBiddable\n edition_sets: editionSets {\n __typename\n id\n }\n sale_artwork: saleArtwork {\n lot_label: lotLabel\n id\n }\n ...ArtworkSidebarTitleInfo_artwork\n ...ArtworkSidebarSizeInfo_piece\n ...ArtworkSidebarClassification_artwork\n}\n\nfragment ArtworkSidebarPartnerInfo_artwork on Artwork {\n partner {\n name\n href\n locations {\n city\n id\n }\n id\n }\n sale {\n name\n href\n id\n }\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n dimensions {\n in\n cm\n }\n edition_of: editionOf\n}\n\nfragment ArtworkSidebarTitleInfo_artwork on Artwork {\n title\n date\n medium\n}\n\nfragment ArtworkSidebar_artwork on Artwork {\n is_in_auction: isInAuction\n ...ArtworkSidebarArtists_artwork\n ...ArtworkSidebarMetadata_artwork\n ...ArtworkSidebarAuctionPartnerInfo_artwork\n ...ArtworkSidebarCurrentBidInfo_artwork\n ...ArtworkSidebarBidAction_artwork\n ...ArtworkSidebarCommercial_artwork\n ...ArtworkSidebarPartnerInfo_artwork\n ...ArtworkSidebarExtraLinks_artwork\n ...SecurePayment_artwork\n ...VerifiedSeller_artwork\n ...AuthenticityCertificate_artwork\n sale {\n is_closed: isClosed\n ...AuctionTimer_sale\n id\n }\n}\n\nfragment AuctionTimer_sale on Sale {\n live_start_at: liveStartAt\n end_at: endAt\n}\n\nfragment AuthenticityCertificate_artwork on Artwork {\n hasCertificateOfAuthenticity\n is_biddable: isBiddable\n}\n\nfragment FollowArtistButton_artist_2eN9lh on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n ...FollowArtistPopover_artist\n}\n\nfragment FollowArtistPopoverRow_artist on Artist {\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n}\n\nfragment FollowArtistPopover_artist on Artist {\n related {\n suggestedConnection(first: 3, excludeFollowedArtists: true) {\n edges {\n node {\n id\n internalID\n ...FollowArtistPopoverRow_artist\n }\n }\n }\n }\n}\n\nfragment SecurePayment_artwork on Artwork {\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n}\n\nfragment VerifiedSeller_artwork on Artwork {\n is_biddable: isBiddable\n partner {\n isVerifiedSeller\n name\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkSidebarQuery", + "operationKind": "query", + "text": "query ArtworkSidebarQuery(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...ArtworkSidebar_artwork\n id\n }\n}\n\nfragment ArtworkSidebarArtists_artwork on Artwork {\n cultural_maker: culturalMaker\n artists {\n id\n internalID\n slug\n name\n href\n ...FollowArtistButton_artist_2eN9lh\n }\n}\n\nfragment ArtworkSidebarAuctionPartnerInfo_artwork on Artwork {\n partner {\n name\n id\n }\n sale_artwork: saleArtwork {\n estimate\n id\n }\n sale {\n internalID\n is_closed: isClosed\n id\n }\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 id\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attribution_class: attributionClass {\n short_description: shortDescription\n id\n }\n}\n\nfragment ArtworkSidebarCommercial_artwork on Artwork {\n slug\n internalID\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n is_offerable: isOfferable\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n priceIncludesTaxDisplay\n sale_message: saleMessage\n shippingInfo\n shippingOrigin\n edition_sets: editionSets {\n internalID\n id\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n sale_message: saleMessage\n ...ArtworkSidebarSizeInfo_piece\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 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}\n\nfragment ArtworkSidebarExtraLinks_artwork on Artwork {\n internalID\n is_in_auction: isInAuction\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n artists {\n is_consignable: isConsignable\n id\n }\n sale {\n is_closed: isClosed\n isBenefit\n partner {\n name\n id\n }\n id\n }\n}\n\nfragment ArtworkSidebarMetadata_artwork on Artwork {\n is_biddable: isBiddable\n edition_sets: editionSets {\n __typename\n id\n }\n sale_artwork: saleArtwork {\n lot_label: lotLabel\n id\n }\n ...ArtworkSidebarTitleInfo_artwork\n ...ArtworkSidebarSizeInfo_piece\n ...ArtworkSidebarClassification_artwork\n}\n\nfragment ArtworkSidebarPartnerInfo_artwork on Artwork {\n partner {\n name\n href\n locations {\n city\n id\n }\n id\n }\n sale {\n name\n href\n id\n }\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n dimensions {\n in\n cm\n }\n edition_of: editionOf\n}\n\nfragment ArtworkSidebarTitleInfo_artwork on Artwork {\n title\n date\n medium\n}\n\nfragment ArtworkSidebar_artwork on Artwork {\n is_in_auction: isInAuction\n ...ArtworkSidebarArtists_artwork\n ...ArtworkSidebarMetadata_artwork\n ...ArtworkSidebarAuctionPartnerInfo_artwork\n ...ArtworkSidebarCurrentBidInfo_artwork\n ...ArtworkSidebarBidAction_artwork\n ...ArtworkSidebarCommercial_artwork\n ...ArtworkSidebarPartnerInfo_artwork\n ...ArtworkSidebarExtraLinks_artwork\n ...SecurePayment_artwork\n ...VerifiedSeller_artwork\n ...AuthenticityCertificate_artwork\n sale {\n is_closed: isClosed\n ...AuctionTimer_sale\n id\n }\n}\n\nfragment AuctionTimer_sale on Sale {\n live_start_at: liveStartAt\n end_at: endAt\n}\n\nfragment AuthenticityCertificate_artwork on Artwork {\n hasCertificateOfAuthenticity\n is_biddable: isBiddable\n}\n\nfragment FollowArtistButton_artist_2eN9lh on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n ...FollowArtistPopover_artist\n}\n\nfragment FollowArtistPopoverRow_artist on Artist {\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n}\n\nfragment FollowArtistPopover_artist on Artist {\n related {\n suggestedConnection(first: 3, excludeFollowedArtists: true) {\n edges {\n node {\n id\n internalID\n ...FollowArtistPopoverRow_artist\n }\n }\n }\n }\n}\n\nfragment SecurePayment_artwork on Artwork {\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n}\n\nfragment VerifiedSeller_artwork on Artwork {\n is_biddable: isBiddable\n partner {\n isVerifiedSeller\n name\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSidebarSizeInfo_piece.graphql.ts b/src/v2/__generated__/ArtworkSidebarSizeInfo_piece.graphql.ts index a8bfa99b2c0..124016b32a4 100644 --- a/src/v2/__generated__/ArtworkSidebarSizeInfo_piece.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarSizeInfo_piece.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -19,45 +20,45 @@ export type ArtworkSidebarSizeInfo_piece$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarSizeInfo_piece", - "type": "Sellable", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarSizeInfo_piece", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "in", "args": null, + "kind": "ScalarField", + "name": "in", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cm", "args": null, + "kind": "ScalarField", + "name": "cm", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "edition_of", - "name": "editionOf", "args": null, + "kind": "ScalarField", + "name": "editionOf", "storageKey": null } - ] + ], + "type": "Sellable" }; (node as any).hash = '084d24d3f414c5839dbc469b7d8c1810'; export default node; diff --git a/src/v2/__generated__/ArtworkSidebarStoryQuery.graphql.ts b/src/v2/__generated__/ArtworkSidebarStoryQuery.graphql.ts index bda7da060ef..e15be1806e1 100644 --- a/src/v2/__generated__/ArtworkSidebarStoryQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarStoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -312,179 +313,177 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": "is_offerable", - "name": "isOfferable", "args": null, + "kind": "ScalarField", + "name": "isOfferable", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, v10 = { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "in", "args": null, + "kind": "ScalarField", + "name": "in", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cm", "args": null, + "kind": "ScalarField", + "name": "cm", "storageKey": null } - ] + ], + "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": "edition_of", - "name": "editionOf", "args": null, + "kind": "ScalarField", + "name": "editionOf", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null }, v13 = [ (v12/*: any*/) ], v14 = { - "kind": "ScalarField", "alias": null, - "name": "cents", "args": null, + "kind": "ScalarField", + "name": "cents", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarStoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarStoryQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebar_artwork", - "args": null + "name": "ArtworkSidebar_artwork" } - ] + ], + "storageKey": "artwork(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkSidebarStoryQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_in_auction", - "name": "isInAuction", "args": null, + "kind": "ScalarField", + "name": "isInAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v1/*: any*/), @@ -493,44 +492,40 @@ return { (v4/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "suggestedConnection", - "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)", "args": [ { "kind": "Literal", @@ -544,43 +539,39 @@ return { } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "suggestedConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/), (v2/*: any*/), (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:45,width:45)", "args": [ { "kind": "Literal", @@ -594,50 +585,58 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:45,width:45)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_consignable", - "name": "isConsignable", "args": null, + "kind": "ScalarField", + "name": "isConsignable", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, { - "kind": "LinkedField", "alias": "edition_sets", - "name": "editionSets", - "storageKey": null, "args": null, "concreteType": "EditionSet", + "kind": "LinkedField", + "name": "editionSets", "plural": true, "selections": [ (v6/*: any*/), @@ -648,301 +647,299 @@ return { (v9/*: any*/), (v10/*: any*/), (v11/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "lot_label", - "name": "lotLabel", "args": null, + "kind": "ScalarField", + "name": "lotLabel", "storageKey": null }, (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "estimate", "args": null, + "kind": "ScalarField", + "name": "estimate", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_with_reserve", - "name": "isWithReserve", "args": null, + "kind": "ScalarField", + "name": "isWithReserve", "storageKey": null }, { - "kind": "ScalarField", "alias": "reserve_message", - "name": "reserveMessage", "args": null, + "kind": "ScalarField", + "name": "reserveMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "reserve_status", - "name": "reserveStatus", "args": null, + "kind": "ScalarField", + "name": "reserveStatus", "storageKey": null }, { - "kind": "LinkedField", "alias": "current_bid", - "name": "currentBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCurrentBid", + "kind": "LinkedField", + "name": "currentBid", "plural": false, - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "increments", - "storageKey": null, "args": null, "concreteType": "BidIncrementsFormatted", + "kind": "LinkedField", + "name": "increments", "plural": true, "selections": [ (v14/*: any*/), (v12/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "medium", "args": null, + "kind": "ScalarField", + "name": "medium", "storageKey": null }, (v10/*: any*/), (v11/*: any*/), { - "kind": "LinkedField", "alias": "attribution_class", - "name": "attributionClass", - "storageKey": null, "args": null, "concreteType": "AttributionClass", + "kind": "LinkedField", + "name": "attributionClass", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "short_description", - "name": "shortDescription", "args": null, + "kind": "ScalarField", + "name": "shortDescription", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v4/*: any*/), (v1/*: any*/), (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "locations", - "storageKey": null, "args": null, "concreteType": "Location", + "kind": "LinkedField", + "name": "locations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isVerifiedSeller", "args": null, + "kind": "ScalarField", + "name": "isVerifiedSeller", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v1/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_with_buyers_premium", - "name": "isWithBuyersPremium", "args": null, + "kind": "ScalarField", + "name": "isWithBuyersPremium", "storageKey": null }, (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "qualified_for_bidding", - "name": "qualifiedForBidding", "args": null, + "kind": "ScalarField", + "name": "qualifiedForBidding", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_registration_closed", - "name": "isRegistrationClosed", "args": null, + "kind": "ScalarField", + "name": "isRegistrationClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "requireIdentityVerification", "args": null, + "kind": "ScalarField", + "name": "requireIdentityVerification", "storageKey": null }, (v4/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isBenefit", "args": null, + "kind": "ScalarField", + "name": "isBenefit", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v4/*: any*/), (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "live_start_at", - "name": "liveStartAt", "args": null, + "kind": "ScalarField", + "name": "liveStartAt", "storageKey": null }, { - "kind": "ScalarField", "alias": "end_at", - "name": "endAt", "args": null, + "kind": "ScalarField", + "name": "endAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLotStanding", - "storageKey": "myLotStanding(live:true)", "args": [ { "kind": "Literal", @@ -951,134 +948,138 @@ return { } ], "concreteType": "LotStanding", + "kind": "LinkedField", + "name": "myLotStanding", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": "active_bid", - "name": "activeBid", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "activeBid", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_winning", - "name": "isWinning", "args": null, + "kind": "ScalarField", + "name": "isWinning", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "most_recent_bid", - "name": "mostRecentBid", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "mostRecentBid", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "max_bid", - "name": "maxBid", - "storageKey": null, "args": null, "concreteType": "BidderPositionMaxBid", + "kind": "LinkedField", + "name": "maxBid", "plural": false, "selections": [ (v12/*: any*/), (v14/*: any*/) - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "myLotStanding(live:true)" }, (v3/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": "is_for_sale", - "name": "isForSale", "args": null, + "kind": "ScalarField", + "name": "isForSale", "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v8/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ (v6/*: any*/), { "kind": "InlineFragment", - "type": "PriceRange", - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "priceIncludesTaxDisplay", "args": null, + "kind": "ScalarField", + "name": "priceIncludesTaxDisplay", "storageKey": null }, (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "shippingInfo", "args": null, + "kind": "ScalarField", + "name": "shippingInfo", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasCertificateOfAuthenticity", "args": null, + "kind": "ScalarField", + "name": "hasCertificateOfAuthenticity", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "artwork(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkSidebarStoryQuery", "id": null, - "text": "query ArtworkSidebarStoryQuery {\n artwork(id: \"unused\") {\n ...ArtworkSidebar_artwork\n id\n }\n}\n\nfragment ArtworkSidebarArtists_artwork on Artwork {\n cultural_maker: culturalMaker\n artists {\n id\n internalID\n slug\n name\n href\n ...FollowArtistButton_artist_2eN9lh\n }\n}\n\nfragment ArtworkSidebarAuctionPartnerInfo_artwork on Artwork {\n partner {\n name\n id\n }\n sale_artwork: saleArtwork {\n estimate\n id\n }\n sale {\n internalID\n is_closed: isClosed\n id\n }\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 id\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attribution_class: attributionClass {\n short_description: shortDescription\n id\n }\n}\n\nfragment ArtworkSidebarCommercial_artwork on Artwork {\n slug\n internalID\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n is_offerable: isOfferable\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n priceIncludesTaxDisplay\n sale_message: saleMessage\n shippingInfo\n shippingOrigin\n edition_sets: editionSets {\n internalID\n id\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n sale_message: saleMessage\n ...ArtworkSidebarSizeInfo_piece\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 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}\n\nfragment ArtworkSidebarExtraLinks_artwork on Artwork {\n internalID\n is_in_auction: isInAuction\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n artists {\n is_consignable: isConsignable\n id\n }\n sale {\n is_closed: isClosed\n isBenefit\n partner {\n name\n id\n }\n id\n }\n}\n\nfragment ArtworkSidebarMetadata_artwork on Artwork {\n is_biddable: isBiddable\n edition_sets: editionSets {\n __typename\n id\n }\n sale_artwork: saleArtwork {\n lot_label: lotLabel\n id\n }\n ...ArtworkSidebarTitleInfo_artwork\n ...ArtworkSidebarSizeInfo_piece\n ...ArtworkSidebarClassification_artwork\n}\n\nfragment ArtworkSidebarPartnerInfo_artwork on Artwork {\n partner {\n name\n href\n locations {\n city\n id\n }\n id\n }\n sale {\n name\n href\n id\n }\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n dimensions {\n in\n cm\n }\n edition_of: editionOf\n}\n\nfragment ArtworkSidebarTitleInfo_artwork on Artwork {\n title\n date\n medium\n}\n\nfragment ArtworkSidebar_artwork on Artwork {\n is_in_auction: isInAuction\n ...ArtworkSidebarArtists_artwork\n ...ArtworkSidebarMetadata_artwork\n ...ArtworkSidebarAuctionPartnerInfo_artwork\n ...ArtworkSidebarCurrentBidInfo_artwork\n ...ArtworkSidebarBidAction_artwork\n ...ArtworkSidebarCommercial_artwork\n ...ArtworkSidebarPartnerInfo_artwork\n ...ArtworkSidebarExtraLinks_artwork\n ...SecurePayment_artwork\n ...VerifiedSeller_artwork\n ...AuthenticityCertificate_artwork\n sale {\n is_closed: isClosed\n ...AuctionTimer_sale\n id\n }\n}\n\nfragment AuctionTimer_sale on Sale {\n live_start_at: liveStartAt\n end_at: endAt\n}\n\nfragment AuthenticityCertificate_artwork on Artwork {\n hasCertificateOfAuthenticity\n is_biddable: isBiddable\n}\n\nfragment FollowArtistButton_artist_2eN9lh on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n ...FollowArtistPopover_artist\n}\n\nfragment FollowArtistPopoverRow_artist on Artist {\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n}\n\nfragment FollowArtistPopover_artist on Artist {\n related {\n suggestedConnection(first: 3, excludeFollowedArtists: true) {\n edges {\n node {\n id\n internalID\n ...FollowArtistPopoverRow_artist\n }\n }\n }\n }\n}\n\nfragment SecurePayment_artwork on Artwork {\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n}\n\nfragment VerifiedSeller_artwork on Artwork {\n is_biddable: isBiddable\n partner {\n isVerifiedSeller\n name\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkSidebarStoryQuery", + "operationKind": "query", + "text": "query ArtworkSidebarStoryQuery {\n artwork(id: \"unused\") {\n ...ArtworkSidebar_artwork\n id\n }\n}\n\nfragment ArtworkSidebarArtists_artwork on Artwork {\n cultural_maker: culturalMaker\n artists {\n id\n internalID\n slug\n name\n href\n ...FollowArtistButton_artist_2eN9lh\n }\n}\n\nfragment ArtworkSidebarAuctionPartnerInfo_artwork on Artwork {\n partner {\n name\n id\n }\n sale_artwork: saleArtwork {\n estimate\n id\n }\n sale {\n internalID\n is_closed: isClosed\n id\n }\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 id\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attribution_class: attributionClass {\n short_description: shortDescription\n id\n }\n}\n\nfragment ArtworkSidebarCommercial_artwork on Artwork {\n slug\n internalID\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n is_offerable: isOfferable\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n priceIncludesTaxDisplay\n sale_message: saleMessage\n shippingInfo\n shippingOrigin\n edition_sets: editionSets {\n internalID\n id\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n sale_message: saleMessage\n ...ArtworkSidebarSizeInfo_piece\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 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}\n\nfragment ArtworkSidebarExtraLinks_artwork on Artwork {\n internalID\n is_in_auction: isInAuction\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n artists {\n is_consignable: isConsignable\n id\n }\n sale {\n is_closed: isClosed\n isBenefit\n partner {\n name\n id\n }\n id\n }\n}\n\nfragment ArtworkSidebarMetadata_artwork on Artwork {\n is_biddable: isBiddable\n edition_sets: editionSets {\n __typename\n id\n }\n sale_artwork: saleArtwork {\n lot_label: lotLabel\n id\n }\n ...ArtworkSidebarTitleInfo_artwork\n ...ArtworkSidebarSizeInfo_piece\n ...ArtworkSidebarClassification_artwork\n}\n\nfragment ArtworkSidebarPartnerInfo_artwork on Artwork {\n partner {\n name\n href\n locations {\n city\n id\n }\n id\n }\n sale {\n name\n href\n id\n }\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n dimensions {\n in\n cm\n }\n edition_of: editionOf\n}\n\nfragment ArtworkSidebarTitleInfo_artwork on Artwork {\n title\n date\n medium\n}\n\nfragment ArtworkSidebar_artwork on Artwork {\n is_in_auction: isInAuction\n ...ArtworkSidebarArtists_artwork\n ...ArtworkSidebarMetadata_artwork\n ...ArtworkSidebarAuctionPartnerInfo_artwork\n ...ArtworkSidebarCurrentBidInfo_artwork\n ...ArtworkSidebarBidAction_artwork\n ...ArtworkSidebarCommercial_artwork\n ...ArtworkSidebarPartnerInfo_artwork\n ...ArtworkSidebarExtraLinks_artwork\n ...SecurePayment_artwork\n ...VerifiedSeller_artwork\n ...AuthenticityCertificate_artwork\n sale {\n is_closed: isClosed\n ...AuctionTimer_sale\n id\n }\n}\n\nfragment AuctionTimer_sale on Sale {\n live_start_at: liveStartAt\n end_at: endAt\n}\n\nfragment AuthenticityCertificate_artwork on Artwork {\n hasCertificateOfAuthenticity\n is_biddable: isBiddable\n}\n\nfragment FollowArtistButton_artist_2eN9lh on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n ...FollowArtistPopover_artist\n}\n\nfragment FollowArtistPopoverRow_artist on Artist {\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n}\n\nfragment FollowArtistPopover_artist on Artist {\n related {\n suggestedConnection(first: 3, excludeFollowedArtists: true) {\n edges {\n node {\n id\n internalID\n ...FollowArtistPopoverRow_artist\n }\n }\n }\n }\n}\n\nfragment SecurePayment_artwork on Artwork {\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n}\n\nfragment VerifiedSeller_artwork on Artwork {\n is_biddable: isBiddable\n partner {\n isVerifiedSeller\n name\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSidebarTitleInfo_artwork.graphql.ts b/src/v2/__generated__/ArtworkSidebarTitleInfo_artwork.graphql.ts index 37eeca5c9ee..91ad9c300b6 100644 --- a/src/v2/__generated__/ArtworkSidebarTitleInfo_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebarTitleInfo_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -17,34 +18,34 @@ export type ArtworkSidebarTitleInfo_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebarTitleInfo_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebarTitleInfo_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "medium", "args": null, + "kind": "ScalarField", + "name": "medium", "storageKey": null } - ] + ], + "type": "Artwork" }; (node as any).hash = '3a3e32595a7e874f0bca9e3ce4033193'; export default node; diff --git a/src/v2/__generated__/ArtworkSidebar_Test_Query.graphql.ts b/src/v2/__generated__/ArtworkSidebar_Test_Query.graphql.ts index 003c0597d19..6308dd17d71 100644 --- a/src/v2/__generated__/ArtworkSidebar_Test_Query.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebar_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -460,179 +461,177 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": "is_offerable", - "name": "isOfferable", "args": null, + "kind": "ScalarField", + "name": "isOfferable", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, v10 = { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "in", "args": null, + "kind": "ScalarField", + "name": "in", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cm", "args": null, + "kind": "ScalarField", + "name": "cm", "storageKey": null } - ] + ], + "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": "edition_of", - "name": "editionOf", "args": null, + "kind": "ScalarField", + "name": "editionOf", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null }, v13 = [ (v12/*: any*/) ], v14 = { - "kind": "ScalarField", "alias": null, - "name": "cents", "args": null, + "kind": "ScalarField", + "name": "cents", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebar_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebar_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebar_artwork", - "args": null + "name": "ArtworkSidebar_artwork" } - ] + ], + "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkSidebar_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_in_auction", - "name": "isInAuction", "args": null, + "kind": "ScalarField", + "name": "isInAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v1/*: any*/), @@ -641,44 +640,40 @@ return { (v4/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "suggestedConnection", - "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)", "args": [ { "kind": "Literal", @@ -692,43 +687,39 @@ return { } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "suggestedConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/), (v2/*: any*/), (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:45,width:45)", "args": [ { "kind": "Literal", @@ -742,50 +733,58 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:45,width:45)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_consignable", - "name": "isConsignable", "args": null, + "kind": "ScalarField", + "name": "isConsignable", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, { - "kind": "LinkedField", "alias": "edition_sets", - "name": "editionSets", - "storageKey": null, "args": null, "concreteType": "EditionSet", + "kind": "LinkedField", + "name": "editionSets", "plural": true, "selections": [ (v6/*: any*/), @@ -796,301 +795,299 @@ return { (v9/*: any*/), (v10/*: any*/), (v11/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "lot_label", - "name": "lotLabel", "args": null, + "kind": "ScalarField", + "name": "lotLabel", "storageKey": null }, (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "estimate", "args": null, + "kind": "ScalarField", + "name": "estimate", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_with_reserve", - "name": "isWithReserve", "args": null, + "kind": "ScalarField", + "name": "isWithReserve", "storageKey": null }, { - "kind": "ScalarField", "alias": "reserve_message", - "name": "reserveMessage", "args": null, + "kind": "ScalarField", + "name": "reserveMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "reserve_status", - "name": "reserveStatus", "args": null, + "kind": "ScalarField", + "name": "reserveStatus", "storageKey": null }, { - "kind": "LinkedField", "alias": "current_bid", - "name": "currentBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCurrentBid", + "kind": "LinkedField", + "name": "currentBid", "plural": false, - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "increments", - "storageKey": null, "args": null, "concreteType": "BidIncrementsFormatted", + "kind": "LinkedField", + "name": "increments", "plural": true, "selections": [ (v14/*: any*/), (v12/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "medium", "args": null, + "kind": "ScalarField", + "name": "medium", "storageKey": null }, (v10/*: any*/), (v11/*: any*/), { - "kind": "LinkedField", "alias": "attribution_class", - "name": "attributionClass", - "storageKey": null, "args": null, "concreteType": "AttributionClass", + "kind": "LinkedField", + "name": "attributionClass", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "short_description", - "name": "shortDescription", "args": null, + "kind": "ScalarField", + "name": "shortDescription", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v4/*: any*/), (v1/*: any*/), (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "locations", - "storageKey": null, "args": null, "concreteType": "Location", + "kind": "LinkedField", + "name": "locations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isVerifiedSeller", "args": null, + "kind": "ScalarField", + "name": "isVerifiedSeller", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v1/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_with_buyers_premium", - "name": "isWithBuyersPremium", "args": null, + "kind": "ScalarField", + "name": "isWithBuyersPremium", "storageKey": null }, (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "qualified_for_bidding", - "name": "qualifiedForBidding", "args": null, + "kind": "ScalarField", + "name": "qualifiedForBidding", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_registration_closed", - "name": "isRegistrationClosed", "args": null, + "kind": "ScalarField", + "name": "isRegistrationClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "requireIdentityVerification", "args": null, + "kind": "ScalarField", + "name": "requireIdentityVerification", "storageKey": null }, (v4/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isBenefit", "args": null, + "kind": "ScalarField", + "name": "isBenefit", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v4/*: any*/), (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "live_start_at", - "name": "liveStartAt", "args": null, + "kind": "ScalarField", + "name": "liveStartAt", "storageKey": null }, { - "kind": "ScalarField", "alias": "end_at", - "name": "endAt", "args": null, + "kind": "ScalarField", + "name": "endAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLotStanding", - "storageKey": "myLotStanding(live:true)", "args": [ { "kind": "Literal", @@ -1099,134 +1096,138 @@ return { } ], "concreteType": "LotStanding", + "kind": "LinkedField", + "name": "myLotStanding", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": "active_bid", - "name": "activeBid", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "activeBid", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_winning", - "name": "isWinning", "args": null, + "kind": "ScalarField", + "name": "isWinning", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "most_recent_bid", - "name": "mostRecentBid", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "mostRecentBid", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "max_bid", - "name": "maxBid", - "storageKey": null, "args": null, "concreteType": "BidderPositionMaxBid", + "kind": "LinkedField", + "name": "maxBid", "plural": false, "selections": [ (v12/*: any*/), (v14/*: any*/) - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "myLotStanding(live:true)" }, (v3/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": "is_for_sale", - "name": "isForSale", "args": null, + "kind": "ScalarField", + "name": "isForSale", "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v8/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ (v6/*: any*/), { "kind": "InlineFragment", - "type": "PriceRange", - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "priceIncludesTaxDisplay", "args": null, + "kind": "ScalarField", + "name": "priceIncludesTaxDisplay", "storageKey": null }, (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "shippingInfo", "args": null, + "kind": "ScalarField", + "name": "shippingInfo", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasCertificateOfAuthenticity", "args": null, + "kind": "ScalarField", + "name": "hasCertificateOfAuthenticity", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "artwork(id:\"josef-albers-homage-to-the-square-85\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkSidebar_Test_Query", "id": null, - "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 cultural_maker: culturalMaker\n artists {\n id\n internalID\n slug\n name\n href\n ...FollowArtistButton_artist_2eN9lh\n }\n}\n\nfragment ArtworkSidebarAuctionPartnerInfo_artwork on Artwork {\n partner {\n name\n id\n }\n sale_artwork: saleArtwork {\n estimate\n id\n }\n sale {\n internalID\n is_closed: isClosed\n id\n }\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 id\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attribution_class: attributionClass {\n short_description: shortDescription\n id\n }\n}\n\nfragment ArtworkSidebarCommercial_artwork on Artwork {\n slug\n internalID\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n is_offerable: isOfferable\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n priceIncludesTaxDisplay\n sale_message: saleMessage\n shippingInfo\n shippingOrigin\n edition_sets: editionSets {\n internalID\n id\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n sale_message: saleMessage\n ...ArtworkSidebarSizeInfo_piece\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 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}\n\nfragment ArtworkSidebarExtraLinks_artwork on Artwork {\n internalID\n is_in_auction: isInAuction\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n artists {\n is_consignable: isConsignable\n id\n }\n sale {\n is_closed: isClosed\n isBenefit\n partner {\n name\n id\n }\n id\n }\n}\n\nfragment ArtworkSidebarMetadata_artwork on Artwork {\n is_biddable: isBiddable\n edition_sets: editionSets {\n __typename\n id\n }\n sale_artwork: saleArtwork {\n lot_label: lotLabel\n id\n }\n ...ArtworkSidebarTitleInfo_artwork\n ...ArtworkSidebarSizeInfo_piece\n ...ArtworkSidebarClassification_artwork\n}\n\nfragment ArtworkSidebarPartnerInfo_artwork on Artwork {\n partner {\n name\n href\n locations {\n city\n id\n }\n id\n }\n sale {\n name\n href\n id\n }\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n dimensions {\n in\n cm\n }\n edition_of: editionOf\n}\n\nfragment ArtworkSidebarTitleInfo_artwork on Artwork {\n title\n date\n medium\n}\n\nfragment ArtworkSidebar_artwork on Artwork {\n is_in_auction: isInAuction\n ...ArtworkSidebarArtists_artwork\n ...ArtworkSidebarMetadata_artwork\n ...ArtworkSidebarAuctionPartnerInfo_artwork\n ...ArtworkSidebarCurrentBidInfo_artwork\n ...ArtworkSidebarBidAction_artwork\n ...ArtworkSidebarCommercial_artwork\n ...ArtworkSidebarPartnerInfo_artwork\n ...ArtworkSidebarExtraLinks_artwork\n ...SecurePayment_artwork\n ...VerifiedSeller_artwork\n ...AuthenticityCertificate_artwork\n sale {\n is_closed: isClosed\n ...AuctionTimer_sale\n id\n }\n}\n\nfragment AuctionTimer_sale on Sale {\n live_start_at: liveStartAt\n end_at: endAt\n}\n\nfragment AuthenticityCertificate_artwork on Artwork {\n hasCertificateOfAuthenticity\n is_biddable: isBiddable\n}\n\nfragment FollowArtistButton_artist_2eN9lh on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n ...FollowArtistPopover_artist\n}\n\nfragment FollowArtistPopoverRow_artist on Artist {\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n}\n\nfragment FollowArtistPopover_artist on Artist {\n related {\n suggestedConnection(first: 3, excludeFollowedArtists: true) {\n edges {\n node {\n id\n internalID\n ...FollowArtistPopoverRow_artist\n }\n }\n }\n }\n}\n\nfragment SecurePayment_artwork on Artwork {\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n}\n\nfragment VerifiedSeller_artwork on Artwork {\n is_biddable: isBiddable\n partner {\n isVerifiedSeller\n name\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "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 cultural_maker: culturalMaker\n artists {\n id\n internalID\n slug\n name\n href\n ...FollowArtistButton_artist_2eN9lh\n }\n}\n\nfragment ArtworkSidebarAuctionPartnerInfo_artwork on Artwork {\n partner {\n name\n id\n }\n sale_artwork: saleArtwork {\n estimate\n id\n }\n sale {\n internalID\n is_closed: isClosed\n id\n }\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 id\n }\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attribution_class: attributionClass {\n short_description: shortDescription\n id\n }\n}\n\nfragment ArtworkSidebarCommercial_artwork on Artwork {\n slug\n internalID\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n is_offerable: isOfferable\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n priceIncludesTaxDisplay\n sale_message: saleMessage\n shippingInfo\n shippingOrigin\n edition_sets: editionSets {\n internalID\n id\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n sale_message: saleMessage\n ...ArtworkSidebarSizeInfo_piece\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 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}\n\nfragment ArtworkSidebarExtraLinks_artwork on Artwork {\n internalID\n is_in_auction: isInAuction\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n artists {\n is_consignable: isConsignable\n id\n }\n sale {\n is_closed: isClosed\n isBenefit\n partner {\n name\n id\n }\n id\n }\n}\n\nfragment ArtworkSidebarMetadata_artwork on Artwork {\n is_biddable: isBiddable\n edition_sets: editionSets {\n __typename\n id\n }\n sale_artwork: saleArtwork {\n lot_label: lotLabel\n id\n }\n ...ArtworkSidebarTitleInfo_artwork\n ...ArtworkSidebarSizeInfo_piece\n ...ArtworkSidebarClassification_artwork\n}\n\nfragment ArtworkSidebarPartnerInfo_artwork on Artwork {\n partner {\n name\n href\n locations {\n city\n id\n }\n id\n }\n sale {\n name\n href\n id\n }\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n dimensions {\n in\n cm\n }\n edition_of: editionOf\n}\n\nfragment ArtworkSidebarTitleInfo_artwork on Artwork {\n title\n date\n medium\n}\n\nfragment ArtworkSidebar_artwork on Artwork {\n is_in_auction: isInAuction\n ...ArtworkSidebarArtists_artwork\n ...ArtworkSidebarMetadata_artwork\n ...ArtworkSidebarAuctionPartnerInfo_artwork\n ...ArtworkSidebarCurrentBidInfo_artwork\n ...ArtworkSidebarBidAction_artwork\n ...ArtworkSidebarCommercial_artwork\n ...ArtworkSidebarPartnerInfo_artwork\n ...ArtworkSidebarExtraLinks_artwork\n ...SecurePayment_artwork\n ...VerifiedSeller_artwork\n ...AuthenticityCertificate_artwork\n sale {\n is_closed: isClosed\n ...AuctionTimer_sale\n id\n }\n}\n\nfragment AuctionTimer_sale on Sale {\n live_start_at: liveStartAt\n end_at: endAt\n}\n\nfragment AuthenticityCertificate_artwork on Artwork {\n hasCertificateOfAuthenticity\n is_biddable: isBiddable\n}\n\nfragment FollowArtistButton_artist_2eN9lh on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n ...FollowArtistPopover_artist\n}\n\nfragment FollowArtistPopoverRow_artist on Artist {\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n}\n\nfragment FollowArtistPopover_artist on Artist {\n related {\n suggestedConnection(first: 3, excludeFollowedArtists: true) {\n edges {\n node {\n id\n internalID\n ...FollowArtistPopoverRow_artist\n }\n }\n }\n }\n}\n\nfragment SecurePayment_artwork on Artwork {\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n}\n\nfragment VerifiedSeller_artwork on Artwork {\n is_biddable: isBiddable\n partner {\n isVerifiedSeller\n name\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSidebar_artwork.graphql.ts b/src/v2/__generated__/ArtworkSidebar_artwork.graphql.ts index 2287ac5c033..ab4b8c0f196 100644 --- a/src/v2/__generated__/ArtworkSidebar_artwork.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebar_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -20,98 +21,98 @@ export type ArtworkSidebar_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebar_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebar_artwork", "selections": [ { - "kind": "ScalarField", "alias": "is_in_auction", - "name": "isInAuction", "args": null, + "kind": "ScalarField", + "name": "isInAuction", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "AuctionTimer_sale", - "args": null + "name": "AuctionTimer_sale" } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarArtists_artwork", - "args": null + "name": "ArtworkSidebarArtists_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarMetadata_artwork", - "args": null + "name": "ArtworkSidebarMetadata_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarAuctionPartnerInfo_artwork", - "args": null + "name": "ArtworkSidebarAuctionPartnerInfo_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarCurrentBidInfo_artwork", - "args": null + "name": "ArtworkSidebarCurrentBidInfo_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarBidAction_artwork", - "args": null + "name": "ArtworkSidebarBidAction_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarCommercial_artwork", - "args": null + "name": "ArtworkSidebarCommercial_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarPartnerInfo_artwork", - "args": null + "name": "ArtworkSidebarPartnerInfo_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarExtraLinks_artwork", - "args": null + "name": "ArtworkSidebarExtraLinks_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "SecurePayment_artwork", - "args": null + "name": "SecurePayment_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "VerifiedSeller_artwork", - "args": null + "name": "VerifiedSeller_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "AuthenticityCertificate_artwork", - "args": null + "name": "AuthenticityCertificate_artwork" } - ] + ], + "type": "Artwork" }; (node as any).hash = '1d64fc32746f33f53452d3d783513e05'; export default node; diff --git a/src/v2/__generated__/ArtworkSidebar_me.graphql.ts b/src/v2/__generated__/ArtworkSidebar_me.graphql.ts index 69af0618109..9c5983b4e4c 100644 --- a/src/v2/__generated__/ArtworkSidebar_me.graphql.ts +++ b/src/v2/__generated__/ArtworkSidebar_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,18 +16,18 @@ export type ArtworkSidebar_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSidebar_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSidebar_me", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSidebarBidAction_me", - "args": null + "name": "ArtworkSidebarBidAction_me" } - ] + ], + "type": "Me" }; (node as any).hash = 'dae43a7cd24d3adbf9bb5ab1333ede35'; export default node; diff --git a/src/v2/__generated__/ArtworkSummaryItemStoryQuery.graphql.ts b/src/v2/__generated__/ArtworkSummaryItemStoryQuery.graphql.ts index 069c23f12d0..30a23d8b0d0 100644 --- a/src/v2/__generated__/ArtworkSummaryItemStoryQuery.graphql.ts +++ b/src/v2/__generated__/ArtworkSummaryItemStoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -68,165 +69,156 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSummaryItemStoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSummaryItemStoryQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"foo\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSummaryItem_order", - "args": null + "name": "ArtworkSummaryItem_order" } - ] + ], + "storageKey": "commerceOrder(id:\"foo\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ArtworkSummaryItemStoryQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"foo\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v1/*: any*/), (v2/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -235,40 +227,49 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": "commerceOrder(id:\"foo\")" } ] }, "params": { - "operationKind": "query", - "name": "ArtworkSummaryItemStoryQuery", "id": null, - "text": "query ArtworkSummaryItemStoryQuery {\n order: commerceOrder(id: \"foo\") {\n __typename\n ...ArtworkSummaryItem_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ArtworkSummaryItemStoryQuery", + "operationKind": "query", + "text": "query ArtworkSummaryItemStoryQuery {\n order: commerceOrder(id: \"foo\") {\n __typename\n ...ArtworkSummaryItem_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ArtworkSummaryItem_order.graphql.ts b/src/v2/__generated__/ArtworkSummaryItem_order.graphql.ts index 066bcf7fb9f..ceacba45a7c 100644 --- a/src/v2/__generated__/ArtworkSummaryItem_order.graphql.ts +++ b/src/v2/__generated__/ArtworkSummaryItem_order.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -34,114 +35,105 @@ export type ArtworkSummaryItem_order$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ArtworkSummaryItem_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "ArtworkSummaryItem_order", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "Partner", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -150,28 +142,37 @@ const node: ReaderFragment = { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrder" }; (node as any).hash = 'ef1e5063c36ba2a92e3abe4d4b9b16b9'; export default node; diff --git a/src/v2/__generated__/Artwork_artwork.graphql.ts b/src/v2/__generated__/Artwork_artwork.graphql.ts index 656c375f89b..5e43deba04f 100644 --- a/src/v2/__generated__/Artwork_artwork.graphql.ts +++ b/src/v2/__generated__/Artwork_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -20,32 +21,28 @@ export type Artwork_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Artwork_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "Artwork_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -53,23 +50,27 @@ const node: ReaderFragment = { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Metadata_artwork", - "args": null + "name": "Metadata_artwork" } - ] + ], + "type": "Artwork" }; (node as any).hash = '9e25ccd07ef0c65a2e24af687648d6fd'; export default node; diff --git a/src/v2/__generated__/AuctionCard_sale.graphql.ts b/src/v2/__generated__/AuctionCard_sale.graphql.ts index 4c12999bfbf..de68917efe4 100644 --- a/src/v2/__generated__/AuctionCard_sale.graphql.ts +++ b/src/v2/__generated__/AuctionCard_sale.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -38,33 +39,28 @@ export type AuctionCard_sale$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "AuctionCard_sale", - "type": "Sale", "metadata": null, - "argumentDefinitions": [], + "name": "AuctionCard_sale", "selections": [ { - "kind": "LinkedField", "alias": "cover_image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:180,width:200)", "args": [ { "kind": "Literal", @@ -78,128 +74,133 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:180,width:200)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isBenefit", "args": null, + "kind": "ScalarField", + "name": "isBenefit", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isGalleryAuction", "args": null, + "kind": "ScalarField", + "name": "isGalleryAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "end_at", - "name": "endAt", "args": null, + "kind": "ScalarField", + "name": "endAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "live_start_at", - "name": "liveStartAt", "args": null, + "kind": "ScalarField", + "name": "liveStartAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_registration_closed", - "name": "isRegistrationClosed", "args": null, + "kind": "ScalarField", + "name": "isRegistrationClosed", "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": "start_at", - "name": "startAt", "args": null, + "kind": "ScalarField", + "name": "startAt", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "Sale" }; })(); (node as any).hash = '8f37c0394eff3ea1633cd5d360966414'; diff --git a/src/v2/__generated__/AuctionFAQ_Query.graphql.ts b/src/v2/__generated__/AuctionFAQ_Query.graphql.ts index 859509bf99f..331408e4531 100644 --- a/src/v2/__generated__/AuctionFAQ_Query.graphql.ts +++ b/src/v2/__generated__/AuctionFAQ_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -74,66 +75,62 @@ fragment AuctionFAQ_viewer on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { - "kind": "ScalarField", "alias": null, - "name": "content", "args": null, + "kind": "ScalarField", + "name": "content", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "AuctionFAQ_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "AuctionFAQ_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "AuctionFAQ_viewer", - "args": null + "name": "AuctionFAQ_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "AuctionFAQ_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "bidding", - "name": "staticContent", - "storageKey": "staticContent(id:\"how-auctions-work-bidding\")", "args": [ { "kind": "Literal", @@ -142,14 +139,14 @@ return { } ], "concreteType": "StaticContent", + "kind": "LinkedField", + "name": "staticContent", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "staticContent(id:\"how-auctions-work-bidding\")" }, { - "kind": "LinkedField", "alias": "buyersPremiumTaxesAndFees", - "name": "staticContent", - "storageKey": "staticContent(id:\"how-auctions-work-buyers-premium-taxes-and-fees\")", "args": [ { "kind": "Literal", @@ -158,14 +155,14 @@ return { } ], "concreteType": "StaticContent", + "kind": "LinkedField", + "name": "staticContent", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "staticContent(id:\"how-auctions-work-buyers-premium-taxes-and-fees\")" }, { - "kind": "LinkedField", "alias": "paymentsAndShipping", - "name": "staticContent", - "storageKey": "staticContent(id:\"how-auctions-work-payments-and-shipping\")", "args": [ { "kind": "Literal", @@ -174,14 +171,14 @@ return { } ], "concreteType": "StaticContent", + "kind": "LinkedField", + "name": "staticContent", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "staticContent(id:\"how-auctions-work-payments-and-shipping\")" }, { - "kind": "LinkedField", "alias": "emailsAndAlerts", - "name": "staticContent", - "storageKey": "staticContent(id:\"how-auctions-work-emails-and-alerts\")", "args": [ { "kind": "Literal", @@ -190,14 +187,14 @@ return { } ], "concreteType": "StaticContent", + "kind": "LinkedField", + "name": "staticContent", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "staticContent(id:\"how-auctions-work-emails-and-alerts\")" }, { - "kind": "LinkedField", "alias": "conditionsOfSale", - "name": "staticContent", - "storageKey": "staticContent(id:\"how-auctions-work-conditions-of-sale\")", "args": [ { "kind": "Literal", @@ -206,19 +203,23 @@ return { } ], "concreteType": "StaticContent", + "kind": "LinkedField", + "name": "staticContent", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "staticContent(id:\"how-auctions-work-conditions-of-sale\")" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "AuctionFAQ_Query", "id": null, - "text": "query AuctionFAQ_Query {\n viewer {\n ...AuctionFAQ_viewer\n }\n}\n\nfragment AuctionFAQ_viewer on Viewer {\n bidding: staticContent(id: \"how-auctions-work-bidding\") {\n content\n id\n }\n buyersPremiumTaxesAndFees: staticContent(id: \"how-auctions-work-buyers-premium-taxes-and-fees\") {\n content\n id\n }\n paymentsAndShipping: staticContent(id: \"how-auctions-work-payments-and-shipping\") {\n content\n id\n }\n emailsAndAlerts: staticContent(id: \"how-auctions-work-emails-and-alerts\") {\n content\n id\n }\n conditionsOfSale: staticContent(id: \"how-auctions-work-conditions-of-sale\") {\n content\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "AuctionFAQ_Query", + "operationKind": "query", + "text": "query AuctionFAQ_Query {\n viewer {\n ...AuctionFAQ_viewer\n }\n}\n\nfragment AuctionFAQ_viewer on Viewer {\n bidding: staticContent(id: \"how-auctions-work-bidding\") {\n content\n id\n }\n buyersPremiumTaxesAndFees: staticContent(id: \"how-auctions-work-buyers-premium-taxes-and-fees\") {\n content\n id\n }\n paymentsAndShipping: staticContent(id: \"how-auctions-work-payments-and-shipping\") {\n content\n id\n }\n emailsAndAlerts: staticContent(id: \"how-auctions-work-emails-and-alerts\") {\n content\n id\n }\n conditionsOfSale: staticContent(id: \"how-auctions-work-conditions-of-sale\") {\n content\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/AuctionFAQ_viewer.graphql.ts b/src/v2/__generated__/AuctionFAQ_viewer.graphql.ts index 5443c3205a7..c8e09ec1011 100644 --- a/src/v2/__generated__/AuctionFAQ_viewer.graphql.ts +++ b/src/v2/__generated__/AuctionFAQ_viewer.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -31,25 +32,21 @@ export type AuctionFAQ_viewer$key = { const node: ReaderFragment = (function(){ var v0 = [ { - "kind": "ScalarField", "alias": null, - "name": "content", "args": null, + "kind": "ScalarField", + "name": "content", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "AuctionFAQ_viewer", - "type": "Viewer", "metadata": null, - "argumentDefinitions": [], + "name": "AuctionFAQ_viewer", "selections": [ { - "kind": "LinkedField", "alias": "bidding", - "name": "staticContent", - "storageKey": "staticContent(id:\"how-auctions-work-bidding\")", "args": [ { "kind": "Literal", @@ -58,14 +55,14 @@ return { } ], "concreteType": "StaticContent", + "kind": "LinkedField", + "name": "staticContent", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "staticContent(id:\"how-auctions-work-bidding\")" }, { - "kind": "LinkedField", "alias": "buyersPremiumTaxesAndFees", - "name": "staticContent", - "storageKey": "staticContent(id:\"how-auctions-work-buyers-premium-taxes-and-fees\")", "args": [ { "kind": "Literal", @@ -74,14 +71,14 @@ return { } ], "concreteType": "StaticContent", + "kind": "LinkedField", + "name": "staticContent", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "staticContent(id:\"how-auctions-work-buyers-premium-taxes-and-fees\")" }, { - "kind": "LinkedField", "alias": "paymentsAndShipping", - "name": "staticContent", - "storageKey": "staticContent(id:\"how-auctions-work-payments-and-shipping\")", "args": [ { "kind": "Literal", @@ -90,14 +87,14 @@ return { } ], "concreteType": "StaticContent", + "kind": "LinkedField", + "name": "staticContent", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "staticContent(id:\"how-auctions-work-payments-and-shipping\")" }, { - "kind": "LinkedField", "alias": "emailsAndAlerts", - "name": "staticContent", - "storageKey": "staticContent(id:\"how-auctions-work-emails-and-alerts\")", "args": [ { "kind": "Literal", @@ -106,14 +103,14 @@ return { } ], "concreteType": "StaticContent", + "kind": "LinkedField", + "name": "staticContent", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "staticContent(id:\"how-auctions-work-emails-and-alerts\")" }, { - "kind": "LinkedField", "alias": "conditionsOfSale", - "name": "staticContent", - "storageKey": "staticContent(id:\"how-auctions-work-conditions-of-sale\")", "args": [ { "kind": "Literal", @@ -122,10 +119,14 @@ return { } ], "concreteType": "StaticContent", + "kind": "LinkedField", + "name": "staticContent", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "staticContent(id:\"how-auctions-work-conditions-of-sale\")" } - ] + ], + "type": "Viewer" }; })(); (node as any).hash = 'e29df207450f132c887a37fde758a3ac'; diff --git a/src/v2/__generated__/AuctionResultHeader_artist.graphql.ts b/src/v2/__generated__/AuctionResultHeader_artist.graphql.ts index 974a04bab6b..f34561bc492 100644 --- a/src/v2/__generated__/AuctionResultHeader_artist.graphql.ts +++ b/src/v2/__generated__/AuctionResultHeader_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,20 +16,20 @@ export type AuctionResultHeader_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "AuctionResultHeader_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "AuctionResultHeader_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = 'f667052f3e1b95eb9b9c71a7cfff9078'; export default node; diff --git a/src/v2/__generated__/AuctionResultsCount_results.graphql.ts b/src/v2/__generated__/AuctionResultsCount_results.graphql.ts index 3d531b8d2ac..893b4c13b37 100644 --- a/src/v2/__generated__/AuctionResultsCount_results.graphql.ts +++ b/src/v2/__generated__/AuctionResultsCount_results.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,20 +16,20 @@ export type AuctionResultsCount_results$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "AuctionResultsCount_results", - "type": "AuctionResultConnection", "metadata": null, - "argumentDefinitions": [], + "name": "AuctionResultsCount_results", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null } - ] + ], + "type": "AuctionResultConnection" }; (node as any).hash = 'b7cf8e974b1ff36d00728045da16d9eb'; export default node; diff --git a/src/v2/__generated__/AuctionResults_Test_Query.graphql.ts b/src/v2/__generated__/AuctionResults_Test_Query.graphql.ts index f8a20402917..90d00f7fe0f 100644 --- a/src/v2/__generated__/AuctionResults_Test_Query.graphql.ts +++ b/src/v2/__generated__/AuctionResults_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -189,10 +190,10 @@ fragment Pagination_pageCursors on PageCursors { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -203,104 +204,100 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v4 = [ (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ], v5 = { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "AuctionResults_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "AuctionResults_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "AuctionResults_artist", - "args": null + "name": "AuctionResults_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "AuctionResults_Test_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:10,sort:\"DATE_DESC\")", "args": [ { "kind": "Literal", @@ -314,271 +311,275 @@ return { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "createdYearRange", - "storageKey": null, "args": null, "concreteType": "YearRange", + "kind": "LinkedField", + "name": "createdYearRange", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "startAt", "args": null, + "kind": "ScalarField", + "name": "startAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endAt", "args": null, + "kind": "ScalarField", + "name": "endAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "dimension_text", - "name": "dimensionText", "args": null, + "kind": "ScalarField", + "name": "dimensionText", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "images", - "storageKey": null, "args": null, "concreteType": "AuctionLotImages", + "kind": "LinkedField", + "name": "images", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "thumbnail", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnail", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, { - "kind": "ScalarField", "alias": "date_text", - "name": "dateText", "args": null, + "kind": "ScalarField", + "name": "dateText", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "organization", "args": null, + "kind": "ScalarField", + "name": "organization", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mediumText", "args": null, + "kind": "ScalarField", + "name": "mediumText", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "categoryText", "args": null, + "kind": "ScalarField", + "name": "categoryText", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "saleDate", "args": null, + "kind": "ScalarField", + "name": "saleDate", "storageKey": null }, { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ (v5/*: any*/), { - "kind": "ScalarField", "alias": "cents_usd", - "name": "centsUSD", "args": null, + "kind": "ScalarField", + "name": "centsUSD", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "estimate", - "storageKey": null, "args": null, "concreteType": "AuctionLotEstimate", + "kind": "LinkedField", + "name": "estimate", "plural": false, "selections": [ (v5/*: any*/) - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:10,sort:\"DATE_DESC\")" }, (v6/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "AuctionResults_Test_Query", "id": null, - "text": "query AuctionResults_Test_Query(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...AuctionResults_artist\n id\n }\n}\n\nfragment ArtistAuctionResultItem_auctionResult on AuctionResult {\n title\n dimension_text: dimensionText\n organization\n images {\n thumbnail {\n url\n }\n }\n mediumText\n categoryText\n description\n date_text: dateText\n saleDate\n price_realized: priceRealized {\n display\n cents_usd: centsUSD\n }\n estimate {\n display\n }\n}\n\nfragment ArtistAuctionResults_artist on Artist {\n slug\n name\n ...AuctionResultHeader_artist\n auctionResultsConnection(first: 10, sort: DATE_DESC) {\n ...AuctionResultsCount_results\n createdYearRange {\n startAt\n endAt\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n totalCount\n edges {\n node {\n title\n dimension_text: dimensionText\n images {\n thumbnail {\n url\n }\n }\n description\n date_text: dateText\n ...ArtistAuctionResultItem_auctionResult\n id\n }\n }\n }\n}\n\nfragment AuctionResultHeader_artist on Artist {\n slug\n}\n\nfragment AuctionResultsCount_results on AuctionResultConnection {\n totalCount\n}\n\nfragment AuctionResults_artist on Artist {\n ...ArtistAuctionResults_artist\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", - "metadata": {} + "metadata": {}, + "name": "AuctionResults_Test_Query", + "operationKind": "query", + "text": "query AuctionResults_Test_Query(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...AuctionResults_artist\n id\n }\n}\n\nfragment ArtistAuctionResultItem_auctionResult on AuctionResult {\n title\n dimension_text: dimensionText\n organization\n images {\n thumbnail {\n url\n }\n }\n mediumText\n categoryText\n description\n date_text: dateText\n saleDate\n price_realized: priceRealized {\n display\n cents_usd: centsUSD\n }\n estimate {\n display\n }\n}\n\nfragment ArtistAuctionResults_artist on Artist {\n slug\n name\n ...AuctionResultHeader_artist\n auctionResultsConnection(first: 10, sort: DATE_DESC) {\n ...AuctionResultsCount_results\n createdYearRange {\n startAt\n endAt\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n totalCount\n edges {\n node {\n title\n dimension_text: dimensionText\n images {\n thumbnail {\n url\n }\n }\n description\n date_text: dateText\n ...ArtistAuctionResultItem_auctionResult\n id\n }\n }\n }\n}\n\nfragment AuctionResultHeader_artist on Artist {\n slug\n}\n\nfragment AuctionResultsCount_results on AuctionResultConnection {\n totalCount\n}\n\nfragment AuctionResults_artist on Artist {\n ...ArtistAuctionResults_artist\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" } }; })(); diff --git a/src/v2/__generated__/AuctionResults_artist.graphql.ts b/src/v2/__generated__/AuctionResults_artist.graphql.ts index 421c47bc6bb..ce4b5d36f18 100644 --- a/src/v2/__generated__/AuctionResults_artist.graphql.ts +++ b/src/v2/__generated__/AuctionResults_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,18 +16,18 @@ export type AuctionResults_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "AuctionResults_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "AuctionResults_artist", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistAuctionResults_artist", - "args": null + "name": "ArtistAuctionResults_artist" } - ] + ], + "type": "Artist" }; (node as any).hash = '75a2a7fb0c52b2221a3eb378a5f6df38'; export default node; diff --git a/src/v2/__generated__/AuctionTimerQuery.graphql.ts b/src/v2/__generated__/AuctionTimerQuery.graphql.ts index 7ea5d52839f..f1e254f3fcf 100644 --- a/src/v2/__generated__/AuctionTimerQuery.graphql.ts +++ b/src/v2/__generated__/AuctionTimerQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -36,10 +37,10 @@ fragment AuctionTimer_sale on Sale { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "saleID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -50,77 +51,77 @@ v1 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "AuctionTimerQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "AuctionTimerQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "AuctionTimer_sale", - "args": null + "name": "AuctionTimer_sale" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "AuctionTimerQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "live_start_at", - "name": "liveStartAt", "args": null, + "kind": "ScalarField", + "name": "liveStartAt", "storageKey": null }, { - "kind": "ScalarField", "alias": "end_at", - "name": "endAt", "args": null, + "kind": "ScalarField", + "name": "endAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "AuctionTimerQuery", "id": null, - "text": "query AuctionTimerQuery(\n $saleID: String!\n) {\n sale(id: $saleID) {\n ...AuctionTimer_sale\n id\n }\n}\n\nfragment AuctionTimer_sale on Sale {\n live_start_at: liveStartAt\n end_at: endAt\n}\n", - "metadata": {} + "metadata": {}, + "name": "AuctionTimerQuery", + "operationKind": "query", + "text": "query AuctionTimerQuery(\n $saleID: String!\n) {\n sale(id: $saleID) {\n ...AuctionTimer_sale\n id\n }\n}\n\nfragment AuctionTimer_sale on Sale {\n live_start_at: liveStartAt\n end_at: endAt\n}\n" } }; })(); diff --git a/src/v2/__generated__/AuctionTimer_sale.graphql.ts b/src/v2/__generated__/AuctionTimer_sale.graphql.ts index 7512f7b5e0a..c9257904caa 100644 --- a/src/v2/__generated__/AuctionTimer_sale.graphql.ts +++ b/src/v2/__generated__/AuctionTimer_sale.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -16,27 +17,27 @@ export type AuctionTimer_sale$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "AuctionTimer_sale", - "type": "Sale", "metadata": null, - "argumentDefinitions": [], + "name": "AuctionTimer_sale", "selections": [ { - "kind": "ScalarField", "alias": "live_start_at", - "name": "liveStartAt", "args": null, + "kind": "ScalarField", + "name": "liveStartAt", "storageKey": null }, { - "kind": "ScalarField", "alias": "end_at", - "name": "endAt", "args": null, + "kind": "ScalarField", + "name": "endAt", "storageKey": null } - ] + ], + "type": "Sale" }; (node as any).hash = 'e2516b9a974aff68f99b38968c28502a'; export default node; diff --git a/src/v2/__generated__/AuthenticityCertificateTestQuery.graphql.ts b/src/v2/__generated__/AuthenticityCertificateTestQuery.graphql.ts index 3d8811d38e4..2008feed200 100644 --- a/src/v2/__generated__/AuthenticityCertificateTestQuery.graphql.ts +++ b/src/v2/__generated__/AuthenticityCertificateTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -46,77 +47,77 @@ var v0 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "AuthenticityCertificateTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "AuthenticityCertificateTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"whatevs\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "AuthenticityCertificate_artwork", - "args": null + "name": "AuthenticityCertificate_artwork" } - ] + ], + "storageKey": "artwork(id:\"whatevs\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "AuthenticityCertificateTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"whatevs\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasCertificateOfAuthenticity", "args": null, + "kind": "ScalarField", + "name": "hasCertificateOfAuthenticity", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": "artwork(id:\"whatevs\")" } ] }, "params": { - "operationKind": "query", - "name": "AuthenticityCertificateTestQuery", "id": null, - "text": "query AuthenticityCertificateTestQuery {\n artwork(id: \"whatevs\") {\n ...AuthenticityCertificate_artwork\n id\n }\n}\n\nfragment AuthenticityCertificate_artwork on Artwork {\n hasCertificateOfAuthenticity\n is_biddable: isBiddable\n}\n", - "metadata": {} + "metadata": {}, + "name": "AuthenticityCertificateTestQuery", + "operationKind": "query", + "text": "query AuthenticityCertificateTestQuery {\n artwork(id: \"whatevs\") {\n ...AuthenticityCertificate_artwork\n id\n }\n}\n\nfragment AuthenticityCertificate_artwork on Artwork {\n hasCertificateOfAuthenticity\n is_biddable: isBiddable\n}\n" } }; })(); diff --git a/src/v2/__generated__/AuthenticityCertificate_artwork.graphql.ts b/src/v2/__generated__/AuthenticityCertificate_artwork.graphql.ts index 12178e43d02..f3b176b695a 100644 --- a/src/v2/__generated__/AuthenticityCertificate_artwork.graphql.ts +++ b/src/v2/__generated__/AuthenticityCertificate_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -16,27 +17,27 @@ export type AuthenticityCertificate_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "AuthenticityCertificate_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "AuthenticityCertificate_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasCertificateOfAuthenticity", "args": null, + "kind": "ScalarField", + "name": "hasCertificateOfAuthenticity", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "type": "Artwork" }; (node as any).hash = '39bc344c746b3df84f3c897873593c9b'; export default node; diff --git a/src/v2/__generated__/BackupSecondFactorModalContentQuery.graphql.ts b/src/v2/__generated__/BackupSecondFactorModalContentQuery.graphql.ts index ac89c879205..1c3ecca8b4c 100644 --- a/src/v2/__generated__/BackupSecondFactorModalContentQuery.graphql.ts +++ b/src/v2/__generated__/BackupSecondFactorModalContentQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -46,51 +47,47 @@ fragment BackupSecondFactorModalContent_me on Me { */ const node: ConcreteRequest = { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "BackupSecondFactorModalContentQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "BackupSecondFactorModalContentQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "BackupSecondFactorModalContent_me", - "args": null + "name": "BackupSecondFactorModalContent_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "BackupSecondFactorModalContentQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "backupSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"backup\"])", "args": [ { "kind": "Literal", @@ -101,47 +98,51 @@ const node: ConcreteRequest = { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "BackupSecondFactor", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null } - ] + ], + "type": "BackupSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"backup\"])" }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "BackupSecondFactorModalContentQuery", "id": null, - "text": "query BackupSecondFactorModalContentQuery {\n me {\n ...BackupSecondFactorModalContent_me\n id\n }\n}\n\nfragment BackupSecondFactorModalContent_me on Me {\n backupSecondFactors: secondFactors(kinds: [backup]) {\n __typename\n ... on BackupSecondFactor {\n code\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "BackupSecondFactorModalContentQuery", + "operationKind": "query", + "text": "query BackupSecondFactorModalContentQuery {\n me {\n ...BackupSecondFactorModalContent_me\n id\n }\n}\n\nfragment BackupSecondFactorModalContent_me on Me {\n backupSecondFactors: secondFactors(kinds: [backup]) {\n __typename\n ... on BackupSecondFactor {\n code\n }\n }\n}\n" } }; (node as any).hash = '6eb1007194d1ab59a7d88bf4892fd4b1'; diff --git a/src/v2/__generated__/BackupSecondFactorModalContent_me.graphql.ts b/src/v2/__generated__/BackupSecondFactorModalContent_me.graphql.ts index 9087c0c0d64..d9d0a5904aa 100644 --- a/src/v2/__generated__/BackupSecondFactorModalContent_me.graphql.ts +++ b/src/v2/__generated__/BackupSecondFactorModalContent_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -17,17 +18,13 @@ export type BackupSecondFactorModalContent_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "BackupSecondFactorModalContent_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "BackupSecondFactorModalContent_me", "selections": [ { - "kind": "LinkedField", "alias": "backupSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"backup\"])", "args": [ { "kind": "Literal", @@ -38,24 +35,28 @@ const node: ReaderFragment = { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ { "kind": "InlineFragment", - "type": "BackupSecondFactor", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null } - ] + ], + "type": "BackupSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"backup\"])" } - ] + ], + "type": "Me" }; (node as any).hash = '59bb25aba7d7357efac7d1fdaa4a177e'; export default node; diff --git a/src/v2/__generated__/BackupSecondFactorStoryQuery.graphql.ts b/src/v2/__generated__/BackupSecondFactorStoryQuery.graphql.ts index 76607f43e50..02acf1c0bf4 100644 --- a/src/v2/__generated__/BackupSecondFactorStoryQuery.graphql.ts +++ b/src/v2/__generated__/BackupSecondFactorStoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -35,58 +36,54 @@ fragment BackupSecondFactor_me on Me { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "BackupSecondFactorStoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "BackupSecondFactorStoryQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "BackupSecondFactor_me", - "args": null + "name": "BackupSecondFactor_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "BackupSecondFactorStoryQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "backupSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"backup\"])", "args": [ { "kind": "Literal", @@ -97,35 +94,39 @@ return { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ (v0/*: any*/), { "kind": "InlineFragment", - "type": "BackupSecondFactor", "selections": [ (v0/*: any*/) - ] + ], + "type": "BackupSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"backup\"])" }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "BackupSecondFactorStoryQuery", "id": null, - "text": "query BackupSecondFactorStoryQuery {\n me {\n ...BackupSecondFactor_me\n id\n }\n}\n\nfragment BackupSecondFactor_me on Me {\n backupSecondFactors: secondFactors(kinds: [backup]) {\n __typename\n ... on BackupSecondFactor {\n __typename\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "BackupSecondFactorStoryQuery", + "operationKind": "query", + "text": "query BackupSecondFactorStoryQuery {\n me {\n ...BackupSecondFactor_me\n id\n }\n}\n\nfragment BackupSecondFactor_me on Me {\n backupSecondFactors: secondFactors(kinds: [backup]) {\n __typename\n ... on BackupSecondFactor {\n __typename\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/BackupSecondFactor_me.graphql.ts b/src/v2/__generated__/BackupSecondFactor_me.graphql.ts index b9c8953b37e..61b4f35fb0a 100644 --- a/src/v2/__generated__/BackupSecondFactor_me.graphql.ts +++ b/src/v2/__generated__/BackupSecondFactor_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -21,17 +22,13 @@ export type BackupSecondFactor_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "BackupSecondFactor_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "BackupSecondFactor_me", "selections": [ { - "kind": "LinkedField", "alias": "backupSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"backup\"])", "args": [ { "kind": "Literal", @@ -42,24 +39,28 @@ const node: ReaderFragment = { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ { "kind": "InlineFragment", - "type": "BackupSecondFactor", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "type": "BackupSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"backup\"])" } - ] + ], + "type": "Me" }; (node as any).hash = 'b14b3aa1d58e9c12323972a66aa181db'; export default node; diff --git a/src/v2/__generated__/Badge_artwork.graphql.ts b/src/v2/__generated__/Badge_artwork.graphql.ts index 84ff51878a6..1487e07934d 100644 --- a/src/v2/__generated__/Badge_artwork.graphql.ts +++ b/src/v2/__generated__/Badge_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -20,52 +21,52 @@ export type Badge_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Badge_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "Badge_artwork", "selections": [ { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; (node as any).hash = 'c56c0d898e4433bfc5acdba932369f3f'; export default node; diff --git a/src/v2/__generated__/BidForm_me.graphql.ts b/src/v2/__generated__/BidForm_me.graphql.ts index 7ff56162744..474d5b14fc5 100644 --- a/src/v2/__generated__/BidForm_me.graphql.ts +++ b/src/v2/__generated__/BidForm_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,20 +16,20 @@ export type BidForm_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "BidForm_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "BidForm_me", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasQualifiedCreditCards", "args": null, + "kind": "ScalarField", + "name": "hasQualifiedCreditCards", "storageKey": null } - ] + ], + "type": "Me" }; (node as any).hash = '8ed9070855d2bf5bf240dd4b90da4955'; export default node; diff --git a/src/v2/__generated__/BidForm_saleArtwork.graphql.ts b/src/v2/__generated__/BidForm_saleArtwork.graphql.ts index 9a90827ae55..8921ee1a097 100644 --- a/src/v2/__generated__/BidForm_saleArtwork.graphql.ts +++ b/src/v2/__generated__/BidForm_saleArtwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -28,36 +29,32 @@ export type BidForm_saleArtwork$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "cents", "args": null, + "kind": "ScalarField", + "name": "cents", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "BidForm_saleArtwork", - "type": "SaleArtwork", "metadata": null, - "argumentDefinitions": [], + "name": "BidForm_saleArtwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "minimumNextBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkMinimumNextBid", + "kind": "LinkedField", + "name": "minimumNextBid", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "increments", - "storageKey": "increments(useMyMaxBid:true)", "args": [ { "kind": "Literal", @@ -66,55 +63,59 @@ return { } ], "concreteType": "BidIncrementsFormatted", + "kind": "LinkedField", + "name": "increments", "plural": true, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } - ] + ], + "storageKey": "increments(useMyMaxBid:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "qualifiedForBidding", "args": null, + "kind": "ScalarField", + "name": "qualifiedForBidding", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "SaleArtwork" }; })(); (node as any).hash = '40cc7961713f7964a792ce4f22933426'; diff --git a/src/v2/__generated__/BidderPositionQuery.graphql.ts b/src/v2/__generated__/BidderPositionQuery.graphql.ts index e2c5bfb2f9b..cba49526fd0 100644 --- a/src/v2/__generated__/BidderPositionQuery.graphql.ts +++ b/src/v2/__generated__/BidderPositionQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type BidderPositionQueryVariables = { @@ -51,10 +52,10 @@ query BidderPositionQuery( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "bidderPositionID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -65,158 +66,158 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "messageHeader", "args": null, + "kind": "ScalarField", + "name": "messageHeader", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v5 = { - "kind": "LinkedField", "alias": null, - "name": "suggestedNextBid", - "storageKey": null, "args": null, "concreteType": "BidderPositionSuggestedNextBid", + "kind": "LinkedField", + "name": "suggestedNextBid", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "cents", "args": null, + "kind": "ScalarField", + "name": "cents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } - ] + ], + "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "BidderPositionQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "BidderPositionQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "bidderPosition", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "BidderPositionResult", + "kind": "LinkedField", + "name": "bidderPosition", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "position", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "position", "plural": false, "selections": [ (v4/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "BidderPositionQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "bidderPosition", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "BidderPositionResult", + "kind": "LinkedField", + "name": "bidderPosition", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "position", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "position", "plural": false, "selections": [ (v4/*: any*/), (v5/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "BidderPositionQuery", "id": null, - "text": "query BidderPositionQuery(\n $bidderPositionID: String!\n) {\n me {\n bidderPosition(id: $bidderPositionID) {\n status\n messageHeader\n position {\n internalID\n suggestedNextBid {\n cents\n display\n }\n id\n }\n }\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "BidderPositionQuery", + "operationKind": "query", + "text": "query BidderPositionQuery(\n $bidderPositionID: String!\n) {\n me {\n bidderPosition(id: $bidderPositionID) {\n status\n messageHeader\n position {\n internalID\n suggestedNextBid {\n cents\n display\n }\n id\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/BudgetUpdateMyUserProfileMutation.graphql.ts b/src/v2/__generated__/BudgetUpdateMyUserProfileMutation.graphql.ts index 1c631ea5042..38e2c9971e3 100644 --- a/src/v2/__generated__/BudgetUpdateMyUserProfileMutation.graphql.ts +++ b/src/v2/__generated__/BudgetUpdateMyUserProfileMutation.graphql.ts @@ -1,32 +1,33 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type UpdateMyProfileInput = { - readonly clientMutationId?: string | null; - readonly collectorLevel?: number | null; - readonly email?: string | null; - readonly location?: EditableLocation | null; - readonly name?: string | null; - readonly phone?: string | null; - readonly priceRangeMax?: number | null; - readonly priceRangeMin?: number | null; - readonly receiveLotOpeningSoonNotification?: boolean | null; - readonly receiveNewSalesNotification?: boolean | null; - readonly receiveNewWorksNotification?: boolean | null; - readonly receiveOutbidNotification?: boolean | null; - readonly receivePromotionNotification?: boolean | null; - readonly receivePurchaseNotification?: boolean | null; - readonly receiveSaleOpeningClosingNotification?: boolean | null; + clientMutationId?: string | null; + collectorLevel?: number | null; + email?: string | null; + location?: EditableLocation | null; + name?: string | null; + phone?: string | null; + priceRangeMax?: number | null; + priceRangeMin?: number | null; + receiveLotOpeningSoonNotification?: boolean | null; + receiveNewSalesNotification?: boolean | null; + receiveNewWorksNotification?: boolean | null; + receiveOutbidNotification?: boolean | null; + receivePromotionNotification?: boolean | null; + receivePurchaseNotification?: boolean | null; + receiveSaleOpeningClosingNotification?: boolean | null; }; export type EditableLocation = { - readonly address?: string | null; - readonly address2?: string | null; - readonly city?: string | null; - readonly country?: string | null; - readonly postalCode?: string | null; - readonly state?: string | null; - readonly stateCode?: string | null; - readonly summary?: string | null; + address?: string | null; + address2?: string | null; + city?: string | null; + country?: string | null; + postalCode?: string | null; + state?: string | null; + stateCode?: string | null; + summary?: string | null; }; export type BudgetUpdateMyUserProfileMutationVariables = { input: UpdateMyProfileInput; @@ -61,10 +62,10 @@ mutation BudgetUpdateMyUserProfileMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "UpdateMyProfileInput!", - "defaultValue": null + "type": "UpdateMyProfileInput!" } ], v1 = [ @@ -75,89 +76,89 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "BudgetUpdateMyUserProfileMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "BudgetUpdateMyUserProfileMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "updateMyUserProfile", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "UpdateMyProfilePayload", + "kind": "LinkedField", + "name": "updateMyUserProfile", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "user", - "storageKey": null, "args": null, "concreteType": "User", + "kind": "LinkedField", + "name": "user", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "BudgetUpdateMyUserProfileMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "updateMyUserProfile", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "UpdateMyProfilePayload", + "kind": "LinkedField", + "name": "updateMyUserProfile", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "user", - "storageKey": null, "args": null, "concreteType": "User", + "kind": "LinkedField", + "name": "user", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "BudgetUpdateMyUserProfileMutation", "id": null, - "text": "mutation BudgetUpdateMyUserProfileMutation(\n $input: UpdateMyProfileInput!\n) {\n updateMyUserProfile(input: $input) {\n user {\n name\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "BudgetUpdateMyUserProfileMutation", + "operationKind": "mutation", + "text": "mutation BudgetUpdateMyUserProfileMutation(\n $input: UpdateMyProfileInput!\n) {\n updateMyUserProfile(input: $input) {\n user {\n name\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/CCPARequestMutation.graphql.ts b/src/v2/__generated__/CCPARequestMutation.graphql.ts index 28ee8761e84..0e40b9ee882 100644 --- a/src/v2/__generated__/CCPARequestMutation.graphql.ts +++ b/src/v2/__generated__/CCPARequestMutation.graphql.ts @@ -1,13 +1,14 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CreateAccountRequestMutationInput = { - readonly action?: string | null; - readonly clientMutationId?: string | null; - readonly email?: string | null; - readonly name?: string | null; - readonly notes: string; - readonly userID?: string | null; + action?: string | null; + clientMutationId?: string | null; + email?: string | null; + name?: string | null; + notes: string; + userID?: string | null; }; export type CCPARequestMutationVariables = { input: CreateAccountRequestMutationInput; @@ -61,10 +62,10 @@ mutation CCPARequestMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CreateAccountRequestMutationInput!", - "defaultValue": null + "type": "CreateAccountRequestMutationInput!" } ], v1 = [ @@ -75,170 +76,170 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "notes", "args": null, + "kind": "ScalarField", + "name": "notes", "storageKey": null }, v3 = { "kind": "InlineFragment", - "type": "CreateAccountRequestMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "mutationError", - "storageKey": null, "args": null, "concreteType": "GravityMutationError", + "kind": "LinkedField", + "name": "mutationError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "message", "args": null, + "kind": "ScalarField", + "name": "message", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "detail", "args": null, + "kind": "ScalarField", + "name": "detail", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CreateAccountRequestMutationFailure" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "CCPARequestMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "CCPARequestMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createAccountRequest", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CreateAccountRequestMutationPayload", + "kind": "LinkedField", + "name": "createAccountRequest", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "accountRequestOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "accountRequestOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CreateAccountRequestMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "accountRequest", - "storageKey": null, "args": null, "concreteType": "AccountRequest", + "kind": "LinkedField", + "name": "accountRequest", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CreateAccountRequestMutationSuccess" }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "CCPARequestMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createAccountRequest", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CreateAccountRequestMutationPayload", + "kind": "LinkedField", + "name": "createAccountRequest", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "accountRequestOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "accountRequestOrError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "CreateAccountRequestMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "accountRequest", - "storageKey": null, "args": null, "concreteType": "AccountRequest", + "kind": "LinkedField", + "name": "accountRequest", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CreateAccountRequestMutationSuccess" }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "CCPARequestMutation", "id": null, - "text": "mutation CCPARequestMutation(\n $input: CreateAccountRequestMutationInput!\n) {\n createAccountRequest(input: $input) {\n accountRequestOrError {\n __typename\n ... on CreateAccountRequestMutationSuccess {\n accountRequest {\n notes\n id\n }\n }\n ... on CreateAccountRequestMutationFailure {\n mutationError {\n type\n message\n detail\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "CCPARequestMutation", + "operationKind": "mutation", + "text": "mutation CCPARequestMutation(\n $input: CreateAccountRequestMutationInput!\n) {\n createAccountRequest(input: $input) {\n accountRequestOrError {\n __typename\n ... on CreateAccountRequestMutationSuccess {\n accountRequest {\n notes\n id\n }\n }\n ... on CreateAccountRequestMutationFailure {\n mutationError {\n type\n message\n detail\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/CVItemQuery.graphql.ts b/src/v2/__generated__/CVItemQuery.graphql.ts index 95fc6821628..308379a326f 100644 --- a/src/v2/__generated__/CVItemQuery.graphql.ts +++ b/src/v2/__generated__/CVItemQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -81,52 +82,52 @@ fragment CVItem_artist_4A66pF on Artist { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "count", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "cursor", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sort", - "type": "ShowSorts", - "defaultValue": null + "type": "ShowSorts" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "atAFair", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "soloShow", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "isReference", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "visibleToPublic", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" } ], v1 = [ @@ -179,54 +180,49 @@ v7 = [ (v6/*: any*/) ], v8 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "CVItemQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "CVItemQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "CVItem_artist", "args": [ (v2/*: any*/), { @@ -243,119 +239,118 @@ return { (v4/*: any*/), (v5/*: any*/), (v6/*: any*/) - ] + ], + "kind": "FragmentSpread", + "name": "CVItem_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "CVItemQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": null, "args": (v7/*: any*/), "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ShowEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Show", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v8/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v9/*: any*/), (v8/*: any*/), { "kind": "InlineFragment", - "type": "ExternalPartner", "selections": [ (v10/*: any*/) - ] + ], + "type": "ExternalPartner" }, { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v10/*: any*/), (v11/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, (v10/*: any*/), { - "kind": "ScalarField", "alias": "start_at", - "name": "startAt", "args": [ { "kind": "Literal", @@ -363,56 +358,62 @@ return { "value": "YYYY" } ], + "kind": "ScalarField", + "name": "startAt", "storageKey": "startAt(format:\"YYYY\")" }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v11/*: any*/), (v9/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": null, - "name": "showsConnection", "args": (v7/*: any*/), - "handle": "connection", - "key": "Artist_showsConnection", "filters": [ "sort", "atAFair", "soloShow", "isReference", "visibleToPublic" - ] + ], + "handle": "connection", + "key": "Artist_showsConnection", + "kind": "LinkedHandle", + "name": "showsConnection" }, (v8/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "CVItemQuery", "id": null, - "text": "query CVItemQuery(\n $count: Int\n $cursor: String\n $artistID: String!\n $sort: ShowSorts\n $atAFair: Boolean\n $soloShow: Boolean\n $isReference: Boolean\n $visibleToPublic: Boolean\n) {\n artist(id: $artistID) {\n ...CVItem_artist_4A66pF\n id\n }\n}\n\nfragment CVItem_artist_4A66pF on Artist {\n slug\n showsConnection(first: $count, after: $cursor, sort: $sort, atAFair: $atAFair, soloShow: $soloShow, isReference: $isReference, visibleToPublic: $visibleToPublic) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n href\n }\n ... on Node {\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n city\n href\n __typename\n }\n cursor\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "CVItemQuery", + "operationKind": "query", + "text": "query CVItemQuery(\n $count: Int\n $cursor: String\n $artistID: String!\n $sort: ShowSorts\n $atAFair: Boolean\n $soloShow: Boolean\n $isReference: Boolean\n $visibleToPublic: Boolean\n) {\n artist(id: $artistID) {\n ...CVItem_artist_4A66pF\n id\n }\n}\n\nfragment CVItem_artist_4A66pF on Artist {\n slug\n showsConnection(first: $count, after: $cursor, sort: $sort, atAFair: $atAFair, soloShow: $soloShow, isReference: $isReference, visibleToPublic: $visibleToPublic) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n href\n }\n ... on Node {\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n city\n href\n __typename\n }\n cursor\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/CVItem_artist.graphql.ts b/src/v2/__generated__/CVItem_artist.graphql.ts index 81f8bd4bc34..416451716db 100644 --- a/src/v2/__generated__/CVItem_artist.graphql.ts +++ b/src/v2/__generated__/CVItem_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -34,92 +35,88 @@ export type CVItem_artist$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }; return { - "kind": "Fragment", - "name": "CVItem_artist", - "type": "Artist", - "metadata": { - "connection": [ - { - "count": "count", - "cursor": "cursor", - "direction": "forward", - "path": [ - "showsConnection" - ] - } - ] - }, "argumentDefinitions": [ { + "defaultValue": 10, "kind": "LocalArgument", "name": "count", - "type": "Int", - "defaultValue": 10 + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "cursor", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": "START_AT_DESC", "kind": "LocalArgument", "name": "sort", - "type": "ShowSorts", - "defaultValue": "START_AT_DESC" + "type": "ShowSorts" }, { + "defaultValue": false, "kind": "LocalArgument", "name": "atAFair", - "type": "Boolean", - "defaultValue": false + "type": "Boolean" }, { + "defaultValue": false, "kind": "LocalArgument", "name": "soloShow", - "type": "Boolean", - "defaultValue": false + "type": "Boolean" }, { + "defaultValue": true, "kind": "LocalArgument", "name": "isReference", - "type": "Boolean", - "defaultValue": true + "type": "Boolean" }, { + "defaultValue": false, "kind": "LocalArgument", "name": "visibleToPublic", - "type": "Boolean", - "defaultValue": false + "type": "Boolean" } ], + "kind": "Fragment", + "metadata": { + "connection": [ + { + "count": "count", + "cursor": "cursor", + "direction": "forward", + "path": [ + "showsConnection" + ] + } + ] + }, + "name": "CVItem_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": "showsConnection", - "name": "__Artist_showsConnection_connection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -148,89 +145,87 @@ return { } ], "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "__Artist_showsConnection_connection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ShowEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Show", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "ExternalPartner", "selections": [ (v0/*: any*/) - ] + ], + "type": "ExternalPartner" }, { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v0/*: any*/), (v1/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": "start_at", - "name": "startAt", "args": [ { "kind": "Literal", @@ -238,37 +233,43 @@ return { "value": "YYYY" } ], + "kind": "ScalarField", + "name": "startAt", "storageKey": "startAt(format:\"YYYY\")" }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artist" }; })(); (node as any).hash = '66c5999a1cef19c064dc7edd029de163'; diff --git a/src/v2/__generated__/CV_Test_Query.graphql.ts b/src/v2/__generated__/CV_Test_Query.graphql.ts index a7ec6fd7e82..64ca139d7c9 100644 --- a/src/v2/__generated__/CV_Test_Query.graphql.ts +++ b/src/v2/__generated__/CV_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -257,10 +258,10 @@ fragment CV_viewer on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -271,10 +272,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v3 = { @@ -315,111 +316,107 @@ v8 = [ (v7/*: any*/) ], v9 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v13 = [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ShowEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Show", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v9/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v10/*: any*/), (v9/*: any*/), { "kind": "InlineFragment", - "type": "ExternalPartner", "selections": [ (v11/*: any*/) - ] + ], + "type": "ExternalPartner" }, { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v11/*: any*/), (v12/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, (v11/*: any*/), { - "kind": "ScalarField", "alias": "start_at", - "name": "startAt", "args": [ { "kind": "Literal", @@ -427,27 +424,31 @@ v13 = [ "value": "YYYY" } ], + "kind": "ScalarField", + "name": "startAt", "storageKey": "startAt(format:\"YYYY\")" }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v12/*: any*/), (v10/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } ], v14 = [ @@ -483,152 +484,152 @@ v17 = [ (v7/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "CV_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "CV_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "CV_viewer", - "args": null + "name": "CV_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "CV_Test_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "artist_soloShows", - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": "showsConnection(atAFair:false,first:10,isReference:true,soloShow:true,sort:\"START_AT_DESC\",visibleToPublic:false)", "args": (v8/*: any*/), "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "storageKey": "showsConnection(atAFair:false,first:10,isReference:true,soloShow:true,sort:\"START_AT_DESC\",visibleToPublic:false)" }, { - "kind": "LinkedHandle", "alias": null, - "name": "showsConnection", "args": (v8/*: any*/), + "filters": (v14/*: any*/), "handle": "connection", "key": "Artist_showsConnection", - "filters": (v14/*: any*/) + "kind": "LinkedHandle", + "name": "showsConnection" }, (v9/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artist_groupShows", - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": "showsConnection(atAFair:false,first:10,isReference:true,soloShow:false,sort:\"START_AT_DESC\",visibleToPublic:false)", "args": (v16/*: any*/), "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "storageKey": "showsConnection(atAFair:false,first:10,isReference:true,soloShow:false,sort:\"START_AT_DESC\",visibleToPublic:false)" }, { - "kind": "LinkedHandle", "alias": null, - "name": "showsConnection", "args": (v16/*: any*/), + "filters": (v14/*: any*/), "handle": "connection", "key": "Artist_showsConnection", - "filters": (v14/*: any*/) + "kind": "LinkedHandle", + "name": "showsConnection" }, (v9/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artist_fairBooths", - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": "showsConnection(atAFair:true,first:10,isReference:true,soloShow:false,sort:\"START_AT_DESC\",visibleToPublic:false)", "args": (v17/*: any*/), "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "storageKey": "showsConnection(atAFair:true,first:10,isReference:true,soloShow:false,sort:\"START_AT_DESC\",visibleToPublic:false)" }, { - "kind": "LinkedHandle", "alias": null, - "name": "showsConnection", "args": (v17/*: any*/), + "filters": (v14/*: any*/), "handle": "connection", "key": "Artist_showsConnection", - "filters": (v14/*: any*/) + "kind": "LinkedHandle", + "name": "showsConnection" }, (v9/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "CV_Test_Query", "id": null, - "text": "query CV_Test_Query(\n $artistID: String!\n) {\n viewer {\n ...CV_viewer\n }\n}\n\nfragment CVItem_artist_47e96d on Artist {\n slug\n showsConnection(first: 10, sort: START_AT_DESC, atAFair: true, soloShow: false, isReference: true, visibleToPublic: false) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n href\n }\n ... on Node {\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n city\n href\n __typename\n }\n cursor\n }\n }\n}\n\nfragment CVItem_artist_4DszuY on Artist {\n slug\n showsConnection(first: 10, sort: START_AT_DESC, atAFair: false, soloShow: false, isReference: true, visibleToPublic: false) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n href\n }\n ... on Node {\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n city\n href\n __typename\n }\n cursor\n }\n }\n}\n\nfragment CVItem_artist_ieWPx on Artist {\n slug\n showsConnection(first: 10, sort: START_AT_DESC, atAFair: false, soloShow: true, isReference: true, visibleToPublic: false) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n href\n }\n ... on Node {\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n city\n href\n __typename\n }\n cursor\n }\n }\n}\n\nfragment CV_viewer on Viewer {\n artist_soloShows: artist(id: $artistID) {\n ...CVItem_artist_ieWPx\n id\n }\n artist_groupShows: artist(id: $artistID) {\n ...CVItem_artist_4DszuY\n id\n }\n artist_fairBooths: artist(id: $artistID) {\n ...CVItem_artist_47e96d\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "CV_Test_Query", + "operationKind": "query", + "text": "query CV_Test_Query(\n $artistID: String!\n) {\n viewer {\n ...CV_viewer\n }\n}\n\nfragment CVItem_artist_47e96d on Artist {\n slug\n showsConnection(first: 10, sort: START_AT_DESC, atAFair: true, soloShow: false, isReference: true, visibleToPublic: false) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n href\n }\n ... on Node {\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n city\n href\n __typename\n }\n cursor\n }\n }\n}\n\nfragment CVItem_artist_4DszuY on Artist {\n slug\n showsConnection(first: 10, sort: START_AT_DESC, atAFair: false, soloShow: false, isReference: true, visibleToPublic: false) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n href\n }\n ... on Node {\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n city\n href\n __typename\n }\n cursor\n }\n }\n}\n\nfragment CVItem_artist_ieWPx on Artist {\n slug\n showsConnection(first: 10, sort: START_AT_DESC, atAFair: false, soloShow: true, isReference: true, visibleToPublic: false) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n href\n }\n ... on Node {\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n city\n href\n __typename\n }\n cursor\n }\n }\n}\n\nfragment CV_viewer on Viewer {\n artist_soloShows: artist(id: $artistID) {\n ...CVItem_artist_ieWPx\n id\n }\n artist_groupShows: artist(id: $artistID) {\n ...CVItem_artist_4DszuY\n id\n }\n artist_fairBooths: artist(id: $artistID) {\n ...CVItem_artist_47e96d\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/CV_viewer.graphql.ts b/src/v2/__generated__/CV_viewer.graphql.ts index 0d662f93c28..bea2573576c 100644 --- a/src/v2/__generated__/CV_viewer.graphql.ts +++ b/src/v2/__generated__/CV_viewer.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -31,34 +32,30 @@ var v0 = [ } ]; return { - "kind": "Fragment", - "name": "CV_viewer", - "type": "Viewer", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": false, "kind": "LocalArgument", "name": "soloShowsAtAFair", - "type": "Boolean", - "defaultValue": false + "type": "Boolean" }, { + "defaultValue": true, "kind": "LocalArgument", "name": "soloShowsSoloShow", - "type": "Boolean", - "defaultValue": true + "type": "Boolean" }, { + "defaultValue": false, "kind": "LocalArgument", "name": "groupShowsAtAFair", - "type": "Boolean", - "defaultValue": false + "type": "Boolean" }, { + "defaultValue": true, "kind": "LocalArgument", "name": "fairBoothsAtAFair", - "type": "Boolean", - "defaultValue": true + "type": "Boolean" }, { "kind": "RootArgument", @@ -66,19 +63,19 @@ return { "type": "String!" } ], + "kind": "Fragment", + "metadata": null, + "name": "CV_viewer", "selections": [ { - "kind": "LinkedField", "alias": "artist_soloShows", - "name": "artist", - "storageKey": null, "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "CVItem_artist", "args": [ { "kind": "Variable", @@ -90,55 +87,59 @@ return { "name": "soloShow", "variableName": "soloShowsSoloShow" } - ] + ], + "kind": "FragmentSpread", + "name": "CVItem_artist" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artist_groupShows", - "name": "artist", - "storageKey": null, "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "CVItem_artist", "args": [ { "kind": "Variable", "name": "atAFair", "variableName": "groupShowsAtAFair" } - ] + ], + "kind": "FragmentSpread", + "name": "CVItem_artist" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artist_fairBooths", - "name": "artist", - "storageKey": null, "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "CVItem_artist", "args": [ { "kind": "Variable", "name": "atAFair", "variableName": "fairBoothsAtAFair" } - ] + ], + "kind": "FragmentSpread", + "name": "CVItem_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Viewer" }; })(); (node as any).hash = '95af52644c864123ab8658ddcc4912f4'; diff --git a/src/v2/__generated__/CarouselArtworkBrickStoryQuery.graphql.ts b/src/v2/__generated__/CarouselArtworkBrickStoryQuery.graphql.ts index 6ce433d2f2a..8cc1f196e52 100644 --- a/src/v2/__generated__/CarouselArtworkBrickStoryQuery.graphql.ts +++ b/src/v2/__generated__/CarouselArtworkBrickStoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -134,10 +135,10 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v2 = [ @@ -148,82 +149,78 @@ v2 = [ } ], v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v5 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "CarouselArtworkBrickStoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "CarouselArtworkBrickStoryQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "FillwidthItem_artwork", - "args": null + "name": "FillwidthItem_artwork" } - ] + ], + "storageKey": "artwork(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "CarouselArtworkBrickStoryQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -231,245 +228,249 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v2/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v3/*: any*/), (v1/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v2/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v4/*: any*/), (v1/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": "artwork(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "CarouselArtworkBrickStoryQuery", "id": null, - "text": "query CarouselArtworkBrickStoryQuery {\n artwork(id: \"unused\") {\n ...FillwidthItem_artwork\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "CarouselArtworkBrickStoryQuery", + "operationKind": "query", + "text": "query CarouselArtworkBrickStoryQuery {\n artwork(id: \"unused\") {\n ...FillwidthItem_artwork\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/Collect_marketingHubCollections.graphql.ts b/src/v2/__generated__/Collect_marketingHubCollections.graphql.ts index 0eb0ffdb9cb..56991e3b235 100644 --- a/src/v2/__generated__/Collect_marketingHubCollections.graphql.ts +++ b/src/v2/__generated__/Collect_marketingHubCollections.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,20 +16,20 @@ export type Collect_marketingHubCollections$key = ReadonlyArray<{ const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Collect_marketingHubCollections", - "type": "MarketingCollection", "metadata": { "plural": true }, - "argumentDefinitions": [], + "name": "Collect_marketingHubCollections", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "CollectionsHubsNav_marketingHubCollections", - "args": null + "name": "CollectionsHubsNav_marketingHubCollections" } - ] + ], + "type": "MarketingCollection" }; (node as any).hash = 'd2c8a937457d195a57fd7a72bf2ea361'; export default node; diff --git a/src/v2/__generated__/CollectionAppQuery.graphql.ts b/src/v2/__generated__/CollectionAppQuery.graphql.ts index 37ada7fed79..8413672bedf 100644 --- a/src/v2/__generated__/CollectionAppQuery.graphql.ts +++ b/src/v2/__generated__/CollectionAppQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -6,18 +7,18 @@ export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS export type ArtworkSizes = "LARGE" | "MEDIUM" | "SMALL" | "%future added value"; export type CollectionAppQueryVariables = { acquireable?: boolean | null; - aggregations?: ReadonlyArray | null; + aggregations?: Array | null; atAuction?: boolean | null; color?: string | null; forSale?: boolean | null; height?: string | null; inquireableOnly?: boolean | null; - majorPeriods?: ReadonlyArray | null; + majorPeriods?: Array | null; medium?: string | null; offerable?: boolean | null; page?: number | null; priceRange?: string | null; - sizes?: ReadonlyArray | null; + sizes?: Array | null; sort?: string | null; slug: string; width?: string | null; @@ -588,105 +589,105 @@ fragment SeoProductsForCollections_descending_artworks on FilterArtworksConnecti const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "acquireable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { - "kind": "LocalArgument", - "name": "aggregations", - "type": "[ArtworkAggregation]", "defaultValue": [ "MERCHANDISABLE_ARTISTS", "MEDIUM", "MAJOR_PERIOD", "TOTAL" - ] + ], + "kind": "LocalArgument", + "name": "aggregations", + "type": "[ArtworkAggregation]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "atAuction", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "color", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "height", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "inquireableOnly", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "majorPeriods", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "offerable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sizes", - "type": "[ArtworkSizes]", - "defaultValue": null + "type": "[ArtworkSizes]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "width", - "type": "String", - "defaultValue": null + "type": "String" } ], v1 = [ @@ -780,52 +781,52 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "category", "args": null, + "kind": "ScalarField", + "name": "category", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "headerImage", "args": null, + "kind": "ScalarField", + "name": "headerImage", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": "price_guidance", - "name": "priceGuidance", "args": null, + "kind": "ScalarField", + "name": "priceGuidance", "storageKey": null }, v11 = { @@ -849,10 +850,10 @@ v12 = [ (v11/*: any*/) ], v13 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v14 = [ @@ -860,20 +861,20 @@ v14 = [ (v7/*: any*/) ], v15 = { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "storageKey": null }, v16 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }, v17 = [ @@ -896,25 +897,23 @@ v20 = { }, v21 = [ { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, (v16/*: any*/) ], v22 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -922,42 +921,44 @@ v22 = { "value": "larger" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"larger\")" }, v23 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v24 = { - "kind": "ScalarField", "alias": null, - "name": "availability", "args": null, + "kind": "ScalarField", + "name": "availability", "storageKey": null }, v25 = { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, v26 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v27 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], @@ -969,68 +970,66 @@ v28 = [ } ], v29 = { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, v30 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v31 = { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, (v13/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, v32 = [ { - "kind": "ScalarField", "alias": null, - "name": "major", "args": [ { "kind": "Literal", @@ -1038,210 +1037,208 @@ v32 = [ "value": "USD" } ], + "kind": "ScalarField", + "name": "major", "storageKey": "major(convertTo:\"USD\")" }, { - "kind": "ScalarField", "alias": null, - "name": "currencyCode", "args": null, + "kind": "ScalarField", + "name": "currencyCode", "storageKey": null } ], v33 = [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v7/*: any*/), (v24/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ (v26/*: any*/), { "kind": "InlineFragment", - "type": "PriceRange", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "minPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "minPrice", "plural": false, - "selections": (v32/*: any*/) + "selections": (v32/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "maxPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "maxPrice", "plural": false, - "selections": (v32/*: any*/) + "selections": (v32/*: any*/), + "storageKey": null } - ] + ], + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v32/*: any*/) + "selections": (v32/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v7/*: any*/) ], v34 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v35 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v36 = [ (v34/*: any*/), (v35/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "CollectionAppQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "CollectionAppQuery", "selections": [ { - "kind": "LinkedField", "alias": "collection", - "name": "marketingCollection", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingCollection", "plural": false, "selections": [ { + "args": (v3/*: any*/), "kind": "FragmentSpread", - "name": "Collection_collection", - "args": (v3/*: any*/) + "name": "Collection_collection" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "CollectionAppQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": "collection", - "name": "marketingCollection", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingCollection", "plural": false, "selections": [ (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "credit", "args": null, + "kind": "ScalarField", + "name": "credit", "storageKey": null }, (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "featuredArtistExclusionIds", "args": null, + "kind": "ScalarField", + "name": "featuredArtistExclusionIds", "storageKey": null }, (v6/*: any*/), (v7/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "query", - "storageKey": null, "args": null, "concreteType": "MarketingCollectionQuery", + "kind": "LinkedField", + "name": "query", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "artistIDs", "args": null, + "kind": "ScalarField", + "name": "artistIDs", "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": "artist_id", - "name": "artistID", "args": null, + "kind": "ScalarField", + "name": "artistID", "storageKey": null }, { - "kind": "ScalarField", "alias": "gene_id", - "name": "geneID", "args": null, + "kind": "ScalarField", + "name": "geneID", "storageKey": null } - ] + ], + "storageKey": null }, (v8/*: any*/), (v9/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "relatedCollections", - "storageKey": "relatedCollections(size:16)", "args": [ { "kind": "Literal", @@ -1250,6 +1247,8 @@ return { } ], "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "relatedCollections", "plural": true, "selections": [ (v6/*: any*/), @@ -1257,48 +1256,41 @@ return { (v9/*: any*/), (v10/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(aggregations:[\"TOTAL\"],first:3,sort:\"-decayed_merch\")", "args": (v12/*: any*/), "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v15/*: any*/), (v9/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:262)", "args": [ { "kind": "Literal", @@ -1307,46 +1299,52 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v17/*: any*/) + "selections": (v17/*: any*/), + "storageKey": "resized(width:262)" } - ] + ], + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": "artworksConnection(aggregations:[\"TOTAL\"],first:3,sort:\"-decayed_merch\")" }, (v7/*: any*/) - ] + ], + "storageKey": "relatedCollections(size:16)" }, { - "kind": "LinkedField", "alias": null, - "name": "linkedCollections", - "storageKey": null, "args": null, "concreteType": "MarketingCollectionGroup", + "kind": "LinkedField", + "name": "linkedCollections", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "groupType", "args": null, + "kind": "ScalarField", + "name": "groupType", "storageKey": null }, (v13/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "members", - "storageKey": null, "args": null, "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "members", "plural": true, "selections": [ (v8/*: any*/), @@ -1354,56 +1352,50 @@ return { (v5/*: any*/), (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "thumbnail", "args": null, + "kind": "ScalarField", + "name": "thumbnail", "storageKey": null }, (v7/*: any*/), (v6/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(aggregations:[\"TOTAL\"],first:3,sort:\"-decayed_merch\")", "args": (v12/*: any*/), "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v15/*: any*/), (v9/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -1411,27 +1403,32 @@ return { "value": "small" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"small\")" } - ] + ], + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": "artworksConnection(aggregations:[\"TOTAL\"],first:3,sort:\"-decayed_merch\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "fallbackHeaderImage", - "name": "artworksConnection", - "storageKey": null, "args": [ (v2/*: any*/), (v18/*: any*/), @@ -1440,40 +1437,36 @@ return { (v11/*: any*/) ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:600)", "args": [ { "kind": "Literal", @@ -1482,24 +1475,28 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v17/*: any*/) + "selections": (v17/*: any*/), + "storageKey": "resized(width:600)" } - ] + ], + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": null, "args": [ (v2/*: any*/), { @@ -1516,41 +1513,37 @@ return { (v11/*: any*/) ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v7/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "large", - "name": "resized", - "storageKey": "resized(height:230)", "args": [ { "kind": "Literal", @@ -1559,14 +1552,14 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v21/*: any*/) + "selections": (v21/*: any*/), + "storageKey": "resized(height:230)" }, { - "kind": "LinkedField", "alias": "small", - "name": "resized", - "storageKey": "resized(height:160)", "args": [ { "kind": "Literal", @@ -1575,11 +1568,15 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v21/*: any*/) + "selections": (v21/*: any*/), + "storageKey": "resized(height:160)" }, (v22/*: any*/) - ] + ], + "storageKey": null }, (v9/*: any*/), (v23/*: any*/), @@ -1588,201 +1585,198 @@ return { (v4/*: any*/), (v25/*: any*/), { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_price_range", - "name": "isPriceRange", "args": null, + "kind": "ScalarField", + "name": "isPriceRange", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ (v26/*: any*/), { "kind": "InlineFragment", - "type": "PriceRange", - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "price_currency", - "name": "priceCurrency", "args": null, + "kind": "ScalarField", + "name": "priceCurrency", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v28/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "storageKey": "artists(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "meta", - "storageKey": null, "args": null, "concreteType": "ArtworkMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ (v5/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v28/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v13/*: any*/), (v29/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "icon", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "icon", "plural": false, "selections": [ (v22/*: any*/) - ] + ], + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "locations", - "storageKey": "locations(size:1)", "args": [ (v20/*: any*/) ], "concreteType": "Location", + "kind": "LinkedField", + "name": "locations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "address", "args": null, + "kind": "ScalarField", + "name": "address", "storageKey": null }, { - "kind": "ScalarField", "alias": "address_2", - "name": "address2", "args": null, + "kind": "ScalarField", + "name": "address2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": "postal_code", - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phone", "args": null, + "kind": "ScalarField", + "name": "phone", "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": "locations(size:1)" }, (v7/*: any*/) - ] + ], + "storageKey": "partner(shallow:true)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "merchandisableArtists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "merchandisableArtists", "plural": true, "selections": [ (v8/*: any*/), (v30/*: any*/), (v13/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:45,version:\"square\",width:45)", "args": [ { "kind": "Literal", @@ -1801,62 +1795,65 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v17/*: any*/) + "selections": (v17/*: any*/), + "storageKey": "resized(height:45,version:\"square\",width:45)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "birthday", "args": null, + "kind": "ScalarField", + "name": "birthday", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "nationality", "args": null, + "kind": "ScalarField", + "name": "nationality", "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v31/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "descending_artworks", - "name": "artworksConnection", - "storageKey": null, "args": [ (v2/*: any*/), (v18/*: any*/), @@ -1869,14 +1866,14 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, - "selections": (v33/*: any*/) + "selections": (v33/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "ascending_artworks", - "name": "artworksConnection", - "storageKey": null, "args": [ (v2/*: any*/), (v18/*: any*/), @@ -1889,115 +1886,115 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, - "selections": (v33/*: any*/) + "selections": (v33/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "artworksConnection", - "storageKey": null, "args": (v3/*: any*/), "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ (v7/*: any*/), (v31/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v36/*: any*/) + "selections": (v36/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v36/*: any*/) + "selections": (v36/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v36/*: any*/) + "selections": (v36/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v34/*: any*/), (v35/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v7/*: any*/), @@ -2005,32 +2002,29 @@ return { (v23/*: any*/), (v30/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -2038,211 +2032,218 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, (v9/*: any*/), { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, (v25/*: any*/), { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v28/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v7/*: any*/), (v23/*: any*/), (v13/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v28/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v13/*: any*/), (v23/*: any*/), (v7/*: any*/), (v29/*: any*/) - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "CollectionAppQuery", "id": null, - "text": "query CollectionAppQuery(\n $acquireable: Boolean\n $aggregations: [ArtworkAggregation] = [MERCHANDISABLE_ARTISTS, MEDIUM, MAJOR_PERIOD, TOTAL]\n $atAuction: Boolean\n $color: String\n $forSale: Boolean\n $height: String\n $inquireableOnly: Boolean\n $majorPeriods: [String]\n $medium: String\n $offerable: Boolean\n $page: Int\n $priceRange: String\n $sizes: [ArtworkSizes]\n $sort: String\n $slug: String!\n $width: String\n) {\n collection: marketingCollection(slug: $slug) {\n ...Collection_collection_OtEKD\n id\n }\n}\n\nfragment ArtistSeriesEntity_member on MarketingCollection {\n slug\n headerImage\n thumbnail\n title\n price_guidance: priceGuidance\n artworksConnection(first: 3, aggregations: [TOTAL], sort: \"-decayed_merch\") {\n edges {\n node {\n artist {\n name\n id\n }\n title\n image {\n url(version: \"small\")\n }\n id\n }\n }\n id\n }\n}\n\nfragment ArtistSeriesRail_collectionGroup on MarketingCollectionGroup {\n groupType\n name\n members {\n slug\n ...ArtistSeriesEntity_member\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Collection_collection_OtEKD on MarketingCollection {\n ...Header_collection\n description\n headerImage\n slug\n id\n title\n query {\n artist_id: artistID\n gene_id: geneID\n id\n }\n relatedCollections(size: 16) {\n ...RelatedCollectionsRail_collections\n id\n }\n linkedCollections {\n ...CollectionsHubRails_linkedCollections\n }\n fallbackHeaderImage: artworksConnection(aggregations: $aggregations, includeMediumFilterInAggregation: true, size: 1, first: 1, sort: \"-decayed_merch\") {\n edges {\n node {\n image {\n resized(width: 600) {\n url\n }\n }\n id\n }\n }\n id\n }\n artworksConnection(aggregations: $aggregations, includeMediumFilterInAggregation: true, size: 20, first: 20, sort: \"-decayed_merch\") {\n ...Header_artworks\n ...SeoProductsForArtworks_artworks\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n id\n }\n descending_artworks: artworksConnection(aggregations: $aggregations, includeMediumFilterInAggregation: true, first: 1, size: 1, sort: \"sold,-has_price,-prices\") {\n ...SeoProductsForCollections_descending_artworks\n id\n }\n ascending_artworks: artworksConnection(aggregations: $aggregations, includeMediumFilterInAggregation: true, first: 1, size: 1, sort: \"sold,-has_price,prices\") {\n ...SeoProductsForCollections_ascending_artworks\n id\n }\n filtered_artworks: artworksConnection(acquireable: $acquireable, aggregations: $aggregations, atAuction: $atAuction, color: $color, forSale: $forSale, height: $height, inquireableOnly: $inquireableOnly, majorPeriods: $majorPeriods, medium: $medium, offerable: $offerable, page: $page, priceRange: $priceRange, sizes: $sizes, first: 30, sort: $sort, width: $width) {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment CollectionsHubRails_linkedCollections on MarketingCollectionGroup {\n groupType\n ...FeaturedCollectionsRails_collectionGroup\n ...OtherCollectionsRail_collectionGroup\n ...ArtistSeriesRail_collectionGroup\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment DefaultHeaderArtwork_artwork on FilterArtworksEdge {\n node {\n id\n title\n href\n slug\n image {\n large: resized(height: 230) {\n url\n width\n height\n }\n small: resized(height: 160) {\n url\n width\n height\n }\n }\n }\n}\n\nfragment DefaultHeader_headerArtworks on FilterArtworksConnection {\n edges {\n node {\n id\n image {\n large: resized(height: 230) {\n width\n height\n }\n small: resized(height: 160) {\n width\n height\n }\n }\n }\n ...DefaultHeaderArtwork_artwork\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FeaturedCollectionsRails_collectionGroup on MarketingCollectionGroup {\n groupType\n name\n members {\n slug\n title\n description\n price_guidance: priceGuidance\n thumbnail\n id\n }\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Header_artworks on FilterArtworksConnection {\n ...DefaultHeader_headerArtworks\n merchandisableArtists {\n slug\n internalID\n name\n image {\n resized(width: 45, height: 45, version: \"square\") {\n url\n }\n }\n birthday\n nationality\n ...FollowArtistButton_artist\n id\n }\n}\n\nfragment Header_collection on MarketingCollection {\n category\n credit\n description\n featuredArtistExclusionIds\n headerImage\n id\n query {\n artistIDs\n id\n }\n slug\n title\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment OtherCollectionEntity_member on MarketingCollection {\n slug\n thumbnail\n title\n}\n\nfragment OtherCollectionsRail_collectionGroup on MarketingCollectionGroup {\n groupType\n name\n members {\n ...OtherCollectionEntity_member\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 RelatedCollectionEntity_collection on MarketingCollection {\n headerImage\n slug\n title\n price_guidance: priceGuidance\n artworksConnection(first: 3, aggregations: [TOTAL], sort: \"-decayed_merch\") {\n edges {\n node {\n artist {\n name\n id\n }\n title\n image {\n resized(width: 262) {\n url\n }\n }\n id\n }\n }\n id\n }\n}\n\nfragment RelatedCollectionsRail_collections on MarketingCollection {\n ...RelatedCollectionEntity_collection\n artworksConnection(first: 3, aggregations: [TOTAL], sort: \"-decayed_merch\") {\n edges {\n node {\n id\n }\n }\n id\n }\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment SeoProductsForArtworks_artworks on FilterArtworksConnection {\n edges {\n node {\n id\n availability\n category\n date\n href\n is_acquireable: isAcquireable\n is_price_range: isPriceRange\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n price_currency: priceCurrency\n title\n artists(shallow: true) {\n name\n id\n }\n image {\n url(version: \"larger\")\n }\n meta {\n description\n }\n partner(shallow: true) {\n name\n type\n profile {\n icon {\n url(version: \"larger\")\n }\n id\n }\n locations(size: 1) {\n address\n address_2: address2\n city\n state\n country\n postal_code: postalCode\n phone\n id\n }\n id\n }\n }\n }\n}\n\nfragment SeoProductsForCollections_ascending_artworks on FilterArtworksConnection {\n edges {\n node {\n id\n availability\n listPrice {\n __typename\n ... on PriceRange {\n minPrice {\n major(convertTo: \"USD\")\n currencyCode\n }\n maxPrice {\n major(convertTo: \"USD\")\n currencyCode\n }\n }\n ... on Money {\n major(convertTo: \"USD\")\n currencyCode\n }\n }\n }\n }\n}\n\nfragment SeoProductsForCollections_descending_artworks on FilterArtworksConnection {\n edges {\n node {\n id\n availability\n listPrice {\n __typename\n ... on PriceRange {\n minPrice {\n major(convertTo: \"USD\")\n currencyCode\n }\n maxPrice {\n major(convertTo: \"USD\")\n currencyCode\n }\n }\n ... on Money {\n major(convertTo: \"USD\")\n currencyCode\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "CollectionAppQuery", + "operationKind": "query", + "text": "query CollectionAppQuery(\n $acquireable: Boolean\n $aggregations: [ArtworkAggregation] = [MERCHANDISABLE_ARTISTS, MEDIUM, MAJOR_PERIOD, TOTAL]\n $atAuction: Boolean\n $color: String\n $forSale: Boolean\n $height: String\n $inquireableOnly: Boolean\n $majorPeriods: [String]\n $medium: String\n $offerable: Boolean\n $page: Int\n $priceRange: String\n $sizes: [ArtworkSizes]\n $sort: String\n $slug: String!\n $width: String\n) {\n collection: marketingCollection(slug: $slug) {\n ...Collection_collection_OtEKD\n id\n }\n}\n\nfragment ArtistSeriesEntity_member on MarketingCollection {\n slug\n headerImage\n thumbnail\n title\n price_guidance: priceGuidance\n artworksConnection(first: 3, aggregations: [TOTAL], sort: \"-decayed_merch\") {\n edges {\n node {\n artist {\n name\n id\n }\n title\n image {\n url(version: \"small\")\n }\n id\n }\n }\n id\n }\n}\n\nfragment ArtistSeriesRail_collectionGroup on MarketingCollectionGroup {\n groupType\n name\n members {\n slug\n ...ArtistSeriesEntity_member\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Collection_collection_OtEKD on MarketingCollection {\n ...Header_collection\n description\n headerImage\n slug\n id\n title\n query {\n artist_id: artistID\n gene_id: geneID\n id\n }\n relatedCollections(size: 16) {\n ...RelatedCollectionsRail_collections\n id\n }\n linkedCollections {\n ...CollectionsHubRails_linkedCollections\n }\n fallbackHeaderImage: artworksConnection(aggregations: $aggregations, includeMediumFilterInAggregation: true, size: 1, first: 1, sort: \"-decayed_merch\") {\n edges {\n node {\n image {\n resized(width: 600) {\n url\n }\n }\n id\n }\n }\n id\n }\n artworksConnection(aggregations: $aggregations, includeMediumFilterInAggregation: true, size: 20, first: 20, sort: \"-decayed_merch\") {\n ...Header_artworks\n ...SeoProductsForArtworks_artworks\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n id\n }\n descending_artworks: artworksConnection(aggregations: $aggregations, includeMediumFilterInAggregation: true, first: 1, size: 1, sort: \"sold,-has_price,-prices\") {\n ...SeoProductsForCollections_descending_artworks\n id\n }\n ascending_artworks: artworksConnection(aggregations: $aggregations, includeMediumFilterInAggregation: true, first: 1, size: 1, sort: \"sold,-has_price,prices\") {\n ...SeoProductsForCollections_ascending_artworks\n id\n }\n filtered_artworks: artworksConnection(acquireable: $acquireable, aggregations: $aggregations, atAuction: $atAuction, color: $color, forSale: $forSale, height: $height, inquireableOnly: $inquireableOnly, majorPeriods: $majorPeriods, medium: $medium, offerable: $offerable, page: $page, priceRange: $priceRange, sizes: $sizes, first: 30, sort: $sort, width: $width) {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment CollectionsHubRails_linkedCollections on MarketingCollectionGroup {\n groupType\n ...FeaturedCollectionsRails_collectionGroup\n ...OtherCollectionsRail_collectionGroup\n ...ArtistSeriesRail_collectionGroup\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment DefaultHeaderArtwork_artwork on FilterArtworksEdge {\n node {\n id\n title\n href\n slug\n image {\n large: resized(height: 230) {\n url\n width\n height\n }\n small: resized(height: 160) {\n url\n width\n height\n }\n }\n }\n}\n\nfragment DefaultHeader_headerArtworks on FilterArtworksConnection {\n edges {\n node {\n id\n image {\n large: resized(height: 230) {\n width\n height\n }\n small: resized(height: 160) {\n width\n height\n }\n }\n }\n ...DefaultHeaderArtwork_artwork\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FeaturedCollectionsRails_collectionGroup on MarketingCollectionGroup {\n groupType\n name\n members {\n slug\n title\n description\n price_guidance: priceGuidance\n thumbnail\n id\n }\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Header_artworks on FilterArtworksConnection {\n ...DefaultHeader_headerArtworks\n merchandisableArtists {\n slug\n internalID\n name\n image {\n resized(width: 45, height: 45, version: \"square\") {\n url\n }\n }\n birthday\n nationality\n ...FollowArtistButton_artist\n id\n }\n}\n\nfragment Header_collection on MarketingCollection {\n category\n credit\n description\n featuredArtistExclusionIds\n headerImage\n id\n query {\n artistIDs\n id\n }\n slug\n title\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment OtherCollectionEntity_member on MarketingCollection {\n slug\n thumbnail\n title\n}\n\nfragment OtherCollectionsRail_collectionGroup on MarketingCollectionGroup {\n groupType\n name\n members {\n ...OtherCollectionEntity_member\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 RelatedCollectionEntity_collection on MarketingCollection {\n headerImage\n slug\n title\n price_guidance: priceGuidance\n artworksConnection(first: 3, aggregations: [TOTAL], sort: \"-decayed_merch\") {\n edges {\n node {\n artist {\n name\n id\n }\n title\n image {\n resized(width: 262) {\n url\n }\n }\n id\n }\n }\n id\n }\n}\n\nfragment RelatedCollectionsRail_collections on MarketingCollection {\n ...RelatedCollectionEntity_collection\n artworksConnection(first: 3, aggregations: [TOTAL], sort: \"-decayed_merch\") {\n edges {\n node {\n id\n }\n }\n id\n }\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment SeoProductsForArtworks_artworks on FilterArtworksConnection {\n edges {\n node {\n id\n availability\n category\n date\n href\n is_acquireable: isAcquireable\n is_price_range: isPriceRange\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n price_currency: priceCurrency\n title\n artists(shallow: true) {\n name\n id\n }\n image {\n url(version: \"larger\")\n }\n meta {\n description\n }\n partner(shallow: true) {\n name\n type\n profile {\n icon {\n url(version: \"larger\")\n }\n id\n }\n locations(size: 1) {\n address\n address_2: address2\n city\n state\n country\n postal_code: postalCode\n phone\n id\n }\n id\n }\n }\n }\n}\n\nfragment SeoProductsForCollections_ascending_artworks on FilterArtworksConnection {\n edges {\n node {\n id\n availability\n listPrice {\n __typename\n ... on PriceRange {\n minPrice {\n major(convertTo: \"USD\")\n currencyCode\n }\n maxPrice {\n major(convertTo: \"USD\")\n currencyCode\n }\n }\n ... on Money {\n major(convertTo: \"USD\")\n currencyCode\n }\n }\n }\n }\n}\n\nfragment SeoProductsForCollections_descending_artworks on FilterArtworksConnection {\n edges {\n node {\n id\n availability\n listPrice {\n __typename\n ... on PriceRange {\n minPrice {\n major(convertTo: \"USD\")\n currencyCode\n }\n maxPrice {\n major(convertTo: \"USD\")\n currencyCode\n }\n }\n ... on Money {\n major(convertTo: \"USD\")\n currencyCode\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/CollectionEntity_collection.graphql.ts b/src/v2/__generated__/CollectionEntity_collection.graphql.ts index 20136699f76..4f65c268752 100644 --- a/src/v2/__generated__/CollectionEntity_collection.graphql.ts +++ b/src/v2/__generated__/CollectionEntity_collection.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -19,48 +20,48 @@ export type CollectionEntity_collection$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "CollectionEntity_collection", - "type": "MarketingCollection", "metadata": null, - "argumentDefinitions": [], + "name": "CollectionEntity_collection", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "headerImage", "args": null, + "kind": "ScalarField", + "name": "headerImage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "price_guidance", - "name": "priceGuidance", "args": null, + "kind": "ScalarField", + "name": "priceGuidance", "storageKey": null }, { - "kind": "ScalarField", "alias": "show_on_editorial", - "name": "showOnEditorial", "args": null, + "kind": "ScalarField", + "name": "showOnEditorial", "storageKey": null } - ] + ], + "type": "MarketingCollection" }; (node as any).hash = '7b6be8924b3cafab86730578ebf5c997'; export default node; diff --git a/src/v2/__generated__/Collection_collection.graphql.ts b/src/v2/__generated__/Collection_collection.graphql.ts index ec0c97afed0..44bb62604db 100644 --- a/src/v2/__generated__/Collection_collection.graphql.ts +++ b/src/v2/__generated__/Collection_collection.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS" | "GALLERY" | "INSTITUTION" | "MAJOR_PERIOD" | "MEDIUM" | "MERCHANDISABLE_ARTISTS" | "PARTNER_CITY" | "PERIOD" | "PRICE_RANGE" | "TOTAL" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS" | "GALLERY" | "INSTITUTION" | "MAJOR_PERIOD" | "MEDIUM" | "MERCHANDISABLE_ARTISTS" | "PARTNER_CITY" | "PERIOD" | "PRICE_RANGE" | "TOTAL" | "%future added value"; export type Collection_collection = { readonly description: string | null; readonly headerImage: string | null; @@ -64,10 +65,10 @@ export type Collection_collection$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v1 = { @@ -96,168 +97,164 @@ v5 = { "value": "-decayed_merch" }; return { - "kind": "Fragment", - "name": "Collection_collection", - "type": "MarketingCollection", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": null, "kind": "LocalArgument", "name": "acquireable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "aggregations", - "type": "[ArtworkAggregation]", - "defaultValue": null + "type": "[ArtworkAggregation]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "atAuction", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "color", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "height", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "inquireableOnly", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "majorPeriods", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": "*", "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": "*" + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "offerable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sizes", - "type": "[ArtworkSizes]", - "defaultValue": null + "type": "[ArtworkSizes]" }, { + "defaultValue": "-partner_updated_at", "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": "-partner_updated_at" + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "width", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "first", - "type": "Int", - "defaultValue": null + "type": "Int" } ], + "kind": "Fragment", + "metadata": null, + "name": "Collection_collection", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "headerImage", "args": null, + "kind": "ScalarField", + "name": "headerImage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "query", - "storageKey": null, "args": null, "concreteType": "MarketingCollectionQuery", + "kind": "LinkedField", + "name": "query", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "artist_id", - "name": "artistID", "args": null, + "kind": "ScalarField", + "name": "artistID", "storageKey": null }, { - "kind": "ScalarField", "alias": "gene_id", - "name": "geneID", "args": null, + "kind": "ScalarField", + "name": "geneID", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "relatedCollections", - "storageKey": "relatedCollections(size:16)", "args": [ { "kind": "Literal", @@ -266,36 +263,36 @@ return { } ], "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "relatedCollections", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "RelatedCollectionsRail_collections", - "args": null + "name": "RelatedCollectionsRail_collections" } - ] + ], + "storageKey": "relatedCollections(size:16)" }, { - "kind": "LinkedField", "alias": null, - "name": "linkedCollections", - "storageKey": null, "args": null, "concreteType": "MarketingCollectionGroup", + "kind": "LinkedField", + "name": "linkedCollections", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "CollectionsHubRails_linkedCollections", - "args": null + "name": "CollectionsHubRails_linkedCollections" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "fallbackHeaderImage", - "name": "artworksConnection", - "storageKey": null, "args": [ (v1/*: any*/), (v2/*: any*/), @@ -304,40 +301,36 @@ return { (v5/*: any*/) ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:600)", "args": [ { "kind": "Literal", @@ -346,30 +339,34 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:600)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": null, "args": [ (v1/*: any*/), { @@ -386,75 +383,75 @@ return { (v5/*: any*/) ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Header_artworks", - "args": null + "name": "Header_artworks" }, { + "args": null, "kind": "FragmentSpread", - "name": "SeoProductsForArtworks_artworks", - "args": null + "name": "SeoProductsForArtworks_artworks" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "descending_artworks", - "name": "artworksConnection", - "storageKey": null, "args": [ (v1/*: any*/), (v2/*: any*/), @@ -467,20 +464,20 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "SeoProductsForCollections_descending_artworks", - "args": null + "name": "SeoProductsForCollections_descending_artworks" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "ascending_artworks", - "name": "artworksConnection", - "storageKey": null, "args": [ (v1/*: any*/), (v2/*: any*/), @@ -493,20 +490,20 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "SeoProductsForCollections_ascending_artworks", - "args": null + "name": "SeoProductsForCollections_ascending_artworks" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "artworksConnection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -586,22 +583,26 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ (v0/*: any*/), { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkFilterArtworkGrid2_filtered_artworks", - "args": null + "name": "ArtworkFilterArtworkGrid2_filtered_artworks" } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Header_collection", - "args": null + "name": "Header_collection" } - ] + ], + "type": "MarketingCollection" }; })(); (node as any).hash = '66d4cfde758ac48f948a0880e33e9ed4'; diff --git a/src/v2/__generated__/CollectionsAppTestQuery.graphql.ts b/src/v2/__generated__/CollectionsAppTestQuery.graphql.ts index 710a5fc2438..a4dd5ef7eff 100644 --- a/src/v2/__generated__/CollectionsAppTestQuery.graphql.ts +++ b/src/v2/__generated__/CollectionsAppTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -46,102 +47,102 @@ fragment Collections_marketingCategories on MarketingCollectionCategory { */ const node: ConcreteRequest = { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "CollectionsAppTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "CollectionsAppTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "marketingCategories", - "storageKey": null, "args": null, "concreteType": "MarketingCollectionCategory", + "kind": "LinkedField", + "name": "marketingCategories", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Collections_marketingCategories", - "args": null + "name": "Collections_marketingCategories" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "CollectionsAppTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "marketingCategories", - "storageKey": null, "args": null, "concreteType": "MarketingCollectionCategory", + "kind": "LinkedField", + "name": "marketingCategories", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "collections", - "storageKey": null, "args": null, "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "collections", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "headerImage", "args": null, + "kind": "ScalarField", + "name": "headerImage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "CollectionsAppTestQuery", "id": null, - "text": "query CollectionsAppTestQuery {\n marketingCategories {\n ...Collections_marketingCategories\n }\n}\n\nfragment Collections_marketingCategories on MarketingCollectionCategory {\n name\n collections {\n slug\n headerImage\n title\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "CollectionsAppTestQuery", + "operationKind": "query", + "text": "query CollectionsAppTestQuery {\n marketingCategories {\n ...Collections_marketingCategories\n }\n}\n\nfragment Collections_marketingCategories on MarketingCollectionCategory {\n name\n collections {\n slug\n headerImage\n title\n id\n }\n}\n" } }; (node as any).hash = '050582dc3697c03c390f4940c8479191'; diff --git a/src/v2/__generated__/CollectionsHubRailsStoryQuery.graphql.ts b/src/v2/__generated__/CollectionsHubRailsStoryQuery.graphql.ts index 3463bb8ca93..650c6b8a6cd 100644 --- a/src/v2/__generated__/CollectionsHubRailsStoryQuery.graphql.ts +++ b/src/v2/__generated__/CollectionsHubRailsStoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -104,10 +105,10 @@ fragment OtherCollectionsRail_collectionGroup on MarketingCollectionGroup { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "collectionID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -118,146 +119,140 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "CollectionsHubRailsStoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "CollectionsHubRailsStoryQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "marketingCollection", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingCollection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "linkedCollections", - "storageKey": null, "args": null, "concreteType": "MarketingCollectionGroup", + "kind": "LinkedField", + "name": "linkedCollections", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "CollectionsHubRails_linkedCollections", - "args": null + "name": "CollectionsHubRails_linkedCollections" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "CollectionsHubRailsStoryQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "marketingCollection", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingCollection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "linkedCollections", - "storageKey": null, "args": null, "concreteType": "MarketingCollectionGroup", + "kind": "LinkedField", + "name": "linkedCollections", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "groupType", "args": null, + "kind": "ScalarField", + "name": "groupType", "storageKey": null }, (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "members", - "storageKey": null, "args": null, "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "members", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, { - "kind": "ScalarField", "alias": "price_guidance", - "name": "priceGuidance", "args": null, + "kind": "ScalarField", + "name": "priceGuidance", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "thumbnail", "args": null, + "kind": "ScalarField", + "name": "thumbnail", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "headerImage", "args": null, + "kind": "ScalarField", + "name": "headerImage", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(aggregations:[\"TOTAL\"],first:3,sort:\"-decayed_merch\")", "args": [ { "kind": "Literal", @@ -278,53 +273,50 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -332,33 +324,42 @@ return { "value": "small" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"small\")" } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": "artworksConnection(aggregations:[\"TOTAL\"],first:3,sort:\"-decayed_merch\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "CollectionsHubRailsStoryQuery", "id": null, - "text": "query CollectionsHubRailsStoryQuery(\n $collectionID: String!\n) {\n marketingCollection(slug: $collectionID) {\n linkedCollections {\n ...CollectionsHubRails_linkedCollections\n }\n id\n }\n}\n\nfragment ArtistSeriesEntity_member on MarketingCollection {\n slug\n headerImage\n thumbnail\n title\n price_guidance: priceGuidance\n artworksConnection(first: 3, aggregations: [TOTAL], sort: \"-decayed_merch\") {\n edges {\n node {\n artist {\n name\n id\n }\n title\n image {\n url(version: \"small\")\n }\n id\n }\n }\n id\n }\n}\n\nfragment ArtistSeriesRail_collectionGroup on MarketingCollectionGroup {\n groupType\n name\n members {\n slug\n ...ArtistSeriesEntity_member\n id\n }\n}\n\nfragment CollectionsHubRails_linkedCollections on MarketingCollectionGroup {\n groupType\n ...FeaturedCollectionsRails_collectionGroup\n ...OtherCollectionsRail_collectionGroup\n ...ArtistSeriesRail_collectionGroup\n}\n\nfragment FeaturedCollectionsRails_collectionGroup on MarketingCollectionGroup {\n groupType\n name\n members {\n slug\n title\n description\n price_guidance: priceGuidance\n thumbnail\n id\n }\n}\n\nfragment OtherCollectionEntity_member on MarketingCollection {\n slug\n thumbnail\n title\n}\n\nfragment OtherCollectionsRail_collectionGroup on MarketingCollectionGroup {\n groupType\n name\n members {\n ...OtherCollectionEntity_member\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "CollectionsHubRailsStoryQuery", + "operationKind": "query", + "text": "query CollectionsHubRailsStoryQuery(\n $collectionID: String!\n) {\n marketingCollection(slug: $collectionID) {\n linkedCollections {\n ...CollectionsHubRails_linkedCollections\n }\n id\n }\n}\n\nfragment ArtistSeriesEntity_member on MarketingCollection {\n slug\n headerImage\n thumbnail\n title\n price_guidance: priceGuidance\n artworksConnection(first: 3, aggregations: [TOTAL], sort: \"-decayed_merch\") {\n edges {\n node {\n artist {\n name\n id\n }\n title\n image {\n url(version: \"small\")\n }\n id\n }\n }\n id\n }\n}\n\nfragment ArtistSeriesRail_collectionGroup on MarketingCollectionGroup {\n groupType\n name\n members {\n slug\n ...ArtistSeriesEntity_member\n id\n }\n}\n\nfragment CollectionsHubRails_linkedCollections on MarketingCollectionGroup {\n groupType\n ...FeaturedCollectionsRails_collectionGroup\n ...OtherCollectionsRail_collectionGroup\n ...ArtistSeriesRail_collectionGroup\n}\n\nfragment FeaturedCollectionsRails_collectionGroup on MarketingCollectionGroup {\n groupType\n name\n members {\n slug\n title\n description\n price_guidance: priceGuidance\n thumbnail\n id\n }\n}\n\nfragment OtherCollectionEntity_member on MarketingCollection {\n slug\n thumbnail\n title\n}\n\nfragment OtherCollectionsRail_collectionGroup on MarketingCollectionGroup {\n groupType\n name\n members {\n ...OtherCollectionEntity_member\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/CollectionsHubRails_linkedCollections.graphql.ts b/src/v2/__generated__/CollectionsHubRails_linkedCollections.graphql.ts index 6fb725043d3..2d9072b6590 100644 --- a/src/v2/__generated__/CollectionsHubRails_linkedCollections.graphql.ts +++ b/src/v2/__generated__/CollectionsHubRails_linkedCollections.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type MarketingGroupTypes = "ArtistSeries" | "FeaturedCollections" | "OtherCollections" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type MarketingGroupTypes = "ArtistSeries" | "FeaturedCollections" | "OtherCollections" | "%future added value"; export type CollectionsHubRails_linkedCollections = ReadonlyArray<{ readonly groupType: MarketingGroupTypes; readonly " $fragmentRefs": FragmentRefs<"FeaturedCollectionsRails_collectionGroup" | "OtherCollectionsRail_collectionGroup" | "ArtistSeriesRail_collectionGroup">; @@ -17,37 +18,37 @@ export type CollectionsHubRails_linkedCollections$key = ReadonlyArray<{ const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "CollectionsHubRails_linkedCollections", - "type": "MarketingCollectionGroup", "metadata": { "plural": true }, - "argumentDefinitions": [], + "name": "CollectionsHubRails_linkedCollections", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "groupType", "args": null, + "kind": "ScalarField", + "name": "groupType", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "FeaturedCollectionsRails_collectionGroup", - "args": null + "name": "FeaturedCollectionsRails_collectionGroup" }, { + "args": null, "kind": "FragmentSpread", - "name": "OtherCollectionsRail_collectionGroup", - "args": null + "name": "OtherCollectionsRail_collectionGroup" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistSeriesRail_collectionGroup", - "args": null + "name": "ArtistSeriesRail_collectionGroup" } - ] + ], + "type": "MarketingCollectionGroup" }; (node as any).hash = 'a7285e8c4087e97b3282b8c929f612be'; export default node; diff --git a/src/v2/__generated__/CollectionsHubsHomepageNavQuery.graphql.ts b/src/v2/__generated__/CollectionsHubsHomepageNavQuery.graphql.ts index 65e7146fc60..22f9e510838 100644 --- a/src/v2/__generated__/CollectionsHubsHomepageNavQuery.graphql.ts +++ b/src/v2/__generated__/CollectionsHubsHomepageNavQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -31,84 +32,84 @@ fragment CollectionsHubsHomepageNav_marketingHubCollections on MarketingCollecti */ const node: ConcreteRequest = { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "CollectionsHubsHomepageNavQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "CollectionsHubsHomepageNavQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "marketingHubCollections", - "storageKey": null, "args": null, "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingHubCollections", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "CollectionsHubsHomepageNav_marketingHubCollections", - "args": null + "name": "CollectionsHubsHomepageNav_marketingHubCollections" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "CollectionsHubsHomepageNavQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "marketingHubCollections", - "storageKey": null, "args": null, "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingHubCollections", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "thumbnail", "args": null, + "kind": "ScalarField", + "name": "thumbnail", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "CollectionsHubsHomepageNavQuery", "id": null, - "text": "query CollectionsHubsHomepageNavQuery {\n marketingHubCollections {\n ...CollectionsHubsHomepageNav_marketingHubCollections\n id\n }\n}\n\nfragment CollectionsHubsHomepageNav_marketingHubCollections on MarketingCollection {\n slug\n title\n thumbnail\n}\n", - "metadata": {} + "metadata": {}, + "name": "CollectionsHubsHomepageNavQuery", + "operationKind": "query", + "text": "query CollectionsHubsHomepageNavQuery {\n marketingHubCollections {\n ...CollectionsHubsHomepageNav_marketingHubCollections\n id\n }\n}\n\nfragment CollectionsHubsHomepageNav_marketingHubCollections on MarketingCollection {\n slug\n title\n thumbnail\n}\n" } }; (node as any).hash = '7e2b35da19e4803e18aca235288f1303'; diff --git a/src/v2/__generated__/CollectionsHubsHomepageNav_marketingHubCollections.graphql.ts b/src/v2/__generated__/CollectionsHubsHomepageNav_marketingHubCollections.graphql.ts index a2d129202b1..d4833ea07ba 100644 --- a/src/v2/__generated__/CollectionsHubsHomepageNav_marketingHubCollections.graphql.ts +++ b/src/v2/__generated__/CollectionsHubsHomepageNav_marketingHubCollections.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -17,36 +18,36 @@ export type CollectionsHubsHomepageNav_marketingHubCollections$key = ReadonlyArr const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "CollectionsHubsHomepageNav_marketingHubCollections", - "type": "MarketingCollection", "metadata": { "plural": true }, - "argumentDefinitions": [], + "name": "CollectionsHubsHomepageNav_marketingHubCollections", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "thumbnail", "args": null, + "kind": "ScalarField", + "name": "thumbnail", "storageKey": null } - ] + ], + "type": "MarketingCollection" }; (node as any).hash = '34bd7792d5ea1762efa545928881b4b5'; export default node; diff --git a/src/v2/__generated__/CollectionsHubsNavQuery.graphql.ts b/src/v2/__generated__/CollectionsHubsNavQuery.graphql.ts index 3ac35a4b83e..1d3e53c7ace 100644 --- a/src/v2/__generated__/CollectionsHubsNavQuery.graphql.ts +++ b/src/v2/__generated__/CollectionsHubsNavQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -31,84 +32,84 @@ fragment CollectionsHubsNav_marketingHubCollections on MarketingCollection { */ const node: ConcreteRequest = { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "CollectionsHubsNavQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "CollectionsHubsNavQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "marketingHubCollections", - "storageKey": null, "args": null, "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingHubCollections", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "CollectionsHubsNav_marketingHubCollections", - "args": null + "name": "CollectionsHubsNav_marketingHubCollections" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "CollectionsHubsNavQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "marketingHubCollections", - "storageKey": null, "args": null, "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingHubCollections", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "thumbnail", "args": null, + "kind": "ScalarField", + "name": "thumbnail", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "CollectionsHubsNavQuery", "id": null, - "text": "query CollectionsHubsNavQuery {\n marketingHubCollections {\n ...CollectionsHubsNav_marketingHubCollections\n id\n }\n}\n\nfragment CollectionsHubsNav_marketingHubCollections on MarketingCollection {\n slug\n title\n thumbnail\n}\n", - "metadata": {} + "metadata": {}, + "name": "CollectionsHubsNavQuery", + "operationKind": "query", + "text": "query CollectionsHubsNavQuery {\n marketingHubCollections {\n ...CollectionsHubsNav_marketingHubCollections\n id\n }\n}\n\nfragment CollectionsHubsNav_marketingHubCollections on MarketingCollection {\n slug\n title\n thumbnail\n}\n" } }; (node as any).hash = 'e5ed35dc266541269a05a2a638814af6'; diff --git a/src/v2/__generated__/CollectionsHubsNav_marketingHubCollections.graphql.ts b/src/v2/__generated__/CollectionsHubsNav_marketingHubCollections.graphql.ts index 740eadebd0f..f15115f928d 100644 --- a/src/v2/__generated__/CollectionsHubsNav_marketingHubCollections.graphql.ts +++ b/src/v2/__generated__/CollectionsHubsNav_marketingHubCollections.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -17,36 +18,36 @@ export type CollectionsHubsNav_marketingHubCollections$key = ReadonlyArray<{ const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "CollectionsHubsNav_marketingHubCollections", - "type": "MarketingCollection", "metadata": { "plural": true }, - "argumentDefinitions": [], + "name": "CollectionsHubsNav_marketingHubCollections", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "thumbnail", "args": null, + "kind": "ScalarField", + "name": "thumbnail", "storageKey": null } - ] + ], + "type": "MarketingCollection" }; (node as any).hash = '786fb4ee21714400af909abef5fda8ea'; export default node; diff --git a/src/v2/__generated__/CollectionsRailQuery.graphql.ts b/src/v2/__generated__/CollectionsRailQuery.graphql.ts index 4f28afb89b3..a2fb875f8e8 100644 --- a/src/v2/__generated__/CollectionsRailQuery.graphql.ts +++ b/src/v2/__generated__/CollectionsRailQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -47,22 +48,22 @@ fragment CollectionsRail_collections on MarketingCollection { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "showOnEditorial", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "size", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "randomizationSeed", - "type": "String", - "defaultValue": null + "type": "String" } ], v1 = [ @@ -83,98 +84,98 @@ v1 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "CollectionsRailQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "CollectionsRailQuery", "selections": [ { - "kind": "LinkedField", "alias": "collections", - "name": "marketingCollections", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingCollections", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "CollectionsRail_collections", - "args": null + "name": "CollectionsRail_collections" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "CollectionsRailQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": "collections", - "name": "marketingCollections", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingCollections", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "headerImage", "args": null, + "kind": "ScalarField", + "name": "headerImage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "price_guidance", - "name": "priceGuidance", "args": null, + "kind": "ScalarField", + "name": "priceGuidance", "storageKey": null }, { - "kind": "ScalarField", "alias": "show_on_editorial", - "name": "showOnEditorial", "args": null, + "kind": "ScalarField", + "name": "showOnEditorial", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "CollectionsRailQuery", "id": null, - "text": "query CollectionsRailQuery(\n $showOnEditorial: Boolean\n $size: Int\n $randomizationSeed: String\n) {\n collections: marketingCollections(showOnEditorial: $showOnEditorial, size: $size, randomizationSeed: $randomizationSeed) {\n ...CollectionsRail_collections\n id\n }\n}\n\nfragment CollectionEntity_collection on MarketingCollection {\n slug\n headerImage\n title\n price_guidance: priceGuidance\n show_on_editorial: showOnEditorial\n}\n\nfragment CollectionsRail_collections on MarketingCollection {\n ...CollectionEntity_collection\n}\n", - "metadata": {} + "metadata": {}, + "name": "CollectionsRailQuery", + "operationKind": "query", + "text": "query CollectionsRailQuery(\n $showOnEditorial: Boolean\n $size: Int\n $randomizationSeed: String\n) {\n collections: marketingCollections(showOnEditorial: $showOnEditorial, size: $size, randomizationSeed: $randomizationSeed) {\n ...CollectionsRail_collections\n id\n }\n}\n\nfragment CollectionEntity_collection on MarketingCollection {\n slug\n headerImage\n title\n price_guidance: priceGuidance\n show_on_editorial: showOnEditorial\n}\n\nfragment CollectionsRail_collections on MarketingCollection {\n ...CollectionEntity_collection\n}\n" } }; })(); diff --git a/src/v2/__generated__/CollectionsRail_collections.graphql.ts b/src/v2/__generated__/CollectionsRail_collections.graphql.ts index 1708ec737f6..4b0a66a504a 100644 --- a/src/v2/__generated__/CollectionsRail_collections.graphql.ts +++ b/src/v2/__generated__/CollectionsRail_collections.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,20 +16,20 @@ export type CollectionsRail_collections$key = ReadonlyArray<{ const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "CollectionsRail_collections", - "type": "MarketingCollection", "metadata": { "plural": true }, - "argumentDefinitions": [], + "name": "CollectionsRail_collections", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "CollectionEntity_collection", - "args": null + "name": "CollectionEntity_collection" } - ] + ], + "type": "MarketingCollection" }; (node as any).hash = '35961dd8c6f3b9ed5fff404b9a586026'; export default node; diff --git a/src/v2/__generated__/Collections_marketingCategories.graphql.ts b/src/v2/__generated__/Collections_marketingCategories.graphql.ts index f3292c1e5fd..b4fb602d654 100644 --- a/src/v2/__generated__/Collections_marketingCategories.graphql.ts +++ b/src/v2/__generated__/Collections_marketingCategories.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -20,54 +21,54 @@ export type Collections_marketingCategories$key = ReadonlyArray<{ const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Collections_marketingCategories", - "type": "MarketingCollectionCategory", "metadata": { "plural": true }, - "argumentDefinitions": [], + "name": "Collections_marketingCategories", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "collections", - "storageKey": null, "args": null, "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "collections", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "headerImage", "args": null, + "kind": "ScalarField", + "name": "headerImage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "MarketingCollectionCategory" }; (node as any).hash = '76554c57a5339cf4a60df12cdee4be57'; export default node; diff --git a/src/v2/__generated__/CollectorIntentUpdateCollectorProfileMutation.graphql.ts b/src/v2/__generated__/CollectorIntentUpdateCollectorProfileMutation.graphql.ts index 8eb2affcb4f..f17a61f64bf 100644 --- a/src/v2/__generated__/CollectorIntentUpdateCollectorProfileMutation.graphql.ts +++ b/src/v2/__generated__/CollectorIntentUpdateCollectorProfileMutation.graphql.ts @@ -1,13 +1,14 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type Intents = "BUY_ART_AND_DESIGN" | "FIND_ART_EXHIBITS" | "LEARN_ABOUT_ART" | "READ_ART_MARKET_NEWS" | "RESEARCH_ART_PRICES" | "SELL_ART_AND_DESIGN" | "%future added value"; export type UpdateCollectorProfileInput = { - readonly clientMutationId?: string | null; - readonly intents?: ReadonlyArray | null; - readonly loyaltyApplicant?: boolean | null; - readonly professionalBuyer?: boolean | null; - readonly selfReportedPurchases?: string | null; + clientMutationId?: string | null; + intents?: Array | null; + loyaltyApplicant?: boolean | null; + professionalBuyer?: boolean | null; + selfReportedPurchases?: string | null; }; export type CollectorIntentUpdateCollectorProfileMutationVariables = { input: UpdateCollectorProfileInput; @@ -38,10 +39,10 @@ mutation CollectorIntentUpdateCollectorProfileMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "UpdateCollectorProfileInput!", - "defaultValue": null + "type": "UpdateCollectorProfileInput!" } ], v1 = [ @@ -52,67 +53,67 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "intents", "args": null, + "kind": "ScalarField", + "name": "intents", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "CollectorIntentUpdateCollectorProfileMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "CollectorIntentUpdateCollectorProfileMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "updateCollectorProfile", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "UpdateCollectorProfilePayload", + "kind": "LinkedField", + "name": "updateCollectorProfile", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "CollectorIntentUpdateCollectorProfileMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "updateCollectorProfile", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "UpdateCollectorProfilePayload", + "kind": "LinkedField", + "name": "updateCollectorProfile", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "CollectorIntentUpdateCollectorProfileMutation", "id": null, - "text": "mutation CollectorIntentUpdateCollectorProfileMutation(\n $input: UpdateCollectorProfileInput!\n) {\n updateCollectorProfile(input: $input) {\n intents\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "CollectorIntentUpdateCollectorProfileMutation", + "operationKind": "mutation", + "text": "mutation CollectorIntentUpdateCollectorProfileMutation(\n $input: UpdateCollectorProfileInput!\n) {\n updateCollectorProfile(input: $input) {\n intents\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ConfirmBidCreateBidderPositionMutation.graphql.ts b/src/v2/__generated__/ConfirmBidCreateBidderPositionMutation.graphql.ts index d68f10a91b2..04245a3de15 100644 --- a/src/v2/__generated__/ConfirmBidCreateBidderPositionMutation.graphql.ts +++ b/src/v2/__generated__/ConfirmBidCreateBidderPositionMutation.graphql.ts @@ -1,11 +1,12 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type BidderPositionInput = { - readonly artworkID: string; - readonly clientMutationId?: string | null; - readonly maxBidAmountCents: number; - readonly saleID: string; + artworkID: string; + clientMutationId?: string | null; + maxBidAmountCents: number; + saleID: string; }; export type ConfirmBidCreateBidderPositionMutationVariables = { input: BidderPositionInput; @@ -67,10 +68,10 @@ mutation ConfirmBidCreateBidderPositionMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "BidderPositionInput!", - "defaultValue": null + "type": "BidderPositionInput!" } ], v1 = [ @@ -81,210 +82,210 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "qualifiedForBidding", "args": null, + "kind": "ScalarField", + "name": "qualifiedForBidding", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "messageHeader", "args": null, + "kind": "ScalarField", + "name": "messageHeader", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ConfirmBidCreateBidderPositionMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ConfirmBidCreateBidderPositionMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createBidderPosition", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "BidderPositionPayload", + "kind": "LinkedField", + "name": "createBidderPosition", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "result", - "storageKey": null, "args": null, "concreteType": "BidderPositionResult", + "kind": "LinkedField", + "name": "result", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "position", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "position", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ConfirmBidCreateBidderPositionMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createBidderPosition", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "BidderPositionPayload", + "kind": "LinkedField", + "name": "createBidderPosition", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "result", - "storageKey": null, "args": null, "concreteType": "BidderPositionResult", + "kind": "LinkedField", + "name": "result", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "position", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "position", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null }, (v4/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "ConfirmBidCreateBidderPositionMutation", "id": null, - "text": "mutation ConfirmBidCreateBidderPositionMutation(\n $input: BidderPositionInput!\n) {\n createBidderPosition(input: $input) {\n result {\n position {\n internalID\n saleArtwork {\n sale {\n registrationStatus {\n internalID\n qualifiedForBidding\n id\n }\n id\n }\n id\n }\n id\n }\n status\n messageHeader\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ConfirmBidCreateBidderPositionMutation", + "operationKind": "mutation", + "text": "mutation ConfirmBidCreateBidderPositionMutation(\n $input: BidderPositionInput!\n) {\n createBidderPosition(input: $input) {\n result {\n position {\n internalID\n saleArtwork {\n sale {\n registrationStatus {\n internalID\n qualifiedForBidding\n id\n }\n id\n }\n id\n }\n id\n }\n status\n messageHeader\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ConfirmBidValidTestQuery.graphql.ts b/src/v2/__generated__/ConfirmBidValidTestQuery.graphql.ts index 77d35a2a2bf..520277365f0 100644 --- a/src/v2/__generated__/ConfirmBidValidTestQuery.graphql.ts +++ b/src/v2/__generated__/ConfirmBidValidTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -180,17 +181,17 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v3 = [ @@ -201,263 +202,258 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "qualifiedForBidding", "args": null, + "kind": "ScalarField", + "name": "qualifiedForBidding", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "isRegistrationClosed", "args": null, + "kind": "ScalarField", + "name": "isRegistrationClosed", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "hasQualifiedCreditCards", "args": null, + "kind": "ScalarField", + "name": "hasQualifiedCreditCards", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "cents", "args": null, + "kind": "ScalarField", + "name": "cents", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ConfirmBidValidTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ConfirmBidValidTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"artwork-id\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v1/*: any*/), (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "saleArtwork", - "storageKey": "saleArtwork(saleID:\"example-auction-id\")", "args": (v3/*: any*/), "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ (v1/*: any*/), (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ (v1/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null }, (v1/*: any*/), (v2/*: any*/), (v5/*: any*/), (v6/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "LotInfo_saleArtwork", - "args": null + "name": "LotInfo_saleArtwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "BidForm_saleArtwork", - "args": null + "name": "BidForm_saleArtwork" } - ] + ], + "storageKey": "saleArtwork(saleID:\"example-auction-id\")" }, { + "args": null, "kind": "FragmentSpread", - "name": "LotInfo_artwork", - "args": null + "name": "LotInfo_artwork" } - ] + ], + "storageKey": "artwork(id:\"artwork-id\")" }, { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v1/*: any*/), (v8/*: any*/), { + "args": null, "kind": "FragmentSpread", - "name": "ConfirmBid_me", - "args": null + "name": "ConfirmBid_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ConfirmBidValidTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"artwork-id\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageUrl", "args": null, + "kind": "ScalarField", + "name": "imageUrl", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "saleArtwork", - "storageKey": "saleArtwork(saleID:\"example-auction-id\")", "args": (v3/*: any*/), "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lotLabel", "args": null, + "kind": "ScalarField", + "name": "lotLabel", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "minimumNextBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkMinimumNextBid", + "kind": "LinkedField", + "name": "minimumNextBid", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": null, + "kind": "ScalarField", + "name": "amount", "storageKey": null }, (v9/*: any*/), (v10/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "increments", - "storageKey": "increments(useMyMaxBid:true)", "args": [ { "kind": "Literal", @@ -466,73 +462,78 @@ return { } ], "concreteType": "BidIncrementsFormatted", + "kind": "LinkedField", + "name": "increments", "plural": true, "selections": [ (v9/*: any*/), (v10/*: any*/) - ] + ], + "storageKey": "increments(useMyMaxBid:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ (v4/*: any*/), (v11/*: any*/), (v1/*: any*/) - ] + ], + "storageKey": null }, (v11/*: any*/), (v1/*: any*/), (v5/*: any*/), (v6/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": null }, (v1/*: any*/), (v2/*: any*/), (v11/*: any*/) - ] + ], + "storageKey": "saleArtwork(saleID:\"example-auction-id\")" }, (v11/*: any*/) - ] + ], + "storageKey": "artwork(id:\"artwork-id\")" }, { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v1/*: any*/), (v8/*: any*/), (v11/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ConfirmBidValidTestQuery", "id": null, - "text": "query ConfirmBidValidTestQuery {\n artwork(id: \"artwork-id\") {\n ...LotInfo_artwork\n internalID\n slug\n saleArtwork(saleID: \"example-auction-id\") {\n ...LotInfo_saleArtwork\n ...BidForm_saleArtwork\n internalID\n slug\n sale {\n registrationStatus {\n internalID\n qualifiedForBidding\n id\n }\n internalID\n slug\n name\n isClosed\n isRegistrationClosed\n id\n }\n id\n }\n id\n }\n me {\n internalID\n hasQualifiedCreditCards\n ...ConfirmBid_me\n id\n }\n}\n\nfragment BidForm_me on Me {\n hasQualifiedCreditCards\n}\n\nfragment BidForm_saleArtwork on SaleArtwork {\n minimumNextBid {\n cents\n }\n increments(useMyMaxBid: true) {\n cents\n display\n }\n sale {\n slug\n registrationStatus {\n qualifiedForBidding\n id\n }\n id\n }\n}\n\nfragment ConfirmBid_me on Me {\n internalID\n hasQualifiedCreditCards\n ...BidForm_me\n}\n\nfragment LotInfo_artwork on Artwork {\n internalID\n date\n title\n imageUrl\n artistNames\n}\n\nfragment LotInfo_saleArtwork on SaleArtwork {\n counts {\n bidderPositions\n }\n lotLabel\n minimumNextBid {\n amount\n cents\n display\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ConfirmBidValidTestQuery", + "operationKind": "query", + "text": "query ConfirmBidValidTestQuery {\n artwork(id: \"artwork-id\") {\n ...LotInfo_artwork\n internalID\n slug\n saleArtwork(saleID: \"example-auction-id\") {\n ...LotInfo_saleArtwork\n ...BidForm_saleArtwork\n internalID\n slug\n sale {\n registrationStatus {\n internalID\n qualifiedForBidding\n id\n }\n internalID\n slug\n name\n isClosed\n isRegistrationClosed\n id\n }\n id\n }\n id\n }\n me {\n internalID\n hasQualifiedCreditCards\n ...ConfirmBid_me\n id\n }\n}\n\nfragment BidForm_me on Me {\n hasQualifiedCreditCards\n}\n\nfragment BidForm_saleArtwork on SaleArtwork {\n minimumNextBid {\n cents\n }\n increments(useMyMaxBid: true) {\n cents\n display\n }\n sale {\n slug\n registrationStatus {\n qualifiedForBidding\n id\n }\n id\n }\n}\n\nfragment ConfirmBid_me on Me {\n internalID\n hasQualifiedCreditCards\n ...BidForm_me\n}\n\nfragment LotInfo_artwork on Artwork {\n internalID\n date\n title\n imageUrl\n artistNames\n}\n\nfragment LotInfo_saleArtwork on SaleArtwork {\n counts {\n bidderPositions\n }\n lotLabel\n minimumNextBid {\n amount\n cents\n display\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ConfirmBid_me.graphql.ts b/src/v2/__generated__/ConfirmBid_me.graphql.ts index 38eb8a289bf..1fb39c4a57c 100644 --- a/src/v2/__generated__/ConfirmBid_me.graphql.ts +++ b/src/v2/__generated__/ConfirmBid_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -17,32 +18,32 @@ export type ConfirmBid_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ConfirmBid_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "ConfirmBid_me", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasQualifiedCreditCards", "args": null, + "kind": "ScalarField", + "name": "hasQualifiedCreditCards", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "BidForm_me", - "args": null + "name": "BidForm_me" } - ] + ], + "type": "Me" }; (node as any).hash = 'bb8ac1b1d0c2ddcd9f84e73755eb4a7e'; export default node; diff --git a/src/v2/__generated__/ConsignRoute_Test_Query.graphql.ts b/src/v2/__generated__/ConsignRoute_Test_Query.graphql.ts index b0fe2c3cc12..e13e0324e9c 100644 --- a/src/v2/__generated__/ConsignRoute_Test_Query.graphql.ts +++ b/src/v2/__generated__/ConsignRoute_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -332,10 +333,10 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -346,45 +347,45 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "isInMicrofunnel", "args": null, + "kind": "ScalarField", + "name": "isInMicrofunnel", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v8 = [ @@ -396,117 +397,109 @@ v8 = [ ], v9 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ConsignRoute_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ConsignRoute_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "targetSupply", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupply", + "kind": "LinkedField", + "name": "targetSupply", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Consign_artist", - "args": null + "name": "Consign_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ConsignRoute_Test_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "targetSupply", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupply", + "kind": "LinkedField", + "name": "targetSupply", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "microfunnel", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupplyMicrofunnel", + "kind": "LinkedField", + "name": "microfunnel", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artworks", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupplyMicrofunnelArtwork", + "kind": "LinkedField", + "name": "artworks", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "imageURL", - "name": "url", "args": [ { "kind": "Literal", @@ -514,13 +507,12 @@ return { "value": "medium" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"medium\")" }, { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:395)", "args": [ { "kind": "Literal", @@ -529,23 +521,24 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ (v5/*: any*/), (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(height:395)" }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -553,317 +546,325 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, (v5/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v8/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v7/*: any*/), (v4/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v8/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), (v7/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "realizedPrice", "args": null, + "kind": "ScalarField", + "name": "realizedPrice", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "metadata", - "storageKey": null, "args": null, "concreteType": "TargetSupplyMicrofunnelMetadata", + "kind": "LinkedField", + "name": "metadata", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "roundedViews", "args": null, + "kind": "ScalarField", + "name": "roundedViews", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "roundedUniqueVisitors", "args": null, + "kind": "ScalarField", + "name": "roundedUniqueVisitors", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "highestRealized", "args": null, + "kind": "ScalarField", + "name": "highestRealized", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "str", "args": null, + "kind": "ScalarField", + "name": "str", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "realized", "args": null, + "kind": "ScalarField", + "name": "realized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ConsignRoute_Test_Query", "id": null, - "text": "query ConsignRoute_Test_Query(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...Consign_artist\n targetSupply {\n isInMicrofunnel\n }\n id\n }\n}\n\nfragment ArtistConsignFAQ_artist on Artist {\n href\n}\n\nfragment ArtistConsignHeaderImages_artist on Artist {\n targetSupply {\n microfunnel {\n artworks {\n artwork {\n image {\n resized(height: 395) {\n width\n height\n url\n }\n }\n ...FillwidthItem_artwork\n id\n }\n }\n }\n }\n}\n\nfragment ArtistConsignHeader_artist on Artist {\n ...ArtistConsignHeaderImages_artist\n name\n href\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 artworks {\n artwork {\n image {\n imageURL: url(version: \"medium\")\n }\n id\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 targetSupply {\n microfunnel {\n artworks {\n artwork {\n image {\n aspectRatio\n width\n height\n }\n ...FillwidthItem_artwork\n id\n }\n realizedPrice\n }\n }\n }\n name\n}\n\nfragment ArtistConsignSellArt_artist on Artist {\n href\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Consign_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 Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ConsignRoute_Test_Query", + "operationKind": "query", + "text": "query ConsignRoute_Test_Query(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...Consign_artist\n targetSupply {\n isInMicrofunnel\n }\n id\n }\n}\n\nfragment ArtistConsignFAQ_artist on Artist {\n href\n}\n\nfragment ArtistConsignHeaderImages_artist on Artist {\n targetSupply {\n microfunnel {\n artworks {\n artwork {\n image {\n resized(height: 395) {\n width\n height\n url\n }\n }\n ...FillwidthItem_artwork\n id\n }\n }\n }\n }\n}\n\nfragment ArtistConsignHeader_artist on Artist {\n ...ArtistConsignHeaderImages_artist\n name\n href\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 artworks {\n artwork {\n image {\n imageURL: url(version: \"medium\")\n }\n id\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 targetSupply {\n microfunnel {\n artworks {\n artwork {\n image {\n aspectRatio\n width\n height\n }\n ...FillwidthItem_artwork\n id\n }\n realizedPrice\n }\n }\n }\n name\n}\n\nfragment ArtistConsignSellArt_artist on Artist {\n href\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Consign_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 Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/Consign_artist.graphql.ts b/src/v2/__generated__/Consign_artist.graphql.ts index c46a256f6f5..2a11d3914d1 100644 --- a/src/v2/__generated__/Consign_artist.graphql.ts +++ b/src/v2/__generated__/Consign_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,53 +16,53 @@ export type Consign_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Consign_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "Consign_artist", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistConsignMeta_artist", - "args": null + "name": "ArtistConsignMeta_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistConsignHeader_artist", - "args": null + "name": "ArtistConsignHeader_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistConsignRecentlySold_artist", - "args": null + "name": "ArtistConsignRecentlySold_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistConsignPageViews_artist", - "args": null + "name": "ArtistConsignPageViews_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistConsignMarketTrends_artist", - "args": null + "name": "ArtistConsignMarketTrends_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistConsignHowToSell_artist", - "args": null + "name": "ArtistConsignHowToSell_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistConsignFAQ_artist", - "args": null + "name": "ArtistConsignFAQ_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistConsignSellArt_artist", - "args": null + "name": "ArtistConsignSellArt_artist" } - ] + ], + "type": "Artist" }; (node as any).hash = '9f723d20ef4f7c755733a715e40e129d'; export default node; diff --git a/src/v2/__generated__/Contact_artwork.graphql.ts b/src/v2/__generated__/Contact_artwork.graphql.ts index fb4779ac4ae..16d6797107d 100644 --- a/src/v2/__generated__/Contact_artwork.graphql.ts +++ b/src/v2/__generated__/Contact_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -38,78 +39,74 @@ export type Contact_artwork$key = { const node: ReaderFragment = (function(){ var v0 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Contact_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "Contact_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": [ { "kind": "Literal", @@ -118,67 +115,71 @@ return { } ], "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = '9f34c3389ae10d7ea1db682424201582'; diff --git a/src/v2/__generated__/ConversationAppTestQuery.graphql.ts b/src/v2/__generated__/ConversationAppTestQuery.graphql.ts index be89c794dd5..885a26dee76 100644 --- a/src/v2/__generated__/ConversationAppTestQuery.graphql.ts +++ b/src/v2/__generated__/ConversationAppTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -168,17 +169,17 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = [ @@ -186,307 +187,307 @@ v3 = [ (v2/*: any*/) ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v5 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ConversationAppTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ConversationAppTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ConversationApp_me", - "args": null + "name": "ConversationApp_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ConversationAppTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "conversationsConnection", - "storageKey": "conversationsConnection(first:25)", "args": (v0/*: any*/), "concreteType": "ConversationConnection", + "kind": "LinkedField", + "name": "conversationsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ConversationEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Conversation", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "to", - "storageKey": null, "args": null, "concreteType": "ConversationResponder", + "kind": "LinkedField", + "name": "to", "plural": false, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "lastMessage", "args": null, + "kind": "ScalarField", + "name": "lastMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastMessageAt", "args": null, + "kind": "ScalarField", + "name": "lastMessageAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "unread", "args": null, + "kind": "ScalarField", + "name": "unread", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "items", - "storageKey": null, "args": null, "concreteType": "ConversationItem", + "kind": "LinkedField", + "name": "items", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "item", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "item", "plural": false, "selections": [ (v4/*: any*/), (v2/*: any*/), { "kind": "InlineFragment", - "type": "Artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null } - ] + ], + "type": "Artwork" }, { "kind": "InlineFragment", - "type": "Show", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "fair", - "storageKey": null, "args": null, "concreteType": "Fair", + "kind": "LinkedField", + "name": "fair", "plural": false, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": null }, (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null } - ] + ], + "type": "Show" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "messagesConnection", - "storageKey": null, "args": null, "concreteType": "MessageConnection", + "kind": "LinkedField", + "name": "messagesConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasPreviousPage", "args": null, + "kind": "ScalarField", + "name": "hasPreviousPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "startCursor", "args": null, + "kind": "ScalarField", + "name": "startCursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "conversationsConnection(first:25)" }, { - "kind": "LinkedHandle", "alias": null, - "name": "conversationsConnection", "args": (v0/*: any*/), + "filters": null, "handle": "connection", "key": "Conversations_conversationsConnection", - "filters": null + "kind": "LinkedHandle", + "name": "conversationsConnection" }, (v2/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ConversationAppTestQuery", "id": null, - "text": "query ConversationAppTestQuery {\n me {\n ...ConversationApp_me\n id\n }\n}\n\nfragment ConversationApp_me on Me {\n conversationsConnection(first: 25) {\n edges {\n node {\n internalID\n to {\n name\n id\n }\n id\n }\n }\n }\n ...Conversations_me\n}\n\nfragment ConversationSnippet_conversation on Conversation {\n internalID\n to {\n name\n id\n }\n lastMessage\n lastMessageAt\n unread\n items {\n item {\n __typename\n ... on Artwork {\n date\n title\n artistNames\n image {\n url\n }\n }\n ... on Show {\n fair {\n name\n id\n }\n name\n coverImage {\n url\n }\n }\n ... on Node {\n id\n }\n }\n }\n messagesConnection {\n totalCount\n }\n}\n\nfragment Conversations_me on Me {\n conversationsConnection(first: 25) {\n edges {\n cursor\n node {\n id\n internalID\n lastMessage\n ...ConversationSnippet_conversation\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ConversationAppTestQuery", + "operationKind": "query", + "text": "query ConversationAppTestQuery {\n me {\n ...ConversationApp_me\n id\n }\n}\n\nfragment ConversationApp_me on Me {\n conversationsConnection(first: 25) {\n edges {\n node {\n internalID\n to {\n name\n id\n }\n id\n }\n }\n }\n ...Conversations_me\n}\n\nfragment ConversationSnippet_conversation on Conversation {\n internalID\n to {\n name\n id\n }\n lastMessage\n lastMessageAt\n unread\n items {\n item {\n __typename\n ... on Artwork {\n date\n title\n artistNames\n image {\n url\n }\n }\n ... on Show {\n fair {\n name\n id\n }\n name\n coverImage {\n url\n }\n }\n ... on Node {\n id\n }\n }\n }\n messagesConnection {\n totalCount\n }\n}\n\nfragment Conversations_me on Me {\n conversationsConnection(first: 25) {\n edges {\n cursor\n node {\n id\n internalID\n lastMessage\n ...ConversationSnippet_conversation\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ConversationApp_me.graphql.ts b/src/v2/__generated__/ConversationApp_me.graphql.ts index 5b6d3db981f..99ad25994de 100644 --- a/src/v2/__generated__/ConversationApp_me.graphql.ts +++ b/src/v2/__generated__/ConversationApp_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -25,42 +26,38 @@ export type ConversationApp_me$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "ConversationApp_me", - "type": "Me", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": 25, "kind": "LocalArgument", "name": "first", - "type": "Int", - "defaultValue": 25 + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "last", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "before", - "type": "String", - "defaultValue": null + "type": "String" } ], + "kind": "Fragment", + "metadata": null, + "name": "ConversationApp_me", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "conversationsConnection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -84,63 +81,67 @@ const node: ReaderFragment = { } ], "concreteType": "ConversationConnection", + "kind": "LinkedField", + "name": "conversationsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ConversationEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Conversation", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "to", - "storageKey": null, "args": null, "concreteType": "ConversationResponder", + "kind": "LinkedField", + "name": "to", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Conversations_me", - "args": null + "name": "Conversations_me" } - ] + ], + "type": "Me" }; (node as any).hash = '0576ce0ca5c4e87d01fa4b031b061fac'; export default node; diff --git a/src/v2/__generated__/ConversationPageQuery.graphql.ts b/src/v2/__generated__/ConversationPageQuery.graphql.ts index 69f331792b0..eec3a089c2a 100644 --- a/src/v2/__generated__/ConversationPageQuery.graphql.ts +++ b/src/v2/__generated__/ConversationPageQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -322,10 +323,10 @@ fragment Metadata_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "conversationID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -336,31 +337,31 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v6 = [ @@ -368,92 +369,92 @@ v6 = [ (v3/*: any*/) ], v7 = { - "kind": "ScalarField", "alias": null, - "name": "unread", "args": null, + "kind": "ScalarField", + "name": "unread", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, v12 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ], v13 = { - "kind": "LinkedField", "alias": null, - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, - "selections": (v12/*: any*/) + "selections": (v12/*: any*/), + "storageKey": null }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, v16 = { - "kind": "ScalarField", "alias": null, - "name": "hasPreviousPage", "args": null, + "kind": "ScalarField", + "name": "hasPreviousPage", "storageKey": null }, v17 = { - "kind": "ScalarField", "alias": null, - "name": "startCursor", "args": null, + "kind": "ScalarField", + "name": "startCursor", "storageKey": null }, v18 = { - "kind": "ScalarField", "alias": null, - "name": "email", "args": null, + "kind": "ScalarField", + "name": "email", "storageKey": null }, v19 = [ @@ -469,16 +470,14 @@ v19 = [ } ], v20 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v21 = { - "kind": "ScalarField", "alias": "thumbnailUrl", - "name": "url", "args": [ { "kind": "Literal", @@ -486,14 +485,16 @@ v21 = { "value": "small" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"small\")" }, v22 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], @@ -505,222 +506,218 @@ v23 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ConversationPageQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ConversationPageQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "Conversation_me", "args": [ { "kind": "Variable", "name": "conversationID", "variableName": "conversationID" } - ] + ], + "kind": "FragmentSpread", + "name": "Conversation_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ConversationPageQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "conversationsConnection", - "storageKey": "conversationsConnection(first:25)", "args": (v1/*: any*/), "concreteType": "ConversationConnection", + "kind": "LinkedField", + "name": "conversationsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ConversationEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Conversation", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "lastMessage", "args": null, + "kind": "ScalarField", + "name": "lastMessage", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "to", - "storageKey": null, "args": null, "concreteType": "ConversationResponder", + "kind": "LinkedField", + "name": "to", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastMessageAt", "args": null, + "kind": "ScalarField", + "name": "lastMessageAt", "storageKey": null }, (v7/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "items", - "storageKey": null, "args": null, "concreteType": "ConversationItem", + "kind": "LinkedField", + "name": "items", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "item", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "item", "plural": false, "selections": [ (v8/*: any*/), (v3/*: any*/), { "kind": "InlineFragment", - "type": "Artwork", "selections": [ (v9/*: any*/), (v10/*: any*/), (v11/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, - "selections": (v12/*: any*/) + "selections": (v12/*: any*/), + "storageKey": null } - ] + ], + "type": "Artwork" }, { "kind": "InlineFragment", - "type": "Show", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "fair", - "storageKey": null, "args": null, "concreteType": "Fair", + "kind": "LinkedField", + "name": "fair", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, (v5/*: any*/), (v13/*: any*/) - ] + ], + "type": "Show" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "messagesConnection", - "storageKey": null, "args": null, "concreteType": "MessageConnection", + "kind": "LinkedField", + "name": "messagesConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null } - ] + ], + "storageKey": null }, (v8/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ (v14/*: any*/), (v15/*: any*/), (v16/*: any*/), (v17/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "conversationsConnection(first:25)" }, { - "kind": "LinkedHandle", "alias": null, - "name": "conversationsConnection", "args": (v1/*: any*/), + "filters": null, "handle": "connection", "key": "Conversations_conversationsConnection", - "filters": null + "kind": "LinkedHandle", + "name": "conversationsConnection" }, { - "kind": "LinkedField", "alias": null, - "name": "conversation", - "storageKey": null, "args": [ { "kind": "Variable", @@ -729,228 +726,224 @@ return { } ], "concreteType": "Conversation", + "kind": "LinkedField", + "name": "conversation", "plural": false, "selections": [ (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "to", - "storageKey": null, "args": null, "concreteType": "ConversationResponder", + "kind": "LinkedField", + "name": "to", "plural": false, "selections": [ (v5/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "initials", "args": null, + "kind": "ScalarField", + "name": "initials", "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "from", - "storageKey": null, "args": null, "concreteType": "ConversationInitiator", + "kind": "LinkedField", + "name": "from", "plural": false, "selections": [ (v5/*: any*/), (v18/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "initialMessage", "args": null, + "kind": "ScalarField", + "name": "initialMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastMessageID", "args": null, + "kind": "ScalarField", + "name": "lastMessageID", "storageKey": null }, (v7/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "messagesConnection", - "storageKey": "messagesConnection(first:30,sort:\"DESC\")", "args": (v19/*: any*/), "concreteType": "MessageConnection", + "kind": "LinkedField", + "name": "messagesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ (v17/*: any*/), (v14/*: any*/), (v16/*: any*/), (v15/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "MessageEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Message", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isFromUser", "args": null, + "kind": "ScalarField", + "name": "isFromUser", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "body", "args": null, + "kind": "ScalarField", + "name": "body", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "from", - "storageKey": null, "args": null, "concreteType": "MessageInitiator", + "kind": "LinkedField", + "name": "from", "plural": false, "selections": [ (v5/*: any*/), (v18/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "attachments", - "storageKey": null, "args": null, "concreteType": "Attachment", + "kind": "LinkedField", + "name": "attachments", "plural": true, "selections": [ (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "contentType", "args": null, + "kind": "ScalarField", + "name": "contentType", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fileName", "args": null, + "kind": "ScalarField", + "name": "fileName", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "downloadURL", "args": null, + "kind": "ScalarField", + "name": "downloadURL", "storageKey": null } - ] + ], + "storageKey": null }, (v8/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "messagesConnection(first:30,sort:\"DESC\")" }, { - "kind": "LinkedHandle", "alias": null, - "name": "messagesConnection", "args": (v19/*: any*/), + "filters": [], "handle": "connection", "key": "Messages_messagesConnection", - "filters": [] + "kind": "LinkedHandle", + "name": "messagesConnection" }, { - "kind": "LinkedField", "alias": null, - "name": "items", - "storageKey": null, "args": null, "concreteType": "ConversationItem", + "kind": "LinkedField", + "name": "items", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "item", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "item", "plural": false, "selections": [ (v8/*: any*/), (v3/*: any*/), { "kind": "InlineFragment", - "type": "Artwork", "selections": [ (v9/*: any*/), (v10/*: any*/), (v11/*: any*/), (v20/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -960,265 +953,273 @@ return { ] } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:[\"large\"])" }, (v21/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ (v8/*: any*/), { "kind": "InlineFragment", - "type": "Money", - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "type": "Money" }, { "kind": "InlineFragment", - "type": "PriceRange", - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "type": "PriceRange" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v23/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v3/*: any*/), (v20/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v23/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v5/*: any*/), (v20/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null } - ] + ], + "type": "Artwork" }, { "kind": "InlineFragment", - "type": "Show", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "fair", - "storageKey": null, "args": null, "concreteType": "Fair", + "kind": "LinkedField", + "name": "fair", "plural": false, "selections": [ (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "exhibitionPeriod", "args": null, + "kind": "ScalarField", + "name": "exhibitionPeriod", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "location", - "storageKey": null, "args": null, "concreteType": "Location", + "kind": "LinkedField", + "name": "location", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, (v20/*: any*/), (v5/*: any*/), (v13/*: any*/), { - "kind": "LinkedField", "alias": "image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ (v21/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "Show" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ConversationPageQuery", "id": null, - "text": "query ConversationPageQuery(\n $conversationID: String!\n) {\n me {\n ...Conversation_me_3oGfhn\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment ConversationSnippet_conversation on Conversation {\n internalID\n to {\n name\n id\n }\n lastMessage\n lastMessageAt\n unread\n items {\n item {\n __typename\n ... on Artwork {\n date\n title\n artistNames\n image {\n url\n }\n }\n ... on Show {\n fair {\n name\n id\n }\n name\n coverImage {\n url\n }\n }\n ... on Node {\n id\n }\n }\n }\n messagesConnection {\n totalCount\n }\n}\n\nfragment Conversation_conversation on Conversation {\n id\n internalID\n from {\n name\n email\n id\n }\n to {\n name\n initials\n id\n }\n initialMessage\n lastMessageID\n unread\n messagesConnection(first: 30, sort: DESC) {\n pageInfo {\n startCursor\n endCursor\n hasPreviousPage\n hasNextPage\n }\n edges {\n node {\n id\n internalID\n createdAt\n isFromUser\n ...Message_message\n __typename\n }\n cursor\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n date\n title\n artistNames\n href\n image {\n url(version: [\"large\"])\n }\n listPrice {\n __typename\n ... on Money {\n display\n }\n ... on PriceRange {\n display\n }\n }\n }\n ... on Show {\n id\n fair {\n name\n exhibitionPeriod\n location {\n city\n id\n }\n id\n }\n href\n name\n coverImage {\n url\n }\n }\n ... on Node {\n id\n }\n }\n }\n}\n\nfragment Conversation_me_3oGfhn on Me {\n ...Conversations_me\n conversation(id: $conversationID) {\n internalID\n to {\n name\n id\n }\n ...Conversation_conversation\n ...Details_conversation\n id\n }\n}\n\nfragment Conversations_me on Me {\n conversationsConnection(first: 25) {\n edges {\n cursor\n node {\n id\n internalID\n lastMessage\n ...ConversationSnippet_conversation\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Details_conversation on Conversation {\n to {\n name\n initials\n id\n }\n messagesConnection(first: 30, sort: DESC) {\n edges {\n node {\n attachments {\n id\n contentType\n fileName\n downloadURL\n }\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n href\n ...Metadata_artwork\n image {\n thumbnailUrl: url(version: \"small\")\n }\n }\n ... on Show {\n href\n image: coverImage {\n thumbnailUrl: url(version: \"small\")\n }\n }\n ... on Node {\n id\n }\n }\n }\n}\n\nfragment Message_message on Message {\n internalID\n body\n createdAt\n isFromUser\n from {\n name\n email\n }\n attachments {\n id\n contentType\n fileName\n downloadURL\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n", - "metadata": {} + "metadata": {}, + "name": "ConversationPageQuery", + "operationKind": "query", + "text": "query ConversationPageQuery(\n $conversationID: String!\n) {\n me {\n ...Conversation_me_3oGfhn\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment ConversationSnippet_conversation on Conversation {\n internalID\n to {\n name\n id\n }\n lastMessage\n lastMessageAt\n unread\n items {\n item {\n __typename\n ... on Artwork {\n date\n title\n artistNames\n image {\n url\n }\n }\n ... on Show {\n fair {\n name\n id\n }\n name\n coverImage {\n url\n }\n }\n ... on Node {\n id\n }\n }\n }\n messagesConnection {\n totalCount\n }\n}\n\nfragment Conversation_conversation on Conversation {\n id\n internalID\n from {\n name\n email\n id\n }\n to {\n name\n initials\n id\n }\n initialMessage\n lastMessageID\n unread\n messagesConnection(first: 30, sort: DESC) {\n pageInfo {\n startCursor\n endCursor\n hasPreviousPage\n hasNextPage\n }\n edges {\n node {\n id\n internalID\n createdAt\n isFromUser\n ...Message_message\n __typename\n }\n cursor\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n date\n title\n artistNames\n href\n image {\n url(version: [\"large\"])\n }\n listPrice {\n __typename\n ... on Money {\n display\n }\n ... on PriceRange {\n display\n }\n }\n }\n ... on Show {\n id\n fair {\n name\n exhibitionPeriod\n location {\n city\n id\n }\n id\n }\n href\n name\n coverImage {\n url\n }\n }\n ... on Node {\n id\n }\n }\n }\n}\n\nfragment Conversation_me_3oGfhn on Me {\n ...Conversations_me\n conversation(id: $conversationID) {\n internalID\n to {\n name\n id\n }\n ...Conversation_conversation\n ...Details_conversation\n id\n }\n}\n\nfragment Conversations_me on Me {\n conversationsConnection(first: 25) {\n edges {\n cursor\n node {\n id\n internalID\n lastMessage\n ...ConversationSnippet_conversation\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Details_conversation on Conversation {\n to {\n name\n initials\n id\n }\n messagesConnection(first: 30, sort: DESC) {\n edges {\n node {\n attachments {\n id\n contentType\n fileName\n downloadURL\n }\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n href\n ...Metadata_artwork\n image {\n thumbnailUrl: url(version: \"small\")\n }\n }\n ... on Show {\n href\n image: coverImage {\n thumbnailUrl: url(version: \"small\")\n }\n }\n ... on Node {\n id\n }\n }\n }\n}\n\nfragment Message_message on Message {\n internalID\n body\n createdAt\n isFromUser\n from {\n name\n email\n }\n attachments {\n id\n contentType\n fileName\n downloadURL\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n" } }; })(); diff --git a/src/v2/__generated__/ConversationPaginationQuery.graphql.ts b/src/v2/__generated__/ConversationPaginationQuery.graphql.ts index 05898ebbe21..b16192225af 100644 --- a/src/v2/__generated__/ConversationPaginationQuery.graphql.ts +++ b/src/v2/__generated__/ConversationPaginationQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -134,22 +135,22 @@ fragment Message_message on Message { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "count", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "conversationID", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -165,38 +166,38 @@ v2 = { "variableName": "after" }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "email", "args": null, + "kind": "ScalarField", + "name": "email", "storageKey": null }, v8 = [ @@ -213,42 +214,37 @@ v8 = [ } ], v9 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v10 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ConversationPaginationQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ConversationPaginationQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "Conversation_conversation", "args": [ (v2/*: any*/), { @@ -256,305 +252,302 @@ return { "name": "count", "variableName": "count" } - ] + ], + "kind": "FragmentSpread", + "name": "Conversation_conversation" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ConversationPaginationQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), { "kind": "InlineFragment", - "type": "Conversation", "selections": [ (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "from", - "storageKey": null, "args": null, "concreteType": "ConversationInitiator", + "kind": "LinkedField", + "name": "from", "plural": false, "selections": [ (v6/*: any*/), (v7/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "to", - "storageKey": null, "args": null, "concreteType": "ConversationResponder", + "kind": "LinkedField", + "name": "to", "plural": false, "selections": [ (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "initials", "args": null, + "kind": "ScalarField", + "name": "initials", "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "initialMessage", "args": null, + "kind": "ScalarField", + "name": "initialMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastMessageID", "args": null, + "kind": "ScalarField", + "name": "lastMessageID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "unread", "args": null, + "kind": "ScalarField", + "name": "unread", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "messagesConnection", - "storageKey": null, "args": (v8/*: any*/), "concreteType": "MessageConnection", + "kind": "LinkedField", + "name": "messagesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "startCursor", "args": null, + "kind": "ScalarField", + "name": "startCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasPreviousPage", "args": null, + "kind": "ScalarField", + "name": "hasPreviousPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "MessageEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Message", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isFromUser", "args": null, + "kind": "ScalarField", + "name": "isFromUser", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "body", "args": null, + "kind": "ScalarField", + "name": "body", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "from", - "storageKey": null, "args": null, "concreteType": "MessageInitiator", + "kind": "LinkedField", + "name": "from", "plural": false, "selections": [ (v6/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "attachments", - "storageKey": null, "args": null, "concreteType": "Attachment", + "kind": "LinkedField", + "name": "attachments", "plural": true, "selections": [ (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "contentType", "args": null, + "kind": "ScalarField", + "name": "contentType", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fileName", "args": null, + "kind": "ScalarField", + "name": "fileName", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "downloadURL", "args": null, + "kind": "ScalarField", + "name": "downloadURL", "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": null, - "name": "messagesConnection", "args": (v8/*: any*/), + "filters": [], "handle": "connection", "key": "Messages_messagesConnection", - "filters": [] + "kind": "LinkedHandle", + "name": "messagesConnection" }, { - "kind": "LinkedField", "alias": null, - "name": "items", - "storageKey": null, "args": null, "concreteType": "ConversationItem", + "kind": "LinkedField", + "name": "items", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "item", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "item", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), { "kind": "InlineFragment", - "type": "Artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, (v9/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -564,115 +557,123 @@ return { ] } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:[\"large\"])" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ (v3/*: any*/), { "kind": "InlineFragment", - "type": "Money", - "selections": (v10/*: any*/) + "selections": (v10/*: any*/), + "type": "Money" }, { "kind": "InlineFragment", - "type": "PriceRange", - "selections": (v10/*: any*/) + "selections": (v10/*: any*/), + "type": "PriceRange" } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }, { "kind": "InlineFragment", - "type": "Show", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "fair", - "storageKey": null, "args": null, "concreteType": "Fair", + "kind": "LinkedField", + "name": "fair", "plural": false, "selections": [ (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "exhibitionPeriod", "args": null, + "kind": "ScalarField", + "name": "exhibitionPeriod", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "location", - "storageKey": null, "args": null, "concreteType": "Location", + "kind": "LinkedField", + "name": "location", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, (v9/*: any*/), (v6/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Show" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Conversation" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ConversationPaginationQuery", "id": null, - "text": "query ConversationPaginationQuery(\n $count: Int\n $after: String\n $conversationID: ID!\n) {\n node(id: $conversationID) {\n __typename\n ...Conversation_conversation_2QE1um\n id\n }\n}\n\nfragment Conversation_conversation_2QE1um on Conversation {\n id\n internalID\n from {\n name\n email\n id\n }\n to {\n name\n initials\n id\n }\n initialMessage\n lastMessageID\n unread\n messagesConnection(first: $count, after: $after, sort: DESC) {\n pageInfo {\n startCursor\n endCursor\n hasPreviousPage\n hasNextPage\n }\n edges {\n node {\n id\n internalID\n createdAt\n isFromUser\n ...Message_message\n __typename\n }\n cursor\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n date\n title\n artistNames\n href\n image {\n url(version: [\"large\"])\n }\n listPrice {\n __typename\n ... on Money {\n display\n }\n ... on PriceRange {\n display\n }\n }\n }\n ... on Show {\n id\n fair {\n name\n exhibitionPeriod\n location {\n city\n id\n }\n id\n }\n href\n name\n coverImage {\n url\n }\n }\n ... on Node {\n id\n }\n }\n }\n}\n\nfragment Message_message on Message {\n internalID\n body\n createdAt\n isFromUser\n from {\n name\n email\n }\n attachments {\n id\n contentType\n fileName\n downloadURL\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ConversationPaginationQuery", + "operationKind": "query", + "text": "query ConversationPaginationQuery(\n $count: Int\n $after: String\n $conversationID: ID!\n) {\n node(id: $conversationID) {\n __typename\n ...Conversation_conversation_2QE1um\n id\n }\n}\n\nfragment Conversation_conversation_2QE1um on Conversation {\n id\n internalID\n from {\n name\n email\n id\n }\n to {\n name\n initials\n id\n }\n initialMessage\n lastMessageID\n unread\n messagesConnection(first: $count, after: $after, sort: DESC) {\n pageInfo {\n startCursor\n endCursor\n hasPreviousPage\n hasNextPage\n }\n edges {\n node {\n id\n internalID\n createdAt\n isFromUser\n ...Message_message\n __typename\n }\n cursor\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n date\n title\n artistNames\n href\n image {\n url(version: [\"large\"])\n }\n listPrice {\n __typename\n ... on Money {\n display\n }\n ... on PriceRange {\n display\n }\n }\n }\n ... on Show {\n id\n fair {\n name\n exhibitionPeriod\n location {\n city\n id\n }\n id\n }\n href\n name\n coverImage {\n url\n }\n }\n ... on Node {\n id\n }\n }\n }\n}\n\nfragment Message_message on Message {\n internalID\n body\n createdAt\n isFromUser\n from {\n name\n email\n }\n attachments {\n id\n contentType\n fileName\n downloadURL\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ConversationSnippet_conversation.graphql.ts b/src/v2/__generated__/ConversationSnippet_conversation.graphql.ts index 8fececf8cef..4bf4d1c7fb6 100644 --- a/src/v2/__generated__/ConversationSnippet_conversation.graphql.ts +++ b/src/v2/__generated__/ConversationSnippet_conversation.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -49,10 +50,10 @@ export type ConversationSnippet_conversation$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v1 = [ @@ -60,170 +61,170 @@ v1 = [ ], v2 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ConversationSnippet_conversation", - "type": "Conversation", "metadata": null, - "argumentDefinitions": [], + "name": "ConversationSnippet_conversation", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "to", - "storageKey": null, "args": null, "concreteType": "ConversationResponder", + "kind": "LinkedField", + "name": "to", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastMessage", "args": null, + "kind": "ScalarField", + "name": "lastMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastMessageAt", "args": null, + "kind": "ScalarField", + "name": "lastMessageAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "unread", "args": null, + "kind": "ScalarField", + "name": "unread", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "items", - "storageKey": null, "args": null, "concreteType": "ConversationItem", + "kind": "LinkedField", + "name": "items", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "item", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "item", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "Artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null } - ] + ], + "type": "Artwork" }, { "kind": "InlineFragment", - "type": "Show", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "fair", - "storageKey": null, "args": null, "concreteType": "Fair", + "kind": "LinkedField", + "name": "fair", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null }, (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null } - ] + ], + "type": "Show" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "messagesConnection", - "storageKey": null, "args": null, "concreteType": "MessageConnection", + "kind": "LinkedField", + "name": "messagesConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Conversation" }; })(); (node as any).hash = '7c190393600756ef1792697f632a80cc'; diff --git a/src/v2/__generated__/Conversation_conversation.graphql.ts b/src/v2/__generated__/Conversation_conversation.graphql.ts index 1f65f6030a2..0c4673fef81 100644 --- a/src/v2/__generated__/Conversation_conversation.graphql.ts +++ b/src/v2/__generated__/Conversation_conversation.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -88,53 +89,65 @@ export type Conversation_conversation$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v5 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { + "argumentDefinitions": [ + { + "defaultValue": 30, + "kind": "LocalArgument", + "name": "count", + "type": "Int" + }, + { + "defaultValue": null, + "kind": "LocalArgument", + "name": "after", + "type": "String" + } + ], "kind": "Fragment", - "name": "Conversation_conversation", - "type": "Conversation", "metadata": { "connection": [ { @@ -147,242 +160,223 @@ return { } ] }, - "argumentDefinitions": [ - { - "kind": "LocalArgument", - "name": "count", - "type": "Int", - "defaultValue": 30 - }, - { - "kind": "LocalArgument", - "name": "after", - "type": "String", - "defaultValue": null - } - ], + "name": "Conversation_conversation", "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "from", - "storageKey": null, "args": null, "concreteType": "ConversationInitiator", + "kind": "LinkedField", + "name": "from", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "email", "args": null, + "kind": "ScalarField", + "name": "email", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "to", - "storageKey": null, "args": null, "concreteType": "ConversationResponder", + "kind": "LinkedField", + "name": "to", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "initials", "args": null, + "kind": "ScalarField", + "name": "initials", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "initialMessage", "args": null, + "kind": "ScalarField", + "name": "initialMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastMessageID", "args": null, + "kind": "ScalarField", + "name": "lastMessageID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "unread", "args": null, + "kind": "ScalarField", + "name": "unread", "storageKey": null }, { - "kind": "LinkedField", "alias": "messagesConnection", - "name": "__Messages_messagesConnection_connection", - "storageKey": null, "args": null, "concreteType": "MessageConnection", + "kind": "LinkedField", + "name": "__Messages_messagesConnection_connection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "startCursor", "args": null, + "kind": "ScalarField", + "name": "startCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasPreviousPage", "args": null, + "kind": "ScalarField", + "name": "hasPreviousPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "MessageEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Message", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isFromUser", "args": null, + "kind": "ScalarField", + "name": "isFromUser", "storageKey": null }, (v3/*: any*/), { + "args": null, "kind": "FragmentSpread", - "name": "Message_message", - "args": null + "name": "Message_message" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "items", - "storageKey": null, "args": null, "concreteType": "ConversationItem", + "kind": "LinkedField", + "name": "items", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "item", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "item", "plural": false, "selections": [ (v3/*: any*/), { "kind": "InlineFragment", - "type": "Artwork", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -392,103 +386,110 @@ return { ] } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:[\"large\"])" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ (v3/*: any*/), { "kind": "InlineFragment", - "type": "Money", - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "type": "Money" }, { "kind": "InlineFragment", - "type": "PriceRange", - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "type": "PriceRange" } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }, { "kind": "InlineFragment", - "type": "Show", "selections": [ (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "fair", - "storageKey": null, "args": null, "concreteType": "Fair", + "kind": "LinkedField", + "name": "fair", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "exhibitionPeriod", "args": null, + "kind": "ScalarField", + "name": "exhibitionPeriod", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "location", - "storageKey": null, "args": null, "concreteType": "Location", + "kind": "LinkedField", + "name": "location", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/), (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Show" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Conversation" }; })(); (node as any).hash = '16e46b2371551650adfb83bb45fb436d'; diff --git a/src/v2/__generated__/Conversation_me.graphql.ts b/src/v2/__generated__/Conversation_me.graphql.ts index 7d4a4cc9a40..4fab52e2534 100644 --- a/src/v2/__generated__/Conversation_me.graphql.ts +++ b/src/v2/__generated__/Conversation_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -22,24 +23,20 @@ export type Conversation_me$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "Conversation_me", - "type": "Me", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": null, "kind": "LocalArgument", "name": "conversationID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], + "kind": "Fragment", + "metadata": null, + "name": "Conversation_me", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "conversation", - "storageKey": null, "args": [ { "kind": "Variable", @@ -48,51 +45,55 @@ const node: ReaderFragment = { } ], "concreteType": "Conversation", + "kind": "LinkedField", + "name": "conversation", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "to", - "storageKey": null, "args": null, "concreteType": "ConversationResponder", + "kind": "LinkedField", + "name": "to", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Conversation_conversation", - "args": null + "name": "Conversation_conversation" }, { + "args": null, "kind": "FragmentSpread", - "name": "Details_conversation", - "args": null + "name": "Details_conversation" } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Conversations_me", - "args": null + "name": "Conversations_me" } - ] + ], + "type": "Me" }; (node as any).hash = 'a90b90a330544cae930dad6828652f3d'; export default node; diff --git a/src/v2/__generated__/ConversationsQuery.graphql.ts b/src/v2/__generated__/ConversationsQuery.graphql.ts index f2da897d8fb..7f9d4a42fb3 100644 --- a/src/v2/__generated__/ConversationsQuery.graphql.ts +++ b/src/v2/__generated__/ConversationsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -98,28 +99,28 @@ fragment Conversations_me_pbnwq on Me { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "first", - "type": "Int!", - "defaultValue": null + "type": "Int!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "last", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "before", - "type": "String", - "defaultValue": null + "type": "String" } ], v1 = [ @@ -145,17 +146,17 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v4 = [ @@ -163,307 +164,307 @@ v4 = [ (v2/*: any*/) ], v5 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v6 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ConversationsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ConversationsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": (v1/*: any*/), "kind": "FragmentSpread", - "name": "Conversations_me", - "args": (v1/*: any*/) + "name": "Conversations_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ConversationsQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "conversationsConnection", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ConversationConnection", + "kind": "LinkedField", + "name": "conversationsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ConversationEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Conversation", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastMessage", "args": null, + "kind": "ScalarField", + "name": "lastMessage", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "to", - "storageKey": null, "args": null, "concreteType": "ConversationResponder", + "kind": "LinkedField", + "name": "to", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastMessageAt", "args": null, + "kind": "ScalarField", + "name": "lastMessageAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "unread", "args": null, + "kind": "ScalarField", + "name": "unread", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "items", - "storageKey": null, "args": null, "concreteType": "ConversationItem", + "kind": "LinkedField", + "name": "items", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "item", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "item", "plural": false, "selections": [ (v5/*: any*/), (v2/*: any*/), { "kind": "InlineFragment", - "type": "Artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null } - ] + ], + "type": "Artwork" }, { "kind": "InlineFragment", - "type": "Show", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "fair", - "storageKey": null, "args": null, "concreteType": "Fair", + "kind": "LinkedField", + "name": "fair", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null } - ] + ], + "type": "Show" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "messagesConnection", - "storageKey": null, "args": null, "concreteType": "MessageConnection", + "kind": "LinkedField", + "name": "messagesConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null } - ] + ], + "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasPreviousPage", "args": null, + "kind": "ScalarField", + "name": "hasPreviousPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "startCursor", "args": null, + "kind": "ScalarField", + "name": "startCursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": null, - "name": "conversationsConnection", "args": (v1/*: any*/), + "filters": null, "handle": "connection", "key": "Conversations_conversationsConnection", - "filters": null + "kind": "LinkedHandle", + "name": "conversationsConnection" }, (v2/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ConversationsQuery", "id": null, - "text": "query ConversationsQuery(\n $first: Int!\n $last: Int\n $after: String\n $before: String\n) {\n me {\n ...Conversations_me_pbnwq\n id\n }\n}\n\nfragment ConversationSnippet_conversation on Conversation {\n internalID\n to {\n name\n id\n }\n lastMessage\n lastMessageAt\n unread\n items {\n item {\n __typename\n ... on Artwork {\n date\n title\n artistNames\n image {\n url\n }\n }\n ... on Show {\n fair {\n name\n id\n }\n name\n coverImage {\n url\n }\n }\n ... on Node {\n id\n }\n }\n }\n messagesConnection {\n totalCount\n }\n}\n\nfragment Conversations_me_pbnwq on Me {\n conversationsConnection(first: $first, last: $last, before: $before, after: $after) {\n edges {\n cursor\n node {\n id\n internalID\n lastMessage\n ...ConversationSnippet_conversation\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ConversationsQuery", + "operationKind": "query", + "text": "query ConversationsQuery(\n $first: Int!\n $last: Int\n $after: String\n $before: String\n) {\n me {\n ...Conversations_me_pbnwq\n id\n }\n}\n\nfragment ConversationSnippet_conversation on Conversation {\n internalID\n to {\n name\n id\n }\n lastMessage\n lastMessageAt\n unread\n items {\n item {\n __typename\n ... on Artwork {\n date\n title\n artistNames\n image {\n url\n }\n }\n ... on Show {\n fair {\n name\n id\n }\n name\n coverImage {\n url\n }\n }\n ... on Node {\n id\n }\n }\n }\n messagesConnection {\n totalCount\n }\n}\n\nfragment Conversations_me_pbnwq on Me {\n conversationsConnection(first: $first, last: $last, before: $before, after: $after) {\n edges {\n cursor\n node {\n id\n internalID\n lastMessage\n ...ConversationSnippet_conversation\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Conversations_me.graphql.ts b/src/v2/__generated__/Conversations_me.graphql.ts index 62bfc3bac0a..72eb0684d57 100644 --- a/src/v2/__generated__/Conversations_me.graphql.ts +++ b/src/v2/__generated__/Conversations_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -31,161 +32,161 @@ export type Conversations_me$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "Conversations_me", - "type": "Me", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": [ - "conversationsConnection" - ] - } - ] - }, "argumentDefinitions": [ { + "defaultValue": 25, "kind": "LocalArgument", "name": "first", - "type": "Int", - "defaultValue": 25 + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "last", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "before", - "type": "String", - "defaultValue": null + "type": "String" } ], + "kind": "Fragment", + "metadata": { + "connection": [ + { + "count": null, + "cursor": null, + "direction": "bidirectional", + "path": [ + "conversationsConnection" + ] + } + ] + }, + "name": "Conversations_me", "selections": [ { - "kind": "LinkedField", "alias": "conversationsConnection", - "name": "__Conversations_conversationsConnection_connection", - "storageKey": null, "args": null, "concreteType": "ConversationConnection", + "kind": "LinkedField", + "name": "__Conversations_conversationsConnection_connection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ConversationEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Conversation", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastMessage", "args": null, + "kind": "ScalarField", + "name": "lastMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ConversationSnippet_conversation", - "args": null + "name": "ConversationSnippet_conversation" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasPreviousPage", "args": null, + "kind": "ScalarField", + "name": "hasPreviousPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "startCursor", "args": null, + "kind": "ScalarField", + "name": "startCursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Me" }; (node as any).hash = '9ce7999243d62714276fee2e39f94ffe'; export default node; diff --git a/src/v2/__generated__/CounterSubmitMutation.graphql.ts b/src/v2/__generated__/CounterSubmitMutation.graphql.ts index b506627007b..e706d898305 100644 --- a/src/v2/__generated__/CounterSubmitMutation.graphql.ts +++ b/src/v2/__generated__/CounterSubmitMutation.graphql.ts @@ -1,11 +1,12 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CommerceOrderParticipantEnum = "BUYER" | "SELLER" | "%future added value"; export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLED" | "PENDING" | "REFUNDED" | "SUBMITTED" | "%future added value"; export type CommerceSubmitPendingOfferInput = { - readonly clientMutationId?: string | null; - readonly offerId: string; + clientMutationId?: string | null; + offerId: string; }; export type CounterSubmitMutationVariables = { input: CommerceSubmitPendingOfferInput; @@ -64,10 +65,10 @@ mutation CounterSubmitMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CommerceSubmitPendingOfferInput!", - "defaultValue": null + "type": "CommerceSubmitPendingOfferInput!" } ], v1 = [ @@ -78,187 +79,187 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, v3 = { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "awaitingResponseFrom", "args": null, + "kind": "ScalarField", + "name": "awaitingResponseFrom", "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" }, v4 = { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "error", - "storageKey": null, "args": null, "concreteType": "CommerceApplicationError", + "kind": "LinkedField", + "name": "error", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "data", "args": null, + "kind": "ScalarField", + "name": "data", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationFailure" }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "CounterSubmitMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "CounterSubmitMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceSubmitPendingOffer", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceSubmitPendingOfferPayload", + "kind": "LinkedField", + "name": "commerceSubmitPendingOffer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "CounterSubmitMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceSubmitPendingOffer", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceSubmitPendingOfferPayload", + "kind": "LinkedField", + "name": "commerceSubmitPendingOffer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ (v5/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v5/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "CounterSubmitMutation", "id": null, - "text": "mutation CounterSubmitMutation(\n $input: CommerceSubmitPendingOfferInput!\n) {\n commerceSubmitPendingOffer(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n state\n ... on CommerceOfferOrder {\n awaitingResponseFrom\n }\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "CounterSubmitMutation", + "operationKind": "mutation", + "text": "mutation CounterSubmitMutation(\n $input: CommerceSubmitPendingOfferInput!\n) {\n commerceSubmitPendingOffer(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n state\n ... on CommerceOfferOrder {\n awaitingResponseFrom\n }\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/CounterTestQuery.graphql.ts b/src/v2/__generated__/CounterTestQuery.graphql.ts index 576609feee4..7a2596885e5 100644 --- a/src/v2/__generated__/CounterTestQuery.graphql.ts +++ b/src/v2/__generated__/CounterTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -382,10 +383,10 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = [ @@ -396,259 +397,250 @@ v2 = [ } ], v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "CounterTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "CounterTestQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Counter_order", - "args": null + "name": "Counter_order" } - ] + ], + "storageKey": "commerceOrder(id:\"\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "CounterTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": null, + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -657,27 +649,35 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/), (v5/*: any*/), @@ -686,152 +686,150 @@ return { (v8/*: any*/), (v9/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v4/*: any*/), (v3/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v10/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v4/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null } - ] + ], + "type": "CommerceShip" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, (v3/*: any*/), @@ -846,15 +844,15 @@ return { (v13/*: any*/), (v14/*: any*/), (v15/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v1/*: any*/), @@ -869,41 +867,37 @@ return { (v13/*: any*/), (v14/*: any*/), (v15/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "offers", - "storageKey": null, "args": null, "concreteType": "CommerceOfferConnection", + "kind": "LinkedField", + "name": "offers", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceOfferEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/), (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": [ { "kind": "Literal", @@ -911,28 +905,35 @@ return { "value": "MMM D" } ], + "kind": "ScalarField", + "name": "createdAt", "storageKey": "createdAt(format:\"MMM D\")" }, (v14/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": "commerceOrder(id:\"\")" } ] }, "params": { - "operationKind": "query", - "name": "CounterTestQuery", "id": null, - "text": "query CounterTestQuery {\n order: commerceOrder(id: \"\") {\n __typename\n ...Counter_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Counter_order on CommerceOrder {\n internalID\n mode\n state\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n stateExpiresAt\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n id\n }\n myLastOffer {\n internalID\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n ...OfferHistoryItem_order\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n totalListPrice(precision: 2)\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "CounterTestQuery", + "operationKind": "query", + "text": "query CounterTestQuery {\n order: commerceOrder(id: \"\") {\n __typename\n ...Counter_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Counter_order on CommerceOrder {\n internalID\n mode\n state\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n stateExpiresAt\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n id\n }\n myLastOffer {\n internalID\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n ...OfferHistoryItem_order\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n totalListPrice(precision: 2)\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Counter_order.graphql.ts b/src/v2/__generated__/Counter_order.graphql.ts index 04152ec5b1e..8d8085b4fe6 100644 --- a/src/v2/__generated__/Counter_order.graphql.ts +++ b/src/v2/__generated__/Counter_order.graphql.ts @@ -1,9 +1,10 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; +import { FragmentRefs } from "relay-runtime"; export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLED" | "PENDING" | "REFUNDED" | "SUBMITTED" | "%future added value"; -import { FragmentRefs } from "relay-runtime"; export type Counter_order = { readonly internalID: string; readonly mode: CommerceOrderModeEnum | null; @@ -39,10 +40,10 @@ export type Counter_order$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v1 = [ @@ -53,161 +54,161 @@ v1 = [ } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Counter_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "Counter_order", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": null, + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" }, { + "args": null, "kind": "FragmentSpread", - "name": "TransactionDetailsSummaryItem_order", - "args": null + "name": "TransactionDetailsSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSummaryItem_order", - "args": null + "name": "ArtworkSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "ShippingSummaryItem_order", - "args": null + "name": "ShippingSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "CreditCardSummaryItem_order", - "args": null + "name": "CreditCardSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "OfferHistoryItem_order", - "args": null + "name": "OfferHistoryItem_order" } - ] + ], + "type": "CommerceOrder" }; })(); (node as any).hash = '94f9a012a54b189d77961bad98cde61a'; diff --git a/src/v2/__generated__/CreateAppSecondFactorMutation.graphql.ts b/src/v2/__generated__/CreateAppSecondFactorMutation.graphql.ts index c08e16feaf9..c2817bbd36d 100644 --- a/src/v2/__generated__/CreateAppSecondFactorMutation.graphql.ts +++ b/src/v2/__generated__/CreateAppSecondFactorMutation.graphql.ts @@ -1,12 +1,13 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CreateAppSecondFactorInput = { - readonly attributes: AppSecondFactorAttributes; - readonly clientMutationId?: string | null; + attributes: AppSecondFactorAttributes; + clientMutationId?: string | null; }; export type AppSecondFactorAttributes = { - readonly name?: string | null; + name?: string | null; }; export type CreateAppSecondFactorMutationVariables = { input: CreateAppSecondFactorInput; @@ -88,10 +89,10 @@ mutation CreateAppSecondFactorMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CreateAppSecondFactorInput!", - "defaultValue": null + "type": "CreateAppSecondFactorInput!" } ], v1 = [ @@ -102,152 +103,152 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { "kind": "InlineFragment", - "type": "AppSecondFactor", "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "otpSecret", "args": null, + "kind": "ScalarField", + "name": "otpSecret", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "otpProvisioningURI", "args": null, + "kind": "ScalarField", + "name": "otpProvisioningURI", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "type": "AppSecondFactor" }, v4 = { "kind": "InlineFragment", - "type": "Errors", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "errors", - "storageKey": null, "args": null, "concreteType": "Error", + "kind": "LinkedField", + "name": "errors", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "message", "args": null, + "kind": "ScalarField", + "name": "message", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Errors" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "CreateAppSecondFactorMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "CreateAppSecondFactorMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createAppSecondFactor", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CreateAppSecondFactorPayload", + "kind": "LinkedField", + "name": "createAppSecondFactor", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "secondFactorOrErrors", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "secondFactorOrErrors", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "CreateAppSecondFactorMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createAppSecondFactor", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CreateAppSecondFactorPayload", + "kind": "LinkedField", + "name": "createAppSecondFactor", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "secondFactorOrErrors", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "secondFactorOrErrors", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "CreateAppSecondFactorMutation", "id": null, - "text": "mutation CreateAppSecondFactorMutation(\n $input: CreateAppSecondFactorInput!\n) {\n createAppSecondFactor(input: $input) {\n secondFactorOrErrors {\n __typename\n ... on AppSecondFactor {\n __typename\n internalID\n otpSecret\n otpProvisioningURI\n name\n }\n ... on Errors {\n __typename\n errors {\n message\n code\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "CreateAppSecondFactorMutation", + "operationKind": "mutation", + "text": "mutation CreateAppSecondFactorMutation(\n $input: CreateAppSecondFactorInput!\n) {\n createAppSecondFactor(input: $input) {\n secondFactorOrErrors {\n __typename\n ... on AppSecondFactor {\n __typename\n internalID\n otpSecret\n otpProvisioningURI\n name\n }\n ... on Errors {\n __typename\n errors {\n message\n code\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/CreateBackupSecondFactorsMutation.graphql.ts b/src/v2/__generated__/CreateBackupSecondFactorsMutation.graphql.ts index 530822d490d..a7e65e3d2f5 100644 --- a/src/v2/__generated__/CreateBackupSecondFactorsMutation.graphql.ts +++ b/src/v2/__generated__/CreateBackupSecondFactorsMutation.graphql.ts @@ -1,9 +1,10 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CreateBackupSecondFactorsInput = { - readonly clientMutationId?: string | null; - readonly password?: string | null; + clientMutationId?: string | null; + password?: string | null; }; export type CreateBackupSecondFactorsMutationVariables = { input: CreateBackupSecondFactorsInput; @@ -63,10 +64,10 @@ mutation CreateBackupSecondFactorsMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CreateBackupSecondFactorsInput!", - "defaultValue": null + "type": "CreateBackupSecondFactorsInput!" } ], v1 = [ @@ -77,137 +78,137 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, v4 = { "kind": "InlineFragment", - "type": "BackupSecondFactors", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "secondFactors", - "storageKey": null, "args": null, "concreteType": "BackupSecondFactor", + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "BackupSecondFactors" }, v5 = { "kind": "InlineFragment", - "type": "Errors", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "errors", - "storageKey": null, "args": null, "concreteType": "Error", + "kind": "LinkedField", + "name": "errors", "plural": true, "selections": [ (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "message", "args": null, + "kind": "ScalarField", + "name": "message", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Errors" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "CreateBackupSecondFactorsMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "CreateBackupSecondFactorsMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createBackupSecondFactors", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CreateBackupSecondFactorsPayload", + "kind": "LinkedField", + "name": "createBackupSecondFactors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "secondFactorsOrErrors", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "secondFactorsOrErrors", "plural": false, "selections": [ (v4/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "CreateBackupSecondFactorsMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createBackupSecondFactors", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CreateBackupSecondFactorsPayload", + "kind": "LinkedField", + "name": "createBackupSecondFactors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "secondFactorsOrErrors", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "secondFactorsOrErrors", "plural": false, "selections": [ (v2/*: any*/), (v4/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "CreateBackupSecondFactorsMutation", "id": null, - "text": "mutation CreateBackupSecondFactorsMutation(\n $input: CreateBackupSecondFactorsInput!\n) {\n createBackupSecondFactors(input: $input) {\n secondFactorsOrErrors {\n __typename\n ... on BackupSecondFactors {\n __typename\n secondFactors {\n code\n }\n }\n ... on Errors {\n __typename\n errors {\n code\n message\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "CreateBackupSecondFactorsMutation", + "operationKind": "mutation", + "text": "mutation CreateBackupSecondFactorsMutation(\n $input: CreateBackupSecondFactorsInput!\n) {\n createBackupSecondFactors(input: $input) {\n secondFactorsOrErrors {\n __typename\n ... on BackupSecondFactors {\n __typename\n secondFactors {\n code\n }\n }\n ... on Errors {\n __typename\n errors {\n code\n message\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/CreateCreditCardAndUpdatePhoneMutation.graphql.ts b/src/v2/__generated__/CreateCreditCardAndUpdatePhoneMutation.graphql.ts index 6f351418aab..45a42168f4a 100644 --- a/src/v2/__generated__/CreateCreditCardAndUpdatePhoneMutation.graphql.ts +++ b/src/v2/__generated__/CreateCreditCardAndUpdatePhoneMutation.graphql.ts @@ -1,37 +1,38 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CreditCardInput = { - readonly clientMutationId?: string | null; - readonly oneTimeUse?: boolean | null; - readonly token: string; + clientMutationId?: string | null; + oneTimeUse?: boolean | null; + token: string; }; export type UpdateMyProfileInput = { - readonly clientMutationId?: string | null; - readonly collectorLevel?: number | null; - readonly email?: string | null; - readonly location?: EditableLocation | null; - readonly name?: string | null; - readonly phone?: string | null; - readonly priceRangeMax?: number | null; - readonly priceRangeMin?: number | null; - readonly receiveLotOpeningSoonNotification?: boolean | null; - readonly receiveNewSalesNotification?: boolean | null; - readonly receiveNewWorksNotification?: boolean | null; - readonly receiveOutbidNotification?: boolean | null; - readonly receivePromotionNotification?: boolean | null; - readonly receivePurchaseNotification?: boolean | null; - readonly receiveSaleOpeningClosingNotification?: boolean | null; + clientMutationId?: string | null; + collectorLevel?: number | null; + email?: string | null; + location?: EditableLocation | null; + name?: string | null; + phone?: string | null; + priceRangeMax?: number | null; + priceRangeMin?: number | null; + receiveLotOpeningSoonNotification?: boolean | null; + receiveNewSalesNotification?: boolean | null; + receiveNewWorksNotification?: boolean | null; + receiveOutbidNotification?: boolean | null; + receivePromotionNotification?: boolean | null; + receivePurchaseNotification?: boolean | null; + receiveSaleOpeningClosingNotification?: boolean | null; }; export type EditableLocation = { - readonly address?: string | null; - readonly address2?: string | null; - readonly city?: string | null; - readonly country?: string | null; - readonly postalCode?: string | null; - readonly state?: string | null; - readonly stateCode?: string | null; - readonly summary?: string | null; + address?: string | null; + address2?: string | null; + city?: string | null; + country?: string | null; + postalCode?: string | null; + state?: string | null; + stateCode?: string | null; + summary?: string | null; }; export type CreateCreditCardAndUpdatePhoneMutationVariables = { creditCardInput: CreditCardInput; @@ -102,16 +103,16 @@ mutation CreateCreditCardAndUpdatePhoneMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "creditCardInput", - "type": "CreditCardInput!", - "defaultValue": null + "type": "CreditCardInput!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "profileInput", - "type": "UpdateMyProfileInput!", - "defaultValue": null + "type": "UpdateMyProfileInput!" } ], v1 = [ @@ -122,10 +123,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = [ @@ -136,240 +137,240 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, v5 = { "kind": "InlineFragment", - "type": "CreditCardMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "mutationError", - "storageKey": null, "args": null, "concreteType": "GravityMutationError", + "kind": "LinkedField", + "name": "mutationError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "message", "args": null, + "kind": "ScalarField", + "name": "message", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "detail", "args": null, + "kind": "ScalarField", + "name": "detail", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CreditCardMutationFailure" }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "CreateCreditCardAndUpdatePhoneMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "CreateCreditCardAndUpdatePhoneMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "updateMyUserProfile", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "UpdateMyProfilePayload", + "kind": "LinkedField", + "name": "updateMyUserProfile", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "user", - "storageKey": null, "args": null, "concreteType": "User", + "kind": "LinkedField", + "name": "user", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "createCreditCard", - "storageKey": null, "args": (v3/*: any*/), "concreteType": "CreditCardPayload", + "kind": "LinkedField", + "name": "createCreditCard", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCardOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "creditCardOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CreditCardMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCardEdge", - "storageKey": null, "args": null, "concreteType": "CreditCardEdge", + "kind": "LinkedField", + "name": "creditCardEdge", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CreditCardMutationSuccess" }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "CreateCreditCardAndUpdatePhoneMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "updateMyUserProfile", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "UpdateMyProfilePayload", + "kind": "LinkedField", + "name": "updateMyUserProfile", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "user", - "storageKey": null, "args": null, "concreteType": "User", + "kind": "LinkedField", + "name": "user", "plural": false, "selections": [ (v2/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "createCreditCard", - "storageKey": null, "args": (v3/*: any*/), "concreteType": "CreditCardPayload", + "kind": "LinkedField", + "name": "createCreditCard", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCardOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "creditCardOrError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "CreditCardMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCardEdge", - "storageKey": null, "args": null, "concreteType": "CreditCardEdge", + "kind": "LinkedField", + "name": "creditCardEdge", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CreditCardMutationSuccess" }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "CreateCreditCardAndUpdatePhoneMutation", "id": null, - "text": "mutation CreateCreditCardAndUpdatePhoneMutation(\n $creditCardInput: CreditCardInput!\n $profileInput: UpdateMyProfileInput!\n) {\n updateMyUserProfile(input: $profileInput) {\n user {\n internalID\n id\n }\n }\n createCreditCard(input: $creditCardInput) {\n creditCardOrError {\n __typename\n ... on CreditCardMutationSuccess {\n creditCardEdge {\n node {\n lastDigits\n id\n }\n }\n }\n ... on CreditCardMutationFailure {\n mutationError {\n type\n message\n detail\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "CreateCreditCardAndUpdatePhoneMutation", + "operationKind": "mutation", + "text": "mutation CreateCreditCardAndUpdatePhoneMutation(\n $creditCardInput: CreditCardInput!\n $profileInput: UpdateMyProfileInput!\n) {\n updateMyUserProfile(input: $profileInput) {\n user {\n internalID\n id\n }\n }\n createCreditCard(input: $creditCardInput) {\n creditCardOrError {\n __typename\n ... on CreditCardMutationSuccess {\n creditCardEdge {\n node {\n lastDigits\n id\n }\n }\n }\n ... on CreditCardMutationFailure {\n mutationError {\n type\n message\n detail\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/CreateSmsSecondFactorMutation.graphql.ts b/src/v2/__generated__/CreateSmsSecondFactorMutation.graphql.ts index 7501e055d30..1119d083139 100644 --- a/src/v2/__generated__/CreateSmsSecondFactorMutation.graphql.ts +++ b/src/v2/__generated__/CreateSmsSecondFactorMutation.graphql.ts @@ -1,13 +1,14 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CreateSmsSecondFactorInput = { - readonly attributes: SmsSecondFactorAttributes; - readonly clientMutationId?: string | null; + attributes: SmsSecondFactorAttributes; + clientMutationId?: string | null; }; export type SmsSecondFactorAttributes = { - readonly countryCode?: string | null; - readonly phoneNumber?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; }; export type CreateSmsSecondFactorMutationVariables = { input: CreateSmsSecondFactorInput; @@ -80,10 +81,10 @@ mutation CreateSmsSecondFactorMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CreateSmsSecondFactorInput!", - "defaultValue": null + "type": "CreateSmsSecondFactorInput!" } ], v1 = [ @@ -94,131 +95,131 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { "kind": "InlineFragment", - "type": "SmsSecondFactor", "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null } - ] + ], + "type": "SmsSecondFactor" }, v4 = { "kind": "InlineFragment", - "type": "Errors", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "errors", - "storageKey": null, "args": null, "concreteType": "Error", + "kind": "LinkedField", + "name": "errors", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "message", "args": null, + "kind": "ScalarField", + "name": "message", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Errors" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "CreateSmsSecondFactorMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "CreateSmsSecondFactorMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createSmsSecondFactor", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CreateSmsSecondFactorPayload", + "kind": "LinkedField", + "name": "createSmsSecondFactor", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "secondFactorOrErrors", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "secondFactorOrErrors", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "CreateSmsSecondFactorMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createSmsSecondFactor", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CreateSmsSecondFactorPayload", + "kind": "LinkedField", + "name": "createSmsSecondFactor", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "secondFactorOrErrors", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "secondFactorOrErrors", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "CreateSmsSecondFactorMutation", "id": null, - "text": "mutation CreateSmsSecondFactorMutation(\n $input: CreateSmsSecondFactorInput!\n) {\n createSmsSecondFactor(input: $input) {\n secondFactorOrErrors {\n __typename\n ... on SmsSecondFactor {\n __typename\n internalID\n }\n ... on Errors {\n __typename\n errors {\n message\n code\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "CreateSmsSecondFactorMutation", + "operationKind": "mutation", + "text": "mutation CreateSmsSecondFactorMutation(\n $input: CreateSmsSecondFactorInput!\n) {\n createSmsSecondFactor(input: $input) {\n secondFactorOrErrors {\n __typename\n ... on SmsSecondFactor {\n __typename\n internalID\n }\n ... on Errors {\n __typename\n errors {\n message\n code\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/CreditCardSummaryItem_order.graphql.ts b/src/v2/__generated__/CreditCardSummaryItem_order.graphql.ts index 1db469854f9..102150d199f 100644 --- a/src/v2/__generated__/CreditCardSummaryItem_order.graphql.ts +++ b/src/v2/__generated__/CreditCardSummaryItem_order.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -20,52 +21,52 @@ export type CreditCardSummaryItem_order$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "CreditCardSummaryItem_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "CreditCardSummaryItem_order", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrder" }; (node as any).hash = 'a92d2e7b3be6db434a54e7812b352637'; export default node; diff --git a/src/v2/__generated__/CurrentEvent_Test_Query.graphql.ts b/src/v2/__generated__/CurrentEvent_Test_Query.graphql.ts index 5473b85df44..a71ee9778f7 100644 --- a/src/v2/__generated__/CurrentEvent_Test_Query.graphql.ts +++ b/src/v2/__generated__/CurrentEvent_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -76,95 +77,89 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "CurrentEvent_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "CurrentEvent_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"pablo-picasso\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "CurrentEvent_artist", - "args": null + "name": "CurrentEvent_artist" } - ] + ], + "storageKey": "artist(id:\"pablo-picasso\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "CurrentEvent_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"pablo-picasso\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "currentEvent", - "storageKey": null, "args": null, "concreteType": "CurrentEvent", + "kind": "LinkedField", + "name": "currentEvent", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "event", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "event", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:300)", "args": [ { "kind": "Literal", @@ -173,67 +168,73 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:300)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "details", "args": null, + "kind": "ScalarField", + "name": "details", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "partner", "args": null, + "kind": "ScalarField", + "name": "partner", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null } - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "artist(id:\"pablo-picasso\")" } ] }, "params": { - "operationKind": "query", - "name": "CurrentEvent_Test_Query", "id": null, - "text": "query CurrentEvent_Test_Query {\n artist(id: \"pablo-picasso\") {\n ...CurrentEvent_artist\n id\n }\n}\n\nfragment CurrentEvent_artist on Artist {\n currentEvent {\n event {\n __typename\n ... on Node {\n id\n }\n }\n image {\n resized(width: 300) {\n url\n }\n }\n name\n status\n details\n partner\n href\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "CurrentEvent_Test_Query", + "operationKind": "query", + "text": "query CurrentEvent_Test_Query {\n artist(id: \"pablo-picasso\") {\n ...CurrentEvent_artist\n id\n }\n}\n\nfragment CurrentEvent_artist on Artist {\n currentEvent {\n event {\n __typename\n ... on Node {\n id\n }\n }\n image {\n resized(width: 300) {\n url\n }\n }\n name\n status\n details\n partner\n href\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/CurrentEvent_artist.graphql.ts b/src/v2/__generated__/CurrentEvent_artist.graphql.ts index bac250482b7..f26cc085ce6 100644 --- a/src/v2/__generated__/CurrentEvent_artist.graphql.ts +++ b/src/v2/__generated__/CurrentEvent_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -29,53 +30,47 @@ export type CurrentEvent_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "CurrentEvent_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "CurrentEvent_artist", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "currentEvent", - "storageKey": null, "args": null, "concreteType": "CurrentEvent", + "kind": "LinkedField", + "name": "currentEvent", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "event", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "event", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:300)", "args": [ { "kind": "Literal", @@ -84,57 +79,63 @@ const node: ReaderFragment = { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:300)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "details", "args": null, + "kind": "ScalarField", + "name": "details", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "partner", "args": null, + "kind": "ScalarField", + "name": "partner", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = '3e83a9a09afbd679fe1cac057ff044cc'; export default node; diff --git a/src/v2/__generated__/DefaultHeaderArtwork_artwork.graphql.ts b/src/v2/__generated__/DefaultHeaderArtwork_artwork.graphql.ts index 3ffb98887eb..824fd7dd4b5 100644 --- a/src/v2/__generated__/DefaultHeaderArtwork_artwork.graphql.ts +++ b/src/v2/__generated__/DefaultHeaderArtwork_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -34,85 +35,79 @@ export type DefaultHeaderArtwork_artwork$key = { const node: ReaderFragment = (function(){ var v0 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "DefaultHeaderArtwork_artwork", - "type": "FilterArtworksEdge", "metadata": null, - "argumentDefinitions": [], + "name": "DefaultHeaderArtwork_artwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "large", - "name": "resized", - "storageKey": "resized(height:230)", "args": [ { "kind": "Literal", @@ -121,14 +116,14 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "resized(height:230)" }, { - "kind": "LinkedField", "alias": "small", - "name": "resized", - "storageKey": "resized(height:160)", "args": [ { "kind": "Literal", @@ -137,14 +132,20 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "resized(height:160)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "FilterArtworksEdge" }; })(); (node as any).hash = '7a8740af565bf4a832317bf08ee0a588'; diff --git a/src/v2/__generated__/DefaultHeader_headerArtworks.graphql.ts b/src/v2/__generated__/DefaultHeader_headerArtworks.graphql.ts index cbdc37e42c9..e350f640f91 100644 --- a/src/v2/__generated__/DefaultHeader_headerArtworks.graphql.ts +++ b/src/v2/__generated__/DefaultHeader_headerArtworks.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -32,66 +33,59 @@ export type DefaultHeader_headerArtworks$key = { const node: ReaderFragment = (function(){ var v0 = [ { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "DefaultHeader_headerArtworks", - "type": "FilterArtworksConnection", "metadata": null, - "argumentDefinitions": [], + "name": "DefaultHeader_headerArtworks", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "large", - "name": "resized", - "storageKey": "resized(height:230)", "args": [ { "kind": "Literal", @@ -100,14 +94,14 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "resized(height:230)" }, { - "kind": "LinkedField", "alias": "small", - "name": "resized", - "storageKey": "resized(height:160)", "args": [ { "kind": "Literal", @@ -116,21 +110,28 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "resized(height:160)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "DefaultHeaderArtwork_artwork", - "args": null + "name": "DefaultHeaderArtwork_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "FilterArtworksConnection" }; })(); (node as any).hash = 'ae5d379a80797d4438c3da3bbd5c6375'; diff --git a/src/v2/__generated__/DeliverSecondFactorMutation.graphql.ts b/src/v2/__generated__/DeliverSecondFactorMutation.graphql.ts index 5aa3408ca1e..16526c582af 100644 --- a/src/v2/__generated__/DeliverSecondFactorMutation.graphql.ts +++ b/src/v2/__generated__/DeliverSecondFactorMutation.graphql.ts @@ -1,9 +1,10 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type DeliverSecondFactorInput = { - readonly clientMutationId?: string | null; - readonly secondFactorID: string; + clientMutationId?: string | null; + secondFactorID: string; }; export type DeliverSecondFactorMutationVariables = { input: DeliverSecondFactorInput; @@ -76,10 +77,10 @@ mutation DeliverSecondFactorMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "DeliverSecondFactorInput!", - "defaultValue": null + "type": "DeliverSecondFactorInput!" } ], v1 = [ @@ -90,131 +91,131 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { "kind": "InlineFragment", - "type": "SmsSecondFactor", "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "formattedPhoneNumber", "args": null, + "kind": "ScalarField", + "name": "formattedPhoneNumber", "storageKey": null } - ] + ], + "type": "SmsSecondFactor" }, v4 = { "kind": "InlineFragment", - "type": "Errors", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "errors", - "storageKey": null, "args": null, "concreteType": "Error", + "kind": "LinkedField", + "name": "errors", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "message", "args": null, + "kind": "ScalarField", + "name": "message", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Errors" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "DeliverSecondFactorMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "DeliverSecondFactorMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "deliverSecondFactor", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "DeliverSecondFactorPayload", + "kind": "LinkedField", + "name": "deliverSecondFactor", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "secondFactorOrErrors", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "secondFactorOrErrors", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "DeliverSecondFactorMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "deliverSecondFactor", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "DeliverSecondFactorPayload", + "kind": "LinkedField", + "name": "deliverSecondFactor", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "secondFactorOrErrors", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "secondFactorOrErrors", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "DeliverSecondFactorMutation", "id": null, - "text": "mutation DeliverSecondFactorMutation(\n $input: DeliverSecondFactorInput!\n) {\n deliverSecondFactor(input: $input) {\n secondFactorOrErrors {\n __typename\n ... on SmsSecondFactor {\n __typename\n formattedPhoneNumber\n }\n ... on Errors {\n __typename\n errors {\n message\n code\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "DeliverSecondFactorMutation", + "operationKind": "mutation", + "text": "mutation DeliverSecondFactorMutation(\n $input: DeliverSecondFactorInput!\n) {\n deliverSecondFactor(input: $input) {\n secondFactorOrErrors {\n __typename\n ... on SmsSecondFactor {\n __typename\n formattedPhoneNumber\n }\n ... on Errors {\n __typename\n errors {\n message\n code\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Details_Test_Query.graphql.ts b/src/v2/__generated__/Details_Test_Query.graphql.ts index 654805a1314..b4147677618 100644 --- a/src/v2/__generated__/Details_Test_Query.graphql.ts +++ b/src/v2/__generated__/Details_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -108,10 +109,10 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v2 = [ @@ -122,220 +123,220 @@ v2 = [ } ], v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v5 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Details_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "Details_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"gerhard-richter-bagdad-ii-flow-p10-1\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Details_artwork", - "args": null + "name": "Details_artwork" } - ] + ], + "storageKey": "artwork(id:\"gerhard-richter-bagdad-ii-flow-p10-1\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "Details_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"gerhard-richter-bagdad-ii-flow-p10-1\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v2/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v3/*: any*/), (v1/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v2/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v4/*: any*/), (v1/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": "artwork(id:\"gerhard-richter-bagdad-ii-flow-p10-1\")" } ] }, "params": { - "operationKind": "query", - "name": "Details_Test_Query", "id": null, - "text": "query Details_Test_Query {\n artwork(id: \"gerhard-richter-bagdad-ii-flow-p10-1\") {\n ...Details_artwork\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "Details_Test_Query", + "operationKind": "query", + "text": "query Details_Test_Query {\n artwork(id: \"gerhard-richter-bagdad-ii-flow-p10-1\") {\n ...Details_artwork\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Details_artwork.graphql.ts b/src/v2/__generated__/Details_artwork.graphql.ts index 90052d10dd4..423d678644e 100644 --- a/src/v2/__generated__/Details_artwork.graphql.ts +++ b/src/v2/__generated__/Details_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -45,10 +46,10 @@ export type Details_artwork$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v1 = [ @@ -59,172 +60,172 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v3 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Details_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "Details_artwork", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, (v0/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v1/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v2/*: any*/), (v0/*: any*/) - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = '3e0359262ece717c5498c7372cc8416b'; diff --git a/src/v2/__generated__/Details_conversation.graphql.ts b/src/v2/__generated__/Details_conversation.graphql.ts index 44ab2307dbf..d75bf129fce 100644 --- a/src/v2/__generated__/Details_conversation.graphql.ts +++ b/src/v2/__generated__/Details_conversation.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -51,24 +52,22 @@ export type Details_conversation$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v2 = [ { - "kind": "ScalarField", "alias": "thumbnailUrl", - "name": "url", "args": [ { "kind": "Literal", @@ -76,13 +75,27 @@ v2 = [ "value": "small" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"small\")" } ]; return { + "argumentDefinitions": [ + { + "defaultValue": 30, + "kind": "LocalArgument", + "name": "count", + "type": "Int" + }, + { + "defaultValue": null, + "kind": "LocalArgument", + "name": "after", + "type": "String" + } + ], "kind": "Fragment", - "name": "Details_conversation", - "type": "Conversation", "metadata": { "connection": [ { @@ -95,214 +108,202 @@ return { } ] }, - "argumentDefinitions": [ - { - "kind": "LocalArgument", - "name": "count", - "type": "Int", - "defaultValue": 30 - }, - { - "kind": "LocalArgument", - "name": "after", - "type": "String", - "defaultValue": null - } - ], + "name": "Details_conversation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "to", - "storageKey": null, "args": null, "concreteType": "ConversationResponder", + "kind": "LinkedField", + "name": "to", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "initials", "args": null, + "kind": "ScalarField", + "name": "initials", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "messagesConnection", - "name": "__Messages_messagesConnection_connection", - "storageKey": null, "args": null, "concreteType": "MessageConnection", + "kind": "LinkedField", + "name": "__Messages_messagesConnection_connection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "MessageEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Message", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "attachments", - "storageKey": null, "args": null, "concreteType": "Attachment", + "kind": "LinkedField", + "name": "attachments", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "contentType", "args": null, + "kind": "ScalarField", + "name": "contentType", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fileName", "args": null, + "kind": "ScalarField", + "name": "fileName", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "downloadURL", "args": null, + "kind": "ScalarField", + "name": "downloadURL", "storageKey": null } - ] + ], + "storageKey": null }, (v0/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "items", - "storageKey": null, "args": null, "concreteType": "ConversationItem", + "kind": "LinkedField", + "name": "items", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "item", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "item", "plural": false, "selections": [ (v0/*: any*/), { "kind": "InlineFragment", - "type": "Artwork", "selections": [ (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Metadata_artwork", - "args": null + "name": "Metadata_artwork" } - ] + ], + "type": "Artwork" }, { "kind": "InlineFragment", - "type": "Show", "selections": [ (v1/*: any*/), { - "kind": "LinkedField", "alias": "image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null } - ] + ], + "type": "Show" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Conversation" }; })(); (node as any).hash = 'adf50c39a69901a855db9dd38c7176d4'; diff --git a/src/v2/__generated__/DisableSecondFactorMutation.graphql.ts b/src/v2/__generated__/DisableSecondFactorMutation.graphql.ts index fea2390181d..39ba098eb7e 100644 --- a/src/v2/__generated__/DisableSecondFactorMutation.graphql.ts +++ b/src/v2/__generated__/DisableSecondFactorMutation.graphql.ts @@ -1,10 +1,11 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type DisableSecondFactorInput = { - readonly clientMutationId?: string | null; - readonly password?: string | null; - readonly secondFactorID: string; + clientMutationId?: string | null; + password?: string | null; + secondFactorID: string; }; export type DisableSecondFactorMutationVariables = { input: DisableSecondFactorInput; @@ -81,10 +82,10 @@ mutation DisableSecondFactorMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "DisableSecondFactorInput!", - "defaultValue": null + "type": "DisableSecondFactorInput!" } ], v1 = [ @@ -95,10 +96,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = [ @@ -106,121 +107,121 @@ v3 = [ ], v4 = { "kind": "InlineFragment", - "type": "AppSecondFactor", - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "type": "AppSecondFactor" }, v5 = { "kind": "InlineFragment", - "type": "SmsSecondFactor", - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "type": "SmsSecondFactor" }, v6 = { "kind": "InlineFragment", - "type": "Errors", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "errors", - "storageKey": null, "args": null, "concreteType": "Error", + "kind": "LinkedField", + "name": "errors", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "message", "args": null, + "kind": "ScalarField", + "name": "message", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Errors" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "DisableSecondFactorMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "DisableSecondFactorMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "disableSecondFactor", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "DisableSecondFactorPayload", + "kind": "LinkedField", + "name": "disableSecondFactor", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "secondFactorOrErrors", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "secondFactorOrErrors", "plural": false, "selections": [ (v4/*: any*/), (v5/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "DisableSecondFactorMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "disableSecondFactor", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "DisableSecondFactorPayload", + "kind": "LinkedField", + "name": "disableSecondFactor", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "secondFactorOrErrors", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "secondFactorOrErrors", "plural": false, "selections": [ (v2/*: any*/), (v4/*: any*/), (v5/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "DisableSecondFactorMutation", "id": null, - "text": "mutation DisableSecondFactorMutation(\n $input: DisableSecondFactorInput!\n) {\n disableSecondFactor(input: $input) {\n secondFactorOrErrors {\n __typename\n ... on AppSecondFactor {\n __typename\n }\n ... on SmsSecondFactor {\n __typename\n }\n ... on Errors {\n __typename\n errors {\n message\n code\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "DisableSecondFactorMutation", + "operationKind": "mutation", + "text": "mutation DisableSecondFactorMutation(\n $input: DisableSecondFactorInput!\n) {\n disableSecondFactor(input: $input) {\n secondFactorOrErrors {\n __typename\n ... on AppSecondFactor {\n __typename\n }\n ... on SmsSecondFactor {\n __typename\n }\n ... on Errors {\n __typename\n errors {\n message\n code\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Dropdown_aggregation.graphql.ts b/src/v2/__generated__/Dropdown_aggregation.graphql.ts index 9cb6ec13c4e..231f27a0491 100644 --- a/src/v2/__generated__/Dropdown_aggregation.graphql.ts +++ b/src/v2/__generated__/Dropdown_aggregation.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS" | "GALLERY" | "INSTITUTION" | "MAJOR_PERIOD" | "MEDIUM" | "MERCHANDISABLE_ARTISTS" | "PARTNER_CITY" | "PERIOD" | "PRICE_RANGE" | "TOTAL" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS" | "GALLERY" | "INSTITUTION" | "MAJOR_PERIOD" | "MEDIUM" | "MERCHANDISABLE_ARTISTS" | "PARTNER_CITY" | "PERIOD" | "PRICE_RANGE" | "TOTAL" | "%future added value"; export type Dropdown_aggregation = { readonly slice: ArtworkAggregation | null; readonly counts: ReadonlyArray<{ @@ -21,52 +22,52 @@ export type Dropdown_aggregation$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Dropdown_aggregation", - "type": "ArtworksAggregationResults", "metadata": null, - "argumentDefinitions": [], + "name": "Dropdown_aggregation", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "ArtworksAggregationResults" }; (node as any).hash = 'cfa7104f94415f28d4a9872916c6d67a'; export default node; diff --git a/src/v2/__generated__/EnableSecondFactorMutation.graphql.ts b/src/v2/__generated__/EnableSecondFactorMutation.graphql.ts index 1c344dc0d2c..6f4cc085ac3 100644 --- a/src/v2/__generated__/EnableSecondFactorMutation.graphql.ts +++ b/src/v2/__generated__/EnableSecondFactorMutation.graphql.ts @@ -1,11 +1,12 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type EnableSecondFactorInput = { - readonly clientMutationId?: string | null; - readonly code: string; - readonly password?: string | null; - readonly secondFactorID: string; + clientMutationId?: string | null; + code: string; + password?: string | null; + secondFactorID: string; }; export type EnableSecondFactorMutationVariables = { input: EnableSecondFactorInput; @@ -82,10 +83,10 @@ mutation EnableSecondFactorMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "EnableSecondFactorInput!", - "defaultValue": null + "type": "EnableSecondFactorInput!" } ], v1 = [ @@ -96,10 +97,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = [ @@ -107,121 +108,121 @@ v3 = [ ], v4 = { "kind": "InlineFragment", - "type": "SmsSecondFactor", - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "type": "SmsSecondFactor" }, v5 = { "kind": "InlineFragment", - "type": "AppSecondFactor", - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "type": "AppSecondFactor" }, v6 = { "kind": "InlineFragment", - "type": "Errors", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "errors", - "storageKey": null, "args": null, "concreteType": "Error", + "kind": "LinkedField", + "name": "errors", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "message", "args": null, + "kind": "ScalarField", + "name": "message", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Errors" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "EnableSecondFactorMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "EnableSecondFactorMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "enableSecondFactor", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "EnableSecondFactorPayload", + "kind": "LinkedField", + "name": "enableSecondFactor", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "secondFactorOrErrors", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "secondFactorOrErrors", "plural": false, "selections": [ (v4/*: any*/), (v5/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "EnableSecondFactorMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "enableSecondFactor", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "EnableSecondFactorPayload", + "kind": "LinkedField", + "name": "enableSecondFactor", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "secondFactorOrErrors", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "secondFactorOrErrors", "plural": false, "selections": [ (v2/*: any*/), (v4/*: any*/), (v5/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "EnableSecondFactorMutation", "id": null, - "text": "mutation EnableSecondFactorMutation(\n $input: EnableSecondFactorInput!\n) {\n enableSecondFactor(input: $input) {\n secondFactorOrErrors {\n __typename\n ... on SmsSecondFactor {\n __typename\n }\n ... on AppSecondFactor {\n __typename\n }\n ... on Errors {\n __typename\n errors {\n message\n code\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "EnableSecondFactorMutation", + "operationKind": "mutation", + "text": "mutation EnableSecondFactorMutation(\n $input: EnableSecondFactorInput!\n) {\n enableSecondFactor(input: $input) {\n secondFactorOrErrors {\n __typename\n ... on SmsSecondFactor {\n __typename\n }\n ... on AppSecondFactor {\n __typename\n }\n ... on Errors {\n __typename\n errors {\n message\n code\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/FeatureAKGApp_viewer.graphql.ts b/src/v2/__generated__/FeatureAKGApp_viewer.graphql.ts index 23a649b178c..57f13962e2d 100644 --- a/src/v2/__generated__/FeatureAKGApp_viewer.graphql.ts +++ b/src/v2/__generated__/FeatureAKGApp_viewer.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,64 +16,61 @@ export type FeatureAKGApp_viewer$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "FeatureAKGApp_viewer", - "type": "Viewer", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": null, "kind": "LocalArgument", "name": "articleIDs", - "type": "[String]!", - "defaultValue": null + "type": "[String]!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "selectedWorksSetID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "collectionRailItemIDs", - "type": "[String!]", - "defaultValue": null + "type": "[String!]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "auctionRailItemIDs", - "type": "[String!]", - "defaultValue": null + "type": "[String!]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "fairRailItemIDs", - "type": "[String!]", - "defaultValue": null + "type": "[String!]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasCollectionRailItems", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasAuctionRailItems", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasFairRailItems", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" } ], + "kind": "Fragment", + "metadata": null, + "name": "FeatureAKGApp_viewer", "selections": [ { - "kind": "FragmentSpread", - "name": "Feature_viewer", "args": [ { "kind": "Variable", @@ -114,9 +112,12 @@ const node: ReaderFragment = { "name": "selectedWorksSetID", "variableName": "selectedWorksSetID" } - ] + ], + "kind": "FragmentSpread", + "name": "Feature_viewer" } - ] + ], + "type": "Viewer" }; (node as any).hash = '7e462965607113d556dfbd202e44b165'; export default node; diff --git a/src/v2/__generated__/FeatureAKGRoute_Test_Query.graphql.ts b/src/v2/__generated__/FeatureAKGRoute_Test_Query.graphql.ts index f537d647bbe..5afe26647c3 100644 --- a/src/v2/__generated__/FeatureAKGRoute_Test_Query.graphql.ts +++ b/src/v2/__generated__/FeatureAKGRoute_Test_Query.graphql.ts @@ -1,13 +1,14 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type FeatureAKGRoute_Test_QueryVariables = { - articleIDs: ReadonlyArray; + articleIDs: Array; selectedWorksSetID: string; - collectionRailItemIDs?: ReadonlyArray | null; - auctionRailItemIDs?: ReadonlyArray | null; - fairRailItemIDs?: ReadonlyArray | null; + collectionRailItemIDs?: Array | null; + auctionRailItemIDs?: Array | null; + fairRailItemIDs?: Array | null; hasCollectionRailItems: boolean; hasAuctionRailItems: boolean; hasFairRailItems: boolean; @@ -98,12 +99,12 @@ export type FeatureAKGRoute_Test_QueryRawResponse = { }) | null; readonly id: string | null; }) | null; - readonly collections?: ReadonlyArray<({ + readonly collections: ReadonlyArray<({ readonly slug: string; readonly title: string; readonly id: string | null; }) | null> | null; - readonly auctions?: ({ + readonly auctions: ({ readonly edges: ReadonlyArray<({ readonly node: ({ readonly slug: string; @@ -113,7 +114,7 @@ export type FeatureAKGRoute_Test_QueryRawResponse = { }) | null; }) | null> | null; }) | null; - readonly fairs?: ReadonlyArray<({ + readonly fairs: ReadonlyArray<({ readonly internalID: string; readonly name: string | null; readonly href: string | null; @@ -352,94 +353,94 @@ fragment SelectedWorks_selectedWorks on OrderedSet { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "articleIDs", - "type": "[String]!", - "defaultValue": null + "type": "[String]!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "selectedWorksSetID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "collectionRailItemIDs", - "type": "[String!]", - "defaultValue": null + "type": "[String!]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "auctionRailItemIDs", - "type": "[String!]", - "defaultValue": null + "type": "[String!]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "fairRailItemIDs", - "type": "[String!]", - "defaultValue": null + "type": "[String!]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasCollectionRailItems", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasAuctionRailItems", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasFairRailItems", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v7 = [ @@ -450,42 +451,37 @@ v7 = [ } ], v8 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v9 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "FeatureAKGRoute_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "FeatureAKGRoute_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "FeatureAKGApp_viewer", "args": [ { "kind": "Variable", @@ -527,31 +523,32 @@ return { "name": "selectedWorksSetID", "variableName": "selectedWorksSetID" } - ] + ], + "kind": "FragmentSpread", + "name": "FeatureAKGApp_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "FeatureAKGRoute_Test_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "articles", - "storageKey": null, "args": [ { "kind": "Variable", @@ -560,19 +557,19 @@ return { } ], "concreteType": "Article", + "kind": "LinkedField", + "name": "articles", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "thumbnailTitle", "args": null, + "kind": "ScalarField", + "name": "thumbnailTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -580,22 +577,20 @@ return { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM Do, YYYY\")" }, { - "kind": "LinkedField", "alias": null, - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:780,width:1170)", "args": [ { "kind": "Literal", @@ -609,41 +604,41 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "cropped(height:780,width:1170)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "tinyImage", - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:120,width:120)", "args": [ { "kind": "Literal", @@ -657,22 +652,24 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ (v1/*: any*/) - ] + ], + "storageKey": "cropped(height:120,width:120)" } - ] + ], + "storageKey": null }, (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "selectedWorks", - "name": "orderedSet", - "storageKey": null, "args": [ { "kind": "Variable", @@ -681,13 +678,12 @@ return { } ], "concreteType": "OrderedSet", + "kind": "LinkedField", + "name": "orderedSet", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "itemsConnection", - "storageKey": "itemsConnection(first:6)", "args": [ { "kind": "Literal", @@ -696,31 +692,31 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "itemsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), @@ -728,32 +724,29 @@ return { (v2/*: any*/), (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -761,226 +754,230 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, (v6/*: any*/), { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v7/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v3/*: any*/), (v2/*: any*/), (v8/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v7/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v8/*: any*/), (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "itemsConnection(first:6)" }, (v3/*: any*/) - ] + ], + "storageKey": null }, { + "condition": "hasCollectionRailItems", "kind": "Condition", "passingValue": true, - "condition": "hasCollectionRailItems", "selections": [ { - "kind": "LinkedField", "alias": "collections", - "name": "marketingCollections", - "storageKey": null, "args": [ { "kind": "Variable", @@ -989,25 +986,25 @@ return { } ], "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingCollections", "plural": true, "selections": [ (v4/*: any*/), (v6/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } ] }, { + "condition": "hasAuctionRailItems", "kind": "Condition", "passingValue": true, - "condition": "hasAuctionRailItems", "selections": [ { - "kind": "LinkedField", "alias": "auctions", - "name": "salesConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -1021,48 +1018,48 @@ return { } ], "concreteType": "SaleConnection", + "kind": "LinkedField", + "name": "salesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SaleEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), (v8/*: any*/), (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, { + "condition": "hasFairRailItems", "kind": "Condition", "passingValue": true, - "condition": "hasFairRailItems", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "fairs", - "storageKey": null, "args": [ { "kind": "Variable", @@ -1071,26 +1068,30 @@ return { } ], "concreteType": "Fair", + "kind": "LinkedField", + "name": "fairs", "plural": true, "selections": [ (v5/*: any*/), (v8/*: any*/), (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } ] } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "FeatureAKGRoute_Test_Query", "id": null, - "text": "query FeatureAKGRoute_Test_Query(\n $articleIDs: [String]!\n $selectedWorksSetID: String!\n $collectionRailItemIDs: [String!]\n $auctionRailItemIDs: [String!]\n $fairRailItemIDs: [String!]\n $hasCollectionRailItems: Boolean!\n $hasAuctionRailItems: Boolean!\n $hasFairRailItems: Boolean!\n) {\n viewer {\n ...FeatureAKGApp_viewer_2x5Kr1\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FeatureAKGApp_viewer_2x5Kr1 on Viewer {\n ...Feature_viewer_2x5Kr1\n}\n\nfragment Feature_viewer_2x5Kr1 on Viewer {\n articles(ids: $articleIDs) {\n ...FeaturedArticles_articles\n id\n }\n selectedWorks: orderedSet(id: $selectedWorksSetID) {\n ...SelectedWorks_selectedWorks\n id\n }\n ...FeaturedRails_viewer_1Tm9K3\n}\n\nfragment FeaturedArticles_articles on Article {\n thumbnailTitle\n publishedAt(format: \"MMM Do, YYYY\")\n thumbnailImage {\n cropped(width: 1170, height: 780) {\n width\n height\n url\n }\n }\n tinyImage: thumbnailImage {\n cropped(width: 120, height: 120) {\n url\n }\n }\n href\n}\n\nfragment FeaturedAuctions_auctions on SaleConnection {\n edges {\n node {\n slug\n name\n href\n id\n }\n }\n}\n\nfragment FeaturedCollections_collections on MarketingCollection {\n slug\n title\n}\n\nfragment FeaturedFairs_fairs on Fair {\n internalID\n name\n href\n}\n\nfragment FeaturedRails_viewer_1Tm9K3 on Viewer {\n collections: marketingCollections(slugs: $collectionRailItemIDs) @include(if: $hasCollectionRailItems) {\n ...FeaturedCollections_collections\n id\n }\n auctions: salesConnection(first: 50, ids: $auctionRailItemIDs) @include(if: $hasAuctionRailItems) {\n ...FeaturedAuctions_auctions\n }\n fairs(ids: $fairRailItemIDs) @include(if: $hasFairRailItems) {\n ...FeaturedFairs_fairs\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment SelectedWorks_selectedWorks on OrderedSet {\n itemsConnection(first: 6) {\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "FeatureAKGRoute_Test_Query", + "operationKind": "query", + "text": "query FeatureAKGRoute_Test_Query(\n $articleIDs: [String]!\n $selectedWorksSetID: String!\n $collectionRailItemIDs: [String!]\n $auctionRailItemIDs: [String!]\n $fairRailItemIDs: [String!]\n $hasCollectionRailItems: Boolean!\n $hasAuctionRailItems: Boolean!\n $hasFairRailItems: Boolean!\n) {\n viewer {\n ...FeatureAKGApp_viewer_2x5Kr1\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FeatureAKGApp_viewer_2x5Kr1 on Viewer {\n ...Feature_viewer_2x5Kr1\n}\n\nfragment Feature_viewer_2x5Kr1 on Viewer {\n articles(ids: $articleIDs) {\n ...FeaturedArticles_articles\n id\n }\n selectedWorks: orderedSet(id: $selectedWorksSetID) {\n ...SelectedWorks_selectedWorks\n id\n }\n ...FeaturedRails_viewer_1Tm9K3\n}\n\nfragment FeaturedArticles_articles on Article {\n thumbnailTitle\n publishedAt(format: \"MMM Do, YYYY\")\n thumbnailImage {\n cropped(width: 1170, height: 780) {\n width\n height\n url\n }\n }\n tinyImage: thumbnailImage {\n cropped(width: 120, height: 120) {\n url\n }\n }\n href\n}\n\nfragment FeaturedAuctions_auctions on SaleConnection {\n edges {\n node {\n slug\n name\n href\n id\n }\n }\n}\n\nfragment FeaturedCollections_collections on MarketingCollection {\n slug\n title\n}\n\nfragment FeaturedFairs_fairs on Fair {\n internalID\n name\n href\n}\n\nfragment FeaturedRails_viewer_1Tm9K3 on Viewer {\n collections: marketingCollections(slugs: $collectionRailItemIDs) @include(if: $hasCollectionRailItems) {\n ...FeaturedCollections_collections\n id\n }\n auctions: salesConnection(first: 50, ids: $auctionRailItemIDs) @include(if: $hasAuctionRailItems) {\n ...FeaturedAuctions_auctions\n }\n fairs(ids: $fairRailItemIDs) @include(if: $hasFairRailItems) {\n ...FeaturedFairs_fairs\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment SelectedWorks_selectedWorks on OrderedSet {\n itemsConnection(first: 6) {\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/FeatureApp_Test_Query.graphql.ts b/src/v2/__generated__/FeatureApp_Test_Query.graphql.ts index 5bfe7fe109c..e41bcf16f4c 100644 --- a/src/v2/__generated__/FeatureApp_Test_Query.graphql.ts +++ b/src/v2/__generated__/FeatureApp_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -411,10 +412,10 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -425,17 +426,17 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v4 = [ @@ -460,10 +461,10 @@ v6 = { }, v7 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ], @@ -478,45 +479,45 @@ v9 = { "value": 2000 }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "layout", "args": null, + "kind": "ScalarField", + "name": "layout", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "description", "args": (v4/*: any*/), + "kind": "ScalarField", + "name": "description", "storageKey": "description(format:\"HTML\")" }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v16 = [ @@ -528,33 +529,33 @@ v16 = [ ], v17 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], v18 = [ { - "kind": "ScalarField", "alias": "src", - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null } ], @@ -564,95 +565,90 @@ v19 = { "value": 2224 }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "FeatureApp_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "FeatureApp_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "feature", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Feature", + "kind": "LinkedField", + "name": "feature", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "FeatureApp_feature", - "args": null + "name": "FeatureApp_feature" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "FeatureApp_Test_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "feature", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Feature", + "kind": "LinkedField", + "name": "feature", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "meta", - "storageKey": null, "args": null, "concreteType": "FeatureMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "image", "args": null, + "kind": "ScalarField", + "name": "image", "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "subheadline", "args": (v4/*: any*/), + "kind": "ScalarField", + "name": "subheadline", "storageKey": "subheadline(format:\"HTML\")" }, { - "kind": "LinkedField", "alias": "defaultImage", - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "_1x", - "name": "cropped", - "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:1000)", "args": [ (v5/*: any*/), (v6/*: any*/), @@ -663,53 +659,53 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:1000)" }, { - "kind": "LinkedField", "alias": "_2x", - "name": "cropped", - "storageKey": "cropped(height:2000,version:[\"main\",\"wide\"],width:2000)", "args": [ (v8/*: any*/), (v6/*: any*/), (v9/*: any*/) ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": "cropped(height:2000,version:[\"main\",\"wide\"],width:2000)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "fullImage", - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "_1x", - "name": "cropped", - "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:2000)", "args": [ (v5/*: any*/), (v6/*: any*/), (v9/*: any*/) ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:2000)" }, { - "kind": "LinkedField", "alias": "_2x", - "name": "cropped", - "storageKey": "cropped(height:2000,version:[\"main\",\"wide\"],width:4000)", "args": [ (v8/*: any*/), (v6/*: any*/), @@ -720,25 +716,26 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": "cropped(height:2000,version:[\"main\",\"wide\"],width:4000)" } - ] + ], + "storageKey": null }, (v10/*: any*/), (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "callout", "args": (v4/*: any*/), + "kind": "ScalarField", + "name": "callout", "storageKey": "callout(format:\"HTML\")" }, { - "kind": "LinkedField", "alias": "sets", - "name": "setsConnection", - "storageKey": "setsConnection(first:20)", "args": [ { "kind": "Literal", @@ -747,24 +744,24 @@ return { } ], "concreteType": "OrderedSetConnection", + "kind": "LinkedField", + "name": "setsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "OrderedSetEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "OrderedSet", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v12/*: any*/), @@ -772,17 +769,14 @@ return { (v3/*: any*/), (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemType", "args": null, + "kind": "ScalarField", + "name": "itemType", "storageKey": null }, { - "kind": "LinkedField", "alias": "orderedItems", - "name": "orderedItemsConnection", - "storageKey": "orderedItemsConnection(first:35)", "args": [ { "kind": "Literal", @@ -791,68 +785,64 @@ return { } ], "concreteType": "OrderedSetItemConnection", + "kind": "LinkedField", + "name": "orderedItemsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "OrderedSetItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ (v13/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v13/*: any*/), (v12/*: any*/), { "kind": "InlineFragment", - "type": "Artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, (v14/*: any*/), { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -860,237 +850,236 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null } - ] + ], + "storageKey": null }, (v15/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v16/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v12/*: any*/), (v15/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v16/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v3/*: any*/), (v15/*: any*/), (v12/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v12/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v17/*: any*/) + "selections": (v17/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v17/*: any*/) + "selections": (v17/*: any*/), + "storageKey": null }, (v12/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "type": "Artwork" }, { "kind": "InlineFragment", - "type": "FeaturedLink", "selections": [ (v15/*: any*/), (v14/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "subtitle", "args": (v4/*: any*/), + "kind": "ScalarField", + "name": "subtitle", "storageKey": "subtitle(format:\"HTML\")" }, (v11/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "small", - "name": "cropped", - "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:800)", "args": [ (v5/*: any*/), (v6/*: any*/), @@ -1101,14 +1090,14 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v18/*: any*/) + "selections": (v18/*: any*/), + "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:800)" }, { - "kind": "LinkedField", "alias": "medium", - "name": "cropped", - "storageKey": "cropped(height:1365,version:[\"main\",\"wide\"],width:1092)", "args": [ { "kind": "Literal", @@ -1123,14 +1112,14 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v18/*: any*/) + "selections": (v18/*: any*/), + "storageKey": "cropped(height:1365,version:[\"main\",\"wide\"],width:1092)" }, { - "kind": "LinkedField", "alias": "large", - "name": "cropped", - "storageKey": "cropped(height:1252,version:[\"main\",\"wide\"],width:2224)", "args": [ { "kind": "Literal", @@ -1141,14 +1130,14 @@ return { (v19/*: any*/) ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v18/*: any*/) + "selections": (v18/*: any*/), + "storageKey": "cropped(height:1252,version:[\"main\",\"wide\"],width:2224)" }, { - "kind": "LinkedField", "alias": "full", - "name": "resized", - "storageKey": "resized(height:2224,version:[\"main\",\"wide\"],width:2224)", "args": [ { "kind": "Literal", @@ -1159,36 +1148,48 @@ return { (v19/*: any*/) ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v18/*: any*/) + "selections": (v18/*: any*/), + "storageKey": "resized(height:2224,version:[\"main\",\"wide\"],width:2224)" } - ] + ], + "storageKey": null } - ] + ], + "type": "FeaturedLink" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "orderedItemsConnection(first:35)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "setsConnection(first:20)" }, (v12/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "FeatureApp_Test_Query", "id": null, - "text": "query FeatureApp_Test_Query(\n $slug: ID!\n) {\n feature(id: $slug) {\n ...FeatureApp_feature\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\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: HTML)\n description(format: HTML)\n image {\n small: cropped(width: 800, height: 1000, version: [\"main\", \"wide\"]) {\n src: url\n width\n height\n }\n medium: cropped(width: 1092, height: 1365, version: [\"main\", \"wide\"]) {\n src: url\n width\n height\n }\n large: cropped(width: 2224, height: 1252, version: [\"main\", \"wide\"]) {\n src: url\n width\n height\n }\n full: resized(width: 2224, height: 2224, version: [\"main\", \"wide\"]) {\n src: url\n width\n height\n }\n }\n}\n\nfragment FeatureHeaderDefault_feature on Feature {\n name\n subheadline(format: HTML)\n defaultImage: image {\n _1x: cropped(width: 1000, height: 1000, version: [\"main\", \"wide\"]) {\n url\n }\n _2x: cropped(width: 2000, height: 2000, version: [\"main\", \"wide\"]) {\n url\n }\n }\n}\n\nfragment FeatureHeaderFull_feature on Feature {\n name\n subheadline(format: HTML)\n fullImage: image {\n _1x: cropped(width: 2000, height: 1000, version: [\"main\", \"wide\"]) {\n url\n }\n _2x: cropped(width: 4000, height: 2000, version: [\"main\", \"wide\"]) {\n url\n }\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: 35) {\n edges {\n __typename\n }\n }\n}\n\nfragment FeatureSetItem_setItem on OrderedSetItem {\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: 35) {\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 id\n }\n }\n }\n }\n ...FeatureSetMeta_set\n ...FeatureSetContainer_set\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "FeatureApp_Test_Query", + "operationKind": "query", + "text": "query FeatureApp_Test_Query(\n $slug: ID!\n) {\n feature(id: $slug) {\n ...FeatureApp_feature\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\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: HTML)\n description(format: HTML)\n image {\n small: cropped(width: 800, height: 1000, version: [\"main\", \"wide\"]) {\n src: url\n width\n height\n }\n medium: cropped(width: 1092, height: 1365, version: [\"main\", \"wide\"]) {\n src: url\n width\n height\n }\n large: cropped(width: 2224, height: 1252, version: [\"main\", \"wide\"]) {\n src: url\n width\n height\n }\n full: resized(width: 2224, height: 2224, version: [\"main\", \"wide\"]) {\n src: url\n width\n height\n }\n }\n}\n\nfragment FeatureHeaderDefault_feature on Feature {\n name\n subheadline(format: HTML)\n defaultImage: image {\n _1x: cropped(width: 1000, height: 1000, version: [\"main\", \"wide\"]) {\n url\n }\n _2x: cropped(width: 2000, height: 2000, version: [\"main\", \"wide\"]) {\n url\n }\n }\n}\n\nfragment FeatureHeaderFull_feature on Feature {\n name\n subheadline(format: HTML)\n fullImage: image {\n _1x: cropped(width: 2000, height: 1000, version: [\"main\", \"wide\"]) {\n url\n }\n _2x: cropped(width: 4000, height: 2000, version: [\"main\", \"wide\"]) {\n url\n }\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: 35) {\n edges {\n __typename\n }\n }\n}\n\nfragment FeatureSetItem_setItem on OrderedSetItem {\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: 35) {\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 id\n }\n }\n }\n }\n ...FeatureSetMeta_set\n ...FeatureSetContainer_set\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/FeatureApp_feature.graphql.ts b/src/v2/__generated__/FeatureApp_feature.graphql.ts index 870288b62ca..97d75385ec7 100644 --- a/src/v2/__generated__/FeatureApp_feature.graphql.ts +++ b/src/v2/__generated__/FeatureApp_feature.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -33,31 +34,27 @@ var v0 = [ } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FeatureApp_feature", - "type": "Feature", "metadata": null, - "argumentDefinitions": [], + "name": "FeatureApp_feature", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "description", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "description", "storageKey": "description(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": null, - "name": "callout", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "callout", "storageKey": "callout(format:\"HTML\")" }, { - "kind": "LinkedField", "alias": "sets", - "name": "setsConnection", - "storageKey": "setsConnection(first:20)", "args": [ { "kind": "Literal", @@ -66,55 +63,59 @@ return { } ], "concreteType": "OrderedSetConnection", + "kind": "LinkedField", + "name": "setsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "OrderedSetEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "OrderedSet", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "FeatureSet_set", - "args": null + "name": "FeatureSet_set" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "setsConnection(first:20)" }, { + "args": null, "kind": "FragmentSpread", - "name": "FeatureMeta_feature", - "args": null + "name": "FeatureMeta_feature" }, { + "args": null, "kind": "FragmentSpread", - "name": "FeatureHeader_feature", - "args": null + "name": "FeatureHeader_feature" } - ] + ], + "type": "Feature" }; })(); (node as any).hash = 'a03892745f198465e63df7420b7e1d3d'; diff --git a/src/v2/__generated__/FeatureFeaturedLink_featuredLink.graphql.ts b/src/v2/__generated__/FeatureFeaturedLink_featuredLink.graphql.ts index 689cc7d3530..e698715d17b 100644 --- a/src/v2/__generated__/FeatureFeaturedLink_featuredLink.graphql.ts +++ b/src/v2/__generated__/FeatureFeaturedLink_featuredLink.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -57,24 +58,24 @@ v1 = { }, v2 = [ { - "kind": "ScalarField", "alias": "src", - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null } ], @@ -84,54 +85,49 @@ v3 = { "value": 2224 }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FeatureFeaturedLink_featuredLink", - "type": "FeaturedLink", "metadata": null, - "argumentDefinitions": [], + "name": "FeatureFeaturedLink_featuredLink", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "subtitle", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "subtitle", "storageKey": "subtitle(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": null, - "name": "description", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "description", "storageKey": "description(format:\"HTML\")" }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "small", - "name": "cropped", - "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:800)", "args": [ { "kind": "Literal", @@ -146,14 +142,14 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:800)" }, { - "kind": "LinkedField", "alias": "medium", - "name": "cropped", - "storageKey": "cropped(height:1365,version:[\"main\",\"wide\"],width:1092)", "args": [ { "kind": "Literal", @@ -168,14 +164,14 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": "cropped(height:1365,version:[\"main\",\"wide\"],width:1092)" }, { - "kind": "LinkedField", "alias": "large", - "name": "cropped", - "storageKey": "cropped(height:1252,version:[\"main\",\"wide\"],width:2224)", "args": [ { "kind": "Literal", @@ -186,14 +182,14 @@ return { (v3/*: any*/) ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": "cropped(height:1252,version:[\"main\",\"wide\"],width:2224)" }, { - "kind": "LinkedField", "alias": "full", - "name": "resized", - "storageKey": "resized(height:2224,version:[\"main\",\"wide\"],width:2224)", "args": [ { "kind": "Literal", @@ -204,12 +200,17 @@ return { (v3/*: any*/) ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": "resized(height:2224,version:[\"main\",\"wide\"],width:2224)" } - ] + ], + "storageKey": null } - ] + ], + "type": "FeaturedLink" }; })(); (node as any).hash = 'b427ed43f8f143e92c1332e3f1ed0e63'; diff --git a/src/v2/__generated__/FeatureHeaderDefault_feature.graphql.ts b/src/v2/__generated__/FeatureHeaderDefault_feature.graphql.ts index 79bba12393d..9085dc5b2c5 100644 --- a/src/v2/__generated__/FeatureHeaderDefault_feature.graphql.ts +++ b/src/v2/__generated__/FeatureHeaderDefault_feature.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -34,31 +35,28 @@ var v0 = { }, v1 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FeatureHeaderDefault_feature", - "type": "Feature", "metadata": null, - "argumentDefinitions": [], + "name": "FeatureHeaderDefault_feature", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "subheadline", "args": [ { "kind": "Literal", @@ -66,22 +64,20 @@ return { "value": "HTML" } ], + "kind": "ScalarField", + "name": "subheadline", "storageKey": "subheadline(format:\"HTML\")" }, { - "kind": "LinkedField", "alias": "defaultImage", - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "_1x", - "name": "cropped", - "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:1000)", "args": [ { "kind": "Literal", @@ -96,14 +92,14 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:1000)" }, { - "kind": "LinkedField", "alias": "_2x", - "name": "cropped", - "storageKey": "cropped(height:2000,version:[\"main\",\"wide\"],width:2000)", "args": [ { "kind": "Literal", @@ -118,12 +114,17 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": "cropped(height:2000,version:[\"main\",\"wide\"],width:2000)" } - ] + ], + "storageKey": null } - ] + ], + "type": "Feature" }; })(); (node as any).hash = 'daec947183f26d5bcbf0d3a5039d8a5b'; diff --git a/src/v2/__generated__/FeatureHeaderFull_feature.graphql.ts b/src/v2/__generated__/FeatureHeaderFull_feature.graphql.ts index 5c3ed8c1e8e..c827f92acbe 100644 --- a/src/v2/__generated__/FeatureHeaderFull_feature.graphql.ts +++ b/src/v2/__generated__/FeatureHeaderFull_feature.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -34,31 +35,28 @@ var v0 = { }, v1 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FeatureHeaderFull_feature", - "type": "Feature", "metadata": null, - "argumentDefinitions": [], + "name": "FeatureHeaderFull_feature", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "subheadline", "args": [ { "kind": "Literal", @@ -66,22 +64,20 @@ return { "value": "HTML" } ], + "kind": "ScalarField", + "name": "subheadline", "storageKey": "subheadline(format:\"HTML\")" }, { - "kind": "LinkedField", "alias": "fullImage", - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "_1x", - "name": "cropped", - "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:2000)", "args": [ { "kind": "Literal", @@ -96,14 +92,14 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:2000)" }, { - "kind": "LinkedField", "alias": "_2x", - "name": "cropped", - "storageKey": "cropped(height:2000,version:[\"main\",\"wide\"],width:4000)", "args": [ { "kind": "Literal", @@ -118,12 +114,17 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": "cropped(height:2000,version:[\"main\",\"wide\"],width:4000)" } - ] + ], + "storageKey": null } - ] + ], + "type": "Feature" }; })(); (node as any).hash = '15cf5355c5bb89677c4d72e50b116b15'; diff --git a/src/v2/__generated__/FeatureHeader_feature.graphql.ts b/src/v2/__generated__/FeatureHeader_feature.graphql.ts index 3f7f3245710..10c3edeb6e6 100644 --- a/src/v2/__generated__/FeatureHeader_feature.graphql.ts +++ b/src/v2/__generated__/FeatureHeader_feature.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type FeatureLayouts = "DEFAULT" | "FULL" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type FeatureLayouts = "DEFAULT" | "FULL" | "%future added value"; export type FeatureHeader_feature = { readonly layout: FeatureLayouts; readonly " $fragmentRefs": FragmentRefs<"FeatureHeaderDefault_feature" | "FeatureHeaderFull_feature">; @@ -17,30 +18,30 @@ export type FeatureHeader_feature$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FeatureHeader_feature", - "type": "Feature", "metadata": null, - "argumentDefinitions": [], + "name": "FeatureHeader_feature", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "layout", "args": null, + "kind": "ScalarField", + "name": "layout", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "FeatureHeaderDefault_feature", - "args": null + "name": "FeatureHeaderDefault_feature" }, { + "args": null, "kind": "FragmentSpread", - "name": "FeatureHeaderFull_feature", - "args": null + "name": "FeatureHeaderFull_feature" } - ] + ], + "type": "Feature" }; (node as any).hash = '410eddfc25f11a9687c26ed516418f0e'; export default node; diff --git a/src/v2/__generated__/FeatureMeta_feature.graphql.ts b/src/v2/__generated__/FeatureMeta_feature.graphql.ts index c5597d22ce9..f6eb592a1a8 100644 --- a/src/v2/__generated__/FeatureMeta_feature.graphql.ts +++ b/src/v2/__generated__/FeatureMeta_feature.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -20,52 +21,52 @@ export type FeatureMeta_feature$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FeatureMeta_feature", - "type": "Feature", "metadata": null, - "argumentDefinitions": [], + "name": "FeatureMeta_feature", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "meta", - "storageKey": null, "args": null, "concreteType": "FeatureMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "image", "args": null, + "kind": "ScalarField", + "name": "image", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Feature" }; (node as any).hash = 'bea3dc26975fdc2c539c9faefaa78e6f'; export default node; diff --git a/src/v2/__generated__/FeatureSetContainer_set.graphql.ts b/src/v2/__generated__/FeatureSetContainer_set.graphql.ts index 06c2594c236..d95c72872d8 100644 --- a/src/v2/__generated__/FeatureSetContainer_set.graphql.ts +++ b/src/v2/__generated__/FeatureSetContainer_set.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type OrderedSetLayouts = "DEFAULT" | "FULL" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type OrderedSetLayouts = "DEFAULT" | "FULL" | "%future added value"; export type FeatureSetContainer_set = { readonly id: string; readonly layout: OrderedSetLayouts; @@ -23,38 +24,34 @@ export type FeatureSetContainer_set$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FeatureSetContainer_set", - "type": "OrderedSet", "metadata": null, - "argumentDefinitions": [], + "name": "FeatureSetContainer_set", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "layout", "args": null, + "kind": "ScalarField", + "name": "layout", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "itemType", "args": null, + "kind": "ScalarField", + "name": "itemType", "storageKey": null }, { - "kind": "LinkedField", "alias": "orderedItems", - "name": "orderedItemsConnection", - "storageKey": "orderedItemsConnection(first:35)", "args": [ { "kind": "Literal", @@ -63,29 +60,33 @@ const node: ReaderFragment = { } ], "concreteType": "OrderedSetItemConnection", + "kind": "LinkedField", + "name": "orderedItemsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "OrderedSetItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "orderedItemsConnection(first:35)" } - ] + ], + "type": "OrderedSet" }; (node as any).hash = 'dbc95ca1326c9724f65daa11cbf83c1d'; export default node; diff --git a/src/v2/__generated__/FeatureSetItem_setItem.graphql.ts b/src/v2/__generated__/FeatureSetItem_setItem.graphql.ts index f0db2ac90a6..36c31f66d2c 100644 --- a/src/v2/__generated__/FeatureSetItem_setItem.graphql.ts +++ b/src/v2/__generated__/FeatureSetItem_setItem.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -19,48 +20,48 @@ export type FeatureSetItem_setItem$key = { const node: ReaderFragment = (function(){ var v0 = [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FeatureSetItem_setItem", - "type": "OrderedSetItem", "metadata": null, - "argumentDefinitions": [], + "name": "FeatureSetItem_setItem", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "FeaturedLink", - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "type": "FeaturedLink" }, { "kind": "InlineFragment", - "type": "Artwork", - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "type": "Artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "GridItem_artwork", - "args": null + "name": "GridItem_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "FeatureFeaturedLink_featuredLink", - "args": null + "name": "FeatureFeaturedLink_featuredLink" } - ] + ], + "type": "OrderedSetItem" }; })(); (node as any).hash = '9181810fe57734f6a1198ccec3ae7114'; diff --git a/src/v2/__generated__/FeatureSetMeta_set.graphql.ts b/src/v2/__generated__/FeatureSetMeta_set.graphql.ts index 694ac6e4471..fc5922a0579 100644 --- a/src/v2/__generated__/FeatureSetMeta_set.graphql.ts +++ b/src/v2/__generated__/FeatureSetMeta_set.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -16,23 +17,20 @@ export type FeatureSetMeta_set$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FeatureSetMeta_set", - "type": "OrderedSet", "metadata": null, - "argumentDefinitions": [], + "name": "FeatureSetMeta_set", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "description", "args": [ { "kind": "Literal", @@ -40,9 +38,12 @@ const node: ReaderFragment = { "value": "HTML" } ], + "kind": "ScalarField", + "name": "description", "storageKey": "description(format:\"HTML\")" } - ] + ], + "type": "OrderedSet" }; (node as any).hash = 'e1163832a9d3f97595ab010c0dc8ccf5'; export default node; diff --git a/src/v2/__generated__/FeatureSet_set.graphql.ts b/src/v2/__generated__/FeatureSet_set.graphql.ts index dc0b816b979..0c8edfd7dc8 100644 --- a/src/v2/__generated__/FeatureSet_set.graphql.ts +++ b/src/v2/__generated__/FeatureSet_set.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type OrderedSetLayouts = "DEFAULT" | "FULL" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type OrderedSetLayouts = "DEFAULT" | "FULL" | "%future added value"; export type FeatureSet_set = { readonly id: string; readonly layout: OrderedSetLayouts; @@ -31,41 +32,38 @@ export type FeatureSet_set$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v1 = [ (v0/*: any*/) ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FeatureSet_set", - "type": "OrderedSet", "metadata": null, - "argumentDefinitions": [], + "name": "FeatureSet_set", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "layout", "args": null, + "kind": "ScalarField", + "name": "layout", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "description", "args": [ { "kind": "Literal", @@ -73,20 +71,19 @@ return { "value": "HTML" } ], + "kind": "ScalarField", + "name": "description", "storageKey": "description(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": null, - "name": "itemType", "args": null, + "kind": "ScalarField", + "name": "itemType", "storageKey": null }, { - "kind": "LinkedField", "alias": "orderedItems", - "name": "orderedItemsConnection", - "storageKey": "orderedItemsConnection(first:35)", "args": [ { "kind": "Literal", @@ -95,65 +92,69 @@ return { } ], "concreteType": "OrderedSetItemConnection", + "kind": "LinkedField", + "name": "orderedItemsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "OrderedSetItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "Artwork", - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "type": "Artwork" }, { "kind": "InlineFragment", - "type": "FeaturedLink", - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "type": "FeaturedLink" }, { + "args": null, "kind": "FragmentSpread", - "name": "FeatureSetItem_setItem", - "args": null + "name": "FeatureSetItem_setItem" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "orderedItemsConnection(first:35)" }, { + "args": null, "kind": "FragmentSpread", - "name": "FeatureSetMeta_set", - "args": null + "name": "FeatureSetMeta_set" }, { + "args": null, "kind": "FragmentSpread", - "name": "FeatureSetContainer_set", - "args": null + "name": "FeatureSetContainer_set" } - ] + ], + "type": "OrderedSet" }; })(); (node as any).hash = '906377816f34b9a6b67fca92aefbb3bc'; diff --git a/src/v2/__generated__/Feature_viewer.graphql.ts b/src/v2/__generated__/Feature_viewer.graphql.ts index 3dd622ebbc3..20f92a22d49 100644 --- a/src/v2/__generated__/Feature_viewer.graphql.ts +++ b/src/v2/__generated__/Feature_viewer.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -21,66 +22,62 @@ export type Feature_viewer$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "Feature_viewer", - "type": "Viewer", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": null, "kind": "LocalArgument", "name": "articleIDs", - "type": "[String]!", - "defaultValue": null + "type": "[String]!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "selectedWorksSetID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "collectionRailItemIDs", - "type": "[String!]", - "defaultValue": null + "type": "[String!]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "auctionRailItemIDs", - "type": "[String!]", - "defaultValue": null + "type": "[String!]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "fairRailItemIDs", - "type": "[String!]", - "defaultValue": null + "type": "[String!]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasCollectionRailItems", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasAuctionRailItems", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasFairRailItems", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" } ], + "kind": "Fragment", + "metadata": null, + "name": "Feature_viewer", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "articles", - "storageKey": null, "args": [ { "kind": "Variable", @@ -89,20 +86,20 @@ const node: ReaderFragment = { } ], "concreteType": "Article", + "kind": "LinkedField", + "name": "articles", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "FeaturedArticles_articles", - "args": null + "name": "FeaturedArticles_articles" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "selectedWorks", - "name": "orderedSet", - "storageKey": null, "args": [ { "kind": "Variable", @@ -111,18 +108,19 @@ const node: ReaderFragment = { } ], "concreteType": "OrderedSet", + "kind": "LinkedField", + "name": "orderedSet", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "SelectedWorks_selectedWorks", - "args": null + "name": "SelectedWorks_selectedWorks" } - ] + ], + "storageKey": null }, { - "kind": "FragmentSpread", - "name": "FeaturedRails_viewer", "args": [ { "kind": "Variable", @@ -154,9 +152,12 @@ const node: ReaderFragment = { "name": "hasFairRailItems", "variableName": "hasFairRailItems" } - ] + ], + "kind": "FragmentSpread", + "name": "FeaturedRails_viewer" } - ] + ], + "type": "Viewer" }; (node as any).hash = '308da696148367711e40c557c82521e0'; export default node; diff --git a/src/v2/__generated__/FeaturedArticles_articles.graphql.ts b/src/v2/__generated__/FeaturedArticles_articles.graphql.ts index 09ca2ca41b3..388b397614a 100644 --- a/src/v2/__generated__/FeaturedArticles_articles.graphql.ts +++ b/src/v2/__generated__/FeaturedArticles_articles.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -30,32 +31,29 @@ export type FeaturedArticles_articles$key = ReadonlyArray<{ const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FeaturedArticles_articles", - "type": "Article", "metadata": { "plural": true }, - "argumentDefinitions": [], + "name": "FeaturedArticles_articles", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "thumbnailTitle", "args": null, + "kind": "ScalarField", + "name": "thumbnailTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -63,22 +61,20 @@ return { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM Do, YYYY\")" }, { - "kind": "LinkedField", "alias": null, - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:780,width:1170)", "args": [ { "kind": "Literal", @@ -92,41 +88,41 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, (v0/*: any*/) - ] + ], + "storageKey": "cropped(height:780,width:1170)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "tinyImage", - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:120,width:120)", "args": [ { "kind": "Literal", @@ -140,21 +136,26 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": "cropped(height:120,width:120)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null } - ] + ], + "type": "Article" }; })(); (node as any).hash = 'c35619012178f50363dab1e735a3b8ad'; diff --git a/src/v2/__generated__/FeaturedAuctions_auctions.graphql.ts b/src/v2/__generated__/FeaturedAuctions_auctions.graphql.ts index ff8d4b51ca0..0152a98ad03 100644 --- a/src/v2/__generated__/FeaturedAuctions_auctions.graphql.ts +++ b/src/v2/__generated__/FeaturedAuctions_auctions.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -21,56 +22,56 @@ export type FeaturedAuctions_auctions$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FeaturedAuctions_auctions", - "type": "SaleConnection", "metadata": null, - "argumentDefinitions": [], + "name": "FeaturedAuctions_auctions", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SaleEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "SaleConnection" }; (node as any).hash = '58e37c254a000d5d3795ce932b2a08b9'; export default node; diff --git a/src/v2/__generated__/FeaturedCollectionsRails_collectionGroup.graphql.ts b/src/v2/__generated__/FeaturedCollectionsRails_collectionGroup.graphql.ts index e081a7d6bc2..c062954b799 100644 --- a/src/v2/__generated__/FeaturedCollectionsRails_collectionGroup.graphql.ts +++ b/src/v2/__generated__/FeaturedCollectionsRails_collectionGroup.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type MarketingGroupTypes = "ArtistSeries" | "FeaturedCollections" | "OtherCollections" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type MarketingGroupTypes = "ArtistSeries" | "FeaturedCollections" | "OtherCollections" | "%future added value"; export type FeaturedCollectionsRails_collectionGroup = { readonly groupType: MarketingGroupTypes; readonly name: string; @@ -24,73 +25,73 @@ export type FeaturedCollectionsRails_collectionGroup$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FeaturedCollectionsRails_collectionGroup", - "type": "MarketingCollectionGroup", "metadata": null, - "argumentDefinitions": [], + "name": "FeaturedCollectionsRails_collectionGroup", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "groupType", "args": null, + "kind": "ScalarField", + "name": "groupType", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "members", - "storageKey": null, "args": null, "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "members", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, { - "kind": "ScalarField", "alias": "price_guidance", - "name": "priceGuidance", "args": null, + "kind": "ScalarField", + "name": "priceGuidance", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "thumbnail", "args": null, + "kind": "ScalarField", + "name": "thumbnail", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "MarketingCollectionGroup" }; (node as any).hash = 'dc85cfd2b23294d0d678a66eaf966810'; export default node; diff --git a/src/v2/__generated__/FeaturedCollections_collections.graphql.ts b/src/v2/__generated__/FeaturedCollections_collections.graphql.ts index 703edcf85c0..b1f24d11005 100644 --- a/src/v2/__generated__/FeaturedCollections_collections.graphql.ts +++ b/src/v2/__generated__/FeaturedCollections_collections.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -16,29 +17,29 @@ export type FeaturedCollections_collections$key = ReadonlyArray<{ const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FeaturedCollections_collections", - "type": "MarketingCollection", "metadata": { "plural": true }, - "argumentDefinitions": [], + "name": "FeaturedCollections_collections", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null } - ] + ], + "type": "MarketingCollection" }; (node as any).hash = '720a140afbc9737e088d614b85ca3a31'; export default node; diff --git a/src/v2/__generated__/FeaturedFairs_fairs.graphql.ts b/src/v2/__generated__/FeaturedFairs_fairs.graphql.ts index f781d13df8e..905c02672a7 100644 --- a/src/v2/__generated__/FeaturedFairs_fairs.graphql.ts +++ b/src/v2/__generated__/FeaturedFairs_fairs.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -17,36 +18,36 @@ export type FeaturedFairs_fairs$key = ReadonlyArray<{ const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FeaturedFairs_fairs", - "type": "Fair", "metadata": { "plural": true }, - "argumentDefinitions": [], + "name": "FeaturedFairs_fairs", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null } - ] + ], + "type": "Fair" }; (node as any).hash = '52dfbf0cf61e285fd9a85c6015098cd0'; export default node; diff --git a/src/v2/__generated__/FeaturedRails_viewer.graphql.ts b/src/v2/__generated__/FeaturedRails_viewer.graphql.ts index fc91fb2b8c9..14083634fc5 100644 --- a/src/v2/__generated__/FeaturedRails_viewer.graphql.ts +++ b/src/v2/__generated__/FeaturedRails_viewer.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -23,59 +24,55 @@ export type FeaturedRails_viewer$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "FeaturedRails_viewer", - "type": "Viewer", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": null, "kind": "LocalArgument", "name": "collectionRailItemIDs", - "type": "[String!]", - "defaultValue": null + "type": "[String!]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "auctionRailItemIDs", - "type": "[String!]", - "defaultValue": null + "type": "[String!]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "fairRailItemIDs", - "type": "[String!]", - "defaultValue": null + "type": "[String!]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasCollectionRailItems", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasAuctionRailItems", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasFairRailItems", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" } ], + "kind": "Fragment", + "metadata": null, + "name": "FeaturedRails_viewer", "selections": [ { + "condition": "hasCollectionRailItems", "kind": "Condition", "passingValue": true, - "condition": "hasCollectionRailItems", "selections": [ { - "kind": "LinkedField", "alias": "collections", - "name": "marketingCollections", - "storageKey": null, "args": [ { "kind": "Variable", @@ -84,27 +81,27 @@ const node: ReaderFragment = { } ], "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingCollections", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "FeaturedCollections_collections", - "args": null + "name": "FeaturedCollections_collections" } - ] + ], + "storageKey": null } ] }, { + "condition": "hasAuctionRailItems", "kind": "Condition", "passingValue": true, - "condition": "hasAuctionRailItems", "selections": [ { - "kind": "LinkedField", "alias": "auctions", - "name": "salesConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -118,27 +115,27 @@ const node: ReaderFragment = { } ], "concreteType": "SaleConnection", + "kind": "LinkedField", + "name": "salesConnection", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "FeaturedAuctions_auctions", - "args": null + "name": "FeaturedAuctions_auctions" } - ] + ], + "storageKey": null } ] }, { + "condition": "hasFairRailItems", "kind": "Condition", "passingValue": true, - "condition": "hasFairRailItems", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "fairs", - "storageKey": null, "args": [ { "kind": "Variable", @@ -147,18 +144,22 @@ const node: ReaderFragment = { } ], "concreteType": "Fair", + "kind": "LinkedField", + "name": "fairs", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "FeaturedFairs_fairs", - "args": null + "name": "FeaturedFairs_fairs" } - ] + ], + "storageKey": null } ] } - ] + ], + "type": "Viewer" }; (node as any).hash = 'ba391e3daccaeda0cdcefe24f1e66c7f'; export default node; diff --git a/src/v2/__generated__/FillwidthItem_artwork.graphql.ts b/src/v2/__generated__/FillwidthItem_artwork.graphql.ts index 63b1fbb118e..f293f309750 100644 --- a/src/v2/__generated__/FillwidthItem_artwork.graphql.ts +++ b/src/v2/__generated__/FillwidthItem_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -22,25 +23,21 @@ export type FillwidthItem_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FillwidthItem_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "FillwidthItem_artwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -48,54 +45,58 @@ const node: ReaderFragment = { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Metadata_artwork", - "args": null + "name": "Metadata_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "Save_artwork", - "args": null + "name": "Save_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "Badge_artwork", - "args": null + "name": "Badge_artwork" } - ] + ], + "type": "Artwork" }; (node as any).hash = '7c690a2390e9f5a0ad834b2cba4ed7a6'; export default node; diff --git a/src/v2/__generated__/FillwidthQuery.graphql.ts b/src/v2/__generated__/FillwidthQuery.graphql.ts index 630d0d27ed7..cb7f3b2c203 100644 --- a/src/v2/__generated__/FillwidthQuery.graphql.ts +++ b/src/v2/__generated__/FillwidthQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -148,10 +149,10 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -169,17 +170,17 @@ v2 = [ } ], v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v5 = [ @@ -190,121 +191,114 @@ v5 = [ } ], v6 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v7 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "FillwidthQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "FillwidthQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "artworks", - "name": "artworksConnection", - "storageKey": "artworksConnection(first:6)", "args": (v2/*: any*/), "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Fillwidth_artworks", - "args": null + "name": "Fillwidth_artworks" } - ] + ], + "storageKey": "artworksConnection(first:6)" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "FillwidthQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "artworks", - "name": "artworksConnection", - "storageKey": "artworksConnection(first:6)", "args": (v2/*: any*/), "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -312,244 +306,251 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v5/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v3/*: any*/), (v4/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v5/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v6/*: any*/), (v4/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:6)" }, (v3/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "FillwidthQuery", "id": null, - "text": "query FillwidthQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n artworks: artworksConnection(first: 6) {\n ...Fillwidth_artworks\n }\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Fillwidth_artworks on ArtworkConnection {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "FillwidthQuery", + "operationKind": "query", + "text": "query FillwidthQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n artworks: artworksConnection(first: 6) {\n ...Fillwidth_artworks\n }\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Fillwidth_artworks on ArtworkConnection {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/Fillwidth_artworks.graphql.ts b/src/v2/__generated__/Fillwidth_artworks.graphql.ts index 7ee2249689a..c046d7cf6fb 100644 --- a/src/v2/__generated__/Fillwidth_artworks.graphql.ts +++ b/src/v2/__generated__/Fillwidth_artworks.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -23,65 +24,65 @@ export type Fillwidth_artworks$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Fillwidth_artworks", - "type": "ArtworkConnection", "metadata": null, - "argumentDefinitions": [], + "name": "Fillwidth_artworks", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "FillwidthItem_artwork", - "args": null + "name": "FillwidthItem_artwork" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "ArtworkConnection" }; (node as any).hash = '9b77dfaad4a1239bd6d4dd567c95d70e'; export default node; diff --git a/src/v2/__generated__/FlashBannerQuery.graphql.ts b/src/v2/__generated__/FlashBannerQuery.graphql.ts index 9d71e9ca76b..519f5315dcf 100644 --- a/src/v2/__generated__/FlashBannerQuery.graphql.ts +++ b/src/v2/__generated__/FlashBannerQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type FlashBannerQueryVariables = {}; @@ -25,67 +26,67 @@ query FlashBannerQuery { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "canRequestEmailConfirmation", "args": null, + "kind": "ScalarField", + "name": "canRequestEmailConfirmation", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FlashBannerQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "FlashBannerQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "FlashBannerQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "FlashBannerQuery", "id": null, - "text": "query FlashBannerQuery {\n me {\n canRequestEmailConfirmation\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "FlashBannerQuery", + "operationKind": "query", + "text": "query FlashBannerQuery {\n me {\n canRequestEmailConfirmation\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/FlashBannerTestQuery.graphql.ts b/src/v2/__generated__/FlashBannerTestQuery.graphql.ts index 9f35e271904..c1763e7342f 100644 --- a/src/v2/__generated__/FlashBannerTestQuery.graphql.ts +++ b/src/v2/__generated__/FlashBannerTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type FlashBannerTestQueryVariables = {}; @@ -32,67 +33,67 @@ query FlashBannerTestQuery { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "canRequestEmailConfirmation", "args": null, + "kind": "ScalarField", + "name": "canRequestEmailConfirmation", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FlashBannerTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "FlashBannerTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "FlashBannerTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "FlashBannerTestQuery", "id": null, - "text": "query FlashBannerTestQuery {\n me {\n canRequestEmailConfirmation\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "FlashBannerTestQuery", + "operationKind": "query", + "text": "query FlashBannerTestQuery {\n me {\n canRequestEmailConfirmation\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/FollowArtistButtonMutation.graphql.ts b/src/v2/__generated__/FollowArtistButtonMutation.graphql.ts index 6e00b7fc96f..84defa2640c 100644 --- a/src/v2/__generated__/FollowArtistButtonMutation.graphql.ts +++ b/src/v2/__generated__/FollowArtistButtonMutation.graphql.ts @@ -1,10 +1,11 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type FollowArtistInput = { - readonly artistID: string; - readonly clientMutationId?: string | null; - readonly unfollow?: boolean | null; + artistID: string; + clientMutationId?: string | null; + unfollow?: boolean | null; }; export type FollowArtistButtonMutationVariables = { input: FollowArtistInput; @@ -46,18 +47,15 @@ mutation FollowArtistButtonMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "FollowArtistInput!", - "defaultValue": null + "type": "FollowArtistInput!" } ], v1 = [ { - "kind": "LinkedField", "alias": null, - "name": "followArtist", - "storageKey": null, "args": [ { "kind": "Variable", @@ -66,76 +64,79 @@ v1 = [ } ], "concreteType": "FollowArtistPayload", + "kind": "LinkedField", + "name": "followArtist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "FollowArtistButtonMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), - "selections": (v1/*: any*/) + "name": "FollowArtistButtonMutation", + "selections": (v1/*: any*/), + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "FollowArtistButtonMutation", - "argumentDefinitions": (v0/*: any*/), "selections": (v1/*: any*/) }, "params": { - "operationKind": "mutation", - "name": "FollowArtistButtonMutation", "id": null, - "text": "mutation FollowArtistButtonMutation(\n $input: FollowArtistInput!\n) {\n followArtist(input: $input) {\n artist {\n id\n is_followed: isFollowed\n counts {\n follows\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "FollowArtistButtonMutation", + "operationKind": "mutation", + "text": "mutation FollowArtistButtonMutation(\n $input: FollowArtistInput!\n) {\n followArtist(input: $input) {\n artist {\n id\n is_followed: isFollowed\n counts {\n follows\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/FollowArtistButton_artist.graphql.ts b/src/v2/__generated__/FollowArtistButton_artist.graphql.ts index c14403ea8bb..e3ad55ea554 100644 --- a/src/v2/__generated__/FollowArtistButton_artist.graphql.ts +++ b/src/v2/__generated__/FollowArtistButton_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -22,78 +23,78 @@ export type FollowArtistButton_artist$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "FollowArtistButton_artist", - "type": "Artist", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": false, "kind": "LocalArgument", "name": "showFollowSuggestions", - "type": "Boolean", - "defaultValue": false + "type": "Boolean" } ], + "kind": "Fragment", + "metadata": null, + "name": "FollowArtistButton_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null }, { + "condition": "showFollowSuggestions", "kind": "Condition", "passingValue": true, - "condition": "showFollowSuggestions", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "FollowArtistPopover_artist", - "args": null + "name": "FollowArtistPopover_artist" } ] } - ] + ], + "type": "Artist" }; (node as any).hash = '560d15156b37402c50ee7572d14c9eca'; export default node; diff --git a/src/v2/__generated__/FollowArtistMutation.graphql.ts b/src/v2/__generated__/FollowArtistMutation.graphql.ts index 19cd93db9d4..0ab4a504486 100644 --- a/src/v2/__generated__/FollowArtistMutation.graphql.ts +++ b/src/v2/__generated__/FollowArtistMutation.graphql.ts @@ -1,10 +1,11 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type FollowArtistInput = { - readonly artistID: string; - readonly clientMutationId?: string | null; - readonly unfollow?: boolean | null; + artistID: string; + clientMutationId?: string | null; + unfollow?: boolean | null; }; export type FollowArtistMutationVariables = { input: FollowArtistInput; @@ -40,18 +41,15 @@ mutation FollowArtistMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "FollowArtistInput!", - "defaultValue": null + "type": "FollowArtistInput!" } ], v1 = [ { - "kind": "LinkedField", "alias": null, - "name": "followArtist", - "storageKey": null, "args": [ { "kind": "Variable", @@ -60,58 +58,61 @@ v1 = [ } ], "concreteType": "FollowArtistPayload", + "kind": "LinkedField", + "name": "followArtist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "FollowArtistMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), - "selections": (v1/*: any*/) + "name": "FollowArtistMutation", + "selections": (v1/*: any*/), + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "FollowArtistMutation", - "argumentDefinitions": (v0/*: any*/), "selections": (v1/*: any*/) }, "params": { - "operationKind": "mutation", - "name": "FollowArtistMutation", "id": null, - "text": "mutation FollowArtistMutation(\n $input: FollowArtistInput!\n) {\n followArtist(input: $input) {\n artist {\n id\n is_followed: isFollowed\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "FollowArtistMutation", + "operationKind": "mutation", + "text": "mutation FollowArtistMutation(\n $input: FollowArtistInput!\n) {\n followArtist(input: $input) {\n artist {\n id\n is_followed: isFollowed\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/FollowArtistPopoverQuery.graphql.ts b/src/v2/__generated__/FollowArtistPopoverQuery.graphql.ts index 82460606f6a..d40b65836ea 100644 --- a/src/v2/__generated__/FollowArtistPopoverQuery.graphql.ts +++ b/src/v2/__generated__/FollowArtistPopoverQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -55,10 +56,10 @@ fragment FollowArtistPopover_artist on Artist { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -69,67 +70,62 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "FollowArtistPopoverQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "FollowArtistPopoverQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "FollowArtistPopover_artist", - "args": null + "name": "FollowArtistPopover_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "FollowArtistPopoverQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "suggestedConnection", - "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)", "args": [ { "kind": "Literal", @@ -143,55 +139,51 @@ return { } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "suggestedConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:45,width:45)", "args": [ { "kind": "Literal", @@ -205,38 +197,47 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:45,width:45)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)" } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "FollowArtistPopoverQuery", "id": null, - "text": "query FollowArtistPopoverQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...FollowArtistPopover_artist\n id\n }\n}\n\nfragment FollowArtistPopoverRow_artist on Artist {\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n}\n\nfragment FollowArtistPopover_artist on Artist {\n related {\n suggestedConnection(first: 3, excludeFollowedArtists: true) {\n edges {\n node {\n id\n internalID\n ...FollowArtistPopoverRow_artist\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "FollowArtistPopoverQuery", + "operationKind": "query", + "text": "query FollowArtistPopoverQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...FollowArtistPopover_artist\n id\n }\n}\n\nfragment FollowArtistPopoverRow_artist on Artist {\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n}\n\nfragment FollowArtistPopover_artist on Artist {\n related {\n suggestedConnection(first: 3, excludeFollowedArtists: true) {\n edges {\n node {\n id\n internalID\n ...FollowArtistPopoverRow_artist\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/FollowArtistPopoverRowMutation.graphql.ts b/src/v2/__generated__/FollowArtistPopoverRowMutation.graphql.ts index 105b042568b..810a8370a30 100644 --- a/src/v2/__generated__/FollowArtistPopoverRowMutation.graphql.ts +++ b/src/v2/__generated__/FollowArtistPopoverRowMutation.graphql.ts @@ -1,14 +1,15 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type FollowArtistInput = { - readonly artistID: string; - readonly clientMutationId?: string | null; - readonly unfollow?: boolean | null; + artistID: string; + clientMutationId?: string | null; + unfollow?: boolean | null; }; export type FollowArtistPopoverRowMutationVariables = { input: FollowArtistInput; - excludeArtistIds: ReadonlyArray; + excludeArtistIds: Array; }; export type FollowArtistPopoverRowMutationResponse = { readonly followArtist: { @@ -72,31 +73,28 @@ mutation FollowArtistPopoverRowMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "FollowArtistInput!", - "defaultValue": null + "type": "FollowArtistInput!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "excludeArtistIds", - "type": "[String]!", - "defaultValue": null + "type": "[String]!" } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v2 = [ { - "kind": "LinkedField", "alias": null, - "name": "followArtist", - "storageKey": null, "args": [ { "kind": "Variable", @@ -105,32 +103,29 @@ v2 = [ } ], "concreteType": "FollowArtistPayload", + "kind": "LinkedField", + "name": "followArtist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "suggestedConnection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -149,55 +144,51 @@ v2 = [ } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "suggestedConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:45,width:45)", "args": [ { "kind": "Literal", @@ -211,54 +202,64 @@ v2 = [ } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:45,width:45)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "FollowArtistPopoverRowMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), - "selections": (v2/*: any*/) + "name": "FollowArtistPopoverRowMutation", + "selections": (v2/*: any*/), + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "FollowArtistPopoverRowMutation", - "argumentDefinitions": (v0/*: any*/), "selections": (v2/*: any*/) }, "params": { - "operationKind": "mutation", - "name": "FollowArtistPopoverRowMutation", "id": null, - "text": "mutation FollowArtistPopoverRowMutation(\n $input: FollowArtistInput!\n $excludeArtistIds: [String]!\n) {\n followArtist(input: $input) {\n artist {\n id\n related {\n suggestedConnection(first: 1, excludeFollowedArtists: true, excludeArtistIDs: $excludeArtistIds) {\n edges {\n node {\n id\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "FollowArtistPopoverRowMutation", + "operationKind": "mutation", + "text": "mutation FollowArtistPopoverRowMutation(\n $input: FollowArtistInput!\n $excludeArtistIds: [String]!\n) {\n followArtist(input: $input) {\n artist {\n id\n related {\n suggestedConnection(first: 1, excludeFollowedArtists: true, excludeArtistIDs: $excludeArtistIds) {\n edges {\n node {\n id\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/FollowArtistPopoverRow_artist.graphql.ts b/src/v2/__generated__/FollowArtistPopoverRow_artist.graphql.ts index 7417831fbce..658e7e58c82 100644 --- a/src/v2/__generated__/FollowArtistPopoverRow_artist.graphql.ts +++ b/src/v2/__generated__/FollowArtistPopoverRow_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -21,40 +22,35 @@ export type FollowArtistPopoverRow_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FollowArtistPopoverRow_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "FollowArtistPopoverRow_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:45,width:45)", "args": [ { "kind": "Literal", @@ -68,20 +64,25 @@ const node: ReaderFragment = { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:45,width:45)" } - ] + ], + "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = 'd84437134bc4bd985ba4e09cb554e080'; export default node; diff --git a/src/v2/__generated__/FollowArtistPopover_Test_Query.graphql.ts b/src/v2/__generated__/FollowArtistPopover_Test_Query.graphql.ts index 9839f725fbc..874d3bdbb00 100644 --- a/src/v2/__generated__/FollowArtistPopover_Test_Query.graphql.ts +++ b/src/v2/__generated__/FollowArtistPopover_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -77,10 +78,10 @@ fragment FollowArtistPopover_artist on Artist { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -91,67 +92,62 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "FollowArtistPopover_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "FollowArtistPopover_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "FollowArtistPopover_artist", - "args": null + "name": "FollowArtistPopover_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "FollowArtistPopover_Test_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "suggestedConnection", - "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)", "args": [ { "kind": "Literal", @@ -165,55 +161,51 @@ return { } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "suggestedConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:45,width:45)", "args": [ { "kind": "Literal", @@ -227,38 +219,47 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:45,width:45)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)" } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "FollowArtistPopover_Test_Query", "id": null, - "text": "query FollowArtistPopover_Test_Query(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...FollowArtistPopover_artist\n id\n }\n}\n\nfragment FollowArtistPopoverRow_artist on Artist {\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n}\n\nfragment FollowArtistPopover_artist on Artist {\n related {\n suggestedConnection(first: 3, excludeFollowedArtists: true) {\n edges {\n node {\n id\n internalID\n ...FollowArtistPopoverRow_artist\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "FollowArtistPopover_Test_Query", + "operationKind": "query", + "text": "query FollowArtistPopover_Test_Query(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...FollowArtistPopover_artist\n id\n }\n}\n\nfragment FollowArtistPopoverRow_artist on Artist {\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n}\n\nfragment FollowArtistPopover_artist on Artist {\n related {\n suggestedConnection(first: 3, excludeFollowedArtists: true) {\n edges {\n node {\n id\n internalID\n ...FollowArtistPopoverRow_artist\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/FollowArtistPopover_artist.graphql.ts b/src/v2/__generated__/FollowArtistPopover_artist.graphql.ts index 014d39a99a7..6f087ce8b9f 100644 --- a/src/v2/__generated__/FollowArtistPopover_artist.graphql.ts +++ b/src/v2/__generated__/FollowArtistPopover_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -25,26 +26,21 @@ export type FollowArtistPopover_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FollowArtistPopover_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "FollowArtistPopover_artist", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "suggestedConnection", - "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)", "args": [ { "kind": "Literal", @@ -58,54 +54,59 @@ const node: ReaderFragment = { } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "suggestedConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "FollowArtistPopoverRow_artist", - "args": null + "name": "FollowArtistPopoverRow_artist" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)" } - ] + ], + "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = '90657ea28fda4ad1f17942932ad1d208'; export default node; diff --git a/src/v2/__generated__/FollowGeneButtonMutation.graphql.ts b/src/v2/__generated__/FollowGeneButtonMutation.graphql.ts index 1e4286f6b16..9f08f1d1b15 100644 --- a/src/v2/__generated__/FollowGeneButtonMutation.graphql.ts +++ b/src/v2/__generated__/FollowGeneButtonMutation.graphql.ts @@ -1,9 +1,10 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type FollowGeneInput = { - readonly clientMutationId?: string | null; - readonly geneID?: string | null; + clientMutationId?: string | null; + geneID?: string | null; }; export type FollowGeneButtonMutationVariables = { input: FollowGeneInput; @@ -39,18 +40,15 @@ mutation FollowGeneButtonMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "FollowGeneInput!", - "defaultValue": null + "type": "FollowGeneInput!" } ], v1 = [ { - "kind": "LinkedField", "alias": null, - "name": "followGene", - "storageKey": null, "args": [ { "kind": "Variable", @@ -59,58 +57,61 @@ v1 = [ } ], "concreteType": "FollowGenePayload", + "kind": "LinkedField", + "name": "followGene", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "gene", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "gene", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "FollowGeneButtonMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), - "selections": (v1/*: any*/) + "name": "FollowGeneButtonMutation", + "selections": (v1/*: any*/), + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "FollowGeneButtonMutation", - "argumentDefinitions": (v0/*: any*/), "selections": (v1/*: any*/) }, "params": { - "operationKind": "mutation", - "name": "FollowGeneButtonMutation", "id": null, - "text": "mutation FollowGeneButtonMutation(\n $input: FollowGeneInput!\n) {\n followGene(input: $input) {\n gene {\n id\n is_followed: isFollowed\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "FollowGeneButtonMutation", + "operationKind": "mutation", + "text": "mutation FollowGeneButtonMutation(\n $input: FollowGeneInput!\n) {\n followGene(input: $input) {\n gene {\n id\n is_followed: isFollowed\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/FollowGeneButton_gene.graphql.ts b/src/v2/__generated__/FollowGeneButton_gene.graphql.ts index 699f64578d2..8255cf372b9 100644 --- a/src/v2/__generated__/FollowGeneButton_gene.graphql.ts +++ b/src/v2/__generated__/FollowGeneButton_gene.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -17,34 +18,34 @@ export type FollowGeneButton_gene$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FollowGeneButton_gene", - "type": "Gene", "metadata": null, - "argumentDefinitions": [], + "name": "FollowGeneButton_gene", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null } - ] + ], + "type": "Gene" }; (node as any).hash = '27bbf9c0d8426586f13fe1dacb54b489'; export default node; diff --git a/src/v2/__generated__/FollowProfileButtonMutation.graphql.ts b/src/v2/__generated__/FollowProfileButtonMutation.graphql.ts index 763e4724c42..cf10833270d 100644 --- a/src/v2/__generated__/FollowProfileButtonMutation.graphql.ts +++ b/src/v2/__generated__/FollowProfileButtonMutation.graphql.ts @@ -1,10 +1,11 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type FollowProfileInput = { - readonly clientMutationId?: string | null; - readonly profileID?: string | null; - readonly unfollow?: boolean | null; + clientMutationId?: string | null; + profileID?: string | null; + unfollow?: boolean | null; }; export type FollowProfileButtonMutationVariables = { input: FollowProfileInput; @@ -40,18 +41,15 @@ mutation FollowProfileButtonMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "FollowProfileInput!", - "defaultValue": null + "type": "FollowProfileInput!" } ], v1 = [ { - "kind": "LinkedField", "alias": null, - "name": "followProfile", - "storageKey": null, "args": [ { "kind": "Variable", @@ -60,58 +58,61 @@ v1 = [ } ], "concreteType": "FollowProfilePayload", + "kind": "LinkedField", + "name": "followProfile", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "FollowProfileButtonMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), - "selections": (v1/*: any*/) + "name": "FollowProfileButtonMutation", + "selections": (v1/*: any*/), + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "FollowProfileButtonMutation", - "argumentDefinitions": (v0/*: any*/), "selections": (v1/*: any*/) }, "params": { - "operationKind": "mutation", - "name": "FollowProfileButtonMutation", "id": null, - "text": "mutation FollowProfileButtonMutation(\n $input: FollowProfileInput!\n) {\n followProfile(input: $input) {\n profile {\n id\n is_followed: isFollowed\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "FollowProfileButtonMutation", + "operationKind": "mutation", + "text": "mutation FollowProfileButtonMutation(\n $input: FollowProfileInput!\n) {\n followProfile(input: $input) {\n profile {\n id\n is_followed: isFollowed\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/FollowProfileButton_profile.graphql.ts b/src/v2/__generated__/FollowProfileButton_profile.graphql.ts index 8759c8a2464..102f5bc914e 100644 --- a/src/v2/__generated__/FollowProfileButton_profile.graphql.ts +++ b/src/v2/__generated__/FollowProfileButton_profile.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -17,34 +18,34 @@ export type FollowProfileButton_profile$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "FollowProfileButton_profile", - "type": "Profile", "metadata": null, - "argumentDefinitions": [], + "name": "FollowProfileButton_profile", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null } - ] + ], + "type": "Profile" }; (node as any).hash = '377ae8b366b06be26ad5ce795bb56144'; export default node; diff --git a/src/v2/__generated__/Follow_artist.graphql.ts b/src/v2/__generated__/Follow_artist.graphql.ts index 00e8bbeab68..1cebe5dae02 100644 --- a/src/v2/__generated__/Follow_artist.graphql.ts +++ b/src/v2/__generated__/Follow_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -18,41 +19,41 @@ export type Follow_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Follow_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "Follow_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = 'a79fc7c37e66978ac1b86bac912ac995'; export default node; diff --git a/src/v2/__generated__/GeneArtworksPaginationQuery.graphql.ts b/src/v2/__generated__/GeneArtworksPaginationQuery.graphql.ts index 7e585906daf..68157c2acde 100644 --- a/src/v2/__generated__/GeneArtworksPaginationQuery.graphql.ts +++ b/src/v2/__generated__/GeneArtworksPaginationQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -226,52 +227,52 @@ fragment TotalCount_filter_artworks on FilterArtworksConnection { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "geneID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "count", - "type": "Int!", - "defaultValue": null + "type": "Int!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "cursor", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "dimensionRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" } ], v1 = [ @@ -307,10 +308,10 @@ v6 = { "variableName": "sort" }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v8 = [ @@ -346,31 +347,31 @@ v8 = [ (v6/*: any*/) ], v9 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v13 = [ @@ -382,10 +383,10 @@ v13 = [ ], v14 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], @@ -393,26 +394,21 @@ v15 = [ (v9/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "GeneArtworksPaginationQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "GeneArtworksPaginationQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "gene", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Gene", + "kind": "LinkedField", + "name": "gene", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "GeneArtworks_gene", "args": [ { "kind": "Variable", @@ -429,180 +425,178 @@ return { (v4/*: any*/), (v5/*: any*/), (v6/*: any*/) - ] + ], + "kind": "FragmentSpread", + "name": "GeneArtworks_gene" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "GeneArtworksPaginationQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "gene", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Gene", + "kind": "LinkedField", + "name": "gene", "plural": false, "selections": [ (v7/*: any*/), { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "filterArtworksConnection", - "storageKey": null, "args": (v8/*: any*/), "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "FilterArtworksCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "total", "args": null, + "kind": "ScalarField", + "name": "total", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v10/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ (v11/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v10/*: any*/), (v7/*: any*/), (v12/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -610,257 +604,259 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v13/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v10/*: any*/), (v12/*: any*/), (v9/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v13/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v9/*: any*/), (v12/*: any*/), (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v10/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "storageKey": null }, (v10/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, (v11/*: any*/) - ] + ], + "storageKey": null }, (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "facet", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "facet", "plural": false, "selections": [ (v11/*: any*/), (v10/*: any*/), { "kind": "InlineFragment", - "type": "Tag", - "selections": (v15/*: any*/) + "selections": (v15/*: any*/), + "type": "Tag" }, { "kind": "InlineFragment", - "type": "Gene", - "selections": (v15/*: any*/) + "selections": (v15/*: any*/), + "type": "Gene" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": "filtered_artworks", - "name": "filterArtworksConnection", "args": (v8/*: any*/), - "handle": "connection", - "key": "GeneArtworks_filtered_artworks", "filters": [ "aggregations", "forSale", @@ -869,19 +865,24 @@ return { "dimensionRange", "includeMediumFilterInAggregation", "sort" - ] + ], + "handle": "connection", + "key": "GeneArtworks_filtered_artworks", + "kind": "LinkedHandle", + "name": "filterArtworksConnection" }, (v10/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "GeneArtworksPaginationQuery", "id": null, - "text": "query GeneArtworksPaginationQuery(\n $geneID: String!\n $count: Int!\n $cursor: String\n $sort: String\n $priceRange: String\n $dimensionRange: String\n $medium: String\n $forSale: Boolean\n) {\n gene(id: $geneID) {\n ...GeneArtworks_gene_1QTmdc\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Dropdown_aggregation on ArtworksAggregationResults {\n slice\n counts {\n name\n value\n count\n }\n}\n\nfragment GeneArtworks_gene_1QTmdc on Gene {\n slug\n filtered_artworks: filterArtworksConnection(aggregations: [MEDIUM, TOTAL, PRICE_RANGE, DIMENSION_RANGE], forSale: $forSale, medium: $medium, priceRange: $priceRange, dimensionRange: $dimensionRange, includeMediumFilterInAggregation: true, first: $count, after: $cursor, sort: $sort) {\n ...TotalCount_filter_artworks\n aggregations {\n slice\n counts {\n name\n value\n }\n ...Dropdown_aggregation\n }\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n facet {\n __typename\n ...Headline_facet\n ... on Node {\n id\n }\n }\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Headline_facet on ArtworkFilterFacet {\n ... on Tag {\n name\n }\n ... on Gene {\n name\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment TotalCount_filter_artworks on FilterArtworksConnection {\n counts {\n total\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "GeneArtworksPaginationQuery", + "operationKind": "query", + "text": "query GeneArtworksPaginationQuery(\n $geneID: String!\n $count: Int!\n $cursor: String\n $sort: String\n $priceRange: String\n $dimensionRange: String\n $medium: String\n $forSale: Boolean\n) {\n gene(id: $geneID) {\n ...GeneArtworks_gene_1QTmdc\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Dropdown_aggregation on ArtworksAggregationResults {\n slice\n counts {\n name\n value\n count\n }\n}\n\nfragment GeneArtworks_gene_1QTmdc on Gene {\n slug\n filtered_artworks: filterArtworksConnection(aggregations: [MEDIUM, TOTAL, PRICE_RANGE, DIMENSION_RANGE], forSale: $forSale, medium: $medium, priceRange: $priceRange, dimensionRange: $dimensionRange, includeMediumFilterInAggregation: true, first: $count, after: $cursor, sort: $sort) {\n ...TotalCount_filter_artworks\n aggregations {\n slice\n counts {\n name\n value\n }\n ...Dropdown_aggregation\n }\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n facet {\n __typename\n ...Headline_facet\n ... on Node {\n id\n }\n }\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Headline_facet on ArtworkFilterFacet {\n ... on Tag {\n name\n }\n ... on Gene {\n name\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment TotalCount_filter_artworks on FilterArtworksConnection {\n counts {\n total\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/GeneArtworks_gene.graphql.ts b/src/v2/__generated__/GeneArtworks_gene.graphql.ts index dde2a42265e..4650085e77e 100644 --- a/src/v2/__generated__/GeneArtworks_gene.graphql.ts +++ b/src/v2/__generated__/GeneArtworks_gene.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS" | "GALLERY" | "INSTITUTION" | "MAJOR_PERIOD" | "MEDIUM" | "MERCHANDISABLE_ARTISTS" | "PARTNER_CITY" | "PERIOD" | "PRICE_RANGE" | "TOTAL" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS" | "GALLERY" | "INSTITUTION" | "MAJOR_PERIOD" | "MEDIUM" | "MERCHANDISABLE_ARTISTS" | "PARTNER_CITY" | "PERIOD" | "PRICE_RANGE" | "TOTAL" | "%future added value"; export type GeneArtworks_gene = { readonly slug: string; readonly filtered_artworks: { @@ -41,96 +42,92 @@ export type GeneArtworks_gene$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Fragment", - "name": "GeneArtworks_gene", - "type": "Gene", - "metadata": { - "connection": [ - { - "count": "count", - "cursor": "cursor", - "direction": "forward", - "path": [ - "filtered_artworks" - ] - } - ] - }, "argumentDefinitions": [ { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": "*", "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": "*" + "type": "String" }, { - "kind": "LocalArgument", - "name": "aggregations", - "type": "[ArtworkAggregation]", "defaultValue": [ "MEDIUM", "TOTAL", "PRICE_RANGE", "DIMENSION_RANGE" - ] + ], + "kind": "LocalArgument", + "name": "aggregations", + "type": "[ArtworkAggregation]" }, { + "defaultValue": "*", "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": "*" + "type": "String" }, { + "defaultValue": "*", "kind": "LocalArgument", "name": "dimensionRange", - "type": "String", - "defaultValue": "*" + "type": "String" }, { + "defaultValue": 10, "kind": "LocalArgument", "name": "count", - "type": "Int", - "defaultValue": 10 + "type": "Int" }, { + "defaultValue": "", "kind": "LocalArgument", "name": "cursor", - "type": "String", - "defaultValue": "" + "type": "String" }, { + "defaultValue": "-partner_updated_at", "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": "-partner_updated_at" + "type": "String" } ], + "kind": "Fragment", + "metadata": { + "connection": [ + { + "count": "count", + "cursor": "cursor", + "direction": "forward", + "path": [ + "filtered_artworks" + ] + } + ] + }, + "name": "GeneArtworks_gene", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "__GeneArtworks_filtered_artworks_connection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -169,148 +166,152 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "__GeneArtworks_filtered_artworks_connection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Dropdown_aggregation", - "args": null + "name": "Dropdown_aggregation" } - ] + ], + "storageKey": null }, (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "facet", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "facet", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Headline_facet", - "args": null + "name": "Headline_facet" } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "TotalCount_filter_artworks", - "args": null + "name": "TotalCount_filter_artworks" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkGrid_artworks", - "args": null + "name": "ArtworkGrid_artworks" } - ] + ], + "storageKey": null } - ] + ], + "type": "Gene" }; })(); (node as any).hash = 'b01d2dade7bee09c755965c23ca51464'; diff --git a/src/v2/__generated__/GeneContentsArtistsQuery.graphql.ts b/src/v2/__generated__/GeneContentsArtistsQuery.graphql.ts index d66e0e3ba46..e6d0c49f8e6 100644 --- a/src/v2/__generated__/GeneContentsArtistsQuery.graphql.ts +++ b/src/v2/__generated__/GeneContentsArtistsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -201,10 +202,10 @@ fragment TotalCount_filter_artworks on FilterArtworksConnection { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "geneID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -215,10 +216,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = [ @@ -234,24 +235,24 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v7 = [ @@ -263,105 +264,101 @@ v7 = [ ], v8 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "GeneContentsArtistsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "GeneContentsArtistsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "gene", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Gene", + "kind": "LinkedField", + "name": "gene", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Artists_gene", - "args": null + "name": "Artists_gene" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "GeneContentsArtistsQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "gene", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Gene", + "kind": "LinkedField", + "name": "gene", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": "artists", - "name": "artistsConnection", - "storageKey": "artistsConnection(after:\"\",first:10)", "args": (v3/*: any*/), "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "artistsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), @@ -369,17 +366,14 @@ return { (v5/*: any*/), (v6/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": "artworks", - "name": "artworksConnection", - "storageKey": "artworksConnection(first:6)", "args": [ { "kind": "Literal", @@ -388,47 +382,44 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -436,261 +427,267 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v7/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v2/*: any*/), (v5/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v7/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v4/*: any*/), (v5/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:6)" }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artistsConnection(after:\"\",first:10)" }, { - "kind": "LinkedHandle", "alias": "artists", - "name": "artistsConnection", "args": (v3/*: any*/), + "filters": null, "handle": "connection", "key": "Artists_artists", - "filters": null + "kind": "LinkedHandle", + "name": "artistsConnection" }, { - "kind": "LinkedField", "alias": "filter_aggregations", - "name": "filterArtworksConnection", - "storageKey": "filterArtworksConnection(aggregations:[\"MEDIUM\",\"TOTAL\",\"PRICE_RANGE\",\"DIMENSION_RANGE\"],includeMediumFilterInAggregation:true,size:0)", "args": [ { "kind": "Literal", @@ -714,83 +711,87 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "FilterArtworksCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "total", "args": null, + "kind": "ScalarField", + "name": "total", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": "filterArtworksConnection(aggregations:[\"MEDIUM\",\"TOTAL\",\"PRICE_RANGE\",\"DIMENSION_RANGE\"],includeMediumFilterInAggregation:true,size:0)" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "GeneContentsArtistsQuery", "id": null, - "text": "query GeneContentsArtistsQuery(\n $geneID: String!\n) {\n gene(id: $geneID) {\n ...Artists_gene\n id\n }\n}\n\nfragment ArtistRow_artist on Artist {\n name\n href\n ...Follow_artist\n artworks: artworksConnection(first: 6) {\n ...Fillwidth_artworks\n }\n}\n\nfragment Artists_gene on Gene {\n id\n artists: artistsConnection(first: 10, after: \"\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n ...ArtistRow_artist\n __typename\n }\n cursor\n }\n }\n filter_aggregations: filterArtworksConnection(aggregations: [MEDIUM, TOTAL, PRICE_RANGE, DIMENSION_RANGE], size: 0, includeMediumFilterInAggregation: true) {\n ...TotalCount_filter_artworks\n aggregations {\n slice\n ...Dropdown_aggregation\n }\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Dropdown_aggregation on ArtworksAggregationResults {\n slice\n counts {\n name\n value\n count\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Fillwidth_artworks on ArtworkConnection {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n}\n\nfragment Follow_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment TotalCount_filter_artworks on FilterArtworksConnection {\n counts {\n total\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "GeneContentsArtistsQuery", + "operationKind": "query", + "text": "query GeneContentsArtistsQuery(\n $geneID: String!\n) {\n gene(id: $geneID) {\n ...Artists_gene\n id\n }\n}\n\nfragment ArtistRow_artist on Artist {\n name\n href\n ...Follow_artist\n artworks: artworksConnection(first: 6) {\n ...Fillwidth_artworks\n }\n}\n\nfragment Artists_gene on Gene {\n id\n artists: artistsConnection(first: 10, after: \"\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n ...ArtistRow_artist\n __typename\n }\n cursor\n }\n }\n filter_aggregations: filterArtworksConnection(aggregations: [MEDIUM, TOTAL, PRICE_RANGE, DIMENSION_RANGE], size: 0, includeMediumFilterInAggregation: true) {\n ...TotalCount_filter_artworks\n aggregations {\n slice\n ...Dropdown_aggregation\n }\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Dropdown_aggregation on ArtworksAggregationResults {\n slice\n counts {\n name\n value\n count\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Fillwidth_artworks on ArtworkConnection {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n}\n\nfragment Follow_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment TotalCount_filter_artworks on FilterArtworksConnection {\n counts {\n total\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/GeneContentsArtworksQuery.graphql.ts b/src/v2/__generated__/GeneContentsArtworksQuery.graphql.ts index 9331fa9b632..54177bc7725 100644 --- a/src/v2/__generated__/GeneContentsArtworksQuery.graphql.ts +++ b/src/v2/__generated__/GeneContentsArtworksQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -222,40 +223,40 @@ fragment TotalCount_filter_artworks on FilterArtworksConnection { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "geneID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "dimensionRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": null + "type": "String" } ], v1 = [ @@ -291,10 +292,10 @@ v6 = { "variableName": "sort" }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v8 = [ @@ -330,31 +331,31 @@ v8 = [ (v6/*: any*/) ], v9 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v13 = [ @@ -366,10 +367,10 @@ v13 = [ ], v14 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], @@ -377,206 +378,199 @@ v15 = [ (v9/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "GeneContentsArtworksQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "GeneContentsArtworksQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "gene", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Gene", + "kind": "LinkedField", + "name": "gene", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "GeneArtworks_gene", "args": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/), (v5/*: any*/), (v6/*: any*/) - ] + ], + "kind": "FragmentSpread", + "name": "GeneArtworks_gene" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "GeneContentsArtworksQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "gene", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Gene", + "kind": "LinkedField", + "name": "gene", "plural": false, "selections": [ (v7/*: any*/), { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "filterArtworksConnection", - "storageKey": null, "args": (v8/*: any*/), "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "FilterArtworksCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "total", "args": null, + "kind": "ScalarField", + "name": "total", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v10/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ (v11/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v10/*: any*/), (v7/*: any*/), (v12/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -584,257 +578,259 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v13/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v10/*: any*/), (v12/*: any*/), (v9/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v13/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v9/*: any*/), (v12/*: any*/), (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v10/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "storageKey": null }, (v10/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, (v11/*: any*/) - ] + ], + "storageKey": null }, (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "facet", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "facet", "plural": false, "selections": [ (v11/*: any*/), (v10/*: any*/), { "kind": "InlineFragment", - "type": "Tag", - "selections": (v15/*: any*/) + "selections": (v15/*: any*/), + "type": "Tag" }, { "kind": "InlineFragment", - "type": "Gene", - "selections": (v15/*: any*/) + "selections": (v15/*: any*/), + "type": "Gene" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": "filtered_artworks", - "name": "filterArtworksConnection", "args": (v8/*: any*/), - "handle": "connection", - "key": "GeneArtworks_filtered_artworks", "filters": [ "aggregations", "forSale", @@ -843,19 +839,24 @@ return { "dimensionRange", "includeMediumFilterInAggregation", "sort" - ] + ], + "handle": "connection", + "key": "GeneArtworks_filtered_artworks", + "kind": "LinkedHandle", + "name": "filterArtworksConnection" }, (v10/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "GeneContentsArtworksQuery", "id": null, - "text": "query GeneContentsArtworksQuery(\n $geneID: String!\n $medium: String\n $priceRange: String\n $forSale: Boolean\n $dimensionRange: String\n $sort: String\n) {\n gene(id: $geneID) {\n ...GeneArtworks_gene_4q9qzB\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Dropdown_aggregation on ArtworksAggregationResults {\n slice\n counts {\n name\n value\n count\n }\n}\n\nfragment GeneArtworks_gene_4q9qzB on Gene {\n slug\n filtered_artworks: filterArtworksConnection(aggregations: [MEDIUM, TOTAL, PRICE_RANGE, DIMENSION_RANGE], forSale: $forSale, medium: $medium, priceRange: $priceRange, dimensionRange: $dimensionRange, includeMediumFilterInAggregation: true, first: 10, after: \"\", sort: $sort) {\n ...TotalCount_filter_artworks\n aggregations {\n slice\n counts {\n name\n value\n }\n ...Dropdown_aggregation\n }\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n facet {\n __typename\n ...Headline_facet\n ... on Node {\n id\n }\n }\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Headline_facet on ArtworkFilterFacet {\n ... on Tag {\n name\n }\n ... on Gene {\n name\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment TotalCount_filter_artworks on FilterArtworksConnection {\n counts {\n total\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "GeneContentsArtworksQuery", + "operationKind": "query", + "text": "query GeneContentsArtworksQuery(\n $geneID: String!\n $medium: String\n $priceRange: String\n $forSale: Boolean\n $dimensionRange: String\n $sort: String\n) {\n gene(id: $geneID) {\n ...GeneArtworks_gene_4q9qzB\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Dropdown_aggregation on ArtworksAggregationResults {\n slice\n counts {\n name\n value\n count\n }\n}\n\nfragment GeneArtworks_gene_4q9qzB on Gene {\n slug\n filtered_artworks: filterArtworksConnection(aggregations: [MEDIUM, TOTAL, PRICE_RANGE, DIMENSION_RANGE], forSale: $forSale, medium: $medium, priceRange: $priceRange, dimensionRange: $dimensionRange, includeMediumFilterInAggregation: true, first: 10, after: \"\", sort: $sort) {\n ...TotalCount_filter_artworks\n aggregations {\n slice\n counts {\n name\n value\n }\n ...Dropdown_aggregation\n }\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n facet {\n __typename\n ...Headline_facet\n ... on Node {\n id\n }\n }\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Headline_facet on ArtworkFilterFacet {\n ... on Tag {\n name\n }\n ... on Gene {\n name\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment TotalCount_filter_artworks on FilterArtworksConnection {\n counts {\n total\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/GeneRelatedLinksQuery.graphql.ts b/src/v2/__generated__/GeneRelatedLinksQuery.graphql.ts index 8cd994c0035..5f52b371f81 100644 --- a/src/v2/__generated__/GeneRelatedLinksQuery.graphql.ts +++ b/src/v2/__generated__/GeneRelatedLinksQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -52,10 +53,10 @@ fragment GeneRelatedLinks_gene on Gene { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "geneID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -73,145 +74,145 @@ v2 = [ } ], v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v3/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "GeneRelatedLinksQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "GeneRelatedLinksQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "gene", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Gene", + "kind": "LinkedField", + "name": "gene", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "GeneRelatedLinks_gene", - "args": null + "name": "GeneRelatedLinks_gene" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "GeneRelatedLinksQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "gene", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Gene", + "kind": "LinkedField", + "name": "gene", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "similar", - "storageKey": "similar(first:10)", "args": (v2/*: any*/), "concreteType": "GeneConnection", + "kind": "LinkedField", + "name": "similar", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "GeneEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "node", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "similar(first:10)" }, { - "kind": "LinkedField", "alias": "artists", - "name": "artistsConnection", - "storageKey": "artistsConnection(first:10)", "args": (v2/*: any*/), "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "artistsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artistsConnection(first:10)" }, (v3/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "GeneRelatedLinksQuery", "id": null, - "text": "query GeneRelatedLinksQuery(\n $geneID: String!\n) {\n gene(id: $geneID) {\n ...GeneRelatedLinks_gene\n id\n }\n}\n\nfragment GeneRelatedLinks_gene on Gene {\n similar(first: 10) {\n edges {\n node {\n href\n name\n id\n }\n }\n }\n artists: artistsConnection(first: 10) {\n edges {\n node {\n href\n name\n id\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "GeneRelatedLinksQuery", + "operationKind": "query", + "text": "query GeneRelatedLinksQuery(\n $geneID: String!\n) {\n gene(id: $geneID) {\n ...GeneRelatedLinks_gene\n id\n }\n}\n\nfragment GeneRelatedLinks_gene on Gene {\n similar(first: 10) {\n edges {\n node {\n href\n name\n id\n }\n }\n }\n artists: artistsConnection(first: 10) {\n edges {\n node {\n href\n name\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/GeneRelatedLinks_Test_Query.graphql.ts b/src/v2/__generated__/GeneRelatedLinks_Test_Query.graphql.ts index 09aa9222fbc..f0728fc8c02 100644 --- a/src/v2/__generated__/GeneRelatedLinks_Test_Query.graphql.ts +++ b/src/v2/__generated__/GeneRelatedLinks_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -85,145 +86,145 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v2/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "GeneRelatedLinks_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "GeneRelatedLinks_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "gene", - "storageKey": "gene(id:\"cats\")", "args": (v0/*: any*/), "concreteType": "Gene", + "kind": "LinkedField", + "name": "gene", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "GeneRelatedLinks_gene", - "args": null + "name": "GeneRelatedLinks_gene" } - ] + ], + "storageKey": "gene(id:\"cats\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "GeneRelatedLinks_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "gene", - "storageKey": "gene(id:\"cats\")", "args": (v0/*: any*/), "concreteType": "Gene", + "kind": "LinkedField", + "name": "gene", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "similar", - "storageKey": "similar(first:10)", "args": (v1/*: any*/), "concreteType": "GeneConnection", + "kind": "LinkedField", + "name": "similar", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "GeneEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "node", "plural": false, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "similar(first:10)" }, { - "kind": "LinkedField", "alias": "artists", - "name": "artistsConnection", - "storageKey": "artistsConnection(first:10)", "args": (v1/*: any*/), "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "artistsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artistsConnection(first:10)" }, (v2/*: any*/) - ] + ], + "storageKey": "gene(id:\"cats\")" } ] }, "params": { - "operationKind": "query", - "name": "GeneRelatedLinks_Test_Query", "id": null, - "text": "query GeneRelatedLinks_Test_Query {\n gene(id: \"cats\") {\n ...GeneRelatedLinks_gene\n id\n }\n}\n\nfragment GeneRelatedLinks_gene on Gene {\n similar(first: 10) {\n edges {\n node {\n href\n name\n id\n }\n }\n }\n artists: artistsConnection(first: 10) {\n edges {\n node {\n href\n name\n id\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "GeneRelatedLinks_Test_Query", + "operationKind": "query", + "text": "query GeneRelatedLinks_Test_Query {\n gene(id: \"cats\") {\n ...GeneRelatedLinks_gene\n id\n }\n}\n\nfragment GeneRelatedLinks_gene on Gene {\n similar(first: 10) {\n edges {\n node {\n href\n name\n id\n }\n }\n }\n artists: artistsConnection(first: 10) {\n edges {\n node {\n href\n name\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/GeneRelatedLinks_gene.graphql.ts b/src/v2/__generated__/GeneRelatedLinks_gene.graphql.ts index 960945f34cd..fd1a3f2b514 100644 --- a/src/v2/__generated__/GeneRelatedLinks_gene.graphql.ts +++ b/src/v2/__generated__/GeneRelatedLinks_gene.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -39,92 +40,92 @@ var v0 = [ ], v1 = [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "GeneRelatedLinks_gene", - "type": "Gene", "metadata": null, - "argumentDefinitions": [], + "name": "GeneRelatedLinks_gene", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "similar", - "storageKey": "similar(first:10)", "args": (v0/*: any*/), "concreteType": "GeneConnection", + "kind": "LinkedField", + "name": "similar", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "GeneEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "node", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "similar(first:10)" }, { - "kind": "LinkedField", "alias": "artists", - "name": "artistsConnection", - "storageKey": "artistsConnection(first:10)", "args": (v0/*: any*/), "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "artistsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artistsConnection(first:10)" } - ] + ], + "type": "Gene" }; })(); (node as any).hash = '16d8882b604595dcffe85c9f3fdda533'; diff --git a/src/v2/__generated__/GeneSearchResultsFollowGeneMutation.graphql.ts b/src/v2/__generated__/GeneSearchResultsFollowGeneMutation.graphql.ts index d0c99547d29..85c8544ddab 100644 --- a/src/v2/__generated__/GeneSearchResultsFollowGeneMutation.graphql.ts +++ b/src/v2/__generated__/GeneSearchResultsFollowGeneMutation.graphql.ts @@ -1,13 +1,14 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type FollowGeneInput = { - readonly clientMutationId?: string | null; - readonly geneID?: string | null; + clientMutationId?: string | null; + geneID?: string | null; }; export type GeneSearchResultsFollowGeneMutationVariables = { input: FollowGeneInput; - excludedGeneIds: ReadonlyArray; + excludedGeneIds: Array; }; export type GeneSearchResultsFollowGeneMutationResponse = { readonly followGene: { @@ -68,16 +69,16 @@ mutation GeneSearchResultsFollowGeneMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "FollowGeneInput!", - "defaultValue": null + "type": "FollowGeneInput!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "excludedGeneIds", - "type": "[String]!", - "defaultValue": null + "type": "[String]!" } ], v1 = [ @@ -88,17 +89,14 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "LinkedField", "alias": null, - "name": "similar", - "storageKey": null, "args": [ { "kind": "Variable", @@ -112,62 +110,58 @@ v3 = { } ], "concreteType": "GeneConnection", + "kind": "LinkedField", + "name": "similar", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "GeneEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -181,96 +175,103 @@ v3 = { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "GeneSearchResultsFollowGeneMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "GeneSearchResultsFollowGeneMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "followGene", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "FollowGenePayload", + "kind": "LinkedField", + "name": "followGene", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "gene", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "gene", "plural": false, "selections": [ (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "GeneSearchResultsFollowGeneMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "followGene", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "FollowGenePayload", + "kind": "LinkedField", + "name": "followGene", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "gene", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "gene", "plural": false, "selections": [ (v3/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "GeneSearchResultsFollowGeneMutation", "id": null, - "text": "mutation GeneSearchResultsFollowGeneMutation(\n $input: FollowGeneInput!\n $excludedGeneIds: [String]!\n) {\n followGene(input: $input) {\n gene {\n similar(first: 1, excludeGeneIDs: $excludedGeneIds) {\n edges {\n node {\n slug\n internalID\n id\n name\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n }\n }\n }\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "GeneSearchResultsFollowGeneMutation", + "operationKind": "mutation", + "text": "mutation GeneSearchResultsFollowGeneMutation(\n $input: FollowGeneInput!\n $excludedGeneIds: [String]!\n) {\n followGene(input: $input) {\n gene {\n similar(first: 1, excludeGeneIDs: $excludedGeneIds) {\n edges {\n node {\n slug\n internalID\n id\n name\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n }\n }\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/GeneSearchResultsQuery.graphql.ts b/src/v2/__generated__/GeneSearchResultsQuery.graphql.ts index 03a15eb623c..62b6004c2b3 100644 --- a/src/v2/__generated__/GeneSearchResultsQuery.graphql.ts +++ b/src/v2/__generated__/GeneSearchResultsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -54,58 +55,54 @@ fragment GeneSearchResults_viewer on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "term", - "type": "String!", - "defaultValue": null + "type": "String!" } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "GeneSearchResultsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "GeneSearchResultsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "GeneSearchResults_viewer", - "args": null + "name": "GeneSearchResults_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "GeneSearchResultsQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "match_gene", - "name": "searchConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -126,79 +123,74 @@ return { } ], "concreteType": "SearchableConnection", + "kind": "LinkedField", + "name": "searchConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SearchableEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { "kind": "InlineFragment", - "type": "Gene", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -212,37 +204,46 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null } - ] + ], + "type": "Gene" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "GeneSearchResultsQuery", "id": null, - "text": "query GeneSearchResultsQuery(\n $term: String!\n) {\n viewer {\n ...GeneSearchResults_viewer\n }\n}\n\nfragment GeneSearchResults_viewer on Viewer {\n match_gene: searchConnection(query: $term, mode: AUTOSUGGEST, entities: [GENE]) {\n edges {\n node {\n __typename\n ... on Gene {\n name\n id\n slug\n internalID\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "GeneSearchResultsQuery", + "operationKind": "query", + "text": "query GeneSearchResultsQuery(\n $term: String!\n) {\n viewer {\n ...GeneSearchResults_viewer\n }\n}\n\nfragment GeneSearchResults_viewer on Viewer {\n match_gene: searchConnection(query: $term, mode: AUTOSUGGEST, entities: [GENE]) {\n edges {\n node {\n __typename\n ... on Gene {\n name\n id\n slug\n internalID\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/GeneSearchResults_viewer.graphql.ts b/src/v2/__generated__/GeneSearchResults_viewer.graphql.ts index 591b50a7485..e047d633525 100644 --- a/src/v2/__generated__/GeneSearchResults_viewer.graphql.ts +++ b/src/v2/__generated__/GeneSearchResults_viewer.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -29,10 +30,6 @@ export type GeneSearchResults_viewer$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "GeneSearchResults_viewer", - "type": "Viewer", - "metadata": null, "argumentDefinitions": [ { "kind": "RootArgument", @@ -40,12 +37,12 @@ const node: ReaderFragment = { "type": "String!" } ], + "kind": "Fragment", + "metadata": null, + "name": "GeneSearchResults_viewer", "selections": [ { - "kind": "LinkedField", "alias": "match_gene", - "name": "searchConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -66,72 +63,67 @@ const node: ReaderFragment = { } ], "concreteType": "SearchableConnection", + "kind": "LinkedField", + "name": "searchConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SearchableEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "Gene", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -145,28 +137,37 @@ const node: ReaderFragment = { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null } - ] + ], + "type": "Gene" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Viewer" }; (node as any).hash = '87a366c563b27a6b122d374b15ad6c54'; export default node; diff --git a/src/v2/__generated__/GenesTestQuery.graphql.ts b/src/v2/__generated__/GenesTestQuery.graphql.ts index f5f3b101ac0..56b5f9029de 100644 --- a/src/v2/__generated__/GenesTestQuery.graphql.ts +++ b/src/v2/__generated__/GenesTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -64,123 +65,123 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "GenesTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "GenesTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"whatevs\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Genes_artist", - "args": null + "name": "Genes_artist" } - ] + ], + "storageKey": "artist(id:\"whatevs\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "GenesTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"whatevs\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "genes", - "storageKey": null, "args": null, "concreteType": "GeneConnection", + "kind": "LinkedField", + "name": "genes", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "GeneEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "artist(id:\"whatevs\")" } ] }, "params": { - "operationKind": "query", - "name": "GenesTestQuery", "id": null, - "text": "query GenesTestQuery {\n artist(id: \"whatevs\") {\n ...Genes_artist\n id\n }\n}\n\nfragment Genes_artist on Artist {\n related {\n genes {\n edges {\n node {\n href\n name\n id\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "GenesTestQuery", + "operationKind": "query", + "text": "query GenesTestQuery {\n artist(id: \"whatevs\") {\n ...Genes_artist\n id\n }\n}\n\nfragment Genes_artist on Artist {\n related {\n genes {\n edges {\n node {\n href\n name\n id\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Genes_Test_Query.graphql.ts b/src/v2/__generated__/Genes_Test_Query.graphql.ts index 313b892d138..026dc6fc90d 100644 --- a/src/v2/__generated__/Genes_Test_Query.graphql.ts +++ b/src/v2/__generated__/Genes_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -64,123 +65,123 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Genes_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "Genes_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"pablo-picasso\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Genes_artist", - "args": null + "name": "Genes_artist" } - ] + ], + "storageKey": "artist(id:\"pablo-picasso\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "Genes_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"pablo-picasso\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "genes", - "storageKey": null, "args": null, "concreteType": "GeneConnection", + "kind": "LinkedField", + "name": "genes", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "GeneEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "artist(id:\"pablo-picasso\")" } ] }, "params": { - "operationKind": "query", - "name": "Genes_Test_Query", "id": null, - "text": "query Genes_Test_Query {\n artist(id: \"pablo-picasso\") {\n ...Genes_artist\n id\n }\n}\n\nfragment Genes_artist on Artist {\n related {\n genes {\n edges {\n node {\n href\n name\n id\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "Genes_Test_Query", + "operationKind": "query", + "text": "query Genes_Test_Query {\n artist(id: \"pablo-picasso\") {\n ...Genes_artist\n id\n }\n}\n\nfragment Genes_artist on Artist {\n related {\n genes {\n edges {\n node {\n href\n name\n id\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Genes_artist.graphql.ts b/src/v2/__generated__/Genes_artist.graphql.ts index fe22cdaeb8e..9d354f2f0e4 100644 --- a/src/v2/__generated__/Genes_artist.graphql.ts +++ b/src/v2/__generated__/Genes_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -24,71 +25,71 @@ export type Genes_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Genes_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "Genes_artist", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "genes", - "storageKey": null, "args": null, "concreteType": "GeneConnection", + "kind": "LinkedField", + "name": "genes", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "GeneEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = '77c969718be8a858b2f72009ac05dbc7'; export default node; diff --git a/src/v2/__generated__/GridItem_artwork.graphql.ts b/src/v2/__generated__/GridItem_artwork.graphql.ts index dd60edbcd2a..f3239ab231a 100644 --- a/src/v2/__generated__/GridItem_artwork.graphql.ts +++ b/src/v2/__generated__/GridItem_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -24,53 +25,49 @@ export type GridItem_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "GridItem_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "GridItem_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -78,40 +75,44 @@ const node: ReaderFragment = { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Metadata_artwork", - "args": null + "name": "Metadata_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "Save_artwork", - "args": null + "name": "Save_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "Badge_artwork", - "args": null + "name": "Badge_artwork" } - ] + ], + "type": "Artwork" }; (node as any).hash = '3615b2a178c8219ced926a8e2da0673b'; export default node; diff --git a/src/v2/__generated__/Header_artworks.graphql.ts b/src/v2/__generated__/Header_artworks.graphql.ts index 11903913fec..f005f4c31e6 100644 --- a/src/v2/__generated__/Header_artworks.graphql.ts +++ b/src/v2/__generated__/Header_artworks.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -28,56 +29,50 @@ export type Header_artworks$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Header_artworks", - "type": "FilterArtworksConnection", "metadata": null, - "argumentDefinitions": [], + "name": "Header_artworks", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "merchandisableArtists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "merchandisableArtists", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:45,version:\"square\",width:45)", "args": [ { "kind": "Literal", @@ -96,46 +91,52 @@ const node: ReaderFragment = { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(height:45,version:\"square\",width:45)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "birthday", "args": null, + "kind": "ScalarField", + "name": "birthday", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "nationality", "args": null, + "kind": "ScalarField", + "name": "nationality", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "FollowArtistButton_artist", - "args": null + "name": "FollowArtistButton_artist" } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "DefaultHeader_headerArtworks", - "args": null + "name": "DefaultHeader_headerArtworks" } - ] + ], + "type": "FilterArtworksConnection" }; (node as any).hash = 'ee9a91cd2dac53afe39f913787441bc3'; export default node; diff --git a/src/v2/__generated__/Header_collection.graphql.ts b/src/v2/__generated__/Header_collection.graphql.ts index 0fb95e321ab..091e9d59d90 100644 --- a/src/v2/__generated__/Header_collection.graphql.ts +++ b/src/v2/__generated__/Header_collection.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -25,87 +26,87 @@ export type Header_collection$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Header_collection", - "type": "MarketingCollection", "metadata": null, - "argumentDefinitions": [], + "name": "Header_collection", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "category", "args": null, + "kind": "ScalarField", + "name": "category", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "credit", "args": null, + "kind": "ScalarField", + "name": "credit", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "featuredArtistExclusionIds", "args": null, + "kind": "ScalarField", + "name": "featuredArtistExclusionIds", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "headerImage", "args": null, + "kind": "ScalarField", + "name": "headerImage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "query", - "storageKey": null, "args": null, "concreteType": "MarketingCollectionQuery", + "kind": "LinkedField", + "name": "query", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "artistIDs", "args": null, + "kind": "ScalarField", + "name": "artistIDs", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null } - ] + ], + "type": "MarketingCollection" }; (node as any).hash = '0cf4acb77713799d73ee4bbb29a03fb0'; export default node; diff --git a/src/v2/__generated__/Headline_facet.graphql.ts b/src/v2/__generated__/Headline_facet.graphql.ts index 3f52d492cc3..dca9ae48621 100644 --- a/src/v2/__generated__/Headline_facet.graphql.ts +++ b/src/v2/__generated__/Headline_facet.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -17,31 +18,31 @@ export type Headline_facet$key = { const node: ReaderFragment = (function(){ var v0 = [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Headline_facet", - "type": "ArtworkFilterFacet", "metadata": null, - "argumentDefinitions": [], + "name": "Headline_facet", "selections": [ { "kind": "InlineFragment", - "type": "Tag", - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "type": "Tag" }, { "kind": "InlineFragment", - "type": "Gene", - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "type": "Gene" } - ] + ], + "type": "ArtworkFilterFacet" }; })(); (node as any).hash = 'cc39f7348e589619f9da1addd80e0022'; diff --git a/src/v2/__generated__/IdentityVerificationAppStartMutation.graphql.ts b/src/v2/__generated__/IdentityVerificationAppStartMutation.graphql.ts index 36a586c6f7a..e1f5642b45a 100644 --- a/src/v2/__generated__/IdentityVerificationAppStartMutation.graphql.ts +++ b/src/v2/__generated__/IdentityVerificationAppStartMutation.graphql.ts @@ -1,9 +1,10 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type startIdentityVerificationMutationInput = { - readonly clientMutationId?: string | null; - readonly identityVerificationId: string; + clientMutationId?: string | null; + identityVerificationId: string; }; export type IdentityVerificationAppStartMutationVariables = { input: startIdentityVerificationMutationInput; @@ -52,10 +53,10 @@ mutation IdentityVerificationAppStartMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "startIdentityVerificationMutationInput!", - "defaultValue": null + "type": "startIdentityVerificationMutationInput!" } ], v1 = [ @@ -67,134 +68,134 @@ v1 = [ ], v2 = { "kind": "InlineFragment", - "type": "StartIdentityVerificationSuccess", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "identityVerificationFlowUrl", "args": null, + "kind": "ScalarField", + "name": "identityVerificationFlowUrl", "storageKey": null } - ] + ], + "type": "StartIdentityVerificationSuccess" }, v3 = { "kind": "InlineFragment", - "type": "StartIdentityVerificationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "mutationError", - "storageKey": null, "args": null, "concreteType": "GravityMutationError", + "kind": "LinkedField", + "name": "mutationError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "detail", "args": null, + "kind": "ScalarField", + "name": "detail", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "error", "args": null, + "kind": "ScalarField", + "name": "error", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "message", "args": null, + "kind": "ScalarField", + "name": "message", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "StartIdentityVerificationFailure" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "IdentityVerificationAppStartMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "IdentityVerificationAppStartMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "startIdentityVerification", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "startIdentityVerificationMutationPayload", + "kind": "LinkedField", + "name": "startIdentityVerification", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "startIdentityVerificationResponseOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "startIdentityVerificationResponseOrError", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "IdentityVerificationAppStartMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "startIdentityVerification", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "startIdentityVerificationMutationPayload", + "kind": "LinkedField", + "name": "startIdentityVerification", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "startIdentityVerificationResponseOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "startIdentityVerificationResponseOrError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "IdentityVerificationAppStartMutation", "id": null, - "text": "mutation IdentityVerificationAppStartMutation(\n $input: startIdentityVerificationMutationInput!\n) {\n startIdentityVerification(input: $input) {\n startIdentityVerificationResponseOrError {\n __typename\n ... on StartIdentityVerificationSuccess {\n identityVerificationFlowUrl\n }\n ... on StartIdentityVerificationFailure {\n mutationError {\n detail\n error\n message\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "IdentityVerificationAppStartMutation", + "operationKind": "mutation", + "text": "mutation IdentityVerificationAppStartMutation(\n $input: startIdentityVerificationMutationInput!\n) {\n startIdentityVerification(input: $input) {\n startIdentityVerificationResponseOrError {\n __typename\n ... on StartIdentityVerificationSuccess {\n identityVerificationFlowUrl\n }\n ... on StartIdentityVerificationFailure {\n mutationError {\n detail\n error\n message\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/IdentityVerificationAppTestQuery.graphql.ts b/src/v2/__generated__/IdentityVerificationAppTestQuery.graphql.ts index 7594f9b4a53..a34ac3d9abe 100644 --- a/src/v2/__generated__/IdentityVerificationAppTestQuery.graphql.ts +++ b/src/v2/__generated__/IdentityVerificationAppTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -56,99 +57,99 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "IdentityVerificationAppTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "IdentityVerificationAppTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": (v0/*: any*/), "kind": "FragmentSpread", - "name": "IdentityVerificationApp_me", - "args": (v0/*: any*/) + "name": "IdentityVerificationApp_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "IdentityVerificationAppTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "identityVerification", - "storageKey": "identityVerification(id:\"idv-id\")", "args": (v0/*: any*/), "concreteType": "IdentityVerification", + "kind": "LinkedField", + "name": "identityVerification", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "userID", "args": null, + "kind": "ScalarField", + "name": "userID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": "identityVerification(id:\"idv-id\")" }, (v2/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "IdentityVerificationAppTestQuery", "id": null, - "text": "query IdentityVerificationAppTestQuery {\n me {\n ...IdentityVerificationApp_me_3zaPSf\n id\n }\n}\n\nfragment IdentityVerificationApp_me_3zaPSf on Me {\n internalID\n identityVerification(id: \"idv-id\") {\n internalID\n userID\n state\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "IdentityVerificationAppTestQuery", + "operationKind": "query", + "text": "query IdentityVerificationAppTestQuery {\n me {\n ...IdentityVerificationApp_me_3zaPSf\n id\n }\n}\n\nfragment IdentityVerificationApp_me_3zaPSf on Me {\n internalID\n identityVerification(id: \"idv-id\") {\n internalID\n userID\n state\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/IdentityVerificationApp_me.graphql.ts b/src/v2/__generated__/IdentityVerificationApp_me.graphql.ts index 2623918c63d..17498db570c 100644 --- a/src/v2/__generated__/IdentityVerificationApp_me.graphql.ts +++ b/src/v2/__generated__/IdentityVerificationApp_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -21,32 +22,28 @@ export type IdentityVerificationApp_me$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }; return { - "kind": "Fragment", - "name": "IdentityVerificationApp_me", - "type": "Me", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": null, "kind": "LocalArgument", "name": "id", - "type": "String!", - "defaultValue": null + "type": "String!" } ], + "kind": "Fragment", + "metadata": null, + "name": "IdentityVerificationApp_me", "selections": [ (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "identityVerification", - "storageKey": null, "args": [ { "kind": "Variable", @@ -55,26 +52,30 @@ return { } ], "concreteType": "IdentityVerification", + "kind": "LinkedField", + "name": "identityVerification", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "userID", "args": null, + "kind": "ScalarField", + "name": "userID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Me" }; })(); (node as any).hash = '820346679be7e29c2ffcf41999f0acf4'; diff --git a/src/v2/__generated__/InboxNotificationCountQuery.graphql.ts b/src/v2/__generated__/InboxNotificationCountQuery.graphql.ts index e54dc7d4fde..7a15d183414 100644 --- a/src/v2/__generated__/InboxNotificationCountQuery.graphql.ts +++ b/src/v2/__generated__/InboxNotificationCountQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type InboxNotificationCountQueryVariables = {}; @@ -25,67 +26,67 @@ query InboxNotificationCountQuery { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "unreadConversationCount", "args": null, + "kind": "ScalarField", + "name": "unreadConversationCount", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "InboxNotificationCountQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "InboxNotificationCountQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "InboxNotificationCountQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "InboxNotificationCountQuery", "id": null, - "text": "query InboxNotificationCountQuery {\n me {\n unreadConversationCount\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "InboxNotificationCountQuery", + "operationKind": "query", + "text": "query InboxNotificationCountQuery {\n me {\n unreadConversationCount\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/InquiryArtworkQuery.graphql.ts b/src/v2/__generated__/InquiryArtworkQuery.graphql.ts index 08f782db006..c0515a1819a 100644 --- a/src/v2/__generated__/InquiryArtworkQuery.graphql.ts +++ b/src/v2/__generated__/InquiryArtworkQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -114,10 +115,10 @@ fragment Metadata_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -128,10 +129,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v3 = [ @@ -142,89 +143,85 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v6 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "InquiryArtworkQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "InquiryArtworkQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "InquiryArtwork_artwork", - "args": null + "name": "InquiryArtwork_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "InquiryArtworkQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -232,196 +229,200 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null } - ] + ], + "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v3/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v4/*: any*/), (v2/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v3/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v5/*: any*/), (v2/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "InquiryArtworkQuery", "id": null, - "text": "query InquiryArtworkQuery(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...InquiryArtwork_artwork\n id\n }\n}\n\nfragment Artwork_artwork on Artwork {\n slug\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n ...Metadata_artwork\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment InquiryArtwork_artwork on Artwork {\n ...Artwork_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n", - "metadata": {} + "metadata": {}, + "name": "InquiryArtworkQuery", + "operationKind": "query", + "text": "query InquiryArtworkQuery(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...InquiryArtwork_artwork\n id\n }\n}\n\nfragment Artwork_artwork on Artwork {\n slug\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n ...Metadata_artwork\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment InquiryArtwork_artwork on Artwork {\n ...Artwork_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n" } }; })(); diff --git a/src/v2/__generated__/InquiryArtwork_artwork.graphql.ts b/src/v2/__generated__/InquiryArtwork_artwork.graphql.ts index ed522f04d6e..c80fdb1353f 100644 --- a/src/v2/__generated__/InquiryArtwork_artwork.graphql.ts +++ b/src/v2/__generated__/InquiryArtwork_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,18 +16,18 @@ export type InquiryArtwork_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "InquiryArtwork_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "InquiryArtwork_artwork", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Artwork_artwork", - "args": null + "name": "Artwork_artwork" } - ] + ], + "type": "Artwork" }; (node as any).hash = '395ab37180661dd93a2a1ee189b363b5'; export default node; diff --git a/src/v2/__generated__/ItemReview_lineItem.graphql.ts b/src/v2/__generated__/ItemReview_lineItem.graphql.ts index 9be8ec66483..1949bd51297 100644 --- a/src/v2/__generated__/ItemReview_lineItem.graphql.ts +++ b/src/v2/__generated__/ItemReview_lineItem.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -41,107 +42,101 @@ export type ItemReview_lineItem$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "in", "args": null, + "kind": "ScalarField", + "name": "in", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cm", "args": null, + "kind": "ScalarField", + "name": "cm", "storageKey": null } - ] + ], + "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ItemReview_lineItem", - "type": "CommerceLineItem", "metadata": null, - "argumentDefinitions": [], + "name": "ItemReview_lineItem", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "medium", "args": null, + "kind": "ScalarField", + "name": "medium", "storageKey": null }, (v0/*: any*/), { - "kind": "LinkedField", "alias": "attribution_class", - "name": "attributionClass", - "storageKey": null, "args": null, "concreteType": "AttributionClass", + "kind": "LinkedField", + "name": "attributionClass", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "shortDescription", "args": null, + "kind": "ScalarField", + "name": "shortDescription", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:185)", "args": [ { "kind": "Literal", @@ -150,48 +145,54 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:185)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "edition_sets", - "name": "editionSets", - "storageKey": null, "args": null, "concreteType": "EditionSet", + "kind": "LinkedField", + "name": "editionSets", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, (v0/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "editionSetId", "args": null, + "kind": "ScalarField", + "name": "editionSetId", "storageKey": null } - ] + ], + "type": "CommerceLineItem" }; })(); (node as any).hash = '1cbb0c8982674f0dcdd9ee38d36fe8cf'; diff --git a/src/v2/__generated__/LoggedInActionsQuery.graphql.ts b/src/v2/__generated__/LoggedInActionsQuery.graphql.ts index 04e09c0c477..3d954cf761e 100644 --- a/src/v2/__generated__/LoggedInActionsQuery.graphql.ts +++ b/src/v2/__generated__/LoggedInActionsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type LoggedInActionsQueryVariables = {}; @@ -68,17 +69,17 @@ query LoggedInActionsQuery { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "unreadNotificationsCount", "args": null, + "kind": "ScalarField", + "name": "unreadNotificationsCount", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "unreadConversationCount", "args": null, + "kind": "ScalarField", + "name": "unreadConversationCount", "storageKey": null }, v2 = { @@ -87,30 +88,28 @@ v2 = { "value": "PUBLISHED_AT_DESC" }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "summary", "args": null, + "kind": "ScalarField", + "name": "summary", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "artists", "args": null, + "kind": "ScalarField", + "name": "artists", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": "published_at", - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -118,22 +117,20 @@ v6 = { "value": "MMM DD" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM DD\")" }, v7 = { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:40,width:40)", "args": [ { "kind": "Literal", @@ -147,57 +144,61 @@ v7 = { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(height:40,width:40)" } - ] + ], + "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v10 = { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null }, v11 = [ { @@ -208,68 +209,61 @@ v11 = [ (v2/*: any*/) ], v12 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "LoggedInActionsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "LoggedInActionsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "followsAndSaves", - "storageKey": null, "args": null, "concreteType": "FollowsAndSaves", + "kind": "LinkedField", + "name": "followsAndSaves", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "notifications", - "name": "__WorksForYou_notifications_connection", - "storageKey": "__WorksForYou_notifications_connection(sort:\"PUBLISHED_AT_DESC\")", "args": [ (v2/*: any*/) ], "concreteType": "FollowedArtistsArtworksGroupConnection", + "kind": "LinkedField", + "name": "__WorksForYou_notifications_connection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FollowedArtistsArtworksGroupEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "FollowedArtistsArtworksGroup", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), @@ -278,70 +272,72 @@ return { (v6/*: any*/), (v7/*: any*/), (v8/*: any*/) - ] + ], + "storageKey": null }, (v9/*: any*/) - ] + ], + "storageKey": null }, (v10/*: any*/) - ] + ], + "storageKey": "__WorksForYou_notifications_connection(sort:\"PUBLISHED_AT_DESC\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "LoggedInActionsQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "followsAndSaves", - "storageKey": null, "args": null, "concreteType": "FollowsAndSaves", + "kind": "LinkedField", + "name": "followsAndSaves", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "notifications", - "name": "bundledArtworksByArtistConnection", - "storageKey": "bundledArtworksByArtistConnection(first:10,sort:\"PUBLISHED_AT_DESC\")", "args": (v11/*: any*/), "concreteType": "FollowedArtistsArtworksGroupConnection", + "kind": "LinkedField", + "name": "bundledArtworksByArtistConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FollowedArtistsArtworksGroupEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "FollowedArtistsArtworksGroup", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), @@ -351,37 +347,39 @@ return { (v7/*: any*/), (v12/*: any*/), (v8/*: any*/) - ] + ], + "storageKey": null }, (v9/*: any*/) - ] + ], + "storageKey": null }, (v10/*: any*/) - ] + ], + "storageKey": "bundledArtworksByArtistConnection(first:10,sort:\"PUBLISHED_AT_DESC\")" }, { - "kind": "LinkedHandle", "alias": "notifications", - "name": "bundledArtworksByArtistConnection", "args": (v11/*: any*/), - "handle": "connection", - "key": "WorksForYou_notifications", "filters": [ "sort" - ] + ], + "handle": "connection", + "key": "WorksForYou_notifications", + "kind": "LinkedHandle", + "name": "bundledArtworksByArtistConnection" } - ] + ], + "storageKey": null }, (v12/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "LoggedInActionsQuery", "id": null, - "text": "query LoggedInActionsQuery {\n me {\n unreadNotificationsCount\n unreadConversationCount\n followsAndSaves {\n notifications: bundledArtworksByArtistConnection(sort: PUBLISHED_AT_DESC, first: 10) {\n edges {\n node {\n href\n summary\n artists\n published_at: publishedAt(format: \"MMM DD\")\n image {\n resized(height: 40, width: 40) {\n url\n }\n }\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n id\n }\n}\n", "metadata": { "connection": [ { @@ -395,7 +393,10 @@ return { ] } ] - } + }, + "name": "LoggedInActionsQuery", + "operationKind": "query", + "text": "query LoggedInActionsQuery {\n me {\n unreadNotificationsCount\n unreadConversationCount\n followsAndSaves {\n notifications: bundledArtworksByArtistConnection(sort: PUBLISHED_AT_DESC, first: 10) {\n edges {\n node {\n href\n summary\n artists\n published_at: publishedAt(format: \"MMM DD\")\n image {\n resized(height: 40, width: 40) {\n url\n }\n }\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/LoggedInLinksQuery.graphql.ts b/src/v2/__generated__/LoggedInLinksQuery.graphql.ts index 14bfa1422ad..a9842a4a93a 100644 --- a/src/v2/__generated__/LoggedInLinksQuery.graphql.ts +++ b/src/v2/__generated__/LoggedInLinksQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type LoggedInLinksQueryVariables = {}; @@ -27,76 +28,76 @@ query LoggedInLinksQuery { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "unreadNotificationsCount", "args": null, + "kind": "ScalarField", + "name": "unreadNotificationsCount", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "unreadConversationCount", "args": null, + "kind": "ScalarField", + "name": "unreadConversationCount", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "LoggedInLinksQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "LoggedInLinksQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "LoggedInLinksQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "LoggedInLinksQuery", "id": null, - "text": "query LoggedInLinksQuery {\n me {\n unreadNotificationsCount\n unreadConversationCount\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "LoggedInLinksQuery", + "operationKind": "query", + "text": "query LoggedInLinksQuery {\n me {\n unreadNotificationsCount\n unreadConversationCount\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/LotInfo_artwork.graphql.ts b/src/v2/__generated__/LotInfo_artwork.graphql.ts index dbfc1a10dbb..bcc9efecabd 100644 --- a/src/v2/__generated__/LotInfo_artwork.graphql.ts +++ b/src/v2/__generated__/LotInfo_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -19,48 +20,48 @@ export type LotInfo_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "LotInfo_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "LotInfo_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageUrl", "args": null, + "kind": "ScalarField", + "name": "imageUrl", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null } - ] + ], + "type": "Artwork" }; (node as any).hash = 'b97e574bb5ba20c56fcba68e82f78ffb'; export default node; diff --git a/src/v2/__generated__/LotInfo_saleArtwork.graphql.ts b/src/v2/__generated__/LotInfo_saleArtwork.graphql.ts index 02eae1ef2b1..da6e99994d8 100644 --- a/src/v2/__generated__/LotInfo_saleArtwork.graphql.ts +++ b/src/v2/__generated__/LotInfo_saleArtwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -23,70 +24,70 @@ export type LotInfo_saleArtwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "LotInfo_saleArtwork", - "type": "SaleArtwork", "metadata": null, - "argumentDefinitions": [], + "name": "LotInfo_saleArtwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lotLabel", "args": null, + "kind": "ScalarField", + "name": "lotLabel", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "minimumNextBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkMinimumNextBid", + "kind": "LinkedField", + "name": "minimumNextBid", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": null, + "kind": "ScalarField", + "name": "amount", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cents", "args": null, + "kind": "ScalarField", + "name": "cents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "SaleArtwork" }; (node as any).hash = 'd63876e2627bde421ea90ea82620a1f1'; export default node; diff --git a/src/v2/__generated__/MarketDataSummaryContentsQuery.graphql.ts b/src/v2/__generated__/MarketDataSummaryContentsQuery.graphql.ts index 4723e424e37..1d9e872b961 100644 --- a/src/v2/__generated__/MarketDataSummaryContentsQuery.graphql.ts +++ b/src/v2/__generated__/MarketDataSummaryContentsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -60,10 +61,10 @@ fragment MarketDataSummary_artist on Artist { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -74,81 +75,76 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "MarketDataSummaryContentsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "MarketDataSummaryContentsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "MarketDataSummary_artist", - "args": null + "name": "MarketDataSummary_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "MarketDataSummaryContentsQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "collections", "args": null, + "kind": "ScalarField", + "name": "collections", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)", "args": [ { "kind": "Literal", @@ -176,60 +172,61 @@ return { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")", "args": [ { "kind": "Literal", @@ -248,39 +245,36 @@ return { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": [ { "kind": "Literal", @@ -288,28 +282,35 @@ return { "value": "0a" } ], + "kind": "ScalarField", + "name": "display", "storageKey": "display(format:\"0a\")" } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")" }, (v2/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "MarketDataSummaryContentsQuery", "id": null, - "text": "query MarketDataSummaryContentsQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...MarketDataSummary_artist\n id\n }\n}\n\nfragment MarketDataSummary_artist on Artist {\n internalID\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: \"0a\")\n }\n id\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "MarketDataSummaryContentsQuery", + "operationKind": "query", + "text": "query MarketDataSummaryContentsQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...MarketDataSummary_artist\n id\n }\n}\n\nfragment MarketDataSummary_artist on Artist {\n internalID\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: \"0a\")\n }\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/MarketDataSummary_artist.graphql.ts b/src/v2/__generated__/MarketDataSummary_artist.graphql.ts index 99fbd7ff468..5a028280d31 100644 --- a/src/v2/__generated__/MarketDataSummary_artist.graphql.ts +++ b/src/v2/__generated__/MarketDataSummary_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -36,51 +37,46 @@ export type MarketDataSummary_artist$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "MarketDataSummary_artist", - "type": "Artist", - "metadata": null, "argumentDefinitions": [ { - "kind": "LocalArgument", - "name": "partnerCategory", - "type": "[String]", "defaultValue": [ "blue-chip", "top-established", "top-emerging" - ] + ], + "kind": "LocalArgument", + "name": "partnerCategory", + "type": "[String]" } ], + "kind": "Fragment", + "metadata": null, + "name": "MarketDataSummary_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "collections", "args": null, + "kind": "ScalarField", + "name": "collections", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -104,57 +100,58 @@ const node: ReaderFragment = { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")", "args": [ { "kind": "Literal", @@ -173,39 +170,36 @@ const node: ReaderFragment = { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": [ { "kind": "Literal", @@ -213,17 +207,24 @@ const node: ReaderFragment = { "value": "0a" } ], + "kind": "ScalarField", + "name": "display", "storageKey": "display(format:\"0a\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")" } - ] + ], + "type": "Artist" }; (node as any).hash = 'b9c806f06c0905a0d712722f37e573f8'; export default node; diff --git a/src/v2/__generated__/MarketInsightsContentsQuery.graphql.ts b/src/v2/__generated__/MarketInsightsContentsQuery.graphql.ts index 57975a5bc8a..53fa03beae4 100644 --- a/src/v2/__generated__/MarketInsightsContentsQuery.graphql.ts +++ b/src/v2/__generated__/MarketInsightsContentsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -60,10 +61,10 @@ fragment MarketInsights_artist on Artist { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -74,81 +75,76 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "MarketInsightsContentsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "MarketInsightsContentsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "MarketInsights_artist", - "args": null + "name": "MarketInsights_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "MarketInsightsContentsQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "collections", "args": null, + "kind": "ScalarField", + "name": "collections", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)", "args": [ { "kind": "Literal", @@ -176,60 +172,61 @@ return { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")", "args": [ { "kind": "Literal", @@ -248,39 +245,36 @@ return { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": [ { "kind": "Literal", @@ -288,28 +282,35 @@ return { "value": "0a" } ], + "kind": "ScalarField", + "name": "display", "storageKey": "display(format:\"0a\")" } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")" }, (v2/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "MarketInsightsContentsQuery", "id": null, - "text": "query MarketInsightsContentsQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...MarketInsights_artist\n id\n }\n}\n\nfragment MarketInsights_artist on Artist {\n internalID\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: \"0a\")\n }\n id\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "MarketInsightsContentsQuery", + "operationKind": "query", + "text": "query MarketInsightsContentsQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...MarketInsights_artist\n id\n }\n}\n\nfragment MarketInsights_artist on Artist {\n internalID\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: \"0a\")\n }\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/MarketInsights_artist.graphql.ts b/src/v2/__generated__/MarketInsights_artist.graphql.ts index 18d99e6c5a7..8f954e56019 100644 --- a/src/v2/__generated__/MarketInsights_artist.graphql.ts +++ b/src/v2/__generated__/MarketInsights_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -36,51 +37,46 @@ export type MarketInsights_artist$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "MarketInsights_artist", - "type": "Artist", - "metadata": null, "argumentDefinitions": [ { - "kind": "LocalArgument", - "name": "partnerCategory", - "type": "[String]", "defaultValue": [ "blue-chip", "top-established", "top-emerging" - ] + ], + "kind": "LocalArgument", + "name": "partnerCategory", + "type": "[String]" } ], + "kind": "Fragment", + "metadata": null, + "name": "MarketInsights_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "collections", "args": null, + "kind": "ScalarField", + "name": "collections", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -104,57 +100,58 @@ const node: ReaderFragment = { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")", "args": [ { "kind": "Literal", @@ -173,39 +170,36 @@ const node: ReaderFragment = { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": [ { "kind": "Literal", @@ -213,17 +207,24 @@ const node: ReaderFragment = { "value": "0a" } ], + "kind": "ScalarField", + "name": "display", "storageKey": "display(format:\"0a\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")" } - ] + ], + "type": "Artist" }; (node as any).hash = '8a16ac97b1188e4b379169f822c2b755'; export default node; diff --git a/src/v2/__generated__/Message_message.graphql.ts b/src/v2/__generated__/Message_message.graphql.ts index badc52b6f21..cbfdf6bc213 100644 --- a/src/v2/__generated__/Message_message.graphql.ts +++ b/src/v2/__generated__/Message_message.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -28,105 +29,105 @@ export type Message_message$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Message_message", - "type": "Message", "metadata": null, - "argumentDefinitions": [], + "name": "Message_message", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "body", "args": null, + "kind": "ScalarField", + "name": "body", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isFromUser", "args": null, + "kind": "ScalarField", + "name": "isFromUser", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "from", - "storageKey": null, "args": null, "concreteType": "MessageInitiator", + "kind": "LinkedField", + "name": "from", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "email", "args": null, + "kind": "ScalarField", + "name": "email", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "attachments", - "storageKey": null, "args": null, "concreteType": "Attachment", + "kind": "LinkedField", + "name": "attachments", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "contentType", "args": null, + "kind": "ScalarField", + "name": "contentType", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fileName", "args": null, + "kind": "ScalarField", + "name": "fileName", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "downloadURL", "args": null, + "kind": "ScalarField", + "name": "downloadURL", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Message" }; (node as any).hash = 'ca8c0d1402d6fa269ac0c6573884d489'; export default node; diff --git a/src/v2/__generated__/Metadata_artwork.graphql.ts b/src/v2/__generated__/Metadata_artwork.graphql.ts index edff42336f4..2b4a578dc3f 100644 --- a/src/v2/__generated__/Metadata_artwork.graphql.ts +++ b/src/v2/__generated__/Metadata_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -16,30 +17,30 @@ export type Metadata_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Metadata_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "Metadata_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Details_artwork", - "args": null + "name": "Details_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "Contact_artwork", - "args": null + "name": "Contact_artwork" } - ] + ], + "type": "Artwork" }; (node as any).hash = '5e64e5a09dbf4016cd89ec6a41b009e5'; export default node; diff --git a/src/v2/__generated__/MockRelayRendererFixturesArtistQuery.graphql.ts b/src/v2/__generated__/MockRelayRendererFixturesArtistQuery.graphql.ts index ccb76cad37f..44d75207415 100644 --- a/src/v2/__generated__/MockRelayRendererFixturesArtistQuery.graphql.ts +++ b/src/v2/__generated__/MockRelayRendererFixturesArtistQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -42,10 +43,10 @@ fragment MockRelayRendererFixtures_artist on Artist { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "id", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -56,70 +57,70 @@ v1 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "MockRelayRendererFixturesArtistQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "MockRelayRendererFixturesArtistQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "MockRelayRendererFixtures_artist", - "args": null + "name": "MockRelayRendererFixtures_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "MockRelayRendererFixturesArtistQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "MockRelayRendererFixturesArtistQuery", "id": null, - "text": "query MockRelayRendererFixturesArtistQuery(\n $id: String!\n) {\n artist(id: $id) {\n ...MockRelayRendererFixtures_artist\n id\n }\n}\n\nfragment MockRelayRendererFixtures_artist on Artist {\n name\n}\n", - "metadata": {} + "metadata": {}, + "name": "MockRelayRendererFixturesArtistQuery", + "operationKind": "query", + "text": "query MockRelayRendererFixturesArtistQuery(\n $id: String!\n) {\n artist(id: $id) {\n ...MockRelayRendererFixtures_artist\n id\n }\n}\n\nfragment MockRelayRendererFixtures_artist on Artist {\n name\n}\n" } }; })(); diff --git a/src/v2/__generated__/MockRelayRendererFixturesBadQuery.graphql.ts b/src/v2/__generated__/MockRelayRendererFixturesBadQuery.graphql.ts index b93a0a2cfd1..8eaaca89920 100644 --- a/src/v2/__generated__/MockRelayRendererFixturesBadQuery.graphql.ts +++ b/src/v2/__generated__/MockRelayRendererFixturesBadQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -62,108 +63,108 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "MockRelayRendererFixturesBadQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "MockRelayRendererFixturesBadQuery", "selections": [ { - "kind": "LinkedField", "alias": "something_that_is_not_expected", - "name": "artwork", - "storageKey": "artwork(id:\"mona-lisa\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "MockRelayRendererFixtures_artwork", - "args": null + "name": "MockRelayRendererFixtures_artwork" } - ] + ], + "storageKey": "artwork(id:\"mona-lisa\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "MockRelayRendererFixturesBadQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "something_that_is_not_expected", - "name": "artwork", - "storageKey": "artwork(id:\"mona-lisa\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "artwork(id:\"mona-lisa\")" } ] }, "params": { - "operationKind": "query", - "name": "MockRelayRendererFixturesBadQuery", "id": null, - "text": "query MockRelayRendererFixturesBadQuery {\n something_that_is_not_expected: artwork(id: \"mona-lisa\") {\n ...MockRelayRendererFixtures_artwork\n id\n }\n}\n\nfragment MockRelayRendererFixtures_artwork on Artwork {\n image {\n url\n }\n artist {\n slug\n id\n }\n ...MockRelayRendererFixtures_artworkMetadata\n}\n\nfragment MockRelayRendererFixtures_artworkMetadata on Artwork {\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "MockRelayRendererFixturesBadQuery", + "operationKind": "query", + "text": "query MockRelayRendererFixturesBadQuery {\n something_that_is_not_expected: artwork(id: \"mona-lisa\") {\n ...MockRelayRendererFixtures_artwork\n id\n }\n}\n\nfragment MockRelayRendererFixtures_artwork on Artwork {\n image {\n url\n }\n artist {\n slug\n id\n }\n ...MockRelayRendererFixtures_artworkMetadata\n}\n\nfragment MockRelayRendererFixtures_artworkMetadata on Artwork {\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/MockRelayRendererFixturesQuery.graphql.ts b/src/v2/__generated__/MockRelayRendererFixturesQuery.graphql.ts index 0019e2c8ed4..783ed92af73 100644 --- a/src/v2/__generated__/MockRelayRendererFixturesQuery.graphql.ts +++ b/src/v2/__generated__/MockRelayRendererFixturesQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -62,108 +63,108 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "MockRelayRendererFixturesQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "MockRelayRendererFixturesQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"mona-lisa\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "MockRelayRendererFixtures_artwork", - "args": null + "name": "MockRelayRendererFixtures_artwork" } - ] + ], + "storageKey": "artwork(id:\"mona-lisa\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "MockRelayRendererFixturesQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"mona-lisa\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "artwork(id:\"mona-lisa\")" } ] }, "params": { - "operationKind": "query", - "name": "MockRelayRendererFixturesQuery", "id": null, - "text": "query MockRelayRendererFixturesQuery {\n artwork(id: \"mona-lisa\") {\n ...MockRelayRendererFixtures_artwork\n id\n }\n}\n\nfragment MockRelayRendererFixtures_artwork on Artwork {\n image {\n url\n }\n artist {\n slug\n id\n }\n ...MockRelayRendererFixtures_artworkMetadata\n}\n\nfragment MockRelayRendererFixtures_artworkMetadata on Artwork {\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "MockRelayRendererFixturesQuery", + "operationKind": "query", + "text": "query MockRelayRendererFixturesQuery {\n artwork(id: \"mona-lisa\") {\n ...MockRelayRendererFixtures_artwork\n id\n }\n}\n\nfragment MockRelayRendererFixtures_artwork on Artwork {\n image {\n url\n }\n artist {\n slug\n id\n }\n ...MockRelayRendererFixtures_artworkMetadata\n}\n\nfragment MockRelayRendererFixtures_artworkMetadata on Artwork {\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/MockRelayRendererFixtures_artist.graphql.ts b/src/v2/__generated__/MockRelayRendererFixtures_artist.graphql.ts index 14f5966edd2..72504b70c94 100644 --- a/src/v2/__generated__/MockRelayRendererFixtures_artist.graphql.ts +++ b/src/v2/__generated__/MockRelayRendererFixtures_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,20 +16,20 @@ export type MockRelayRendererFixtures_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "MockRelayRendererFixtures_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "MockRelayRendererFixtures_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = '00923700fab4960aafc6cd20281ef191'; export default node; diff --git a/src/v2/__generated__/MockRelayRendererFixtures_artwork.graphql.ts b/src/v2/__generated__/MockRelayRendererFixtures_artwork.graphql.ts index 9d547eaa32d..46a5b3bd549 100644 --- a/src/v2/__generated__/MockRelayRendererFixtures_artwork.graphql.ts +++ b/src/v2/__generated__/MockRelayRendererFixtures_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -21,54 +22,54 @@ export type MockRelayRendererFixtures_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "MockRelayRendererFixtures_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "MockRelayRendererFixtures_artwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "MockRelayRendererFixtures_artworkMetadata", - "args": null + "name": "MockRelayRendererFixtures_artworkMetadata" } - ] + ], + "type": "Artwork" }; (node as any).hash = '35b0d2a11cf28fcc477de58eac475015'; export default node; diff --git a/src/v2/__generated__/MockRelayRendererFixtures_artworkMetadata.graphql.ts b/src/v2/__generated__/MockRelayRendererFixtures_artworkMetadata.graphql.ts index 3dca377a1ec..e74c2588986 100644 --- a/src/v2/__generated__/MockRelayRendererFixtures_artworkMetadata.graphql.ts +++ b/src/v2/__generated__/MockRelayRendererFixtures_artworkMetadata.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,20 +16,20 @@ export type MockRelayRendererFixtures_artworkMetadata$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "MockRelayRendererFixtures_artworkMetadata", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "MockRelayRendererFixtures_artworkMetadata", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null } - ] + ], + "type": "Artwork" }; (node as any).hash = '36229b903e6398f793878a155df342a7'; export default node; diff --git a/src/v2/__generated__/NavigationTabs_Test_Query.graphql.ts b/src/v2/__generated__/NavigationTabs_Test_Query.graphql.ts index 9daab32513f..6084c224576 100644 --- a/src/v2/__generated__/NavigationTabs_Test_Query.graphql.ts +++ b/src/v2/__generated__/NavigationTabs_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -124,17 +125,17 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = [ @@ -142,67 +143,63 @@ v3 = [ (v2/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "NavigationTabs_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "NavigationTabs_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"pablo-picasso\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "NavigationTabs_artist", - "args": null + "name": "NavigationTabs_artist" } - ] + ], + "storageKey": "artist(id:\"pablo-picasso\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "NavigationTabs_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"pablo-picasso\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "statuses", - "storageKey": null, "args": null, "concreteType": "ArtistStatuses", + "kind": "LinkedField", + "name": "statuses", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "shows", "args": null, + "kind": "ScalarField", + "name": "shows", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cv", "args": [ { "kind": "Literal", @@ -210,106 +207,105 @@ return { "value": 0 } ], + "kind": "ScalarField", + "name": "cv", "storageKey": "cv(minShowCount:0)" }, { - "kind": "ScalarField", "alias": null, - "name": "articles", "args": null, + "kind": "ScalarField", + "name": "articles", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "auctionLots", "args": null, + "kind": "ScalarField", + "name": "auctionLots", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artworks", "args": null, + "kind": "ScalarField", + "name": "artworks", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "forSaleArtworks", "args": null, + "kind": "ScalarField", + "name": "forSaleArtworks", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "genes", - "storageKey": null, "args": null, "concreteType": "GeneConnection", + "kind": "LinkedField", + "name": "genes", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "GeneEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "node", "plural": false, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)", "args": [ { "kind": "Literal", @@ -337,69 +333,70 @@ return { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "insights", - "storageKey": null, "args": null, "concreteType": "ArtistInsight", + "kind": "LinkedField", + "name": "insights", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "biographyBlurb", - "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)", "args": [ { "kind": "Literal", @@ -413,28 +410,32 @@ return { } ], "concreteType": "ArtistBlurb", + "kind": "LinkedField", + "name": "biographyBlurb", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "text", "args": null, + "kind": "ScalarField", + "name": "text", "storageKey": null } - ] + ], + "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)" }, (v2/*: any*/) - ] + ], + "storageKey": "artist(id:\"pablo-picasso\")" } ] }, "params": { - "operationKind": "query", - "name": "NavigationTabs_Test_Query", "id": null, - "text": "query NavigationTabs_Test_Query {\n artist(id: \"pablo-picasso\") {\n ...NavigationTabs_artist\n id\n }\n}\n\nfragment NavigationTabs_artist on Artist {\n slug\n statuses {\n shows\n cv(minShowCount: 0)\n articles\n auctionLots\n artworks\n }\n counts {\n forSaleArtworks\n }\n related {\n genes {\n edges {\n node {\n slug\n id\n }\n }\n }\n }\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 insights {\n type\n }\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "NavigationTabs_Test_Query", + "operationKind": "query", + "text": "query NavigationTabs_Test_Query {\n artist(id: \"pablo-picasso\") {\n ...NavigationTabs_artist\n id\n }\n}\n\nfragment NavigationTabs_artist on Artist {\n slug\n statuses {\n shows\n cv(minShowCount: 0)\n articles\n auctionLots\n artworks\n }\n counts {\n forSaleArtworks\n }\n related {\n genes {\n edges {\n node {\n slug\n id\n }\n }\n }\n }\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 insights {\n type\n }\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/NavigationTabs_artist.graphql.ts b/src/v2/__generated__/NavigationTabs_artist.graphql.ts index 9b430df1c49..4f1c9b6879f 100644 --- a/src/v2/__generated__/NavigationTabs_artist.graphql.ts +++ b/src/v2/__generated__/NavigationTabs_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -52,43 +53,39 @@ export type NavigationTabs_artist$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v1 = [ (v0/*: any*/) ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "NavigationTabs_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "NavigationTabs_artist", "selections": [ (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "statuses", - "storageKey": null, "args": null, "concreteType": "ArtistStatuses", + "kind": "LinkedField", + "name": "statuses", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "shows", "args": null, + "kind": "ScalarField", + "name": "shows", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cv", "args": [ { "kind": "Literal", @@ -96,106 +93,105 @@ return { "value": 0 } ], + "kind": "ScalarField", + "name": "cv", "storageKey": "cv(minShowCount:0)" }, { - "kind": "ScalarField", "alias": null, - "name": "articles", "args": null, + "kind": "ScalarField", + "name": "articles", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "auctionLots", "args": null, + "kind": "ScalarField", + "name": "auctionLots", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artworks", "args": null, + "kind": "ScalarField", + "name": "artworks", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "forSaleArtworks", "args": null, + "kind": "ScalarField", + "name": "forSaleArtworks", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "genes", - "storageKey": null, "args": null, "concreteType": "GeneConnection", + "kind": "LinkedField", + "name": "genes", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "GeneEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "node", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)", "args": [ { "kind": "Literal", @@ -223,67 +219,68 @@ return { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "insights", - "storageKey": null, "args": null, "concreteType": "ArtistInsight", + "kind": "LinkedField", + "name": "insights", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "biographyBlurb", - "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)", "args": [ { "kind": "Literal", @@ -297,18 +294,22 @@ return { } ], "concreteType": "ArtistBlurb", + "kind": "LinkedField", + "name": "biographyBlurb", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "text", "args": null, + "kind": "ScalarField", + "name": "text", "storageKey": null } - ] + ], + "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)" } - ] + ], + "type": "Artist" }; })(); (node as any).hash = '64d6595b66ac46f81d2f8d66982b584b'; diff --git a/src/v2/__generated__/NavigationTabs_searchableConnection.graphql.ts b/src/v2/__generated__/NavigationTabs_searchableConnection.graphql.ts index 618a09cd521..c8f4d23e82f 100644 --- a/src/v2/__generated__/NavigationTabs_searchableConnection.graphql.ts +++ b/src/v2/__generated__/NavigationTabs_searchableConnection.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type SearchAggregation = "TYPE" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type SearchAggregation = "TYPE" | "%future added value"; export type NavigationTabs_searchableConnection = { readonly aggregations: ReadonlyArray<{ readonly slice: SearchAggregation | null; @@ -22,56 +23,56 @@ export type NavigationTabs_searchableConnection$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "NavigationTabs_searchableConnection", - "type": "SearchableConnection", "metadata": null, - "argumentDefinitions": [], + "name": "NavigationTabs_searchableConnection", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "SearchAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "SearchableConnection" }; (node as any).hash = '76f1af5fa568892ae22f4ba4840ff358'; export default node; diff --git a/src/v2/__generated__/NewPaymentRouteSetOrderPaymentMutation.graphql.ts b/src/v2/__generated__/NewPaymentRouteSetOrderPaymentMutation.graphql.ts index 446d2f8d065..a5b39c6e319 100644 --- a/src/v2/__generated__/NewPaymentRouteSetOrderPaymentMutation.graphql.ts +++ b/src/v2/__generated__/NewPaymentRouteSetOrderPaymentMutation.graphql.ts @@ -1,12 +1,13 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CommerceOrderParticipantEnum = "BUYER" | "SELLER" | "%future added value"; export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLED" | "PENDING" | "REFUNDED" | "SUBMITTED" | "%future added value"; export type CommerceFixFailedPaymentInput = { - readonly clientMutationId?: string | null; - readonly creditCardId: string; - readonly offerId: string; + clientMutationId?: string | null; + creditCardId: string; + offerId: string; }; export type NewPaymentRouteSetOrderPaymentMutationVariables = { input: CommerceFixFailedPaymentInput; @@ -94,10 +95,10 @@ mutation NewPaymentRouteSetOrderPaymentMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CommerceFixFailedPaymentInput!", - "defaultValue": null + "type": "CommerceFixFailedPaymentInput!" } ], v1 = [ @@ -108,198 +109,191 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "street1", "args": null, + "kind": "ScalarField", + "name": "street1", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "street2", "args": null, + "kind": "ScalarField", + "name": "street2", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": "postal_code", - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, v10 = { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "awaitingResponseFrom", "args": null, + "kind": "ScalarField", + "name": "awaitingResponseFrom", "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" }, v11 = { "kind": "InlineFragment", - "type": "CommerceOrderRequiresAction", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "actionData", - "storageKey": null, "args": null, "concreteType": "CommerceOrderActionData", + "kind": "LinkedField", + "name": "actionData", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "clientSecret", "args": null, + "kind": "ScalarField", + "name": "clientSecret", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderRequiresAction" }, v12 = { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "error", - "storageKey": null, "args": null, "concreteType": "CommerceApplicationError", + "kind": "LinkedField", + "name": "error", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "data", "args": null, + "kind": "ScalarField", + "name": "data", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationFailure" }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "NewPaymentRouteSetOrderPaymentMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "NewPaymentRouteSetOrderPaymentMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceFixFailedPayment", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceFixFailedPaymentPayload", + "kind": "LinkedField", + "name": "commerceFixFailedPayment", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v3/*: any*/), @@ -310,67 +304,69 @@ return { (v2/*: any*/), (v8/*: any*/), (v9/*: any*/) - ] + ], + "storageKey": null }, (v10/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v11/*: any*/), (v12/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "NewPaymentRouteSetOrderPaymentMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceFixFailedPayment", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceFixFailedPaymentPayload", + "kind": "LinkedField", + "name": "commerceFixFailedPayment", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ (v13/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v13/*: any*/), (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v3/*: any*/), @@ -382,28 +378,33 @@ return { (v8/*: any*/), (v9/*: any*/), (v14/*: any*/) - ] + ], + "storageKey": null }, (v14/*: any*/), (v10/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v11/*: any*/), (v12/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "NewPaymentRouteSetOrderPaymentMutation", "id": null, - "text": "mutation NewPaymentRouteSetOrderPaymentMutation(\n $input: CommerceFixFailedPaymentInput!\n) {\n commerceFixFailedPayment(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postal_code: postalCode\n id\n }\n ... on CommerceOfferOrder {\n awaitingResponseFrom\n }\n id\n }\n }\n ... on CommerceOrderRequiresAction {\n actionData {\n clientSecret\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "NewPaymentRouteSetOrderPaymentMutation", + "operationKind": "mutation", + "text": "mutation NewPaymentRouteSetOrderPaymentMutation(\n $input: CommerceFixFailedPaymentInput!\n) {\n commerceFixFailedPayment(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postal_code: postalCode\n id\n }\n ... on CommerceOfferOrder {\n awaitingResponseFrom\n }\n id\n }\n }\n ... on CommerceOrderRequiresAction {\n actionData {\n clientSecret\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/NewPaymentTestQuery.graphql.ts b/src/v2/__generated__/NewPaymentTestQuery.graphql.ts index 6db08c2ffa2..4cecad36e1e 100644 --- a/src/v2/__generated__/NewPaymentTestQuery.graphql.ts +++ b/src/v2/__generated__/NewPaymentTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -418,94 +419,94 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v14 = [ @@ -516,137 +517,133 @@ v14 = [ } ], v15 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v14/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v16 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v17 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v14/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v18 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v19 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v14/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v20 = { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, v21 = { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v14/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, v22 = { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, v23 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, v24 = { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "NewPaymentTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "NewPaymentTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "NewPayment_me", - "args": null + "name": "NewPayment_me" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "NewPayment_order", - "args": null + "name": "NewPayment_order" } - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "NewPaymentTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCards", - "storageKey": "creditCards(first:100)", "args": [ { "kind": "Literal", @@ -655,24 +652,24 @@ return { } ], "concreteType": "CreditCardConnection", + "kind": "LinkedField", + "name": "creditCards", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CreditCardEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/), @@ -681,132 +678,127 @@ return { (v4/*: any*/), (v5/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "creditCards(first:100)" }, (v6/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": null, + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v7/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v7/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null }, (v6/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -815,52 +807,59 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v8/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v1/*: any*/), (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "street1", "args": null, + "kind": "ScalarField", + "name": "street1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "street2", "args": null, + "kind": "ScalarField", + "name": "street2", "storageKey": null }, (v10/*: any*/), @@ -872,83 +871,84 @@ return { (v3/*: any*/), (v2/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v13/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, (v11/*: any*/), (v12/*: any*/) - ] + ], + "type": "CommerceShip" }, { "kind": "InlineFragment", - "type": "CommercePickup", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "fulfillmentType", "args": null, + "kind": "ScalarField", + "name": "fulfillmentType", "storageKey": null } - ] + ], + "type": "CommercePickup" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v13/*: any*/), (v6/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v9/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, (v13/*: any*/), (v15/*: any*/), @@ -956,39 +956,37 @@ return { (v17/*: any*/), (v18/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v14/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v14/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v19/*: any*/), (v6/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, (v1/*: any*/), @@ -1003,15 +1001,15 @@ return { (v19/*: any*/), (v23/*: any*/), (v24/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v1/*: any*/), @@ -1026,20 +1024,23 @@ return { (v24/*: any*/), (v20/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "NewPaymentTestQuery", "id": null, - "text": "query NewPaymentTestQuery {\n me {\n ...NewPayment_me\n id\n }\n order: commerceOrder(id: \"unused\") {\n __typename\n ...NewPayment_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment NewPayment_me on Me {\n ...PaymentPicker_me\n}\n\nfragment NewPayment_order on CommerceOrder {\n internalID\n mode\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n artists {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n }\n ...PaymentPicker_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n}\n\nfragment PaymentPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment PaymentPicker_order on CommerceOrder {\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "NewPaymentTestQuery", + "operationKind": "query", + "text": "query NewPaymentTestQuery {\n me {\n ...NewPayment_me\n id\n }\n order: commerceOrder(id: \"unused\") {\n __typename\n ...NewPayment_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment NewPayment_me on Me {\n ...PaymentPicker_me\n}\n\nfragment NewPayment_order on CommerceOrder {\n internalID\n mode\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n artists {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n }\n ...PaymentPicker_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n}\n\nfragment PaymentPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment PaymentPicker_order on CommerceOrder {\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/NewPayment_me.graphql.ts b/src/v2/__generated__/NewPayment_me.graphql.ts index 2d6b7108b9f..064f3351cc7 100644 --- a/src/v2/__generated__/NewPayment_me.graphql.ts +++ b/src/v2/__generated__/NewPayment_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,18 +16,18 @@ export type NewPayment_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "NewPayment_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "NewPayment_me", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "PaymentPicker_me", - "args": null + "name": "PaymentPicker_me" } - ] + ], + "type": "Me" }; (node as any).hash = '7bb5f7c3b4fe86e246747b31a9b14b64'; export default node; diff --git a/src/v2/__generated__/NewPayment_order.graphql.ts b/src/v2/__generated__/NewPayment_order.graphql.ts index 41ebd11bff8..f3d44b1bd2c 100644 --- a/src/v2/__generated__/NewPayment_order.graphql.ts +++ b/src/v2/__generated__/NewPayment_order.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; export type NewPayment_order = { readonly internalID: string; readonly mode: CommerceOrderModeEnum | null; @@ -37,146 +38,146 @@ export type NewPayment_order$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "NewPayment_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "NewPayment_order", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": null, + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" }, { + "args": null, "kind": "FragmentSpread", - "name": "PaymentPicker_order", - "args": null + "name": "PaymentPicker_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSummaryItem_order", - "args": null + "name": "ArtworkSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "TransactionDetailsSummaryItem_order", - "args": null + "name": "TransactionDetailsSummaryItem_order" } - ] + ], + "type": "CommerceOrder" }; })(); (node as any).hash = '59e7ce7ac02e84e7e5a0b1ea3d6de495'; diff --git a/src/v2/__generated__/NotificationsMenuQuery.graphql.ts b/src/v2/__generated__/NotificationsMenuQuery.graphql.ts index 8f46dc1e9d8..38e34ba6860 100644 --- a/src/v2/__generated__/NotificationsMenuQuery.graphql.ts +++ b/src/v2/__generated__/NotificationsMenuQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type NotificationsMenuQueryVariables = {}; @@ -66,10 +67,10 @@ query NotificationsMenuQuery { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "unreadNotificationsCount", "args": null, + "kind": "ScalarField", + "name": "unreadNotificationsCount", "storageKey": null }, v1 = { @@ -78,30 +79,28 @@ v1 = { "value": "PUBLISHED_AT_DESC" }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "summary", "args": null, + "kind": "ScalarField", + "name": "summary", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "artists", "args": null, + "kind": "ScalarField", + "name": "artists", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": "published_at", - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -109,22 +108,20 @@ v5 = { "value": "MMM DD" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM DD\")" }, v6 = { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "thumb", - "name": "cropped", - "storageKey": "cropped(height:80,width:80)", "args": [ { "kind": "Literal", @@ -138,57 +135,61 @@ v6 = { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:80,width:80)" } - ] + ], + "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v9 = { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null }, v10 = [ { @@ -199,67 +200,60 @@ v10 = [ (v1/*: any*/) ], v11 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "NotificationsMenuQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "NotificationsMenuQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "followsAndSaves", - "storageKey": null, "args": null, "concreteType": "FollowsAndSaves", + "kind": "LinkedField", + "name": "followsAndSaves", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "notifications", - "name": "__WorksForYou_notifications_connection", - "storageKey": "__WorksForYou_notifications_connection(sort:\"PUBLISHED_AT_DESC\")", "args": [ (v1/*: any*/) ], "concreteType": "FollowedArtistsArtworksGroupConnection", + "kind": "LinkedField", + "name": "__WorksForYou_notifications_connection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FollowedArtistsArtworksGroupEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "FollowedArtistsArtworksGroup", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), @@ -268,69 +262,71 @@ return { (v5/*: any*/), (v6/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": null }, (v8/*: any*/) - ] + ], + "storageKey": null }, (v9/*: any*/) - ] + ], + "storageKey": "__WorksForYou_notifications_connection(sort:\"PUBLISHED_AT_DESC\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "NotificationsMenuQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "followsAndSaves", - "storageKey": null, "args": null, "concreteType": "FollowsAndSaves", + "kind": "LinkedField", + "name": "followsAndSaves", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "notifications", - "name": "bundledArtworksByArtistConnection", - "storageKey": "bundledArtworksByArtistConnection(first:10,sort:\"PUBLISHED_AT_DESC\")", "args": (v10/*: any*/), "concreteType": "FollowedArtistsArtworksGroupConnection", + "kind": "LinkedField", + "name": "bundledArtworksByArtistConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FollowedArtistsArtworksGroupEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "FollowedArtistsArtworksGroup", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), @@ -340,37 +336,39 @@ return { (v6/*: any*/), (v11/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": null }, (v8/*: any*/) - ] + ], + "storageKey": null }, (v9/*: any*/) - ] + ], + "storageKey": "bundledArtworksByArtistConnection(first:10,sort:\"PUBLISHED_AT_DESC\")" }, { - "kind": "LinkedHandle", "alias": "notifications", - "name": "bundledArtworksByArtistConnection", "args": (v10/*: any*/), - "handle": "connection", - "key": "WorksForYou_notifications", "filters": [ "sort" - ] + ], + "handle": "connection", + "key": "WorksForYou_notifications", + "kind": "LinkedHandle", + "name": "bundledArtworksByArtistConnection" } - ] + ], + "storageKey": null }, (v11/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "NotificationsMenuQuery", "id": null, - "text": "query NotificationsMenuQuery {\n me {\n unreadNotificationsCount\n followsAndSaves {\n notifications: bundledArtworksByArtistConnection(sort: PUBLISHED_AT_DESC, first: 10) {\n edges {\n node {\n href\n summary\n artists\n published_at: publishedAt(format: \"MMM DD\")\n image {\n thumb: cropped(height: 80, width: 80) {\n url\n }\n }\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n id\n }\n}\n", "metadata": { "connection": [ { @@ -384,7 +382,10 @@ return { ] } ] - } + }, + "name": "NotificationsMenuQuery", + "operationKind": "query", + "text": "query NotificationsMenuQuery {\n me {\n unreadNotificationsCount\n followsAndSaves {\n notifications: bundledArtworksByArtistConnection(sort: PUBLISHED_AT_DESC, first: 10) {\n edges {\n node {\n href\n summary\n artists\n published_at: publishedAt(format: \"MMM DD\")\n image {\n thumb: cropped(height: 80, width: 80) {\n url\n }\n }\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/OfferHistoryItemStoryQuery.graphql.ts b/src/v2/__generated__/OfferHistoryItemStoryQuery.graphql.ts index a0826d057ca..3acbe509068 100644 --- a/src/v2/__generated__/OfferHistoryItemStoryQuery.graphql.ts +++ b/src/v2/__generated__/OfferHistoryItemStoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -67,126 +68,119 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "OfferHistoryItemStoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "OfferHistoryItemStoryQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"foo\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "OfferHistoryItem_order", - "args": null + "name": "OfferHistoryItem_order" } - ] + ], + "storageKey": "commerceOrder(id:\"foo\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "OfferHistoryItemStoryQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"foo\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v2/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "offers", - "storageKey": null, "args": null, "concreteType": "CommerceOfferConnection", + "kind": "LinkedField", + "name": "offers", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceOfferEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": [ { "kind": "Literal", @@ -194,64 +188,71 @@ return { "value": "MMM D" } ], + "kind": "ScalarField", + "name": "createdAt", "storageKey": "createdAt(format:\"MMM D\")" }, (v5/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ (v3/*: any*/), (v5/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": "commerceOrder(id:\"foo\")" } ] }, "params": { - "operationKind": "query", - "name": "OfferHistoryItemStoryQuery", "id": null, - "text": "query OfferHistoryItemStoryQuery {\n order: commerceOrder(id: \"foo\") {\n __typename\n ...OfferHistoryItem_order\n id\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n totalListPrice(precision: 2)\n}\n", - "metadata": {} + "metadata": {}, + "name": "OfferHistoryItemStoryQuery", + "operationKind": "query", + "text": "query OfferHistoryItemStoryQuery {\n order: commerceOrder(id: \"foo\") {\n __typename\n ...OfferHistoryItem_order\n id\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n totalListPrice(precision: 2)\n}\n" } }; })(); diff --git a/src/v2/__generated__/OfferHistoryItemTestQuery.graphql.ts b/src/v2/__generated__/OfferHistoryItemTestQuery.graphql.ts index 33f81de864d..a8f28c166c9 100644 --- a/src/v2/__generated__/OfferHistoryItemTestQuery.graphql.ts +++ b/src/v2/__generated__/OfferHistoryItemTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -100,126 +101,119 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "OfferHistoryItemTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "OfferHistoryItemTestQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"foo\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "OfferHistoryItem_order", - "args": null + "name": "OfferHistoryItem_order" } - ] + ], + "storageKey": "commerceOrder(id:\"foo\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "OfferHistoryItemTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"foo\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v2/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "offers", - "storageKey": null, "args": null, "concreteType": "CommerceOfferConnection", + "kind": "LinkedField", + "name": "offers", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceOfferEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": [ { "kind": "Literal", @@ -227,64 +221,71 @@ return { "value": "MMM D" } ], + "kind": "ScalarField", + "name": "createdAt", "storageKey": "createdAt(format:\"MMM D\")" }, (v5/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ (v3/*: any*/), (v5/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": "commerceOrder(id:\"foo\")" } ] }, "params": { - "operationKind": "query", - "name": "OfferHistoryItemTestQuery", "id": null, - "text": "query OfferHistoryItemTestQuery {\n order: commerceOrder(id: \"foo\") {\n __typename\n ...OfferHistoryItem_order\n id\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n totalListPrice(precision: 2)\n}\n", - "metadata": {} + "metadata": {}, + "name": "OfferHistoryItemTestQuery", + "operationKind": "query", + "text": "query OfferHistoryItemTestQuery {\n order: commerceOrder(id: \"foo\") {\n __typename\n ...OfferHistoryItem_order\n id\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n totalListPrice(precision: 2)\n}\n" } }; })(); diff --git a/src/v2/__generated__/OfferHistoryItem_order.graphql.ts b/src/v2/__generated__/OfferHistoryItem_order.graphql.ts index 3e74f881c58..e7a1f331ee1 100644 --- a/src/v2/__generated__/OfferHistoryItem_order.graphql.ts +++ b/src/v2/__generated__/OfferHistoryItem_order.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type CommerceOrderParticipantEnum = "BUYER" | "SELLER" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type CommerceOrderParticipantEnum = "BUYER" | "SELLER" | "%future added value"; export type OfferHistoryItem_order = { readonly totalListPrice: string | null; readonly offers?: { @@ -42,77 +43,70 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "OfferHistoryItem_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "OfferHistoryItem_order", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "offers", - "storageKey": null, "args": null, "concreteType": "CommerceOfferConnection", + "kind": "LinkedField", + "name": "offers", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceOfferEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": [ { "kind": "Literal", @@ -120,53 +114,60 @@ return { "value": "MMM D" } ], + "kind": "ScalarField", + "name": "createdAt", "storageKey": "createdAt(format:\"MMM D\")" }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ (v1/*: any*/), (v3/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "type": "CommerceOrder" }; })(); (node as any).hash = '6209a00aa1b92262f730863b082250c1'; diff --git a/src/v2/__generated__/OfferMutation.graphql.ts b/src/v2/__generated__/OfferMutation.graphql.ts index 7fcf700a6ed..cbbe8fa033b 100644 --- a/src/v2/__generated__/OfferMutation.graphql.ts +++ b/src/v2/__generated__/OfferMutation.graphql.ts @@ -1,12 +1,13 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; export type CommerceAddInitialOfferToOrderInput = { - readonly amountCents: number; - readonly clientMutationId?: string | null; - readonly note?: string | null; - readonly orderId: string; + amountCents: number; + clientMutationId?: string | null; + note?: string | null; + orderId: string; }; export type OfferMutationVariables = { input: CommerceAddInitialOfferToOrderInput; @@ -82,10 +83,10 @@ mutation OfferMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CommerceAddInitialOfferToOrderInput!", - "defaultValue": null + "type": "CommerceAddInitialOfferToOrderInput!" } ], v1 = [ @@ -96,138 +97,132 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": null, + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "totalListPriceCents", "args": null, + "kind": "ScalarField", + "name": "totalListPriceCents", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, v9 = { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "error", - "storageKey": null, "args": null, "concreteType": "CommerceApplicationError", + "kind": "LinkedField", + "name": "error", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "data", "args": null, + "kind": "ScalarField", + "name": "data", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationFailure" }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "OfferMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "OfferMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceAddInitialOfferToOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceAddInitialOfferToOrderPayload", + "kind": "LinkedField", + "name": "commerceAddInitialOfferToOrder", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v3/*: any*/), @@ -236,71 +231,73 @@ return { (v6/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v3/*: any*/), (v7/*: any*/), (v8/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v9/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "OfferMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceAddInitialOfferToOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceAddInitialOfferToOrderPayload", + "kind": "LinkedField", + "name": "commerceAddInitialOfferToOrder", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ (v2/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v2/*: any*/), @@ -311,42 +308,46 @@ return { (v10/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v3/*: any*/), (v7/*: any*/), (v8/*: any*/), (v10/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v9/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "OfferMutation", "id": null, - "text": "mutation OfferMutation(\n $input: CommerceAddInitialOfferToOrderInput!\n) {\n commerceAddInitialOfferToOrder(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n __typename\n order {\n __typename\n internalID\n mode\n totalListPrice\n totalListPriceCents\n ... on CommerceOfferOrder {\n myLastOffer {\n internalID\n amountCents\n note\n id\n }\n }\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "OfferMutation", + "operationKind": "mutation", + "text": "mutation OfferMutation(\n $input: CommerceAddInitialOfferToOrderInput!\n) {\n commerceAddInitialOfferToOrder(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n __typename\n order {\n __typename\n internalID\n mode\n totalListPrice\n totalListPriceCents\n ... on CommerceOfferOrder {\n myLastOffer {\n internalID\n amountCents\n note\n id\n }\n }\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/OfferSummaryItem_order.graphql.ts b/src/v2/__generated__/OfferSummaryItem_order.graphql.ts index be57bfa56c9..eafcbd58dfb 100644 --- a/src/v2/__generated__/OfferSummaryItem_order.graphql.ts +++ b/src/v2/__generated__/OfferSummaryItem_order.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -27,51 +28,51 @@ var v0 = [ } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "OfferSummaryItem_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "OfferSummaryItem_order", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "type": "CommerceOrder" }; })(); (node as any).hash = '0261dbe6d5bf78317ddcbcc13f207aa5'; diff --git a/src/v2/__generated__/OfferTestQuery.graphql.ts b/src/v2/__generated__/OfferTestQuery.graphql.ts index 2c14321040b..8f5f27a4703 100644 --- a/src/v2/__generated__/OfferTestQuery.graphql.ts +++ b/src/v2/__generated__/OfferTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -253,10 +254,10 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = [ @@ -267,68 +268,68 @@ v2 = [ } ], v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v10 = [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, (v5/*: any*/), @@ -337,191 +338,182 @@ v10 = [ (v8/*: any*/), (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, (v3/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "OfferTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "OfferTestQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Offer_order", - "args": null + "name": "Offer_order" } - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "OfferTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPriceCents", "args": null, + "kind": "ScalarField", + "name": "totalListPriceCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "currencyCode", "args": null, + "kind": "ScalarField", + "name": "currencyCode", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -530,53 +522,61 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v4/*: any*/), (v3/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, (v4/*: any*/), (v5/*: any*/), @@ -584,50 +584,51 @@ return { (v7/*: any*/), (v8/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, (v9/*: any*/), (v3/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, - "selections": (v10/*: any*/) + "selections": (v10/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, - "selections": (v10/*: any*/) + "selections": (v10/*: any*/), + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "OfferTestQuery", "id": null, - "text": "query OfferTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Offer_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Offer_order on CommerceOrder {\n internalID\n mode\n state\n totalListPrice(precision: 2)\n totalListPriceCents\n currencyCode\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "OfferTestQuery", + "operationKind": "query", + "text": "query OfferTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Offer_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Offer_order on CommerceOrder {\n internalID\n mode\n state\n totalListPrice(precision: 2)\n totalListPriceCents\n currencyCode\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Offer_order.graphql.ts b/src/v2/__generated__/Offer_order.graphql.ts index 37f0b37c684..f57b8f9c75f 100644 --- a/src/v2/__generated__/Offer_order.graphql.ts +++ b/src/v2/__generated__/Offer_order.graphql.ts @@ -1,9 +1,10 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; +import { FragmentRefs } from "relay-runtime"; export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLED" | "PENDING" | "REFUNDED" | "SUBMITTED" | "%future added value"; -import { FragmentRefs } from "relay-runtime"; export type Offer_order = { readonly internalID: string; readonly mode: CommerceOrderModeEnum | null; @@ -32,37 +33,34 @@ export type Offer_order$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Offer_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "Offer_order", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": [ { "kind": "Literal", @@ -70,84 +68,87 @@ const node: ReaderFragment = { "value": 2 } ], + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPriceCents", "args": null, + "kind": "ScalarField", + "name": "totalListPriceCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "currencyCode", "args": null, + "kind": "ScalarField", + "name": "currencyCode", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSummaryItem_order", - "args": null + "name": "ArtworkSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "TransactionDetailsSummaryItem_order", - "args": null + "name": "TransactionDetailsSummaryItem_order" } - ] + ], + "type": "CommerceOrder" }; (node as any).hash = 'ed652f82e3ec77a94451ec21b8d1cc15'; export default node; diff --git a/src/v2/__generated__/OrderApp_order.graphql.ts b/src/v2/__generated__/OrderApp_order.graphql.ts index a7c4df2fce2..1f1b4aed016 100644 --- a/src/v2/__generated__/OrderApp_order.graphql.ts +++ b/src/v2/__generated__/OrderApp_order.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; export type OrderApp_order = { readonly mode: CommerceOrderModeEnum | null; readonly lineItems: { @@ -28,92 +29,92 @@ export type OrderApp_order$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "OrderApp_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "OrderApp_order", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_offerable", - "name": "isOfferable", "args": null, + "kind": "ScalarField", + "name": "isOfferable", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrder" }; (node as any).hash = '22f0547ca97d2ba0d33dbc5db1aa4c77'; export default node; diff --git a/src/v2/__generated__/OtherAuctionsQuery.graphql.ts b/src/v2/__generated__/OtherAuctionsQuery.graphql.ts index 099c958e505..74f4dc082d4 100644 --- a/src/v2/__generated__/OtherAuctionsQuery.graphql.ts +++ b/src/v2/__generated__/OtherAuctionsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -70,16 +71,16 @@ fragment OtherAuctions_salesConnection on SaleConnection { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "first", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sort", - "type": "SaleSorts", - "defaultValue": null + "type": "SaleSorts" } ], v1 = [ @@ -95,92 +96,85 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "OtherAuctionsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "OtherAuctionsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "salesConnection", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "SaleConnection", + "kind": "LinkedField", + "name": "salesConnection", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "OtherAuctions_salesConnection", - "args": null + "name": "OtherAuctions_salesConnection" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "OtherAuctionsQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "salesConnection", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "SaleConnection", + "kind": "LinkedField", + "name": "salesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SaleEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "cover_image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:180,width:200)", "args": [ { "kind": "Literal", @@ -194,144 +188,151 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:180,width:200)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isBenefit", "args": null, + "kind": "ScalarField", + "name": "isBenefit", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isGalleryAuction", "args": null, + "kind": "ScalarField", + "name": "isGalleryAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "end_at", - "name": "endAt", "args": null, + "kind": "ScalarField", + "name": "endAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "live_start_at", - "name": "liveStartAt", "args": null, + "kind": "ScalarField", + "name": "liveStartAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_registration_closed", - "name": "isRegistrationClosed", "args": null, + "kind": "ScalarField", + "name": "isRegistrationClosed", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "start_at", - "name": "startAt", "args": null, + "kind": "ScalarField", + "name": "startAt", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v3/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "OtherAuctionsQuery", "id": null, - "text": "query OtherAuctionsQuery(\n $first: Int\n $sort: SaleSorts\n) {\n salesConnection(first: $first, sort: $sort) {\n ...OtherAuctions_salesConnection\n }\n}\n\nfragment AuctionCard_sale on Sale {\n cover_image: coverImage {\n cropped(width: 200, height: 180) {\n url\n }\n }\n isBenefit\n isGalleryAuction\n end_at: endAt\n href\n slug\n is_live_open: isLiveOpen\n is_preview: isPreview\n live_start_at: liveStartAt\n registrationStatus {\n internalID\n id\n }\n is_registration_closed: isRegistrationClosed\n name\n start_at: startAt\n is_closed: isClosed\n partner {\n name\n id\n }\n}\n\nfragment OtherAuctions_salesConnection on SaleConnection {\n edges {\n node {\n ...AuctionCard_sale\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "OtherAuctionsQuery", + "operationKind": "query", + "text": "query OtherAuctionsQuery(\n $first: Int\n $sort: SaleSorts\n) {\n salesConnection(first: $first, sort: $sort) {\n ...OtherAuctions_salesConnection\n }\n}\n\nfragment AuctionCard_sale on Sale {\n cover_image: coverImage {\n cropped(width: 200, height: 180) {\n url\n }\n }\n isBenefit\n isGalleryAuction\n end_at: endAt\n href\n slug\n is_live_open: isLiveOpen\n is_preview: isPreview\n live_start_at: liveStartAt\n registrationStatus {\n internalID\n id\n }\n is_registration_closed: isRegistrationClosed\n name\n start_at: startAt\n is_closed: isClosed\n partner {\n name\n id\n }\n}\n\nfragment OtherAuctions_salesConnection on SaleConnection {\n edges {\n node {\n ...AuctionCard_sale\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/OtherAuctionsStoryQuery.graphql.ts b/src/v2/__generated__/OtherAuctionsStoryQuery.graphql.ts index 10dcf619cbd..5b180575d85 100644 --- a/src/v2/__generated__/OtherAuctionsStoryQuery.graphql.ts +++ b/src/v2/__generated__/OtherAuctionsStoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -67,10 +68,10 @@ fragment OtherAuctions_salesConnection on SaleConnection { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "size", - "type": "Int!", - "defaultValue": null + "type": "Int!" } ], v1 = [ @@ -86,92 +87,85 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "OtherAuctionsStoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "OtherAuctionsStoryQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "salesConnection", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "SaleConnection", + "kind": "LinkedField", + "name": "salesConnection", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "OtherAuctions_salesConnection", - "args": null + "name": "OtherAuctions_salesConnection" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "OtherAuctionsStoryQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "salesConnection", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "SaleConnection", + "kind": "LinkedField", + "name": "salesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SaleEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "cover_image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:180,width:200)", "args": [ { "kind": "Literal", @@ -185,144 +179,151 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:180,width:200)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isBenefit", "args": null, + "kind": "ScalarField", + "name": "isBenefit", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isGalleryAuction", "args": null, + "kind": "ScalarField", + "name": "isGalleryAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "end_at", - "name": "endAt", "args": null, + "kind": "ScalarField", + "name": "endAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "live_start_at", - "name": "liveStartAt", "args": null, + "kind": "ScalarField", + "name": "liveStartAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_registration_closed", - "name": "isRegistrationClosed", "args": null, + "kind": "ScalarField", + "name": "isRegistrationClosed", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "start_at", - "name": "startAt", "args": null, + "kind": "ScalarField", + "name": "startAt", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v3/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "OtherAuctionsStoryQuery", "id": null, - "text": "query OtherAuctionsStoryQuery(\n $size: Int!\n) {\n salesConnection(first: $size, sort: TIMELY_AT_NAME_ASC) {\n ...OtherAuctions_salesConnection\n }\n}\n\nfragment AuctionCard_sale on Sale {\n cover_image: coverImage {\n cropped(width: 200, height: 180) {\n url\n }\n }\n isBenefit\n isGalleryAuction\n end_at: endAt\n href\n slug\n is_live_open: isLiveOpen\n is_preview: isPreview\n live_start_at: liveStartAt\n registrationStatus {\n internalID\n id\n }\n is_registration_closed: isRegistrationClosed\n name\n start_at: startAt\n is_closed: isClosed\n partner {\n name\n id\n }\n}\n\nfragment OtherAuctions_salesConnection on SaleConnection {\n edges {\n node {\n ...AuctionCard_sale\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "OtherAuctionsStoryQuery", + "operationKind": "query", + "text": "query OtherAuctionsStoryQuery(\n $size: Int!\n) {\n salesConnection(first: $size, sort: TIMELY_AT_NAME_ASC) {\n ...OtherAuctions_salesConnection\n }\n}\n\nfragment AuctionCard_sale on Sale {\n cover_image: coverImage {\n cropped(width: 200, height: 180) {\n url\n }\n }\n isBenefit\n isGalleryAuction\n end_at: endAt\n href\n slug\n is_live_open: isLiveOpen\n is_preview: isPreview\n live_start_at: liveStartAt\n registrationStatus {\n internalID\n id\n }\n is_registration_closed: isRegistrationClosed\n name\n start_at: startAt\n is_closed: isClosed\n partner {\n name\n id\n }\n}\n\nfragment OtherAuctions_salesConnection on SaleConnection {\n edges {\n node {\n ...AuctionCard_sale\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/OtherAuctions_salesConnection.graphql.ts b/src/v2/__generated__/OtherAuctions_salesConnection.graphql.ts index 255c5838e30..db61a5ca4a8 100644 --- a/src/v2/__generated__/OtherAuctions_salesConnection.graphql.ts +++ b/src/v2/__generated__/OtherAuctions_salesConnection.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -19,40 +20,40 @@ export type OtherAuctions_salesConnection$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "OtherAuctions_salesConnection", - "type": "SaleConnection", "metadata": null, - "argumentDefinitions": [], + "name": "OtherAuctions_salesConnection", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SaleEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "AuctionCard_sale", - "args": null + "name": "AuctionCard_sale" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "SaleConnection" }; (node as any).hash = 'c2907770ffe0232df7c5a03b3a42b7d9'; export default node; diff --git a/src/v2/__generated__/OtherCollectionEntity_member.graphql.ts b/src/v2/__generated__/OtherCollectionEntity_member.graphql.ts index 3f4916f84a3..661361a96e7 100644 --- a/src/v2/__generated__/OtherCollectionEntity_member.graphql.ts +++ b/src/v2/__generated__/OtherCollectionEntity_member.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -17,34 +18,34 @@ export type OtherCollectionEntity_member$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "OtherCollectionEntity_member", - "type": "MarketingCollection", "metadata": null, - "argumentDefinitions": [], + "name": "OtherCollectionEntity_member", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "thumbnail", "args": null, + "kind": "ScalarField", + "name": "thumbnail", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null } - ] + ], + "type": "MarketingCollection" }; (node as any).hash = '9240c380fecb65bb0486a4b0f4fd151b'; export default node; diff --git a/src/v2/__generated__/OtherCollectionsRail_collectionGroup.graphql.ts b/src/v2/__generated__/OtherCollectionsRail_collectionGroup.graphql.ts index 0f09c6076a8..b80e12d3fdc 100644 --- a/src/v2/__generated__/OtherCollectionsRail_collectionGroup.graphql.ts +++ b/src/v2/__generated__/OtherCollectionsRail_collectionGroup.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type MarketingGroupTypes = "ArtistSeries" | "FeaturedCollections" | "OtherCollections" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type MarketingGroupTypes = "ArtistSeries" | "FeaturedCollections" | "OtherCollections" | "%future added value"; export type OtherCollectionsRail_collectionGroup = { readonly groupType: MarketingGroupTypes; readonly name: string; @@ -20,43 +21,43 @@ export type OtherCollectionsRail_collectionGroup$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "OtherCollectionsRail_collectionGroup", - "type": "MarketingCollectionGroup", "metadata": null, - "argumentDefinitions": [], + "name": "OtherCollectionsRail_collectionGroup", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "groupType", "args": null, + "kind": "ScalarField", + "name": "groupType", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "members", - "storageKey": null, "args": null, "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "members", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "OtherCollectionEntity_member", - "args": null + "name": "OtherCollectionEntity_member" } - ] + ], + "storageKey": null } - ] + ], + "type": "MarketingCollectionGroup" }; (node as any).hash = '6f17d980c261d156126a25c34bacc8d7'; export default node; diff --git a/src/v2/__generated__/OtherWorksQuery.graphql.ts b/src/v2/__generated__/OtherWorksQuery.graphql.ts index 1ee7b9522f3..c2199bc2cda 100644 --- a/src/v2/__generated__/OtherWorksQuery.graphql.ts +++ b/src/v2/__generated__/OtherWorksQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -206,10 +207,10 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkSlug", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -220,45 +221,45 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v8 = [ @@ -269,33 +270,30 @@ v8 = [ } ], v9 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, v11 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], v12 = { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:8)", "args": [ { "kind": "Literal", @@ -304,25 +302,25 @@ v12 = { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), @@ -330,32 +328,29 @@ v12 = { (v6/*: any*/), (v7/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -363,343 +358,349 @@ v12 = { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v8/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v4/*: any*/), (v6/*: any*/), (v9/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v8/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v9/*: any*/), (v6/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, (v10/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v11/*: any*/) + "selections": (v11/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v11/*: any*/) + "selections": (v11/*: any*/), + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:8)" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "OtherWorksQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "OtherWorksQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "OtherWorks_artwork", - "args": null + "name": "OtherWorks_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "OtherWorksQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "contextGrids", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "contextGrids", "plural": true, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "ctaTitle", "args": null, + "kind": "ScalarField", + "name": "ctaTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "ctaHref", "args": null, + "kind": "ScalarField", + "name": "ctaHref", "storageKey": null }, (v12/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "layers", - "storageKey": null, "args": null, "concreteType": "ArtworkLayer", + "kind": "LinkedField", + "name": "layers", "plural": true, "selections": [ (v9/*: any*/), (v7/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null }, (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "layer", - "storageKey": null, "args": null, "concreteType": "ArtworkLayer", + "kind": "LinkedField", + "name": "layer", "plural": false, "selections": [ (v9/*: any*/), (v12/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null }, (v7/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ (v10/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "context", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "context", "plural": false, "selections": [ (v2/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "OtherWorksQuery", "id": null, - "text": "query OtherWorksQuery(\n $artworkSlug: String!\n) {\n artwork(id: $artworkSlug) {\n ...OtherWorks_artwork\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment OtherWorks_artwork on Artwork {\n contextGrids {\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 ...RelatedWorksArtworkGrid_artwork\n slug\n internalID\n sale {\n is_closed: isClosed\n id\n }\n context {\n __typename\n ... on Node {\n id\n }\n }\n}\n\nfragment RelatedWorksArtworkGrid_artwork on Artwork {\n layers {\n name\n internalID\n id\n }\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "OtherWorksQuery", + "operationKind": "query", + "text": "query OtherWorksQuery(\n $artworkSlug: String!\n) {\n artwork(id: $artworkSlug) {\n ...OtherWorks_artwork\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment OtherWorks_artwork on Artwork {\n contextGrids {\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 ...RelatedWorksArtworkGrid_artwork\n slug\n internalID\n sale {\n is_closed: isClosed\n id\n }\n context {\n __typename\n ... on Node {\n id\n }\n }\n}\n\nfragment RelatedWorksArtworkGrid_artwork on Artwork {\n layers {\n name\n internalID\n id\n }\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/OtherWorks_artwork.graphql.ts b/src/v2/__generated__/OtherWorks_artwork.graphql.ts index a7955cb8625..8bb4719a4a6 100644 --- a/src/v2/__generated__/OtherWorks_artwork.graphql.ts +++ b/src/v2/__generated__/OtherWorks_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -41,69 +42,64 @@ export type OtherWorks_artwork$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }; return { - "kind": "Fragment", - "name": "OtherWorks_artwork", - "type": "Artwork", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": false, "kind": "LocalArgument", "name": "shouldFetchArtistSeriesData", - "type": "Boolean!", - "defaultValue": false + "type": "Boolean!" } ], + "kind": "Fragment", + "metadata": null, + "name": "OtherWorks_artwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "contextGrids", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "contextGrids", "plural": true, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "ctaTitle", "args": null, + "kind": "ScalarField", + "name": "ctaTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "ctaHref", "args": null, + "kind": "ScalarField", + "name": "ctaHref", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:8)", "args": [ { "kind": "Literal", @@ -112,83 +108,84 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkGrid_artworks", - "args": null + "name": "ArtworkGrid_artworks" } - ] + ], + "storageKey": "artworksConnection(first:8)" } - ] + ], + "storageKey": null }, (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "context", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "context", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "seriesArtist", - "name": "artist", - "storageKey": "artist(shallow:true)", "args": [ { "kind": "Literal", @@ -197,40 +194,44 @@ return { } ], "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "condition": "shouldFetchArtistSeriesData", "kind": "Condition", "passingValue": true, - "condition": "shouldFetchArtistSeriesData", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistSeriesRail_artist", - "args": null + "name": "ArtistSeriesRail_artist" } ] } - ] + ], + "storageKey": "artist(shallow:true)" }, { + "args": null, "kind": "FragmentSpread", - "name": "RelatedWorksArtworkGrid_artwork", - "args": null + "name": "RelatedWorksArtworkGrid_artwork" }, { + "condition": "shouldFetchArtistSeriesData", "kind": "Condition", "passingValue": true, - "condition": "shouldFetchArtistSeriesData", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistSeriesArtworkRail_artwork", - "args": null + "name": "ArtistSeriesArtworkRail_artwork" } ] } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = '84a7aba3c5bcf0d95baf0844789cadde'; diff --git a/src/v2/__generated__/Overview_artist.graphql.ts b/src/v2/__generated__/Overview_artist.graphql.ts index 0db397df5b0..e4c761f5a3c 100644 --- a/src/v2/__generated__/Overview_artist.graphql.ts +++ b/src/v2/__generated__/Overview_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -100,84 +101,80 @@ export type Overview_artist$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "artworks", "args": null, + "kind": "ScalarField", + "name": "artworks", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v5 = [ (v0/*: any*/) ], v6 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }; return { - "kind": "Fragment", - "name": "Overview_artist", - "type": "Artist", - "metadata": null, "argumentDefinitions": [ { - "kind": "LocalArgument", - "name": "partnerCategory", - "type": "[String]", "defaultValue": [ "blue-chip", "top-established", "top-emerging" - ] + ], + "kind": "LocalArgument", + "name": "partnerCategory", + "type": "[String]" } ], + "kind": "Fragment", + "metadata": null, + "name": "Overview_artist", "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "statuses", - "storageKey": null, "args": null, "concreteType": "ArtistStatuses", + "kind": "LinkedField", + "name": "statuses", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "cv", "args": [ { "kind": "Literal", @@ -185,64 +182,64 @@ return { "value": 0 } ], + "kind": "ScalarField", + "name": "cv", "storageKey": "cv(minShowCount:0)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "partner_shows", - "name": "partnerShows", "args": null, + "kind": "ScalarField", + "name": "partnerShows", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "forSaleArtworks", "args": null, + "kind": "ScalarField", + "name": "forSaleArtworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "ecommerce_artworks", - "name": "ecommerceArtworks", "args": null, + "kind": "ScalarField", + "name": "ecommerceArtworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "auction_artworks", - "name": "auctionArtworks", "args": null, + "kind": "ScalarField", + "name": "auctionArtworks", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": "has_make_offer_artworks", - "name": "hasMakeOfferArtworks", "args": null, + "kind": "ScalarField", + "name": "hasMakeOfferArtworks", "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/), (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "biographyBlurb", - "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)", "args": [ { "kind": "Literal", @@ -256,75 +253,74 @@ return { } ], "concreteType": "ArtistBlurb", + "kind": "LinkedField", + "name": "biographyBlurb", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "text", "args": null, + "kind": "ScalarField", + "name": "text", "storageKey": null } - ] + ], + "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "currentEvent", - "storageKey": null, "args": null, "concreteType": "CurrentEvent", + "kind": "LinkedField", + "name": "currentEvent", "plural": false, "selections": [ (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "genes", - "storageKey": null, "args": null, "concreteType": "GeneConnection", + "kind": "LinkedField", + "name": "genes", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "GeneEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "node", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artistsConnection", - "storageKey": "artistsConnection(first:1)", "args": [ { "kind": "Literal", @@ -333,40 +329,41 @@ return { } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "artistsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artistsConnection(first:1)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": "showsConnection(first:5,sort:\"END_AT_ASC\",status:\"running\")", "args": [ { "kind": "Literal", @@ -385,49 +382,45 @@ return { } ], "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ShowEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Show", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "exhibitionPeriod", "args": null, + "kind": "ScalarField", + "name": "exhibitionPeriod", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:140,width:220)", "args": [ { "kind": "Literal", @@ -441,38 +434,42 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null } - ] + ], + "storageKey": "cropped(height:140,width:220)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "showsConnection(first:5,sort:\"END_AT_ASC\",status:\"running\")" }, { - "kind": "LinkedField", "alias": null, - "name": "articlesConnection", - "storageKey": "articlesConnection(first:4,inEditorialFeed:true,sort:\"PUBLISHED_AT_DESC\")", "args": [ { "kind": "Literal", @@ -491,38 +488,36 @@ return { } ], "concreteType": "ArticleConnection", + "kind": "LinkedField", + "name": "articlesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArticleEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Article", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "thumbnailTitle", "args": null, + "kind": "ScalarField", + "name": "thumbnailTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -530,22 +525,20 @@ return { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM Do, YYYY\")" }, { - "kind": "LinkedField", "alias": null, - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:80,width:120)", "args": [ { "kind": "Literal", @@ -559,47 +552,50 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ (v6/*: any*/) - ] + ], + "storageKey": "cropped(height:80,width:120)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "articlesConnection(first:4,inEditorialFeed:true,sort:\"PUBLISHED_AT_DESC\")" }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "collections", "args": null, + "kind": "ScalarField", + "name": "collections", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -623,108 +619,113 @@ return { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "insights", - "storageKey": null, "args": null, "concreteType": "ArtistInsight", + "kind": "LinkedField", + "name": "insights", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistBio_bio", - "args": null + "name": "ArtistBio_bio" }, { + "args": null, "kind": "FragmentSpread", - "name": "CurrentEvent_artist", - "args": null + "name": "CurrentEvent_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "MarketInsights_artist", - "args": null + "name": "MarketInsights_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "SelectedCareerAchievements_artist", - "args": null + "name": "SelectedCareerAchievements_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "Genes_artist", - "args": null + "name": "Genes_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "FollowArtistButton_artist", - "args": null + "name": "FollowArtistButton_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "WorksForSaleRail_artist", - "args": null + "name": "WorksForSaleRail_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistConsignButton_artist", - "args": null + "name": "ArtistConsignButton_artist" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistTopWorksRail_artist", - "args": null + "name": "ArtistTopWorksRail_artist" } - ] + ], + "type": "Artist" }; })(); (node as any).hash = '21d56df7032a5a7852fb99bc4e4f0dcf'; diff --git a/src/v2/__generated__/Pagination_pageCursors.graphql.ts b/src/v2/__generated__/Pagination_pageCursors.graphql.ts index ca33429c429..4cfeac4adae 100644 --- a/src/v2/__generated__/Pagination_pageCursors.graphql.ts +++ b/src/v2/__generated__/Pagination_pageCursors.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -34,81 +35,81 @@ export type Pagination_pageCursors$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v2 = [ (v0/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Pagination_pageCursors", - "type": "PageCursors", "metadata": null, - "argumentDefinitions": [], + "name": "Pagination_pageCursors", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "PageCursors" }; })(); (node as any).hash = '72b4f72005e64de70ab045755aaaec79'; diff --git a/src/v2/__generated__/PaymentFormCreateCreditCardMutation.graphql.ts b/src/v2/__generated__/PaymentFormCreateCreditCardMutation.graphql.ts index f132e9bd54a..67012c7f941 100644 --- a/src/v2/__generated__/PaymentFormCreateCreditCardMutation.graphql.ts +++ b/src/v2/__generated__/PaymentFormCreateCreditCardMutation.graphql.ts @@ -1,10 +1,11 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CreditCardInput = { - readonly clientMutationId?: string | null; - readonly oneTimeUse?: boolean | null; - readonly token: string; + clientMutationId?: string | null; + oneTimeUse?: boolean | null; + token: string; }; export type PaymentFormCreateCreditCardMutationVariables = { input: CreditCardInput; @@ -73,10 +74,10 @@ mutation PaymentFormCreateCreditCardMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CreditCardInput!", - "defaultValue": null + "type": "CreditCardInput!" } ], v1 = [ @@ -87,194 +88,194 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { "kind": "InlineFragment", - "type": "CreditCardMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCardEdge", - "storageKey": null, "args": null, "concreteType": "CreditCardEdge", + "kind": "LinkedField", + "name": "creditCardEdge", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CreditCardMutationSuccess" }, v4 = { "kind": "InlineFragment", - "type": "CreditCardMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "mutationError", - "storageKey": null, "args": null, "concreteType": "GravityMutationError", + "kind": "LinkedField", + "name": "mutationError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "message", "args": null, + "kind": "ScalarField", + "name": "message", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "detail", "args": null, + "kind": "ScalarField", + "name": "detail", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CreditCardMutationFailure" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "PaymentFormCreateCreditCardMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "PaymentFormCreateCreditCardMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createCreditCard", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CreditCardPayload", + "kind": "LinkedField", + "name": "createCreditCard", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCardOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "creditCardOrError", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "PaymentFormCreateCreditCardMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createCreditCard", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CreditCardPayload", + "kind": "LinkedField", + "name": "createCreditCard", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCardOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "creditCardOrError", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "PaymentFormCreateCreditCardMutation", "id": null, - "text": "mutation PaymentFormCreateCreditCardMutation(\n $input: CreditCardInput!\n) {\n createCreditCard(input: $input) {\n creditCardOrError {\n __typename\n ... on CreditCardMutationSuccess {\n creditCardEdge {\n node {\n id\n internalID\n brand\n lastDigits\n expirationYear\n expirationMonth\n __typename\n }\n }\n }\n ... on CreditCardMutationFailure {\n mutationError {\n type\n message\n detail\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "PaymentFormCreateCreditCardMutation", + "operationKind": "mutation", + "text": "mutation PaymentFormCreateCreditCardMutation(\n $input: CreditCardInput!\n) {\n createCreditCard(input: $input) {\n creditCardOrError {\n __typename\n ... on CreditCardMutationSuccess {\n creditCardEdge {\n node {\n id\n internalID\n brand\n lastDigits\n expirationYear\n expirationMonth\n __typename\n }\n }\n }\n ... on CreditCardMutationFailure {\n mutationError {\n type\n message\n detail\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/PaymentMultipleCreditCardsQuery.graphql.ts b/src/v2/__generated__/PaymentMultipleCreditCardsQuery.graphql.ts index d48c07ae5d8..14fd458169d 100644 --- a/src/v2/__generated__/PaymentMultipleCreditCardsQuery.graphql.ts +++ b/src/v2/__generated__/PaymentMultipleCreditCardsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -49,17 +50,17 @@ fragment UserSettingsPayments_me on Me { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = [ @@ -70,169 +71,169 @@ v2 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "PaymentMultipleCreditCardsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "PaymentMultipleCreditCardsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "UserSettingsPayments_me", - "args": null + "name": "UserSettingsPayments_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "PaymentMultipleCreditCardsQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "creditCards", - "storageKey": "creditCards(first:100)", "args": (v2/*: any*/), "concreteType": "CreditCardConnection", + "kind": "LinkedField", + "name": "creditCards", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CreditCardEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "creditCards(first:100)" }, { - "kind": "LinkedHandle", "alias": null, - "name": "creditCards", "args": (v2/*: any*/), + "filters": [], "handle": "connection", "key": "UserSettingsPayments_creditCards", - "filters": [] + "kind": "LinkedHandle", + "name": "creditCards" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "PaymentMultipleCreditCardsQuery", "id": null, - "text": "query PaymentMultipleCreditCardsQuery {\n me {\n ...UserSettingsPayments_me\n id\n }\n}\n\nfragment UserSettingsPayments_me on Me {\n id\n internalID\n creditCards(first: 100) {\n edges {\n node {\n id\n internalID\n brand\n lastDigits\n expirationYear\n expirationMonth\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "PaymentMultipleCreditCardsQuery", + "operationKind": "query", + "text": "query PaymentMultipleCreditCardsQuery {\n me {\n ...UserSettingsPayments_me\n id\n }\n}\n\nfragment UserSettingsPayments_me on Me {\n id\n internalID\n creditCards(first: 100) {\n edges {\n node {\n id\n internalID\n brand\n lastDigits\n expirationYear\n expirationMonth\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/PaymentNoCreditCardsQuery.graphql.ts b/src/v2/__generated__/PaymentNoCreditCardsQuery.graphql.ts index dacb6baf75f..87a4731f5d4 100644 --- a/src/v2/__generated__/PaymentNoCreditCardsQuery.graphql.ts +++ b/src/v2/__generated__/PaymentNoCreditCardsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -49,17 +50,17 @@ fragment UserSettingsPayments_me on Me { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = [ @@ -70,169 +71,169 @@ v2 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "PaymentNoCreditCardsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "PaymentNoCreditCardsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "UserSettingsPayments_me", - "args": null + "name": "UserSettingsPayments_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "PaymentNoCreditCardsQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "creditCards", - "storageKey": "creditCards(first:100)", "args": (v2/*: any*/), "concreteType": "CreditCardConnection", + "kind": "LinkedField", + "name": "creditCards", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CreditCardEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "creditCards(first:100)" }, { - "kind": "LinkedHandle", "alias": null, - "name": "creditCards", "args": (v2/*: any*/), + "filters": [], "handle": "connection", "key": "UserSettingsPayments_creditCards", - "filters": [] + "kind": "LinkedHandle", + "name": "creditCards" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "PaymentNoCreditCardsQuery", "id": null, - "text": "query PaymentNoCreditCardsQuery {\n me {\n ...UserSettingsPayments_me\n id\n }\n}\n\nfragment UserSettingsPayments_me on Me {\n id\n internalID\n creditCards(first: 100) {\n edges {\n node {\n id\n internalID\n brand\n lastDigits\n expirationYear\n expirationMonth\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "PaymentNoCreditCardsQuery", + "operationKind": "query", + "text": "query PaymentNoCreditCardsQuery {\n me {\n ...UserSettingsPayments_me\n id\n }\n}\n\nfragment UserSettingsPayments_me on Me {\n id\n internalID\n creditCards(first: 100) {\n edges {\n node {\n id\n internalID\n brand\n lastDigits\n expirationYear\n expirationMonth\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/PaymentPickerCreateCreditCardMutation.graphql.ts b/src/v2/__generated__/PaymentPickerCreateCreditCardMutation.graphql.ts index 8158814d71d..eef7e7d914e 100644 --- a/src/v2/__generated__/PaymentPickerCreateCreditCardMutation.graphql.ts +++ b/src/v2/__generated__/PaymentPickerCreateCreditCardMutation.graphql.ts @@ -1,10 +1,11 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CreditCardInput = { - readonly clientMutationId?: string | null; - readonly oneTimeUse?: boolean | null; - readonly token: string; + clientMutationId?: string | null; + oneTimeUse?: boolean | null; + token: string; }; export type PaymentPickerCreateCreditCardMutationVariables = { input: CreditCardInput; @@ -80,10 +81,10 @@ mutation PaymentPickerCreateCreditCardMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CreditCardInput!", - "defaultValue": null + "type": "CreditCardInput!" } ], v1 = [ @@ -94,165 +95,159 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "street1", "args": null, + "kind": "ScalarField", + "name": "street1", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "street2", "args": null, + "kind": "ScalarField", + "name": "street2", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, v14 = { "kind": "InlineFragment", - "type": "CreditCardMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "mutationError", - "storageKey": null, "args": null, "concreteType": "GravityMutationError", + "kind": "LinkedField", + "name": "mutationError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "message", "args": null, + "kind": "ScalarField", + "name": "message", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "detail", "args": null, + "kind": "ScalarField", + "name": "detail", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CreditCardMutationFailure" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "PaymentPickerCreateCreditCardMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "PaymentPickerCreateCreditCardMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createCreditCard", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CreditCardPayload", + "kind": "LinkedField", + "name": "createCreditCard", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCardOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "creditCardOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CreditCardMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v2/*: any*/), @@ -267,58 +262,60 @@ return { (v11/*: any*/), (v12/*: any*/), (v13/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CreditCardMutationSuccess" }, (v14/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "PaymentPickerCreateCreditCardMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createCreditCard", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CreditCardPayload", + "kind": "LinkedField", + "name": "createCreditCard", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCardOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "creditCardOrError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "CreditCardMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v2/*: any*/), @@ -334,29 +331,33 @@ return { (v12/*: any*/), (v13/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CreditCardMutationSuccess" }, (v14/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "PaymentPickerCreateCreditCardMutation", "id": null, - "text": "mutation PaymentPickerCreateCreditCardMutation(\n $input: CreditCardInput!\n) {\n createCreditCard(input: $input) {\n creditCardOrError {\n __typename\n ... on CreditCardMutationSuccess {\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n }\n ... on CreditCardMutationFailure {\n mutationError {\n type\n message\n detail\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "PaymentPickerCreateCreditCardMutation", + "operationKind": "mutation", + "text": "mutation PaymentPickerCreateCreditCardMutation(\n $input: CreditCardInput!\n) {\n createCreditCard(input: $input) {\n creditCardOrError {\n __typename\n ... on CreditCardMutationSuccess {\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n }\n ... on CreditCardMutationFailure {\n mutationError {\n type\n message\n detail\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/PaymentPickerEigenTestQuery.graphql.ts b/src/v2/__generated__/PaymentPickerEigenTestQuery.graphql.ts index bc346f1f545..51a5821ba4f 100644 --- a/src/v2/__generated__/PaymentPickerEigenTestQuery.graphql.ts +++ b/src/v2/__generated__/PaymentPickerEigenTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -171,151 +172,147 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "PaymentPickerEigenTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "PaymentPickerEigenTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "PaymentPicker_me", - "args": null + "name": "PaymentPicker_me" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "PaymentPicker_order", - "args": null + "name": "PaymentPicker_order" } - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "PaymentPickerEigenTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCards", - "storageKey": "creditCards(first:100)", "args": [ { "kind": "Literal", @@ -324,24 +321,24 @@ return { } ], "concreteType": "CreditCardConnection", + "kind": "LinkedField", + "name": "creditCards", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CreditCardEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/), @@ -350,57 +347,59 @@ return { (v4/*: any*/), (v5/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "creditCards(first:100)" }, (v6/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v7/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, (v8/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v1/*: any*/), (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "street1", "args": null, + "kind": "ScalarField", + "name": "street1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "street2", "args": null, + "kind": "ScalarField", + "name": "street2", "storageKey": null }, (v10/*: any*/), @@ -412,128 +411,130 @@ return { (v3/*: any*/), (v2/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v7/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, (v11/*: any*/), (v12/*: any*/) - ] + ], + "type": "CommerceShip" }, { "kind": "InlineFragment", - "type": "CommercePickup", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "fulfillmentType", "args": null, + "kind": "ScalarField", + "name": "fulfillmentType", "storageKey": null } - ] + ], + "type": "CommercePickup" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "PaymentPickerEigenTestQuery", "id": null, - "text": "query PaymentPickerEigenTestQuery {\n me {\n ...PaymentPicker_me\n id\n }\n order: commerceOrder(id: \"unused\") {\n __typename\n ...PaymentPicker_order\n id\n }\n}\n\nfragment PaymentPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment PaymentPicker_order on CommerceOrder {\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "PaymentPickerEigenTestQuery", + "operationKind": "query", + "text": "query PaymentPickerEigenTestQuery {\n me {\n ...PaymentPicker_me\n id\n }\n order: commerceOrder(id: \"unused\") {\n __typename\n ...PaymentPicker_order\n id\n }\n}\n\nfragment PaymentPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment PaymentPicker_order on CommerceOrder {\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/PaymentPickerTestQuery.graphql.ts b/src/v2/__generated__/PaymentPickerTestQuery.graphql.ts index 8ea09a974eb..9ef3cd04ca1 100644 --- a/src/v2/__generated__/PaymentPickerTestQuery.graphql.ts +++ b/src/v2/__generated__/PaymentPickerTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -171,151 +172,147 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "PaymentPickerTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "PaymentPickerTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "PaymentPicker_me", - "args": null + "name": "PaymentPicker_me" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "PaymentPicker_order", - "args": null + "name": "PaymentPicker_order" } - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "PaymentPickerTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCards", - "storageKey": "creditCards(first:100)", "args": [ { "kind": "Literal", @@ -324,24 +321,24 @@ return { } ], "concreteType": "CreditCardConnection", + "kind": "LinkedField", + "name": "creditCards", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CreditCardEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/), @@ -350,57 +347,59 @@ return { (v4/*: any*/), (v5/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "creditCards(first:100)" }, (v6/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v7/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, (v8/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v1/*: any*/), (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "street1", "args": null, + "kind": "ScalarField", + "name": "street1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "street2", "args": null, + "kind": "ScalarField", + "name": "street2", "storageKey": null }, (v10/*: any*/), @@ -412,128 +411,130 @@ return { (v3/*: any*/), (v2/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v7/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, (v11/*: any*/), (v12/*: any*/) - ] + ], + "type": "CommerceShip" }, { "kind": "InlineFragment", - "type": "CommercePickup", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "fulfillmentType", "args": null, + "kind": "ScalarField", + "name": "fulfillmentType", "storageKey": null } - ] + ], + "type": "CommercePickup" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "PaymentPickerTestQuery", "id": null, - "text": "query PaymentPickerTestQuery {\n me {\n ...PaymentPicker_me\n id\n }\n order: commerceOrder(id: \"unused\") {\n __typename\n ...PaymentPicker_order\n id\n }\n}\n\nfragment PaymentPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment PaymentPicker_order on CommerceOrder {\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "PaymentPickerTestQuery", + "operationKind": "query", + "text": "query PaymentPickerTestQuery {\n me {\n ...PaymentPicker_me\n id\n }\n order: commerceOrder(id: \"unused\") {\n __typename\n ...PaymentPicker_order\n id\n }\n}\n\nfragment PaymentPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment PaymentPicker_order on CommerceOrder {\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/PaymentPicker_me.graphql.ts b/src/v2/__generated__/PaymentPicker_me.graphql.ts index 492dcb20e39..c6a4e67ec16 100644 --- a/src/v2/__generated__/PaymentPicker_me.graphql.ts +++ b/src/v2/__generated__/PaymentPicker_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -25,17 +26,13 @@ export type PaymentPicker_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "PaymentPicker_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "PaymentPicker_me", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCards", - "storageKey": "creditCards(first:100)", "args": [ { "kind": "Literal", @@ -44,68 +41,72 @@ const node: ReaderFragment = { } ], "concreteType": "CreditCardConnection", + "kind": "LinkedField", + "name": "creditCards", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CreditCardEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "creditCards(first:100)" } - ] + ], + "type": "Me" }; (node as any).hash = '7c560989a1629a7d702ebca42324ab84'; export default node; diff --git a/src/v2/__generated__/PaymentPicker_order.graphql.ts b/src/v2/__generated__/PaymentPicker_order.graphql.ts index 80d79c71ea9..d4fb8791cf0 100644 --- a/src/v2/__generated__/PaymentPicker_order.graphql.ts +++ b/src/v2/__generated__/PaymentPicker_order.graphql.ts @@ -1,9 +1,10 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; +import { FragmentRefs } from "relay-runtime"; export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLED" | "PENDING" | "REFUNDED" | "SUBMITTED" | "%future added value"; -import { FragmentRefs } from "relay-runtime"; export type PaymentPicker_order = { readonly internalID: string; readonly mode: CommerceOrderModeEnum | null; @@ -60,86 +61,84 @@ export type PaymentPicker_order$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "PaymentPicker_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "PaymentPicker_order", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v0/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "street1", "args": null, + "kind": "ScalarField", + "name": "street1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "street2", "args": null, + "kind": "ScalarField", + "name": "street2", "storageKey": null }, (v3/*: any*/), @@ -147,149 +146,151 @@ return { (v4/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, (v4/*: any*/), (v5/*: any*/) - ] + ], + "type": "CommerceShip" }, { "kind": "InlineFragment", - "type": "CommercePickup", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "fulfillmentType", "args": null, + "kind": "ScalarField", + "name": "fulfillmentType", "storageKey": null } - ] + ], + "type": "CommercePickup" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrder" }; })(); (node as any).hash = '2ed0c0b6e0b58ac0b9708f897f46ac51'; diff --git a/src/v2/__generated__/PaymentRouteSetOrderPaymentMutation.graphql.ts b/src/v2/__generated__/PaymentRouteSetOrderPaymentMutation.graphql.ts index 169bc793a7d..f212834480a 100644 --- a/src/v2/__generated__/PaymentRouteSetOrderPaymentMutation.graphql.ts +++ b/src/v2/__generated__/PaymentRouteSetOrderPaymentMutation.graphql.ts @@ -1,10 +1,11 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CommerceSetPaymentInput = { - readonly clientMutationId?: string | null; - readonly creditCardId: string; - readonly id: string; + clientMutationId?: string | null; + creditCardId: string; + id: string; }; export type PaymentRouteSetOrderPaymentMutationVariables = { input: CommerceSetPaymentInput; @@ -79,10 +80,10 @@ mutation PaymentRouteSetOrderPaymentMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CommerceSetPaymentInput!", - "defaultValue": null + "type": "CommerceSetPaymentInput!" } ], v1 = [ @@ -93,161 +94,154 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "street1", "args": null, + "kind": "ScalarField", + "name": "street1", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "street2", "args": null, + "kind": "ScalarField", + "name": "street2", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": "postal_code", - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, v11 = { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "error", - "storageKey": null, "args": null, "concreteType": "CommerceApplicationError", + "kind": "LinkedField", + "name": "error", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "data", "args": null, + "kind": "ScalarField", + "name": "data", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationFailure" }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "PaymentRouteSetOrderPaymentMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "PaymentRouteSetOrderPaymentMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceSetPayment", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceSetPaymentPayload", + "kind": "LinkedField", + "name": "commerceSetPayment", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v3/*: any*/), @@ -258,65 +252,67 @@ return { (v8/*: any*/), (v9/*: any*/), (v10/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v11/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "PaymentRouteSetOrderPaymentMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceSetPayment", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceSetPaymentPayload", + "kind": "LinkedField", + "name": "commerceSetPayment", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ (v12/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v12/*: any*/), (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v3/*: any*/), @@ -328,25 +324,30 @@ return { (v9/*: any*/), (v10/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v11/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "PaymentRouteSetOrderPaymentMutation", "id": null, - "text": "mutation PaymentRouteSetOrderPaymentMutation(\n $input: CommerceSetPaymentInput!\n) {\n commerceSetPayment(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n id\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postal_code: postalCode\n id\n }\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "PaymentRouteSetOrderPaymentMutation", + "operationKind": "mutation", + "text": "mutation PaymentRouteSetOrderPaymentMutation(\n $input: CommerceSetPaymentInput!\n) {\n commerceSetPayment(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n id\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postal_code: postalCode\n id\n }\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/PaymentTestQuery.graphql.ts b/src/v2/__generated__/PaymentTestQuery.graphql.ts index 55193062e22..4f07a36496f 100644 --- a/src/v2/__generated__/PaymentTestQuery.graphql.ts +++ b/src/v2/__generated__/PaymentTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -394,87 +395,87 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v13 = [ @@ -485,54 +486,54 @@ v13 = [ } ], v14 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v13/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v16 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v13/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v17 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v18 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v13/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v19 = [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v13/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, (v14/*: any*/), @@ -541,90 +542,86 @@ v19 = [ (v17/*: any*/), (v18/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, (v6/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "PaymentTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "PaymentTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Payment_me", - "args": null + "name": "Payment_me" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Payment_order", - "args": null + "name": "Payment_order" } - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "PaymentTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCards", - "storageKey": "creditCards(first:100)", "args": [ { "kind": "Literal", @@ -633,24 +630,24 @@ return { } ], "concreteType": "CreditCardConnection", + "kind": "LinkedField", + "name": "creditCards", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CreditCardEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/), @@ -659,118 +656,113 @@ return { (v4/*: any*/), (v5/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "creditCards(first:100)" }, (v6/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v6/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -779,52 +771,59 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v7/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v1/*: any*/), (v8/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "street1", "args": null, + "kind": "ScalarField", + "name": "street1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "street2", "args": null, + "kind": "ScalarField", + "name": "street2", "storageKey": null }, (v9/*: any*/), @@ -836,83 +835,84 @@ return { (v3/*: any*/), (v2/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v12/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v8/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, (v10/*: any*/), (v11/*: any*/) - ] + ], + "type": "CommerceShip" }, { "kind": "InlineFragment", - "type": "CommercePickup", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "fulfillmentType", "args": null, + "kind": "ScalarField", + "name": "fulfillmentType", "storageKey": null } - ] + ], + "type": "CommercePickup" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v12/*: any*/), (v6/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v8/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, (v12/*: any*/), (v14/*: any*/), @@ -920,57 +920,58 @@ return { (v16/*: any*/), (v17/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v13/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v13/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v18/*: any*/), (v6/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, - "selections": (v19/*: any*/) + "selections": (v19/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, - "selections": (v19/*: any*/) + "selections": (v19/*: any*/), + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "PaymentTestQuery", "id": null, - "text": "query PaymentTestQuery {\n me {\n ...Payment_me\n id\n }\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Payment_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment PaymentPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment PaymentPicker_order on CommerceOrder {\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n\nfragment Payment_me on Me {\n ...PaymentPicker_me\n}\n\nfragment Payment_order on CommerceOrder {\n internalID\n mode\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ...PaymentPicker_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "PaymentTestQuery", + "operationKind": "query", + "text": "query PaymentTestQuery {\n me {\n ...Payment_me\n id\n }\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Payment_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment PaymentPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment PaymentPicker_order on CommerceOrder {\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n\nfragment Payment_me on Me {\n ...PaymentPicker_me\n}\n\nfragment Payment_order on CommerceOrder {\n internalID\n mode\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ...PaymentPicker_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Payment_me.graphql.ts b/src/v2/__generated__/Payment_me.graphql.ts index 14b4bcb9677..3236b3c27d2 100644 --- a/src/v2/__generated__/Payment_me.graphql.ts +++ b/src/v2/__generated__/Payment_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,18 +16,18 @@ export type Payment_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Payment_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "Payment_me", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "PaymentPicker_me", - "args": null + "name": "PaymentPicker_me" } - ] + ], + "type": "Me" }; (node as any).hash = '6e58b93df5b176669dbf779516ec980d'; export default node; diff --git a/src/v2/__generated__/Payment_order.graphql.ts b/src/v2/__generated__/Payment_order.graphql.ts index 595bdd426fb..b59c256af61 100644 --- a/src/v2/__generated__/Payment_order.graphql.ts +++ b/src/v2/__generated__/Payment_order.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; export type Payment_order = { readonly internalID: string; readonly mode: CommerceOrderModeEnum | null; @@ -27,93 +28,93 @@ export type Payment_order$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Payment_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "Payment_order", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "PaymentPicker_order", - "args": null + "name": "PaymentPicker_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSummaryItem_order", - "args": null + "name": "ArtworkSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "TransactionDetailsSummaryItem_order", - "args": null + "name": "TransactionDetailsSummaryItem_order" } - ] + ], + "type": "CommerceOrder" }; (node as any).hash = 'd7d52f4d7c603a596b9c91b633ee8efc'; export default node; diff --git a/src/v2/__generated__/PopularArtistsFollowArtistMutation.graphql.ts b/src/v2/__generated__/PopularArtistsFollowArtistMutation.graphql.ts index 9ee530223a4..e8ddad7cee8 100644 --- a/src/v2/__generated__/PopularArtistsFollowArtistMutation.graphql.ts +++ b/src/v2/__generated__/PopularArtistsFollowArtistMutation.graphql.ts @@ -1,14 +1,15 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type FollowArtistInput = { - readonly artistID: string; - readonly clientMutationId?: string | null; - readonly unfollow?: boolean | null; + artistID: string; + clientMutationId?: string | null; + unfollow?: boolean | null; }; export type PopularArtistsFollowArtistMutationVariables = { input: FollowArtistInput; - excludedArtistIds: ReadonlyArray; + excludedArtistIds: Array; }; export type PopularArtistsFollowArtistMutationResponse = { readonly followArtist: { @@ -96,16 +97,16 @@ mutation PopularArtistsFollowArtistMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "FollowArtistInput!", - "defaultValue": null + "type": "FollowArtistInput!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "excludedArtistIds", - "type": "[String]!", - "defaultValue": null + "type": "[String]!" } ], v1 = { @@ -119,49 +120,45 @@ v2 = { "value": true }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -175,26 +172,27 @@ v4 = [ } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null } ], v5 = [ { - "kind": "LinkedField", "alias": null, - "name": "followArtist", - "storageKey": null, "args": [ { "kind": "Variable", @@ -203,13 +201,12 @@ v5 = [ } ], "concreteType": "FollowArtistPayload", + "kind": "LinkedField", + "name": "followArtist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "popular_artists", - "name": "popularArtists", - "storageKey": null, "args": [ (v1/*: any*/), (v2/*: any*/), @@ -220,33 +217,31 @@ v5 = [ } ], "concreteType": "Artist", + "kind": "LinkedField", + "name": "popularArtists", "plural": true, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "suggestedConnection", - "storageKey": null, "args": [ (v1/*: any*/), (v2/*: any*/), @@ -257,60 +252,66 @@ v5 = [ } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "suggestedConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "PopularArtistsFollowArtistMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), - "selections": (v5/*: any*/) + "name": "PopularArtistsFollowArtistMutation", + "selections": (v5/*: any*/), + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "PopularArtistsFollowArtistMutation", - "argumentDefinitions": (v0/*: any*/), "selections": (v5/*: any*/) }, "params": { - "operationKind": "mutation", - "name": "PopularArtistsFollowArtistMutation", "id": null, - "text": "mutation PopularArtistsFollowArtistMutation(\n $input: FollowArtistInput!\n $excludedArtistIds: [String]!\n) {\n followArtist(input: $input) {\n popular_artists: popularArtists(size: 1, excludeFollowedArtists: true, excludeArtistIDs: $excludedArtistIds) {\n slug\n internalID\n id\n name\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n }\n artist {\n id\n related {\n suggestedConnection(first: 1, excludeFollowedArtists: true, excludeArtistIDs: $excludedArtistIds) {\n edges {\n node {\n slug\n internalID\n id\n name\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "PopularArtistsFollowArtistMutation", + "operationKind": "mutation", + "text": "mutation PopularArtistsFollowArtistMutation(\n $input: FollowArtistInput!\n $excludedArtistIds: [String]!\n) {\n followArtist(input: $input) {\n popular_artists: popularArtists(size: 1, excludeFollowedArtists: true, excludeArtistIDs: $excludedArtistIds) {\n slug\n internalID\n id\n name\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n }\n artist {\n id\n related {\n suggestedConnection(first: 1, excludeFollowedArtists: true, excludeArtistIDs: $excludedArtistIds) {\n edges {\n node {\n slug\n internalID\n id\n name\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/PopularArtistsQuery.graphql.ts b/src/v2/__generated__/PopularArtistsQuery.graphql.ts index 26bfd12dbbd..7be13374313 100644 --- a/src/v2/__generated__/PopularArtistsQuery.graphql.ts +++ b/src/v2/__generated__/PopularArtistsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -49,108 +50,102 @@ var v0 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "PopularArtistsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "PopularArtistsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "Highlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "popular_artists", - "name": "popularArtists", - "storageKey": "popularArtists(excludeFollowedArtists:true)", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "popularArtists", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "PopularArtists_popular_artists", - "args": null + "name": "PopularArtists_popular_artists" } - ] + ], + "storageKey": "popularArtists(excludeFollowedArtists:true)" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "PopularArtistsQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "Highlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "popular_artists", - "name": "popularArtists", - "storageKey": "popularArtists(excludeFollowedArtists:true)", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "popularArtists", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -164,31 +159,37 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "popularArtists(excludeFollowedArtists:true)" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "PopularArtistsQuery", "id": null, - "text": "query PopularArtistsQuery {\n highlights {\n popular_artists: popularArtists(excludeFollowedArtists: true) {\n ...PopularArtists_popular_artists\n id\n }\n }\n}\n\nfragment PopularArtists_popular_artists on Artist {\n slug\n internalID\n id\n name\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "PopularArtistsQuery", + "operationKind": "query", + "text": "query PopularArtistsQuery {\n highlights {\n popular_artists: popularArtists(excludeFollowedArtists: true) {\n ...PopularArtists_popular_artists\n id\n }\n }\n}\n\nfragment PopularArtists_popular_artists on Artist {\n slug\n internalID\n id\n name\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/PopularArtists_popular_artists.graphql.ts b/src/v2/__generated__/PopularArtists_popular_artists.graphql.ts index bd8a2ef8253..cb502b0ee40 100644 --- a/src/v2/__generated__/PopularArtists_popular_artists.graphql.ts +++ b/src/v2/__generated__/PopularArtists_popular_artists.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -23,56 +24,51 @@ export type PopularArtists_popular_artists$key = ReadonlyArray<{ const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "PopularArtists_popular_artists", - "type": "Artist", "metadata": { "plural": true }, - "argumentDefinitions": [], + "name": "PopularArtists_popular_artists", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -86,20 +82,25 @@ const node: ReaderFragment = { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null } - ] + ], + "type": "Artist" }; (node as any).hash = '3d46c81e197d7d6f1f6a27595f5291b6'; export default node; diff --git a/src/v2/__generated__/PricingContextStoryQuery.graphql.ts b/src/v2/__generated__/PricingContextStoryQuery.graphql.ts index 65a33b31e23..d2465d55632 100644 --- a/src/v2/__generated__/PricingContextStoryQuery.graphql.ts +++ b/src/v2/__generated__/PricingContextStoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -111,231 +112,231 @@ var v0 = [ ], v1 = [ { - "kind": "ScalarField", "alias": null, - "name": "minor", "args": null, + "kind": "ScalarField", + "name": "minor", "storageKey": null } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "category", "args": null, + "kind": "ScalarField", + "name": "category", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "PricingContextStoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "PricingContextStoryQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "PricingContext_artwork", - "args": null + "name": "PricingContext_artwork" } - ] + ], + "storageKey": "artwork(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "PricingContextStoryQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "PriceRange", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "maxPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "maxPrice", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "minPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "minPrice", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null } - ] + ], + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "pricingContext", - "storageKey": null, "args": null, "concreteType": "AnalyticsPricingContext", + "kind": "LinkedField", + "name": "pricingContext", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "appliedFiltersDisplay", "args": null, + "kind": "ScalarField", + "name": "appliedFiltersDisplay", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "appliedFilters", - "storageKey": null, "args": null, "concreteType": "AnalyticsPriceContextFilterType", + "kind": "LinkedField", + "name": "appliedFilters", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "dimension", "args": null, + "kind": "ScalarField", + "name": "dimension", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "bins", - "storageKey": null, "args": null, "concreteType": "AnalyticsHistogramBin", + "kind": "LinkedField", + "name": "bins", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "maxPrice", "args": null, + "kind": "ScalarField", + "name": "maxPrice", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "maxPriceCents", "args": null, + "kind": "ScalarField", + "name": "maxPriceCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "minPrice", "args": null, + "kind": "ScalarField", + "name": "minPrice", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "minPriceCents", "args": null, + "kind": "ScalarField", + "name": "minPriceCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "numArtworks", "args": null, + "kind": "ScalarField", + "name": "numArtworks", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": "artwork(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "PricingContextStoryQuery", "id": null, - "text": "query PricingContextStoryQuery {\n artwork(id: \"unused\") {\n ...PricingContext_artwork\n id\n }\n}\n\nfragment PricingContext_artwork on Artwork {\n listPrice {\n __typename\n ... on PriceRange {\n maxPrice {\n minor\n }\n minPrice {\n minor\n }\n }\n ... on Money {\n minor\n }\n }\n artists {\n slug\n id\n }\n category\n pricingContext {\n appliedFiltersDisplay\n appliedFilters {\n dimension\n category\n }\n bins {\n maxPrice\n maxPriceCents\n minPrice\n minPriceCents\n numArtworks\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "PricingContextStoryQuery", + "operationKind": "query", + "text": "query PricingContextStoryQuery {\n artwork(id: \"unused\") {\n ...PricingContext_artwork\n id\n }\n}\n\nfragment PricingContext_artwork on Artwork {\n listPrice {\n __typename\n ... on PriceRange {\n maxPrice {\n minor\n }\n minPrice {\n minor\n }\n }\n ... on Money {\n minor\n }\n }\n artists {\n slug\n id\n }\n category\n pricingContext {\n appliedFiltersDisplay\n appliedFilters {\n dimension\n category\n }\n bins {\n maxPrice\n maxPriceCents\n minPrice\n minPriceCents\n numArtworks\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/PricingContextTestQuery.graphql.ts b/src/v2/__generated__/PricingContextTestQuery.graphql.ts index ff43d6ff156..cbb22d35570 100644 --- a/src/v2/__generated__/PricingContextTestQuery.graphql.ts +++ b/src/v2/__generated__/PricingContextTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -111,231 +112,231 @@ var v0 = [ ], v1 = [ { - "kind": "ScalarField", "alias": null, - "name": "minor", "args": null, + "kind": "ScalarField", + "name": "minor", "storageKey": null } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "category", "args": null, + "kind": "ScalarField", + "name": "category", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "PricingContextTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "PricingContextTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "PricingContext_artwork", - "args": null + "name": "PricingContext_artwork" } - ] + ], + "storageKey": "artwork(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "PricingContextTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "PriceRange", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "maxPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "maxPrice", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "minPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "minPrice", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null } - ] + ], + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "pricingContext", - "storageKey": null, "args": null, "concreteType": "AnalyticsPricingContext", + "kind": "LinkedField", + "name": "pricingContext", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "appliedFiltersDisplay", "args": null, + "kind": "ScalarField", + "name": "appliedFiltersDisplay", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "appliedFilters", - "storageKey": null, "args": null, "concreteType": "AnalyticsPriceContextFilterType", + "kind": "LinkedField", + "name": "appliedFilters", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "dimension", "args": null, + "kind": "ScalarField", + "name": "dimension", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "bins", - "storageKey": null, "args": null, "concreteType": "AnalyticsHistogramBin", + "kind": "LinkedField", + "name": "bins", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "maxPrice", "args": null, + "kind": "ScalarField", + "name": "maxPrice", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "maxPriceCents", "args": null, + "kind": "ScalarField", + "name": "maxPriceCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "minPrice", "args": null, + "kind": "ScalarField", + "name": "minPrice", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "minPriceCents", "args": null, + "kind": "ScalarField", + "name": "minPriceCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "numArtworks", "args": null, + "kind": "ScalarField", + "name": "numArtworks", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": "artwork(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "PricingContextTestQuery", "id": null, - "text": "query PricingContextTestQuery {\n artwork(id: \"unused\") {\n ...PricingContext_artwork\n id\n }\n}\n\nfragment PricingContext_artwork on Artwork {\n listPrice {\n __typename\n ... on PriceRange {\n maxPrice {\n minor\n }\n minPrice {\n minor\n }\n }\n ... on Money {\n minor\n }\n }\n artists {\n slug\n id\n }\n category\n pricingContext {\n appliedFiltersDisplay\n appliedFilters {\n dimension\n category\n }\n bins {\n maxPrice\n maxPriceCents\n minPrice\n minPriceCents\n numArtworks\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "PricingContextTestQuery", + "operationKind": "query", + "text": "query PricingContextTestQuery {\n artwork(id: \"unused\") {\n ...PricingContext_artwork\n id\n }\n}\n\nfragment PricingContext_artwork on Artwork {\n listPrice {\n __typename\n ... on PriceRange {\n maxPrice {\n minor\n }\n minPrice {\n minor\n }\n }\n ... on Money {\n minor\n }\n }\n artists {\n slug\n id\n }\n category\n pricingContext {\n appliedFiltersDisplay\n appliedFilters {\n dimension\n category\n }\n bins {\n maxPrice\n maxPriceCents\n minPrice\n minPriceCents\n numArtworks\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/PricingContext_artwork.graphql.ts b/src/v2/__generated__/PricingContext_artwork.graphql.ts index 02e282edcf3..9a0d96f40aa 100644 --- a/src/v2/__generated__/PricingContext_artwork.graphql.ts +++ b/src/v2/__generated__/PricingContext_artwork.graphql.ts @@ -1,9 +1,10 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; +import { FragmentRefs } from "relay-runtime"; export type AnalyticsPricingContextCategoryEnum = "ARCHITECTURE" | "BOOKS_AND_PORTFOLIOS" | "DESIGN_DECORATIVE_ART" | "DRAWING_COLLAGE_OTHER_WORK_ON_PAPER" | "FASHION" | "INSTALLATION" | "JEWELRY" | "MIXED_MEDIA" | "OTHER" | "PAINTING" | "PERFORMANCE" | "PHOTOGRAPHY" | "POSTERS" | "PRINT" | "SCULPTURE" | "SOUND" | "TEXTILE" | "VIDEO_FILM_ANIMATION" | "WORK_ON_PAPER" | "%future added value"; export type AnalyticsPricingContextDimensionEnum = "LARGE" | "MEDIUM" | "SMALL" | "%future added value"; -import { FragmentRefs } from "relay-runtime"; export type PricingContext_artwork = { readonly listPrice: ({ readonly __typename: "PriceRange"; @@ -52,179 +53,179 @@ export type PricingContext_artwork$key = { const node: ReaderFragment = (function(){ var v0 = [ { - "kind": "ScalarField", "alias": null, - "name": "minor", "args": null, + "kind": "ScalarField", + "name": "minor", "storageKey": null } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "category", "args": null, + "kind": "ScalarField", + "name": "category", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "PricingContext_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "PricingContext_artwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "PriceRange", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "maxPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "maxPrice", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "minPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "minPrice", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null } - ] + ], + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "storageKey": null }, (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "pricingContext", - "storageKey": null, "args": null, "concreteType": "AnalyticsPricingContext", + "kind": "LinkedField", + "name": "pricingContext", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "appliedFiltersDisplay", "args": null, + "kind": "ScalarField", + "name": "appliedFiltersDisplay", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "appliedFilters", - "storageKey": null, "args": null, "concreteType": "AnalyticsPriceContextFilterType", + "kind": "LinkedField", + "name": "appliedFilters", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "dimension", "args": null, + "kind": "ScalarField", + "name": "dimension", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "bins", - "storageKey": null, "args": null, "concreteType": "AnalyticsHistogramBin", + "kind": "LinkedField", + "name": "bins", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "maxPrice", "args": null, + "kind": "ScalarField", + "name": "maxPrice", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "maxPriceCents", "args": null, + "kind": "ScalarField", + "name": "maxPriceCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "minPrice", "args": null, + "kind": "ScalarField", + "name": "minPrice", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "minPriceCents", "args": null, + "kind": "ScalarField", + "name": "minPriceCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "numArtworks", "args": null, + "kind": "ScalarField", + "name": "numArtworks", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = '5bed9e56daed01d03014005a648b39f3'; diff --git a/src/v2/__generated__/PricingTransparencyQuery.graphql.ts b/src/v2/__generated__/PricingTransparencyQuery.graphql.ts index 7258108dae2..ef674599a0b 100644 --- a/src/v2/__generated__/PricingTransparencyQuery.graphql.ts +++ b/src/v2/__generated__/PricingTransparencyQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type PricingTransparencyQueryVariables = { @@ -59,22 +60,22 @@ query PricingTransparencyQuery( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "saleId", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkId", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "bidAmountMinor", - "type": "Int!", - "defaultValue": null + "type": "Int!" } ], v1 = [ @@ -93,18 +94,15 @@ v2 = [ ], v3 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], v4 = { - "kind": "LinkedField", "alias": null, - "name": "calculatedCost", - "storageKey": null, "args": [ { "kind": "Variable", @@ -113,119 +111,122 @@ v4 = { } ], "concreteType": "CalculatedCost", + "kind": "LinkedField", + "name": "calculatedCost", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "bidAmount", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "bidAmount", "plural": false, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "buyersPremium", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "buyersPremium", "plural": false, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "subtotal", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "subtotal", "plural": false, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "PricingTransparencyQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "PricingTransparencyQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "saleArtwork", - "storageKey": null, "args": (v2/*: any*/), "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "PricingTransparencyQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "saleArtwork", - "storageKey": null, "args": (v2/*: any*/), "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ (v4/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "PricingTransparencyQuery", "id": null, - "text": "query PricingTransparencyQuery(\n $saleId: String!\n $artworkId: String!\n $bidAmountMinor: Int!\n) {\n artwork(id: $artworkId) {\n saleArtwork(saleID: $saleId) {\n calculatedCost(bidAmountMinor: $bidAmountMinor) {\n bidAmount {\n display\n }\n buyersPremium {\n display\n }\n subtotal {\n display\n }\n }\n id\n }\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "PricingTransparencyQuery", + "operationKind": "query", + "text": "query PricingTransparencyQuery(\n $saleId: String!\n $artworkId: String!\n $bidAmountMinor: Int!\n) {\n artwork(id: $artworkId) {\n saleArtwork(saleID: $saleId) {\n calculatedCost(bidAmountMinor: $bidAmountMinor) {\n bidAmount {\n display\n }\n buyersPremium {\n display\n }\n subtotal {\n display\n }\n }\n id\n }\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/PurchaseAppTestQuery.graphql.ts b/src/v2/__generated__/PurchaseAppTestQuery.graphql.ts index 1ee0ba41a6a..f13fa3eb8e7 100644 --- a/src/v2/__generated__/PurchaseAppTestQuery.graphql.ts +++ b/src/v2/__generated__/PurchaseAppTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -161,88 +162,84 @@ fragment PurchaseHistory_me on Me { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v2 = [ { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "PurchaseAppTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "PurchaseAppTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "PurchaseApp_me", - "args": null + "name": "PurchaseApp_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "PurchaseAppTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orders", - "storageKey": "orders(first:10)", "args": [ { "kind": "Literal", @@ -251,119 +248,111 @@ return { } ], "concreteType": "CommerceOrderConnectionWithTotalCount", + "kind": "LinkedField", + "name": "orders", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceOrderEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": null, + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -372,152 +361,164 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "CommercePageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "CommercePageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "CommercePageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "CommercePageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "CommercePageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "CommercePageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasPreviousPage", "args": null, + "kind": "ScalarField", + "name": "hasPreviousPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "startCursor", "args": null, + "kind": "ScalarField", + "name": "startCursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "orders(first:10)" }, (v1/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "PurchaseAppTestQuery", "id": null, - "text": "query PurchaseAppTestQuery {\n me {\n ...PurchaseApp_me\n id\n }\n}\n\nfragment PurchaseApp_me on Me {\n ...PurchaseHistory_me\n}\n\nfragment PurchaseHistory_me on Me {\n orders(first: 10) {\n edges {\n node {\n __typename\n internalID\n code\n state\n mode\n buyerTotal\n lineItems {\n edges {\n node {\n artwork {\n date\n image {\n resized(width: 55) {\n url\n }\n }\n internalID\n title\n artist_names: artistNames\n id\n }\n id\n }\n }\n }\n id\n }\n }\n pageCursors {\n around {\n cursor\n isCurrent\n page\n }\n first {\n cursor\n isCurrent\n page\n }\n last {\n cursor\n isCurrent\n page\n }\n previous {\n cursor\n isCurrent\n page\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "PurchaseAppTestQuery", + "operationKind": "query", + "text": "query PurchaseAppTestQuery {\n me {\n ...PurchaseApp_me\n id\n }\n}\n\nfragment PurchaseApp_me on Me {\n ...PurchaseHistory_me\n}\n\nfragment PurchaseHistory_me on Me {\n orders(first: 10) {\n edges {\n node {\n __typename\n internalID\n code\n state\n mode\n buyerTotal\n lineItems {\n edges {\n node {\n artwork {\n date\n image {\n resized(width: 55) {\n url\n }\n }\n internalID\n title\n artist_names: artistNames\n id\n }\n id\n }\n }\n }\n id\n }\n }\n pageCursors {\n around {\n cursor\n isCurrent\n page\n }\n first {\n cursor\n isCurrent\n page\n }\n last {\n cursor\n isCurrent\n page\n }\n previous {\n cursor\n isCurrent\n page\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/PurchaseApp_me.graphql.ts b/src/v2/__generated__/PurchaseApp_me.graphql.ts index 59db903c6fe..d23cbf34e4d 100644 --- a/src/v2/__generated__/PurchaseApp_me.graphql.ts +++ b/src/v2/__generated__/PurchaseApp_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,18 +16,18 @@ export type PurchaseApp_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "PurchaseApp_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "PurchaseApp_me", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "PurchaseHistory_me", - "args": null + "name": "PurchaseHistory_me" } - ] + ], + "type": "Me" }; (node as any).hash = 'e70a36883f4593860107a31d2f840614'; export default node; diff --git a/src/v2/__generated__/PurchaseHistoryQuery.graphql.ts b/src/v2/__generated__/PurchaseHistoryQuery.graphql.ts index 0d40cecb469..112f077633b 100644 --- a/src/v2/__generated__/PurchaseHistoryQuery.graphql.ts +++ b/src/v2/__generated__/PurchaseHistoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -100,28 +101,28 @@ fragment PurchaseHistory_me_pbnwq on Me { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "first", - "type": "Int!", - "defaultValue": null + "type": "Int!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "last", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "before", - "type": "String", - "defaultValue": null + "type": "String" } ], v1 = [ @@ -147,203 +148,191 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = [ { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "PurchaseHistoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "PurchaseHistoryQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": (v1/*: any*/), "kind": "FragmentSpread", - "name": "PurchaseHistory_me", - "args": (v1/*: any*/) + "name": "PurchaseHistory_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "PurchaseHistoryQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orders", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceOrderConnectionWithTotalCount", + "kind": "LinkedField", + "name": "orders", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceOrderEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": null, + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -352,152 +341,164 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "CommercePageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "CommercePageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "CommercePageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "CommercePageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "CommercePageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "CommercePageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasPreviousPage", "args": null, + "kind": "ScalarField", + "name": "hasPreviousPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "startCursor", "args": null, + "kind": "ScalarField", + "name": "startCursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "PurchaseHistoryQuery", "id": null, - "text": "query PurchaseHistoryQuery(\n $first: Int!\n $last: Int\n $after: String\n $before: String\n) {\n me {\n ...PurchaseHistory_me_pbnwq\n id\n }\n}\n\nfragment PurchaseHistory_me_pbnwq on Me {\n orders(first: $first, last: $last, before: $before, after: $after) {\n edges {\n node {\n __typename\n internalID\n code\n state\n mode\n buyerTotal\n lineItems {\n edges {\n node {\n artwork {\n date\n image {\n resized(width: 55) {\n url\n }\n }\n internalID\n title\n artist_names: artistNames\n id\n }\n id\n }\n }\n }\n id\n }\n }\n pageCursors {\n around {\n cursor\n isCurrent\n page\n }\n first {\n cursor\n isCurrent\n page\n }\n last {\n cursor\n isCurrent\n page\n }\n previous {\n cursor\n isCurrent\n page\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "PurchaseHistoryQuery", + "operationKind": "query", + "text": "query PurchaseHistoryQuery(\n $first: Int!\n $last: Int\n $after: String\n $before: String\n) {\n me {\n ...PurchaseHistory_me_pbnwq\n id\n }\n}\n\nfragment PurchaseHistory_me_pbnwq on Me {\n orders(first: $first, last: $last, before: $before, after: $after) {\n edges {\n node {\n __typename\n internalID\n code\n state\n mode\n buyerTotal\n lineItems {\n edges {\n node {\n artwork {\n date\n image {\n resized(width: 55) {\n url\n }\n }\n internalID\n title\n artist_names: artistNames\n id\n }\n id\n }\n }\n }\n id\n }\n }\n pageCursors {\n around {\n cursor\n isCurrent\n page\n }\n first {\n cursor\n isCurrent\n page\n }\n last {\n cursor\n isCurrent\n page\n }\n previous {\n cursor\n isCurrent\n page\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/PurchaseHistory_me.graphql.ts b/src/v2/__generated__/PurchaseHistory_me.graphql.ts index 2865e8bc299..b38260708fa 100644 --- a/src/v2/__generated__/PurchaseHistory_me.graphql.ts +++ b/src/v2/__generated__/PurchaseHistory_me.graphql.ts @@ -1,9 +1,10 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; +import { FragmentRefs } from "relay-runtime"; export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLED" | "PENDING" | "REFUNDED" | "SUBMITTED" | "%future added value"; -import { FragmentRefs } from "relay-runtime"; export type PurchaseHistory_me = { readonly orders: { readonly edges: ReadonlyArray<{ @@ -73,72 +74,68 @@ export type PurchaseHistory_me$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v1 = [ { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null } ]; return { - "kind": "Fragment", - "name": "PurchaseHistory_me", - "type": "Me", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": 10, "kind": "LocalArgument", "name": "first", - "type": "Int", - "defaultValue": 10 + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "last", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "before", - "type": "String", - "defaultValue": null + "type": "String" } ], + "kind": "Fragment", + "metadata": null, + "name": "PurchaseHistory_me", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orders", - "storageKey": null, "args": [ { "kind": "Variable", @@ -162,112 +159,104 @@ return { } ], "concreteType": "CommerceOrderConnectionWithTotalCount", + "kind": "LinkedField", + "name": "orders", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceOrderEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": null, + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -276,139 +265,151 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "CommercePageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "CommercePageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "CommercePageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "CommercePageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "CommercePageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "CommercePageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasPreviousPage", "args": null, + "kind": "ScalarField", + "name": "hasPreviousPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "startCursor", "args": null, + "kind": "ScalarField", + "name": "startCursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Me" }; })(); (node as any).hash = 'd41ff70287f376c946cc6639696bee28'; diff --git a/src/v2/__generated__/RecentlyViewedQuery.graphql.ts b/src/v2/__generated__/RecentlyViewedQuery.graphql.ts index bc7f450dfe3..16571192832 100644 --- a/src/v2/__generated__/RecentlyViewedQuery.graphql.ts +++ b/src/v2/__generated__/RecentlyViewedQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -134,17 +135,17 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v2 = [ @@ -155,67 +156,63 @@ v2 = [ } ], v3 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v4 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "RecentlyViewedQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "RecentlyViewedQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "RecentlyViewed_me", - "args": null + "name": "RecentlyViewed_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "RecentlyViewedQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "recentlyViewedArtworksConnection", - "storageKey": "recentlyViewedArtworksConnection(first:20)", "args": [ { "kind": "Literal", @@ -224,47 +221,44 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "recentlyViewedArtworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -272,244 +266,251 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v2/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v0/*: any*/), (v1/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v2/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v3/*: any*/), (v1/*: any*/), (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, (v0/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "recentlyViewedArtworksConnection(first:20)" }, (v0/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "RecentlyViewedQuery", "id": null, - "text": "query RecentlyViewedQuery {\n me {\n ...RecentlyViewed_me\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment RecentlyViewed_me on Me {\n recentlyViewedArtworksConnection(first: 20) {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n url(version: \"large\")\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n }\n }\n }\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "RecentlyViewedQuery", + "operationKind": "query", + "text": "query RecentlyViewedQuery {\n me {\n ...RecentlyViewed_me\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment RecentlyViewed_me on Me {\n recentlyViewedArtworksConnection(first: 20) {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n url(version: \"large\")\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n }\n }\n }\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/RecentlyViewed_me.graphql.ts b/src/v2/__generated__/RecentlyViewed_me.graphql.ts index 5cd9abf32d5..b99d77a811c 100644 --- a/src/v2/__generated__/RecentlyViewed_me.graphql.ts +++ b/src/v2/__generated__/RecentlyViewed_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -29,17 +30,13 @@ export type RecentlyViewed_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "RecentlyViewed_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "RecentlyViewed_me", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "recentlyViewedArtworksConnection", - "storageKey": "recentlyViewedArtworksConnection(first:20)", "args": [ { "kind": "Literal", @@ -48,53 +45,50 @@ const node: ReaderFragment = { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "recentlyViewedArtworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -102,53 +96,60 @@ const node: ReaderFragment = { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Metadata_artwork", - "args": null + "name": "Metadata_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "Save_artwork", - "args": null + "name": "Save_artwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "Badge_artwork", - "args": null + "name": "Badge_artwork" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "recentlyViewedArtworksConnection(first:20)" } - ] + ], + "type": "Me" }; (node as any).hash = '746769007f334b0c16dc32cb9ec46bf4'; export default node; diff --git a/src/v2/__generated__/RecommendedArtist_artist.graphql.ts b/src/v2/__generated__/RecommendedArtist_artist.graphql.ts index c41a1ad8c43..8ececa9fd8d 100644 --- a/src/v2/__generated__/RecommendedArtist_artist.graphql.ts +++ b/src/v2/__generated__/RecommendedArtist_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -36,61 +37,56 @@ export type RecommendedArtist_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "RecommendedArtist_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "RecommendedArtist_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": "formatted_nationality_and_birthday", - "name": "formattedNationalityAndBirthday", "args": null, + "kind": "ScalarField", + "name": "formattedNationalityAndBirthday", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -104,24 +100,25 @@ const node: ReaderFragment = { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artworks_connection", - "name": "artworksConnection", - "storageKey": "artworksConnection(filter:\"IS_FOR_SALE\",first:20,sort:\"PUBLISHED_AT_DESC\")", "args": [ { "kind": "Literal", @@ -140,68 +137,72 @@ const node: ReaderFragment = { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "FillwidthItem_artwork", - "args": null + "name": "FillwidthItem_artwork" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(filter:\"IS_FOR_SALE\",first:20,sort:\"PUBLISHED_AT_DESC\")" }, { + "args": null, "kind": "FragmentSpread", - "name": "FollowArtistButton_artist", - "args": null + "name": "FollowArtistButton_artist" } - ] + ], + "type": "Artist" }; (node as any).hash = '7f1af7a31280e5d9f0987d58426dc4fa'; export default node; diff --git a/src/v2/__generated__/RegisterCreateBidderMutation.graphql.ts b/src/v2/__generated__/RegisterCreateBidderMutation.graphql.ts index d44800bc088..044a99153f3 100644 --- a/src/v2/__generated__/RegisterCreateBidderMutation.graphql.ts +++ b/src/v2/__generated__/RegisterCreateBidderMutation.graphql.ts @@ -1,9 +1,10 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CreateBidderInput = { - readonly clientMutationId?: string | null; - readonly saleID: string; + clientMutationId?: string | null; + saleID: string; }; export type RegisterCreateBidderMutationVariables = { input: CreateBidderInput; @@ -38,10 +39,10 @@ mutation RegisterCreateBidderMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CreateBidderInput!", - "defaultValue": null + "type": "CreateBidderInput!" } ], v1 = [ @@ -52,89 +53,89 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "RegisterCreateBidderMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "RegisterCreateBidderMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createBidder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CreateBidderPayload", + "kind": "LinkedField", + "name": "createBidder", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "bidder", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "bidder", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "RegisterCreateBidderMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createBidder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CreateBidderPayload", + "kind": "LinkedField", + "name": "createBidder", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "bidder", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "bidder", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "RegisterCreateBidderMutation", "id": null, - "text": "mutation RegisterCreateBidderMutation(\n $input: CreateBidderInput!\n) {\n createBidder(input: $input) {\n bidder {\n internalID\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "RegisterCreateBidderMutation", + "operationKind": "mutation", + "text": "mutation RegisterCreateBidderMutation(\n $input: CreateBidderInput!\n) {\n createBidder(input: $input) {\n bidder {\n internalID\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/RegisterValidTestQuery.graphql.ts b/src/v2/__generated__/RegisterValidTestQuery.graphql.ts index 42bb84501cb..3bd92b0db7a 100644 --- a/src/v2/__generated__/RegisterValidTestQuery.graphql.ts +++ b/src/v2/__generated__/RegisterValidTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -67,129 +68,129 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "RegisterValidTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "RegisterValidTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": "sale(id:\"example-auction-id\")", "args": (v0/*: any*/), "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Register_sale", - "args": null + "name": "Register_sale" } - ] + ], + "storageKey": "sale(id:\"example-auction-id\")" }, { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Register_me", - "args": null + "name": "Register_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "RegisterValidTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": "sale(id:\"example-auction-id\")", "args": (v0/*: any*/), "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "requireIdentityVerification", "args": null, + "kind": "ScalarField", + "name": "requireIdentityVerification", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": "sale(id:\"example-auction-id\")" }, { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "identityVerified", "args": null, + "kind": "ScalarField", + "name": "identityVerified", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "RegisterValidTestQuery", "id": null, - "text": "query RegisterValidTestQuery {\n sale(id: \"example-auction-id\") {\n ...Register_sale\n id\n }\n me {\n ...Register_me\n id\n }\n}\n\nfragment Register_me on Me {\n internalID\n identityVerified\n}\n\nfragment Register_sale on Sale {\n slug\n internalID\n status\n requireIdentityVerification\n}\n", - "metadata": {} + "metadata": {}, + "name": "RegisterValidTestQuery", + "operationKind": "query", + "text": "query RegisterValidTestQuery {\n sale(id: \"example-auction-id\") {\n ...Register_sale\n id\n }\n me {\n ...Register_me\n id\n }\n}\n\nfragment Register_me on Me {\n internalID\n identityVerified\n}\n\nfragment Register_sale on Sale {\n slug\n internalID\n status\n requireIdentityVerification\n}\n" } }; })(); diff --git a/src/v2/__generated__/Register_me.graphql.ts b/src/v2/__generated__/Register_me.graphql.ts index 175a6c7910b..9424bf23eb2 100644 --- a/src/v2/__generated__/Register_me.graphql.ts +++ b/src/v2/__generated__/Register_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -16,27 +17,27 @@ export type Register_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Register_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "Register_me", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "identityVerified", "args": null, + "kind": "ScalarField", + "name": "identityVerified", "storageKey": null } - ] + ], + "type": "Me" }; (node as any).hash = '42bbd95ecd77cb23df8a8249edf9897d'; export default node; diff --git a/src/v2/__generated__/Register_sale.graphql.ts b/src/v2/__generated__/Register_sale.graphql.ts index 2c6317926f2..d7c641ad1a6 100644 --- a/src/v2/__generated__/Register_sale.graphql.ts +++ b/src/v2/__generated__/Register_sale.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -18,41 +19,41 @@ export type Register_sale$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Register_sale", - "type": "Sale", "metadata": null, - "argumentDefinitions": [], + "name": "Register_sale", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "requireIdentityVerification", "args": null, + "kind": "ScalarField", + "name": "requireIdentityVerification", "storageKey": null } - ] + ], + "type": "Sale" }; (node as any).hash = '555438fc585fbee0be6171fe3a713deb'; export default node; diff --git a/src/v2/__generated__/RejectOfferMutation.graphql.ts b/src/v2/__generated__/RejectOfferMutation.graphql.ts index 0245daba649..cb64eeb7c00 100644 --- a/src/v2/__generated__/RejectOfferMutation.graphql.ts +++ b/src/v2/__generated__/RejectOfferMutation.graphql.ts @@ -1,12 +1,13 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CommerceCancelReasonTypeEnum = "ADMIN_CANCELED" | "BUYER_LAPSED" | "BUYER_REJECTED" | "SELLER_LAPSED" | "SELLER_REJECTED" | "SELLER_REJECTED_ARTWORK_UNAVAILABLE" | "SELLER_REJECTED_OFFER_TOO_LOW" | "SELLER_REJECTED_OTHER" | "SELLER_REJECTED_SHIPPING_UNAVAILABLE" | "%future added value"; export type CommerceOrderParticipantEnum = "BUYER" | "SELLER" | "%future added value"; export type CommerceBuyerRejectOfferInput = { - readonly clientMutationId?: string | null; - readonly offerId: string; - readonly rejectReason?: CommerceCancelReasonTypeEnum | null; + clientMutationId?: string | null; + offerId: string; + rejectReason?: CommerceCancelReasonTypeEnum | null; }; export type RejectOfferMutationVariables = { input: CommerceBuyerRejectOfferInput; @@ -67,10 +68,10 @@ mutation RejectOfferMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CommerceBuyerRejectOfferInput!", - "defaultValue": null + "type": "CommerceBuyerRejectOfferInput!" } ], v1 = [ @@ -81,189 +82,189 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "awaitingResponseFrom", "args": null, + "kind": "ScalarField", + "name": "awaitingResponseFrom", "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" }, v5 = { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "error", - "storageKey": null, "args": null, "concreteType": "CommerceApplicationError", + "kind": "LinkedField", + "name": "error", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "data", "args": null, + "kind": "ScalarField", + "name": "data", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationFailure" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "RejectOfferMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "RejectOfferMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceBuyerRejectOffer", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceBuyerRejectOfferPayload", + "kind": "LinkedField", + "name": "commerceBuyerRejectOffer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "RejectOfferMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceBuyerRejectOffer", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceBuyerRejectOfferPayload", + "kind": "LinkedField", + "name": "commerceBuyerRejectOffer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ (v2/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "RejectOfferMutation", "id": null, - "text": "mutation RejectOfferMutation(\n $input: CommerceBuyerRejectOfferInput!\n) {\n commerceBuyerRejectOffer(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n __typename\n order {\n __typename\n internalID\n ... on CommerceOfferOrder {\n awaitingResponseFrom\n }\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "RejectOfferMutation", + "operationKind": "mutation", + "text": "mutation RejectOfferMutation(\n $input: CommerceBuyerRejectOfferInput!\n) {\n commerceBuyerRejectOffer(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n __typename\n order {\n __typename\n internalID\n ... on CommerceOfferOrder {\n awaitingResponseFrom\n }\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/RejectTestQuery.graphql.ts b/src/v2/__generated__/RejectTestQuery.graphql.ts index a16f9b6728c..43a1c2d0261 100644 --- a/src/v2/__generated__/RejectTestQuery.graphql.ts +++ b/src/v2/__generated__/RejectTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -167,162 +168,153 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "RejectTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "RejectTestQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Reject_order", - "args": null + "name": "Reject_order" } - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "RejectTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v1/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": null, + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -331,91 +323,100 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v1/*: any*/), (v3/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, (v3/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "RejectTestQuery", "id": null, - "text": "query RejectTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Reject_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Reject_order on CommerceOrder {\n internalID\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n createdAt\n id\n }\n }\n ...ArtworkSummaryItem_order\n}\n", - "metadata": {} + "metadata": {}, + "name": "RejectTestQuery", + "operationKind": "query", + "text": "query RejectTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Reject_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Reject_order on CommerceOrder {\n internalID\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n createdAt\n id\n }\n }\n ...ArtworkSummaryItem_order\n}\n" } }; })(); diff --git a/src/v2/__generated__/Reject_order.graphql.ts b/src/v2/__generated__/Reject_order.graphql.ts index e8772ebfc9d..28fe64435a5 100644 --- a/src/v2/__generated__/Reject_order.graphql.ts +++ b/src/v2/__generated__/Reject_order.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -31,109 +32,109 @@ export type Reject_order$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Reject_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "Reject_order", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": null, + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSummaryItem_order", - "args": null + "name": "ArtworkSummaryItem_order" } - ] + ], + "type": "CommerceOrder" }; })(); (node as any).hash = 'def98f0fc0af3d3644b54bd8113de8c3'; diff --git a/src/v2/__generated__/RelatedCollectionEntity_collection.graphql.ts b/src/v2/__generated__/RelatedCollectionEntity_collection.graphql.ts index e4bce35c311..656b6225f0b 100644 --- a/src/v2/__generated__/RelatedCollectionEntity_collection.graphql.ts +++ b/src/v2/__generated__/RelatedCollectionEntity_collection.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -34,46 +35,42 @@ export type RelatedCollectionEntity_collection$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "RelatedCollectionEntity_collection", - "type": "MarketingCollection", "metadata": null, - "argumentDefinitions": [], + "name": "RelatedCollectionEntity_collection", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "headerImage", "args": null, + "kind": "ScalarField", + "name": "headerImage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": "price_guidance", - "name": "priceGuidance", "args": null, + "kind": "ScalarField", + "name": "priceGuidance", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(aggregations:[\"TOTAL\"],first:3,sort:\"-decayed_merch\")", "args": [ { "kind": "Literal", @@ -94,59 +91,55 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null }, (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:262)", "args": [ { "kind": "Literal", @@ -155,26 +148,34 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:262)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(aggregations:[\"TOTAL\"],first:3,sort:\"-decayed_merch\")" } - ] + ], + "type": "MarketingCollection" }; })(); (node as any).hash = '141d971c1d5e0629404d6cf94e35843e'; diff --git a/src/v2/__generated__/RelatedCollectionsRail_collections.graphql.ts b/src/v2/__generated__/RelatedCollectionsRail_collections.graphql.ts index fdea389076b..7d094d024c0 100644 --- a/src/v2/__generated__/RelatedCollectionsRail_collections.graphql.ts +++ b/src/v2/__generated__/RelatedCollectionsRail_collections.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -22,19 +23,15 @@ export type RelatedCollectionsRail_collections$key = ReadonlyArray<{ const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "RelatedCollectionsRail_collections", - "type": "MarketingCollection", "metadata": { "plural": true }, - "argumentDefinitions": [], + "name": "RelatedCollectionsRail_collections", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(aggregations:[\"TOTAL\"],first:3,sort:\"-decayed_merch\")", "args": [ { "kind": "Literal", @@ -55,45 +52,49 @@ const node: ReaderFragment = { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(aggregations:[\"TOTAL\"],first:3,sort:\"-decayed_merch\")" }, { + "args": null, "kind": "FragmentSpread", - "name": "RelatedCollectionEntity_collection", - "args": null + "name": "RelatedCollectionEntity_collection" } - ] + ], + "type": "MarketingCollection" }; (node as any).hash = '2f43f18639dae0ffdebf31c8badbc58e'; export default node; diff --git a/src/v2/__generated__/RelatedWorksArtworkGridQuery.graphql.ts b/src/v2/__generated__/RelatedWorksArtworkGridQuery.graphql.ts index 116182612a3..fe489b8c963 100644 --- a/src/v2/__generated__/RelatedWorksArtworkGridQuery.graphql.ts +++ b/src/v2/__generated__/RelatedWorksArtworkGridQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -175,10 +176,10 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkSlug", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -189,38 +190,38 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v7 = [ @@ -232,84 +233,79 @@ v7 = [ ], v8 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "RelatedWorksArtworkGridQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "RelatedWorksArtworkGridQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "RelatedWorksArtworkGrid_artwork", - "args": null + "name": "RelatedWorksArtworkGrid_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "RelatedWorksArtworkGridQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "layers", - "storageKey": null, "args": null, "concreteType": "ArtworkLayer", + "kind": "LinkedField", + "name": "layers", "plural": true, "selections": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null }, (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "layer", - "storageKey": null, "args": null, "concreteType": "ArtworkLayer", + "kind": "LinkedField", + "name": "layer", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:8)", "args": [ { "kind": "Literal", @@ -318,31 +314,31 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), @@ -350,32 +346,29 @@ return { (v6/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -383,233 +376,241 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v7/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v4/*: any*/), (v6/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v7/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v2/*: any*/), (v6/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:8)" }, (v4/*: any*/) - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "RelatedWorksArtworkGridQuery", "id": null, - "text": "query RelatedWorksArtworkGridQuery(\n $artworkSlug: String!\n) {\n artwork(id: $artworkSlug) {\n ...RelatedWorksArtworkGrid_artwork\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment RelatedWorksArtworkGrid_artwork on Artwork {\n layers {\n name\n internalID\n id\n }\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "RelatedWorksArtworkGridQuery", + "operationKind": "query", + "text": "query RelatedWorksArtworkGridQuery(\n $artworkSlug: String!\n) {\n artwork(id: $artworkSlug) {\n ...RelatedWorksArtworkGrid_artwork\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment RelatedWorksArtworkGrid_artwork on Artwork {\n layers {\n name\n internalID\n id\n }\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/RelatedWorksArtworkGridRefetchQuery.graphql.ts b/src/v2/__generated__/RelatedWorksArtworkGridRefetchQuery.graphql.ts index ca18ec183f3..9f229ccc9cc 100644 --- a/src/v2/__generated__/RelatedWorksArtworkGridRefetchQuery.graphql.ts +++ b/src/v2/__generated__/RelatedWorksArtworkGridRefetchQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -177,16 +178,16 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkSlug", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "layerId", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -197,38 +198,38 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v7 = [ @@ -240,80 +241,76 @@ v7 = [ ], v8 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "RelatedWorksArtworkGridRefetchQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "RelatedWorksArtworkGridRefetchQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "RelatedWorksArtworkGrid_artwork", "args": [ { "kind": "Variable", "name": "layerId", "variableName": "layerId" } - ] + ], + "kind": "FragmentSpread", + "name": "RelatedWorksArtworkGrid_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "RelatedWorksArtworkGridRefetchQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "layers", - "storageKey": null, "args": null, "concreteType": "ArtworkLayer", + "kind": "LinkedField", + "name": "layers", "plural": true, "selections": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null }, (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "layer", - "storageKey": null, "args": [ { "kind": "Variable", @@ -322,14 +319,13 @@ return { } ], "concreteType": "ArtworkLayer", + "kind": "LinkedField", + "name": "layer", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:8)", "args": [ { "kind": "Literal", @@ -338,31 +334,31 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), @@ -370,32 +366,29 @@ return { (v6/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -403,233 +396,241 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v7/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v4/*: any*/), (v6/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v7/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v2/*: any*/), (v6/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:8)" }, (v4/*: any*/) - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "RelatedWorksArtworkGridRefetchQuery", "id": null, - "text": "query RelatedWorksArtworkGridRefetchQuery(\n $artworkSlug: String!\n $layerId: String!\n) {\n artwork(id: $artworkSlug) {\n ...RelatedWorksArtworkGrid_artwork_hOSfN\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment RelatedWorksArtworkGrid_artwork_hOSfN on Artwork {\n layers {\n name\n internalID\n id\n }\n slug\n layer(id: $layerId) {\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "RelatedWorksArtworkGridRefetchQuery", + "operationKind": "query", + "text": "query RelatedWorksArtworkGridRefetchQuery(\n $artworkSlug: String!\n $layerId: String!\n) {\n artwork(id: $artworkSlug) {\n ...RelatedWorksArtworkGrid_artwork_hOSfN\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment RelatedWorksArtworkGrid_artwork_hOSfN on Artwork {\n layers {\n name\n internalID\n id\n }\n slug\n layer(id: $layerId) {\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/RelatedWorksArtworkGrid_artwork.graphql.ts b/src/v2/__generated__/RelatedWorksArtworkGrid_artwork.graphql.ts index 5228d658316..bb41871fbbb 100644 --- a/src/v2/__generated__/RelatedWorksArtworkGrid_artwork.graphql.ts +++ b/src/v2/__generated__/RelatedWorksArtworkGrid_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -31,58 +32,54 @@ export type RelatedWorksArtworkGrid_artwork$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }; return { - "kind": "Fragment", - "name": "RelatedWorksArtworkGrid_artwork", - "type": "Artwork", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": null, "kind": "LocalArgument", "name": "layerId", - "type": "String", - "defaultValue": null + "type": "String" } ], + "kind": "Fragment", + "metadata": null, + "name": "RelatedWorksArtworkGrid_artwork", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "layers", - "storageKey": null, "args": null, "concreteType": "ArtworkLayer", + "kind": "LinkedField", + "name": "layers", "plural": true, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null } - ] + ], + "storageKey": null }, (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "layer", - "storageKey": null, "args": [ { "kind": "Variable", @@ -91,14 +88,13 @@ return { } ], "concreteType": "ArtworkLayer", + "kind": "LinkedField", + "name": "layer", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:8)", "args": [ { "kind": "Literal", @@ -107,41 +103,46 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkGrid_artworks", - "args": null + "name": "ArtworkGrid_artworks" } - ] + ], + "storageKey": "artworksConnection(first:8)" } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = 'c94051a248fa232b6664a79ce100df6d'; diff --git a/src/v2/__generated__/RequestConditionReportMutation.graphql.ts b/src/v2/__generated__/RequestConditionReportMutation.graphql.ts index f9c3fb3b758..ad1976d2598 100644 --- a/src/v2/__generated__/RequestConditionReportMutation.graphql.ts +++ b/src/v2/__generated__/RequestConditionReportMutation.graphql.ts @@ -1,9 +1,10 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type RequestConditionReportInput = { - readonly clientMutationId?: string | null; - readonly saleArtworkID: string; + clientMutationId?: string | null; + saleArtworkID: string; }; export type RequestConditionReportMutationVariables = { input: RequestConditionReportInput; @@ -37,18 +38,15 @@ mutation RequestConditionReportMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "RequestConditionReportInput!", - "defaultValue": null + "type": "RequestConditionReportInput!" } ], v1 = [ { - "kind": "LinkedField", "alias": null, - "name": "requestConditionReport", - "storageKey": null, "args": [ { "kind": "Variable", @@ -57,51 +55,54 @@ v1 = [ } ], "concreteType": "RequestConditionReportPayload", + "kind": "LinkedField", + "name": "requestConditionReport", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "conditionReportRequest", - "storageKey": null, "args": null, "concreteType": "ConditionReportRequest", + "kind": "LinkedField", + "name": "conditionReportRequest", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "RequestConditionReportMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), - "selections": (v1/*: any*/) + "name": "RequestConditionReportMutation", + "selections": (v1/*: any*/), + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "RequestConditionReportMutation", - "argumentDefinitions": (v0/*: any*/), "selections": (v1/*: any*/) }, "params": { - "operationKind": "mutation", - "name": "RequestConditionReportMutation", "id": null, - "text": "mutation RequestConditionReportMutation(\n $input: RequestConditionReportInput!\n) {\n requestConditionReport(input: $input) {\n conditionReportRequest {\n internalID\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "RequestConditionReportMutation", + "operationKind": "mutation", + "text": "mutation RequestConditionReportMutation(\n $input: RequestConditionReportInput!\n) {\n requestConditionReport(input: $input) {\n conditionReportRequest {\n internalID\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/RequestConditionReportQueriesFailureQuery.graphql.ts b/src/v2/__generated__/RequestConditionReportQueriesFailureQuery.graphql.ts index f4862c52c67..d98e4431943 100644 --- a/src/v2/__generated__/RequestConditionReportQueriesFailureQuery.graphql.ts +++ b/src/v2/__generated__/RequestConditionReportQueriesFailureQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -52,10 +53,10 @@ fragment RequestConditionReport_me on Me { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -66,128 +67,128 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "RequestConditionReportQueriesFailureQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "RequestConditionReportQueriesFailureQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "RequestConditionReport_me", - "args": null + "name": "RequestConditionReport_me" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "RequestConditionReport_artwork", - "args": null + "name": "RequestConditionReport_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "RequestConditionReportQueriesFailureQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "email", "args": null, + "kind": "ScalarField", + "name": "email", "storageKey": null }, (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "RequestConditionReportQueriesFailureQuery", "id": null, - "text": "query RequestConditionReportQueriesFailureQuery(\n $artworkID: String!\n) {\n me {\n ...RequestConditionReport_me\n id\n }\n artwork(id: $artworkID) {\n ...RequestConditionReport_artwork\n id\n }\n}\n\nfragment RequestConditionReport_artwork on Artwork {\n internalID\n slug\n saleArtwork {\n internalID\n id\n }\n}\n\nfragment RequestConditionReport_me on Me {\n email\n internalID\n}\n", - "metadata": {} + "metadata": {}, + "name": "RequestConditionReportQueriesFailureQuery", + "operationKind": "query", + "text": "query RequestConditionReportQueriesFailureQuery(\n $artworkID: String!\n) {\n me {\n ...RequestConditionReport_me\n id\n }\n artwork(id: $artworkID) {\n ...RequestConditionReport_artwork\n id\n }\n}\n\nfragment RequestConditionReport_artwork on Artwork {\n internalID\n slug\n saleArtwork {\n internalID\n id\n }\n}\n\nfragment RequestConditionReport_me on Me {\n email\n internalID\n}\n" } }; })(); diff --git a/src/v2/__generated__/RequestConditionReportQueriesSuccessQuery.graphql.ts b/src/v2/__generated__/RequestConditionReportQueriesSuccessQuery.graphql.ts index 62826cd3c9d..89ecf3a6e21 100644 --- a/src/v2/__generated__/RequestConditionReportQueriesSuccessQuery.graphql.ts +++ b/src/v2/__generated__/RequestConditionReportQueriesSuccessQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -52,10 +53,10 @@ fragment RequestConditionReport_me on Me { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -66,128 +67,128 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "RequestConditionReportQueriesSuccessQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "RequestConditionReportQueriesSuccessQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "RequestConditionReport_me", - "args": null + "name": "RequestConditionReport_me" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "RequestConditionReport_artwork", - "args": null + "name": "RequestConditionReport_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "RequestConditionReportQueriesSuccessQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "email", "args": null, + "kind": "ScalarField", + "name": "email", "storageKey": null }, (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "RequestConditionReportQueriesSuccessQuery", "id": null, - "text": "query RequestConditionReportQueriesSuccessQuery(\n $artworkID: String!\n) {\n me {\n ...RequestConditionReport_me\n id\n }\n artwork(id: $artworkID) {\n ...RequestConditionReport_artwork\n id\n }\n}\n\nfragment RequestConditionReport_artwork on Artwork {\n internalID\n slug\n saleArtwork {\n internalID\n id\n }\n}\n\nfragment RequestConditionReport_me on Me {\n email\n internalID\n}\n", - "metadata": {} + "metadata": {}, + "name": "RequestConditionReportQueriesSuccessQuery", + "operationKind": "query", + "text": "query RequestConditionReportQueriesSuccessQuery(\n $artworkID: String!\n) {\n me {\n ...RequestConditionReport_me\n id\n }\n artwork(id: $artworkID) {\n ...RequestConditionReport_artwork\n id\n }\n}\n\nfragment RequestConditionReport_artwork on Artwork {\n internalID\n slug\n saleArtwork {\n internalID\n id\n }\n}\n\nfragment RequestConditionReport_me on Me {\n email\n internalID\n}\n" } }; })(); diff --git a/src/v2/__generated__/RequestConditionReportQueriesUnauthenticatedQuery.graphql.ts b/src/v2/__generated__/RequestConditionReportQueriesUnauthenticatedQuery.graphql.ts index 18ea0b8bcfa..cc4812b8226 100644 --- a/src/v2/__generated__/RequestConditionReportQueriesUnauthenticatedQuery.graphql.ts +++ b/src/v2/__generated__/RequestConditionReportQueriesUnauthenticatedQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -52,10 +53,10 @@ fragment RequestConditionReport_me on Me { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -66,128 +67,128 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "RequestConditionReportQueriesUnauthenticatedQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "RequestConditionReportQueriesUnauthenticatedQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "RequestConditionReport_me", - "args": null + "name": "RequestConditionReport_me" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "RequestConditionReport_artwork", - "args": null + "name": "RequestConditionReport_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "RequestConditionReportQueriesUnauthenticatedQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "email", "args": null, + "kind": "ScalarField", + "name": "email", "storageKey": null }, (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "RequestConditionReportQueriesUnauthenticatedQuery", "id": null, - "text": "query RequestConditionReportQueriesUnauthenticatedQuery(\n $artworkID: String!\n) {\n me {\n ...RequestConditionReport_me\n id\n }\n artwork(id: $artworkID) {\n ...RequestConditionReport_artwork\n id\n }\n}\n\nfragment RequestConditionReport_artwork on Artwork {\n internalID\n slug\n saleArtwork {\n internalID\n id\n }\n}\n\nfragment RequestConditionReport_me on Me {\n email\n internalID\n}\n", - "metadata": {} + "metadata": {}, + "name": "RequestConditionReportQueriesUnauthenticatedQuery", + "operationKind": "query", + "text": "query RequestConditionReportQueriesUnauthenticatedQuery(\n $artworkID: String!\n) {\n me {\n ...RequestConditionReport_me\n id\n }\n artwork(id: $artworkID) {\n ...RequestConditionReport_artwork\n id\n }\n}\n\nfragment RequestConditionReport_artwork on Artwork {\n internalID\n slug\n saleArtwork {\n internalID\n id\n }\n}\n\nfragment RequestConditionReport_me on Me {\n email\n internalID\n}\n" } }; })(); diff --git a/src/v2/__generated__/RequestConditionReportQuery.graphql.ts b/src/v2/__generated__/RequestConditionReportQuery.graphql.ts index e183b924308..4ced0880c56 100644 --- a/src/v2/__generated__/RequestConditionReportQuery.graphql.ts +++ b/src/v2/__generated__/RequestConditionReportQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -52,10 +53,10 @@ fragment RequestConditionReport_me on Me { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -66,128 +67,128 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "RequestConditionReportQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "RequestConditionReportQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "RequestConditionReport_me", - "args": null + "name": "RequestConditionReport_me" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "RequestConditionReport_artwork", - "args": null + "name": "RequestConditionReport_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "RequestConditionReportQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "email", "args": null, + "kind": "ScalarField", + "name": "email", "storageKey": null }, (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "RequestConditionReportQuery", "id": null, - "text": "query RequestConditionReportQuery(\n $artworkID: String!\n) {\n me {\n ...RequestConditionReport_me\n id\n }\n artwork(id: $artworkID) {\n ...RequestConditionReport_artwork\n id\n }\n}\n\nfragment RequestConditionReport_artwork on Artwork {\n internalID\n slug\n saleArtwork {\n internalID\n id\n }\n}\n\nfragment RequestConditionReport_me on Me {\n email\n internalID\n}\n", - "metadata": {} + "metadata": {}, + "name": "RequestConditionReportQuery", + "operationKind": "query", + "text": "query RequestConditionReportQuery(\n $artworkID: String!\n) {\n me {\n ...RequestConditionReport_me\n id\n }\n artwork(id: $artworkID) {\n ...RequestConditionReport_artwork\n id\n }\n}\n\nfragment RequestConditionReport_artwork on Artwork {\n internalID\n slug\n saleArtwork {\n internalID\n id\n }\n}\n\nfragment RequestConditionReport_me on Me {\n email\n internalID\n}\n" } }; })(); diff --git a/src/v2/__generated__/RequestConditionReportTestQuery.graphql.ts b/src/v2/__generated__/RequestConditionReportTestQuery.graphql.ts index b3fe6ba5c84..5cadc0ae300 100644 --- a/src/v2/__generated__/RequestConditionReportTestQuery.graphql.ts +++ b/src/v2/__generated__/RequestConditionReportTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -71,128 +72,128 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "RequestConditionReportTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "RequestConditionReportTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "RequestConditionReport_me", - "args": null + "name": "RequestConditionReport_me" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"artwork-id\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "RequestConditionReport_artwork", - "args": null + "name": "RequestConditionReport_artwork" } - ] + ], + "storageKey": "artwork(id:\"artwork-id\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "RequestConditionReportTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "email", "args": null, + "kind": "ScalarField", + "name": "email", "storageKey": null }, (v1/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"artwork-id\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ (v1/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": "artwork(id:\"artwork-id\")" } ] }, "params": { - "operationKind": "query", - "name": "RequestConditionReportTestQuery", "id": null, - "text": "query RequestConditionReportTestQuery {\n me {\n ...RequestConditionReport_me\n id\n }\n artwork(id: \"artwork-id\") {\n ...RequestConditionReport_artwork\n id\n }\n}\n\nfragment RequestConditionReport_artwork on Artwork {\n internalID\n slug\n saleArtwork {\n internalID\n id\n }\n}\n\nfragment RequestConditionReport_me on Me {\n email\n internalID\n}\n", - "metadata": {} + "metadata": {}, + "name": "RequestConditionReportTestQuery", + "operationKind": "query", + "text": "query RequestConditionReportTestQuery {\n me {\n ...RequestConditionReport_me\n id\n }\n artwork(id: \"artwork-id\") {\n ...RequestConditionReport_artwork\n id\n }\n}\n\nfragment RequestConditionReport_artwork on Artwork {\n internalID\n slug\n saleArtwork {\n internalID\n id\n }\n}\n\nfragment RequestConditionReport_me on Me {\n email\n internalID\n}\n" } }; })(); diff --git a/src/v2/__generated__/RequestConditionReport_artwork.graphql.ts b/src/v2/__generated__/RequestConditionReport_artwork.graphql.ts index 3a8d3cdb86e..35b4e3c8720 100644 --- a/src/v2/__generated__/RequestConditionReport_artwork.graphql.ts +++ b/src/v2/__generated__/RequestConditionReport_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -20,40 +21,40 @@ export type RequestConditionReport_artwork$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "RequestConditionReport_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "RequestConditionReport_artwork", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = 'e20d4fa964b57dd0a75664fa56741ed4'; diff --git a/src/v2/__generated__/RequestConditionReport_me.graphql.ts b/src/v2/__generated__/RequestConditionReport_me.graphql.ts index ebe08778ad6..9b402dbc9c8 100644 --- a/src/v2/__generated__/RequestConditionReport_me.graphql.ts +++ b/src/v2/__generated__/RequestConditionReport_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -16,27 +17,27 @@ export type RequestConditionReport_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "RequestConditionReport_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "RequestConditionReport_me", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "email", "args": null, + "kind": "ScalarField", + "name": "email", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null } - ] + ], + "type": "Me" }; (node as any).hash = '258c05430e9b3e8a98d4422132c12e82'; export default node; diff --git a/src/v2/__generated__/RespondCounterOfferMutation.graphql.ts b/src/v2/__generated__/RespondCounterOfferMutation.graphql.ts index ff55e7a86c0..18afc6df7ba 100644 --- a/src/v2/__generated__/RespondCounterOfferMutation.graphql.ts +++ b/src/v2/__generated__/RespondCounterOfferMutation.graphql.ts @@ -1,12 +1,13 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type CommerceBuyerCounterOfferInput = { - readonly amountCents: number; - readonly clientMutationId?: string | null; - readonly note?: string | null; - readonly offerId: string; + amountCents: number; + clientMutationId?: string | null; + note?: string | null; + offerId: string; }; export type RespondCounterOfferMutationVariables = { input: CommerceBuyerCounterOfferInput; @@ -243,10 +244,10 @@ fragment TransactionDetailsSummaryItem_order on CommerceOrder { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CommerceBuyerCounterOfferInput!", - "defaultValue": null + "type": "CommerceBuyerCounterOfferInput!" } ], v1 = [ @@ -258,54 +259,54 @@ v1 = [ ], v2 = { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "error", - "storageKey": null, "args": null, "concreteType": "CommerceApplicationError", + "kind": "LinkedField", + "name": "error", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "data", "args": null, + "kind": "ScalarField", + "name": "data", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationFailure" }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v5 = [ @@ -316,332 +317,320 @@ v5 = [ } ], v6 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, v16 = { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, v17 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, v18 = { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "RespondCounterOfferMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "RespondCounterOfferMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceBuyerCounterOffer", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceBuyerCounterOfferPayload", + "kind": "LinkedField", + "name": "commerceBuyerCounterOffer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Respond_order", - "args": null + "name": "Respond_order" } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "RespondCounterOfferMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceBuyerCounterOffer", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceBuyerCounterOfferPayload", + "kind": "LinkedField", + "name": "commerceBuyerCounterOffer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ (v3/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "currencyCode", "args": null, + "kind": "ScalarField", + "name": "currencyCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "itemsTotalCents", "args": null, + "kind": "ScalarField", + "name": "itemsTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPriceCents", "args": null, + "kind": "ScalarField", + "name": "totalListPriceCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": null, + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v6/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -650,27 +639,35 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/), (v7/*: any*/), @@ -679,145 +676,143 @@ return { (v10/*: any*/), (v11/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v3/*: any*/), (v6/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v12/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v3/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v12/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null } - ] + ], + "type": "CommerceShip" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null }, (v6/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ (v13/*: any*/), @@ -833,15 +828,15 @@ return { (v11/*: any*/), (v17/*: any*/), (v18/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v13/*: any*/), @@ -857,41 +852,37 @@ return { (v17/*: any*/), (v18/*: any*/), (v14/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "offers", - "storageKey": null, "args": null, "concreteType": "CommerceOfferConnection", + "kind": "LinkedField", + "name": "offers", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceOfferEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), (v15/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": [ { "kind": "Literal", @@ -899,35 +890,45 @@ return { "value": "MMM D" } ], + "kind": "ScalarField", + "name": "createdAt", "storageKey": "createdAt(format:\"MMM D\")" }, (v18/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "RespondCounterOfferMutation", "id": null, - "text": "mutation RespondCounterOfferMutation(\n $input: CommerceBuyerCounterOfferInput!\n) {\n commerceBuyerCounterOffer(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n ...Respond_order\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n totalListPrice(precision: 2)\n}\n\nfragment Respond_order on CommerceOrder {\n internalID\n mode\n state\n currencyCode\n itemsTotal(precision: 2)\n itemsTotalCents\n totalListPrice(precision: 2)\n totalListPriceCents\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n myLastOffer {\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n ...OfferHistoryItem_order\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "RespondCounterOfferMutation", + "operationKind": "mutation", + "text": "mutation RespondCounterOfferMutation(\n $input: CommerceBuyerCounterOfferInput!\n) {\n commerceBuyerCounterOffer(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n ...Respond_order\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n totalListPrice(precision: 2)\n}\n\nfragment Respond_order on CommerceOrder {\n internalID\n mode\n state\n currencyCode\n itemsTotal(precision: 2)\n itemsTotalCents\n totalListPrice(precision: 2)\n totalListPriceCents\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n myLastOffer {\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n ...OfferHistoryItem_order\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/RespondTestQuery.graphql.ts b/src/v2/__generated__/RespondTestQuery.graphql.ts index edf22cc1205..669ccab4b84 100644 --- a/src/v2/__generated__/RespondTestQuery.graphql.ts +++ b/src/v2/__generated__/RespondTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -394,10 +395,10 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = [ @@ -408,287 +409,278 @@ v2 = [ } ], v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, v16 = { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "RespondTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "RespondTestQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Respond_order", - "args": null + "name": "Respond_order" } - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "RespondTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "currencyCode", "args": null, + "kind": "ScalarField", + "name": "currencyCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "itemsTotalCents", "args": null, + "kind": "ScalarField", + "name": "itemsTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPriceCents", "args": null, + "kind": "ScalarField", + "name": "totalListPriceCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": null, + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -697,27 +689,35 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/), (v5/*: any*/), @@ -726,145 +726,143 @@ return { (v8/*: any*/), (v9/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v4/*: any*/), (v3/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v10/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v4/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null } - ] + ], + "type": "CommerceShip" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ (v11/*: any*/), @@ -880,15 +878,15 @@ return { (v9/*: any*/), (v15/*: any*/), (v16/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v11/*: any*/), @@ -904,41 +902,37 @@ return { (v15/*: any*/), (v16/*: any*/), (v12/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "offers", - "storageKey": null, "args": null, "concreteType": "CommerceOfferConnection", + "kind": "LinkedField", + "name": "offers", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceOfferEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/), (v13/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": [ { "kind": "Literal", @@ -946,28 +940,35 @@ return { "value": "MMM D" } ], + "kind": "ScalarField", + "name": "createdAt", "storageKey": "createdAt(format:\"MMM D\")" }, (v16/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "RespondTestQuery", "id": null, - "text": "query RespondTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Respond_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n totalListPrice(precision: 2)\n}\n\nfragment Respond_order on CommerceOrder {\n internalID\n mode\n state\n currencyCode\n itemsTotal(precision: 2)\n itemsTotalCents\n totalListPrice(precision: 2)\n totalListPriceCents\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n myLastOffer {\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n ...OfferHistoryItem_order\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "RespondTestQuery", + "operationKind": "query", + "text": "query RespondTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Respond_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n totalListPrice(precision: 2)\n}\n\nfragment Respond_order on CommerceOrder {\n internalID\n mode\n state\n currencyCode\n itemsTotal(precision: 2)\n itemsTotalCents\n totalListPrice(precision: 2)\n totalListPriceCents\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n myLastOffer {\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n ...OfferHistoryItem_order\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Respond_order.graphql.ts b/src/v2/__generated__/Respond_order.graphql.ts index 859e097dace..cf527fc768d 100644 --- a/src/v2/__generated__/Respond_order.graphql.ts +++ b/src/v2/__generated__/Respond_order.graphql.ts @@ -1,9 +1,10 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; +import { FragmentRefs } from "relay-runtime"; export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLED" | "PENDING" | "REFUNDED" | "SUBMITTED" | "%future added value"; -import { FragmentRefs } from "relay-runtime"; export type Respond_order = { readonly internalID: string; readonly mode: CommerceOrderModeEnum | null; @@ -44,10 +45,10 @@ export type Respond_order$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v1 = [ @@ -58,191 +59,191 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Respond_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "Respond_order", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "currencyCode", "args": null, + "kind": "ScalarField", + "name": "currencyCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "itemsTotalCents", "args": null, + "kind": "ScalarField", + "name": "itemsTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPriceCents", "args": null, + "kind": "ScalarField", + "name": "totalListPriceCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": null, + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ (v2/*: any*/), (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" }, { + "args": null, "kind": "FragmentSpread", - "name": "TransactionDetailsSummaryItem_order", - "args": null + "name": "TransactionDetailsSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSummaryItem_order", - "args": null + "name": "ArtworkSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "ShippingSummaryItem_order", - "args": null + "name": "ShippingSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "CreditCardSummaryItem_order", - "args": null + "name": "CreditCardSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "OfferHistoryItem_order", - "args": null + "name": "OfferHistoryItem_order" } - ] + ], + "type": "CommerceOrder" }; })(); (node as any).hash = '5b8133ec8a17977aa86f219db0b50846'; diff --git a/src/v2/__generated__/ReviewSubmitOfferOrderMutation.graphql.ts b/src/v2/__generated__/ReviewSubmitOfferOrderMutation.graphql.ts index 1b3442de7ee..890c690ec03 100644 --- a/src/v2/__generated__/ReviewSubmitOfferOrderMutation.graphql.ts +++ b/src/v2/__generated__/ReviewSubmitOfferOrderMutation.graphql.ts @@ -1,11 +1,12 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLED" | "PENDING" | "REFUNDED" | "SUBMITTED" | "%future added value"; export type CommerceSubmitOrderWithOfferInput = { - readonly clientMutationId?: string | null; - readonly confirmedSetupIntentId?: string | null; - readonly offerId: string; + clientMutationId?: string | null; + confirmedSetupIntentId?: string | null; + offerId: string; }; export type ReviewSubmitOfferOrderMutationVariables = { input: CommerceSubmitOrderWithOfferInput; @@ -68,10 +69,10 @@ mutation ReviewSubmitOfferOrderMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CommerceSubmitOrderWithOfferInput!", - "defaultValue": null + "type": "CommerceSubmitOrderWithOfferInput!" } ], v1 = [ @@ -82,198 +83,198 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, v3 = { "kind": "InlineFragment", - "type": "CommerceOrderRequiresAction", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "actionData", - "storageKey": null, "args": null, "concreteType": "CommerceOrderActionData", + "kind": "LinkedField", + "name": "actionData", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "clientSecret", "args": null, + "kind": "ScalarField", + "name": "clientSecret", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderRequiresAction" }, v4 = { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "error", - "storageKey": null, "args": null, "concreteType": "CommerceApplicationError", + "kind": "LinkedField", + "name": "error", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "data", "args": null, + "kind": "ScalarField", + "name": "data", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationFailure" }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ReviewSubmitOfferOrderMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ReviewSubmitOfferOrderMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceSubmitOrderWithOffer", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceSubmitOrderWithOfferPayload", + "kind": "LinkedField", + "name": "commerceSubmitOrderWithOffer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ReviewSubmitOfferOrderMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceSubmitOrderWithOffer", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceSubmitOrderWithOfferPayload", + "kind": "LinkedField", + "name": "commerceSubmitOrderWithOffer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ (v5/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v5/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "ReviewSubmitOfferOrderMutation", "id": null, - "text": "mutation ReviewSubmitOfferOrderMutation(\n $input: CommerceSubmitOrderWithOfferInput!\n) {\n commerceSubmitOrderWithOffer(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n state\n id\n }\n }\n ... on CommerceOrderRequiresAction {\n actionData {\n clientSecret\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ReviewSubmitOfferOrderMutation", + "operationKind": "mutation", + "text": "mutation ReviewSubmitOfferOrderMutation(\n $input: CommerceSubmitOrderWithOfferInput!\n) {\n commerceSubmitOrderWithOffer(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n state\n id\n }\n }\n ... on CommerceOrderRequiresAction {\n actionData {\n clientSecret\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ReviewSubmitOrderMutation.graphql.ts b/src/v2/__generated__/ReviewSubmitOrderMutation.graphql.ts index 8b3df95ce7d..86927e4429f 100644 --- a/src/v2/__generated__/ReviewSubmitOrderMutation.graphql.ts +++ b/src/v2/__generated__/ReviewSubmitOrderMutation.graphql.ts @@ -1,10 +1,11 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLED" | "PENDING" | "REFUNDED" | "SUBMITTED" | "%future added value"; export type CommerceSubmitOrderInput = { - readonly clientMutationId?: string | null; - readonly id: string; + clientMutationId?: string | null; + id: string; }; export type ReviewSubmitOrderMutationVariables = { input: CommerceSubmitOrderInput; @@ -67,10 +68,10 @@ mutation ReviewSubmitOrderMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CommerceSubmitOrderInput!", - "defaultValue": null + "type": "CommerceSubmitOrderInput!" } ], v1 = [ @@ -81,198 +82,198 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, v3 = { "kind": "InlineFragment", - "type": "CommerceOrderRequiresAction", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "actionData", - "storageKey": null, "args": null, "concreteType": "CommerceOrderActionData", + "kind": "LinkedField", + "name": "actionData", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "clientSecret", "args": null, + "kind": "ScalarField", + "name": "clientSecret", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderRequiresAction" }, v4 = { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "error", - "storageKey": null, "args": null, "concreteType": "CommerceApplicationError", + "kind": "LinkedField", + "name": "error", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "data", "args": null, + "kind": "ScalarField", + "name": "data", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationFailure" }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ReviewSubmitOrderMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ReviewSubmitOrderMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceSubmitOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceSubmitOrderPayload", + "kind": "LinkedField", + "name": "commerceSubmitOrder", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ReviewSubmitOrderMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceSubmitOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceSubmitOrderPayload", + "kind": "LinkedField", + "name": "commerceSubmitOrder", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ (v5/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v5/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "ReviewSubmitOrderMutation", "id": null, - "text": "mutation ReviewSubmitOrderMutation(\n $input: CommerceSubmitOrderInput!\n) {\n commerceSubmitOrder(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n state\n id\n }\n }\n ... on CommerceOrderRequiresAction {\n actionData {\n clientSecret\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ReviewSubmitOrderMutation", + "operationKind": "mutation", + "text": "mutation ReviewSubmitOrderMutation(\n $input: CommerceSubmitOrderInput!\n) {\n commerceSubmitOrder(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n state\n id\n }\n }\n ... on CommerceOrderRequiresAction {\n actionData {\n clientSecret\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ReviewTestQuery.graphql.ts b/src/v2/__generated__/ReviewTestQuery.graphql.ts index bda40ff8da4..a63910a8f1d 100644 --- a/src/v2/__generated__/ReviewTestQuery.graphql.ts +++ b/src/v2/__generated__/ReviewTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -436,10 +437,10 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = [ @@ -450,291 +451,282 @@ v2 = [ } ], v3 = { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "in", "args": null, + "kind": "ScalarField", + "name": "in", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cm", "args": null, + "kind": "ScalarField", + "name": "cm", "storageKey": null } - ] + ], + "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ], v6 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, v16 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, v17 = { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, v18 = { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ReviewTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ReviewTestQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Review_order", - "args": null + "name": "Review_order" } - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ReviewTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "medium", "args": null, + "kind": "ScalarField", + "name": "medium", "storageKey": null }, (v3/*: any*/), { - "kind": "LinkedField", "alias": "attribution_class", - "name": "attributionClass", - "storageKey": null, "args": null, "concreteType": "AttributionClass", + "kind": "LinkedField", + "name": "attributionClass", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "shortDescription", "args": null, + "kind": "ScalarField", + "name": "shortDescription", "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:185)", "args": [ { "kind": "Literal", @@ -743,14 +735,14 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": "resized(width:185)" }, { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -759,83 +751,91 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "edition_sets", - "name": "editionSets", - "storageKey": null, "args": null, "concreteType": "EditionSet", + "kind": "LinkedField", + "name": "editionSets", "plural": true, "selections": [ (v1/*: any*/), (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null }, (v4/*: any*/), (v6/*: any*/), (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v6/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "editionSetId", "args": null, + "kind": "ScalarField", + "name": "editionSetId", "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v7/*: any*/), (v4/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v8/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, (v7/*: any*/), (v9/*: any*/), @@ -843,140 +843,138 @@ return { (v11/*: any*/), (v12/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v2/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v13/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v7/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v8/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null } - ] + ], + "type": "CommerceShip" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, (v4/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v1/*: any*/), @@ -991,15 +989,15 @@ return { (v16/*: any*/), (v17/*: any*/), (v18/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ (v1/*: any*/), @@ -1014,20 +1012,23 @@ return { (v17/*: any*/), (v18/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "ReviewTestQuery", "id": null, - "text": "query ReviewTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Review_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment ItemReview_lineItem on CommerceLineItem {\n artwork {\n artist_names: artistNames\n title\n date\n medium\n dimensions {\n in\n cm\n }\n attribution_class: attributionClass {\n shortDescription\n id\n }\n image {\n resized(width: 185) {\n url\n }\n }\n edition_sets: editionSets {\n internalID\n dimensions {\n in\n cm\n }\n id\n }\n id\n }\n editionSetId\n}\n\nfragment OfferSummaryItem_order on CommerceOrder {\n totalListPrice(precision: 2)\n ... on CommerceOfferOrder {\n myLastOffer {\n amount(precision: 2)\n note\n id\n }\n }\n}\n\nfragment Review_order on CommerceOrder {\n internalID\n mode\n itemsTotal(precision: 2)\n lineItems {\n edges {\n node {\n ...ItemReview_lineItem\n artwork {\n slug\n internalID\n artists {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n internalID\n id\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n ...OfferSummaryItem_order\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ReviewTestQuery", + "operationKind": "query", + "text": "query ReviewTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Review_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment ItemReview_lineItem on CommerceLineItem {\n artwork {\n artist_names: artistNames\n title\n date\n medium\n dimensions {\n in\n cm\n }\n attribution_class: attributionClass {\n shortDescription\n id\n }\n image {\n resized(width: 185) {\n url\n }\n }\n edition_sets: editionSets {\n internalID\n dimensions {\n in\n cm\n }\n id\n }\n id\n }\n editionSetId\n}\n\nfragment OfferSummaryItem_order on CommerceOrder {\n totalListPrice(precision: 2)\n ... on CommerceOfferOrder {\n myLastOffer {\n amount(precision: 2)\n note\n id\n }\n }\n}\n\nfragment Review_order on CommerceOrder {\n internalID\n mode\n itemsTotal(precision: 2)\n lineItems {\n edges {\n node {\n ...ItemReview_lineItem\n artwork {\n slug\n internalID\n artists {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n internalID\n id\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n ...OfferSummaryItem_order\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Review_order.graphql.ts b/src/v2/__generated__/Review_order.graphql.ts index 52a247d24ce..1088fadb539 100644 --- a/src/v2/__generated__/Review_order.graphql.ts +++ b/src/v2/__generated__/Review_order.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; export type Review_order = { readonly internalID: string; readonly mode: CommerceOrderModeEnum | null; @@ -37,38 +38,35 @@ export type Review_order$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Review_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "Review_order", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": [ { "kind": "Literal", @@ -76,115 +74,118 @@ return { "value": 2 } ], + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v1/*: any*/), (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ItemReview_lineItem", - "args": null + "name": "ItemReview_lineItem" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSummaryItem_order", - "args": null + "name": "ArtworkSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "TransactionDetailsSummaryItem_order", - "args": null + "name": "TransactionDetailsSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "ShippingSummaryItem_order", - "args": null + "name": "ShippingSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "CreditCardSummaryItem_order", - "args": null + "name": "CreditCardSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "OfferSummaryItem_order", - "args": null + "name": "OfferSummaryItem_order" } - ] + ], + "type": "CommerceOrder" }; })(); (node as any).hash = '60dfd6ec4add50147123f983c4b5e086'; diff --git a/src/v2/__generated__/RouterQuery.graphql.ts b/src/v2/__generated__/RouterQuery.graphql.ts index 26b20daf951..ca4a0993123 100644 --- a/src/v2/__generated__/RouterQuery.graphql.ts +++ b/src/v2/__generated__/RouterQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type RouterQueryVariables = { @@ -32,10 +33,10 @@ query RouterQuery( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -46,76 +47,76 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "bio", "args": null, + "kind": "ScalarField", + "name": "bio", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "RouterQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "RouterQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "RouterQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "RouterQuery", "id": null, - "text": "query RouterQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n name\n bio\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "RouterQuery", + "operationKind": "query", + "text": "query RouterQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n name\n bio\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SaveArtworkMutation.graphql.ts b/src/v2/__generated__/SaveArtworkMutation.graphql.ts index dbf3287045f..f985300e8a5 100644 --- a/src/v2/__generated__/SaveArtworkMutation.graphql.ts +++ b/src/v2/__generated__/SaveArtworkMutation.graphql.ts @@ -1,10 +1,11 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type SaveArtworkInput = { - readonly artworkID?: string | null; - readonly clientMutationId?: string | null; - readonly remove?: boolean | null; + artworkID?: string | null; + clientMutationId?: string | null; + remove?: boolean | null; }; export type SaveArtworkMutationVariables = { input: SaveArtworkInput; @@ -42,18 +43,15 @@ mutation SaveArtworkMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "SaveArtworkInput!", - "defaultValue": null + "type": "SaveArtworkInput!" } ], v1 = [ { - "kind": "LinkedField", "alias": null, - "name": "saveArtwork", - "storageKey": null, "args": [ { "kind": "Variable", @@ -62,65 +60,68 @@ v1 = [ } ], "concreteType": "SaveArtworkPayload", + "kind": "LinkedField", + "name": "saveArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "SaveArtworkMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), - "selections": (v1/*: any*/) + "name": "SaveArtworkMutation", + "selections": (v1/*: any*/), + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "SaveArtworkMutation", - "argumentDefinitions": (v0/*: any*/), "selections": (v1/*: any*/) }, "params": { - "operationKind": "mutation", - "name": "SaveArtworkMutation", "id": null, - "text": "mutation SaveArtworkMutation(\n $input: SaveArtworkInput!\n) {\n saveArtwork(input: $input) {\n artwork {\n id\n slug\n is_saved: isSaved\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SaveArtworkMutation", + "operationKind": "mutation", + "text": "mutation SaveArtworkMutation(\n $input: SaveArtworkInput!\n) {\n saveArtwork(input: $input) {\n artwork {\n id\n slug\n is_saved: isSaved\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SaveArtworkQuery.graphql.ts b/src/v2/__generated__/SaveArtworkQuery.graphql.ts index 5c257c0263f..f0999a89be3 100644 --- a/src/v2/__generated__/SaveArtworkQuery.graphql.ts +++ b/src/v2/__generated__/SaveArtworkQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -134,10 +135,10 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -148,10 +149,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v3 = [ @@ -162,110 +163,106 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v6 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "SaveArtworkQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "SaveArtworkQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "GridItem_artwork", - "args": null + "name": "GridItem_artwork" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "SaveArtworkQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -273,224 +270,228 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null } - ] + ], + "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v3/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v4/*: any*/), (v2/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v3/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v5/*: any*/), (v2/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "SaveArtworkQuery", "id": null, - "text": "query SaveArtworkQuery(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...GridItem_artwork\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "SaveArtworkQuery", + "operationKind": "query", + "text": "query SaveArtworkQuery(\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n ...GridItem_artwork\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/Save_artwork.graphql.ts b/src/v2/__generated__/Save_artwork.graphql.ts index d60a7e98dca..1317b737f67 100644 --- a/src/v2/__generated__/Save_artwork.graphql.ts +++ b/src/v2/__generated__/Save_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -19,48 +20,48 @@ export type Save_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Save_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "Save_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null } - ] + ], + "type": "Artwork" }; (node as any).hash = 'beeb9a74a0ff8d75076752d5be66523c'; export default node; diff --git a/src/v2/__generated__/SavedCreditCardsDeleteCreditCardMutation.graphql.ts b/src/v2/__generated__/SavedCreditCardsDeleteCreditCardMutation.graphql.ts index 2af8ebb67e4..660495567a5 100644 --- a/src/v2/__generated__/SavedCreditCardsDeleteCreditCardMutation.graphql.ts +++ b/src/v2/__generated__/SavedCreditCardsDeleteCreditCardMutation.graphql.ts @@ -1,9 +1,10 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type DeleteCreditCardInput = { - readonly clientMutationId?: string | null; - readonly id: string; + clientMutationId?: string | null; + id: string; }; export type SavedCreditCardsDeleteCreditCardMutationVariables = { input: DeleteCreditCardInput; @@ -58,10 +59,10 @@ mutation SavedCreditCardsDeleteCreditCardMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "DeleteCreditCardInput!", - "defaultValue": null + "type": "DeleteCreditCardInput!" } ], v1 = [ @@ -73,152 +74,152 @@ v1 = [ ], v2 = { "kind": "InlineFragment", - "type": "CreditCardMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CreditCardMutationSuccess" }, v3 = { "kind": "InlineFragment", - "type": "CreditCardMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "mutationError", - "storageKey": null, "args": null, "concreteType": "GravityMutationError", + "kind": "LinkedField", + "name": "mutationError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "message", "args": null, + "kind": "ScalarField", + "name": "message", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "detail", "args": null, + "kind": "ScalarField", + "name": "detail", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CreditCardMutationFailure" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "SavedCreditCardsDeleteCreditCardMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "SavedCreditCardsDeleteCreditCardMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "deleteCreditCard", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "DeleteCreditCardPayload", + "kind": "LinkedField", + "name": "deleteCreditCard", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCardOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "creditCardOrError", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "SavedCreditCardsDeleteCreditCardMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "deleteCreditCard", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "DeleteCreditCardPayload", + "kind": "LinkedField", + "name": "deleteCreditCard", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCardOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "creditCardOrError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "SavedCreditCardsDeleteCreditCardMutation", "id": null, - "text": "mutation SavedCreditCardsDeleteCreditCardMutation(\n $input: DeleteCreditCardInput!\n) {\n deleteCreditCard(input: $input) {\n creditCardOrError {\n __typename\n ... on CreditCardMutationSuccess {\n creditCard {\n internalID\n id\n }\n }\n ... on CreditCardMutationFailure {\n mutationError {\n type\n message\n detail\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SavedCreditCardsDeleteCreditCardMutation", + "operationKind": "mutation", + "text": "mutation SavedCreditCardsDeleteCreditCardMutation(\n $input: DeleteCreditCardInput!\n) {\n deleteCreditCard(input: $input) {\n creditCardOrError {\n __typename\n ... on CreditCardMutationSuccess {\n creditCard {\n internalID\n id\n }\n }\n ... on CreditCardMutationFailure {\n mutationError {\n type\n message\n detail\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SearchApp_viewer.graphql.ts b/src/v2/__generated__/SearchApp_viewer.graphql.ts index e434bf72854..81ea9a585c8 100644 --- a/src/v2/__generated__/SearchApp_viewer.graphql.ts +++ b/src/v2/__generated__/SearchApp_viewer.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type SearchAggregation = "TYPE" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type SearchAggregation = "TYPE" | "%future added value"; export type SearchApp_viewer = { readonly searchConnection: { readonly aggregations: ReadonlyArray<{ @@ -37,24 +38,20 @@ export type SearchApp_viewer$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "SearchApp_viewer", - "type": "Viewer", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": "", "kind": "LocalArgument", "name": "term", - "type": "String!", - "defaultValue": "" + "type": "String!" } ], + "kind": "Fragment", + "metadata": null, + "name": "SearchApp_viewer", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "searchConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -75,112 +72,112 @@ const node: ReaderFragment = { } ], "concreteType": "SearchableConnection", + "kind": "LinkedField", + "name": "searchConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "SearchAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SearchableEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "SearchableItem", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "displayLabel", "args": null, + "kind": "ScalarField", + "name": "displayLabel", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "displayType", "args": null, + "kind": "ScalarField", + "name": "displayType", "storageKey": null } - ] + ], + "type": "SearchableItem" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "NavigationTabs_searchableConnection", - "args": null + "name": "NavigationTabs_searchableConnection" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -201,29 +198,33 @@ const node: ReaderFragment = { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "FilterArtworksCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "total", "args": null, + "kind": "ScalarField", + "name": "total", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Viewer" }; (node as any).hash = '35e201abf8d672d14777050f0cca8a84'; export default node; diff --git a/src/v2/__generated__/SearchBarRefetchQuery.graphql.ts b/src/v2/__generated__/SearchBarRefetchQuery.graphql.ts index 1bf40289232..202c0b7a3cb 100644 --- a/src/v2/__generated__/SearchBarRefetchQuery.graphql.ts +++ b/src/v2/__generated__/SearchBarRefetchQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -51,39 +52,34 @@ fragment SearchBar_viewer_2Mejjw on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "term", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasTerm", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "SearchBarRefetchQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "SearchBarRefetchQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "SearchBar_viewer", "args": [ { "kind": "Variable", @@ -95,36 +91,37 @@ return { "name": "term", "variableName": "term" } - ] + ], + "kind": "FragmentSpread", + "name": "SearchBar_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "SearchBarRefetchQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { + "condition": "hasTerm", "kind": "Condition", "passingValue": true, - "condition": "hasTerm", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "searchConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -143,92 +140,96 @@ return { } ], "concreteType": "SearchableConnection", + "kind": "LinkedField", + "name": "searchConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SearchableEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "displayLabel", "args": null, + "kind": "ScalarField", + "name": "displayLabel", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { "kind": "InlineFragment", - "type": "SearchableItem", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "displayType", "args": null, + "kind": "ScalarField", + "name": "displayType", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "type": "SearchableItem" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "SearchBarRefetchQuery", "id": null, - "text": "query SearchBarRefetchQuery(\n $term: String!\n $hasTerm: Boolean!\n) {\n viewer {\n ...SearchBar_viewer_2Mejjw\n }\n}\n\nfragment SearchBar_viewer_2Mejjw on Viewer {\n searchConnection(query: $term, mode: AUTOSUGGEST, first: 7) @include(if: $hasTerm) {\n edges {\n node {\n __typename\n displayLabel\n href\n ... on SearchableItem {\n displayType\n slug\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SearchBarRefetchQuery", + "operationKind": "query", + "text": "query SearchBarRefetchQuery(\n $term: String!\n $hasTerm: Boolean!\n) {\n viewer {\n ...SearchBar_viewer_2Mejjw\n }\n}\n\nfragment SearchBar_viewer_2Mejjw on Viewer {\n searchConnection(query: $term, mode: AUTOSUGGEST, first: 7) @include(if: $hasTerm) {\n edges {\n node {\n __typename\n displayLabel\n href\n ... on SearchableItem {\n displayType\n slug\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SearchBarSuggestQuery.graphql.ts b/src/v2/__generated__/SearchBarSuggestQuery.graphql.ts index e0fdd241e17..e47ddea9b47 100644 --- a/src/v2/__generated__/SearchBarSuggestQuery.graphql.ts +++ b/src/v2/__generated__/SearchBarSuggestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -51,39 +52,34 @@ fragment SearchBar_viewer_2Mejjw on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "term", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasTerm", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "SearchBarSuggestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "SearchBarSuggestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "SearchBar_viewer", "args": [ { "kind": "Variable", @@ -95,36 +91,37 @@ return { "name": "term", "variableName": "term" } - ] + ], + "kind": "FragmentSpread", + "name": "SearchBar_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "SearchBarSuggestQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { + "condition": "hasTerm", "kind": "Condition", "passingValue": true, - "condition": "hasTerm", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "searchConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -143,92 +140,96 @@ return { } ], "concreteType": "SearchableConnection", + "kind": "LinkedField", + "name": "searchConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SearchableEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "displayLabel", "args": null, + "kind": "ScalarField", + "name": "displayLabel", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { "kind": "InlineFragment", - "type": "SearchableItem", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "displayType", "args": null, + "kind": "ScalarField", + "name": "displayType", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "type": "SearchableItem" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "SearchBarSuggestQuery", "id": null, - "text": "query SearchBarSuggestQuery(\n $term: String!\n $hasTerm: Boolean!\n) {\n viewer {\n ...SearchBar_viewer_2Mejjw\n }\n}\n\nfragment SearchBar_viewer_2Mejjw on Viewer {\n searchConnection(query: $term, mode: AUTOSUGGEST, first: 7) @include(if: $hasTerm) {\n edges {\n node {\n __typename\n displayLabel\n href\n ... on SearchableItem {\n displayType\n slug\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SearchBarSuggestQuery", + "operationKind": "query", + "text": "query SearchBarSuggestQuery(\n $term: String!\n $hasTerm: Boolean!\n) {\n viewer {\n ...SearchBar_viewer_2Mejjw\n }\n}\n\nfragment SearchBar_viewer_2Mejjw on Viewer {\n searchConnection(query: $term, mode: AUTOSUGGEST, first: 7) @include(if: $hasTerm) {\n edges {\n node {\n __typename\n displayLabel\n href\n ... on SearchableItem {\n displayType\n slug\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SearchBarTestQuery.graphql.ts b/src/v2/__generated__/SearchBarTestQuery.graphql.ts index d53ea1f1531..a949a5113d5 100644 --- a/src/v2/__generated__/SearchBarTestQuery.graphql.ts +++ b/src/v2/__generated__/SearchBarTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -13,7 +14,7 @@ export type SearchBarTestQueryResponse = { }; export type SearchBarTestQueryRawResponse = { readonly viewer: ({ - readonly searchConnection?: ({ + readonly searchConnection: ({ readonly edges: ReadonlyArray<({ readonly node: ({ readonly __typename: "SearchableItem"; @@ -73,39 +74,34 @@ fragment SearchBar_viewer_2Mejjw on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "term", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasTerm", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "SearchBarTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "SearchBarTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "SearchBar_viewer", "args": [ { "kind": "Variable", @@ -117,36 +113,37 @@ return { "name": "term", "variableName": "term" } - ] + ], + "kind": "FragmentSpread", + "name": "SearchBar_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "SearchBarTestQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { + "condition": "hasTerm", "kind": "Condition", "passingValue": true, - "condition": "hasTerm", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "searchConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -165,92 +162,96 @@ return { } ], "concreteType": "SearchableConnection", + "kind": "LinkedField", + "name": "searchConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SearchableEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "displayLabel", "args": null, + "kind": "ScalarField", + "name": "displayLabel", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { "kind": "InlineFragment", - "type": "SearchableItem", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "displayType", "args": null, + "kind": "ScalarField", + "name": "displayType", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "type": "SearchableItem" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "SearchBarTestQuery", "id": null, - "text": "query SearchBarTestQuery(\n $term: String!\n $hasTerm: Boolean!\n) {\n viewer {\n ...SearchBar_viewer_2Mejjw\n }\n}\n\nfragment SearchBar_viewer_2Mejjw on Viewer {\n searchConnection(query: $term, mode: AUTOSUGGEST, first: 7) @include(if: $hasTerm) {\n edges {\n node {\n __typename\n displayLabel\n href\n ... on SearchableItem {\n displayType\n slug\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SearchBarTestQuery", + "operationKind": "query", + "text": "query SearchBarTestQuery(\n $term: String!\n $hasTerm: Boolean!\n) {\n viewer {\n ...SearchBar_viewer_2Mejjw\n }\n}\n\nfragment SearchBar_viewer_2Mejjw on Viewer {\n searchConnection(query: $term, mode: AUTOSUGGEST, first: 7) @include(if: $hasTerm) {\n edges {\n node {\n __typename\n displayLabel\n href\n ... on SearchableItem {\n displayType\n slug\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SearchBar_viewer.graphql.ts b/src/v2/__generated__/SearchBar_viewer.graphql.ts index 5bdb4b16d21..c835bfc36e4 100644 --- a/src/v2/__generated__/SearchBar_viewer.graphql.ts +++ b/src/v2/__generated__/SearchBar_viewer.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -24,35 +25,31 @@ export type SearchBar_viewer$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "SearchBar_viewer", - "type": "Viewer", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": "", "kind": "LocalArgument", "name": "term", - "type": "String!", - "defaultValue": "" + "type": "String!" }, { + "defaultValue": false, "kind": "LocalArgument", "name": "hasTerm", - "type": "Boolean!", - "defaultValue": false + "type": "Boolean!" } ], + "kind": "Fragment", + "metadata": null, + "name": "SearchBar_viewer", "selections": [ { + "condition": "hasTerm", "kind": "Condition", "passingValue": true, - "condition": "hasTerm", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "searchConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -71,69 +68,73 @@ const node: ReaderFragment = { } ], "concreteType": "SearchableConnection", + "kind": "LinkedField", + "name": "searchConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SearchableEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "displayLabel", "args": null, + "kind": "ScalarField", + "name": "displayLabel", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { "kind": "InlineFragment", - "type": "SearchableItem", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "displayType", "args": null, + "kind": "ScalarField", + "name": "displayType", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "type": "SearchableItem" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] } - ] + ], + "type": "Viewer" }; (node as any).hash = '3aeb38b1dc5d0bfda3a165193d2b7a27'; export default node; diff --git a/src/v2/__generated__/SearchResultsArtistsQuery.graphql.ts b/src/v2/__generated__/SearchResultsArtistsQuery.graphql.ts index 99846a56eef..9a8d15ccb71 100644 --- a/src/v2/__generated__/SearchResultsArtistsQuery.graphql.ts +++ b/src/v2/__generated__/SearchResultsArtistsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -89,40 +90,40 @@ fragment SearchResultsArtists_viewer_3D3mrw on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "first", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "last", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "before", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "term", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" } ], v1 = { @@ -151,51 +152,46 @@ v5 = { "variableName": "page" }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v8 = [ (v6/*: any*/), (v7/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "SearchResultsArtistsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "SearchResultsArtistsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "SearchResultsArtists_viewer", "args": [ (v1/*: any*/), (v2/*: any*/), @@ -207,31 +203,32 @@ return { "name": "term", "variableName": "term" } - ] + ], + "kind": "FragmentSpread", + "name": "SearchResultsArtists_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "SearchResultsArtistsQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "searchConnection", - "storageKey": null, "args": [ (v1/*: any*/), (v2/*: any*/), @@ -252,176 +249,180 @@ return { } ], "concreteType": "SearchableConnection", + "kind": "LinkedField", + "name": "searchConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v6/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SearchableEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { "kind": "InlineFragment", - "type": "Artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageUrl", "args": null, + "kind": "ScalarField", + "name": "imageUrl", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "bio", "args": null, + "kind": "ScalarField", + "name": "bio", "storageKey": null } - ] + ], + "type": "Artist" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "SearchResultsArtistsQuery", "id": null, - "text": "query SearchResultsArtistsQuery(\n $first: Int\n $last: Int\n $after: String\n $before: String\n $term: String!\n $page: Int\n) {\n viewer {\n ...SearchResultsArtists_viewer_3D3mrw\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 SearchResultsArtists_viewer_3D3mrw on Viewer {\n searchConnection(query: $term, first: $first, after: $after, before: $before, last: $last, page: $page, entities: [ARTIST]) @principalField {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n __typename\n ... on Artist {\n name\n internalID\n href\n imageUrl\n bio\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SearchResultsArtistsQuery", + "operationKind": "query", + "text": "query SearchResultsArtistsQuery(\n $first: Int\n $last: Int\n $after: String\n $before: String\n $term: String!\n $page: Int\n) {\n viewer {\n ...SearchResultsArtists_viewer_3D3mrw\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 SearchResultsArtists_viewer_3D3mrw on Viewer {\n searchConnection(query: $term, first: $first, after: $after, before: $before, last: $last, page: $page, entities: [ARTIST]) @principalField {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n __typename\n ... on Artist {\n name\n internalID\n href\n imageUrl\n bio\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SearchResultsArtists_viewer.graphql.ts b/src/v2/__generated__/SearchResultsArtists_viewer.graphql.ts index 9d274417284..009a0fcbe1f 100644 --- a/src/v2/__generated__/SearchResultsArtists_viewer.graphql.ts +++ b/src/v2/__generated__/SearchResultsArtists_viewer.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -32,54 +33,50 @@ export type SearchResultsArtists_viewer$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "SearchResultsArtists_viewer", - "type": "Viewer", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": "", "kind": "LocalArgument", "name": "term", - "type": "String!", - "defaultValue": "" + "type": "String!" }, { + "defaultValue": 10, "kind": "LocalArgument", "name": "first", - "type": "Int", - "defaultValue": 10 + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "last", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "before", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" } ], + "kind": "Fragment", + "metadata": null, + "name": "SearchResultsArtists_viewer", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "searchConnection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -120,115 +117,119 @@ const node: ReaderFragment = { } ], "concreteType": "SearchableConnection", + "kind": "LinkedField", + "name": "searchConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Pagination_pageCursors", - "args": null + "name": "Pagination_pageCursors" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SearchableEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "Artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageUrl", "args": null, + "kind": "ScalarField", + "name": "imageUrl", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "bio", "args": null, + "kind": "ScalarField", + "name": "bio", "storageKey": null } - ] + ], + "type": "Artist" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Viewer" }; (node as any).hash = '204321838585efb41c817e25978acad1'; export default node; diff --git a/src/v2/__generated__/SearchResultsEntityQuery.graphql.ts b/src/v2/__generated__/SearchResultsEntityQuery.graphql.ts index d250213ce76..73c6321c998 100644 --- a/src/v2/__generated__/SearchResultsEntityQuery.graphql.ts +++ b/src/v2/__generated__/SearchResultsEntityQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -10,7 +11,7 @@ export type SearchResultsEntityQueryVariables = { before?: string | null; term: string; page?: number | null; - entities?: ReadonlyArray | null; + entities?: Array | null; }; export type SearchResultsEntityQueryResponse = { readonly viewer: { @@ -93,46 +94,46 @@ fragment SearchResultsEntity_viewer_4tOGvB on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "first", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "last", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "before", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "term", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "entities", - "type": "[SearchEntity]", - "defaultValue": null + "type": "[SearchEntity]" } ], v1 = { @@ -166,51 +167,46 @@ v6 = { "variableName": "page" }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v9 = [ (v7/*: any*/), (v8/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "SearchResultsEntityQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "SearchResultsEntityQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "SearchResultsEntity_viewer", "args": [ (v1/*: any*/), (v2/*: any*/), @@ -223,31 +219,32 @@ return { "name": "term", "variableName": "term" } - ] + ], + "kind": "FragmentSpread", + "name": "SearchResultsEntity_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "SearchResultsEntityQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "searchConnection", - "storageKey": null, "args": [ (v1/*: any*/), (v2/*: any*/), @@ -262,183 +259,187 @@ return { } ], "concreteType": "SearchableConnection", + "kind": "LinkedField", + "name": "searchConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v7/*: any*/), (v8/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SearchableEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { "kind": "InlineFragment", - "type": "SearchableItem", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "displayLabel", "args": null, + "kind": "ScalarField", + "name": "displayLabel", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageUrl", "args": null, + "kind": "ScalarField", + "name": "imageUrl", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "displayType", "args": null, + "kind": "ScalarField", + "name": "displayType", "storageKey": null } - ] + ], + "type": "SearchableItem" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "SearchResultsEntityQuery", "id": null, - "text": "query SearchResultsEntityQuery(\n $first: Int\n $last: Int\n $after: String\n $before: String\n $term: String!\n $page: Int\n $entities: [SearchEntity]\n) {\n viewer {\n ...SearchResultsEntity_viewer_4tOGvB\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 SearchResultsEntity_viewer_4tOGvB on Viewer {\n searchConnection(query: $term, first: $first, after: $after, before: $before, last: $last, page: $page, entities: $entities) @principalField {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n __typename\n ... on SearchableItem {\n description\n displayLabel\n href\n internalID\n imageUrl\n displayType\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SearchResultsEntityQuery", + "operationKind": "query", + "text": "query SearchResultsEntityQuery(\n $first: Int\n $last: Int\n $after: String\n $before: String\n $term: String!\n $page: Int\n $entities: [SearchEntity]\n) {\n viewer {\n ...SearchResultsEntity_viewer_4tOGvB\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 SearchResultsEntity_viewer_4tOGvB on Viewer {\n searchConnection(query: $term, first: $first, after: $after, before: $before, last: $last, page: $page, entities: $entities) @principalField {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n __typename\n ... on SearchableItem {\n description\n displayLabel\n href\n internalID\n imageUrl\n displayType\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SearchResultsEntity_viewer.graphql.ts b/src/v2/__generated__/SearchResultsEntity_viewer.graphql.ts index a7118f037da..2608b2d53d5 100644 --- a/src/v2/__generated__/SearchResultsEntity_viewer.graphql.ts +++ b/src/v2/__generated__/SearchResultsEntity_viewer.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -33,60 +34,56 @@ export type SearchResultsEntity_viewer$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "SearchResultsEntity_viewer", - "type": "Viewer", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": "", "kind": "LocalArgument", "name": "term", - "type": "String!", - "defaultValue": "" + "type": "String!" }, { + "defaultValue": 10, "kind": "LocalArgument", "name": "first", - "type": "Int", - "defaultValue": 10 + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "last", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "before", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "entities", - "type": "[SearchEntity]", - "defaultValue": null + "type": "[SearchEntity]" } ], + "kind": "Fragment", + "metadata": null, + "name": "SearchResultsEntity_viewer", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "searchConnection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -125,122 +122,126 @@ const node: ReaderFragment = { } ], "concreteType": "SearchableConnection", + "kind": "LinkedField", + "name": "searchConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Pagination_pageCursors", - "args": null + "name": "Pagination_pageCursors" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SearchableEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "SearchableItem", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "displayLabel", "args": null, + "kind": "ScalarField", + "name": "displayLabel", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageUrl", "args": null, + "kind": "ScalarField", + "name": "imageUrl", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "displayType", "args": null, + "kind": "ScalarField", + "name": "displayType", "storageKey": null } - ] + ], + "type": "SearchableItem" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Viewer" }; (node as any).hash = '5815db449614a1ba927017f63ab148bf'; export default node; diff --git a/src/v2/__generated__/SecurePaymentTestQuery.graphql.ts b/src/v2/__generated__/SecurePaymentTestQuery.graphql.ts index d99100a6a92..5a30d573660 100644 --- a/src/v2/__generated__/SecurePaymentTestQuery.graphql.ts +++ b/src/v2/__generated__/SecurePaymentTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -46,77 +47,77 @@ var v0 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SecurePaymentTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "SecurePaymentTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"whatevs\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "SecurePayment_artwork", - "args": null + "name": "SecurePayment_artwork" } - ] + ], + "storageKey": "artwork(id:\"whatevs\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "SecurePaymentTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"whatevs\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_offerable", - "name": "isOfferable", "args": null, + "kind": "ScalarField", + "name": "isOfferable", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": "artwork(id:\"whatevs\")" } ] }, "params": { - "operationKind": "query", - "name": "SecurePaymentTestQuery", "id": null, - "text": "query SecurePaymentTestQuery {\n artwork(id: \"whatevs\") {\n ...SecurePayment_artwork\n id\n }\n}\n\nfragment SecurePayment_artwork on Artwork {\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n}\n", - "metadata": {} + "metadata": {}, + "name": "SecurePaymentTestQuery", + "operationKind": "query", + "text": "query SecurePaymentTestQuery {\n artwork(id: \"whatevs\") {\n ...SecurePayment_artwork\n id\n }\n}\n\nfragment SecurePayment_artwork on Artwork {\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n}\n" } }; })(); diff --git a/src/v2/__generated__/SecurePayment_artwork.graphql.ts b/src/v2/__generated__/SecurePayment_artwork.graphql.ts index 1f69464f8ad..4a539a263bd 100644 --- a/src/v2/__generated__/SecurePayment_artwork.graphql.ts +++ b/src/v2/__generated__/SecurePayment_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -16,27 +17,27 @@ export type SecurePayment_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SecurePayment_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "SecurePayment_artwork", "selections": [ { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_offerable", - "name": "isOfferable", "args": null, + "kind": "ScalarField", + "name": "isOfferable", "storageKey": null } - ] + ], + "type": "Artwork" }; (node as any).hash = '7b709dabe338934945be8bc6d1518082'; export default node; diff --git a/src/v2/__generated__/SelectedCareerAchievementsTestQuery.graphql.ts b/src/v2/__generated__/SelectedCareerAchievementsTestQuery.graphql.ts index 844b1a59eff..bd8c9cb2dd3 100644 --- a/src/v2/__generated__/SelectedCareerAchievementsTestQuery.graphql.ts +++ b/src/v2/__generated__/SelectedCareerAchievementsTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -104,67 +105,62 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SelectedCareerAchievementsTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "SelectedCareerAchievementsTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"pablo-picasso\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "SelectedCareerAchievements_artist", - "args": null + "name": "SelectedCareerAchievements_artist" } - ] + ], + "storageKey": "artist(id:\"pablo-picasso\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "SelectedCareerAchievementsTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"pablo-picasso\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)", "args": [ { "kind": "Literal", @@ -192,92 +188,93 @@ return { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "insights", - "storageKey": null, "args": null, "concreteType": "ArtistInsight", + "kind": "LinkedField", + "name": "insights", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "label", "args": null, + "kind": "ScalarField", + "name": "label", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "entities", "args": null, + "kind": "ScalarField", + "name": "entities", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")", "args": [ { "kind": "Literal", @@ -296,39 +293,36 @@ return { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": [ { "kind": "Literal", @@ -336,21 +330,22 @@ return { "value": "0a" } ], + "kind": "ScalarField", + "name": "display", "storageKey": "display(format:\"0a\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "organization", "args": null, + "kind": "ScalarField", + "name": "organization", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_date", - "name": "saleDate", "args": [ { "kind": "Literal", @@ -358,26 +353,32 @@ return { "value": "YYYY" } ], + "kind": "ScalarField", + "name": "saleDate", "storageKey": "saleDate(format:\"YYYY\")" }, (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")" }, (v1/*: any*/) - ] + ], + "storageKey": "artist(id:\"pablo-picasso\")" } ] }, "params": { - "operationKind": "query", - "name": "SelectedCareerAchievementsTestQuery", "id": null, - "text": "query SelectedCareerAchievementsTestQuery {\n artist(id: \"pablo-picasso\") {\n ...SelectedCareerAchievements_artist\n id\n }\n}\n\nfragment SelectedCareerAchievements_artist on Artist {\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 insights {\n type\n label\n entities\n }\n auctionResultsConnection(recordsTrusted: true, first: 1, sort: PRICE_AND_DATE_DESC) {\n edges {\n node {\n price_realized: priceRealized {\n display(format: \"0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SelectedCareerAchievementsTestQuery", + "operationKind": "query", + "text": "query SelectedCareerAchievementsTestQuery {\n artist(id: \"pablo-picasso\") {\n ...SelectedCareerAchievements_artist\n id\n }\n}\n\nfragment SelectedCareerAchievements_artist on Artist {\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 insights {\n type\n label\n entities\n }\n auctionResultsConnection(recordsTrusted: true, first: 1, sort: PRICE_AND_DATE_DESC) {\n edges {\n node {\n price_realized: priceRealized {\n display(format: \"0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SelectedCareerAchievements_artist.graphql.ts b/src/v2/__generated__/SelectedCareerAchievements_artist.graphql.ts index cb4d5684dde..dd6e33fb2db 100644 --- a/src/v2/__generated__/SelectedCareerAchievements_artist.graphql.ts +++ b/src/v2/__generated__/SelectedCareerAchievements_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -41,37 +42,32 @@ export type SelectedCareerAchievements_artist$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "SelectedCareerAchievements_artist", - "type": "Artist", - "metadata": null, "argumentDefinitions": [ { - "kind": "LocalArgument", - "name": "partnerCategory", - "type": "[String]", "defaultValue": [ "blue-chip", "top-established", "top-emerging" - ] + ], + "kind": "LocalArgument", + "name": "partnerCategory", + "type": "[String]" } ], + "kind": "Fragment", + "metadata": null, + "name": "SelectedCareerAchievements_artist", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -95,89 +91,90 @@ const node: ReaderFragment = { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "insights", - "storageKey": null, "args": null, "concreteType": "ArtistInsight", + "kind": "LinkedField", + "name": "insights", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "label", "args": null, + "kind": "ScalarField", + "name": "label", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "entities", "args": null, + "kind": "ScalarField", + "name": "entities", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")", "args": [ { "kind": "Literal", @@ -196,39 +193,36 @@ const node: ReaderFragment = { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": [ { "kind": "Literal", @@ -236,21 +230,22 @@ const node: ReaderFragment = { "value": "0a" } ], + "kind": "ScalarField", + "name": "display", "storageKey": "display(format:\"0a\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "organization", "args": null, + "kind": "ScalarField", + "name": "organization", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_date", - "name": "saleDate", "args": [ { "kind": "Literal", @@ -258,15 +253,21 @@ const node: ReaderFragment = { "value": "YYYY" } ], + "kind": "ScalarField", + "name": "saleDate", "storageKey": "saleDate(format:\"YYYY\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")" } - ] + ], + "type": "Artist" }; (node as any).hash = 'ffa173c15393ae3db55a26e0bf6416ab'; export default node; diff --git a/src/v2/__generated__/SelectedExhibitions_exhibitions.graphql.ts b/src/v2/__generated__/SelectedExhibitions_exhibitions.graphql.ts index 66aa9b890ec..1ea17f77900 100644 --- a/src/v2/__generated__/SelectedExhibitions_exhibitions.graphql.ts +++ b/src/v2/__generated__/SelectedExhibitions_exhibitions.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -26,50 +27,47 @@ export type SelectedExhibitions_exhibitions$key = ReadonlyArray<{ const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v1 = [ (v0/*: any*/) ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SelectedExhibitions_exhibitions", - "type": "Show", "metadata": { "plural": true }, - "argumentDefinitions": [], + "name": "SelectedExhibitions_exhibitions", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "ExternalPartner", - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "type": "ExternalPartner" }, { "kind": "InlineFragment", - "type": "Partner", - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "type": "Partner" } - ] + ], + "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": "start_at", - "name": "startAt", "args": [ { "kind": "Literal", @@ -77,22 +75,20 @@ return { "value": "YYYY" } ], + "kind": "ScalarField", + "name": "startAt", "storageKey": "startAt(format:\"YYYY\")" }, { - "kind": "LinkedField", "alias": "cover_image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:600,width:800)", "args": [ { "kind": "Literal", @@ -106,27 +102,32 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:600,width:800)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null } - ] + ], + "type": "Show" }; })(); (node as any).hash = '909495fb57e2524b079c5d2304d2d162'; diff --git a/src/v2/__generated__/SelectedWorks_selectedWorks.graphql.ts b/src/v2/__generated__/SelectedWorks_selectedWorks.graphql.ts index 1fecc8df37f..bc8fd632148 100644 --- a/src/v2/__generated__/SelectedWorks_selectedWorks.graphql.ts +++ b/src/v2/__generated__/SelectedWorks_selectedWorks.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -22,17 +23,13 @@ export type SelectedWorks_selectedWorks$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SelectedWorks_selectedWorks", - "type": "OrderedSet", "metadata": null, - "argumentDefinitions": [], + "name": "SelectedWorks_selectedWorks", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "itemsConnection", - "storageKey": "itemsConnection(first:6)", "args": [ { "kind": "Literal", @@ -41,45 +38,49 @@ const node: ReaderFragment = { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "itemsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkGrid_artworks", - "args": null + "name": "ArtworkGrid_artworks" } - ] + ], + "storageKey": "itemsConnection(first:6)" } - ] + ], + "type": "OrderedSet" }; (node as any).hash = 'a2d0c0c9d79f769c7dc6802073e78848'; export default node; diff --git a/src/v2/__generated__/SendConversationMessageMutation.graphql.ts b/src/v2/__generated__/SendConversationMessageMutation.graphql.ts index b7b828a22dc..7184cf2fa78 100644 --- a/src/v2/__generated__/SendConversationMessageMutation.graphql.ts +++ b/src/v2/__generated__/SendConversationMessageMutation.graphql.ts @@ -1,13 +1,14 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type SendConversationMessageMutationInput = { - readonly bodyText: string; - readonly clientMutationId?: string | null; - readonly from: string; - readonly id: string; - readonly replyToMessageID: string; + bodyText: string; + clientMutationId?: string | null; + from: string; + id: string; + replyToMessageID: string; }; export type SendConversationMessageMutationVariables = { input: SendConversationMessageMutationInput; @@ -72,10 +73,10 @@ fragment Message_message on Message { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "SendConversationMessageMutationInput!", - "defaultValue": null + "type": "SendConversationMessageMutationInput!" } ], v1 = [ @@ -86,74 +87,69 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "impulseID", "args": null, + "kind": "ScalarField", + "name": "impulseID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "isFromUser", "args": null, + "kind": "ScalarField", + "name": "isFromUser", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "body", "args": null, + "kind": "ScalarField", + "name": "body", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "SendConversationMessageMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "SendConversationMessageMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sendConversationMessage", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "SendConversationMessageMutationPayload", + "kind": "LinkedField", + "name": "sendConversationMessage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "messageEdge", - "storageKey": null, "args": null, "concreteType": "MessageEdge", + "kind": "LinkedField", + "name": "messageEdge", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Message", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), @@ -162,48 +158,50 @@ return { (v5/*: any*/), (v6/*: any*/), { + "args": null, "kind": "FragmentSpread", - "name": "Message_message", - "args": null + "name": "Message_message" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "SendConversationMessageMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sendConversationMessage", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "SendConversationMessageMutationPayload", + "kind": "LinkedField", + "name": "sendConversationMessage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "messageEdge", - "storageKey": null, "args": null, "concreteType": "MessageEdge", + "kind": "LinkedField", + "name": "messageEdge", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Message", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), @@ -212,84 +210,87 @@ return { (v5/*: any*/), (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "from", - "storageKey": null, "args": null, "concreteType": "MessageInitiator", + "kind": "LinkedField", + "name": "from", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "email", "args": null, + "kind": "ScalarField", + "name": "email", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "attachments", - "storageKey": null, "args": null, "concreteType": "Attachment", + "kind": "LinkedField", + "name": "attachments", "plural": true, "selections": [ (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "contentType", "args": null, + "kind": "ScalarField", + "name": "contentType", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fileName", "args": null, + "kind": "ScalarField", + "name": "fileName", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "downloadURL", "args": null, + "kind": "ScalarField", + "name": "downloadURL", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "SendConversationMessageMutation", "id": null, - "text": "mutation SendConversationMessageMutation(\n $input: SendConversationMessageMutationInput!\n) {\n sendConversationMessage(input: $input) {\n messageEdge {\n node {\n impulseID\n isFromUser\n body\n id\n internalID\n ...Message_message\n }\n }\n }\n}\n\nfragment Message_message on Message {\n internalID\n body\n createdAt\n isFromUser\n from {\n name\n email\n }\n attachments {\n id\n contentType\n fileName\n downloadURL\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SendConversationMessageMutation", + "operationKind": "mutation", + "text": "mutation SendConversationMessageMutation(\n $input: SendConversationMessageMutationInput!\n) {\n sendConversationMessage(input: $input) {\n messageEdge {\n node {\n impulseID\n isFromUser\n body\n id\n internalID\n ...Message_message\n }\n }\n }\n}\n\nfragment Message_message on Message {\n internalID\n body\n createdAt\n isFromUser\n from {\n name\n email\n }\n attachments {\n id\n contentType\n fileName\n downloadURL\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SendFeedbackSearchResultsMutation.graphql.ts b/src/v2/__generated__/SendFeedbackSearchResultsMutation.graphql.ts index 9f451b61a30..e3af65c7d5e 100644 --- a/src/v2/__generated__/SendFeedbackSearchResultsMutation.graphql.ts +++ b/src/v2/__generated__/SendFeedbackSearchResultsMutation.graphql.ts @@ -1,12 +1,13 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type SendFeedbackMutationInput = { - readonly clientMutationId?: string | null; - readonly email?: string | null; - readonly message: string; - readonly name?: string | null; - readonly url?: string | null; + clientMutationId?: string | null; + email?: string | null; + message: string; + name?: string | null; + url?: string | null; }; export type SendFeedbackSearchResultsMutationVariables = { input: SendFeedbackMutationInput; @@ -60,10 +61,10 @@ mutation SendFeedbackSearchResultsMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "SendFeedbackMutationInput!", - "defaultValue": null + "type": "SendFeedbackMutationInput!" } ], v1 = [ @@ -74,164 +75,164 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "message", "args": null, + "kind": "ScalarField", + "name": "message", "storageKey": null }, v3 = { "kind": "InlineFragment", - "type": "SendFeedbackMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "mutationError", - "storageKey": null, "args": null, "concreteType": "GravityMutationError", + "kind": "LinkedField", + "name": "mutationError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "detail", "args": null, + "kind": "ScalarField", + "name": "detail", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "SendFeedbackMutationFailure" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "SendFeedbackSearchResultsMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "SendFeedbackSearchResultsMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sendFeedback", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "SendFeedbackMutationPayload", + "kind": "LinkedField", + "name": "sendFeedback", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "feedbackOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "feedbackOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "SendFeedbackMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "feedback", - "storageKey": null, "args": null, "concreteType": "Feedback", + "kind": "LinkedField", + "name": "feedback", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "SendFeedbackMutationSuccess" }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "SendFeedbackSearchResultsMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sendFeedback", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "SendFeedbackMutationPayload", + "kind": "LinkedField", + "name": "sendFeedback", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "feedbackOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "feedbackOrError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "SendFeedbackMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "feedback", - "storageKey": null, "args": null, "concreteType": "Feedback", + "kind": "LinkedField", + "name": "feedback", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "SendFeedbackMutationSuccess" }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "SendFeedbackSearchResultsMutation", "id": null, - "text": "mutation SendFeedbackSearchResultsMutation(\n $input: SendFeedbackMutationInput!\n) {\n sendFeedback(input: $input) {\n feedbackOrError {\n __typename\n ... on SendFeedbackMutationSuccess {\n feedback {\n message\n id\n }\n }\n ... on SendFeedbackMutationFailure {\n mutationError {\n type\n message\n detail\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SendFeedbackSearchResultsMutation", + "operationKind": "mutation", + "text": "mutation SendFeedbackSearchResultsMutation(\n $input: SendFeedbackMutationInput!\n) {\n sendFeedback(input: $input) {\n feedbackOrError {\n __typename\n ... on SendFeedbackMutationSuccess {\n feedback {\n message\n id\n }\n }\n ... on SendFeedbackMutationFailure {\n mutationError {\n type\n message\n detail\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SeoDataForArtwork_Test_Query.graphql.ts b/src/v2/__generated__/SeoDataForArtwork_Test_Query.graphql.ts index 3807c7d4786..bec90a6df31 100644 --- a/src/v2/__generated__/SeoDataForArtwork_Test_Query.graphql.ts +++ b/src/v2/__generated__/SeoDataForArtwork_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -142,170 +143,165 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "major", "args": null, + "kind": "ScalarField", + "name": "major", "storageKey": null }, v2 = [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "currencyCode", "args": null, + "kind": "ScalarField", + "name": "currencyCode", "storageKey": null } ], v3 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SeoDataForArtwork_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "SeoDataForArtwork_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"richard-anuszkiewicz-lino-yellow-318\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "SeoDataForArtwork_artwork", - "args": null + "name": "SeoDataForArtwork_artwork" } - ] + ], + "storageKey": "artwork(id:\"richard-anuszkiewicz-lino-yellow-318\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "SeoDataForArtwork_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"richard-anuszkiewicz-lino-yellow-318\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_price_hidden", - "name": "isPriceHidden", "args": null, + "kind": "ScalarField", + "name": "isPriceHidden", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_price_range", - "name": "isPriceRange", "args": null, + "kind": "ScalarField", + "name": "isPriceRange", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "PriceRange", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "minPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "minPrice", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "maxPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "maxPrice", "plural": false, "selections": [ (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "meta_image", - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:640,version:[\"large\",\"medium\",\"tall\"],width:640)", "args": [ { "kind": "Literal", @@ -328,47 +324,48 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": "resized(height:640,version:[\"large\",\"medium\",\"tall\"],width:640)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "meta", - "storageKey": null, "args": null, "concreteType": "ArtworkMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "description", "args": [ { "kind": "Literal", @@ -376,56 +373,53 @@ return { "value": 155 } ], + "kind": "ScalarField", + "name": "description", "storageKey": "description(limit:155)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:320,version:[\"medium\"],width:320)", "args": [ { "kind": "Literal", @@ -446,69 +440,76 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ (v3/*: any*/) - ] + ], + "storageKey": "resized(height:320,version:[\"medium\"],width:320)" } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "availability", "args": null, + "kind": "ScalarField", + "name": "availability", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "category", "args": null, + "kind": "ScalarField", + "name": "category", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "in", "args": null, + "kind": "ScalarField", + "name": "in", "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": "artwork(id:\"richard-anuszkiewicz-lino-yellow-318\")" } ] }, "params": { - "operationKind": "query", - "name": "SeoDataForArtwork_Test_Query", "id": null, - "text": "query SeoDataForArtwork_Test_Query {\n artwork(id: \"richard-anuszkiewicz-lino-yellow-318\") {\n ...SeoDataForArtwork_artwork\n id\n }\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 artist_names: artistNames\n availability\n category\n dimensions {\n in\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SeoDataForArtwork_Test_Query", + "operationKind": "query", + "text": "query SeoDataForArtwork_Test_Query {\n artwork(id: \"richard-anuszkiewicz-lino-yellow-318\") {\n ...SeoDataForArtwork_artwork\n id\n }\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 artist_names: artistNames\n availability\n category\n dimensions {\n in\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SeoDataForArtwork_artwork.graphql.ts b/src/v2/__generated__/SeoDataForArtwork_artwork.graphql.ts index 291683dab31..098bbe35d47 100644 --- a/src/v2/__generated__/SeoDataForArtwork_artwork.graphql.ts +++ b/src/v2/__generated__/SeoDataForArtwork_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -65,129 +66,124 @@ export type SeoDataForArtwork_artwork$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "major", "args": null, + "kind": "ScalarField", + "name": "major", "storageKey": null }, v1 = [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "currencyCode", "args": null, + "kind": "ScalarField", + "name": "currencyCode", "storageKey": null } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SeoDataForArtwork_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "SeoDataForArtwork_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_price_hidden", - "name": "isPriceHidden", "args": null, + "kind": "ScalarField", + "name": "isPriceHidden", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_price_range", - "name": "isPriceRange", "args": null, + "kind": "ScalarField", + "name": "isPriceRange", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "PriceRange", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "minPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "minPrice", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "maxPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "maxPrice", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "meta_image", - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:640,version:[\"large\",\"medium\",\"tall\"],width:640)", "args": [ { "kind": "Literal", @@ -210,47 +206,48 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": "resized(height:640,version:[\"large\",\"medium\",\"tall\"],width:640)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "meta", - "storageKey": null, "args": null, "concreteType": "ArtworkMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "description", "args": [ { "kind": "Literal", @@ -258,56 +255,53 @@ return { "value": 155 } ], + "kind": "ScalarField", + "name": "description", "storageKey": "description(limit:155)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:320,version:[\"medium\"],width:320)", "args": [ { "kind": "Literal", @@ -328,57 +322,64 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": "resized(height:320,version:[\"medium\"],width:320)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "availability", "args": null, + "kind": "ScalarField", + "name": "availability", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "category", "args": null, + "kind": "ScalarField", + "name": "category", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "in", "args": null, + "kind": "ScalarField", + "name": "in", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; })(); (node as any).hash = 'dffd7ec8e9259daca70604dfb2fc7d41'; diff --git a/src/v2/__generated__/SeoProductsForArtworks_artworks.graphql.ts b/src/v2/__generated__/SeoProductsForArtworks_artworks.graphql.ts index be0b80d8e13..6a30d8859df 100644 --- a/src/v2/__generated__/SeoProductsForArtworks_artworks.graphql.ts +++ b/src/v2/__generated__/SeoProductsForArtworks_artworks.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -59,10 +60,10 @@ export type SeoProductsForArtworks_artworks$key = { const node: ReaderFragment = (function(){ var v0 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], @@ -74,17 +75,15 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v3 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -92,201 +91,196 @@ v3 = [ "value": "larger" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"larger\")" } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SeoProductsForArtworks_artworks", - "type": "FilterArtworksConnection", "metadata": null, - "argumentDefinitions": [], + "name": "SeoProductsForArtworks_artworks", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "availability", "args": null, + "kind": "ScalarField", + "name": "availability", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "category", "args": null, + "kind": "ScalarField", + "name": "category", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_price_range", - "name": "isPriceRange", "args": null, + "kind": "ScalarField", + "name": "isPriceRange", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "PriceRange", - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "price_currency", - "name": "priceCurrency", "args": null, + "kind": "ScalarField", + "name": "priceCurrency", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "meta", - "storageKey": null, "args": null, "concreteType": "ArtworkMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v1/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "icon", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "icon", "plural": false, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "locations", - "storageKey": "locations(size:1)", "args": [ { "kind": "Literal", @@ -295,66 +289,73 @@ return { } ], "concreteType": "Location", + "kind": "LinkedField", + "name": "locations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "address", "args": null, + "kind": "ScalarField", + "name": "address", "storageKey": null }, { - "kind": "ScalarField", "alias": "address_2", - "name": "address2", "args": null, + "kind": "ScalarField", + "name": "address2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": "postal_code", - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phone", "args": null, + "kind": "ScalarField", + "name": "phone", "storageKey": null } - ] + ], + "storageKey": "locations(size:1)" } - ] + ], + "storageKey": "partner(shallow:true)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "FilterArtworksConnection" }; })(); (node as any).hash = 'bf1928b2d602d6355d690f999cf23cac'; diff --git a/src/v2/__generated__/SeoProductsForCollections_ascending_artworks.graphql.ts b/src/v2/__generated__/SeoProductsForCollections_ascending_artworks.graphql.ts index 3390974e778..5465fd7bf98 100644 --- a/src/v2/__generated__/SeoProductsForCollections_ascending_artworks.graphql.ts +++ b/src/v2/__generated__/SeoProductsForCollections_ascending_artworks.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -41,9 +42,7 @@ export type SeoProductsForCollections_ascending_artworks$key = { const node: ReaderFragment = (function(){ var v0 = [ { - "kind": "ScalarField", "alias": null, - "name": "major", "args": [ { "kind": "Literal", @@ -51,109 +50,111 @@ var v0 = [ "value": "USD" } ], + "kind": "ScalarField", + "name": "major", "storageKey": "major(convertTo:\"USD\")" }, { - "kind": "ScalarField", "alias": null, - "name": "currencyCode", "args": null, + "kind": "ScalarField", + "name": "currencyCode", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SeoProductsForCollections_ascending_artworks", - "type": "FilterArtworksConnection", "metadata": null, - "argumentDefinitions": [], + "name": "SeoProductsForCollections_ascending_artworks", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "availability", "args": null, + "kind": "ScalarField", + "name": "availability", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "PriceRange", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "minPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "minPrice", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "maxPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "maxPrice", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null } - ] + ], + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "FilterArtworksConnection" }; })(); (node as any).hash = 'baa3ae179bf675aae89ff4ebe677be01'; diff --git a/src/v2/__generated__/SeoProductsForCollections_descending_artworks.graphql.ts b/src/v2/__generated__/SeoProductsForCollections_descending_artworks.graphql.ts index a8c9f667db1..1c8ac6ae5ac 100644 --- a/src/v2/__generated__/SeoProductsForCollections_descending_artworks.graphql.ts +++ b/src/v2/__generated__/SeoProductsForCollections_descending_artworks.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -41,9 +42,7 @@ export type SeoProductsForCollections_descending_artworks$key = { const node: ReaderFragment = (function(){ var v0 = [ { - "kind": "ScalarField", "alias": null, - "name": "major", "args": [ { "kind": "Literal", @@ -51,109 +50,111 @@ var v0 = [ "value": "USD" } ], + "kind": "ScalarField", + "name": "major", "storageKey": "major(convertTo:\"USD\")" }, { - "kind": "ScalarField", "alias": null, - "name": "currencyCode", "args": null, + "kind": "ScalarField", + "name": "currencyCode", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SeoProductsForCollections_descending_artworks", - "type": "FilterArtworksConnection", "metadata": null, - "argumentDefinitions": [], + "name": "SeoProductsForCollections_descending_artworks", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "availability", "args": null, + "kind": "ScalarField", + "name": "availability", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "PriceRange", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "minPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "minPrice", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "maxPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "maxPrice", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": null } - ] + ], + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "FilterArtworksConnection" }; })(); (node as any).hash = '3ed2186b3a7931bc9115d9f936826ac2'; diff --git a/src/v2/__generated__/ShippingAddress_ship.graphql.ts b/src/v2/__generated__/ShippingAddress_ship.graphql.ts index 624e1e0a349..837aef772f7 100644 --- a/src/v2/__generated__/ShippingAddress_ship.graphql.ts +++ b/src/v2/__generated__/ShippingAddress_ship.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -22,69 +23,69 @@ export type ShippingAddress_ship$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ShippingAddress_ship", - "type": "CommerceShip", "metadata": null, - "argumentDefinitions": [], + "name": "ShippingAddress_ship", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null } - ] + ], + "type": "CommerceShip" }; (node as any).hash = '965be360f1c02f1cf98d179dda1e2df4'; export default node; diff --git a/src/v2/__generated__/ShippingOrderAddressUpdateMutation.graphql.ts b/src/v2/__generated__/ShippingOrderAddressUpdateMutation.graphql.ts index 5aaaf494a9b..fb9f4e418d5 100644 --- a/src/v2/__generated__/ShippingOrderAddressUpdateMutation.graphql.ts +++ b/src/v2/__generated__/ShippingOrderAddressUpdateMutation.graphql.ts @@ -1,24 +1,25 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CommerceOrderFulfillmentTypeEnum = "PICKUP" | "SHIP" | "%future added value"; export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLED" | "PENDING" | "REFUNDED" | "SUBMITTED" | "%future added value"; export type CommerceSetShippingInput = { - readonly clientMutationId?: string | null; - readonly fulfillmentType: CommerceOrderFulfillmentTypeEnum; - readonly id: string; - readonly phoneNumber?: string | null; - readonly shipping?: CommerceShippingAttributes | null; + clientMutationId?: string | null; + fulfillmentType: CommerceOrderFulfillmentTypeEnum; + id: string; + phoneNumber?: string | null; + shipping?: CommerceShippingAttributes | null; }; export type CommerceShippingAttributes = { - readonly addressLine1?: string | null; - readonly addressLine2?: string | null; - readonly city?: string | null; - readonly country?: string | null; - readonly name?: string | null; - readonly phoneNumber?: string | null; - readonly postalCode?: string | null; - readonly region?: string | null; + addressLine1?: string | null; + addressLine2?: string | null; + city?: string | null; + country?: string | null; + name?: string | null; + phoneNumber?: string | null; + postalCode?: string | null; + region?: string | null; }; export type ShippingOrderAddressUpdateMutationVariables = { input: CommerceSetShippingInput; @@ -105,10 +106,10 @@ mutation ShippingOrderAddressUpdateMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CommerceSetShippingInput!", - "defaultValue": null + "type": "CommerceSetShippingInput!" } ], v1 = [ @@ -119,229 +120,225 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, v5 = { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v2/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null } - ] + ], + "type": "CommerceShip" } - ] + ], + "storageKey": null }, v6 = { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "error", - "storageKey": null, "args": null, "concreteType": "CommerceApplicationError", + "kind": "LinkedField", + "name": "error", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "data", "args": null, + "kind": "ScalarField", + "name": "data", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationFailure" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ShippingOrderAddressUpdateMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ShippingOrderAddressUpdateMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceSetShipping", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceSetShippingPayload", + "kind": "LinkedField", + "name": "commerceSetShipping", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ShippingOrderAddressUpdateMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceSetShipping", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceSetShippingPayload", + "kind": "LinkedField", + "name": "commerceSetShipping", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ (v2/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v2/*: any*/), @@ -349,29 +346,33 @@ return { (v4/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "ShippingOrderAddressUpdateMutation", "id": null, - "text": "mutation ShippingOrderAddressUpdateMutation(\n $input: CommerceSetShippingInput!\n) {\n commerceSetShipping(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n __typename\n order {\n __typename\n internalID\n state\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n }\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ShippingOrderAddressUpdateMutation", + "operationKind": "mutation", + "text": "mutation ShippingOrderAddressUpdateMutation(\n $input: CommerceSetShippingInput!\n) {\n commerceSetShipping(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n __typename\n order {\n __typename\n internalID\n state\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n }\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ShippingSummaryItemStoryQuery.graphql.ts b/src/v2/__generated__/ShippingSummaryItemStoryQuery.graphql.ts index 91c7da103b2..ca9da73f1a1 100644 --- a/src/v2/__generated__/ShippingSummaryItemStoryQuery.graphql.ts +++ b/src/v2/__generated__/ShippingSummaryItemStoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -64,206 +65,206 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ShippingSummaryItemStoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ShippingSummaryItemStoryQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"foo\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ShippingSummaryItem_order", - "args": null + "name": "ShippingSummaryItem_order" } - ] + ], + "storageKey": "commerceOrder(id:\"foo\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ShippingSummaryItemStoryQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"foo\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v1/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null } - ] + ], + "type": "CommerceShip" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": "commerceOrder(id:\"foo\")" } ] }, "params": { - "operationKind": "query", - "name": "ShippingSummaryItemStoryQuery", "id": null, - "text": "query ShippingSummaryItemStoryQuery {\n order: commerceOrder(id: \"foo\") {\n __typename\n ...ShippingSummaryItem_order\n id\n }\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ShippingSummaryItemStoryQuery", + "operationKind": "query", + "text": "query ShippingSummaryItemStoryQuery {\n order: commerceOrder(id: \"foo\") {\n __typename\n ...ShippingSummaryItem_order\n id\n }\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ShippingSummaryItem_order.graphql.ts b/src/v2/__generated__/ShippingSummaryItem_order.graphql.ts index 899735f239d..90f926b825d 100644 --- a/src/v2/__generated__/ShippingSummaryItem_order.graphql.ts +++ b/src/v2/__generated__/ShippingSummaryItem_order.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLED" | "PENDING" | "REFUNDED" | "SUBMITTED" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLED" | "PENDING" | "REFUNDED" | "SUBMITTED" | "%future added value"; export type ShippingSummaryItem_order = { readonly state: CommerceOrderStateEnum; readonly requestedFulfillment: { @@ -29,94 +30,94 @@ export type ShippingSummaryItem_order$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ShippingSummaryItem_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "ShippingSummaryItem_order", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ShippingAddress_ship", - "args": null + "name": "ShippingAddress_ship" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrder" }; (node as any).hash = '6a6edab4e4acbfb55e55f5fb1d9c4ae0'; export default node; diff --git a/src/v2/__generated__/ShippingTestQuery.graphql.ts b/src/v2/__generated__/ShippingTestQuery.graphql.ts index 41239ec3bf2..74fc95fadf7 100644 --- a/src/v2/__generated__/ShippingTestQuery.graphql.ts +++ b/src/v2/__generated__/ShippingTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -306,38 +307,38 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v6 = [ @@ -348,54 +349,54 @@ v6 = [ } ], v7 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v12 = [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, (v7/*: any*/), @@ -404,267 +405,258 @@ v12 = [ (v10/*: any*/), (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, (v5/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ShippingTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ShippingTestQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Shipping_order", - "args": null + "name": "Shipping_order" } - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ShippingTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"unused\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v2/*: any*/), { "kind": "InlineFragment", - "type": "CommercePickup", "selections": [ (v3/*: any*/) - ] + ], + "type": "CommercePickup" }, { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, (v3/*: any*/) - ] + ], + "type": "CommerceShip" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "pickup_available", - "name": "pickupAvailable", "args": null, + "kind": "ScalarField", + "name": "pickupAvailable", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "onlyShipsDomestically", "args": null, + "kind": "ScalarField", + "name": "onlyShipsDomestically", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "euShippingOrigin", "args": null, + "kind": "ScalarField", + "name": "euShippingOrigin", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingCountry", "args": null, + "kind": "ScalarField", + "name": "shippingCountry", "storageKey": null }, (v5/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -673,47 +665,55 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v2/*: any*/), (v5/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v4/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, (v2/*: any*/), (v7/*: any*/), @@ -721,57 +721,58 @@ return { (v9/*: any*/), (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v11/*: any*/), (v5/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, - "selections": (v12/*: any*/) + "selections": (v12/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, - "selections": (v12/*: any*/) + "selections": (v12/*: any*/), + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": "commerceOrder(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "ShippingTestQuery", "id": null, - "text": "query ShippingTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Shipping_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Shipping_order on CommerceOrder {\n internalID\n mode\n state\n requestedFulfillment {\n __typename\n ... on CommercePickup {\n phoneNumber\n }\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n pickup_available: pickupAvailable\n onlyShipsDomestically\n euShippingOrigin\n shippingCountry\n id\n }\n id\n }\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ShippingTestQuery", + "operationKind": "query", + "text": "query ShippingTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Shipping_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Shipping_order on CommerceOrder {\n internalID\n mode\n state\n requestedFulfillment {\n __typename\n ... on CommercePickup {\n phoneNumber\n }\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n pickup_available: pickupAvailable\n onlyShipsDomestically\n euShippingOrigin\n shippingCountry\n id\n }\n id\n }\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Shipping_order.graphql.ts b/src/v2/__generated__/Shipping_order.graphql.ts index 087181b5687..efe284adc9a 100644 --- a/src/v2/__generated__/Shipping_order.graphql.ts +++ b/src/v2/__generated__/Shipping_order.graphql.ts @@ -1,9 +1,10 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; +import { FragmentRefs } from "relay-runtime"; export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLED" | "PENDING" | "REFUNDED" | "SUBMITTED" | "%future added value"; -import { FragmentRefs } from "relay-runtime"; export type Shipping_order = { readonly internalID: string; readonly mode: CommerceOrderModeEnum | null; @@ -52,211 +53,211 @@ export type Shipping_order$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Shipping_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "Shipping_order", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "CommercePickup", "selections": [ (v0/*: any*/) - ] + ], + "type": "CommercePickup" }, { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, (v0/*: any*/) - ] + ], + "type": "CommerceShip" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "pickup_available", - "name": "pickupAvailable", "args": null, + "kind": "ScalarField", + "name": "pickupAvailable", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "onlyShipsDomestically", "args": null, + "kind": "ScalarField", + "name": "onlyShipsDomestically", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "euShippingOrigin", "args": null, + "kind": "ScalarField", + "name": "euShippingOrigin", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingCountry", "args": null, + "kind": "ScalarField", + "name": "shippingCountry", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSummaryItem_order", - "args": null + "name": "ArtworkSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "TransactionDetailsSummaryItem_order", - "args": null + "name": "TransactionDetailsSummaryItem_order" } - ] + ], + "type": "CommerceOrder" }; })(); (node as any).hash = '215f2663f765f7ae5046b82743647c4a'; diff --git a/src/v2/__generated__/Shows_Test_Query.graphql.ts b/src/v2/__generated__/Shows_Test_Query.graphql.ts index 6471dcf17c3..5d01159cc11 100644 --- a/src/v2/__generated__/Shows_Test_Query.graphql.ts +++ b/src/v2/__generated__/Shows_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -363,10 +364,10 @@ fragment Shows_viewer on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -377,10 +378,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v3 = { @@ -389,42 +390,42 @@ v3 = { "value": 4 }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v6 = [ (v4/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ], v7 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v9 = [ @@ -432,160 +433,154 @@ v9 = [ ], v10 = [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v4/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ShowEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Show", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v7/*: any*/), { "kind": "InlineFragment", - "type": "ExternalPartner", - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "type": "ExternalPartner" }, { "kind": "InlineFragment", - "type": "Partner", - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "type": "Partner" } - ] + ], + "storageKey": null }, (v8/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": "exhibition_period", - "name": "exhibitionPeriod", "args": null, + "kind": "ScalarField", + "name": "exhibitionPeriod", "storageKey": null }, { - "kind": "LinkedField", "alias": "cover_image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:600,width:800)", "args": [ { "kind": "Literal", @@ -599,88 +594,89 @@ v10 = [ } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:600,width:800)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "Shows_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "Shows_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Shows_viewer", - "args": null + "name": "Shows_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "Shows_Test_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "artist_currentShows", - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": "showsConnection(first:4,sort:\"END_AT_ASC\",status:\"running\")", "args": [ (v3/*: any*/), { @@ -695,27 +691,27 @@ return { } ], "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, - "selections": (v10/*: any*/) + "selections": (v10/*: any*/), + "storageKey": "showsConnection(first:4,sort:\"END_AT_ASC\",status:\"running\")" }, (v7/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artist_upcomingShows", - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": "showsConnection(first:4,sort:\"START_AT_ASC\",status:\"upcoming\")", "args": [ (v3/*: any*/), { @@ -730,27 +726,27 @@ return { } ], "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, - "selections": (v10/*: any*/) + "selections": (v10/*: any*/), + "storageKey": "showsConnection(first:4,sort:\"START_AT_ASC\",status:\"upcoming\")" }, (v7/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artist_pastShows", - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": "showsConnection(first:4,sort:\"END_AT_DESC\",status:\"closed\")", "args": [ (v3/*: any*/), { @@ -765,22 +761,27 @@ return { } ], "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, - "selections": (v10/*: any*/) + "selections": (v10/*: any*/), + "storageKey": "showsConnection(first:4,sort:\"END_AT_DESC\",status:\"closed\")" }, (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "Shows_Test_Query", "id": null, - "text": "query Shows_Test_Query(\n $artistID: String!\n) {\n viewer {\n ...Shows_viewer\n }\n}\n\nfragment ArtistShows_artist_12Fjro on Artist {\n slug\n showsConnection(first: 4, sort: START_AT_ASC, status: \"upcoming\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n }\n name\n href\n exhibition_period: exhibitionPeriod\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n id\n }\n }\n }\n}\n\nfragment ArtistShows_artist_3dp4w3 on Artist {\n slug\n showsConnection(first: 4, sort: END_AT_DESC, status: \"closed\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n }\n name\n href\n exhibition_period: exhibitionPeriod\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n id\n }\n }\n }\n}\n\nfragment ArtistShows_artist_43oec1 on Artist {\n slug\n showsConnection(first: 4, sort: END_AT_ASC, status: \"running\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n }\n name\n href\n exhibition_period: exhibitionPeriod\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n id\n }\n }\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 Shows_viewer on Viewer {\n artist_currentShows: artist(id: $artistID) {\n ...ArtistShows_artist_43oec1\n id\n }\n artist_upcomingShows: artist(id: $artistID) {\n ...ArtistShows_artist_12Fjro\n id\n }\n artist_pastShows: artist(id: $artistID) {\n ...ArtistShows_artist_3dp4w3\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "Shows_Test_Query", + "operationKind": "query", + "text": "query Shows_Test_Query(\n $artistID: String!\n) {\n viewer {\n ...Shows_viewer\n }\n}\n\nfragment ArtistShows_artist_12Fjro on Artist {\n slug\n showsConnection(first: 4, sort: START_AT_ASC, status: \"upcoming\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n }\n name\n href\n exhibition_period: exhibitionPeriod\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n id\n }\n }\n }\n}\n\nfragment ArtistShows_artist_3dp4w3 on Artist {\n slug\n showsConnection(first: 4, sort: END_AT_DESC, status: \"closed\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n }\n name\n href\n exhibition_period: exhibitionPeriod\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n id\n }\n }\n }\n}\n\nfragment ArtistShows_artist_43oec1 on Artist {\n slug\n showsConnection(first: 4, sort: END_AT_ASC, status: \"running\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n }\n name\n href\n exhibition_period: exhibitionPeriod\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n id\n }\n }\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 Shows_viewer on Viewer {\n artist_currentShows: artist(id: $artistID) {\n ...ArtistShows_artist_43oec1\n id\n }\n artist_upcomingShows: artist(id: $artistID) {\n ...ArtistShows_artist_12Fjro\n id\n }\n artist_pastShows: artist(id: $artistID) {\n ...ArtistShows_artist_3dp4w3\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Shows_viewer.graphql.ts b/src/v2/__generated__/Shows_viewer.graphql.ts index 909098d09a9..cd3f12a35fb 100644 --- a/src/v2/__generated__/Shows_viewer.graphql.ts +++ b/src/v2/__generated__/Shows_viewer.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -31,46 +32,42 @@ var v0 = [ } ]; return { - "kind": "Fragment", - "name": "Shows_viewer", - "type": "Viewer", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": "running", "kind": "LocalArgument", "name": "currentShowsStatus", - "type": "String", - "defaultValue": "running" + "type": "String" }, { + "defaultValue": "END_AT_ASC", "kind": "LocalArgument", "name": "currentShowsSort", - "type": "ShowSorts", - "defaultValue": "END_AT_ASC" + "type": "ShowSorts" }, { + "defaultValue": "upcoming", "kind": "LocalArgument", "name": "upcomingShowsStatus", - "type": "String", - "defaultValue": "upcoming" + "type": "String" }, { + "defaultValue": "START_AT_ASC", "kind": "LocalArgument", "name": "upcomingShowsSort", - "type": "ShowSorts", - "defaultValue": "START_AT_ASC" + "type": "ShowSorts" }, { + "defaultValue": "closed", "kind": "LocalArgument", "name": "pastShowsStatus", - "type": "String", - "defaultValue": "closed" + "type": "String" }, { + "defaultValue": "END_AT_DESC", "kind": "LocalArgument", "name": "pastShowsSort", - "type": "ShowSorts", - "defaultValue": "END_AT_DESC" + "type": "ShowSorts" }, { "kind": "RootArgument", @@ -78,19 +75,19 @@ return { "type": "String!" } ], + "kind": "Fragment", + "metadata": null, + "name": "Shows_viewer", "selections": [ { - "kind": "LinkedField", "alias": "artist_currentShows", - "name": "artist", - "storageKey": null, "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "ArtistShows_artist", "args": [ { "kind": "Variable", @@ -102,22 +99,22 @@ return { "name": "status", "variableName": "currentShowsStatus" } - ] + ], + "kind": "FragmentSpread", + "name": "ArtistShows_artist" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artist_upcomingShows", - "name": "artist", - "storageKey": null, "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "ArtistShows_artist", "args": [ { "kind": "Variable", @@ -129,22 +126,22 @@ return { "name": "status", "variableName": "upcomingShowsStatus" } - ] + ], + "kind": "FragmentSpread", + "name": "ArtistShows_artist" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artist_pastShows", - "name": "artist", - "storageKey": null, "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "ArtistShows_artist", "args": [ { "kind": "Variable", @@ -156,11 +153,15 @@ return { "name": "status", "variableName": "pastShowsStatus" } - ] + ], + "kind": "FragmentSpread", + "name": "ArtistShows_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Viewer" }; })(); (node as any).hash = '88d732cfde2cab843c92b14811d5f43d'; diff --git a/src/v2/__generated__/SmsSecondFactorStoryErrorQuery.graphql.ts b/src/v2/__generated__/SmsSecondFactorStoryErrorQuery.graphql.ts index c307934c3fe..76050d71abc 100644 --- a/src/v2/__generated__/SmsSecondFactorStoryErrorQuery.graphql.ts +++ b/src/v2/__generated__/SmsSecondFactorStoryErrorQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -38,65 +39,61 @@ fragment SmsSecondFactor_me on Me { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SmsSecondFactorStoryErrorQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "SmsSecondFactorStoryErrorQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "SmsSecondFactor_me", - "args": null + "name": "SmsSecondFactor_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "SmsSecondFactorStoryErrorQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasSecondFactorEnabled", "args": null, + "kind": "ScalarField", + "name": "hasSecondFactorEnabled", "storageKey": null }, { - "kind": "LinkedField", "alias": "smsSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"sms\"])", "args": [ { "kind": "Literal", @@ -107,49 +104,53 @@ return { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ (v0/*: any*/), { "kind": "InlineFragment", - "type": "SmsSecondFactor", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "formattedPhoneNumber", "args": null, + "kind": "ScalarField", + "name": "formattedPhoneNumber", "storageKey": null } - ] + ], + "type": "SmsSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"sms\"])" }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "SmsSecondFactorStoryErrorQuery", "id": null, - "text": "query SmsSecondFactorStoryErrorQuery {\n me {\n ...SmsSecondFactor_me\n id\n }\n}\n\nfragment SmsSecondFactor_me on Me {\n hasSecondFactorEnabled\n smsSecondFactors: secondFactors(kinds: [sms]) {\n __typename\n ... on SmsSecondFactor {\n __typename\n internalID\n formattedPhoneNumber\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SmsSecondFactorStoryErrorQuery", + "operationKind": "query", + "text": "query SmsSecondFactorStoryErrorQuery {\n me {\n ...SmsSecondFactor_me\n id\n }\n}\n\nfragment SmsSecondFactor_me on Me {\n hasSecondFactorEnabled\n smsSecondFactors: secondFactors(kinds: [sms]) {\n __typename\n ... on SmsSecondFactor {\n __typename\n internalID\n formattedPhoneNumber\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SmsSecondFactorStorySuccessQuery.graphql.ts b/src/v2/__generated__/SmsSecondFactorStorySuccessQuery.graphql.ts index a7674168a93..51bf6c0fc7a 100644 --- a/src/v2/__generated__/SmsSecondFactorStorySuccessQuery.graphql.ts +++ b/src/v2/__generated__/SmsSecondFactorStorySuccessQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -38,65 +39,61 @@ fragment SmsSecondFactor_me on Me { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SmsSecondFactorStorySuccessQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "SmsSecondFactorStorySuccessQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "SmsSecondFactor_me", - "args": null + "name": "SmsSecondFactor_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "SmsSecondFactorStorySuccessQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasSecondFactorEnabled", "args": null, + "kind": "ScalarField", + "name": "hasSecondFactorEnabled", "storageKey": null }, { - "kind": "LinkedField", "alias": "smsSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"sms\"])", "args": [ { "kind": "Literal", @@ -107,49 +104,53 @@ return { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ (v0/*: any*/), { "kind": "InlineFragment", - "type": "SmsSecondFactor", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "formattedPhoneNumber", "args": null, + "kind": "ScalarField", + "name": "formattedPhoneNumber", "storageKey": null } - ] + ], + "type": "SmsSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"sms\"])" }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "SmsSecondFactorStorySuccessQuery", "id": null, - "text": "query SmsSecondFactorStorySuccessQuery {\n me {\n ...SmsSecondFactor_me\n id\n }\n}\n\nfragment SmsSecondFactor_me on Me {\n hasSecondFactorEnabled\n smsSecondFactors: secondFactors(kinds: [sms]) {\n __typename\n ... on SmsSecondFactor {\n __typename\n internalID\n formattedPhoneNumber\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SmsSecondFactorStorySuccessQuery", + "operationKind": "query", + "text": "query SmsSecondFactorStorySuccessQuery {\n me {\n ...SmsSecondFactor_me\n id\n }\n}\n\nfragment SmsSecondFactor_me on Me {\n hasSecondFactorEnabled\n smsSecondFactors: secondFactors(kinds: [sms]) {\n __typename\n ... on SmsSecondFactor {\n __typename\n internalID\n formattedPhoneNumber\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SmsSecondFactorStoryUndeliverableQuery.graphql.ts b/src/v2/__generated__/SmsSecondFactorStoryUndeliverableQuery.graphql.ts index 666bed955a0..ab3dcaff2ba 100644 --- a/src/v2/__generated__/SmsSecondFactorStoryUndeliverableQuery.graphql.ts +++ b/src/v2/__generated__/SmsSecondFactorStoryUndeliverableQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -38,65 +39,61 @@ fragment SmsSecondFactor_me on Me { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SmsSecondFactorStoryUndeliverableQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "SmsSecondFactorStoryUndeliverableQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "SmsSecondFactor_me", - "args": null + "name": "SmsSecondFactor_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "SmsSecondFactorStoryUndeliverableQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasSecondFactorEnabled", "args": null, + "kind": "ScalarField", + "name": "hasSecondFactorEnabled", "storageKey": null }, { - "kind": "LinkedField", "alias": "smsSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"sms\"])", "args": [ { "kind": "Literal", @@ -107,49 +104,53 @@ return { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ (v0/*: any*/), { "kind": "InlineFragment", - "type": "SmsSecondFactor", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "formattedPhoneNumber", "args": null, + "kind": "ScalarField", + "name": "formattedPhoneNumber", "storageKey": null } - ] + ], + "type": "SmsSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"sms\"])" }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "SmsSecondFactorStoryUndeliverableQuery", "id": null, - "text": "query SmsSecondFactorStoryUndeliverableQuery {\n me {\n ...SmsSecondFactor_me\n id\n }\n}\n\nfragment SmsSecondFactor_me on Me {\n hasSecondFactorEnabled\n smsSecondFactors: secondFactors(kinds: [sms]) {\n __typename\n ... on SmsSecondFactor {\n __typename\n internalID\n formattedPhoneNumber\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SmsSecondFactorStoryUndeliverableQuery", + "operationKind": "query", + "text": "query SmsSecondFactorStoryUndeliverableQuery {\n me {\n ...SmsSecondFactor_me\n id\n }\n}\n\nfragment SmsSecondFactor_me on Me {\n hasSecondFactorEnabled\n smsSecondFactors: secondFactors(kinds: [sms]) {\n __typename\n ... on SmsSecondFactor {\n __typename\n internalID\n formattedPhoneNumber\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SmsSecondFactorStoryUpdateErrorQuery.graphql.ts b/src/v2/__generated__/SmsSecondFactorStoryUpdateErrorQuery.graphql.ts index deda575e8f3..c3276678733 100644 --- a/src/v2/__generated__/SmsSecondFactorStoryUpdateErrorQuery.graphql.ts +++ b/src/v2/__generated__/SmsSecondFactorStoryUpdateErrorQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -38,65 +39,61 @@ fragment SmsSecondFactor_me on Me { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SmsSecondFactorStoryUpdateErrorQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "SmsSecondFactorStoryUpdateErrorQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "SmsSecondFactor_me", - "args": null + "name": "SmsSecondFactor_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "SmsSecondFactorStoryUpdateErrorQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasSecondFactorEnabled", "args": null, + "kind": "ScalarField", + "name": "hasSecondFactorEnabled", "storageKey": null }, { - "kind": "LinkedField", "alias": "smsSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"sms\"])", "args": [ { "kind": "Literal", @@ -107,49 +104,53 @@ return { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ (v0/*: any*/), { "kind": "InlineFragment", - "type": "SmsSecondFactor", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "formattedPhoneNumber", "args": null, + "kind": "ScalarField", + "name": "formattedPhoneNumber", "storageKey": null } - ] + ], + "type": "SmsSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"sms\"])" }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "SmsSecondFactorStoryUpdateErrorQuery", "id": null, - "text": "query SmsSecondFactorStoryUpdateErrorQuery {\n me {\n ...SmsSecondFactor_me\n id\n }\n}\n\nfragment SmsSecondFactor_me on Me {\n hasSecondFactorEnabled\n smsSecondFactors: secondFactors(kinds: [sms]) {\n __typename\n ... on SmsSecondFactor {\n __typename\n internalID\n formattedPhoneNumber\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SmsSecondFactorStoryUpdateErrorQuery", + "operationKind": "query", + "text": "query SmsSecondFactorStoryUpdateErrorQuery {\n me {\n ...SmsSecondFactor_me\n id\n }\n}\n\nfragment SmsSecondFactor_me on Me {\n hasSecondFactorEnabled\n smsSecondFactors: secondFactors(kinds: [sms]) {\n __typename\n ... on SmsSecondFactor {\n __typename\n internalID\n formattedPhoneNumber\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SmsSecondFactor_me.graphql.ts b/src/v2/__generated__/SmsSecondFactor_me.graphql.ts index cc221f36da1..898ac4bf966 100644 --- a/src/v2/__generated__/SmsSecondFactor_me.graphql.ts +++ b/src/v2/__generated__/SmsSecondFactor_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -24,24 +25,20 @@ export type SmsSecondFactor_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SmsSecondFactor_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "SmsSecondFactor_me", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasSecondFactorEnabled", "args": null, + "kind": "ScalarField", + "name": "hasSecondFactorEnabled", "storageKey": null }, { - "kind": "LinkedField", "alias": "smsSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"sms\"])", "args": [ { "kind": "Literal", @@ -52,38 +49,42 @@ const node: ReaderFragment = { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ { "kind": "InlineFragment", - "type": "SmsSecondFactor", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "formattedPhoneNumber", "args": null, + "kind": "ScalarField", + "name": "formattedPhoneNumber", "storageKey": null } - ] + ], + "type": "SmsSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"sms\"])" } - ] + ], + "type": "Me" }; (node as any).hash = '8c0f24b8224b514269381da71ff6b1b2'; export default node; diff --git a/src/v2/__generated__/StatusQuery.graphql.ts b/src/v2/__generated__/StatusQuery.graphql.ts index 7e408416bc3..a041fff0d5a 100644 --- a/src/v2/__generated__/StatusQuery.graphql.ts +++ b/src/v2/__generated__/StatusQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -383,31 +384,31 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = [ @@ -418,54 +419,54 @@ v5 = [ } ], v6 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v11 = [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, (v6/*: any*/), @@ -474,103 +475,100 @@ v11 = [ (v9/*: any*/), (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, (v4/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "StatusQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "StatusQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"42\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Status_order", - "args": null + "name": "Status_order" } - ] + ], + "storageKey": "commerceOrder(id:\"42\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "StatusQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"42\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v1/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "stateReason", "args": null, + "kind": "ScalarField", + "name": "stateReason", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": [ { "kind": "Literal", @@ -578,174 +576,168 @@ return { "value": "MMM D" } ], + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": "stateExpiresAt(format:\"MMM D\")" }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v1/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null } - ] + ], + "type": "CommerceShip" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v1/*: any*/), (v4/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v3/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -754,68 +746,68 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "fulfillments", - "storageKey": null, "args": null, "concreteType": "CommerceFulfillmentConnection", + "kind": "LinkedField", + "name": "fulfillments", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceFulfillmentEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceFulfillment", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "courier", "args": null, + "kind": "ScalarField", + "name": "courier", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "trackingId", "args": null, + "kind": "ScalarField", + "name": "trackingId", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "estimatedDelivery", "args": [ { "kind": "Literal", @@ -823,117 +815,126 @@ return { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "estimatedDelivery", "storageKey": "estimatedDelivery(format:\"MMM Do, YYYY\")" }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v6/*: any*/), (v7/*: any*/), (v8/*: any*/), (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v10/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, (v4/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, - "selections": (v11/*: any*/) + "selections": (v11/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, - "selections": (v11/*: any*/) + "selections": (v11/*: any*/), + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": "commerceOrder(id:\"42\")" } ] }, "params": { - "operationKind": "query", - "name": "StatusQuery", "id": null, - "text": "query StatusQuery {\n order: commerceOrder(id: \"42\") {\n __typename\n ...Status_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment Status_order on CommerceOrder {\n __typename\n internalID\n code\n state\n mode\n stateReason\n stateExpiresAt(format: \"MMM D\")\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n __typename\n }\n ... on CommercePickup {\n __typename\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n lineItems {\n edges {\n node {\n fulfillments {\n edges {\n node {\n courier\n trackingId\n estimatedDelivery(format: \"MMM Do, YYYY\")\n id\n }\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n id\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "StatusQuery", + "operationKind": "query", + "text": "query StatusQuery {\n order: commerceOrder(id: \"42\") {\n __typename\n ...Status_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment Status_order on CommerceOrder {\n __typename\n internalID\n code\n state\n mode\n stateReason\n stateExpiresAt(format: \"MMM D\")\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n __typename\n }\n ... on CommercePickup {\n __typename\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n lineItems {\n edges {\n node {\n fulfillments {\n edges {\n node {\n courier\n trackingId\n estimatedDelivery(format: \"MMM Do, YYYY\")\n id\n }\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n id\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Status_order.graphql.ts b/src/v2/__generated__/Status_order.graphql.ts index 76d84b159f7..93755b4aabe 100644 --- a/src/v2/__generated__/Status_order.graphql.ts +++ b/src/v2/__generated__/Status_order.graphql.ts @@ -1,9 +1,10 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; +import { FragmentRefs } from "relay-runtime"; export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLED" | "PENDING" | "REFUNDED" | "SUBMITTED" | "%future added value"; -import { FragmentRefs } from "relay-runtime"; export type Status_order = { readonly __typename: string; readonly internalID: string; @@ -58,17 +59,17 @@ export type Status_order$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = [ @@ -82,46 +83,43 @@ v3 = [ } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "Status_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "Status_order", "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "stateReason", "args": null, + "kind": "ScalarField", + "name": "stateReason", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": [ { "kind": "Literal", @@ -129,101 +127,95 @@ return { "value": "MMM D" } ], + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": "stateExpiresAt(format:\"MMM D\")" }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CommerceShip", - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "type": "CommerceShip" }, { "kind": "InlineFragment", - "type": "CommercePickup", - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "type": "CommercePickup" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "fulfillments", - "storageKey": null, "args": null, "concreteType": "CommerceFulfillmentConnection", + "kind": "LinkedField", + "name": "fulfillments", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceFulfillmentEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceFulfillment", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "courier", "args": null, + "kind": "ScalarField", + "name": "courier", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "trackingId", "args": null, + "kind": "ScalarField", + "name": "trackingId", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "estimatedDelivery", "args": [ { "kind": "Literal", @@ -231,101 +223,110 @@ return { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "estimatedDelivery", "storageKey": "estimatedDelivery(format:\"MMM Do, YYYY\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkSummaryItem_order", - "args": null + "name": "ArtworkSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "TransactionDetailsSummaryItem_order", - "args": null + "name": "TransactionDetailsSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "ShippingSummaryItem_order", - "args": null + "name": "ShippingSummaryItem_order" }, { + "args": null, "kind": "FragmentSpread", - "name": "CreditCardSummaryItem_order", - "args": null + "name": "CreditCardSummaryItem_order" }, { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "type": "CommerceOrder" }; })(); (node as any).hash = '6d7b7eae932926afe8a4dd215e13d78f'; diff --git a/src/v2/__generated__/SuggestedGenesFollowGeneMutation.graphql.ts b/src/v2/__generated__/SuggestedGenesFollowGeneMutation.graphql.ts index 13c85de3839..510b47e2d1e 100644 --- a/src/v2/__generated__/SuggestedGenesFollowGeneMutation.graphql.ts +++ b/src/v2/__generated__/SuggestedGenesFollowGeneMutation.graphql.ts @@ -1,13 +1,14 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type FollowGeneInput = { - readonly clientMutationId?: string | null; - readonly geneID?: string | null; + clientMutationId?: string | null; + geneID?: string | null; }; export type SuggestedGenesFollowGeneMutationVariables = { input: FollowGeneInput; - excludedGeneIds: ReadonlyArray; + excludedGeneIds: Array; }; export type SuggestedGenesFollowGeneMutationResponse = { readonly followGene: { @@ -68,16 +69,16 @@ mutation SuggestedGenesFollowGeneMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "FollowGeneInput!", - "defaultValue": null + "type": "FollowGeneInput!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "excludedGeneIds", - "type": "[String]!", - "defaultValue": null + "type": "[String]!" } ], v1 = [ @@ -88,17 +89,14 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "LinkedField", "alias": null, - "name": "similar", - "storageKey": null, "args": [ { "kind": "Variable", @@ -112,62 +110,58 @@ v3 = { } ], "concreteType": "GeneConnection", + "kind": "LinkedField", + "name": "similar", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "GeneEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -181,96 +175,103 @@ v3 = { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "SuggestedGenesFollowGeneMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "SuggestedGenesFollowGeneMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "followGene", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "FollowGenePayload", + "kind": "LinkedField", + "name": "followGene", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "gene", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "gene", "plural": false, "selections": [ (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "SuggestedGenesFollowGeneMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "followGene", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "FollowGenePayload", + "kind": "LinkedField", + "name": "followGene", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "gene", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "gene", "plural": false, "selections": [ (v3/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "SuggestedGenesFollowGeneMutation", "id": null, - "text": "mutation SuggestedGenesFollowGeneMutation(\n $input: FollowGeneInput!\n $excludedGeneIds: [String]!\n) {\n followGene(input: $input) {\n gene {\n similar(first: 1, excludeGeneIDs: $excludedGeneIds) {\n edges {\n node {\n slug\n internalID\n id\n name\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n }\n }\n }\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SuggestedGenesFollowGeneMutation", + "operationKind": "mutation", + "text": "mutation SuggestedGenesFollowGeneMutation(\n $input: FollowGeneInput!\n $excludedGeneIds: [String]!\n) {\n followGene(input: $input) {\n gene {\n similar(first: 1, excludeGeneIDs: $excludedGeneIds) {\n edges {\n node {\n slug\n internalID\n id\n name\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n }\n }\n }\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/SuggestedGenesQuery.graphql.ts b/src/v2/__generated__/SuggestedGenesQuery.graphql.ts index 7bb76f4a603..5bce56d3840 100644 --- a/src/v2/__generated__/SuggestedGenesQuery.graphql.ts +++ b/src/v2/__generated__/SuggestedGenesQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -41,108 +42,102 @@ fragment SuggestedGenes_suggested_genes on Gene { */ const node: ConcreteRequest = { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SuggestedGenesQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "SuggestedGenesQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "Highlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "suggested_genes", - "name": "broadCollectingGenes", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "broadCollectingGenes", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "SuggestedGenes_suggested_genes", - "args": null + "name": "SuggestedGenes_suggested_genes" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "SuggestedGenesQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "Highlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "suggested_genes", - "name": "broadCollectingGenes", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "broadCollectingGenes", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -156,31 +151,37 @@ const node: ConcreteRequest = { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "SuggestedGenesQuery", "id": null, - "text": "query SuggestedGenesQuery {\n highlights {\n suggested_genes: broadCollectingGenes {\n ...SuggestedGenes_suggested_genes\n id\n }\n }\n}\n\nfragment SuggestedGenes_suggested_genes on Gene {\n id\n slug\n internalID\n name\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "SuggestedGenesQuery", + "operationKind": "query", + "text": "query SuggestedGenesQuery {\n highlights {\n suggested_genes: broadCollectingGenes {\n ...SuggestedGenes_suggested_genes\n id\n }\n }\n}\n\nfragment SuggestedGenes_suggested_genes on Gene {\n id\n slug\n internalID\n name\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n}\n" } }; (node as any).hash = '91f31587213209d9aee297d52ee8babb'; diff --git a/src/v2/__generated__/SuggestedGenes_suggested_genes.graphql.ts b/src/v2/__generated__/SuggestedGenes_suggested_genes.graphql.ts index 874913cf46e..00cd9d5b896 100644 --- a/src/v2/__generated__/SuggestedGenes_suggested_genes.graphql.ts +++ b/src/v2/__generated__/SuggestedGenes_suggested_genes.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -23,56 +24,51 @@ export type SuggestedGenes_suggested_genes$key = ReadonlyArray<{ const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "SuggestedGenes_suggested_genes", - "type": "Gene", "metadata": { "plural": true }, - "argumentDefinitions": [], + "name": "SuggestedGenes_suggested_genes", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -86,20 +82,25 @@ const node: ReaderFragment = { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null } - ] + ], + "type": "Gene" }; (node as any).hash = '5ed7e11fb2d04a9c8d275c8e203aeda1'; export default node; diff --git a/src/v2/__generated__/TagArtworksPaginationQuery.graphql.ts b/src/v2/__generated__/TagArtworksPaginationQuery.graphql.ts index b019b83efd1..4bfef3dc6a5 100644 --- a/src/v2/__generated__/TagArtworksPaginationQuery.graphql.ts +++ b/src/v2/__generated__/TagArtworksPaginationQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -226,52 +227,52 @@ fragment TotalCount_filter_artworks on FilterArtworksConnection { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "tagID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "count", - "type": "Int!", - "defaultValue": null + "type": "Int!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "cursor", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "dimensionRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" } ], v1 = [ @@ -307,10 +308,10 @@ v6 = { "variableName": "sort" }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v8 = [ @@ -341,34 +342,34 @@ v8 = [ (v6/*: any*/) ], v9 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v12 = [ (v9/*: any*/) ], v13 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v14 = [ @@ -380,34 +381,29 @@ v14 = [ ], v15 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "TagArtworksPaginationQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "TagArtworksPaginationQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "tag", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Tag", + "kind": "LinkedField", + "name": "tag", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "TagArtworks_tag", "args": [ { "kind": "Variable", @@ -424,203 +420,201 @@ return { (v4/*: any*/), (v5/*: any*/), (v6/*: any*/) - ] + ], + "kind": "FragmentSpread", + "name": "TagArtworks_tag" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "TagArtworksPaginationQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "tag", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Tag", + "kind": "LinkedField", + "name": "tag", "plural": false, "selections": [ (v7/*: any*/), { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "filterArtworksConnection", - "storageKey": null, "args": (v8/*: any*/), "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "FilterArtworksCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "total", "args": null, + "kind": "ScalarField", + "name": "total", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "facet", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "facet", "plural": false, "selections": [ (v10/*: any*/), (v11/*: any*/), { "kind": "InlineFragment", - "type": "Tag", - "selections": (v12/*: any*/) + "selections": (v12/*: any*/), + "type": "Tag" }, { "kind": "InlineFragment", - "type": "Gene", - "selections": (v12/*: any*/) + "selections": (v12/*: any*/), + "type": "Gene" } - ] + ], + "storageKey": null }, (v11/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ (v10/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v11/*: any*/), (v7/*: any*/), (v13/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -628,234 +622,236 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v14/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v11/*: any*/), (v13/*: any*/), (v9/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v14/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v9/*: any*/), (v13/*: any*/), (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v11/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v15/*: any*/) + "selections": (v15/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v15/*: any*/) + "selections": (v15/*: any*/), + "storageKey": null }, (v11/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, (v10/*: any*/) - ] + ], + "storageKey": null }, (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": "filtered_artworks", - "name": "filterArtworksConnection", "args": (v8/*: any*/), - "handle": "connection", - "key": "TagArtworks_filtered_artworks", "filters": [ "aggregations", "forSale", @@ -863,19 +859,24 @@ return { "priceRange", "dimensionRange", "sort" - ] + ], + "handle": "connection", + "key": "TagArtworks_filtered_artworks", + "kind": "LinkedHandle", + "name": "filterArtworksConnection" }, (v11/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "TagArtworksPaginationQuery", "id": null, - "text": "query TagArtworksPaginationQuery(\n $tagID: String!\n $count: Int!\n $cursor: String\n $sort: String\n $priceRange: String\n $dimensionRange: String\n $medium: String\n $forSale: Boolean\n) {\n tag(id: $tagID) {\n ...TagArtworks_tag_1QTmdc\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Dropdown_aggregation on ArtworksAggregationResults {\n slice\n counts {\n name\n value\n count\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Headline_facet on ArtworkFilterFacet {\n ... on Tag {\n name\n }\n ... on Gene {\n name\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment TagArtworks_tag_1QTmdc on Tag {\n slug\n filtered_artworks: filterArtworksConnection(aggregations: [MEDIUM, TOTAL, PRICE_RANGE, DIMENSION_RANGE], forSale: $forSale, medium: $medium, priceRange: $priceRange, dimensionRange: $dimensionRange, sort: $sort, first: $count, after: $cursor) {\n ...TotalCount_filter_artworks\n aggregations {\n slice\n counts {\n name\n value\n }\n ...Dropdown_aggregation\n }\n facet {\n __typename\n ...Headline_facet\n ... on Node {\n id\n }\n }\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n }\n}\n\nfragment TotalCount_filter_artworks on FilterArtworksConnection {\n counts {\n total\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "TagArtworksPaginationQuery", + "operationKind": "query", + "text": "query TagArtworksPaginationQuery(\n $tagID: String!\n $count: Int!\n $cursor: String\n $sort: String\n $priceRange: String\n $dimensionRange: String\n $medium: String\n $forSale: Boolean\n) {\n tag(id: $tagID) {\n ...TagArtworks_tag_1QTmdc\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Dropdown_aggregation on ArtworksAggregationResults {\n slice\n counts {\n name\n value\n count\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Headline_facet on ArtworkFilterFacet {\n ... on Tag {\n name\n }\n ... on Gene {\n name\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment TagArtworks_tag_1QTmdc on Tag {\n slug\n filtered_artworks: filterArtworksConnection(aggregations: [MEDIUM, TOTAL, PRICE_RANGE, DIMENSION_RANGE], forSale: $forSale, medium: $medium, priceRange: $priceRange, dimensionRange: $dimensionRange, sort: $sort, first: $count, after: $cursor) {\n ...TotalCount_filter_artworks\n aggregations {\n slice\n counts {\n name\n value\n }\n ...Dropdown_aggregation\n }\n facet {\n __typename\n ...Headline_facet\n ... on Node {\n id\n }\n }\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n }\n}\n\nfragment TotalCount_filter_artworks on FilterArtworksConnection {\n counts {\n total\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/TagArtworks_tag.graphql.ts b/src/v2/__generated__/TagArtworks_tag.graphql.ts index d58c8c53c41..e2678d26e56 100644 --- a/src/v2/__generated__/TagArtworks_tag.graphql.ts +++ b/src/v2/__generated__/TagArtworks_tag.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS" | "GALLERY" | "INSTITUTION" | "MAJOR_PERIOD" | "MEDIUM" | "MERCHANDISABLE_ARTISTS" | "PARTNER_CITY" | "PERIOD" | "PRICE_RANGE" | "TOTAL" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS" | "GALLERY" | "INSTITUTION" | "MAJOR_PERIOD" | "MEDIUM" | "MERCHANDISABLE_ARTISTS" | "PARTNER_CITY" | "PERIOD" | "PRICE_RANGE" | "TOTAL" | "%future added value"; export type TagArtworks_tag = { readonly slug: string; readonly filtered_artworks: { @@ -41,96 +42,92 @@ export type TagArtworks_tag$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Fragment", - "name": "TagArtworks_tag", - "type": "Tag", - "metadata": { - "connection": [ - { - "count": "count", - "cursor": "cursor", - "direction": "forward", - "path": [ - "filtered_artworks" - ] - } - ] - }, "argumentDefinitions": [ { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": "*", "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": "*" + "type": "String" }, { - "kind": "LocalArgument", - "name": "aggregations", - "type": "[ArtworkAggregation]", "defaultValue": [ "MEDIUM", "TOTAL", "PRICE_RANGE", "DIMENSION_RANGE" - ] + ], + "kind": "LocalArgument", + "name": "aggregations", + "type": "[ArtworkAggregation]" }, { + "defaultValue": "*", "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": "*" + "type": "String" }, { + "defaultValue": "*", "kind": "LocalArgument", "name": "dimensionRange", - "type": "String", - "defaultValue": "*" + "type": "String" }, { + "defaultValue": 10, "kind": "LocalArgument", "name": "count", - "type": "Int", - "defaultValue": 10 + "type": "Int" }, { + "defaultValue": "", "kind": "LocalArgument", "name": "cursor", - "type": "String", - "defaultValue": "" + "type": "String" }, { + "defaultValue": "-partner_updated_at", "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": "-partner_updated_at" + "type": "String" } ], + "kind": "Fragment", + "metadata": { + "connection": [ + { + "count": "count", + "cursor": "cursor", + "direction": "forward", + "path": [ + "filtered_artworks" + ] + } + ] + }, + "name": "TagArtworks_tag", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "__TagArtworks_filtered_artworks_connection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -164,148 +161,152 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "__TagArtworks_filtered_artworks_connection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Dropdown_aggregation", - "args": null + "name": "Dropdown_aggregation" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "facet", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "facet", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Headline_facet", - "args": null + "name": "Headline_facet" } - ] + ], + "storageKey": null }, (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "TotalCount_filter_artworks", - "args": null + "name": "TotalCount_filter_artworks" }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkGrid_artworks", - "args": null + "name": "ArtworkGrid_artworks" } - ] + ], + "storageKey": null } - ] + ], + "type": "Tag" }; })(); (node as any).hash = 'a96b8d8f2425c1b17877655c0d077ab6'; diff --git a/src/v2/__generated__/TagContentsArtworksQuery.graphql.ts b/src/v2/__generated__/TagContentsArtworksQuery.graphql.ts index e2b4407452c..dd4a523882c 100644 --- a/src/v2/__generated__/TagContentsArtworksQuery.graphql.ts +++ b/src/v2/__generated__/TagContentsArtworksQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -222,40 +223,40 @@ fragment TotalCount_filter_artworks on FilterArtworksConnection { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "tagID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "dimensionRange", - "type": "String", - "defaultValue": null + "type": "String" } ], v1 = [ @@ -291,10 +292,10 @@ v6 = { "variableName": "sort" }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v8 = [ @@ -325,34 +326,34 @@ v8 = [ (v6/*: any*/) ], v9 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v12 = [ (v9/*: any*/) ], v13 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v14 = [ @@ -364,237 +365,230 @@ v14 = [ ], v15 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "TagContentsArtworksQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "TagContentsArtworksQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "tag", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Tag", + "kind": "LinkedField", + "name": "tag", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "TagArtworks_tag", "args": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/), (v5/*: any*/), (v6/*: any*/) - ] + ], + "kind": "FragmentSpread", + "name": "TagArtworks_tag" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "TagContentsArtworksQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "tag", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Tag", + "kind": "LinkedField", + "name": "tag", "plural": false, "selections": [ (v7/*: any*/), { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "filterArtworksConnection", - "storageKey": null, "args": (v8/*: any*/), "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "FilterArtworksCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "total", "args": null, + "kind": "ScalarField", + "name": "total", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "facet", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "facet", "plural": false, "selections": [ (v10/*: any*/), (v11/*: any*/), { "kind": "InlineFragment", - "type": "Tag", - "selections": (v12/*: any*/) + "selections": (v12/*: any*/), + "type": "Tag" }, { "kind": "InlineFragment", - "type": "Gene", - "selections": (v12/*: any*/) + "selections": (v12/*: any*/), + "type": "Gene" } - ] + ], + "storageKey": null }, (v11/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ (v10/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v11/*: any*/), (v7/*: any*/), (v13/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -602,234 +596,236 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v14/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v11/*: any*/), (v13/*: any*/), (v9/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v14/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v9/*: any*/), (v13/*: any*/), (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v11/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v15/*: any*/) + "selections": (v15/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v15/*: any*/) + "selections": (v15/*: any*/), + "storageKey": null }, (v11/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, (v10/*: any*/) - ] + ], + "storageKey": null }, (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": "filtered_artworks", - "name": "filterArtworksConnection", "args": (v8/*: any*/), - "handle": "connection", - "key": "TagArtworks_filtered_artworks", "filters": [ "aggregations", "forSale", @@ -837,19 +833,24 @@ return { "priceRange", "dimensionRange", "sort" - ] + ], + "handle": "connection", + "key": "TagArtworks_filtered_artworks", + "kind": "LinkedHandle", + "name": "filterArtworksConnection" }, (v11/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "TagContentsArtworksQuery", "id": null, - "text": "query TagContentsArtworksQuery(\n $tagID: String!\n $medium: String\n $priceRange: String\n $sort: String\n $forSale: Boolean\n $dimensionRange: String\n) {\n tag(id: $tagID) {\n ...TagArtworks_tag_4q9qzB\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Dropdown_aggregation on ArtworksAggregationResults {\n slice\n counts {\n name\n value\n count\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Headline_facet on ArtworkFilterFacet {\n ... on Tag {\n name\n }\n ... on Gene {\n name\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment TagArtworks_tag_4q9qzB on Tag {\n slug\n filtered_artworks: filterArtworksConnection(aggregations: [MEDIUM, TOTAL, PRICE_RANGE, DIMENSION_RANGE], forSale: $forSale, medium: $medium, priceRange: $priceRange, dimensionRange: $dimensionRange, sort: $sort, first: 10, after: \"\") {\n ...TotalCount_filter_artworks\n aggregations {\n slice\n counts {\n name\n value\n }\n ...Dropdown_aggregation\n }\n facet {\n __typename\n ...Headline_facet\n ... on Node {\n id\n }\n }\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n }\n}\n\nfragment TotalCount_filter_artworks on FilterArtworksConnection {\n counts {\n total\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "TagContentsArtworksQuery", + "operationKind": "query", + "text": "query TagContentsArtworksQuery(\n $tagID: String!\n $medium: String\n $priceRange: String\n $sort: String\n $forSale: Boolean\n $dimensionRange: String\n) {\n tag(id: $tagID) {\n ...TagArtworks_tag_4q9qzB\n id\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Dropdown_aggregation on ArtworksAggregationResults {\n slice\n counts {\n name\n value\n count\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Headline_facet on ArtworkFilterFacet {\n ... on Tag {\n name\n }\n ... on Gene {\n name\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment TagArtworks_tag_4q9qzB on Tag {\n slug\n filtered_artworks: filterArtworksConnection(aggregations: [MEDIUM, TOTAL, PRICE_RANGE, DIMENSION_RANGE], forSale: $forSale, medium: $medium, priceRange: $priceRange, dimensionRange: $dimensionRange, sort: $sort, first: 10, after: \"\") {\n ...TotalCount_filter_artworks\n aggregations {\n slice\n counts {\n name\n value\n }\n ...Dropdown_aggregation\n }\n facet {\n __typename\n ...Headline_facet\n ... on Node {\n id\n }\n }\n id\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n }\n}\n\nfragment TotalCount_filter_artworks on FilterArtworksConnection {\n counts {\n total\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/TotalCount_filter_artworks.graphql.ts b/src/v2/__generated__/TotalCount_filter_artworks.graphql.ts index 9ac1cdd60e5..8e87f30fc03 100644 --- a/src/v2/__generated__/TotalCount_filter_artworks.graphql.ts +++ b/src/v2/__generated__/TotalCount_filter_artworks.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -17,31 +18,31 @@ export type TotalCount_filter_artworks$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "TotalCount_filter_artworks", - "type": "FilterArtworksConnection", "metadata": null, - "argumentDefinitions": [], + "name": "TotalCount_filter_artworks", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "FilterArtworksCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "total", "args": null, + "kind": "ScalarField", + "name": "total", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "FilterArtworksConnection" }; (node as any).hash = 'd0c25a1f9c03191997d2f5681496185e'; export default node; diff --git a/src/v2/__generated__/TransactionDetailsSummaryItemOfferProperties.graphql.ts b/src/v2/__generated__/TransactionDetailsSummaryItemOfferProperties.graphql.ts index 106147899a6..7828e5e0ebc 100644 --- a/src/v2/__generated__/TransactionDetailsSummaryItemOfferProperties.graphql.ts +++ b/src/v2/__generated__/TransactionDetailsSummaryItemOfferProperties.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type CommerceOrderParticipantEnum = "BUYER" | "SELLER" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type CommerceOrderParticipantEnum = "BUYER" | "SELLER" | "%future added value"; export type TransactionDetailsSummaryItemOfferProperties = { readonly internalID: string; readonly amount: string | null; @@ -34,90 +35,90 @@ var v0 = [ } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "TransactionDetailsSummaryItemOfferProperties", - "type": "CommerceOffer", "metadata": null, - "argumentDefinitions": [], + "name": "TransactionDetailsSummaryItemOfferProperties", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null } - ] + ], + "type": "CommerceOffer" }; })(); (node as any).hash = '7bd6db26a9439bff847c104aa299279d'; diff --git a/src/v2/__generated__/TransactionDetailsSummaryItemStoryQuery.graphql.ts b/src/v2/__generated__/TransactionDetailsSummaryItemStoryQuery.graphql.ts index 31c36090af0..b7fdde3fe33 100644 --- a/src/v2/__generated__/TransactionDetailsSummaryItemStoryQuery.graphql.ts +++ b/src/v2/__generated__/TransactionDetailsSummaryItemStoryQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -83,67 +84,67 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v8 = [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, (v2/*: any*/), @@ -152,81 +153,80 @@ v8 = [ (v5/*: any*/), (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, (v7/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "TransactionDetailsSummaryItemStoryQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "TransactionDetailsSummaryItemStoryQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"foo\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "TransactionDetailsSummaryItem_order", - "args": null + "name": "TransactionDetailsSummaryItem_order" } - ] + ], + "storageKey": "commerceOrder(id:\"foo\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "TransactionDetailsSummaryItemStoryQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"foo\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, (v2/*: any*/), @@ -234,57 +234,58 @@ return { (v4/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v6/*: any*/), (v7/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": "commerceOrder(id:\"foo\")" } ] }, "params": { - "operationKind": "query", - "name": "TransactionDetailsSummaryItemStoryQuery", "id": null, - "text": "query TransactionDetailsSummaryItemStoryQuery {\n order: commerceOrder(id: \"foo\") {\n __typename\n ...TransactionDetailsSummaryItem_order\n id\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "TransactionDetailsSummaryItemStoryQuery", + "operationKind": "query", + "text": "query TransactionDetailsSummaryItemStoryQuery {\n order: commerceOrder(id: \"foo\") {\n __typename\n ...TransactionDetailsSummaryItem_order\n id\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/TransactionDetailsSummaryItemTestQuery.graphql.ts b/src/v2/__generated__/TransactionDetailsSummaryItemTestQuery.graphql.ts index 4a05bdb36a2..5ab93ad0ff4 100644 --- a/src/v2/__generated__/TransactionDetailsSummaryItemTestQuery.graphql.ts +++ b/src/v2/__generated__/TransactionDetailsSummaryItemTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -139,67 +140,67 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v8 = [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, (v2/*: any*/), @@ -208,81 +209,80 @@ v8 = [ (v5/*: any*/), (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, (v7/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "TransactionDetailsSummaryItemTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "TransactionDetailsSummaryItemTestQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"whatevs\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "TransactionDetailsSummaryItem_order", - "args": null + "name": "TransactionDetailsSummaryItem_order" } - ] + ], + "storageKey": "commerceOrder(id:\"whatevs\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "TransactionDetailsSummaryItemTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": "commerceOrder(id:\"whatevs\")", "args": (v0/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, (v2/*: any*/), @@ -290,57 +290,58 @@ return { (v4/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v1/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v6/*: any*/), (v7/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": "commerceOrder(id:\"whatevs\")" } ] }, "params": { - "operationKind": "query", - "name": "TransactionDetailsSummaryItemTestQuery", "id": null, - "text": "query TransactionDetailsSummaryItemTestQuery {\n order: commerceOrder(id: \"whatevs\") {\n __typename\n ...TransactionDetailsSummaryItem_order\n id\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "TransactionDetailsSummaryItemTestQuery", + "operationKind": "query", + "text": "query TransactionDetailsSummaryItemTestQuery {\n order: commerceOrder(id: \"whatevs\") {\n __typename\n ...TransactionDetailsSummaryItem_order\n id\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/TransactionDetailsSummaryItem_order.graphql.ts b/src/v2/__generated__/TransactionDetailsSummaryItem_order.graphql.ts index 8e047c4145b..ad087a1c12b 100644 --- a/src/v2/__generated__/TransactionDetailsSummaryItem_order.graphql.ts +++ b/src/v2/__generated__/TransactionDetailsSummaryItem_order.graphql.ts @@ -1,9 +1,10 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; +import { FragmentRefs } from "relay-runtime"; export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; export type CommerceOrderParticipantEnum = "BUYER" | "SELLER" | "%future added value"; -import { FragmentRefs } from "relay-runtime"; export type TransactionDetailsSummaryItem_order = { readonly __typename: string; readonly mode: CommerceOrderModeEnum | null; @@ -59,60 +60,60 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v6 = [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, (v1/*: any*/), @@ -121,46 +122,45 @@ v6 = [ (v4/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "TransactionDetailsSummaryItem_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "TransactionDetailsSummaryItem_order", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, (v1/*: any*/), @@ -168,47 +168,48 @@ return { (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v5/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "type": "CommerceOrder" }; })(); (node as any).hash = 'e207bab0483d25f4386054ee2b0365c6'; diff --git a/src/v2/__generated__/TwoFactorAuthenticationQuery.graphql.ts b/src/v2/__generated__/TwoFactorAuthenticationQuery.graphql.ts index e7f37f82b9e..fa2520a02be 100644 --- a/src/v2/__generated__/TwoFactorAuthenticationQuery.graphql.ts +++ b/src/v2/__generated__/TwoFactorAuthenticationQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -92,72 +93,68 @@ fragment TwoFactorAuthentication_me on Me { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "TwoFactorAuthenticationQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "TwoFactorAuthenticationQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "TwoFactorAuthentication_me", - "args": null + "name": "TwoFactorAuthentication_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "TwoFactorAuthenticationQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasSecondFactorEnabled", "args": null, + "kind": "ScalarField", + "name": "hasSecondFactorEnabled", "storageKey": null }, { - "kind": "LinkedField", "alias": "appSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"app\"])", "args": [ { "kind": "Literal", @@ -168,31 +165,31 @@ return { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ (v0/*: any*/), { "kind": "InlineFragment", - "type": "AppSecondFactor", "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "type": "AppSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"app\"])" }, { - "kind": "LinkedField", "alias": "smsSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"sms\"])", "args": [ { "kind": "Literal", @@ -203,31 +200,31 @@ return { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ (v0/*: any*/), { "kind": "InlineFragment", - "type": "SmsSecondFactor", "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "formattedPhoneNumber", "args": null, + "kind": "ScalarField", + "name": "formattedPhoneNumber", "storageKey": null } - ] + ], + "type": "SmsSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"sms\"])" }, { - "kind": "LinkedField", "alias": "backupSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"backup\"])", "args": [ { "kind": "Literal", @@ -238,35 +235,39 @@ return { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ (v0/*: any*/), { "kind": "InlineFragment", - "type": "BackupSecondFactor", "selections": [ (v0/*: any*/) - ] + ], + "type": "BackupSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"backup\"])" }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "TwoFactorAuthenticationQuery", "id": null, - "text": "query TwoFactorAuthenticationQuery {\n me {\n ...TwoFactorAuthentication_me\n id\n }\n}\n\nfragment AppSecondFactor_me on Me {\n hasSecondFactorEnabled\n appSecondFactors: secondFactors(kinds: [app]) {\n __typename\n ... on AppSecondFactor {\n __typename\n internalID\n name\n }\n }\n}\n\nfragment BackupSecondFactor_me on Me {\n backupSecondFactors: secondFactors(kinds: [backup]) {\n __typename\n ... on BackupSecondFactor {\n __typename\n }\n }\n}\n\nfragment SmsSecondFactor_me on Me {\n hasSecondFactorEnabled\n smsSecondFactors: secondFactors(kinds: [sms]) {\n __typename\n ... on SmsSecondFactor {\n __typename\n internalID\n formattedPhoneNumber\n }\n }\n}\n\nfragment TwoFactorAuthentication_me on Me {\n hasSecondFactorEnabled\n ...AppSecondFactor_me\n ...SmsSecondFactor_me\n ...BackupSecondFactor_me\n}\n", - "metadata": {} + "metadata": {}, + "name": "TwoFactorAuthenticationQuery", + "operationKind": "query", + "text": "query TwoFactorAuthenticationQuery {\n me {\n ...TwoFactorAuthentication_me\n id\n }\n}\n\nfragment AppSecondFactor_me on Me {\n hasSecondFactorEnabled\n appSecondFactors: secondFactors(kinds: [app]) {\n __typename\n ... on AppSecondFactor {\n __typename\n internalID\n name\n }\n }\n}\n\nfragment BackupSecondFactor_me on Me {\n backupSecondFactors: secondFactors(kinds: [backup]) {\n __typename\n ... on BackupSecondFactor {\n __typename\n }\n }\n}\n\nfragment SmsSecondFactor_me on Me {\n hasSecondFactorEnabled\n smsSecondFactors: secondFactors(kinds: [sms]) {\n __typename\n ... on SmsSecondFactor {\n __typename\n internalID\n formattedPhoneNumber\n }\n }\n}\n\nfragment TwoFactorAuthentication_me on Me {\n hasSecondFactorEnabled\n ...AppSecondFactor_me\n ...SmsSecondFactor_me\n ...BackupSecondFactor_me\n}\n" } }; })(); diff --git a/src/v2/__generated__/TwoFactorAuthenticationRefetchQuery.graphql.ts b/src/v2/__generated__/TwoFactorAuthenticationRefetchQuery.graphql.ts index a4490904ce3..547735b0041 100644 --- a/src/v2/__generated__/TwoFactorAuthenticationRefetchQuery.graphql.ts +++ b/src/v2/__generated__/TwoFactorAuthenticationRefetchQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -66,72 +67,68 @@ fragment TwoFactorAuthentication_me on Me { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "TwoFactorAuthenticationRefetchQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "TwoFactorAuthenticationRefetchQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "TwoFactorAuthentication_me", - "args": null + "name": "TwoFactorAuthentication_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "TwoFactorAuthenticationRefetchQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasSecondFactorEnabled", "args": null, + "kind": "ScalarField", + "name": "hasSecondFactorEnabled", "storageKey": null }, { - "kind": "LinkedField", "alias": "appSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"app\"])", "args": [ { "kind": "Literal", @@ -142,31 +139,31 @@ return { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ (v0/*: any*/), { "kind": "InlineFragment", - "type": "AppSecondFactor", "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "type": "AppSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"app\"])" }, { - "kind": "LinkedField", "alias": "smsSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"sms\"])", "args": [ { "kind": "Literal", @@ -177,31 +174,31 @@ return { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ (v0/*: any*/), { "kind": "InlineFragment", - "type": "SmsSecondFactor", "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "formattedPhoneNumber", "args": null, + "kind": "ScalarField", + "name": "formattedPhoneNumber", "storageKey": null } - ] + ], + "type": "SmsSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"sms\"])" }, { - "kind": "LinkedField", "alias": "backupSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"backup\"])", "args": [ { "kind": "Literal", @@ -212,35 +209,39 @@ return { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ (v0/*: any*/), { "kind": "InlineFragment", - "type": "BackupSecondFactor", "selections": [ (v0/*: any*/) - ] + ], + "type": "BackupSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"backup\"])" }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "TwoFactorAuthenticationRefetchQuery", "id": null, - "text": "query TwoFactorAuthenticationRefetchQuery {\n me {\n ...TwoFactorAuthentication_me\n id\n }\n}\n\nfragment AppSecondFactor_me on Me {\n hasSecondFactorEnabled\n appSecondFactors: secondFactors(kinds: [app]) {\n __typename\n ... on AppSecondFactor {\n __typename\n internalID\n name\n }\n }\n}\n\nfragment BackupSecondFactor_me on Me {\n backupSecondFactors: secondFactors(kinds: [backup]) {\n __typename\n ... on BackupSecondFactor {\n __typename\n }\n }\n}\n\nfragment SmsSecondFactor_me on Me {\n hasSecondFactorEnabled\n smsSecondFactors: secondFactors(kinds: [sms]) {\n __typename\n ... on SmsSecondFactor {\n __typename\n internalID\n formattedPhoneNumber\n }\n }\n}\n\nfragment TwoFactorAuthentication_me on Me {\n hasSecondFactorEnabled\n ...AppSecondFactor_me\n ...SmsSecondFactor_me\n ...BackupSecondFactor_me\n}\n", - "metadata": {} + "metadata": {}, + "name": "TwoFactorAuthenticationRefetchQuery", + "operationKind": "query", + "text": "query TwoFactorAuthenticationRefetchQuery {\n me {\n ...TwoFactorAuthentication_me\n id\n }\n}\n\nfragment AppSecondFactor_me on Me {\n hasSecondFactorEnabled\n appSecondFactors: secondFactors(kinds: [app]) {\n __typename\n ... on AppSecondFactor {\n __typename\n internalID\n name\n }\n }\n}\n\nfragment BackupSecondFactor_me on Me {\n backupSecondFactors: secondFactors(kinds: [backup]) {\n __typename\n ... on BackupSecondFactor {\n __typename\n }\n }\n}\n\nfragment SmsSecondFactor_me on Me {\n hasSecondFactorEnabled\n smsSecondFactors: secondFactors(kinds: [sms]) {\n __typename\n ... on SmsSecondFactor {\n __typename\n internalID\n formattedPhoneNumber\n }\n }\n}\n\nfragment TwoFactorAuthentication_me on Me {\n hasSecondFactorEnabled\n ...AppSecondFactor_me\n ...SmsSecondFactor_me\n ...BackupSecondFactor_me\n}\n" } }; })(); diff --git a/src/v2/__generated__/TwoFactorAuthenticationTestQuery.graphql.ts b/src/v2/__generated__/TwoFactorAuthenticationTestQuery.graphql.ts index 658585f1d55..65c58c0b8cb 100644 --- a/src/v2/__generated__/TwoFactorAuthenticationTestQuery.graphql.ts +++ b/src/v2/__generated__/TwoFactorAuthenticationTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -66,72 +67,68 @@ fragment TwoFactorAuthentication_me on Me { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "TwoFactorAuthenticationTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "TwoFactorAuthenticationTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "TwoFactorAuthentication_me", - "args": null + "name": "TwoFactorAuthentication_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "TwoFactorAuthenticationTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasSecondFactorEnabled", "args": null, + "kind": "ScalarField", + "name": "hasSecondFactorEnabled", "storageKey": null }, { - "kind": "LinkedField", "alias": "appSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"app\"])", "args": [ { "kind": "Literal", @@ -142,31 +139,31 @@ return { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ (v0/*: any*/), { "kind": "InlineFragment", - "type": "AppSecondFactor", "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "type": "AppSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"app\"])" }, { - "kind": "LinkedField", "alias": "smsSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"sms\"])", "args": [ { "kind": "Literal", @@ -177,31 +174,31 @@ return { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ (v0/*: any*/), { "kind": "InlineFragment", - "type": "SmsSecondFactor", "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "formattedPhoneNumber", "args": null, + "kind": "ScalarField", + "name": "formattedPhoneNumber", "storageKey": null } - ] + ], + "type": "SmsSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"sms\"])" }, { - "kind": "LinkedField", "alias": "backupSecondFactors", - "name": "secondFactors", - "storageKey": "secondFactors(kinds:[\"backup\"])", "args": [ { "kind": "Literal", @@ -212,35 +209,39 @@ return { } ], "concreteType": null, + "kind": "LinkedField", + "name": "secondFactors", "plural": true, "selections": [ (v0/*: any*/), { "kind": "InlineFragment", - "type": "BackupSecondFactor", "selections": [ (v0/*: any*/) - ] + ], + "type": "BackupSecondFactor" } - ] + ], + "storageKey": "secondFactors(kinds:[\"backup\"])" }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "TwoFactorAuthenticationTestQuery", "id": null, - "text": "query TwoFactorAuthenticationTestQuery {\n me {\n ...TwoFactorAuthentication_me\n id\n }\n}\n\nfragment AppSecondFactor_me on Me {\n hasSecondFactorEnabled\n appSecondFactors: secondFactors(kinds: [app]) {\n __typename\n ... on AppSecondFactor {\n __typename\n internalID\n name\n }\n }\n}\n\nfragment BackupSecondFactor_me on Me {\n backupSecondFactors: secondFactors(kinds: [backup]) {\n __typename\n ... on BackupSecondFactor {\n __typename\n }\n }\n}\n\nfragment SmsSecondFactor_me on Me {\n hasSecondFactorEnabled\n smsSecondFactors: secondFactors(kinds: [sms]) {\n __typename\n ... on SmsSecondFactor {\n __typename\n internalID\n formattedPhoneNumber\n }\n }\n}\n\nfragment TwoFactorAuthentication_me on Me {\n hasSecondFactorEnabled\n ...AppSecondFactor_me\n ...SmsSecondFactor_me\n ...BackupSecondFactor_me\n}\n", - "metadata": {} + "metadata": {}, + "name": "TwoFactorAuthenticationTestQuery", + "operationKind": "query", + "text": "query TwoFactorAuthenticationTestQuery {\n me {\n ...TwoFactorAuthentication_me\n id\n }\n}\n\nfragment AppSecondFactor_me on Me {\n hasSecondFactorEnabled\n appSecondFactors: secondFactors(kinds: [app]) {\n __typename\n ... on AppSecondFactor {\n __typename\n internalID\n name\n }\n }\n}\n\nfragment BackupSecondFactor_me on Me {\n backupSecondFactors: secondFactors(kinds: [backup]) {\n __typename\n ... on BackupSecondFactor {\n __typename\n }\n }\n}\n\nfragment SmsSecondFactor_me on Me {\n hasSecondFactorEnabled\n smsSecondFactors: secondFactors(kinds: [sms]) {\n __typename\n ... on SmsSecondFactor {\n __typename\n internalID\n formattedPhoneNumber\n }\n }\n}\n\nfragment TwoFactorAuthentication_me on Me {\n hasSecondFactorEnabled\n ...AppSecondFactor_me\n ...SmsSecondFactor_me\n ...BackupSecondFactor_me\n}\n" } }; })(); diff --git a/src/v2/__generated__/TwoFactorAuthentication_me.graphql.ts b/src/v2/__generated__/TwoFactorAuthentication_me.graphql.ts index 48c67e96ecb..82089411236 100644 --- a/src/v2/__generated__/TwoFactorAuthentication_me.graphql.ts +++ b/src/v2/__generated__/TwoFactorAuthentication_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -16,35 +17,35 @@ export type TwoFactorAuthentication_me$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "TwoFactorAuthentication_me", - "type": "Me", "metadata": null, - "argumentDefinitions": [], + "name": "TwoFactorAuthentication_me", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasSecondFactorEnabled", "args": null, + "kind": "ScalarField", + "name": "hasSecondFactorEnabled", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "AppSecondFactor_me", - "args": null + "name": "AppSecondFactor_me" }, { + "args": null, "kind": "FragmentSpread", - "name": "SmsSecondFactor_me", - "args": null + "name": "SmsSecondFactor_me" }, { + "args": null, "kind": "FragmentSpread", - "name": "BackupSecondFactor_me", - "args": null + "name": "BackupSecondFactor_me" } - ] + ], + "type": "Me" }; (node as any).hash = 'eac31dfdac45d8d82d5c52be1fac4bf8'; export default node; diff --git a/src/v2/__generated__/UpdateAppSecondFactorMutation.graphql.ts b/src/v2/__generated__/UpdateAppSecondFactorMutation.graphql.ts index 95eb9741c2c..e19f80abd6d 100644 --- a/src/v2/__generated__/UpdateAppSecondFactorMutation.graphql.ts +++ b/src/v2/__generated__/UpdateAppSecondFactorMutation.graphql.ts @@ -1,13 +1,14 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type UpdateAppSecondFactorInput = { - readonly attributes: AppSecondFactorAttributes; - readonly clientMutationId?: string | null; - readonly secondFactorID: string; + attributes: AppSecondFactorAttributes; + clientMutationId?: string | null; + secondFactorID: string; }; export type AppSecondFactorAttributes = { - readonly name?: string | null; + name?: string | null; }; export type UpdateAppSecondFactorMutationVariables = { input: UpdateAppSecondFactorInput; @@ -77,10 +78,10 @@ mutation UpdateAppSecondFactorMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "UpdateAppSecondFactorInput!", - "defaultValue": null + "type": "UpdateAppSecondFactorInput!" } ], v1 = [ @@ -91,124 +92,124 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { "kind": "InlineFragment", - "type": "AppSecondFactor", "selections": [ (v2/*: any*/) - ] + ], + "type": "AppSecondFactor" }, v4 = { "kind": "InlineFragment", - "type": "Errors", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "errors", - "storageKey": null, "args": null, "concreteType": "Error", + "kind": "LinkedField", + "name": "errors", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "message", "args": null, + "kind": "ScalarField", + "name": "message", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Errors" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "UpdateAppSecondFactorMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "UpdateAppSecondFactorMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "updateAppSecondFactor", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "UpdateAppSecondFactorPayload", + "kind": "LinkedField", + "name": "updateAppSecondFactor", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "secondFactorOrErrors", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "secondFactorOrErrors", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "UpdateAppSecondFactorMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "updateAppSecondFactor", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "UpdateAppSecondFactorPayload", + "kind": "LinkedField", + "name": "updateAppSecondFactor", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "secondFactorOrErrors", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "secondFactorOrErrors", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "UpdateAppSecondFactorMutation", "id": null, - "text": "mutation UpdateAppSecondFactorMutation(\n $input: UpdateAppSecondFactorInput!\n) {\n updateAppSecondFactor(input: $input) {\n secondFactorOrErrors {\n __typename\n ... on AppSecondFactor {\n __typename\n }\n ... on Errors {\n __typename\n errors {\n message\n code\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "UpdateAppSecondFactorMutation", + "operationKind": "mutation", + "text": "mutation UpdateAppSecondFactorMutation(\n $input: UpdateAppSecondFactorInput!\n) {\n updateAppSecondFactor(input: $input) {\n secondFactorOrErrors {\n __typename\n ... on AppSecondFactor {\n __typename\n }\n ... on Errors {\n __typename\n errors {\n message\n code\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/UpdateConversationMutation.graphql.ts b/src/v2/__generated__/UpdateConversationMutation.graphql.ts index f0996ca9412..e818286b348 100644 --- a/src/v2/__generated__/UpdateConversationMutation.graphql.ts +++ b/src/v2/__generated__/UpdateConversationMutation.graphql.ts @@ -1,10 +1,11 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type UpdateConversationMutationInput = { - readonly clientMutationId?: string | null; - readonly conversationId: string; - readonly fromLastViewedMessageId: string; + clientMutationId?: string | null; + conversationId: string; + fromLastViewedMessageId: string; }; export type UpdateConversationMutationVariables = { input: UpdateConversationMutationInput; @@ -40,18 +41,15 @@ mutation UpdateConversationMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "UpdateConversationMutationInput!", - "defaultValue": null + "type": "UpdateConversationMutationInput!" } ], v1 = [ { - "kind": "LinkedField", "alias": null, - "name": "updateConversation", - "storageKey": null, "args": [ { "kind": "Variable", @@ -60,58 +58,61 @@ v1 = [ } ], "concreteType": "UpdateConversationMutationPayload", + "kind": "LinkedField", + "name": "updateConversation", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "conversation", - "storageKey": null, "args": null, "concreteType": "Conversation", + "kind": "LinkedField", + "name": "conversation", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "unread", "args": null, + "kind": "ScalarField", + "name": "unread", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "UpdateConversationMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), - "selections": (v1/*: any*/) + "name": "UpdateConversationMutation", + "selections": (v1/*: any*/), + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "UpdateConversationMutation", - "argumentDefinitions": (v0/*: any*/), "selections": (v1/*: any*/) }, "params": { - "operationKind": "mutation", - "name": "UpdateConversationMutation", "id": null, - "text": "mutation UpdateConversationMutation(\n $input: UpdateConversationMutationInput!\n) {\n updateConversation(input: $input) {\n conversation {\n id\n unread\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "UpdateConversationMutation", + "operationKind": "mutation", + "text": "mutation UpdateConversationMutation(\n $input: UpdateConversationMutationInput!\n) {\n updateConversation(input: $input) {\n conversation {\n id\n unread\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/UpdateSmsSecondFactorMutation.graphql.ts b/src/v2/__generated__/UpdateSmsSecondFactorMutation.graphql.ts index 389299d55a0..0f522c1d0e7 100644 --- a/src/v2/__generated__/UpdateSmsSecondFactorMutation.graphql.ts +++ b/src/v2/__generated__/UpdateSmsSecondFactorMutation.graphql.ts @@ -1,14 +1,15 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type UpdateSmsSecondFactorInput = { - readonly attributes: SmsSecondFactorAttributes; - readonly clientMutationId?: string | null; - readonly secondFactorID: string; + attributes: SmsSecondFactorAttributes; + clientMutationId?: string | null; + secondFactorID: string; }; export type SmsSecondFactorAttributes = { - readonly countryCode?: string | null; - readonly phoneNumber?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; }; export type UpdateSmsSecondFactorMutationVariables = { input: UpdateSmsSecondFactorInput; @@ -81,10 +82,10 @@ mutation UpdateSmsSecondFactorMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "UpdateSmsSecondFactorInput!", - "defaultValue": null + "type": "UpdateSmsSecondFactorInput!" } ], v1 = [ @@ -95,131 +96,131 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { "kind": "InlineFragment", - "type": "SmsSecondFactor", "selections": [ (v2/*: any*/) - ] + ], + "type": "SmsSecondFactor" }, v4 = { "kind": "InlineFragment", - "type": "Errors", "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "errors", - "storageKey": null, "args": null, "concreteType": "Error", + "kind": "LinkedField", + "name": "errors", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "message", "args": null, + "kind": "ScalarField", + "name": "message", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "data", "args": null, + "kind": "ScalarField", + "name": "data", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Errors" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "UpdateSmsSecondFactorMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "UpdateSmsSecondFactorMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "updateSmsSecondFactor", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "UpdateSmsSecondFactorPayload", + "kind": "LinkedField", + "name": "updateSmsSecondFactor", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "secondFactorOrErrors", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "secondFactorOrErrors", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "UpdateSmsSecondFactorMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "updateSmsSecondFactor", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "UpdateSmsSecondFactorPayload", + "kind": "LinkedField", + "name": "updateSmsSecondFactor", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "secondFactorOrErrors", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "secondFactorOrErrors", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "UpdateSmsSecondFactorMutation", "id": null, - "text": "mutation UpdateSmsSecondFactorMutation(\n $input: UpdateSmsSecondFactorInput!\n) {\n updateSmsSecondFactor(input: $input) {\n secondFactorOrErrors {\n __typename\n ... on SmsSecondFactor {\n __typename\n }\n ... on Errors {\n __typename\n errors {\n message\n code\n data\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "UpdateSmsSecondFactorMutation", + "operationKind": "mutation", + "text": "mutation UpdateSmsSecondFactorMutation(\n $input: UpdateSmsSecondFactorInput!\n) {\n updateSmsSecondFactor(input: $input) {\n secondFactorOrErrors {\n __typename\n ... on SmsSecondFactor {\n __typename\n }\n ... on Errors {\n __typename\n errors {\n message\n code\n data\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/UserSettingsPaymentsCreditCard.graphql.ts b/src/v2/__generated__/UserSettingsPaymentsCreditCard.graphql.ts index 54b8ad830da..49ca6ff43c4 100644 --- a/src/v2/__generated__/UserSettingsPaymentsCreditCard.graphql.ts +++ b/src/v2/__generated__/UserSettingsPaymentsCreditCard.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -21,62 +22,62 @@ export type UserSettingsPaymentsCreditCard$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "UserSettingsPaymentsCreditCard", - "type": "CreditCard", "metadata": null, - "argumentDefinitions": [], + "name": "UserSettingsPaymentsCreditCard", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "type": "CreditCard" }; (node as any).hash = 'e9f97eecca2ad74a3adc1a32b5adc428'; export default node; diff --git a/src/v2/__generated__/UserSettingsPaymentsQuery.graphql.ts b/src/v2/__generated__/UserSettingsPaymentsQuery.graphql.ts index a803da8dd05..7ab1e55b69b 100644 --- a/src/v2/__generated__/UserSettingsPaymentsQuery.graphql.ts +++ b/src/v2/__generated__/UserSettingsPaymentsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -49,17 +50,17 @@ fragment UserSettingsPayments_me on Me { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v2 = [ @@ -70,169 +71,169 @@ v2 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "UserSettingsPaymentsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "UserSettingsPaymentsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "UserSettingsPayments_me", - "args": null + "name": "UserSettingsPayments_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "UserSettingsPaymentsQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "creditCards", - "storageKey": "creditCards(first:100)", "args": (v2/*: any*/), "concreteType": "CreditCardConnection", + "kind": "LinkedField", + "name": "creditCards", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CreditCardEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "creditCards(first:100)" }, { - "kind": "LinkedHandle", "alias": null, - "name": "creditCards", "args": (v2/*: any*/), + "filters": [], "handle": "connection", "key": "UserSettingsPayments_creditCards", - "filters": [] + "kind": "LinkedHandle", + "name": "creditCards" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "UserSettingsPaymentsQuery", "id": null, - "text": "query UserSettingsPaymentsQuery {\n me {\n ...UserSettingsPayments_me\n id\n }\n}\n\nfragment UserSettingsPayments_me on Me {\n id\n internalID\n creditCards(first: 100) {\n edges {\n node {\n id\n internalID\n brand\n lastDigits\n expirationYear\n expirationMonth\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "UserSettingsPaymentsQuery", + "operationKind": "query", + "text": "query UserSettingsPaymentsQuery {\n me {\n ...UserSettingsPayments_me\n id\n }\n}\n\nfragment UserSettingsPayments_me on Me {\n id\n internalID\n creditCards(first: 100) {\n edges {\n node {\n id\n internalID\n brand\n lastDigits\n expirationYear\n expirationMonth\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/UserSettingsPayments_me.graphql.ts b/src/v2/__generated__/UserSettingsPayments_me.graphql.ts index e585e46891f..cb989bf35f1 100644 --- a/src/v2/__generated__/UserSettingsPayments_me.graphql.ts +++ b/src/v2/__generated__/UserSettingsPayments_me.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -30,23 +31,22 @@ export type UserSettingsPayments_me$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "UserSettingsPayments_me", - "type": "Me", "metadata": { "connection": [ { @@ -59,113 +59,114 @@ return { } ] }, - "argumentDefinitions": [], + "name": "UserSettingsPayments_me", "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "LinkedField", "alias": "creditCards", - "name": "__UserSettingsPayments_creditCards_connection", - "storageKey": null, "args": null, "concreteType": "CreditCardConnection", + "kind": "LinkedField", + "name": "__UserSettingsPayments_creditCards_connection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CreditCardEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v0/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Me" }; })(); (node as any).hash = 'fb1e0b6f4ace5339acfc650f9b020b42'; diff --git a/src/v2/__generated__/VerifiedSellerTestQuery.graphql.ts b/src/v2/__generated__/VerifiedSellerTestQuery.graphql.ts index 190aa823dec..df37f15a553 100644 --- a/src/v2/__generated__/VerifiedSellerTestQuery.graphql.ts +++ b/src/v2/__generated__/VerifiedSellerTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -54,97 +55,97 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "VerifiedSellerTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "VerifiedSellerTestQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"whatevs\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "VerifiedSeller_artwork", - "args": null + "name": "VerifiedSeller_artwork" } - ] + ], + "storageKey": "artwork(id:\"whatevs\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "VerifiedSellerTestQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"whatevs\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "isVerifiedSeller", "args": null, + "kind": "ScalarField", + "name": "isVerifiedSeller", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "artwork(id:\"whatevs\")" } ] }, "params": { - "operationKind": "query", - "name": "VerifiedSellerTestQuery", "id": null, - "text": "query VerifiedSellerTestQuery {\n artwork(id: \"whatevs\") {\n ...VerifiedSeller_artwork\n id\n }\n}\n\nfragment VerifiedSeller_artwork on Artwork {\n is_biddable: isBiddable\n partner {\n isVerifiedSeller\n name\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "VerifiedSellerTestQuery", + "operationKind": "query", + "text": "query VerifiedSellerTestQuery {\n artwork(id: \"whatevs\") {\n ...VerifiedSeller_artwork\n id\n }\n}\n\nfragment VerifiedSeller_artwork on Artwork {\n is_biddable: isBiddable\n partner {\n isVerifiedSeller\n name\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/VerifiedSeller_artwork.graphql.ts b/src/v2/__generated__/VerifiedSeller_artwork.graphql.ts index 6dabc2d2423..925e723f399 100644 --- a/src/v2/__generated__/VerifiedSeller_artwork.graphql.ts +++ b/src/v2/__generated__/VerifiedSeller_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -19,45 +20,45 @@ export type VerifiedSeller_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "VerifiedSeller_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "VerifiedSeller_artwork", "selections": [ { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "isVerifiedSeller", "args": null, + "kind": "ScalarField", + "name": "isVerifiedSeller", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; (node as any).hash = '2efbba0f7a6a9470dc169125c7b5fdc9'; export default node; diff --git a/src/v2/__generated__/ViewingRoomApp_ClosedTest_Query.graphql.ts b/src/v2/__generated__/ViewingRoomApp_ClosedTest_Query.graphql.ts index ea4868c56d8..8cd0fe7b944 100644 --- a/src/v2/__generated__/ViewingRoomApp_ClosedTest_Query.graphql.ts +++ b/src/v2/__generated__/ViewingRoomApp_ClosedTest_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -85,10 +86,10 @@ fragment ViewingRoomMeta_viewingRoom on ViewingRoom { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -99,145 +100,145 @@ v1 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ViewingRoomApp_ClosedTest_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ViewingRoomApp_ClosedTest_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomApp_viewingRoom", - "args": null + "name": "ViewingRoomApp_viewingRoom" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ViewingRoomApp_ClosedTest_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "ARImage", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "imageURLs", - "storageKey": null, "args": null, "concreteType": "ImageURLs", + "kind": "LinkedField", + "name": "imageURLs", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "normalized", "args": null, + "kind": "ScalarField", + "name": "normalized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToOpen", "args": null, + "kind": "ScalarField", + "name": "distanceToOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToClose", "args": null, + "kind": "ScalarField", + "name": "distanceToClose", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ViewingRoomApp_ClosedTest_Query", "id": null, - "text": "query ViewingRoomApp_ClosedTest_Query(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomApp_viewingRoom\n }\n}\n\nfragment ViewingRoomApp_viewingRoom on ViewingRoom {\n ...ViewingRoomMeta_viewingRoom\n ...ViewingRoomHeader_viewingRoom\n ...ViewingRoomContentNotAccessible_viewingRoom\n status\n}\n\nfragment ViewingRoomContentNotAccessible_viewingRoom on ViewingRoom {\n status\n partner {\n href\n id\n }\n}\n\nfragment ViewingRoomHeader_viewingRoom on ViewingRoom {\n image {\n imageURLs {\n normalized\n }\n }\n title\n partner {\n name\n href\n id\n }\n distanceToOpen\n distanceToClose\n status\n}\n\nfragment ViewingRoomMeta_viewingRoom on ViewingRoom {\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ViewingRoomApp_ClosedTest_Query", + "operationKind": "query", + "text": "query ViewingRoomApp_ClosedTest_Query(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomApp_viewingRoom\n }\n}\n\nfragment ViewingRoomApp_viewingRoom on ViewingRoom {\n ...ViewingRoomMeta_viewingRoom\n ...ViewingRoomHeader_viewingRoom\n ...ViewingRoomContentNotAccessible_viewingRoom\n status\n}\n\nfragment ViewingRoomContentNotAccessible_viewingRoom on ViewingRoom {\n status\n partner {\n href\n id\n }\n}\n\nfragment ViewingRoomHeader_viewingRoom on ViewingRoom {\n image {\n imageURLs {\n normalized\n }\n }\n title\n partner {\n name\n href\n id\n }\n distanceToOpen\n distanceToClose\n status\n}\n\nfragment ViewingRoomMeta_viewingRoom on ViewingRoom {\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ViewingRoomApp_LoggedOutTest_Query.graphql.ts b/src/v2/__generated__/ViewingRoomApp_LoggedOutTest_Query.graphql.ts index 956f86b3717..4e5233f757e 100644 --- a/src/v2/__generated__/ViewingRoomApp_LoggedOutTest_Query.graphql.ts +++ b/src/v2/__generated__/ViewingRoomApp_LoggedOutTest_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -85,10 +86,10 @@ fragment ViewingRoomMeta_viewingRoom on ViewingRoom { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -99,145 +100,145 @@ v1 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ViewingRoomApp_LoggedOutTest_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ViewingRoomApp_LoggedOutTest_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomApp_viewingRoom", - "args": null + "name": "ViewingRoomApp_viewingRoom" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ViewingRoomApp_LoggedOutTest_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "ARImage", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "imageURLs", - "storageKey": null, "args": null, "concreteType": "ImageURLs", + "kind": "LinkedField", + "name": "imageURLs", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "normalized", "args": null, + "kind": "ScalarField", + "name": "normalized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToOpen", "args": null, + "kind": "ScalarField", + "name": "distanceToOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToClose", "args": null, + "kind": "ScalarField", + "name": "distanceToClose", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ViewingRoomApp_LoggedOutTest_Query", "id": null, - "text": "query ViewingRoomApp_LoggedOutTest_Query(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomApp_viewingRoom\n }\n}\n\nfragment ViewingRoomApp_viewingRoom on ViewingRoom {\n ...ViewingRoomMeta_viewingRoom\n ...ViewingRoomHeader_viewingRoom\n ...ViewingRoomContentNotAccessible_viewingRoom\n status\n}\n\nfragment ViewingRoomContentNotAccessible_viewingRoom on ViewingRoom {\n status\n partner {\n href\n id\n }\n}\n\nfragment ViewingRoomHeader_viewingRoom on ViewingRoom {\n image {\n imageURLs {\n normalized\n }\n }\n title\n partner {\n name\n href\n id\n }\n distanceToOpen\n distanceToClose\n status\n}\n\nfragment ViewingRoomMeta_viewingRoom on ViewingRoom {\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ViewingRoomApp_LoggedOutTest_Query", + "operationKind": "query", + "text": "query ViewingRoomApp_LoggedOutTest_Query(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomApp_viewingRoom\n }\n}\n\nfragment ViewingRoomApp_viewingRoom on ViewingRoom {\n ...ViewingRoomMeta_viewingRoom\n ...ViewingRoomHeader_viewingRoom\n ...ViewingRoomContentNotAccessible_viewingRoom\n status\n}\n\nfragment ViewingRoomContentNotAccessible_viewingRoom on ViewingRoom {\n status\n partner {\n href\n id\n }\n}\n\nfragment ViewingRoomHeader_viewingRoom on ViewingRoom {\n image {\n imageURLs {\n normalized\n }\n }\n title\n partner {\n name\n href\n id\n }\n distanceToOpen\n distanceToClose\n status\n}\n\nfragment ViewingRoomMeta_viewingRoom on ViewingRoom {\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ViewingRoomApp_OpenTest_Query.graphql.ts b/src/v2/__generated__/ViewingRoomApp_OpenTest_Query.graphql.ts index 3a28d36fdc3..79bf652460b 100644 --- a/src/v2/__generated__/ViewingRoomApp_OpenTest_Query.graphql.ts +++ b/src/v2/__generated__/ViewingRoomApp_OpenTest_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -85,10 +86,10 @@ fragment ViewingRoomMeta_viewingRoom on ViewingRoom { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -99,145 +100,145 @@ v1 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ViewingRoomApp_OpenTest_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ViewingRoomApp_OpenTest_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomApp_viewingRoom", - "args": null + "name": "ViewingRoomApp_viewingRoom" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ViewingRoomApp_OpenTest_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "ARImage", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "imageURLs", - "storageKey": null, "args": null, "concreteType": "ImageURLs", + "kind": "LinkedField", + "name": "imageURLs", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "normalized", "args": null, + "kind": "ScalarField", + "name": "normalized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToOpen", "args": null, + "kind": "ScalarField", + "name": "distanceToOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToClose", "args": null, + "kind": "ScalarField", + "name": "distanceToClose", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ViewingRoomApp_OpenTest_Query", "id": null, - "text": "query ViewingRoomApp_OpenTest_Query(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomApp_viewingRoom\n }\n}\n\nfragment ViewingRoomApp_viewingRoom on ViewingRoom {\n ...ViewingRoomMeta_viewingRoom\n ...ViewingRoomHeader_viewingRoom\n ...ViewingRoomContentNotAccessible_viewingRoom\n status\n}\n\nfragment ViewingRoomContentNotAccessible_viewingRoom on ViewingRoom {\n status\n partner {\n href\n id\n }\n}\n\nfragment ViewingRoomHeader_viewingRoom on ViewingRoom {\n image {\n imageURLs {\n normalized\n }\n }\n title\n partner {\n name\n href\n id\n }\n distanceToOpen\n distanceToClose\n status\n}\n\nfragment ViewingRoomMeta_viewingRoom on ViewingRoom {\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ViewingRoomApp_OpenTest_Query", + "operationKind": "query", + "text": "query ViewingRoomApp_OpenTest_Query(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomApp_viewingRoom\n }\n}\n\nfragment ViewingRoomApp_viewingRoom on ViewingRoom {\n ...ViewingRoomMeta_viewingRoom\n ...ViewingRoomHeader_viewingRoom\n ...ViewingRoomContentNotAccessible_viewingRoom\n status\n}\n\nfragment ViewingRoomContentNotAccessible_viewingRoom on ViewingRoom {\n status\n partner {\n href\n id\n }\n}\n\nfragment ViewingRoomHeader_viewingRoom on ViewingRoom {\n image {\n imageURLs {\n normalized\n }\n }\n title\n partner {\n name\n href\n id\n }\n distanceToOpen\n distanceToClose\n status\n}\n\nfragment ViewingRoomMeta_viewingRoom on ViewingRoom {\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ViewingRoomApp_ScheduledTest_Query.graphql.ts b/src/v2/__generated__/ViewingRoomApp_ScheduledTest_Query.graphql.ts index 44b6c67432a..1d171210ec3 100644 --- a/src/v2/__generated__/ViewingRoomApp_ScheduledTest_Query.graphql.ts +++ b/src/v2/__generated__/ViewingRoomApp_ScheduledTest_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -85,10 +86,10 @@ fragment ViewingRoomMeta_viewingRoom on ViewingRoom { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -99,145 +100,145 @@ v1 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ViewingRoomApp_ScheduledTest_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ViewingRoomApp_ScheduledTest_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomApp_viewingRoom", - "args": null + "name": "ViewingRoomApp_viewingRoom" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ViewingRoomApp_ScheduledTest_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "ARImage", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "imageURLs", - "storageKey": null, "args": null, "concreteType": "ImageURLs", + "kind": "LinkedField", + "name": "imageURLs", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "normalized", "args": null, + "kind": "ScalarField", + "name": "normalized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToOpen", "args": null, + "kind": "ScalarField", + "name": "distanceToOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToClose", "args": null, + "kind": "ScalarField", + "name": "distanceToClose", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ViewingRoomApp_ScheduledTest_Query", "id": null, - "text": "query ViewingRoomApp_ScheduledTest_Query(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomApp_viewingRoom\n }\n}\n\nfragment ViewingRoomApp_viewingRoom on ViewingRoom {\n ...ViewingRoomMeta_viewingRoom\n ...ViewingRoomHeader_viewingRoom\n ...ViewingRoomContentNotAccessible_viewingRoom\n status\n}\n\nfragment ViewingRoomContentNotAccessible_viewingRoom on ViewingRoom {\n status\n partner {\n href\n id\n }\n}\n\nfragment ViewingRoomHeader_viewingRoom on ViewingRoom {\n image {\n imageURLs {\n normalized\n }\n }\n title\n partner {\n name\n href\n id\n }\n distanceToOpen\n distanceToClose\n status\n}\n\nfragment ViewingRoomMeta_viewingRoom on ViewingRoom {\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ViewingRoomApp_ScheduledTest_Query", + "operationKind": "query", + "text": "query ViewingRoomApp_ScheduledTest_Query(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomApp_viewingRoom\n }\n}\n\nfragment ViewingRoomApp_viewingRoom on ViewingRoom {\n ...ViewingRoomMeta_viewingRoom\n ...ViewingRoomHeader_viewingRoom\n ...ViewingRoomContentNotAccessible_viewingRoom\n status\n}\n\nfragment ViewingRoomContentNotAccessible_viewingRoom on ViewingRoom {\n status\n partner {\n href\n id\n }\n}\n\nfragment ViewingRoomHeader_viewingRoom on ViewingRoom {\n image {\n imageURLs {\n normalized\n }\n }\n title\n partner {\n name\n href\n id\n }\n distanceToOpen\n distanceToClose\n status\n}\n\nfragment ViewingRoomMeta_viewingRoom on ViewingRoom {\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ViewingRoomApp_UnfoundTest_Query.graphql.ts b/src/v2/__generated__/ViewingRoomApp_UnfoundTest_Query.graphql.ts index d1292baedbe..c7d1e987c03 100644 --- a/src/v2/__generated__/ViewingRoomApp_UnfoundTest_Query.graphql.ts +++ b/src/v2/__generated__/ViewingRoomApp_UnfoundTest_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -85,10 +86,10 @@ fragment ViewingRoomMeta_viewingRoom on ViewingRoom { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -99,145 +100,145 @@ v1 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ViewingRoomApp_UnfoundTest_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ViewingRoomApp_UnfoundTest_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomApp_viewingRoom", - "args": null + "name": "ViewingRoomApp_viewingRoom" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ViewingRoomApp_UnfoundTest_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "ARImage", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "imageURLs", - "storageKey": null, "args": null, "concreteType": "ImageURLs", + "kind": "LinkedField", + "name": "imageURLs", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "normalized", "args": null, + "kind": "ScalarField", + "name": "normalized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToOpen", "args": null, + "kind": "ScalarField", + "name": "distanceToOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToClose", "args": null, + "kind": "ScalarField", + "name": "distanceToClose", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ViewingRoomApp_UnfoundTest_Query", "id": null, - "text": "query ViewingRoomApp_UnfoundTest_Query(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomApp_viewingRoom\n }\n}\n\nfragment ViewingRoomApp_viewingRoom on ViewingRoom {\n ...ViewingRoomMeta_viewingRoom\n ...ViewingRoomHeader_viewingRoom\n ...ViewingRoomContentNotAccessible_viewingRoom\n status\n}\n\nfragment ViewingRoomContentNotAccessible_viewingRoom on ViewingRoom {\n status\n partner {\n href\n id\n }\n}\n\nfragment ViewingRoomHeader_viewingRoom on ViewingRoom {\n image {\n imageURLs {\n normalized\n }\n }\n title\n partner {\n name\n href\n id\n }\n distanceToOpen\n distanceToClose\n status\n}\n\nfragment ViewingRoomMeta_viewingRoom on ViewingRoom {\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "ViewingRoomApp_UnfoundTest_Query", + "operationKind": "query", + "text": "query ViewingRoomApp_UnfoundTest_Query(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomApp_viewingRoom\n }\n}\n\nfragment ViewingRoomApp_viewingRoom on ViewingRoom {\n ...ViewingRoomMeta_viewingRoom\n ...ViewingRoomHeader_viewingRoom\n ...ViewingRoomContentNotAccessible_viewingRoom\n status\n}\n\nfragment ViewingRoomContentNotAccessible_viewingRoom on ViewingRoom {\n status\n partner {\n href\n id\n }\n}\n\nfragment ViewingRoomHeader_viewingRoom on ViewingRoom {\n image {\n imageURLs {\n normalized\n }\n }\n title\n partner {\n name\n href\n id\n }\n distanceToOpen\n distanceToClose\n status\n}\n\nfragment ViewingRoomMeta_viewingRoom on ViewingRoom {\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/ViewingRoomApp_viewingRoom.graphql.ts b/src/v2/__generated__/ViewingRoomApp_viewingRoom.graphql.ts index 817cb7112f8..34a7cedf87a 100644 --- a/src/v2/__generated__/ViewingRoomApp_viewingRoom.graphql.ts +++ b/src/v2/__generated__/ViewingRoomApp_viewingRoom.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -16,35 +17,35 @@ export type ViewingRoomApp_viewingRoom$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ViewingRoomApp_viewingRoom", - "type": "ViewingRoom", "metadata": null, - "argumentDefinitions": [], + "name": "ViewingRoomApp_viewingRoom", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomMeta_viewingRoom", - "args": null + "name": "ViewingRoomMeta_viewingRoom" }, { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomHeader_viewingRoom", - "args": null + "name": "ViewingRoomHeader_viewingRoom" }, { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomContentNotAccessible_viewingRoom", - "args": null + "name": "ViewingRoomContentNotAccessible_viewingRoom" } - ] + ], + "type": "ViewingRoom" }; (node as any).hash = '3427b73db005d63baf296e26766e02ec'; export default node; diff --git a/src/v2/__generated__/ViewingRoomArtworkDetails_artwork.graphql.ts b/src/v2/__generated__/ViewingRoomArtworkDetails_artwork.graphql.ts index a7f8f8e83ad..f392dfaef52 100644 --- a/src/v2/__generated__/ViewingRoomArtworkDetails_artwork.graphql.ts +++ b/src/v2/__generated__/ViewingRoomArtworkDetails_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -21,62 +22,62 @@ export type ViewingRoomArtworkDetails_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ViewingRoomArtworkDetails_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "ViewingRoomArtworkDetails_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "additionalInformation", "args": null, + "kind": "ScalarField", + "name": "additionalInformation", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null } - ] + ], + "type": "Artwork" }; (node as any).hash = '17b59b378f42d4a5091389b5e193ab25'; export default node; diff --git a/src/v2/__generated__/ViewingRoomBody_viewingRoom.graphql.ts b/src/v2/__generated__/ViewingRoomBody_viewingRoom.graphql.ts index c1f16fd323c..52960e84b4d 100644 --- a/src/v2/__generated__/ViewingRoomBody_viewingRoom.graphql.ts +++ b/src/v2/__generated__/ViewingRoomBody_viewingRoom.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,20 +16,20 @@ export type ViewingRoomBody_viewingRoom$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ViewingRoomBody_viewingRoom", - "type": "ViewingRoom", "metadata": null, - "argumentDefinitions": [], + "name": "ViewingRoomBody_viewingRoom", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "body", "args": null, + "kind": "ScalarField", + "name": "body", "storageKey": null } - ] + ], + "type": "ViewingRoom" }; (node as any).hash = '3a96bc19185c2caf33ddadc0ef420926'; export default node; diff --git a/src/v2/__generated__/ViewingRoomContentNotAccessible_viewingRoom.graphql.ts b/src/v2/__generated__/ViewingRoomContentNotAccessible_viewingRoom.graphql.ts index 9dfadac91bc..b969d379306 100644 --- a/src/v2/__generated__/ViewingRoomContentNotAccessible_viewingRoom.graphql.ts +++ b/src/v2/__generated__/ViewingRoomContentNotAccessible_viewingRoom.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -18,38 +19,38 @@ export type ViewingRoomContentNotAccessible_viewingRoom$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ViewingRoomContentNotAccessible_viewingRoom", - "type": "ViewingRoom", "metadata": null, - "argumentDefinitions": [], + "name": "ViewingRoomContentNotAccessible_viewingRoom", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "ViewingRoom" }; (node as any).hash = 'fee7534dccbfac831698452070776d03'; export default node; diff --git a/src/v2/__generated__/ViewingRoomHeader_viewingRoom.graphql.ts b/src/v2/__generated__/ViewingRoomHeader_viewingRoom.graphql.ts index 82423df4f91..34abd764d06 100644 --- a/src/v2/__generated__/ViewingRoomHeader_viewingRoom.graphql.ts +++ b/src/v2/__generated__/ViewingRoomHeader_viewingRoom.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -27,95 +28,95 @@ export type ViewingRoomHeader_viewingRoom$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ViewingRoomHeader_viewingRoom", - "type": "ViewingRoom", "metadata": null, - "argumentDefinitions": [], + "name": "ViewingRoomHeader_viewingRoom", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "ARImage", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "imageURLs", - "storageKey": null, "args": null, "concreteType": "ImageURLs", + "kind": "LinkedField", + "name": "imageURLs", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "normalized", "args": null, + "kind": "ScalarField", + "name": "normalized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToOpen", "args": null, + "kind": "ScalarField", + "name": "distanceToOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToClose", "args": null, + "kind": "ScalarField", + "name": "distanceToClose", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null } - ] + ], + "type": "ViewingRoom" }; (node as any).hash = '796ee6ac5f38b0a78475ca0706e2dbad'; export default node; diff --git a/src/v2/__generated__/ViewingRoomIntro_viewingRoom.graphql.ts b/src/v2/__generated__/ViewingRoomIntro_viewingRoom.graphql.ts index a2c0598855f..4a09295ad74 100644 --- a/src/v2/__generated__/ViewingRoomIntro_viewingRoom.graphql.ts +++ b/src/v2/__generated__/ViewingRoomIntro_viewingRoom.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,20 +16,20 @@ export type ViewingRoomIntro_viewingRoom$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ViewingRoomIntro_viewingRoom", - "type": "ViewingRoom", "metadata": null, - "argumentDefinitions": [], + "name": "ViewingRoomIntro_viewingRoom", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "introStatement", "args": null, + "kind": "ScalarField", + "name": "introStatement", "storageKey": null } - ] + ], + "type": "ViewingRoom" }; (node as any).hash = 'f6bd6fd9181c2b21295bf6f5bc6d3aff'; export default node; diff --git a/src/v2/__generated__/ViewingRoomMeta_viewingRoom.graphql.ts b/src/v2/__generated__/ViewingRoomMeta_viewingRoom.graphql.ts index 3a8b51ac321..e20d75e255e 100644 --- a/src/v2/__generated__/ViewingRoomMeta_viewingRoom.graphql.ts +++ b/src/v2/__generated__/ViewingRoomMeta_viewingRoom.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,20 +16,20 @@ export type ViewingRoomMeta_viewingRoom$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ViewingRoomMeta_viewingRoom", - "type": "ViewingRoom", "metadata": null, - "argumentDefinitions": [], + "name": "ViewingRoomMeta_viewingRoom", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null } - ] + ], + "type": "ViewingRoom" }; (node as any).hash = 'f5a9381a6e0146081302824e86beb903'; export default node; diff --git a/src/v2/__generated__/ViewingRoomPullQuote_viewingRoom.graphql.ts b/src/v2/__generated__/ViewingRoomPullQuote_viewingRoom.graphql.ts index fe2b5a55cb8..2a5ec0f7966 100644 --- a/src/v2/__generated__/ViewingRoomPullQuote_viewingRoom.graphql.ts +++ b/src/v2/__generated__/ViewingRoomPullQuote_viewingRoom.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,20 +16,20 @@ export type ViewingRoomPullQuote_viewingRoom$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ViewingRoomPullQuote_viewingRoom", - "type": "ViewingRoom", "metadata": null, - "argumentDefinitions": [], + "name": "ViewingRoomPullQuote_viewingRoom", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "pullQuote", "args": null, + "kind": "ScalarField", + "name": "pullQuote", "storageKey": null } - ] + ], + "type": "ViewingRoom" }; (node as any).hash = '69ccb558158ea6f401e3263146f93fd2'; export default node; diff --git a/src/v2/__generated__/ViewingRoomStatementRoute_Test_Query.graphql.ts b/src/v2/__generated__/ViewingRoomStatementRoute_Test_Query.graphql.ts index 8e0c27e7109..e384e4f0535 100644 --- a/src/v2/__generated__/ViewingRoomStatementRoute_Test_Query.graphql.ts +++ b/src/v2/__generated__/ViewingRoomStatementRoute_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -117,10 +118,10 @@ fragment ViewingRoomWorks_viewingRoom on ViewingRoom { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -131,79 +132,75 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "body", "args": null, + "kind": "ScalarField", + "name": "body", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ViewingRoomStatementRoute_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ViewingRoomStatementRoute_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomStatementRoute_viewingRoom", - "args": null + "name": "ViewingRoomStatementRoute_viewingRoom" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ViewingRoomStatementRoute_Test_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "introStatement", "args": null, + "kind": "ScalarField", + "name": "introStatement", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:2)", "args": [ { "kind": "Literal", @@ -212,144 +209,148 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "imageUrl", "args": null, + "kind": "ScalarField", + "name": "imageUrl", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "pullQuote", "args": null, + "kind": "ScalarField", + "name": "pullQuote", "storageKey": null }, (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "subsections", - "storageKey": null, "args": null, "concreteType": "ViewingRoomSubsection", + "kind": "LinkedField", + "name": "subsections", "plural": true, "selections": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "ARImage", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "imageURLs", - "storageKey": null, "args": null, "concreteType": "ImageURLs", + "kind": "LinkedField", + "name": "imageURLs", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "normalized", "args": null, + "kind": "ScalarField", + "name": "normalized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "caption", "args": null, + "kind": "ScalarField", + "name": "caption", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ViewingRoomStatementRoute_Test_Query", "id": null, - "text": "query ViewingRoomStatementRoute_Test_Query(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomStatementRoute_viewingRoom\n }\n}\n\nfragment ViewingRoomBody_viewingRoom on ViewingRoom {\n body\n}\n\nfragment ViewingRoomIntro_viewingRoom on ViewingRoom {\n introStatement\n}\n\nfragment ViewingRoomPullQuote_viewingRoom on ViewingRoom {\n pullQuote\n}\n\nfragment ViewingRoomStatementRoute_viewingRoom on ViewingRoom {\n ...ViewingRoomIntro_viewingRoom\n ...ViewingRoomWorks_viewingRoom\n ...ViewingRoomPullQuote_viewingRoom\n ...ViewingRoomBody_viewingRoom\n ...ViewingRoomSubsections_viewingRoom\n artworksConnection(first: 2) {\n totalCount\n }\n}\n\nfragment ViewingRoomSubsections_viewingRoom on ViewingRoom {\n subsections {\n internalID\n title\n body\n image {\n imageURLs {\n normalized\n }\n }\n caption\n }\n}\n\nfragment ViewingRoomWorks_viewingRoom on ViewingRoom {\n artworksConnection(first: 2) {\n totalCount\n edges {\n node {\n internalID\n imageUrl\n artistNames\n title\n date\n saleMessage\n id\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ViewingRoomStatementRoute_Test_Query", + "operationKind": "query", + "text": "query ViewingRoomStatementRoute_Test_Query(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomStatementRoute_viewingRoom\n }\n}\n\nfragment ViewingRoomBody_viewingRoom on ViewingRoom {\n body\n}\n\nfragment ViewingRoomIntro_viewingRoom on ViewingRoom {\n introStatement\n}\n\nfragment ViewingRoomPullQuote_viewingRoom on ViewingRoom {\n pullQuote\n}\n\nfragment ViewingRoomStatementRoute_viewingRoom on ViewingRoom {\n ...ViewingRoomIntro_viewingRoom\n ...ViewingRoomWorks_viewingRoom\n ...ViewingRoomPullQuote_viewingRoom\n ...ViewingRoomBody_viewingRoom\n ...ViewingRoomSubsections_viewingRoom\n artworksConnection(first: 2) {\n totalCount\n }\n}\n\nfragment ViewingRoomSubsections_viewingRoom on ViewingRoom {\n subsections {\n internalID\n title\n body\n image {\n imageURLs {\n normalized\n }\n }\n caption\n }\n}\n\nfragment ViewingRoomWorks_viewingRoom on ViewingRoom {\n artworksConnection(first: 2) {\n totalCount\n edges {\n node {\n internalID\n imageUrl\n artistNames\n title\n date\n saleMessage\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ViewingRoomStatementRoute_viewingRoom.graphql.ts b/src/v2/__generated__/ViewingRoomStatementRoute_viewingRoom.graphql.ts index bf482b3d5bc..e0d7df5db7e 100644 --- a/src/v2/__generated__/ViewingRoomStatementRoute_viewingRoom.graphql.ts +++ b/src/v2/__generated__/ViewingRoomStatementRoute_viewingRoom.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -18,17 +19,13 @@ export type ViewingRoomStatementRoute_viewingRoom$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ViewingRoomStatementRoute_viewingRoom", - "type": "ViewingRoom", "metadata": null, - "argumentDefinitions": [], + "name": "ViewingRoomStatementRoute_viewingRoom", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:2)", "args": [ { "kind": "Literal", @@ -37,43 +34,47 @@ const node: ReaderFragment = { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:2)" }, { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomIntro_viewingRoom", - "args": null + "name": "ViewingRoomIntro_viewingRoom" }, { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomWorks_viewingRoom", - "args": null + "name": "ViewingRoomWorks_viewingRoom" }, { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomPullQuote_viewingRoom", - "args": null + "name": "ViewingRoomPullQuote_viewingRoom" }, { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomBody_viewingRoom", - "args": null + "name": "ViewingRoomBody_viewingRoom" }, { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomSubsections_viewingRoom", - "args": null + "name": "ViewingRoomSubsections_viewingRoom" } - ] + ], + "type": "ViewingRoom" }; (node as any).hash = 'eb89dc547a16f9d2e7413352b51ab944'; export default node; diff --git a/src/v2/__generated__/ViewingRoomSubsections_viewingRoom.graphql.ts b/src/v2/__generated__/ViewingRoomSubsections_viewingRoom.graphql.ts index 3312a453fb0..93414efd2fe 100644 --- a/src/v2/__generated__/ViewingRoomSubsections_viewingRoom.graphql.ts +++ b/src/v2/__generated__/ViewingRoomSubsections_viewingRoom.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -25,81 +26,81 @@ export type ViewingRoomSubsections_viewingRoom$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ViewingRoomSubsections_viewingRoom", - "type": "ViewingRoom", "metadata": null, - "argumentDefinitions": [], + "name": "ViewingRoomSubsections_viewingRoom", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "subsections", - "storageKey": null, "args": null, "concreteType": "ViewingRoomSubsection", + "kind": "LinkedField", + "name": "subsections", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "body", "args": null, + "kind": "ScalarField", + "name": "body", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "ARImage", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "imageURLs", - "storageKey": null, "args": null, "concreteType": "ImageURLs", + "kind": "LinkedField", + "name": "imageURLs", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "normalized", "args": null, + "kind": "ScalarField", + "name": "normalized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "caption", "args": null, + "kind": "ScalarField", + "name": "caption", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "ViewingRoom" }; (node as any).hash = '3f1d6a976cc3a98198563a8e78f35c4a'; export default node; diff --git a/src/v2/__generated__/ViewingRoomWorksRoute_Test_Query.graphql.ts b/src/v2/__generated__/ViewingRoomWorksRoute_Test_Query.graphql.ts index a5890c9815c..d28114fd7d2 100644 --- a/src/v2/__generated__/ViewingRoomWorksRoute_Test_Query.graphql.ts +++ b/src/v2/__generated__/ViewingRoomWorksRoute_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -88,10 +89,10 @@ fragment ViewingRoomWorksRoute_viewingRoom on ViewingRoom { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -102,103 +103,95 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ViewingRoomWorksRoute_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ViewingRoomWorksRoute_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomWorksRoute_viewingRoom", - "args": null + "name": "ViewingRoomWorksRoute_viewingRoom" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ViewingRoomWorksRoute_Test_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": null, "args": null, "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "images", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "images", "plural": true, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:1100,version:\"normalized\")", "args": [ { "kind": "Literal", @@ -212,91 +205,99 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null } - ] + ], + "storageKey": "resized(height:1100,version:\"normalized\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "additionalInformation", "args": null, + "kind": "ScalarField", + "name": "additionalInformation", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ViewingRoomWorksRoute_Test_Query", "id": null, - "text": "query ViewingRoomWorksRoute_Test_Query(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomWorksRoute_viewingRoom\n }\n}\n\nfragment ViewingRoomArtworkDetails_artwork on Artwork {\n id\n additionalInformation\n artistNames\n title\n date\n href\n saleMessage\n}\n\nfragment ViewingRoomWorksRoute_viewingRoom on ViewingRoom {\n artworksConnection {\n edges {\n node {\n internalID\n title\n images {\n internalID\n resized(height: 1100, version: \"normalized\") {\n url\n width\n height\n }\n }\n ...ViewingRoomArtworkDetails_artwork\n id\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "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 ViewingRoomArtworkDetails_artwork on Artwork {\n id\n additionalInformation\n artistNames\n title\n date\n href\n saleMessage\n}\n\nfragment ViewingRoomWorksRoute_viewingRoom on ViewingRoom {\n artworksConnection {\n edges {\n node {\n internalID\n title\n images {\n internalID\n resized(height: 1100, version: \"normalized\") {\n url\n width\n height\n }\n }\n ...ViewingRoomArtworkDetails_artwork\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ViewingRoomWorksRoute_viewingRoom.graphql.ts b/src/v2/__generated__/ViewingRoomWorksRoute_viewingRoom.graphql.ts index d8c7001e169..c0c8bdc6ea9 100644 --- a/src/v2/__generated__/ViewingRoomWorksRoute_viewingRoom.graphql.ts +++ b/src/v2/__generated__/ViewingRoomWorksRoute_viewingRoom.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -32,69 +33,61 @@ export type ViewingRoomWorksRoute_viewingRoom$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ViewingRoomWorksRoute_viewingRoom", - "type": "ViewingRoom", "metadata": null, - "argumentDefinitions": [], + "name": "ViewingRoomWorksRoute_viewingRoom", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": null, "args": null, "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "images", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "images", "plural": true, "selections": [ (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:1100,version:\"normalized\")", "args": [ { "kind": "Literal", @@ -108,45 +101,53 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null } - ] + ], + "storageKey": "resized(height:1100,version:\"normalized\")" } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomArtworkDetails_artwork", - "args": null + "name": "ViewingRoomArtworkDetails_artwork" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "ViewingRoom" }; })(); (node as any).hash = '5eb993431963feae086cbb4bfcc063ca'; diff --git a/src/v2/__generated__/ViewingRoomWorks_viewingRoom.graphql.ts b/src/v2/__generated__/ViewingRoomWorks_viewingRoom.graphql.ts index eaec884602b..3b9e1402481 100644 --- a/src/v2/__generated__/ViewingRoomWorks_viewingRoom.graphql.ts +++ b/src/v2/__generated__/ViewingRoomWorks_viewingRoom.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -27,17 +28,13 @@ export type ViewingRoomWorks_viewingRoom$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ViewingRoomWorks_viewingRoom", - "type": "ViewingRoom", "metadata": null, - "argumentDefinitions": [], + "name": "ViewingRoomWorks_viewingRoom", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:2)", "args": [ { "kind": "Literal", @@ -46,82 +43,86 @@ const node: ReaderFragment = { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageUrl", "args": null, + "kind": "ScalarField", + "name": "imageUrl", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:2)" } - ] + ], + "type": "ViewingRoom" }; (node as any).hash = 'bb3cd65dc62fcfd09d126365aecc9e51'; export default node; diff --git a/src/v2/__generated__/ViewingRoomsApp_Test_Query.graphql.ts b/src/v2/__generated__/ViewingRoomsApp_Test_Query.graphql.ts index 8771b767fd0..f6cbcaa0203 100644 --- a/src/v2/__generated__/ViewingRoomsApp_Test_Query.graphql.ts +++ b/src/v2/__generated__/ViewingRoomsApp_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -171,54 +172,54 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v4 = { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "ARImage", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "imageURLs", - "storageKey": null, "args": null, "concreteType": "ImageURLs", + "kind": "LinkedField", + "name": "imageURLs", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "normalized", "args": null, + "kind": "ScalarField", + "name": "normalized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, v5 = [ { @@ -228,127 +229,123 @@ v5 = [ } ], v6 = { - "kind": "ScalarField", "alias": null, - "name": "distanceToOpen", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "distanceToOpen", "storageKey": "distanceToOpen(short:true)" }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "distanceToClose", "args": (v5/*: any*/), + "kind": "ScalarField", + "name": "distanceToClose", "storageKey": "distanceToClose(short:true)" }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v9 = { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v8/*: any*/) - ] + ], + "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ViewingRoomsApp_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "ViewingRoomsApp_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": "allViewingRooms", - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomsApp_allViewingRooms", - "args": null + "name": "ViewingRoomsApp_allViewingRooms" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "featuredViewingRooms", - "name": "viewingRooms", - "storageKey": "viewingRooms(featured:true)", "args": (v0/*: any*/), "concreteType": "ViewingRoomConnection", + "kind": "LinkedField", + "name": "viewingRooms", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomsApp_featuredViewingRooms", - "args": null + "name": "ViewingRoomsApp_featuredViewingRooms" } - ] + ], + "storageKey": "viewingRooms(featured:true)" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "ViewingRoomsApp_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": "allViewingRooms", - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoomsConnection", - "storageKey": null, "args": null, "concreteType": "ViewingRoomConnection", + "kind": "LinkedField", + "name": "viewingRoomsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ViewingRoomEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/), @@ -359,10 +356,7 @@ return { (v7/*: any*/), (v9/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:2)", "args": [ { "kind": "Literal", @@ -371,46 +365,43 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "square", - "name": "url", "args": [ { "kind": "Literal", @@ -418,12 +409,12 @@ return { "value": "square" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"square\")" }, { - "kind": "ScalarField", "alias": "regular", - "name": "url", "args": [ { "kind": "Literal", @@ -431,98 +422,105 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, (v8/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": null, - "name": "viewingRoomsConnection", "args": null, + "filters": null, "handle": "connection", "key": "ViewingRoomsLatestGrid_viewingRoomsConnection", - "filters": null + "kind": "LinkedHandle", + "name": "viewingRoomsConnection" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "featuredViewingRooms", - "name": "viewingRooms", - "storageKey": "viewingRooms(featured:true)", "args": (v0/*: any*/), "concreteType": "ViewingRoomConnection", + "kind": "LinkedField", + "name": "viewingRooms", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ViewingRoomEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), @@ -532,20 +530,23 @@ return { (v6/*: any*/), (v7/*: any*/), (v9/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "viewingRooms(featured:true)" } ] }, "params": { - "operationKind": "query", - "name": "ViewingRoomsApp_Test_Query", "id": null, - "text": "query ViewingRoomsApp_Test_Query {\n allViewingRooms: viewer {\n ...ViewingRoomsApp_allViewingRooms\n }\n featuredViewingRooms: viewingRooms(featured: true) {\n ...ViewingRoomsApp_featuredViewingRooms\n }\n}\n\nfragment ViewingRoomsApp_allViewingRooms on Viewer {\n ...ViewingRoomsLatestGrid_viewingRooms_9Znkm\n}\n\nfragment ViewingRoomsApp_featuredViewingRooms on ViewingRoomConnection {\n ...ViewingRoomsFeaturedRail_featuredViewingRooms\n}\n\nfragment ViewingRoomsFeaturedRail_featuredViewingRooms on ViewingRoomConnection {\n edges {\n node {\n status\n slug\n title\n image {\n imageURLs {\n normalized\n }\n }\n distanceToOpen(short: true)\n distanceToClose(short: true)\n partner {\n name\n id\n }\n }\n }\n}\n\nfragment ViewingRoomsLatestGrid_viewingRooms_9Znkm on Viewer {\n viewingRoomsConnection {\n edges {\n node {\n slug\n status\n title\n image {\n imageURLs {\n normalized\n }\n }\n distanceToOpen(short: true)\n distanceToClose(short: true)\n partner {\n name\n id\n }\n artworksConnection(first: 2) {\n totalCount\n edges {\n node {\n image {\n square: url(version: \"square\")\n regular: url(version: \"large\")\n }\n id\n }\n }\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ViewingRoomsApp_Test_Query", + "operationKind": "query", + "text": "query ViewingRoomsApp_Test_Query {\n allViewingRooms: viewer {\n ...ViewingRoomsApp_allViewingRooms\n }\n featuredViewingRooms: viewingRooms(featured: true) {\n ...ViewingRoomsApp_featuredViewingRooms\n }\n}\n\nfragment ViewingRoomsApp_allViewingRooms on Viewer {\n ...ViewingRoomsLatestGrid_viewingRooms_9Znkm\n}\n\nfragment ViewingRoomsApp_featuredViewingRooms on ViewingRoomConnection {\n ...ViewingRoomsFeaturedRail_featuredViewingRooms\n}\n\nfragment ViewingRoomsFeaturedRail_featuredViewingRooms on ViewingRoomConnection {\n edges {\n node {\n status\n slug\n title\n image {\n imageURLs {\n normalized\n }\n }\n distanceToOpen(short: true)\n distanceToClose(short: true)\n partner {\n name\n id\n }\n }\n }\n}\n\nfragment ViewingRoomsLatestGrid_viewingRooms_9Znkm on Viewer {\n viewingRoomsConnection {\n edges {\n node {\n slug\n status\n title\n image {\n imageURLs {\n normalized\n }\n }\n distanceToOpen(short: true)\n distanceToClose(short: true)\n partner {\n name\n id\n }\n artworksConnection(first: 2) {\n totalCount\n edges {\n node {\n image {\n square: url(version: \"square\")\n regular: url(version: \"large\")\n }\n id\n }\n }\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ViewingRoomsApp_allViewingRooms.graphql.ts b/src/v2/__generated__/ViewingRoomsApp_allViewingRooms.graphql.ts index 60e648af0fb..518d1bf669d 100644 --- a/src/v2/__generated__/ViewingRoomsApp_allViewingRooms.graphql.ts +++ b/src/v2/__generated__/ViewingRoomsApp_allViewingRooms.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,28 +16,25 @@ export type ViewingRoomsApp_allViewingRooms$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "ViewingRoomsApp_allViewingRooms", - "type": "Viewer", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": null, "kind": "LocalArgument", "name": "count", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" } ], + "kind": "Fragment", + "metadata": null, + "name": "ViewingRoomsApp_allViewingRooms", "selections": [ { - "kind": "FragmentSpread", - "name": "ViewingRoomsLatestGrid_viewingRooms", "args": [ { "kind": "Variable", @@ -48,9 +46,12 @@ const node: ReaderFragment = { "name": "count", "variableName": "count" } - ] + ], + "kind": "FragmentSpread", + "name": "ViewingRoomsLatestGrid_viewingRooms" } - ] + ], + "type": "Viewer" }; (node as any).hash = 'bac462a0b1f43ecffedeb54a49be7a86'; export default node; diff --git a/src/v2/__generated__/ViewingRoomsApp_featuredViewingRooms.graphql.ts b/src/v2/__generated__/ViewingRoomsApp_featuredViewingRooms.graphql.ts index f246e897bef..ae3560ce8e9 100644 --- a/src/v2/__generated__/ViewingRoomsApp_featuredViewingRooms.graphql.ts +++ b/src/v2/__generated__/ViewingRoomsApp_featuredViewingRooms.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -15,18 +16,18 @@ export type ViewingRoomsApp_featuredViewingRooms$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ViewingRoomsApp_featuredViewingRooms", - "type": "ViewingRoomConnection", "metadata": null, - "argumentDefinitions": [], + "name": "ViewingRoomsApp_featuredViewingRooms", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomsFeaturedRail_featuredViewingRooms", - "args": null + "name": "ViewingRoomsFeaturedRail_featuredViewingRooms" } - ] + ], + "type": "ViewingRoomConnection" }; (node as any).hash = '25c9423c629024672425973f7b3d17ac'; export default node; diff --git a/src/v2/__generated__/ViewingRoomsFeaturedRail_featuredViewingRooms.graphql.ts b/src/v2/__generated__/ViewingRoomsFeaturedRail_featuredViewingRooms.graphql.ts index 52f27f05b74..f6fb7ee5775 100644 --- a/src/v2/__generated__/ViewingRoomsFeaturedRail_featuredViewingRooms.graphql.ts +++ b/src/v2/__generated__/ViewingRoomsFeaturedRail_featuredViewingRooms.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -39,117 +40,117 @@ var v0 = [ } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "ViewingRoomsFeaturedRail_featuredViewingRooms", - "type": "ViewingRoomConnection", "metadata": null, - "argumentDefinitions": [], + "name": "ViewingRoomsFeaturedRail_featuredViewingRooms", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ViewingRoomEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "ARImage", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "imageURLs", - "storageKey": null, "args": null, "concreteType": "ImageURLs", + "kind": "LinkedField", + "name": "imageURLs", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "normalized", "args": null, + "kind": "ScalarField", + "name": "normalized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToOpen", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "distanceToOpen", "storageKey": "distanceToOpen(short:true)" }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToClose", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "distanceToClose", "storageKey": "distanceToClose(short:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "ViewingRoomConnection" }; })(); (node as any).hash = '9dd834600e28760b97b9b24b16f60122'; diff --git a/src/v2/__generated__/ViewingRoomsLatestGrid_ViewingRoomsAppQuery.graphql.ts b/src/v2/__generated__/ViewingRoomsLatestGrid_ViewingRoomsAppQuery.graphql.ts index 7d74ea6577d..f396eeaf1f2 100644 --- a/src/v2/__generated__/ViewingRoomsLatestGrid_ViewingRoomsAppQuery.graphql.ts +++ b/src/v2/__generated__/ViewingRoomsLatestGrid_ViewingRoomsAppQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -77,16 +78,16 @@ fragment ViewingRoomsLatestGrid_viewingRooms_2QE1um on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "count", - "type": "Int!", - "defaultValue": null + "type": "Int!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" } ], v1 = { @@ -110,33 +111,28 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "ViewingRoomsLatestGrid_ViewingRoomsAppQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "ViewingRoomsLatestGrid_ViewingRoomsAppQuery", "selections": [ { - "kind": "LinkedField", "alias": "allViewingRooms", - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "ViewingRoomsApp_allViewingRooms", "args": [ (v1/*: any*/), { @@ -144,141 +140,139 @@ return { "name": "count", "variableName": "count" } - ] + ], + "kind": "FragmentSpread", + "name": "ViewingRoomsApp_allViewingRooms" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ViewingRoomsLatestGrid_ViewingRoomsAppQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": "allViewingRooms", - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoomsConnection", - "storageKey": null, "args": (v2/*: any*/), "concreteType": "ViewingRoomConnection", + "kind": "LinkedField", + "name": "viewingRoomsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ViewingRoomEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "ARImage", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "imageURLs", - "storageKey": null, "args": null, "concreteType": "ImageURLs", + "kind": "LinkedField", + "name": "imageURLs", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "normalized", "args": null, + "kind": "ScalarField", + "name": "normalized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToOpen", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "distanceToOpen", "storageKey": "distanceToOpen(short:true)" }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToClose", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "distanceToClose", "storageKey": "distanceToClose(short:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:2)", "args": [ { "kind": "Literal", @@ -287,46 +281,43 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "square", - "name": "url", "args": [ { "kind": "Literal", @@ -334,12 +325,12 @@ return { "value": "square" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"square\")" }, { - "kind": "ScalarField", "alias": "regular", - "name": "url", "args": [ { "kind": "Literal", @@ -347,81 +338,91 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": null, - "name": "viewingRoomsConnection", "args": (v2/*: any*/), + "filters": null, "handle": "connection", "key": "ViewingRoomsLatestGrid_viewingRoomsConnection", - "filters": null + "kind": "LinkedHandle", + "name": "viewingRoomsConnection" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "ViewingRoomsLatestGrid_ViewingRoomsAppQuery", "id": null, - "text": "query ViewingRoomsLatestGrid_ViewingRoomsAppQuery(\n $count: Int!\n $after: String\n) {\n allViewingRooms: viewer {\n ...ViewingRoomsApp_allViewingRooms_2QE1um\n }\n}\n\nfragment ViewingRoomsApp_allViewingRooms_2QE1um on Viewer {\n ...ViewingRoomsLatestGrid_viewingRooms_2QE1um\n}\n\nfragment ViewingRoomsLatestGrid_viewingRooms_2QE1um on Viewer {\n viewingRoomsConnection(first: $count, after: $after) {\n edges {\n node {\n slug\n status\n title\n image {\n imageURLs {\n normalized\n }\n }\n distanceToOpen(short: true)\n distanceToClose(short: true)\n partner {\n name\n id\n }\n artworksConnection(first: 2) {\n totalCount\n edges {\n node {\n image {\n square: url(version: \"square\")\n regular: url(version: \"large\")\n }\n id\n }\n }\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "ViewingRoomsLatestGrid_ViewingRoomsAppQuery", + "operationKind": "query", + "text": "query ViewingRoomsLatestGrid_ViewingRoomsAppQuery(\n $count: Int!\n $after: String\n) {\n allViewingRooms: viewer {\n ...ViewingRoomsApp_allViewingRooms_2QE1um\n }\n}\n\nfragment ViewingRoomsApp_allViewingRooms_2QE1um on Viewer {\n ...ViewingRoomsLatestGrid_viewingRooms_2QE1um\n}\n\nfragment ViewingRoomsLatestGrid_viewingRooms_2QE1um on Viewer {\n viewingRoomsConnection(first: $count, after: $after) {\n edges {\n node {\n slug\n status\n title\n image {\n imageURLs {\n normalized\n }\n }\n distanceToOpen(short: true)\n distanceToClose(short: true)\n partner {\n name\n id\n }\n artworksConnection(first: 2) {\n totalCount\n edges {\n node {\n image {\n square: url(version: \"square\")\n regular: url(version: \"large\")\n }\n id\n }\n }\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/ViewingRoomsLatestGrid_viewingRooms.graphql.ts b/src/v2/__generated__/ViewingRoomsLatestGrid_viewingRooms.graphql.ts index ad235bc256e..04c77a01d6d 100644 --- a/src/v2/__generated__/ViewingRoomsLatestGrid_viewingRooms.graphql.ts +++ b/src/v2/__generated__/ViewingRoomsLatestGrid_viewingRooms.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -52,9 +53,21 @@ var v0 = [ } ]; return { + "argumentDefinitions": [ + { + "defaultValue": null, + "kind": "LocalArgument", + "name": "count", + "type": "Int" + }, + { + "defaultValue": null, + "kind": "LocalArgument", + "name": "after", + "type": "String" + } + ], "kind": "Fragment", - "name": "ViewingRoomsLatestGrid_viewingRooms", - "type": "Viewer", "metadata": { "connection": [ { @@ -67,135 +80,116 @@ return { } ] }, - "argumentDefinitions": [ - { - "kind": "LocalArgument", - "name": "count", - "type": "Int", - "defaultValue": null - }, - { - "kind": "LocalArgument", - "name": "after", - "type": "String", - "defaultValue": null - } - ], + "name": "ViewingRoomsLatestGrid_viewingRooms", "selections": [ { - "kind": "LinkedField", "alias": "viewingRoomsConnection", - "name": "__ViewingRoomsLatestGrid_viewingRoomsConnection_connection", - "storageKey": null, "args": null, "concreteType": "ViewingRoomConnection", + "kind": "LinkedField", + "name": "__ViewingRoomsLatestGrid_viewingRoomsConnection_connection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ViewingRoomEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "ARImage", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "imageURLs", - "storageKey": null, "args": null, "concreteType": "ImageURLs", + "kind": "LinkedField", + "name": "imageURLs", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "normalized", "args": null, + "kind": "ScalarField", + "name": "normalized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToOpen", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "distanceToOpen", "storageKey": "distanceToOpen(short:true)" }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToClose", "args": (v0/*: any*/), + "kind": "ScalarField", + "name": "distanceToClose", "storageKey": "distanceToClose(short:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:2)", "args": [ { "kind": "Literal", @@ -204,46 +198,43 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "square", - "name": "url", "args": [ { "kind": "Literal", @@ -251,12 +242,12 @@ return { "value": "square" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"square\")" }, { - "kind": "ScalarField", "alias": "regular", - "name": "url", "args": [ { "kind": "Literal", @@ -264,62 +255,72 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Viewer" }; })(); (node as any).hash = 'b6896b93750dae0588d5bf553f583f93'; diff --git a/src/v2/__generated__/WorksForSaleRailRendererQuery.graphql.ts b/src/v2/__generated__/WorksForSaleRailRendererQuery.graphql.ts index b3b17eeeb03..5bb78daf4e7 100644 --- a/src/v2/__generated__/WorksForSaleRailRendererQuery.graphql.ts +++ b/src/v2/__generated__/WorksForSaleRailRendererQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -157,10 +158,10 @@ fragment WorksForSaleRail_artist on Artist { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -171,17 +172,17 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v4 = [ @@ -192,74 +193,70 @@ v4 = [ } ], v5 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v6 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], v7 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "WorksForSaleRailRendererQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "WorksForSaleRailRendererQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "WorksForSaleRail_artist", - "args": null + "name": "WorksForSaleRail_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "WorksForSaleRailRendererQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:20,sort:\"AVAILABILITY_ASC\")", "args": [ { "kind": "Literal", @@ -273,47 +270,44 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -321,265 +315,272 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v4/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v2/*: any*/), (v3/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v4/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v5/*: any*/), (v3/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:20,sort:\"AVAILABILITY_ASC\")" }, (v2/*: any*/), (v7/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "WorksForSaleRailRendererQuery", "id": null, - "text": "query WorksForSaleRailRendererQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...WorksForSaleRail_artist\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment WorksForSaleRail_artist on Artist {\n artworksConnection(first: 20, sort: AVAILABILITY_ASC) {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n }\n ...FollowArtistButton_artist\n}\n", - "metadata": {} + "metadata": {}, + "name": "WorksForSaleRailRendererQuery", + "operationKind": "query", + "text": "query WorksForSaleRailRendererQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...WorksForSaleRail_artist\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment WorksForSaleRail_artist on Artist {\n artworksConnection(first: 20, sort: AVAILABILITY_ASC) {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n }\n ...FollowArtistButton_artist\n}\n" } }; })(); diff --git a/src/v2/__generated__/WorksForSaleRail_Test_Query.graphql.ts b/src/v2/__generated__/WorksForSaleRail_Test_Query.graphql.ts index eb2e153ddf5..30ab5669331 100644 --- a/src/v2/__generated__/WorksForSaleRail_Test_Query.graphql.ts +++ b/src/v2/__generated__/WorksForSaleRail_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -226,17 +227,17 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v3 = [ @@ -247,74 +248,70 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v5 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], v6 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "WorksForSaleRail_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "WorksForSaleRail_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"andy-warhol\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "WorksForSaleRail_artist", - "args": null + "name": "WorksForSaleRail_artist" } - ] + ], + "storageKey": "artist(id:\"andy-warhol\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "WorksForSaleRail_Test_Query", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"andy-warhol\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:20,sort:\"AVAILABILITY_ASC\")", "args": [ { "kind": "Literal", @@ -328,47 +325,44 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -376,265 +370,272 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v3/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v1/*: any*/), (v2/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v3/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v4/*: any*/), (v2/*: any*/), (v1/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v1/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:20,sort:\"AVAILABILITY_ASC\")" }, (v1/*: any*/), (v6/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artist(id:\"andy-warhol\")" } ] }, "params": { - "operationKind": "query", - "name": "WorksForSaleRail_Test_Query", "id": null, - "text": "query WorksForSaleRail_Test_Query {\n artist(id: \"andy-warhol\") {\n ...WorksForSaleRail_artist\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment WorksForSaleRail_artist on Artist {\n artworksConnection(first: 20, sort: AVAILABILITY_ASC) {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n }\n ...FollowArtistButton_artist\n}\n", - "metadata": {} + "metadata": {}, + "name": "WorksForSaleRail_Test_Query", + "operationKind": "query", + "text": "query WorksForSaleRail_Test_Query {\n artist(id: \"andy-warhol\") {\n ...WorksForSaleRail_artist\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment WorksForSaleRail_artist on Artist {\n artworksConnection(first: 20, sort: AVAILABILITY_ASC) {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n }\n ...FollowArtistButton_artist\n}\n" } }; })(); diff --git a/src/v2/__generated__/WorksForSaleRail_artist.graphql.ts b/src/v2/__generated__/WorksForSaleRail_artist.graphql.ts index 145eac3ef7d..6557f2d63f4 100644 --- a/src/v2/__generated__/WorksForSaleRail_artist.graphql.ts +++ b/src/v2/__generated__/WorksForSaleRail_artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -26,17 +27,13 @@ export type WorksForSaleRail_artist$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "WorksForSaleRail_artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "WorksForSaleRail_artist", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:20,sort:\"AVAILABILITY_ASC\")", "args": [ { "kind": "Literal", @@ -50,68 +47,72 @@ const node: ReaderFragment = { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "FillwidthItem_artwork", - "args": null + "name": "FillwidthItem_artwork" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:20,sort:\"AVAILABILITY_ASC\")" }, { + "args": null, "kind": "FragmentSpread", - "name": "FollowArtistButton_artist", - "args": null + "name": "FollowArtistButton_artist" } - ] + ], + "type": "Artist" }; (node as any).hash = '02986b550f6f0e00853e117d22f1ece9'; export default node; diff --git a/src/v2/__generated__/WorksForYouArtistFeedPaginationQuery.graphql.ts b/src/v2/__generated__/WorksForYouArtistFeedPaginationQuery.graphql.ts index e7d497c6a97..33c4e00a904 100644 --- a/src/v2/__generated__/WorksForYouArtistFeedPaginationQuery.graphql.ts +++ b/src/v2/__generated__/WorksForYouArtistFeedPaginationQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -7,7 +8,7 @@ export type WorksForYouArtistFeedPaginationQueryVariables = { artistID: string; count: number; cursor?: string | null; - filter?: ReadonlyArray | null; + filter?: Array | null; }; export type WorksForYouArtistFeedPaginationQueryResponse = { readonly viewer: { @@ -190,28 +191,28 @@ fragment WorksForYouArtistFeed_viewer_VuLYe on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "count", - "type": "Int!", - "defaultValue": null + "type": "Int!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "cursor", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "filter", - "type": "[ArtistArtworksFilters]", - "defaultValue": null + "type": "[ArtistArtworksFilters]" } ], v1 = { @@ -220,17 +221,17 @@ v1 = { "variableName": "filter" }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v4 = [ @@ -252,17 +253,17 @@ v4 = [ } ], v5 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v7 = [ @@ -274,34 +275,29 @@ v7 = [ ], v8 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "WorksForYouArtistFeedPaginationQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "WorksForYouArtistFeedPaginationQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "WorksForYouArtistFeed_viewer", "args": [ { "kind": "Variable", @@ -319,31 +315,32 @@ return { "variableName": "cursor" }, (v1/*: any*/) - ] + ], + "kind": "FragmentSpread", + "name": "WorksForYouArtistFeed_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "WorksForYouArtistFeedPaginationQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": [ { "kind": "Variable", @@ -352,49 +349,47 @@ return { } ], "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "artworks", "args": null, + "kind": "ScalarField", + "name": "artworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "for_sale_artworks", - "name": "forSaleArtworks", "args": null, + "kind": "ScalarField", + "name": "forSaleArtworks", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:80,width:80)", "args": [ { "kind": "Literal", @@ -408,115 +403,113 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(height:80,width:80)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artworks_connection", - "name": "artworksConnection", - "storageKey": null, "args": (v4/*: any*/), "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -524,252 +517,260 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v7/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v6/*: any*/), (v3/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v7/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v6/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v8/*: any*/) + "selections": (v8/*: any*/), + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": null }, (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": "artworks_connection", - "name": "artworksConnection", "args": (v4/*: any*/), - "handle": "connection", - "key": "WorksForYouArtistFeed_artworks_connection", "filters": [ "sort", "filter" - ] + ], + "handle": "connection", + "key": "WorksForYouArtistFeed_artworks_connection", + "kind": "LinkedHandle", + "name": "artworksConnection" }, (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "WorksForYouArtistFeedPaginationQuery", "id": null, - "text": "query WorksForYouArtistFeedPaginationQuery(\n $artistID: String!\n $count: Int!\n $cursor: String\n $filter: [ArtistArtworksFilters]\n) {\n viewer {\n ...WorksForYouArtistFeed_viewer_VuLYe\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment WorksForYouArtistFeed_viewer_VuLYe on Viewer {\n artist(id: $artistID) {\n name\n href\n counts {\n artworks\n for_sale_artworks: forSaleArtworks\n }\n image {\n resized(height: 80, width: 80) {\n url\n }\n }\n artworks_connection: artworksConnection(sort: PUBLISHED_AT_DESC, first: $count, after: $cursor, filter: $filter) {\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n }\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "WorksForYouArtistFeedPaginationQuery", + "operationKind": "query", + "text": "query WorksForYouArtistFeedPaginationQuery(\n $artistID: String!\n $count: Int!\n $cursor: String\n $filter: [ArtistArtworksFilters]\n) {\n viewer {\n ...WorksForYouArtistFeed_viewer_VuLYe\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment WorksForYouArtistFeed_viewer_VuLYe on Viewer {\n artist(id: $artistID) {\n name\n href\n counts {\n artworks\n for_sale_artworks: forSaleArtworks\n }\n image {\n resized(height: 80, width: 80) {\n url\n }\n }\n artworks_connection: artworksConnection(sort: PUBLISHED_AT_DESC, first: $count, after: $cursor, filter: $filter) {\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/WorksForYouArtistFeed_viewer.graphql.ts b/src/v2/__generated__/WorksForYouArtistFeed_viewer.graphql.ts index a658e21f5ab..3731d283dca 100644 --- a/src/v2/__generated__/WorksForYouArtistFeed_viewer.graphql.ts +++ b/src/v2/__generated__/WorksForYouArtistFeed_viewer.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -39,56 +40,52 @@ export type WorksForYouArtistFeed_viewer$key = { const node: ReaderFragment = { - "kind": "Fragment", - "name": "WorksForYouArtistFeed_viewer", - "type": "Viewer", - "metadata": { - "connection": [ - { - "count": "count", - "cursor": "cursor", - "direction": "forward", - "path": [ - "artist", - "artworks_connection" - ] - } - ] - }, "argumentDefinitions": [ { + "defaultValue": 10, "kind": "LocalArgument", "name": "count", - "type": "Int", - "defaultValue": 10 + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "cursor", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": "", "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": "" + "type": "String!" }, { - "kind": "LocalArgument", - "name": "filter", - "type": "[ArtistArtworksFilters]", "defaultValue": [ "IS_FOR_SALE" - ] + ], + "kind": "LocalArgument", + "name": "filter", + "type": "[ArtistArtworksFilters]" } ], + "kind": "Fragment", + "metadata": { + "connection": [ + { + "count": "count", + "cursor": "cursor", + "direction": "forward", + "path": [ + "artist", + "artworks_connection" + ] + } + ] + }, + "name": "WorksForYouArtistFeed_viewer", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": [ { "kind": "Variable", @@ -97,61 +94,59 @@ const node: ReaderFragment = { } ], "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "artworks", "args": null, + "kind": "ScalarField", + "name": "artworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "for_sale_artworks", - "name": "forSaleArtworks", "args": null, + "kind": "ScalarField", + "name": "forSaleArtworks", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:80,width:80)", "args": [ { "kind": "Literal", @@ -165,24 +160,25 @@ const node: ReaderFragment = { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(height:80,width:80)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artworks_connection", - "name": "__WorksForYouArtistFeed_artworks_connection_connection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -196,86 +192,91 @@ const node: ReaderFragment = { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "__WorksForYouArtistFeed_artworks_connection_connection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkGrid_artworks", - "args": null + "name": "ArtworkGrid_artworks" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Viewer" }; (node as any).hash = '108ebf12e061723fcad5a9f85fc4d787'; export default node; diff --git a/src/v2/__generated__/WorksForYouFeedPaginationQuery.graphql.ts b/src/v2/__generated__/WorksForYouFeedPaginationQuery.graphql.ts index 4313a5960ce..2afe089c374 100644 --- a/src/v2/__generated__/WorksForYouFeedPaginationQuery.graphql.ts +++ b/src/v2/__generated__/WorksForYouFeedPaginationQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -187,16 +188,16 @@ fragment WorksForYouFeed_viewer_1G22uz on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "count", - "type": "Int!", - "defaultValue": null + "type": "Int!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "cursor", - "type": "String", - "defaultValue": null + "type": "String" } ], v1 = [ @@ -222,24 +223,24 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v5 = [ @@ -250,42 +251,37 @@ v5 = [ } ], v6 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v7 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "WorksForYouFeedPaginationQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "WorksForYouFeedPaginationQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "WorksForYouFeed_viewer", "args": [ { "kind": "Variable", @@ -297,116 +293,113 @@ return { "name": "cursor", "variableName": "cursor" } - ] + ], + "kind": "FragmentSpread", + "name": "WorksForYouFeed_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "WorksForYouFeedPaginationQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "followsAndSaves", - "storageKey": null, "args": null, "concreteType": "FollowsAndSaves", + "kind": "LinkedField", + "name": "followsAndSaves", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "notifications", - "name": "bundledArtworksByArtistConnection", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "FollowedArtistsArtworksGroupConnection", + "kind": "LinkedField", + "name": "bundledArtworksByArtistConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FollowedArtistsArtworksGroupEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "FollowedArtistsArtworksGroup", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "summary", "args": null, + "kind": "ScalarField", + "name": "summary", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artists", "args": null, + "kind": "ScalarField", + "name": "artists", "storageKey": null }, { - "kind": "ScalarField", "alias": "published_at", - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -414,79 +407,75 @@ return { "value": "MMM DD" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM DD\")" }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": null, "args": null, "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -494,233 +483,235 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v5/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v2/*: any*/), (v3/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v5/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v6/*: any*/), (v3/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:80,width:80)", "args": [ { "kind": "Literal", @@ -734,60 +725,70 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(height:80,width:80)" } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": "notifications", - "name": "bundledArtworksByArtistConnection", "args": (v1/*: any*/), - "handle": "connection", - "key": "WorksForYou_notifications", "filters": [ "sort", "forSale" - ] + ], + "handle": "connection", + "key": "WorksForYou_notifications", + "kind": "LinkedHandle", + "name": "bundledArtworksByArtistConnection" } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "WorksForYouFeedPaginationQuery", "id": null, - "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 edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment WorksForYouFeed_viewer_1G22uz on Viewer {\n me {\n followsAndSaves {\n notifications: 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 published_at: publishedAt(format: \"MMM DD\")\n artworksConnection {\n ...ArtworkGrid_artworks\n }\n image {\n resized(height: 80, width: 80) {\n url\n }\n }\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n", - "metadata": {} + "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 edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment WorksForYouFeed_viewer_1G22uz on Viewer {\n me {\n followsAndSaves {\n notifications: 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 published_at: publishedAt(format: \"MMM DD\")\n artworksConnection {\n ...ArtworkGrid_artworks\n }\n image {\n resized(height: 80, width: 80) {\n url\n }\n }\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/WorksForYouFeed_viewer.graphql.ts b/src/v2/__generated__/WorksForYouFeed_viewer.graphql.ts index 7679ac9441a..29ba554c2ab 100644 --- a/src/v2/__generated__/WorksForYouFeed_viewer.graphql.ts +++ b/src/v2/__generated__/WorksForYouFeed_viewer.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -41,9 +42,27 @@ export type WorksForYouFeed_viewer$key = { const node: ReaderFragment = { + "argumentDefinitions": [ + { + "defaultValue": 10, + "kind": "LocalArgument", + "name": "count", + "type": "Int" + }, + { + "defaultValue": null, + "kind": "LocalArgument", + "name": "cursor", + "type": "String" + }, + { + "defaultValue": true, + "kind": "LocalArgument", + "name": "forSale", + "type": "Boolean" + } + ], "kind": "Fragment", - "name": "WorksForYouFeed_viewer", - "type": "Viewer", "metadata": { "connection": [ { @@ -58,50 +77,26 @@ const node: ReaderFragment = { } ] }, - "argumentDefinitions": [ - { - "kind": "LocalArgument", - "name": "count", - "type": "Int", - "defaultValue": 10 - }, - { - "kind": "LocalArgument", - "name": "cursor", - "type": "String", - "defaultValue": null - }, - { - "kind": "LocalArgument", - "name": "forSale", - "type": "Boolean", - "defaultValue": true - } - ], + "name": "WorksForYouFeed_viewer", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "followsAndSaves", - "storageKey": null, "args": null, "concreteType": "FollowsAndSaves", + "kind": "LinkedField", + "name": "followsAndSaves", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "notifications", - "name": "__WorksForYou_notifications_connection", - "storageKey": null, "args": [ { "kind": "Variable", @@ -115,83 +110,81 @@ const node: ReaderFragment = { } ], "concreteType": "FollowedArtistsArtworksGroupConnection", + "kind": "LinkedField", + "name": "__WorksForYou_notifications_connection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FollowedArtistsArtworksGroupEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "FollowedArtistsArtworksGroup", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "summary", "args": null, + "kind": "ScalarField", + "name": "summary", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artists", "args": null, + "kind": "ScalarField", + "name": "artists", "storageKey": null }, { - "kind": "ScalarField", "alias": "published_at", - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -199,38 +192,36 @@ const node: ReaderFragment = { "value": "MMM DD" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM DD\")" }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": null, "args": null, "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkGrid_artworks", - "args": null + "name": "ArtworkGrid_artworks" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:80,width:80)", "args": [ { "kind": "Literal", @@ -244,44 +235,54 @@ const node: ReaderFragment = { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(height:80,width:80)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Viewer" }; (node as any).hash = 'bd5d74879f1919eade9e0b94cdbcb3f6'; export default node; diff --git a/src/v2/__generated__/WorksForYouQuery.graphql.ts b/src/v2/__generated__/WorksForYouQuery.graphql.ts index 056b71ef181..e0c67131b2a 100644 --- a/src/v2/__generated__/WorksForYouQuery.graphql.ts +++ b/src/v2/__generated__/WorksForYouQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -7,7 +8,7 @@ export type WorksForYouQueryVariables = { includeSelectedArtist: boolean; artistID: string; forSale?: boolean | null; - filter?: ReadonlyArray | null; + filter?: Array | null; }; export type WorksForYouQueryResponse = { readonly viewer: { @@ -224,28 +225,28 @@ fragment WorksForYouFeed_viewer_2l4hpM on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "includeSelectedArtist", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "filter", - "type": "[ArtistArtworksFilters]", - "defaultValue": null + "type": "[ArtistArtworksFilters]" } ], v1 = { @@ -274,92 +275,89 @@ v5 = [ (v4/*: any*/) ], v6 = { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v12 = { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -367,43 +365,46 @@ v12 = { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v14 = { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, v16 = { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, v17 = { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, v18 = [ @@ -414,202 +415,198 @@ v18 = [ } ], v19 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v20 = { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v18/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v7/*: any*/), (v8/*: any*/), (v19/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, v21 = { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, v22 = { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v18/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v19/*: any*/), (v8/*: any*/), (v7/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, v23 = { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, v24 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], v25 = { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v24/*: any*/) + "selections": (v24/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v24/*: any*/) + "selections": (v24/*: any*/), + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null }, v26 = { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, v27 = { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, v28 = { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, v29 = { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:80,width:80)", "args": [ { "kind": "Literal", @@ -623,24 +620,28 @@ v29 = { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(height:80,width:80)" } - ] + ], + "storageKey": null }, v30 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v31 = [ @@ -649,45 +650,40 @@ v31 = [ (v4/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "WorksForYouQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "WorksForYouQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { + "condition": "includeSelectedArtist", "kind": "Condition", "passingValue": false, - "condition": "includeSelectedArtist", "selections": [ { - "kind": "FragmentSpread", - "name": "WorksForYouFeed_viewer", "args": [ (v1/*: any*/) - ] + ], + "kind": "FragmentSpread", + "name": "WorksForYouFeed_viewer" } ] }, { + "condition": "includeSelectedArtist", "kind": "Condition", "passingValue": true, - "condition": "includeSelectedArtist", "selections": [ { - "kind": "FragmentSpread", - "name": "WorksForYouArtistFeed_viewer", "args": [ { "kind": "Variable", @@ -695,99 +691,96 @@ return { "variableName": "artistID" }, (v2/*: any*/) - ] + ], + "kind": "FragmentSpread", + "name": "WorksForYouArtistFeed_viewer" } ] } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "WorksForYouQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { + "condition": "includeSelectedArtist", "kind": "Condition", "passingValue": false, - "condition": "includeSelectedArtist", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "followsAndSaves", - "storageKey": null, "args": null, "concreteType": "FollowsAndSaves", + "kind": "LinkedField", + "name": "followsAndSaves", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "notifications", - "name": "bundledArtworksByArtistConnection", - "storageKey": null, "args": (v5/*: any*/), "concreteType": "FollowedArtistsArtworksGroupConnection", + "kind": "LinkedField", + "name": "bundledArtworksByArtistConnection", "plural": false, "selections": [ (v6/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FollowedArtistsArtworksGroupEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "FollowedArtistsArtworksGroup", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v7/*: any*/), (v8/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "summary", "args": null, + "kind": "ScalarField", + "name": "summary", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artists", "args": null, + "kind": "ScalarField", + "name": "artists", "storageKey": null }, { - "kind": "ScalarField", "alias": "published_at", - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -795,34 +788,33 @@ return { "value": "MMM DD" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM DD\")" }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": null, "args": null, "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ (v9/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v7/*: any*/), @@ -843,51 +835,56 @@ return { (v26/*: any*/), (v27/*: any*/), (v28/*: any*/) - ] + ], + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v29/*: any*/), (v9/*: any*/) - ] + ], + "storageKey": null }, (v30/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": "notifications", - "name": "bundledArtworksByArtistConnection", "args": (v5/*: any*/), - "handle": "connection", - "key": "WorksForYou_notifications", "filters": [ "sort", "forSale" - ] + ], + "handle": "connection", + "key": "WorksForYou_notifications", + "kind": "LinkedHandle", + "name": "bundledArtworksByArtistConnection" } - ] + ], + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null } ] }, { + "condition": "includeSelectedArtist", "kind": "Condition", "passingValue": true, - "condition": "includeSelectedArtist", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": [ { "kind": "Variable", @@ -896,63 +893,62 @@ return { } ], "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v19/*: any*/), (v8/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "artworks", "args": null, + "kind": "ScalarField", + "name": "artworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "for_sale_artworks", - "name": "forSaleArtworks", "args": null, + "kind": "ScalarField", + "name": "forSaleArtworks", "storageKey": null } - ] + ], + "storageKey": null }, (v29/*: any*/), { - "kind": "LinkedField", "alias": "artworks_connection", - "name": "artworksConnection", - "storageKey": null, "args": (v31/*: any*/), "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ (v6/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ (v9/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v7/*: any*/), @@ -974,41 +970,46 @@ return { (v27/*: any*/), (v28/*: any*/), (v9/*: any*/) - ] + ], + "storageKey": null }, (v7/*: any*/), (v30/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": "artworks_connection", - "name": "artworksConnection", "args": (v31/*: any*/), - "handle": "connection", - "key": "WorksForYouArtistFeed_artworks_connection", "filters": [ "sort", "filter" - ] + ], + "handle": "connection", + "key": "WorksForYouArtistFeed_artworks_connection", + "kind": "LinkedHandle", + "name": "artworksConnection" }, (v7/*: any*/) - ] + ], + "storageKey": null } ] } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "WorksForYouQuery", "id": null, - "text": "query WorksForYouQuery(\n $includeSelectedArtist: Boolean!\n $artistID: String!\n $forSale: Boolean\n $filter: [ArtistArtworksFilters]\n) {\n viewer {\n ...WorksForYouFeed_viewer_2l4hpM @skip(if: $includeSelectedArtist)\n ...WorksForYouArtistFeed_viewer_45bsh6 @include(if: $includeSelectedArtist)\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment WorksForYouArtistFeed_viewer_45bsh6 on Viewer {\n artist(id: $artistID) {\n name\n href\n counts {\n artworks\n for_sale_artworks: forSaleArtworks\n }\n image {\n resized(height: 80, width: 80) {\n url\n }\n }\n artworks_connection: artworksConnection(sort: PUBLISHED_AT_DESC, first: 10, filter: $filter) {\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n }\n id\n }\n}\n\nfragment WorksForYouFeed_viewer_2l4hpM on Viewer {\n me {\n followsAndSaves {\n notifications: bundledArtworksByArtistConnection(sort: PUBLISHED_AT_DESC, first: 10, forSale: $forSale) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n href\n summary\n artists\n published_at: publishedAt(format: \"MMM DD\")\n artworksConnection {\n ...ArtworkGrid_artworks\n }\n image {\n resized(height: 80, width: 80) {\n url\n }\n }\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "WorksForYouQuery", + "operationKind": "query", + "text": "query WorksForYouQuery(\n $includeSelectedArtist: Boolean!\n $artistID: String!\n $forSale: Boolean\n $filter: [ArtistArtworksFilters]\n) {\n viewer {\n ...WorksForYouFeed_viewer_2l4hpM @skip(if: $includeSelectedArtist)\n ...WorksForYouArtistFeed_viewer_45bsh6 @include(if: $includeSelectedArtist)\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment WorksForYouArtistFeed_viewer_45bsh6 on Viewer {\n artist(id: $artistID) {\n name\n href\n counts {\n artworks\n for_sale_artworks: forSaleArtworks\n }\n image {\n resized(height: 80, width: 80) {\n url\n }\n }\n artworks_connection: artworksConnection(sort: PUBLISHED_AT_DESC, first: 10, filter: $filter) {\n pageInfo {\n hasNextPage\n endCursor\n }\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n __typename\n }\n cursor\n }\n }\n id\n }\n}\n\nfragment WorksForYouFeed_viewer_2l4hpM on Viewer {\n me {\n followsAndSaves {\n notifications: bundledArtworksByArtistConnection(sort: PUBLISHED_AT_DESC, first: 10, forSale: $forSale) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n href\n summary\n artists\n published_at: publishedAt(format: \"MMM DD\")\n artworksConnection {\n ...ArtworkGrid_artworks\n }\n image {\n resized(height: 80, width: 80) {\n url\n }\n }\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/Works_Test_Query.graphql.ts b/src/v2/__generated__/Works_Test_Query.graphql.ts index 8ee28f865d4..8f15c730774 100644 --- a/src/v2/__generated__/Works_Test_Query.graphql.ts +++ b/src/v2/__generated__/Works_Test_Query.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -199,7 +200,7 @@ export type Works_Test_QueryRawResponse = { readonly id: string | null; }) | null> | null; }) | null; - readonly artistSeriesConnection?: ({ + readonly artistSeriesConnection: ({ readonly edges: ReadonlyArray<({ readonly node: ({ readonly internalID: string; @@ -511,16 +512,16 @@ fragment Works_artist_2juLqN on Artist { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "shouldFetchArtistSeriesData", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" } ], v1 = [ @@ -531,44 +532,42 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -576,41 +575,43 @@ v7 = { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, v8 = { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, v13 = [ @@ -621,186 +622,186 @@ v13 = [ } ], v14 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v15 = { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v13/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v4/*: any*/), (v5/*: any*/), (v14/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, v16 = { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, v17 = { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v13/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v14/*: any*/), (v5/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, v18 = { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, v19 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], v20 = { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v19/*: any*/) + "selections": (v19/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v19/*: any*/) + "selections": (v19/*: any*/), + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, v21 = { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, v22 = { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, v23 = { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, v24 = { @@ -819,99 +820,95 @@ v26 = { "value": "-partner_updated_at" }, v27 = { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, v28 = { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, v29 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v30 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v31 = [ (v29/*: any*/), (v30/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "Works_Test_Query", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "Works_Test_Query", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "Works_artist", "args": [ { "kind": "Variable", "name": "shouldFetchArtistSeriesData", "variableName": "shouldFetchArtistSeriesData" } - ] + ], + "kind": "FragmentSpread", + "name": "Works_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "Works_Test_Query", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "filterArtworksConnection", - "storageKey": "filterArtworksConnection(first:10,sort:\"-weighted_iconicity\")", "args": [ { "kind": "Literal", @@ -925,50 +922,46 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ (v5/*: any*/), { - "kind": "ScalarField", "alias": "imageAspectRatio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:300)", "args": [ { "kind": "Literal", @@ -977,34 +970,38 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null } - ] + ], + "storageKey": "resized(height:300)" }, (v7/*: any*/), (v8/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, (v9/*: any*/), @@ -1021,27 +1018,26 @@ return { (v2/*: any*/), (v22/*: any*/), (v23/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": "filterArtworksConnection(first:10,sort:\"-weighted_iconicity\")" }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistsConnection", - "storageKey": "artistsConnection(first:1)", "args": [ { "kind": "Literal", @@ -1050,141 +1046,142 @@ return { } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "artistsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artistsConnection(first:1)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sidebarAggregations", - "name": "filterArtworksConnection", - "storageKey": "filterArtworksConnection(after:\"\",first:30,sort:\"-partner_updated_at\")", "args": [ (v24/*: any*/), (v25/*: any*/), (v26/*: any*/) ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ (v27/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ (v14/*: any*/), (v28/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": "filterArtworksConnection(after:\"\",first:30,sort:\"-partner_updated_at\")" }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "partner_shows", - "name": "partnerShows", "args": null, + "kind": "ScalarField", + "name": "partnerShows", "storageKey": null }, { - "kind": "ScalarField", "alias": "for_sale_artworks", - "name": "forSaleArtworks", "args": null, + "kind": "ScalarField", + "name": "forSaleArtworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "ecommerce_artworks", - "name": "ecommerceArtworks", "args": null, + "kind": "ScalarField", + "name": "ecommerceArtworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "auction_artworks", - "name": "auctionArtworks", "args": null, + "kind": "ScalarField", + "name": "auctionArtworks", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artworks", "args": null, + "kind": "ScalarField", + "name": "artworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "has_make_offer_artworks", - "name": "hasMakeOfferArtworks", "args": null, + "kind": "ScalarField", + "name": "hasMakeOfferArtworks", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "filterArtworksConnection", - "storageKey": "filterArtworksConnection(after:\"\",first:30,medium:\"*\",sort:\"-partner_updated_at\")", "args": [ (v24/*: any*/), (v25/*: any*/), @@ -1196,136 +1193,136 @@ return { (v26/*: any*/) ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ (v27/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ (v28/*: any*/), (v14/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v31/*: any*/) + "selections": (v31/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v31/*: any*/) + "selections": (v31/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v31/*: any*/) + "selections": (v31/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v29/*: any*/), (v30/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), @@ -1333,31 +1330,31 @@ return { (v5/*: any*/), (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ (v8/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null }, (v9/*: any*/), { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, (v10/*: any*/), @@ -1371,69 +1368,65 @@ return { (v21/*: any*/), (v22/*: any*/), (v23/*: any*/) - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "filterArtworksConnection(after:\"\",first:30,medium:\"*\",sort:\"-partner_updated_at\")" }, { + "condition": "shouldFetchArtistSeriesData", "kind": "Condition", "passingValue": true, - "condition": "shouldFetchArtistSeriesData", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeriesConnection", - "storageKey": null, "args": null, "concreteType": "ArtistSeriesConnection", + "kind": "LinkedField", + "name": "artistSeriesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistSeriesEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), (v9/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "artworksCountMessage", "args": null, + "kind": "ScalarField", + "name": "artworksCountMessage", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:160,width:160)", "args": [ { "kind": "Literal", @@ -1447,31 +1440,39 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ (v6/*: any*/) - ] + ], + "storageKey": "cropped(height:160,width:160)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "Works_Test_Query", "id": null, - "text": "query Works_Test_Query(\n $artistID: String!\n $shouldFetchArtistSeriesData: Boolean!\n) {\n artist(id: $artistID) {\n ...Works_artist_2juLqN\n id\n }\n}\n\nfragment ArtistArtworkFilter_artist_DI6Mv on Artist {\n is_followed: isFollowed\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 slug\n internalID\n filtered_artworks: filterArtworksConnection(medium: \"*\", first: 30, after: \"\", sort: \"-partner_updated_at\") {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtistSeriesItem_artistSeries on ArtistSeries {\n title\n slug\n artworksCountMessage\n image {\n cropped(width: 160, height: 160) {\n url\n }\n }\n}\n\nfragment ArtistSeriesRail_artist on Artist {\n artistSeriesConnection {\n edges {\n node {\n internalID\n ...ArtistSeriesItem_artistSeries\n }\n }\n }\n}\n\nfragment ArtistTopWorksRail_artist on Artist {\n slug\n id\n filterArtworksConnection(sort: \"-weighted_iconicity\", first: 10) {\n edges {\n node {\n id\n slug\n image {\n href\n imageAspectRatio: aspectRatio\n resized(height: 300) {\n url\n width\n height\n }\n }\n ...FillwidthItem_artwork\n }\n }\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment Works_artist_2juLqN on Artist {\n internalID\n ...ArtistTopWorksRail_artist\n ...ArtistSeriesRail_artist @include(if: $shouldFetchArtistSeriesData)\n related {\n artistsConnection(first: 1) {\n edges {\n node {\n id\n }\n }\n }\n }\n sidebarAggregations: filterArtworksConnection(sort: \"-partner_updated_at\", first: 30, after: \"\") {\n aggregations {\n slice\n counts {\n name\n value\n }\n }\n id\n }\n ...ArtistArtworkFilter_artist_DI6Mv\n}\n", - "metadata": {} + "metadata": {}, + "name": "Works_Test_Query", + "operationKind": "query", + "text": "query Works_Test_Query(\n $artistID: String!\n $shouldFetchArtistSeriesData: Boolean!\n) {\n artist(id: $artistID) {\n ...Works_artist_2juLqN\n id\n }\n}\n\nfragment ArtistArtworkFilter_artist_DI6Mv on Artist {\n is_followed: isFollowed\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 slug\n internalID\n filtered_artworks: filterArtworksConnection(medium: \"*\", first: 30, after: \"\", sort: \"-partner_updated_at\") {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtistSeriesItem_artistSeries on ArtistSeries {\n title\n slug\n artworksCountMessage\n image {\n cropped(width: 160, height: 160) {\n url\n }\n }\n}\n\nfragment ArtistSeriesRail_artist on Artist {\n artistSeriesConnection {\n edges {\n node {\n internalID\n ...ArtistSeriesItem_artistSeries\n }\n }\n }\n}\n\nfragment ArtistTopWorksRail_artist on Artist {\n slug\n id\n filterArtworksConnection(sort: \"-weighted_iconicity\", first: 10) {\n edges {\n node {\n id\n slug\n image {\n href\n imageAspectRatio: aspectRatio\n resized(height: 300) {\n url\n width\n height\n }\n }\n ...FillwidthItem_artwork\n }\n }\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment Works_artist_2juLqN on Artist {\n internalID\n ...ArtistTopWorksRail_artist\n ...ArtistSeriesRail_artist @include(if: $shouldFetchArtistSeriesData)\n related {\n artistsConnection(first: 1) {\n edges {\n node {\n id\n }\n }\n }\n }\n sidebarAggregations: filterArtworksConnection(sort: \"-partner_updated_at\", first: 30, after: \"\") {\n aggregations {\n slice\n counts {\n name\n value\n }\n }\n id\n }\n ...ArtistArtworkFilter_artist_DI6Mv\n}\n" } }; })(); diff --git a/src/v2/__generated__/Works_artist.graphql.ts b/src/v2/__generated__/Works_artist.graphql.ts index 6d71f602190..ef486c7e06f 100644 --- a/src/v2/__generated__/Works_artist.graphql.ts +++ b/src/v2/__generated__/Works_artist.graphql.ts @@ -1,8 +1,9 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; -export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS" | "GALLERY" | "INSTITUTION" | "MAJOR_PERIOD" | "MEDIUM" | "MERCHANDISABLE_ARTISTS" | "PARTNER_CITY" | "PERIOD" | "PRICE_RANGE" | "TOTAL" | "%future added value"; import { FragmentRefs } from "relay-runtime"; +export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS" | "GALLERY" | "INSTITUTION" | "MAJOR_PERIOD" | "MEDIUM" | "MERCHANDISABLE_ARTISTS" | "PARTNER_CITY" | "PERIOD" | "PRICE_RANGE" | "TOTAL" | "%future added value"; export type Works_artist = { readonly internalID: string; readonly related: { @@ -51,154 +52,149 @@ v2 = { "variableName": "sort" }; return { - "kind": "Fragment", - "name": "Works_artist", - "type": "Artist", - "metadata": null, "argumentDefinitions": [ { + "defaultValue": null, "kind": "LocalArgument", "name": "acquireable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "aggregations", - "type": "[ArtworkAggregation]", - "defaultValue": null + "type": "[ArtworkAggregation]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "atAuction", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "attributionClass", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "color", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "height", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "inquireableOnly", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "keyword", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "majorPeriods", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": "*", "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": "*" + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "offerable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "partnerID", - "type": "ID", - "defaultValue": null + "type": "ID" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sizes", - "type": "[ArtworkSizes]", - "defaultValue": null + "type": "[ArtworkSizes]" }, { + "defaultValue": "-partner_updated_at", "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": "-partner_updated_at" + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "width", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": false, "kind": "LocalArgument", "name": "shouldFetchArtistSeriesData", - "type": "Boolean!", - "defaultValue": false + "type": "Boolean!" } ], + "kind": "Fragment", + "metadata": null, + "name": "Works_artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistsConnection", - "storageKey": "artistsConnection(first:1)", "args": [ { "kind": "Literal", @@ -207,46 +203,47 @@ return { } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "artistsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artistsConnection(first:1)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sidebarAggregations", - "name": "filterArtworksConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -263,73 +260,74 @@ return { (v2/*: any*/) ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "ArtistTopWorksRail_artist", - "args": null + "name": "ArtistTopWorksRail_artist" }, { + "condition": "shouldFetchArtistSeriesData", "kind": "Condition", "passingValue": true, - "condition": "shouldFetchArtistSeriesData", "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtistSeriesRail_artist", - "args": null + "name": "ArtistSeriesRail_artist" } ] }, { - "kind": "FragmentSpread", - "name": "ArtistArtworkFilter_artist", "args": [ { "kind": "Variable", @@ -414,9 +412,12 @@ return { "name": "width", "variableName": "width" } - ] + ], + "kind": "FragmentSpread", + "name": "ArtistArtworkFilter_artist" } - ] + ], + "type": "Artist" }; })(); (node as any).hash = '1d0b76b4072c686cc173b58c5382b61a'; diff --git a/src/v2/__generated__/buildClientAppTestQuery.graphql.ts b/src/v2/__generated__/buildClientAppTestQuery.graphql.ts index e4242f1d035..32f6aa1b99a 100644 --- a/src/v2/__generated__/buildClientAppTestQuery.graphql.ts +++ b/src/v2/__generated__/buildClientAppTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type buildClientAppTestQueryVariables = {}; @@ -25,46 +26,46 @@ query buildClientAppTestQuery { const node: ConcreteRequest = (function(){ var v0 = [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "buildClientAppTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], - "selections": (v0/*: any*/) + "name": "buildClientAppTestQuery", + "selections": (v0/*: any*/), + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "buildClientAppTestQuery", - "argumentDefinitions": [], "selections": (v0/*: any*/) }, "params": { - "operationKind": "query", - "name": "buildClientAppTestQuery", "id": null, - "text": "query buildClientAppTestQuery {\n me {\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "buildClientAppTestQuery", + "operationKind": "query", + "text": "query buildClientAppTestQuery {\n me {\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/buildServerAppTestQuery.graphql.ts b/src/v2/__generated__/buildServerAppTestQuery.graphql.ts index daf89389d38..a97883507bc 100644 --- a/src/v2/__generated__/buildServerAppTestQuery.graphql.ts +++ b/src/v2/__generated__/buildServerAppTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type buildServerAppTestQueryVariables = {}; @@ -25,46 +26,46 @@ query buildServerAppTestQuery { const node: ConcreteRequest = (function(){ var v0 = [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "buildServerAppTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], - "selections": (v0/*: any*/) + "name": "buildServerAppTestQuery", + "selections": (v0/*: any*/), + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "buildServerAppTestQuery", - "argumentDefinitions": [], "selections": (v0/*: any*/) }, "params": { - "operationKind": "query", - "name": "buildServerAppTestQuery", "id": null, - "text": "query buildServerAppTestQuery {\n me {\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "buildServerAppTestQuery", + "operationKind": "query", + "text": "query buildServerAppTestQuery {\n me {\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/collectRoutes_ArtworkFilterQuery.graphql.ts b/src/v2/__generated__/collectRoutes_ArtworkFilterQuery.graphql.ts index d3b531aadc1..a70240f4326 100644 --- a/src/v2/__generated__/collectRoutes_ArtworkFilterQuery.graphql.ts +++ b/src/v2/__generated__/collectRoutes_ArtworkFilterQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -6,21 +7,21 @@ export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS export type ArtworkSizes = "LARGE" | "MEDIUM" | "SMALL" | "%future added value"; export type collectRoutes_ArtworkFilterQueryVariables = { acquireable?: boolean | null; - aggregations?: ReadonlyArray | null; + aggregations?: Array | null; artistID?: string | null; atAuction?: boolean | null; - attributionClass?: ReadonlyArray | null; + attributionClass?: Array | null; color?: string | null; forSale?: boolean | null; height?: string | null; inquireableOnly?: boolean | null; - majorPeriods?: ReadonlyArray | null; + majorPeriods?: Array | null; medium?: string | null; offerable?: boolean | null; page?: number | null; partnerID?: string | null; priceRange?: string | null; - sizes?: ReadonlyArray | null; + sizes?: Array | null; sort?: string | null; keyword?: string | null; width?: string | null; @@ -324,120 +325,120 @@ fragment SeoProductsForArtworks_artworks on FilterArtworksConnection { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "acquireable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { - "kind": "LocalArgument", - "name": "aggregations", - "type": "[ArtworkAggregation]", "defaultValue": [ "TOTAL" - ] + ], + "kind": "LocalArgument", + "name": "aggregations", + "type": "[ArtworkAggregation]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "atAuction", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "attributionClass", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "color", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "height", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "inquireableOnly", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "majorPeriods", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "offerable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "partnerID", - "type": "ID", - "defaultValue": null + "type": "ID" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sizes", - "type": "[ArtworkSizes]", - "defaultValue": null + "type": "[ArtworkSizes]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "keyword", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "width", - "type": "String", - "defaultValue": null + "type": "String" } ], v1 = { @@ -546,46 +547,46 @@ v21 = { "variableName": "width" }, v22 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v23 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v24 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v25 = { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, v26 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v27 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], @@ -597,17 +598,15 @@ v28 = [ } ], v29 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v30 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -615,94 +614,91 @@ v30 = [ "value": "larger" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"larger\")" } ], v31 = { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, v32 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v33 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v34 = [ (v32/*: any*/), (v33/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "collectRoutes_ArtworkFilterQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "collectRoutes_ArtworkFilterQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "marketingHubCollections", - "storageKey": null, "args": null, "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingHubCollections", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Collect_marketingHubCollections", - "args": null + "name": "Collect_marketingHubCollections" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "filterArtworks", - "name": "artworksConnection", - "storageKey": null, "args": (v4/*: any*/), "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "SeoProductsForArtworks_artworks", - "args": null + "name": "SeoProductsForArtworks_artworks" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "ArtworkFilter_viewer", "args": [ (v5/*: any*/), (v1/*: any*/), @@ -723,211 +719,209 @@ return { (v20/*: any*/), (v3/*: any*/), (v21/*: any*/) - ] + ], + "kind": "FragmentSpread", + "name": "ArtworkFilter_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "collectRoutes_ArtworkFilterQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "marketingHubCollections", - "storageKey": null, "args": null, "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingHubCollections", "plural": true, "selections": [ (v22/*: any*/), (v23/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "thumbnail", "args": null, + "kind": "ScalarField", + "name": "thumbnail", "storageKey": null }, (v24/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "filterArtworks", - "name": "artworksConnection", - "storageKey": null, "args": (v4/*: any*/), "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v24/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "availability", "args": null, + "kind": "ScalarField", + "name": "availability", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "category", "args": null, + "kind": "ScalarField", + "name": "category", "storageKey": null }, (v25/*: any*/), (v26/*: any*/), { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_price_range", - "name": "isPriceRange", "args": null, + "kind": "ScalarField", + "name": "isPriceRange", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "PriceRange", - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "price_currency", - "name": "priceCurrency", "args": null, + "kind": "ScalarField", + "name": "priceCurrency", "storageKey": null }, (v23/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v28/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v29/*: any*/), (v24/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, - "selections": (v30/*: any*/) + "selections": (v30/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "meta", - "storageKey": null, "args": null, "concreteType": "ArtworkMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v28/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v29/*: any*/), (v31/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "icon", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "icon", "plural": false, - "selections": (v30/*: any*/) + "selections": (v30/*: any*/), + "storageKey": null }, (v24/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "locations", - "storageKey": "locations(size:1)", "args": [ { "kind": "Literal", @@ -936,84 +930,87 @@ return { } ], "concreteType": "Location", + "kind": "LinkedField", + "name": "locations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "address", "args": null, + "kind": "ScalarField", + "name": "address", "storageKey": null }, { - "kind": "ScalarField", "alias": "address_2", - "name": "address2", "args": null, + "kind": "ScalarField", + "name": "address2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": "postal_code", - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phone", "args": null, + "kind": "ScalarField", + "name": "phone", "storageKey": null }, (v24/*: any*/) - ] + ], + "storageKey": "locations(size:1)" }, (v24/*: any*/) - ] + ], + "storageKey": "partner(shallow:true)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v24/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "artworksConnection", - "storageKey": null, "args": [ (v5/*: any*/), (v1/*: any*/), @@ -1037,187 +1034,184 @@ return { (v21/*: any*/) ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ (v24/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, (v29/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v34/*: any*/) + "selections": (v34/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v34/*: any*/) + "selections": (v34/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v34/*: any*/) + "selections": (v34/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v32/*: any*/), (v33/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v24/*: any*/), (v22/*: any*/), (v26/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -1225,211 +1219,218 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, (v23/*: any*/), { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, (v25/*: any*/), { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v28/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v24/*: any*/), (v26/*: any*/), (v29/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v28/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v29/*: any*/), (v26/*: any*/), (v24/*: any*/), (v31/*: any*/) - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v24/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "storageKey": null }, (v24/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v24/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "collectRoutes_ArtworkFilterQuery", "id": null, - "text": "query collectRoutes_ArtworkFilterQuery(\n $acquireable: Boolean\n $aggregations: [ArtworkAggregation] = [TOTAL]\n $artistID: String\n $atAuction: Boolean\n $attributionClass: [String]\n $color: String\n $forSale: Boolean\n $height: String\n $inquireableOnly: Boolean\n $majorPeriods: [String]\n $medium: String\n $offerable: Boolean\n $page: Int\n $partnerID: ID\n $priceRange: String\n $sizes: [ArtworkSizes]\n $sort: String\n $keyword: String\n $width: String\n) {\n marketingHubCollections {\n ...Collect_marketingHubCollections\n id\n }\n filterArtworks: artworksConnection(aggregations: $aggregations, sort: $sort, first: 30) {\n ...SeoProductsForArtworks_artworks\n id\n }\n viewer {\n ...ArtworkFilter_viewer_2TJyna\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkFilter_viewer_2TJyna on Viewer {\n filtered_artworks: artworksConnection(acquireable: $acquireable, aggregations: $aggregations, artistID: $artistID, atAuction: $atAuction, attributionClass: $attributionClass, color: $color, forSale: $forSale, height: $height, inquireableOnly: $inquireableOnly, keyword: $keyword, majorPeriods: $majorPeriods, medium: $medium, offerable: $offerable, page: $page, partnerID: $partnerID, priceRange: $priceRange, sizes: $sizes, sort: $sort, width: $width, first: 30) {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Collect_marketingHubCollections on MarketingCollection {\n ...CollectionsHubsNav_marketingHubCollections\n}\n\nfragment CollectionsHubsNav_marketingHubCollections on MarketingCollection {\n slug\n title\n thumbnail\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment SeoProductsForArtworks_artworks on FilterArtworksConnection {\n edges {\n node {\n id\n availability\n category\n date\n href\n is_acquireable: isAcquireable\n is_price_range: isPriceRange\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n price_currency: priceCurrency\n title\n artists(shallow: true) {\n name\n id\n }\n image {\n url(version: \"larger\")\n }\n meta {\n description\n }\n partner(shallow: true) {\n name\n type\n profile {\n icon {\n url(version: \"larger\")\n }\n id\n }\n locations(size: 1) {\n address\n address_2: address2\n city\n state\n country\n postal_code: postalCode\n phone\n id\n }\n id\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "collectRoutes_ArtworkFilterQuery", + "operationKind": "query", + "text": "query collectRoutes_ArtworkFilterQuery(\n $acquireable: Boolean\n $aggregations: [ArtworkAggregation] = [TOTAL]\n $artistID: String\n $atAuction: Boolean\n $attributionClass: [String]\n $color: String\n $forSale: Boolean\n $height: String\n $inquireableOnly: Boolean\n $majorPeriods: [String]\n $medium: String\n $offerable: Boolean\n $page: Int\n $partnerID: ID\n $priceRange: String\n $sizes: [ArtworkSizes]\n $sort: String\n $keyword: String\n $width: String\n) {\n marketingHubCollections {\n ...Collect_marketingHubCollections\n id\n }\n filterArtworks: artworksConnection(aggregations: $aggregations, sort: $sort, first: 30) {\n ...SeoProductsForArtworks_artworks\n id\n }\n viewer {\n ...ArtworkFilter_viewer_2TJyna\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkFilter_viewer_2TJyna on Viewer {\n filtered_artworks: artworksConnection(acquireable: $acquireable, aggregations: $aggregations, artistID: $artistID, atAuction: $atAuction, attributionClass: $attributionClass, color: $color, forSale: $forSale, height: $height, inquireableOnly: $inquireableOnly, keyword: $keyword, majorPeriods: $majorPeriods, medium: $medium, offerable: $offerable, page: $page, partnerID: $partnerID, priceRange: $priceRange, sizes: $sizes, sort: $sort, width: $width, first: 30) {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Collect_marketingHubCollections on MarketingCollection {\n ...CollectionsHubsNav_marketingHubCollections\n}\n\nfragment CollectionsHubsNav_marketingHubCollections on MarketingCollection {\n slug\n title\n thumbnail\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment SeoProductsForArtworks_artworks on FilterArtworksConnection {\n edges {\n node {\n id\n availability\n category\n date\n href\n is_acquireable: isAcquireable\n is_price_range: isPriceRange\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n price_currency: priceCurrency\n title\n artists(shallow: true) {\n name\n id\n }\n image {\n url(version: \"larger\")\n }\n meta {\n description\n }\n partner(shallow: true) {\n name\n type\n profile {\n icon {\n url(version: \"larger\")\n }\n id\n }\n locations(size: 1) {\n address\n address_2: address2\n city\n state\n country\n postal_code: postalCode\n phone\n id\n }\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/collectRoutes_MarketingCollectionsAppQuery.graphql.ts b/src/v2/__generated__/collectRoutes_MarketingCollectionsAppQuery.graphql.ts index a7a42050bde..7963064c336 100644 --- a/src/v2/__generated__/collectRoutes_MarketingCollectionsAppQuery.graphql.ts +++ b/src/v2/__generated__/collectRoutes_MarketingCollectionsAppQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -34,102 +35,102 @@ fragment Collections_marketingCategories on MarketingCollectionCategory { */ const node: ConcreteRequest = { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "collectRoutes_MarketingCollectionsAppQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "collectRoutes_MarketingCollectionsAppQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "marketingCategories", - "storageKey": null, "args": null, "concreteType": "MarketingCollectionCategory", + "kind": "LinkedField", + "name": "marketingCategories", "plural": true, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Collections_marketingCategories", - "args": null + "name": "Collections_marketingCategories" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "collectRoutes_MarketingCollectionsAppQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "marketingCategories", - "storageKey": null, "args": null, "concreteType": "MarketingCollectionCategory", + "kind": "LinkedField", + "name": "marketingCategories", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "collections", - "storageKey": null, "args": null, "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "collections", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "headerImage", "args": null, + "kind": "ScalarField", + "name": "headerImage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "collectRoutes_MarketingCollectionsAppQuery", "id": null, - "text": "query collectRoutes_MarketingCollectionsAppQuery {\n marketingCategories @principalField {\n ...Collections_marketingCategories\n }\n}\n\nfragment Collections_marketingCategories on MarketingCollectionCategory {\n name\n collections {\n slug\n headerImage\n title\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "collectRoutes_MarketingCollectionsAppQuery", + "operationKind": "query", + "text": "query collectRoutes_MarketingCollectionsAppQuery {\n marketingCategories @principalField {\n ...Collections_marketingCategories\n }\n}\n\nfragment Collections_marketingCategories on MarketingCollectionCategory {\n name\n collections {\n slug\n headerImage\n title\n id\n }\n}\n" } }; (node as any).hash = 'fef524f8337c800a5308955689bca0b6'; diff --git a/src/v2/__generated__/commitMutationTest1Mutation.graphql.ts b/src/v2/__generated__/commitMutationTest1Mutation.graphql.ts index 46537603838..bc90fc9db54 100644 --- a/src/v2/__generated__/commitMutationTest1Mutation.graphql.ts +++ b/src/v2/__generated__/commitMutationTest1Mutation.graphql.ts @@ -1,10 +1,11 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CommerceSetPaymentInput = { - readonly clientMutationId?: string | null; - readonly creditCardId: string; - readonly id: string; + clientMutationId?: string | null; + creditCardId: string; + id: string; }; export type commitMutationTest1MutationVariables = { input: CommerceSetPaymentInput; @@ -45,10 +46,10 @@ mutation commitMutationTest1Mutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CommerceSetPaymentInput!", - "defaultValue": null + "type": "CommerceSetPaymentInput!" } ], v1 = [ @@ -60,105 +61,105 @@ v1 = [ ], v2 = { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "error", - "storageKey": null, "args": null, "concreteType": "CommerceApplicationError", + "kind": "LinkedField", + "name": "error", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationFailure" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "commitMutationTest1Mutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "commitMutationTest1Mutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceSetPayment", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceSetPaymentPayload", + "kind": "LinkedField", + "name": "commerceSetPayment", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "commitMutationTest1Mutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceSetPayment", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceSetPaymentPayload", + "kind": "LinkedField", + "name": "commerceSetPayment", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "commitMutationTest1Mutation", "id": null, - "text": "mutation commitMutationTest1Mutation(\n $input: CommerceSetPaymentInput!\n) {\n commerceSetPayment(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationFailure {\n error {\n code\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "commitMutationTest1Mutation", + "operationKind": "mutation", + "text": "mutation commitMutationTest1Mutation(\n $input: CommerceSetPaymentInput!\n) {\n commerceSetPayment(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationFailure {\n error {\n code\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/createMockNetworkLayerTestAliasPrecendenceQuery.graphql.ts b/src/v2/__generated__/createMockNetworkLayerTestAliasPrecendenceQuery.graphql.ts index 044e929fa19..a01c6b96fe4 100644 --- a/src/v2/__generated__/createMockNetworkLayerTestAliasPrecendenceQuery.graphql.ts +++ b/src/v2/__generated__/createMockNetworkLayerTestAliasPrecendenceQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type createMockNetworkLayerTestAliasPrecendenceQueryVariables = {}; @@ -44,17 +45,14 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v2 = { - "kind": "LinkedField", "alias": "forSaleArtworks", - "name": "artworksConnection", - "storageKey": "artworksConnection(filter:\"IS_FOR_SALE\")", "args": [ { "kind": "Literal", @@ -63,82 +61,85 @@ v2 = { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(filter:\"IS_FOR_SALE\")" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "createMockNetworkLayerTestAliasPrecendenceQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "createMockNetworkLayerTestAliasPrecendenceQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"banksy\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": "artist(id:\"banksy\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "createMockNetworkLayerTestAliasPrecendenceQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"banksy\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), (v1/*: any*/) - ] + ], + "storageKey": "artist(id:\"banksy\")" } ] }, "params": { - "operationKind": "query", - "name": "createMockNetworkLayerTestAliasPrecendenceQuery", "id": null, - "text": "query createMockNetworkLayerTestAliasPrecendenceQuery {\n artist(id: \"banksy\") {\n forSaleArtworks: artworksConnection(filter: IS_FOR_SALE) {\n edges {\n node {\n id\n }\n }\n }\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "createMockNetworkLayerTestAliasPrecendenceQuery", + "operationKind": "query", + "text": "query createMockNetworkLayerTestAliasPrecendenceQuery {\n artist(id: \"banksy\") {\n forSaleArtworks: artworksConnection(filter: IS_FOR_SALE) {\n edges {\n node {\n id\n }\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/createMockNetworkLayerTestAliasQuery.graphql.ts b/src/v2/__generated__/createMockNetworkLayerTestAliasQuery.graphql.ts index b9904f2a797..3e596790ca0 100644 --- a/src/v2/__generated__/createMockNetworkLayerTestAliasQuery.graphql.ts +++ b/src/v2/__generated__/createMockNetworkLayerTestAliasQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type createMockNetworkLayerTestAliasQueryVariables = {}; @@ -58,42 +59,39 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v2 = [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ], v3 = { - "kind": "LinkedField", "alias": "forSaleArtworks", - "name": "artworksConnection", - "storageKey": "artworksConnection(filter:\"IS_FOR_SALE\")", "args": [ { "kind": "Literal", @@ -102,14 +100,14 @@ v3 = { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": "artworksConnection(filter:\"IS_FOR_SALE\")" }, v4 = { - "kind": "LinkedField", "alias": "notForSaleArtworks", - "name": "artworksConnection", - "storageKey": "artworksConnection(filter:\"IS_NOT_FOR_SALE\")", "args": [ { "kind": "Literal", @@ -118,60 +116,63 @@ v4 = { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": "artworksConnection(filter:\"IS_NOT_FOR_SALE\")" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "createMockNetworkLayerTestAliasQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "createMockNetworkLayerTestAliasQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"banksy\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": "artist(id:\"banksy\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "createMockNetworkLayerTestAliasQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": "artist(id:\"banksy\")", "args": (v0/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), (v1/*: any*/) - ] + ], + "storageKey": "artist(id:\"banksy\")" } ] }, "params": { - "operationKind": "query", - "name": "createMockNetworkLayerTestAliasQuery", "id": null, - "text": "query createMockNetworkLayerTestAliasQuery {\n artist(id: \"banksy\") {\n forSaleArtworks: artworksConnection(filter: IS_FOR_SALE) {\n edges {\n node {\n id\n }\n }\n }\n notForSaleArtworks: artworksConnection(filter: IS_NOT_FOR_SALE) {\n edges {\n node {\n id\n }\n }\n }\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "createMockNetworkLayerTestAliasQuery", + "operationKind": "query", + "text": "query createMockNetworkLayerTestAliasQuery {\n artist(id: \"banksy\") {\n forSaleArtworks: artworksConnection(filter: IS_FOR_SALE) {\n edges {\n node {\n id\n }\n }\n }\n notForSaleArtworks: artworksConnection(filter: IS_NOT_FOR_SALE) {\n edges {\n node {\n id\n }\n }\n }\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/createMockNetworkLayerTestMutationResultsMutation.graphql.ts b/src/v2/__generated__/createMockNetworkLayerTestMutationResultsMutation.graphql.ts index e924f008b86..fb931de26b4 100644 --- a/src/v2/__generated__/createMockNetworkLayerTestMutationResultsMutation.graphql.ts +++ b/src/v2/__generated__/createMockNetworkLayerTestMutationResultsMutation.graphql.ts @@ -1,10 +1,11 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLED" | "PENDING" | "REFUNDED" | "SUBMITTED" | "%future added value"; export type CommerceBuyerAcceptOfferInput = { - readonly clientMutationId?: string | null; - readonly offerId: string; + clientMutationId?: string | null; + offerId: string; }; export type createMockNetworkLayerTestMutationResultsMutationVariables = { input: CommerceBuyerAcceptOfferInput; @@ -61,10 +62,10 @@ mutation createMockNetworkLayerTestMutationResultsMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CommerceBuyerAcceptOfferInput!", - "defaultValue": null + "type": "CommerceBuyerAcceptOfferInput!" } ], v1 = [ @@ -76,180 +77,180 @@ v1 = [ ], v2 = { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "error", - "storageKey": null, "args": null, "concreteType": "CommerceApplicationError", + "kind": "LinkedField", + "name": "error", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "data", "args": null, + "kind": "ScalarField", + "name": "data", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationFailure" }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "createMockNetworkLayerTestMutationResultsMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "createMockNetworkLayerTestMutationResultsMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceBuyerAcceptOffer", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceBuyerAcceptOfferPayload", + "kind": "LinkedField", + "name": "commerceBuyerAcceptOffer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ (v2/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "createMockNetworkLayerTestMutationResultsMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceBuyerAcceptOffer", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceBuyerAcceptOfferPayload", + "kind": "LinkedField", + "name": "commerceBuyerAcceptOffer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ (v5/*: any*/), (v2/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v5/*: any*/), (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "createMockNetworkLayerTestMutationResultsMutation", "id": null, - "text": "mutation createMockNetworkLayerTestMutationResultsMutation(\n $input: CommerceBuyerAcceptOfferInput!\n) {\n commerceBuyerAcceptOffer(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n internalID\n state\n id\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "createMockNetworkLayerTestMutationResultsMutation", + "operationKind": "mutation", + "text": "mutation createMockNetworkLayerTestMutationResultsMutation(\n $input: CommerceBuyerAcceptOfferInput!\n) {\n commerceBuyerAcceptOffer(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n internalID\n state\n id\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/createMockNetworkLayerTestQuery.graphql.ts b/src/v2/__generated__/createMockNetworkLayerTestQuery.graphql.ts index 38c2d5315f2..431445806bc 100644 --- a/src/v2/__generated__/createMockNetworkLayerTestQuery.graphql.ts +++ b/src/v2/__generated__/createMockNetworkLayerTestQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type createMockNetworkLayerTestQueryVariables = {}; @@ -27,10 +28,7 @@ query createMockNetworkLayerTestQuery { const node: ConcreteRequest = (function(){ var v0 = [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"untitled\")", "args": [ { "kind": "Literal", @@ -39,47 +37,50 @@ var v0 = [ } ], "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null } - ] + ], + "storageKey": "artwork(id:\"untitled\")" } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "createMockNetworkLayerTestQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], - "selections": (v0/*: any*/) + "name": "createMockNetworkLayerTestQuery", + "selections": (v0/*: any*/), + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "createMockNetworkLayerTestQuery", - "argumentDefinitions": [], "selections": (v0/*: any*/) }, "params": { - "operationKind": "query", - "name": "createMockNetworkLayerTestQuery", "id": null, - "text": "query createMockNetworkLayerTestQuery {\n artwork(id: \"untitled\") {\n id\n title\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "createMockNetworkLayerTestQuery", + "operationKind": "query", + "text": "query createMockNetworkLayerTestQuery {\n artwork(id: \"untitled\") {\n id\n title\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/createTestEnvCreditCardMutation.graphql.ts b/src/v2/__generated__/createTestEnvCreditCardMutation.graphql.ts index 8879a2fcbef..21bd077897b 100644 --- a/src/v2/__generated__/createTestEnvCreditCardMutation.graphql.ts +++ b/src/v2/__generated__/createTestEnvCreditCardMutation.graphql.ts @@ -1,10 +1,11 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CreditCardInput = { - readonly clientMutationId?: string | null; - readonly oneTimeUse?: boolean | null; - readonly token: string; + clientMutationId?: string | null; + oneTimeUse?: boolean | null; + token: string; }; export type createTestEnvCreditCardMutationVariables = { input: CreditCardInput; @@ -54,10 +55,10 @@ mutation createTestEnvCreditCardMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CreditCardInput!", - "defaultValue": null + "type": "CreditCardInput!" } ], v1 = [ @@ -68,156 +69,156 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, v3 = { "kind": "InlineFragment", - "type": "CreditCardMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "mutationError", - "storageKey": null, "args": null, "concreteType": "GravityMutationError", + "kind": "LinkedField", + "name": "mutationError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CreditCardMutationFailure" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "createTestEnvCreditCardMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "createTestEnvCreditCardMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createCreditCard", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CreditCardPayload", + "kind": "LinkedField", + "name": "createCreditCard", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCardOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "creditCardOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CreditCardMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CreditCardMutationSuccess" }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "createTestEnvCreditCardMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "createCreditCard", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CreditCardPayload", + "kind": "LinkedField", + "name": "createCreditCard", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCardOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "creditCardOrError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { "kind": "InlineFragment", - "type": "CreditCardMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CreditCardMutationSuccess" }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "createTestEnvCreditCardMutation", "id": null, - "text": "mutation createTestEnvCreditCardMutation(\n $input: CreditCardInput!\n) {\n createCreditCard(input: $input) {\n creditCardOrError {\n __typename\n ... on CreditCardMutationSuccess {\n creditCard {\n brand\n id\n }\n }\n ... on CreditCardMutationFailure {\n mutationError {\n type\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "createTestEnvCreditCardMutation", + "operationKind": "mutation", + "text": "mutation createTestEnvCreditCardMutation(\n $input: CreditCardInput!\n) {\n createCreditCard(input: $input) {\n creditCardOrError {\n __typename\n ... on CreditCardMutationSuccess {\n creditCard {\n brand\n id\n }\n }\n ... on CreditCardMutationFailure {\n mutationError {\n type\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/createTestEnvOrderMutation.graphql.ts b/src/v2/__generated__/createTestEnvOrderMutation.graphql.ts index 02da667d221..50be61acb96 100644 --- a/src/v2/__generated__/createTestEnvOrderMutation.graphql.ts +++ b/src/v2/__generated__/createTestEnvOrderMutation.graphql.ts @@ -1,11 +1,12 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CommerceCreateOrderWithArtworkInput = { - readonly artworkId: string; - readonly clientMutationId?: string | null; - readonly editionSetId?: string | null; - readonly quantity?: number | null; + artworkId: string; + clientMutationId?: string | null; + editionSetId?: string | null; + quantity?: number | null; }; export type createTestEnvOrderMutationVariables = { input: CommerceCreateOrderWithArtworkInput; @@ -56,10 +57,10 @@ mutation createTestEnvOrderMutation( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "input", - "type": "CommerceCreateOrderWithArtworkInput!", - "defaultValue": null + "type": "CommerceCreateOrderWithArtworkInput!" } ], v1 = [ @@ -70,158 +71,158 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "error", - "storageKey": null, "args": null, "concreteType": "CommerceApplicationError", + "kind": "LinkedField", + "name": "error", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationFailure" }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "createTestEnvOrderMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "createTestEnvOrderMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceCreateOrderWithArtwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceCreateOrderWithArtworkPayload", + "kind": "LinkedField", + "name": "commerceCreateOrderWithArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "createTestEnvOrderMutation", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "commerceCreateOrderWithArtwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "CommerceCreateOrderWithArtworkPayload", + "kind": "LinkedField", + "name": "commerceCreateOrderWithArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orderOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "orderOrError", "plural": false, "selections": [ (v4/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOrderWithMutationSuccess", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "order", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "order", "plural": false, "selections": [ (v4/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOrderWithMutationSuccess" }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "mutation", - "name": "createTestEnvOrderMutation", "id": null, - "text": "mutation createTestEnvOrderMutation(\n $input: CommerceCreateOrderWithArtworkInput!\n) {\n commerceCreateOrderWithArtwork(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n internalID\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "createTestEnvOrderMutation", + "operationKind": "mutation", + "text": "mutation createTestEnvOrderMutation(\n $input: CommerceCreateOrderWithArtworkInput!\n) {\n commerceCreateOrderWithArtwork(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n internalID\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/createTestEnvQuery.graphql.ts b/src/v2/__generated__/createTestEnvQuery.graphql.ts index 6c6452b6028..0e35bedd7b3 100644 --- a/src/v2/__generated__/createTestEnvQuery.graphql.ts +++ b/src/v2/__generated__/createTestEnvQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -52,90 +53,90 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "createTestEnvQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "createTestEnvQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "createTestEnv_artwork", - "args": null + "name": "createTestEnv_artwork" } - ] + ], + "storageKey": "artwork(id:\"unused\")" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "createTestEnvQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": "artwork(id:\"unused\")", "args": (v0/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "artwork(id:\"unused\")" } ] }, "params": { - "operationKind": "query", - "name": "createTestEnvQuery", "id": null, - "text": "query createTestEnvQuery {\n artwork(id: \"unused\") {\n ...createTestEnv_artwork\n id\n }\n}\n\nfragment createTestEnv_artwork on Artwork {\n title\n artist {\n name\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "createTestEnvQuery", + "operationKind": "query", + "text": "query createTestEnvQuery {\n artwork(id: \"unused\") {\n ...createTestEnv_artwork\n id\n }\n}\n\nfragment createTestEnv_artwork on Artwork {\n title\n artist {\n name\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/createTestEnv_artwork.graphql.ts b/src/v2/__generated__/createTestEnv_artwork.graphql.ts index 894d67e1f7d..98b39af5e3b 100644 --- a/src/v2/__generated__/createTestEnv_artwork.graphql.ts +++ b/src/v2/__generated__/createTestEnv_artwork.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -18,38 +19,38 @@ export type createTestEnv_artwork$key = { const node: ReaderFragment = { + "argumentDefinitions": [], "kind": "Fragment", - "name": "createTestEnv_artwork", - "type": "Artwork", "metadata": null, - "argumentDefinitions": [], + "name": "createTestEnv_artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "Artwork" }; (node as any).hash = '77748b446a7cb5332e22b3fc524700a1'; export default node; diff --git a/src/v2/__generated__/helpersEmailQuery.graphql.ts b/src/v2/__generated__/helpersEmailQuery.graphql.ts index b9d19ac9425..51202bf2720 100644 --- a/src/v2/__generated__/helpersEmailQuery.graphql.ts +++ b/src/v2/__generated__/helpersEmailQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type helpersEmailQueryVariables = { @@ -30,10 +31,10 @@ query helpersEmailQuery( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "email", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -44,67 +45,67 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "userAlreadyExists", "args": null, + "kind": "ScalarField", + "name": "userAlreadyExists", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "helpersEmailQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "helpersEmailQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "user", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "User", + "kind": "LinkedField", + "name": "user", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "helpersEmailQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "user", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "User", + "kind": "LinkedField", + "name": "user", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "helpersEmailQuery", "id": null, - "text": "query helpersEmailQuery(\n $email: String!\n) {\n user(email: $email) {\n userAlreadyExists\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "helpersEmailQuery", + "operationKind": "query", + "text": "query helpersEmailQuery(\n $email: String!\n) {\n user(email: $email) {\n userAlreadyExists\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/redirects_order.graphql.ts b/src/v2/__generated__/redirects_order.graphql.ts index c5b38982e16..48a38cbf49c 100644 --- a/src/v2/__generated__/redirects_order.graphql.ts +++ b/src/v2/__generated__/redirects_order.graphql.ts @@ -1,10 +1,11 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; +import { FragmentRefs } from "relay-runtime"; export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; export type CommerceOrderParticipantEnum = "BUYER" | "SELLER" | "%future added value"; export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLED" | "PENDING" | "REFUNDED" | "SUBMITTED" | "%future added value"; -import { FragmentRefs } from "relay-runtime"; export type redirects_order = { readonly internalID: string; readonly mode: CommerceOrderModeEnum | null; @@ -46,166 +47,166 @@ export type redirects_order$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v1 = [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null } ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "redirects_order", - "type": "CommerceOrder", "metadata": null, - "argumentDefinitions": [], + "name": "redirects_order", "selections": [ (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastTransactionFailed", "args": null, + "kind": "ScalarField", + "name": "lastTransactionFailed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v0/*: any*/) - ] + ], + "storageKey": null }, { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "awaitingResponseFrom", "args": null, + "kind": "ScalarField", + "name": "awaitingResponseFrom", "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "type": "CommerceOrder" }; })(); (node as any).hash = '45b06150d1e7184360e9c945ed0660bf'; diff --git a/src/v2/__generated__/requestEmailConfirmationMutation.graphql.ts b/src/v2/__generated__/requestEmailConfirmationMutation.graphql.ts index ede880bd806..7f3025d65aa 100644 --- a/src/v2/__generated__/requestEmailConfirmationMutation.graphql.ts +++ b/src/v2/__generated__/requestEmailConfirmationMutation.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type requestEmailConfirmationMutationVariables = {}; @@ -49,127 +50,127 @@ var v0 = [ ], v1 = { "kind": "InlineFragment", - "type": "SendConfirmationEmailMutationSuccess", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "unconfirmedEmail", "args": null, + "kind": "ScalarField", + "name": "unconfirmedEmail", "storageKey": null } - ] + ], + "type": "SendConfirmationEmailMutationSuccess" }, v2 = { "kind": "InlineFragment", - "type": "SendConfirmationEmailMutationFailure", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "mutationError", - "storageKey": null, "args": null, "concreteType": "GravityMutationError", + "kind": "LinkedField", + "name": "mutationError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "error", "args": null, + "kind": "ScalarField", + "name": "error", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "message", "args": null, + "kind": "ScalarField", + "name": "message", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "SendConfirmationEmailMutationFailure" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "requestEmailConfirmationMutation", - "type": "Mutation", "metadata": null, - "argumentDefinitions": [], + "name": "requestEmailConfirmationMutation", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sendConfirmationEmail", - "storageKey": "sendConfirmationEmail(input:{})", "args": (v0/*: any*/), "concreteType": "SendConfirmationEmailMutationPayload", + "kind": "LinkedField", + "name": "sendConfirmationEmail", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "confirmationOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "confirmationOrError", "plural": false, "selections": [ (v1/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "sendConfirmationEmail(input:{})" } - ] + ], + "type": "Mutation" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "requestEmailConfirmationMutation", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sendConfirmationEmail", - "storageKey": "sendConfirmationEmail(input:{})", "args": (v0/*: any*/), "concreteType": "SendConfirmationEmailMutationPayload", + "kind": "LinkedField", + "name": "sendConfirmationEmail", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "confirmationOrError", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "confirmationOrError", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v1/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "sendConfirmationEmail(input:{})" } ] }, "params": { - "operationKind": "mutation", - "name": "requestEmailConfirmationMutation", "id": null, - "text": "mutation requestEmailConfirmationMutation {\n sendConfirmationEmail(input: {}) {\n confirmationOrError {\n __typename\n ... on SendConfirmationEmailMutationSuccess {\n unconfirmedEmail\n }\n ... on SendConfirmationEmailMutationFailure {\n mutationError {\n error\n message\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "requestEmailConfirmationMutation", + "operationKind": "mutation", + "text": "mutation requestEmailConfirmationMutation {\n sendConfirmationEmail(input: {}) {\n confirmationOrError {\n __typename\n ... on SendConfirmationEmailMutationSuccess {\n unconfirmedEmail\n }\n ... on SendConfirmationEmailMutationFailure {\n mutationError {\n error\n message\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_AcceptQuery.graphql.ts b/src/v2/__generated__/routes_AcceptQuery.graphql.ts index 4cf8c433a69..eca7cf2eab2 100644 --- a/src/v2/__generated__/routes_AcceptQuery.graphql.ts +++ b/src/v2/__generated__/routes_AcceptQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -179,10 +180,10 @@ fragment TransactionDetailsSummaryItem_order on CommerceOrder { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "orderID", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -193,31 +194,31 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v6 = [ @@ -228,224 +229,215 @@ v6 = [ } ], v7 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, v16 = { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, v17 = { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_AcceptQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_AcceptQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Accept_order", - "args": null + "name": "Accept_order" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_AcceptQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": null, + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -454,34 +446,42 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, (v7/*: any*/), @@ -489,175 +489,173 @@ return { (v9/*: any*/), (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v11/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v5/*: any*/), (v4/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v12/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v5/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v12/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null } - ] + ], + "type": "CommerceShip" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, (v4/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, (v4/*: any*/), @@ -671,15 +669,15 @@ return { (v15/*: any*/), (v16/*: any*/), (v17/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v2/*: any*/), @@ -694,20 +692,23 @@ return { (v16/*: any*/), (v17/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_AcceptQuery", "id": null, - "text": "query routes_AcceptQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Accept_order\n id\n }\n}\n\nfragment Accept_order on CommerceOrder {\n internalID\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n artists {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_AcceptQuery", + "operationKind": "query", + "text": "query routes_AcceptQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Accept_order\n id\n }\n}\n\nfragment Accept_order on CommerceOrder {\n internalID\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n artists {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_ArticlesQuery.graphql.ts b/src/v2/__generated__/routes_ArticlesQuery.graphql.ts index 7c27a62f084..5beb12ce67c 100644 --- a/src/v2/__generated__/routes_ArticlesQuery.graphql.ts +++ b/src/v2/__generated__/routes_ArticlesQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -87,10 +88,10 @@ fragment Pagination_pageCursors on PageCursors { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -101,90 +102,86 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v4 = [ (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ], v5 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_ArticlesQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_ArticlesQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Articles_artist", - "args": null + "name": "Articles_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_ArticlesQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "articlesConnection", - "storageKey": "articlesConnection(first:10,inEditorialFeed:true,sort:\"PUBLISHED_AT_DESC\")", "args": [ { "kind": "Literal", @@ -203,142 +200,140 @@ return { } ], "concreteType": "ArticleConnection", + "kind": "LinkedField", + "name": "articlesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArticleEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Article", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": "thumbnail_title", - "name": "thumbnailTitle", "args": null, + "kind": "ScalarField", + "name": "thumbnailTitle", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "author", - "storageKey": null, "args": null, "concreteType": "Author", + "kind": "LinkedField", + "name": "author", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "published_at", - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -346,22 +341,20 @@ return { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM Do, YYYY\")" }, { - "kind": "LinkedField", "alias": "thumbnail_image", - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:300)", "args": [ { "kind": "Literal", @@ -370,37 +363,45 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:300)" } - ] + ], + "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "articlesConnection(first:10,inEditorialFeed:true,sort:\"PUBLISHED_AT_DESC\")" }, (v5/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_ArticlesQuery", "id": null, - "text": "query routes_ArticlesQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...Articles_artist\n id\n }\n}\n\nfragment Articles_artist on Artist {\n ...ArtistArticles_artist\n}\n\nfragment ArtistArticles_artist on Artist {\n slug\n articlesConnection(first: 10, sort: PUBLISHED_AT_DESC, inEditorialFeed: true) {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n href\n thumbnail_title: thumbnailTitle\n author {\n name\n id\n }\n published_at: publishedAt(format: \"MMM Do, YYYY\")\n thumbnail_image: thumbnailImage {\n resized(width: 300) {\n url\n }\n }\n id\n }\n }\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", - "metadata": {} + "metadata": {}, + "name": "routes_ArticlesQuery", + "operationKind": "query", + "text": "query routes_ArticlesQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...Articles_artist\n id\n }\n}\n\nfragment Articles_artist on Artist {\n ...ArtistArticles_artist\n}\n\nfragment ArtistArticles_artist on Artist {\n slug\n articlesConnection(first: 10, sort: PUBLISHED_AT_DESC, inEditorialFeed: true) {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n href\n thumbnail_title: thumbnailTitle\n author {\n name\n id\n }\n published_at: publishedAt(format: \"MMM Do, YYYY\")\n thumbnail_image: thumbnailImage {\n resized(width: 300) {\n url\n }\n }\n id\n }\n }\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" } }; })(); diff --git a/src/v2/__generated__/routes_Artist.graphql.ts b/src/v2/__generated__/routes_Artist.graphql.ts index 20fde590529..f297b6186d4 100644 --- a/src/v2/__generated__/routes_Artist.graphql.ts +++ b/src/v2/__generated__/routes_Artist.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -50,43 +51,39 @@ export type routes_Artist$key = { const node: ReaderFragment = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v1 = [ (v0/*: any*/) ]; return { + "argumentDefinitions": [], "kind": "Fragment", - "name": "routes_Artist", - "type": "Artist", "metadata": null, - "argumentDefinitions": [], + "name": "routes_Artist", "selections": [ (v0/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "statuses", - "storageKey": null, "args": null, "concreteType": "ArtistStatuses", + "kind": "LinkedField", + "name": "statuses", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "shows", "args": null, + "kind": "ScalarField", + "name": "shows", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cv", "args": [ { "kind": "Literal", @@ -94,92 +91,91 @@ return { "value": 0 } ], + "kind": "ScalarField", + "name": "cv", "storageKey": "cv(minShowCount:0)" }, { - "kind": "ScalarField", "alias": null, - "name": "articles", "args": null, + "kind": "ScalarField", + "name": "articles", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "forSaleArtworks", "args": null, + "kind": "ScalarField", + "name": "forSaleArtworks", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "genes", - "storageKey": null, "args": null, "concreteType": "GeneConnection", + "kind": "LinkedField", + "name": "genes", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "GeneEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "node", "plural": false, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)", "args": [ { "kind": "Literal", @@ -207,67 +203,68 @@ return { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, - "selections": (v1/*: any*/) + "selections": (v1/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "insights", - "storageKey": null, "args": null, "concreteType": "ArtistInsight", + "kind": "LinkedField", + "name": "insights", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "biographyBlurb", - "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)", "args": [ { "kind": "Literal", @@ -281,18 +278,22 @@ return { } ], "concreteType": "ArtistBlurb", + "kind": "LinkedField", + "name": "biographyBlurb", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "text", "args": null, + "kind": "ScalarField", + "name": "text", "storageKey": null } - ] + ], + "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)" } - ] + ], + "type": "Artist" }; })(); (node as any).hash = '43b0647d7faa4fcf531c9f3b2716ea88'; diff --git a/src/v2/__generated__/routes_ArtistConsignQuery.graphql.ts b/src/v2/__generated__/routes_ArtistConsignQuery.graphql.ts index 14861b76e8e..e9613604afd 100644 --- a/src/v2/__generated__/routes_ArtistConsignQuery.graphql.ts +++ b/src/v2/__generated__/routes_ArtistConsignQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -249,10 +250,10 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -263,45 +264,45 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "isInMicrofunnel", "args": null, + "kind": "ScalarField", + "name": "isInMicrofunnel", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v8 = [ @@ -313,117 +314,109 @@ v8 = [ ], v9 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_ArtistConsignQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_ArtistConsignQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "targetSupply", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupply", + "kind": "LinkedField", + "name": "targetSupply", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Consign_artist", - "args": null + "name": "Consign_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_ArtistConsignQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "targetSupply", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupply", + "kind": "LinkedField", + "name": "targetSupply", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "microfunnel", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupplyMicrofunnel", + "kind": "LinkedField", + "name": "microfunnel", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artworks", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupplyMicrofunnelArtwork", + "kind": "LinkedField", + "name": "artworks", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "imageURL", - "name": "url", "args": [ { "kind": "Literal", @@ -431,13 +424,12 @@ return { "value": "medium" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"medium\")" }, { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:395)", "args": [ { "kind": "Literal", @@ -446,23 +438,24 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ (v5/*: any*/), (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(height:395)" }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -470,317 +463,325 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, (v5/*: any*/), (v6/*: any*/) - ] + ], + "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v8/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v7/*: any*/), (v4/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v8/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), (v7/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "realizedPrice", "args": null, + "kind": "ScalarField", + "name": "realizedPrice", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "metadata", - "storageKey": null, "args": null, "concreteType": "TargetSupplyMicrofunnelMetadata", + "kind": "LinkedField", + "name": "metadata", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "roundedViews", "args": null, + "kind": "ScalarField", + "name": "roundedViews", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "roundedUniqueVisitors", "args": null, + "kind": "ScalarField", + "name": "roundedUniqueVisitors", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "highestRealized", "args": null, + "kind": "ScalarField", + "name": "highestRealized", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "str", "args": null, + "kind": "ScalarField", + "name": "str", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "realized", "args": null, + "kind": "ScalarField", + "name": "realized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_ArtistConsignQuery", "id": null, - "text": "query routes_ArtistConsignQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...Consign_artist\n targetSupply {\n isInMicrofunnel\n }\n id\n }\n}\n\nfragment ArtistConsignFAQ_artist on Artist {\n href\n}\n\nfragment ArtistConsignHeaderImages_artist on Artist {\n targetSupply {\n microfunnel {\n artworks {\n artwork {\n image {\n resized(height: 395) {\n width\n height\n url\n }\n }\n ...FillwidthItem_artwork\n id\n }\n }\n }\n }\n}\n\nfragment ArtistConsignHeader_artist on Artist {\n ...ArtistConsignHeaderImages_artist\n name\n href\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 artworks {\n artwork {\n image {\n imageURL: url(version: \"medium\")\n }\n id\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 targetSupply {\n microfunnel {\n artworks {\n artwork {\n image {\n aspectRatio\n width\n height\n }\n ...FillwidthItem_artwork\n id\n }\n realizedPrice\n }\n }\n }\n name\n}\n\nfragment ArtistConsignSellArt_artist on Artist {\n href\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Consign_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 Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_ArtistConsignQuery", + "operationKind": "query", + "text": "query routes_ArtistConsignQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...Consign_artist\n targetSupply {\n isInMicrofunnel\n }\n id\n }\n}\n\nfragment ArtistConsignFAQ_artist on Artist {\n href\n}\n\nfragment ArtistConsignHeaderImages_artist on Artist {\n targetSupply {\n microfunnel {\n artworks {\n artwork {\n image {\n resized(height: 395) {\n width\n height\n url\n }\n }\n ...FillwidthItem_artwork\n id\n }\n }\n }\n }\n}\n\nfragment ArtistConsignHeader_artist on Artist {\n ...ArtistConsignHeaderImages_artist\n name\n href\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 artworks {\n artwork {\n image {\n imageURL: url(version: \"medium\")\n }\n id\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 targetSupply {\n microfunnel {\n artworks {\n artwork {\n image {\n aspectRatio\n width\n height\n }\n ...FillwidthItem_artwork\n id\n }\n realizedPrice\n }\n }\n }\n name\n}\n\nfragment ArtistConsignSellArt_artist on Artist {\n href\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Consign_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 Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_ArtistSeriesQuery.graphql.ts b/src/v2/__generated__/routes_ArtistSeriesQuery.graphql.ts index 24ff80acec1..7777b67bfe2 100644 --- a/src/v2/__generated__/routes_ArtistSeriesQuery.graphql.ts +++ b/src/v2/__generated__/routes_ArtistSeriesQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -7,21 +8,21 @@ export type ArtworkSizes = "LARGE" | "MEDIUM" | "SMALL" | "%future added value"; export type routes_ArtistSeriesQueryVariables = { slug: string; acquireable?: boolean | null; - aggregations?: ReadonlyArray | null; + aggregations?: Array | null; atAuction?: boolean | null; - attributionClass?: ReadonlyArray | null; + attributionClass?: Array | null; color?: string | null; forSale?: boolean | null; height?: string | null; inquireableOnly?: boolean | null; keyword?: string | null; - majorPeriods?: ReadonlyArray | null; + majorPeriods?: Array | null; medium?: string | null; offerable?: boolean | null; page?: number | null; partnerID?: string | null; priceRange?: string | null; - sizes?: ReadonlyArray | null; + sizes?: Array | null; sort?: string | null; width?: string | null; }; @@ -304,124 +305,124 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "ID!", - "defaultValue": null + "type": "ID!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "acquireable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { - "kind": "LocalArgument", - "name": "aggregations", - "type": "[ArtworkAggregation]", "defaultValue": [ "MEDIUM", "TOTAL", "GALLERY", "INSTITUTION", "MAJOR_PERIOD" - ] + ], + "kind": "LocalArgument", + "name": "aggregations", + "type": "[ArtworkAggregation]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "atAuction", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "attributionClass", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "color", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "height", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "inquireableOnly", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "keyword", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "majorPeriods", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "offerable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "partnerID", - "type": "ID", - "defaultValue": null + "type": "ID" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sizes", - "type": "[ArtworkSizes]", - "defaultValue": null + "type": "[ArtworkSizes]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "width", - "type": "String", - "defaultValue": null + "type": "String" } ], v1 = [ @@ -522,37 +523,37 @@ v19 = { "variableName": "width" }, v20 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v21 = { - "kind": "ScalarField", "alias": null, - "name": "artworksCountMessage", "args": null, + "kind": "ScalarField", + "name": "artworksCountMessage", "storageKey": null }, v22 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ], v23 = { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "storageKey": null }, v24 = [ { @@ -562,62 +563,62 @@ v24 = [ } ], v25 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v26 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v27 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v28 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v29 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v30 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v31 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v32 = [ (v30/*: any*/), (v31/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ], @@ -630,34 +631,29 @@ v33 = [ ], v34 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_ArtistSeriesQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_ArtistSeriesQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeries", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "artistSeries", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "ArtistSeriesApp_artistSeries", "args": [ (v2/*: any*/), (v3/*: any*/), @@ -677,32 +673,34 @@ return { (v17/*: any*/), (v18/*: any*/), (v19/*: any*/) - ] + ], + "kind": "FragmentSpread", + "name": "ArtistSeriesApp_artistSeries" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_ArtistSeriesQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeries", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "artistSeries", "plural": false, "selections": [ (v20/*: any*/), (v21/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "descriptionFormatted", "args": [ { "kind": "Literal", @@ -710,16 +708,17 @@ return { "value": "HTML" } ], + "kind": "ScalarField", + "name": "descriptionFormatted", "storageKey": "descriptionFormatted(format:\"HTML\")" }, (v23/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(size:1)", "args": (v24/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v25/*: any*/), @@ -729,66 +728,63 @@ return { (v28/*: any*/), (v29/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artists(size:1)" }, { - "kind": "LinkedField", "alias": "railArtist", - "name": "artists", - "storageKey": "artists(size:1)", "args": (v24/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeriesConnection", - "storageKey": null, "args": null, "concreteType": "ArtistSeriesConnection", + "kind": "LinkedField", + "name": "artistSeriesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistSeriesEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v29/*: any*/), @@ -796,19 +792,15 @@ return { (v27/*: any*/), (v21/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:160,width:160)", "args": [ { "kind": "Literal", @@ -822,25 +814,30 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "storageKey": "cropped(height:160,width:160)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v28/*: any*/) - ] + ], + "storageKey": "artists(size:1)" }, { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "filterArtworksConnection", - "storageKey": null, "args": [ (v2/*: any*/), { @@ -872,148 +869,148 @@ return { (v19/*: any*/) ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ (v28/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, (v25/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v32/*: any*/) + "selections": (v32/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v32/*: any*/) + "selections": (v32/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v32/*: any*/) + "selections": (v32/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v30/*: any*/), (v31/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v28/*: any*/), @@ -1021,32 +1018,29 @@ return { (v26/*: any*/), (v29/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -1054,223 +1048,230 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, (v20/*: any*/), { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v33/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v28/*: any*/), (v26/*: any*/), (v25/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v33/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v25/*: any*/), (v26/*: any*/), (v28/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v28/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v34/*: any*/) + "selections": (v34/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v34/*: any*/) + "selections": (v34/*: any*/), + "storageKey": null }, (v28/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v28/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_ArtistSeriesQuery", "id": null, - "text": "query routes_ArtistSeriesQuery(\n $slug: ID!\n $acquireable: Boolean\n $aggregations: [ArtworkAggregation] = [MEDIUM, TOTAL, GALLERY, INSTITUTION, MAJOR_PERIOD]\n $atAuction: Boolean\n $attributionClass: [String]\n $color: String\n $forSale: Boolean\n $height: String\n $inquireableOnly: Boolean\n $keyword: String\n $majorPeriods: [String]\n $medium: String\n $offerable: Boolean\n $page: Int\n $partnerID: ID\n $priceRange: String\n $sizes: [ArtworkSizes]\n $sort: String\n $width: String\n) {\n artistSeries(id: $slug) {\n ...ArtistSeriesApp_artistSeries_1DvBHA\n }\n}\n\nfragment ArtistSeriesApp_artistSeries_1DvBHA on ArtistSeries {\n ...ArtistSeriesHeader_artistSeries\n railArtist: artists(size: 1) {\n ...ArtistSeriesRail_artist\n id\n }\n ...ArtistSeriesArtworksFilter_artistSeries_1DvBHA\n}\n\nfragment ArtistSeriesArtworksFilter_artistSeries_1DvBHA on ArtistSeries {\n filtered_artworks: filterArtworksConnection(acquireable: $acquireable, aggregations: $aggregations, atAuction: $atAuction, attributionClass: $attributionClass, color: $color, forSale: $forSale, height: $height, inquireableOnly: $inquireableOnly, keyword: $keyword, majorPeriods: $majorPeriods, medium: $medium, offerable: $offerable, page: $page, partnerID: $partnerID, priceRange: $priceRange, sizes: $sizes, first: 20, after: \"\", sort: $sort, width: $width) {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtistSeriesHeader_artistSeries on ArtistSeries {\n title\n artworksCountMessage\n descriptionFormatted(format: HTML)\n image {\n url\n }\n artists(size: 1) {\n name\n image {\n url\n }\n href\n slug\n ...FollowArtistButton_artist\n id\n }\n}\n\nfragment ArtistSeriesItem_artistSeries on ArtistSeries {\n title\n slug\n artworksCountMessage\n image {\n cropped(width: 160, height: 160) {\n url\n }\n }\n}\n\nfragment ArtistSeriesRail_artist on Artist {\n artistSeriesConnection {\n edges {\n node {\n internalID\n ...ArtistSeriesItem_artistSeries\n }\n }\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_ArtistSeriesQuery", + "operationKind": "query", + "text": "query routes_ArtistSeriesQuery(\n $slug: ID!\n $acquireable: Boolean\n $aggregations: [ArtworkAggregation] = [MEDIUM, TOTAL, GALLERY, INSTITUTION, MAJOR_PERIOD]\n $atAuction: Boolean\n $attributionClass: [String]\n $color: String\n $forSale: Boolean\n $height: String\n $inquireableOnly: Boolean\n $keyword: String\n $majorPeriods: [String]\n $medium: String\n $offerable: Boolean\n $page: Int\n $partnerID: ID\n $priceRange: String\n $sizes: [ArtworkSizes]\n $sort: String\n $width: String\n) {\n artistSeries(id: $slug) {\n ...ArtistSeriesApp_artistSeries_1DvBHA\n }\n}\n\nfragment ArtistSeriesApp_artistSeries_1DvBHA on ArtistSeries {\n ...ArtistSeriesHeader_artistSeries\n railArtist: artists(size: 1) {\n ...ArtistSeriesRail_artist\n id\n }\n ...ArtistSeriesArtworksFilter_artistSeries_1DvBHA\n}\n\nfragment ArtistSeriesArtworksFilter_artistSeries_1DvBHA on ArtistSeries {\n filtered_artworks: filterArtworksConnection(acquireable: $acquireable, aggregations: $aggregations, atAuction: $atAuction, attributionClass: $attributionClass, color: $color, forSale: $forSale, height: $height, inquireableOnly: $inquireableOnly, keyword: $keyword, majorPeriods: $majorPeriods, medium: $medium, offerable: $offerable, page: $page, partnerID: $partnerID, priceRange: $priceRange, sizes: $sizes, first: 20, after: \"\", sort: $sort, width: $width) {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtistSeriesHeader_artistSeries on ArtistSeries {\n title\n artworksCountMessage\n descriptionFormatted(format: HTML)\n image {\n url\n }\n artists(size: 1) {\n name\n image {\n url\n }\n href\n slug\n ...FollowArtistButton_artist\n id\n }\n}\n\nfragment ArtistSeriesItem_artistSeries on ArtistSeries {\n title\n slug\n artworksCountMessage\n image {\n cropped(width: 160, height: 160) {\n url\n }\n }\n}\n\nfragment ArtistSeriesRail_artist on Artist {\n artistSeriesConnection {\n edges {\n node {\n internalID\n ...ArtistSeriesItem_artistSeries\n }\n }\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_ArtistTopLevelQuery.graphql.ts b/src/v2/__generated__/routes_ArtistTopLevelQuery.graphql.ts index e03b3068a5d..f74e3e11d0b 100644 --- a/src/v2/__generated__/routes_ArtistTopLevelQuery.graphql.ts +++ b/src/v2/__generated__/routes_ArtistTopLevelQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -456,10 +457,10 @@ fragment NavigationTabs_artist on Artist { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -470,23 +471,21 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "shows", "args": null, + "kind": "ScalarField", + "name": "shows", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "cv", "args": [ { "kind": "Literal", @@ -494,20 +493,22 @@ v4 = { "value": 0 } ], + "kind": "ScalarField", + "name": "cv", "storageKey": "cv(minShowCount:0)" }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "articles", "args": null, + "kind": "ScalarField", + "name": "articles", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "forSaleArtworks", "args": null, + "kind": "ScalarField", + "name": "forSaleArtworks", "storageKey": null }, v7 = [ @@ -541,17 +542,14 @@ v9 = [ } ], v10 = { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, v11 = { - "kind": "LinkedField", "alias": null, - "name": "biographyBlurb", - "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)", "args": [ { "kind": "Literal", @@ -565,49 +563,50 @@ v11 = { } ], "concreteType": "ArtistBlurb", + "kind": "LinkedField", + "name": "biographyBlurb", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "text", "args": null, + "kind": "ScalarField", + "name": "text", "storageKey": null } - ] + ], + "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)" }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, v16 = { - "kind": "ScalarField", "alias": "large", - "name": "url", "args": [ { "kind": "Literal", @@ -615,52 +614,51 @@ v16 = { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, v17 = { - "kind": "ScalarField", "alias": null, - "name": "artworks", "args": null, + "kind": "ScalarField", + "name": "artworks", "storageKey": null }, v18 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v19 = { - "kind": "ScalarField", "alias": null, - "name": "major", "args": null, + "kind": "ScalarField", + "name": "major", "storageKey": null }, v20 = [ (v19/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "currencyCode", "args": null, + "kind": "ScalarField", + "name": "currencyCode", "storageKey": null } ], v21 = { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "small", - "name": "url", "args": [ { "kind": "Literal", @@ -668,300 +666,299 @@ v21 = { "value": "small" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"small\")" }, (v16/*: any*/) - ] + ], + "storageKey": null }, v22 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v23 = { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, "selections": [ (v2/*: any*/), (v22/*: any*/) - ] + ], + "storageKey": null }, (v22/*: any*/) - ] + ], + "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_ArtistTopLevelQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_ArtistTopLevelQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "statuses", - "storageKey": null, "args": null, "concreteType": "ArtistStatuses", + "kind": "LinkedField", + "name": "statuses", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ (v6/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "genes", - "storageKey": null, "args": null, "concreteType": "GeneConnection", + "kind": "LinkedField", + "name": "genes", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "GeneEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "node", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)", "args": (v9/*: any*/), "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "insights", - "storageKey": null, "args": null, "concreteType": "ArtistInsight", + "kind": "LinkedField", + "name": "insights", "plural": true, "selections": [ (v10/*: any*/) - ] + ], + "storageKey": null }, (v11/*: any*/), { + "args": null, "kind": "FragmentSpread", - "name": "ArtistApp_artist", - "args": null + "name": "ArtistApp_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_ArtistTopLevelQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, (v12/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "nationality", "args": null, + "kind": "ScalarField", + "name": "nationality", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "birthday", "args": null, + "kind": "ScalarField", + "name": "birthday", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "deathday", "args": null, + "kind": "ScalarField", + "name": "deathday", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "gender", "args": null, + "kind": "ScalarField", + "name": "gender", "storageKey": null }, (v13/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "meta", - "storageKey": null, "args": null, "concreteType": "ArtistMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ (v14/*: any*/), (v15/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "alternate_names", - "name": "alternateNames", "args": null, + "kind": "ScalarField", + "name": "alternateNames", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "versions", "args": null, + "kind": "ScalarField", + "name": "versions", "storageKey": null }, (v16/*: any*/), { - "kind": "ScalarField", "alias": "square", - "name": "url", "args": [ { "kind": "Literal", @@ -969,42 +966,42 @@ return { "value": "square" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"square\")" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ (v17/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "blurb", "args": null, + "kind": "ScalarField", + "name": "blurb", "storageKey": null }, { - "kind": "LinkedField", "alias": "artworks_connection", - "name": "artworksConnection", - "storageKey": "artworksConnection(filter:\"IS_FOR_SALE\",first:10,published:true)", "args": [ { "kind": "Literal", @@ -1019,296 +1016,296 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v14/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, (v15/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "category", "args": null, + "kind": "ScalarField", + "name": "category", "storageKey": null }, { - "kind": "ScalarField", "alias": "price_currency", - "name": "priceCurrency", "args": null, + "kind": "ScalarField", + "name": "priceCurrency", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ (v18/*: any*/), { "kind": "InlineFragment", - "type": "PriceRange", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "minPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "minPrice", "plural": false, - "selections": (v20/*: any*/) + "selections": (v20/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "maxPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "maxPrice", "plural": false, "selections": [ (v19/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", - "selections": (v20/*: any*/) + "selections": (v20/*: any*/), + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "availability", "args": null, + "kind": "ScalarField", + "name": "availability", "storageKey": null }, (v13/*: any*/), (v21/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v12/*: any*/), (v13/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ (v21/*: any*/), (v22/*: any*/) - ] + ], + "storageKey": null }, (v22/*: any*/) - ] + ], + "storageKey": null }, (v22/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(filter:\"IS_FOR_SALE\",first:10,published:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "statuses", - "storageKey": null, "args": null, "concreteType": "ArtistStatuses", + "kind": "LinkedField", + "name": "statuses", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "auctionLots", "args": null, + "kind": "ScalarField", + "name": "auctionLots", "storageKey": null }, (v17/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)", "args": (v9/*: any*/), "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ (v18/*: any*/), (v22/*: any*/), (v23/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)" } - ] + ], + "storageKey": null }, (v11/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "genes", - "storageKey": null, "args": null, "concreteType": "GeneConnection", + "kind": "LinkedField", + "name": "genes", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "GeneEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v18/*: any*/), (v22/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "insights", - "storageKey": null, "args": null, "concreteType": "ArtistInsight", + "kind": "LinkedField", + "name": "insights", "plural": true, "selections": [ (v18/*: any*/), (v10/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artistHightlights", - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)", "args": (v9/*: any*/), "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ (v23/*: any*/), (v22/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")", "args": [ { "kind": "Literal", @@ -1327,39 +1324,36 @@ return { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": [ { "kind": "Literal", @@ -1367,21 +1361,22 @@ return { "value": "0a" } ], + "kind": "ScalarField", + "name": "display", "storageKey": "display(format:\"0a\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "organization", "args": null, + "kind": "ScalarField", + "name": "organization", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_date", - "name": "saleDate", "args": [ { "kind": "Literal", @@ -1389,40 +1384,46 @@ return { "value": "YYYY" } ], + "kind": "ScalarField", + "name": "saleDate", "storageKey": "saleDate(format:\"YYYY\")" }, (v22/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")" }, { - "kind": "ScalarField", "alias": null, - "name": "formattedNationalityAndBirthday", "args": null, + "kind": "ScalarField", + "name": "formattedNationalityAndBirthday", "storageKey": null }, (v22/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_ArtistTopLevelQuery", "id": null, - "text": "query routes_ArtistTopLevelQuery(\n $artistID: String!\n) {\n artist(id: $artistID) @principalField {\n ...ArtistApp_artist\n slug\n statuses {\n shows\n cv(minShowCount: 0)\n articles\n }\n counts {\n forSaleArtworks\n }\n related {\n genes {\n edges {\n node {\n slug\n id\n }\n }\n }\n }\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 insights {\n type\n }\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n id\n }\n}\n\nfragment ArtistApp_artist on Artist {\n internalID\n name\n slug\n ...ArtistMeta_artist\n ...ArtistHeader_artist\n ...NavigationTabs_artist\n}\n\nfragment ArtistHeader_artist on Artist {\n artistHightlights: 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: \"0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n internalID\n slug\n name\n formattedNationalityAndBirthday\n counts {\n follows\n forSaleArtworks\n }\n ...FollowArtistButton_artist\n}\n\nfragment ArtistMetaCanonicalLink_artist on Artist {\n slug\n statuses {\n shows\n cv(minShowCount: 0)\n articles\n auctionLots\n artworks\n }\n highlights {\n partnersConnection(first: 10, displayOnPartnerProfile: true, representedBy: true, partnerCategory: [\"blue-chip\", \"top-established\", \"top-emerging\"]) {\n edges {\n __typename\n id\n }\n }\n }\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n related {\n genes {\n edges {\n node {\n __typename\n id\n }\n }\n }\n }\n insights {\n __typename\n }\n}\n\nfragment ArtistMeta_artist on Artist {\n slug\n name\n nationality\n birthday\n deathday\n gender\n href\n meta {\n title\n description\n }\n alternate_names: alternateNames\n image {\n versions\n large: url(version: \"large\")\n square: url(version: \"square\")\n }\n counts {\n artworks\n }\n blurb\n artworks_connection: artworksConnection(first: 10, filter: IS_FOR_SALE, published: true) {\n edges {\n node {\n title\n date\n description\n category\n price_currency: priceCurrency\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 availability\n href\n image {\n small: url(version: \"small\")\n large: url(version: \"large\")\n }\n partner {\n name\n href\n profile {\n image {\n small: url(version: \"small\")\n large: url(version: \"large\")\n }\n id\n }\n id\n }\n id\n }\n }\n }\n ...ArtistMetaCanonicalLink_artist\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment NavigationTabs_artist on Artist {\n slug\n statuses {\n shows\n cv(minShowCount: 0)\n articles\n auctionLots\n artworks\n }\n counts {\n forSaleArtworks\n }\n related {\n genes {\n edges {\n node {\n slug\n id\n }\n }\n }\n }\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 insights {\n type\n }\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_ArtistTopLevelQuery", + "operationKind": "query", + "text": "query routes_ArtistTopLevelQuery(\n $artistID: String!\n) {\n artist(id: $artistID) @principalField {\n ...ArtistApp_artist\n slug\n statuses {\n shows\n cv(minShowCount: 0)\n articles\n }\n counts {\n forSaleArtworks\n }\n related {\n genes {\n edges {\n node {\n slug\n id\n }\n }\n }\n }\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 insights {\n type\n }\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n id\n }\n}\n\nfragment ArtistApp_artist on Artist {\n internalID\n name\n slug\n ...ArtistMeta_artist\n ...ArtistHeader_artist\n ...NavigationTabs_artist\n}\n\nfragment ArtistHeader_artist on Artist {\n artistHightlights: 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: \"0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n internalID\n slug\n name\n formattedNationalityAndBirthday\n counts {\n follows\n forSaleArtworks\n }\n ...FollowArtistButton_artist\n}\n\nfragment ArtistMetaCanonicalLink_artist on Artist {\n slug\n statuses {\n shows\n cv(minShowCount: 0)\n articles\n auctionLots\n artworks\n }\n highlights {\n partnersConnection(first: 10, displayOnPartnerProfile: true, representedBy: true, partnerCategory: [\"blue-chip\", \"top-established\", \"top-emerging\"]) {\n edges {\n __typename\n id\n }\n }\n }\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n related {\n genes {\n edges {\n node {\n __typename\n id\n }\n }\n }\n }\n insights {\n __typename\n }\n}\n\nfragment ArtistMeta_artist on Artist {\n slug\n name\n nationality\n birthday\n deathday\n gender\n href\n meta {\n title\n description\n }\n alternate_names: alternateNames\n image {\n versions\n large: url(version: \"large\")\n square: url(version: \"square\")\n }\n counts {\n artworks\n }\n blurb\n artworks_connection: artworksConnection(first: 10, filter: IS_FOR_SALE, published: true) {\n edges {\n node {\n title\n date\n description\n category\n price_currency: priceCurrency\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 availability\n href\n image {\n small: url(version: \"small\")\n large: url(version: \"large\")\n }\n partner {\n name\n href\n profile {\n image {\n small: url(version: \"small\")\n large: url(version: \"large\")\n }\n id\n }\n id\n }\n id\n }\n }\n }\n ...ArtistMetaCanonicalLink_artist\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment NavigationTabs_artist on Artist {\n slug\n statuses {\n shows\n cv(minShowCount: 0)\n articles\n auctionLots\n artworks\n }\n counts {\n forSaleArtworks\n }\n related {\n genes {\n edges {\n node {\n slug\n id\n }\n }\n }\n }\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 insights {\n type\n }\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_ArtworkQuery.graphql.ts b/src/v2/__generated__/routes_ArtworkQuery.graphql.ts index 6323c7cbad2..f2e17afa2e2 100644 --- a/src/v2/__generated__/routes_ArtworkQuery.graphql.ts +++ b/src/v2/__generated__/routes_ArtworkQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -1114,16 +1115,16 @@ fragment VerifiedSeller_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "shouldFetchArtistSeriesData", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" } ], v1 = [ @@ -1134,80 +1135,80 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": "is_offerable", - "name": "isOfferable", "args": null, + "kind": "ScalarField", + "name": "isOfferable", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "major", "args": null, + "kind": "ScalarField", + "name": "major", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "currencyCode", "args": null, + "kind": "ScalarField", + "name": "currencyCode", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "minor", "args": null, + "kind": "ScalarField", + "name": "minor", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, v13 = { @@ -1216,45 +1217,45 @@ v13 = { "value": "square" }, v14 = { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, v15 = { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, v16 = { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, v17 = { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, v18 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v19 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v20 = [ @@ -1262,29 +1263,25 @@ v20 = [ (v11/*: any*/) ], v21 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }, v22 = [ (v21/*: any*/) ], v23 = { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:100,width:100)", "args": [ { "kind": "Literal", @@ -1298,43 +1295,47 @@ v23 = { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "storageKey": "cropped(height:100,width:100)" } - ] + ], + "storageKey": null }, v24 = { - "kind": "ScalarField", "alias": "formatted_nationality_and_birthday", - "name": "formattedNationalityAndBirthday", "args": null, + "kind": "ScalarField", + "name": "formattedNationalityAndBirthday", "storageKey": null }, v25 = { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null }, v26 = { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "partner_shows", - "name": "partnerShows", "args": null, + "kind": "ScalarField", + "name": "partnerShows", "storageKey": null }, (v25/*: any*/) - ] + ], + "storageKey": null }, v27 = [ (v18/*: any*/) @@ -1347,17 +1348,14 @@ v28 = [ } ], v29 = { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, v30 = { - "kind": "LinkedField", "alias": "exhibition_highlights", - "name": "exhibitionHighlights", - "storageKey": "exhibitionHighlights(size:3)", "args": [ { "kind": "Literal", @@ -1366,53 +1364,51 @@ v30 = { } ], "concreteType": "Show", + "kind": "LinkedField", + "name": "exhibitionHighlights", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v6/*: any*/), (v11/*: any*/), { "kind": "InlineFragment", - "type": "ExternalPartner", - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "type": "ExternalPartner" }, { "kind": "InlineFragment", - "type": "Partner", - "selections": (v27/*: any*/) + "selections": (v27/*: any*/), + "type": "Partner" } - ] + ], + "storageKey": null }, (v18/*: any*/), { - "kind": "ScalarField", "alias": "start_at", - "name": "startAt", "args": (v28/*: any*/), + "kind": "ScalarField", + "name": "startAt", "storageKey": "startAt(format:\"YYYY\")" }, { - "kind": "LinkedField", "alias": "cover_image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:600,width:800)", "args": [ { "kind": "Literal", @@ -1426,36 +1422,37 @@ v30 = { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "storageKey": "cropped(height:600,width:800)" } - ] + ], + "storageKey": null }, (v29/*: any*/), (v11/*: any*/) - ] + ], + "storageKey": "exhibitionHighlights(size:3)" }, v31 = { - "kind": "ScalarField", "alias": null, - "name": "collections", "args": null, + "kind": "ScalarField", + "name": "collections", "storageKey": null }, v32 = { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)", "args": [ { "kind": "Literal", @@ -1483,49 +1480,53 @@ v32 = { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v6/*: any*/), (v11/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, "selections": [ (v2/*: any*/), (v11/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v11/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)" } - ] + ], + "storageKey": null }, v33 = { "kind": "Literal", @@ -1533,10 +1534,7 @@ v33 = { "value": 1 }, v34 = { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")", "args": [ (v33/*: any*/), { @@ -1551,41 +1549,38 @@ v34 = { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v6/*: any*/), (v11/*: any*/), { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": [ { "kind": "Literal", @@ -1593,29 +1588,35 @@ v34 = { "value": "0a" } ], + "kind": "ScalarField", + "name": "display", "storageKey": "display(format:\"0a\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "organization", "args": null, + "kind": "ScalarField", + "name": "organization", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_date", - "name": "saleDate", "args": (v28/*: any*/), + "kind": "ScalarField", + "name": "saleDate", "storageKey": "saleDate(format:\"YYYY\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")" }, v35 = { "kind": "Literal", @@ -1623,10 +1624,7 @@ v35 = { "value": "HTML" }, v36 = { - "kind": "LinkedField", "alias": null, - "name": "biographyBlurb", - "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)", "args": [ (v35/*: any*/), { @@ -1636,22 +1634,25 @@ v36 = { } ], "concreteType": "ArtistBlurb", + "kind": "LinkedField", + "name": "biographyBlurb", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "text", "args": null, + "kind": "ScalarField", + "name": "text", "storageKey": null } - ] + ], + "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)" }, v37 = { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, v38 = [ @@ -1672,60 +1673,57 @@ v38 = [ } ], v39 = { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, v40 = { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, v41 = { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, v42 = { - "kind": "ScalarField", "alias": null, - "name": "initials", "args": null, + "kind": "ScalarField", + "name": "initials", "storageKey": null }, v43 = { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, v44 = { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, v45 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v46 = [ { - "kind": "LinkedField", "alias": "img", - "name": "resized", - "storageKey": "resized(height:70,version:\"square\",width:70)", "args": [ { "kind": "Literal", @@ -1740,96 +1738,99 @@ v46 = [ } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "storageKey": "resized(height:70,version:\"square\",width:70)" } ], v47 = { - "kind": "ScalarField", "alias": null, - "name": "category", "args": null, + "kind": "ScalarField", + "name": "category", "storageKey": null }, v48 = { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "in", "args": null, + "kind": "ScalarField", + "name": "in", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cm", "args": null, + "kind": "ScalarField", + "name": "cm", "storageKey": null } - ] + ], + "storageKey": null }, v49 = { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, v50 = { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, v51 = { - "kind": "ScalarField", "alias": "edition_of", - "name": "editionOf", "args": null, + "kind": "ScalarField", + "name": "editionOf", "storageKey": null }, v52 = [ (v7/*: any*/) ], v53 = { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, v54 = { - "kind": "ScalarField", "alias": null, - "name": "cents", "args": null, + "kind": "ScalarField", + "name": "cents", "storageKey": null }, v55 = { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, v56 = [ @@ -1837,38 +1838,36 @@ v56 = [ ], v57 = [ { - "kind": "ScalarField", "alias": null, - "name": "label", "args": null, + "kind": "ScalarField", + "name": "label", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "details", "args": null, + "kind": "ScalarField", + "name": "details", "storageKey": null } ], v58 = { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, v59 = { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, v60 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -1876,6 +1875,8 @@ v60 = { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, v61 = [ @@ -1886,48 +1887,47 @@ v61 = [ } ], v62 = { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v61/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v11/*: any*/), (v19/*: any*/), (v18/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, v63 = { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, v64 = { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v61/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v18/*: any*/), (v19/*: any*/), (v11/*: any*/), (v41/*: any*/) - ] + ], + "storageKey": "partner(shallow:true)" }, v65 = { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ (v12/*: any*/), @@ -1937,52 +1937,50 @@ v65 = { (v17/*: any*/), (v16/*: any*/), { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, v66 = { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ (v53/*: any*/), { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v52/*: any*/) + "selections": (v52/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v52/*: any*/) + "selections": (v52/*: any*/), + "storageKey": null }, (v11/*: any*/) - ] + ], + "storageKey": null }, v67 = { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:8)", "args": [ { "kind": "Literal", @@ -1991,25 +1989,25 @@ v67 = { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ (v6/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v11/*: any*/), @@ -2017,31 +2015,31 @@ v67 = { (v19/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ (v59/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, (v60/*: any*/) - ] + ], + "storageKey": null }, (v45/*: any*/), { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, (v39/*: any*/), @@ -2055,74 +2053,76 @@ v67 = { (v55/*: any*/), (v58/*: any*/), (v50/*: any*/) - ] + ], + "storageKey": null }, (v11/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:8)" }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_ArtworkQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_ArtworkQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "ArtworkApp_artwork", "args": [ { "kind": "Variable", "name": "shouldFetchArtistSeriesData", "variableName": "shouldFetchArtistSeriesData" } - ] + ], + "kind": "FragmentSpread", + "name": "ArtworkApp_artwork" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ArtworkApp_me", - "args": null + "name": "ArtworkApp_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_ArtworkQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v2/*: any*/), @@ -2130,82 +2130,81 @@ return { (v4/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "availability", "args": null, + "kind": "ScalarField", + "name": "availability", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ (v6/*: any*/), { "kind": "InlineFragment", - "type": "PriceRange", "selections": [ (v7/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "minPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "minPrice", "plural": false, "selections": [ (v8/*: any*/), (v9/*: any*/), (v10/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "maxPrice", - "storageKey": null, "args": null, "concreteType": "Money", + "kind": "LinkedField", + "name": "maxPrice", "plural": false, "selections": [ (v8/*: any*/), (v10/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "PriceRange" }, { "kind": "InlineFragment", - "type": "Money", "selections": [ (v7/*: any*/), (v8/*: any*/), (v9/*: any*/), (v10/*: any*/) - ] + ], + "type": "Money" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_in_auction", - "name": "isInAuction", "args": null, + "kind": "ScalarField", + "name": "isInAuction", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ (v3/*: any*/), @@ -2213,118 +2212,118 @@ return { (v11/*: any*/), (v12/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isBenefit", "args": null, + "kind": "ScalarField", + "name": "isBenefit", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isGalleryAuction", "args": null, + "kind": "ScalarField", + "name": "isGalleryAuction", "storageKey": null }, { - "kind": "LinkedField", "alias": "cover_image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ (v13/*: any*/) ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"square\")" } - ] + ], + "storageKey": null }, (v14/*: any*/), (v15/*: any*/), { - "kind": "ScalarField", "alias": "is_with_buyers_premium", - "name": "isWithBuyersPremium", "args": null, + "kind": "ScalarField", + "name": "isWithBuyersPremium", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "qualified_for_bidding", - "name": "qualifiedForBidding", "args": null, + "kind": "ScalarField", + "name": "qualifiedForBidding", "storageKey": null }, (v11/*: any*/) - ] + ], + "storageKey": null }, (v16/*: any*/), (v17/*: any*/), { - "kind": "ScalarField", "alias": "is_registration_closed", - "name": "isRegistrationClosed", "args": null, + "kind": "ScalarField", + "name": "isRegistrationClosed", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "requireIdentityVerification", "args": null, + "kind": "ScalarField", + "name": "requireIdentityVerification", "storageKey": null }, (v18/*: any*/), (v19/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, - "selections": (v20/*: any*/) + "selections": (v20/*: any*/), + "storageKey": null }, { - "kind": "ScalarField", "alias": "live_start_at", - "name": "liveStartAt", "args": null, + "kind": "ScalarField", + "name": "liveStartAt", "storageKey": null }, { - "kind": "ScalarField", "alias": "end_at", - "name": "endAt", "args": null, + "kind": "ScalarField", + "name": "endAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v11/*: any*/), @@ -2342,19 +2341,15 @@ return { (v36/*: any*/), (v37/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "suggestedConnection", - "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)", "args": [ { "kind": "Literal", @@ -2368,43 +2363,39 @@ return { } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "suggestedConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v11/*: any*/), (v3/*: any*/), (v18/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:45,width:45)", "args": [ { "kind": "Literal", @@ -2418,35 +2409,43 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "storageKey": "cropped(height:45,width:45)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "suggestedConnection(excludeFollowedArtists:true,first:3)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_consignable", - "name": "isConsignable", "args": null, + "kind": "ScalarField", + "name": "isConsignable", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v3/*: any*/), @@ -2464,83 +2463,75 @@ return { (v11/*: any*/), (v37/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistsConnection", - "storageKey": "artistsConnection(after:\"\",first:4,kind:\"MAIN\")", "args": (v38/*: any*/), "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "artistsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v18/*: any*/), (v2/*: any*/), (v19/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:300,width:400)", "args": [ { "kind": "Literal", @@ -2554,101 +2545,104 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "storageKey": "cropped(height:300,width:400)" } - ] + ], + "storageKey": null }, (v24/*: any*/), (v11/*: any*/), (v3/*: any*/), (v37/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ (v25/*: any*/) - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artistsConnection(after:\"\",first:4,kind:\"MAIN\")" }, { - "kind": "LinkedHandle", "alias": null, - "name": "artistsConnection", "args": (v38/*: any*/), - "handle": "connection", - "key": "ArtworkRelatedArtists_artistsConnection", "filters": [ "kind" - ] + ], + "handle": "connection", + "key": "ArtworkRelatedArtists_artistsConnection", + "kind": "LinkedHandle", + "name": "artistsConnection" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v19/*: any*/), (v39/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, (v40/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v18/*: any*/), (v11/*: any*/), (v41/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:320,version:[\"medium\"],width:320)", "args": [ { "kind": "Literal", @@ -2669,28 +2663,29 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "storageKey": "resized(height:320,version:[\"medium\"],width:320)" } - ] + ], + "storageKey": null }, (v11/*: any*/), (v3/*: any*/), (v37/*: any*/), (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "icon", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "icon", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -2698,73 +2693,74 @@ return { "value": "square140" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"square140\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v42/*: any*/), (v19/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "locations", - "storageKey": null, "args": null, "concreteType": "Location", + "kind": "LinkedField", + "name": "locations", "plural": true, "selections": [ (v29/*: any*/), (v11/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isVerifiedSeller", "args": null, + "kind": "ScalarField", + "name": "isVerifiedSeller", "storageKey": null }, (v3/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": "is_default_profile_public", - "name": "isDefaultProfilePublic", "args": null, + "kind": "ScalarField", + "name": "isDefaultProfilePublic", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "image_rights", - "name": "imageRights", "args": null, + "kind": "ScalarField", + "name": "imageRights", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_shareable", - "name": "isShareable", "args": null, + "kind": "ScalarField", + "name": "isShareable", "storageKey": null }, { - "kind": "LinkedField", "alias": "meta_image", - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:640,version:[\"large\",\"medium\",\"tall\"],width:640)", "args": [ { "kind": "Literal", @@ -2787,29 +2783,30 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ (v43/*: any*/), (v44/*: any*/), (v21/*: any*/) - ] + ], + "storageKey": "resized(height:640,version:[\"large\",\"medium\",\"tall\"],width:640)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "meta", - "storageKey": null, "args": null, "concreteType": "ArtworkMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ (v45/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "description", "args": [ { "kind": "Literal", @@ -2817,12 +2814,12 @@ return { "value": 155 } ], + "kind": "ScalarField", + "name": "description", "storageKey": "description(limit:155)" }, { - "kind": "ScalarField", "alias": "long_description", - "name": "description", "args": [ { "kind": "Literal", @@ -2830,100 +2827,103 @@ return { "value": 200 } ], + "kind": "ScalarField", + "name": "description", "storageKey": "description(limit:200)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "context", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "context", "plural": false, "selections": [ (v6/*: any*/), (v11/*: any*/), { "kind": "InlineFragment", - "type": "Fair", "selections": [ (v2/*: any*/), (v18/*: any*/), (v19/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "profile", - "storageKey": null, "args": null, "concreteType": "Profile", + "kind": "LinkedField", + "name": "profile", "plural": false, "selections": [ (v42/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "icon", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "icon", "plural": false, - "selections": (v46/*: any*/) + "selections": (v46/*: any*/), + "storageKey": null }, (v11/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "Fair" }, { "kind": "InlineFragment", - "type": "Sale", "selections": [ (v18/*: any*/), (v19/*: any*/) - ] + ], + "type": "Sale" }, { "kind": "InlineFragment", - "type": "Show", "selections": [ (v18/*: any*/), (v19/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, { - "kind": "LinkedField", "alias": "thumbnail", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, - "selections": (v46/*: any*/) + "selections": (v46/*: any*/), + "storageKey": null } - ] + ], + "type": "Show" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_price_hidden", - "name": "isPriceHidden", "args": null, + "kind": "ScalarField", + "name": "isPriceHidden", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_price_range", - "name": "isPriceRange", "args": null, + "kind": "ScalarField", + "name": "isPriceRange", "storageKey": null }, (v47/*: any*/), @@ -2931,12 +2931,11 @@ return { (v49/*: any*/), (v50/*: any*/), { - "kind": "LinkedField", "alias": "edition_sets", - "name": "editionSets", - "storageKey": null, "args": null, "concreteType": "EditionSet", + "kind": "LinkedField", + "name": "editionSets", "plural": true, "selections": [ (v6/*: any*/), @@ -2947,112 +2946,110 @@ return { (v40/*: any*/), (v48/*: any*/), (v51/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "lot_label", - "name": "lotLabel", "args": null, + "kind": "ScalarField", + "name": "lotLabel", "storageKey": null }, (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "estimate", "args": null, + "kind": "ScalarField", + "name": "estimate", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_with_reserve", - "name": "isWithReserve", "args": null, + "kind": "ScalarField", + "name": "isWithReserve", "storageKey": null }, { - "kind": "ScalarField", "alias": "reserve_message", - "name": "reserveMessage", "args": null, + "kind": "ScalarField", + "name": "reserveMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "reserve_status", - "name": "reserveStatus", "args": null, + "kind": "ScalarField", + "name": "reserveStatus", "storageKey": null }, { - "kind": "LinkedField", "alias": "current_bid", - "name": "currentBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCurrentBid", + "kind": "LinkedField", + "name": "currentBid", "plural": false, - "selections": (v52/*: any*/) + "selections": (v52/*: any*/), + "storageKey": null }, (v53/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "increments", - "storageKey": null, "args": null, "concreteType": "BidIncrementsFormatted", + "kind": "LinkedField", + "name": "increments", "plural": true, "selections": [ (v54/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v45/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "medium", "args": null, + "kind": "ScalarField", + "name": "medium", "storageKey": null }, (v51/*: any*/), { - "kind": "LinkedField", "alias": "attribution_class", - "name": "attributionClass", - "storageKey": null, "args": null, "concreteType": "AttributionClass", + "kind": "LinkedField", + "name": "attributionClass", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "short_description", - "name": "shortDescription", "args": null, + "kind": "ScalarField", + "name": "shortDescription", "storageKey": null }, (v11/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLotStanding", - "storageKey": "myLotStanding(live:true)", "args": [ { "kind": "Literal", @@ -3061,177 +3058,177 @@ return { } ], "concreteType": "LotStanding", + "kind": "LinkedField", + "name": "myLotStanding", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": "active_bid", - "name": "activeBid", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "activeBid", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_winning", - "name": "isWinning", "args": null, + "kind": "ScalarField", + "name": "isWinning", "storageKey": null }, (v11/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "most_recent_bid", - "name": "mostRecentBid", - "storageKey": null, "args": null, "concreteType": "BidderPosition", + "kind": "LinkedField", + "name": "mostRecentBid", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "max_bid", - "name": "maxBid", - "storageKey": null, "args": null, "concreteType": "BidderPositionMaxBid", + "kind": "LinkedField", + "name": "maxBid", "plural": false, "selections": [ (v7/*: any*/), (v54/*: any*/) - ] + ], + "storageKey": null }, (v11/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "myLotStanding(live:true)" }, { - "kind": "ScalarField", "alias": "is_for_sale", - "name": "isForSale", "args": null, + "kind": "ScalarField", + "name": "isForSale", "storageKey": null }, (v55/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "priceIncludesTaxDisplay", "args": null, + "kind": "ScalarField", + "name": "priceIncludesTaxDisplay", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingInfo", "args": null, + "kind": "ScalarField", + "name": "shippingInfo", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasCertificateOfAuthenticity", "args": null, + "kind": "ScalarField", + "name": "hasCertificateOfAuthenticity", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "description", "args": (v56/*: any*/), + "kind": "ScalarField", + "name": "description", "storageKey": "description(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": "additional_information", - "name": "additionalInformation", "args": (v56/*: any*/), + "kind": "ScalarField", + "name": "additionalInformation", "storageKey": "additionalInformation(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": null, - "name": "series", "args": null, + "kind": "ScalarField", + "name": "series", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "publisher", "args": null, + "kind": "ScalarField", + "name": "publisher", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "manufacturer", "args": null, + "kind": "ScalarField", + "name": "manufacturer", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "canRequestLotConditionsReport", "args": null, + "kind": "ScalarField", + "name": "canRequestLotConditionsReport", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "framed", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "framed", "plural": false, - "selections": (v57/*: any*/) + "selections": (v57/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "signatureInfo", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "signatureInfo", "plural": false, - "selections": (v57/*: any*/) + "selections": (v57/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "conditionDescription", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "conditionDescription", "plural": false, - "selections": (v57/*: any*/) + "selections": (v57/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "certificateOfAuthenticity", - "storageKey": null, "args": null, "concreteType": "ArtworkInfoRow", + "kind": "LinkedField", + "name": "certificateOfAuthenticity", "plural": false, - "selections": (v57/*: any*/) + "selections": (v57/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "articles", - "storageKey": "articles(size:10)", "args": [ { "kind": "Literal", @@ -3240,23 +3237,23 @@ return { } ], "concreteType": "Article", + "kind": "LinkedField", + "name": "articles", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "author", - "storageKey": null, "args": null, "concreteType": "Author", + "kind": "LinkedField", + "name": "author", "plural": false, - "selections": (v20/*: any*/) + "selections": (v20/*: any*/), + "storageKey": null }, (v19/*: any*/), { - "kind": "ScalarField", "alias": "published_at", - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -3264,22 +3261,20 @@ return { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM Do, YYYY\")" }, { - "kind": "LinkedField", "alias": "thumbnail_image", - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:300)", "args": [ { "kind": "Literal", @@ -3288,67 +3283,69 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "storageKey": "resized(width:300)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "thumbnail_title", - "name": "thumbnailTitle", "args": null, + "kind": "ScalarField", + "name": "thumbnailTitle", "storageKey": null }, (v11/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": "articles(size:10)" }, { - "kind": "ScalarField", "alias": null, - "name": "literature", "args": (v56/*: any*/), + "kind": "ScalarField", + "name": "literature", "storageKey": "literature(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": "exhibition_history", - "name": "exhibitionHistory", "args": (v56/*: any*/), + "kind": "ScalarField", + "name": "exhibitionHistory", "storageKey": "exhibitionHistory(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": null, - "name": "provenance", "args": (v56/*: any*/), + "kind": "ScalarField", + "name": "provenance", "storageKey": "provenance(format:\"HTML\")" }, { - "kind": "ScalarField", "alias": "image_alt", - "name": "formattedMetadata", "args": null, + "kind": "ScalarField", + "name": "formattedMetadata", "storageKey": null }, (v11/*: any*/), (v58/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "images", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "images", "plural": true, "selections": [ (v21/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": "uri", - "name": "url", "args": [ { "kind": "Literal", @@ -3358,13 +3355,12 @@ return { ] } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:[\"large\"])" }, { - "kind": "LinkedField", "alias": "placeholder", - "name": "resized", - "storageKey": "resized(height:30,version:\"small\",width:30)", "args": [ { "kind": "Literal", @@ -3383,146 +3379,147 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "storageKey": "resized(height:30,version:\"small\",width:30)" }, { - "kind": "ScalarField", "alias": null, - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_zoomable", - "name": "isZoomable", "args": null, + "kind": "ScalarField", + "name": "isZoomable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_default", - "name": "isDefault", "args": null, + "kind": "ScalarField", + "name": "isDefault", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "deepZoom", - "storageKey": null, "args": null, "concreteType": "DeepZoom", + "kind": "LinkedField", + "name": "deepZoom", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "Image", - "storageKey": null, "args": null, "concreteType": "DeepZoomImage", + "kind": "LinkedField", + "name": "Image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "xmlns", "args": null, + "kind": "ScalarField", + "name": "xmlns", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "Url", "args": null, + "kind": "ScalarField", + "name": "Url", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "Format", "args": null, + "kind": "ScalarField", + "name": "Format", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "TileSize", "args": null, + "kind": "ScalarField", + "name": "TileSize", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "Overlap", "args": null, + "kind": "ScalarField", + "name": "Overlap", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "Size", - "storageKey": null, "args": null, "concreteType": "DeepZoomImageSize", + "kind": "LinkedField", + "name": "Size", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "Width", "args": null, + "kind": "ScalarField", + "name": "Width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "Height", "args": null, + "kind": "ScalarField", + "name": "Height", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artworkMeta", - "name": "meta", - "storageKey": null, "args": null, "concreteType": "ArtworkMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "share", "args": null, + "kind": "ScalarField", + "name": "share", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -3530,148 +3527,143 @@ return { "value": "larger" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"larger\")" }, (v44/*: any*/), (v43/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_downloadable", - "name": "isDownloadable", "args": null, + "kind": "ScalarField", + "name": "isDownloadable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_hangable", - "name": "isHangable", "args": null, + "kind": "ScalarField", + "name": "isHangable", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "contextGrids", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "contextGrids", "plural": true, "selections": [ (v6/*: any*/), (v45/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "ctaTitle", "args": null, + "kind": "ScalarField", + "name": "ctaTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "ctaHref", "args": null, + "kind": "ScalarField", + "name": "ctaHref", "storageKey": null }, (v67/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "layers", - "storageKey": null, "args": null, "concreteType": "ArtworkLayer", + "kind": "LinkedField", + "name": "layers", "plural": true, "selections": [ (v18/*: any*/), (v3/*: any*/), (v11/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "layer", - "storageKey": null, "args": null, "concreteType": "ArtworkLayer", + "kind": "LinkedField", + "name": "layer", "plural": false, "selections": [ (v18/*: any*/), (v67/*: any*/), (v11/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "seriesArtist", - "name": "artist", - "storageKey": "artist(shallow:true)", "args": (v61/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v11/*: any*/), { + "condition": "shouldFetchArtistSeriesData", "kind": "Condition", "passingValue": true, - "condition": "shouldFetchArtistSeriesData", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeriesConnection", - "storageKey": null, "args": null, "concreteType": "ArtistSeriesConnection", + "kind": "LinkedField", + "name": "artistSeriesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistSeriesEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), (v45/*: any*/), (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "artworksCountMessage", "args": null, + "kind": "ScalarField", + "name": "artworksCountMessage", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:160,width:160)", "args": [ { "kind": "Literal", @@ -3685,144 +3677,146 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "storageKey": "cropped(height:160,width:160)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] } - ] + ], + "storageKey": "artist(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "pricingContext", - "storageKey": null, "args": null, "concreteType": "AnalyticsPricingContext", + "kind": "LinkedField", + "name": "pricingContext", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "appliedFiltersDisplay", "args": null, + "kind": "ScalarField", + "name": "appliedFiltersDisplay", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "appliedFilters", - "storageKey": null, "args": null, "concreteType": "AnalyticsPriceContextFilterType", + "kind": "LinkedField", + "name": "appliedFilters", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "dimension", "args": null, + "kind": "ScalarField", + "name": "dimension", "storageKey": null }, (v47/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "bins", - "storageKey": null, "args": null, "concreteType": "AnalyticsHistogramBin", + "kind": "LinkedField", + "name": "bins", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "maxPrice", "args": null, + "kind": "ScalarField", + "name": "maxPrice", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "maxPriceCents", "args": null, + "kind": "ScalarField", + "name": "maxPriceCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "minPrice", "args": null, + "kind": "ScalarField", + "name": "minPrice", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "minPriceCents", "args": null, + "kind": "ScalarField", + "name": "minPriceCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "numArtworks", "args": null, + "kind": "ScalarField", + "name": "numArtworks", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "condition": "shouldFetchArtistSeriesData", "kind": "Condition", "passingValue": true, - "condition": "shouldFetchArtistSeriesData", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeriesConnection", - "storageKey": "artistSeriesConnection(first:1)", "args": [ (v33/*: any*/) ], "concreteType": "ArtistSeriesConnection", + "kind": "LinkedField", + "name": "artistSeriesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistSeriesEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:20)", "args": [ { "kind": "Literal", @@ -3831,40 +3825,36 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:200)", "args": [ { "kind": "Literal", @@ -3873,21 +3863,25 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ (v44/*: any*/), (v43/*: any*/) - ] + ], + "storageKey": "resized(height:200)" }, (v60/*: any*/), (v59/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, (v45/*: any*/), @@ -3906,49 +3900,56 @@ return { (v2/*: any*/), (v58/*: any*/), (v50/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:20)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artistSeriesConnection(first:1)" } ] } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "identityVerified", "args": null, + "kind": "ScalarField", + "name": "identityVerified", "storageKey": null }, (v11/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_ArtworkQuery", "id": null, - "text": "query routes_ArtworkQuery(\n $artworkID: String!\n $shouldFetchArtistSeriesData: Boolean!\n) {\n artwork(id: $artworkID) @principalField {\n ...ArtworkApp_artwork_2juLqN\n id\n }\n me {\n ...ArtworkApp_me\n id\n }\n}\n\nfragment ArtistBio_bio on Artist {\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n}\n\nfragment ArtistCard_artist on Artist {\n name\n slug\n href\n image {\n cropped(width: 400, height: 300) {\n url\n }\n }\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n ...FollowArtistButton_artist\n}\n\nfragment ArtistInfo_artist on Artist {\n internalID\n slug\n name\n href\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n counts {\n partner_shows: partnerShows\n }\n exhibition_highlights: 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 ...FollowArtistButton_artist\n biographyBlurb(format: HTML, partnerBio: true) {\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: \"0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n}\n\nfragment ArtistSeriesArtworkRail_artwork on Artwork {\n artistSeriesConnection(first: 1) {\n edges {\n node {\n slug\n artworksConnection(first: 20) {\n edges {\n node {\n image {\n resized(height: 200) {\n height\n width\n }\n }\n ...FillwidthItem_artwork\n id\n }\n }\n }\n }\n }\n }\n}\n\nfragment ArtistSeriesItem_artistSeries on ArtistSeries {\n title\n slug\n artworksCountMessage\n image {\n cropped(width: 160, height: 160) {\n url\n }\n }\n}\n\nfragment ArtistSeriesRail_artist on Artist {\n artistSeriesConnection {\n edges {\n node {\n internalID\n ...ArtistSeriesItem_artistSeries\n }\n }\n }\n}\n\nfragment ArtworkActions_artwork on Artwork {\n ...Save_artwork\n ...ArtworkSharePanel_artwork\n artists {\n name\n id\n }\n date\n dimensions {\n cm\n }\n href\n slug\n image {\n internalID\n url(version: \"larger\")\n height\n width\n }\n is_downloadable: isDownloadable\n is_hangable: isHangable\n partner {\n slug\n id\n }\n title\n sale {\n is_closed: isClosed\n is_auction: isAuction\n id\n }\n}\n\nfragment ArtworkApp_artwork_2juLqN on Artwork {\n slug\n internalID\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n availability\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n is_in_auction: isInAuction\n sale {\n internalID\n slug\n id\n }\n artists {\n id\n slug\n ...ArtistInfo_artist\n }\n artist {\n ...ArtistInfo_artist\n id\n }\n ...ArtworkRelatedArtists_artwork\n ...ArtworkMeta_artwork\n ...ArtworkBanner_artwork\n ...ArtworkSidebar_artwork\n ...ArtworkDetails_artwork\n ...ArtworkImageBrowser_artwork\n ...OtherWorks_artwork_2juLqN\n ...PricingContext_artwork\n}\n\nfragment ArtworkApp_me on Me {\n ...ArtworkSidebar_me\n}\n\nfragment ArtworkBanner_artwork on Artwork {\n partner {\n name\n initials\n id\n }\n sale {\n is_auction: isAuction\n isBenefit\n isGalleryAuction\n cover_image: coverImage {\n url(version: \"square\")\n }\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 initials\n icon {\n img: resized(width: 70, height: 70, version: \"square\") {\n url\n }\n }\n id\n }\n }\n ... on Show {\n name\n href\n status\n thumbnail: coverImage {\n img: resized(width: 70, height: 70, version: \"square\") {\n url\n }\n }\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment ArtworkDetailsAboutTheWorkFromArtsy_artwork on Artwork {\n description(format: HTML)\n}\n\nfragment ArtworkDetailsAboutTheWorkFromPartner_artwork on Artwork {\n additional_information: additionalInformation(format: HTML)\n sale {\n isBenefit\n isGalleryAuction\n id\n }\n partner {\n internalID\n slug\n type\n href\n name\n initials\n locations {\n city\n id\n }\n is_default_profile_public: isDefaultProfilePublic\n profile {\n ...FollowProfileButton_profile\n slug\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n}\n\nfragment ArtworkDetailsAdditionalInfo_artwork on Artwork {\n category\n series\n publisher\n manufacturer\n image_rights: imageRights\n canRequestLotConditionsReport\n internalID\n framed {\n label\n details\n }\n signatureInfo {\n label\n details\n }\n conditionDescription {\n label\n details\n }\n certificateOfAuthenticity {\n label\n details\n }\n}\n\nfragment ArtworkDetailsArticles_artwork on Artwork {\n articles(size: 10) {\n author {\n name\n id\n }\n href\n published_at: publishedAt(format: \"MMM Do, YYYY\")\n thumbnail_image: thumbnailImage {\n resized(width: 300) {\n url\n }\n }\n thumbnail_title: thumbnailTitle\n id\n }\n}\n\nfragment ArtworkDetails_artwork on Artwork {\n ...ArtworkDetailsAboutTheWorkFromArtsy_artwork\n ...ArtworkDetailsAboutTheWorkFromPartner_artwork\n ...ArtworkDetailsAdditionalInfo_artwork\n ...ArtworkDetailsArticles_artwork\n articles(size: 10) {\n slug\n id\n }\n literature(format: HTML)\n exhibition_history: exhibitionHistory(format: HTML)\n provenance(format: HTML)\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment ArtworkImageBrowser_artwork on Artwork {\n image_alt: formattedMetadata\n ...ArtworkActions_artwork\n image {\n internalID\n }\n images {\n internalID\n uri: url(version: [\"large\"])\n placeholder: resized(width: 30, height: 30, version: \"small\") {\n url\n }\n aspectRatio\n is_zoomable: isZoomable\n is_default: isDefault\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}\n\nfragment ArtworkMeta_artwork on Artwork {\n href\n internalID\n date\n artist_names: artistNames\n sale_message: saleMessage\n partner {\n name\n id\n }\n image_rights: imageRights\n is_in_auction: isInAuction\n is_acquireable: isAcquireable\n is_shareable: isShareable\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 long_description: description(limit: 200)\n }\n context {\n __typename\n ... on Fair {\n slug\n name\n }\n ... on Node {\n id\n }\n }\n ...SeoDataForArtwork_artwork\n}\n\nfragment ArtworkRelatedArtists_artwork on Artwork {\n slug\n artist {\n href\n related {\n artistsConnection(kind: MAIN, first: 4, after: \"\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n ...ArtistCard_artist\n id\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n\nfragment ArtworkSharePanel_artwork on Artwork {\n href\n images {\n url\n }\n artworkMeta: meta {\n share\n }\n}\n\nfragment ArtworkSidebarArtists_artwork on Artwork {\n cultural_maker: culturalMaker\n artists {\n id\n internalID\n slug\n name\n href\n ...FollowArtistButton_artist_2eN9lh\n }\n}\n\nfragment ArtworkSidebarAuctionPartnerInfo_artwork on Artwork {\n partner {\n name\n id\n }\n sale_artwork: saleArtwork {\n estimate\n id\n }\n sale {\n internalID\n is_closed: isClosed\n id\n }\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 id\n }\n}\n\nfragment ArtworkSidebarBidAction_me on Me {\n identityVerified\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attribution_class: attributionClass {\n short_description: shortDescription\n id\n }\n}\n\nfragment ArtworkSidebarCommercial_artwork on Artwork {\n slug\n internalID\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n is_offerable: isOfferable\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n priceIncludesTaxDisplay\n sale_message: saleMessage\n shippingInfo\n shippingOrigin\n edition_sets: editionSets {\n internalID\n id\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n sale_message: saleMessage\n ...ArtworkSidebarSizeInfo_piece\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 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}\n\nfragment ArtworkSidebarExtraLinks_artwork on Artwork {\n internalID\n is_in_auction: isInAuction\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n artists {\n is_consignable: isConsignable\n id\n }\n sale {\n is_closed: isClosed\n isBenefit\n partner {\n name\n id\n }\n id\n }\n}\n\nfragment ArtworkSidebarMetadata_artwork on Artwork {\n is_biddable: isBiddable\n edition_sets: editionSets {\n __typename\n id\n }\n sale_artwork: saleArtwork {\n lot_label: lotLabel\n id\n }\n ...ArtworkSidebarTitleInfo_artwork\n ...ArtworkSidebarSizeInfo_piece\n ...ArtworkSidebarClassification_artwork\n}\n\nfragment ArtworkSidebarPartnerInfo_artwork on Artwork {\n partner {\n name\n href\n locations {\n city\n id\n }\n id\n }\n sale {\n name\n href\n id\n }\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n dimensions {\n in\n cm\n }\n edition_of: editionOf\n}\n\nfragment ArtworkSidebarTitleInfo_artwork on Artwork {\n title\n date\n medium\n}\n\nfragment ArtworkSidebar_artwork on Artwork {\n is_in_auction: isInAuction\n ...ArtworkSidebarArtists_artwork\n ...ArtworkSidebarMetadata_artwork\n ...ArtworkSidebarAuctionPartnerInfo_artwork\n ...ArtworkSidebarCurrentBidInfo_artwork\n ...ArtworkSidebarBidAction_artwork\n ...ArtworkSidebarCommercial_artwork\n ...ArtworkSidebarPartnerInfo_artwork\n ...ArtworkSidebarExtraLinks_artwork\n ...SecurePayment_artwork\n ...VerifiedSeller_artwork\n ...AuthenticityCertificate_artwork\n sale {\n is_closed: isClosed\n ...AuctionTimer_sale\n id\n }\n}\n\nfragment ArtworkSidebar_me on Me {\n ...ArtworkSidebarBidAction_me\n}\n\nfragment AuctionTimer_sale on Sale {\n live_start_at: liveStartAt\n end_at: endAt\n}\n\nfragment AuthenticityCertificate_artwork on Artwork {\n hasCertificateOfAuthenticity\n is_biddable: isBiddable\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment FollowArtistButton_artist_2eN9lh on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n ...FollowArtistPopover_artist\n}\n\nfragment FollowArtistPopoverRow_artist on Artist {\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n}\n\nfragment FollowArtistPopover_artist on Artist {\n related {\n suggestedConnection(first: 3, excludeFollowedArtists: true) {\n edges {\n node {\n id\n internalID\n ...FollowArtistPopoverRow_artist\n }\n }\n }\n }\n}\n\nfragment FollowProfileButton_profile on Profile {\n id\n internalID\n is_followed: isFollowed\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment OtherWorks_artwork_2juLqN on Artwork {\n contextGrids {\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 ...RelatedWorksArtworkGrid_artwork\n ...ArtistSeriesArtworkRail_artwork @include(if: $shouldFetchArtistSeriesData)\n slug\n internalID\n sale {\n is_closed: isClosed\n id\n }\n context {\n __typename\n ... on Node {\n id\n }\n }\n seriesArtist: artist(shallow: true) {\n ...ArtistSeriesRail_artist @include(if: $shouldFetchArtistSeriesData)\n id\n }\n}\n\nfragment PricingContext_artwork on Artwork {\n listPrice {\n __typename\n ... on PriceRange {\n maxPrice {\n minor\n }\n minPrice {\n minor\n }\n }\n ... on Money {\n minor\n }\n }\n artists {\n slug\n id\n }\n category\n pricingContext {\n appliedFiltersDisplay\n appliedFilters {\n dimension\n category\n }\n bins {\n maxPrice\n maxPriceCents\n minPrice\n minPriceCents\n numArtworks\n }\n }\n}\n\nfragment RelatedWorksArtworkGrid_artwork on Artwork {\n layers {\n name\n internalID\n id\n }\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment SecurePayment_artwork on Artwork {\n is_acquireable: isAcquireable\n is_offerable: isOfferable\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 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 artist_names: artistNames\n availability\n category\n dimensions {\n in\n }\n}\n\nfragment VerifiedSeller_artwork on Artwork {\n is_biddable: isBiddable\n partner {\n isVerifiedSeller\n name\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_ArtworkQuery", + "operationKind": "query", + "text": "query routes_ArtworkQuery(\n $artworkID: String!\n $shouldFetchArtistSeriesData: Boolean!\n) {\n artwork(id: $artworkID) @principalField {\n ...ArtworkApp_artwork_2juLqN\n id\n }\n me {\n ...ArtworkApp_me\n id\n }\n}\n\nfragment ArtistBio_bio on Artist {\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n}\n\nfragment ArtistCard_artist on Artist {\n name\n slug\n href\n image {\n cropped(width: 400, height: 300) {\n url\n }\n }\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n ...FollowArtistButton_artist\n}\n\nfragment ArtistInfo_artist on Artist {\n internalID\n slug\n name\n href\n image {\n cropped(width: 100, height: 100) {\n url\n }\n }\n formatted_nationality_and_birthday: formattedNationalityAndBirthday\n counts {\n partner_shows: partnerShows\n }\n exhibition_highlights: 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 ...FollowArtistButton_artist\n biographyBlurb(format: HTML, partnerBio: true) {\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: \"0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n}\n\nfragment ArtistSeriesArtworkRail_artwork on Artwork {\n artistSeriesConnection(first: 1) {\n edges {\n node {\n slug\n artworksConnection(first: 20) {\n edges {\n node {\n image {\n resized(height: 200) {\n height\n width\n }\n }\n ...FillwidthItem_artwork\n id\n }\n }\n }\n }\n }\n }\n}\n\nfragment ArtistSeriesItem_artistSeries on ArtistSeries {\n title\n slug\n artworksCountMessage\n image {\n cropped(width: 160, height: 160) {\n url\n }\n }\n}\n\nfragment ArtistSeriesRail_artist on Artist {\n artistSeriesConnection {\n edges {\n node {\n internalID\n ...ArtistSeriesItem_artistSeries\n }\n }\n }\n}\n\nfragment ArtworkActions_artwork on Artwork {\n ...Save_artwork\n ...ArtworkSharePanel_artwork\n artists {\n name\n id\n }\n date\n dimensions {\n cm\n }\n href\n slug\n image {\n internalID\n url(version: \"larger\")\n height\n width\n }\n is_downloadable: isDownloadable\n is_hangable: isHangable\n partner {\n slug\n id\n }\n title\n sale {\n is_closed: isClosed\n is_auction: isAuction\n id\n }\n}\n\nfragment ArtworkApp_artwork_2juLqN on Artwork {\n slug\n internalID\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n availability\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n is_in_auction: isInAuction\n sale {\n internalID\n slug\n id\n }\n artists {\n id\n slug\n ...ArtistInfo_artist\n }\n artist {\n ...ArtistInfo_artist\n id\n }\n ...ArtworkRelatedArtists_artwork\n ...ArtworkMeta_artwork\n ...ArtworkBanner_artwork\n ...ArtworkSidebar_artwork\n ...ArtworkDetails_artwork\n ...ArtworkImageBrowser_artwork\n ...OtherWorks_artwork_2juLqN\n ...PricingContext_artwork\n}\n\nfragment ArtworkApp_me on Me {\n ...ArtworkSidebar_me\n}\n\nfragment ArtworkBanner_artwork on Artwork {\n partner {\n name\n initials\n id\n }\n sale {\n is_auction: isAuction\n isBenefit\n isGalleryAuction\n cover_image: coverImage {\n url(version: \"square\")\n }\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 initials\n icon {\n img: resized(width: 70, height: 70, version: \"square\") {\n url\n }\n }\n id\n }\n }\n ... on Show {\n name\n href\n status\n thumbnail: coverImage {\n img: resized(width: 70, height: 70, version: \"square\") {\n url\n }\n }\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment ArtworkDetailsAboutTheWorkFromArtsy_artwork on Artwork {\n description(format: HTML)\n}\n\nfragment ArtworkDetailsAboutTheWorkFromPartner_artwork on Artwork {\n additional_information: additionalInformation(format: HTML)\n sale {\n isBenefit\n isGalleryAuction\n id\n }\n partner {\n internalID\n slug\n type\n href\n name\n initials\n locations {\n city\n id\n }\n is_default_profile_public: isDefaultProfilePublic\n profile {\n ...FollowProfileButton_profile\n slug\n icon {\n url(version: \"square140\")\n }\n id\n }\n id\n }\n}\n\nfragment ArtworkDetailsAdditionalInfo_artwork on Artwork {\n category\n series\n publisher\n manufacturer\n image_rights: imageRights\n canRequestLotConditionsReport\n internalID\n framed {\n label\n details\n }\n signatureInfo {\n label\n details\n }\n conditionDescription {\n label\n details\n }\n certificateOfAuthenticity {\n label\n details\n }\n}\n\nfragment ArtworkDetailsArticles_artwork on Artwork {\n articles(size: 10) {\n author {\n name\n id\n }\n href\n published_at: publishedAt(format: \"MMM Do, YYYY\")\n thumbnail_image: thumbnailImage {\n resized(width: 300) {\n url\n }\n }\n thumbnail_title: thumbnailTitle\n id\n }\n}\n\nfragment ArtworkDetails_artwork on Artwork {\n ...ArtworkDetailsAboutTheWorkFromArtsy_artwork\n ...ArtworkDetailsAboutTheWorkFromPartner_artwork\n ...ArtworkDetailsAdditionalInfo_artwork\n ...ArtworkDetailsArticles_artwork\n articles(size: 10) {\n slug\n id\n }\n literature(format: HTML)\n exhibition_history: exhibitionHistory(format: HTML)\n provenance(format: HTML)\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment ArtworkImageBrowser_artwork on Artwork {\n image_alt: formattedMetadata\n ...ArtworkActions_artwork\n image {\n internalID\n }\n images {\n internalID\n uri: url(version: [\"large\"])\n placeholder: resized(width: 30, height: 30, version: \"small\") {\n url\n }\n aspectRatio\n is_zoomable: isZoomable\n is_default: isDefault\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}\n\nfragment ArtworkMeta_artwork on Artwork {\n href\n internalID\n date\n artist_names: artistNames\n sale_message: saleMessage\n partner {\n name\n id\n }\n image_rights: imageRights\n is_in_auction: isInAuction\n is_acquireable: isAcquireable\n is_shareable: isShareable\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 long_description: description(limit: 200)\n }\n context {\n __typename\n ... on Fair {\n slug\n name\n }\n ... on Node {\n id\n }\n }\n ...SeoDataForArtwork_artwork\n}\n\nfragment ArtworkRelatedArtists_artwork on Artwork {\n slug\n artist {\n href\n related {\n artistsConnection(kind: MAIN, first: 4, after: \"\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n ...ArtistCard_artist\n id\n __typename\n }\n cursor\n }\n }\n }\n id\n }\n}\n\nfragment ArtworkSharePanel_artwork on Artwork {\n href\n images {\n url\n }\n artworkMeta: meta {\n share\n }\n}\n\nfragment ArtworkSidebarArtists_artwork on Artwork {\n cultural_maker: culturalMaker\n artists {\n id\n internalID\n slug\n name\n href\n ...FollowArtistButton_artist_2eN9lh\n }\n}\n\nfragment ArtworkSidebarAuctionPartnerInfo_artwork on Artwork {\n partner {\n name\n id\n }\n sale_artwork: saleArtwork {\n estimate\n id\n }\n sale {\n internalID\n is_closed: isClosed\n id\n }\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 id\n }\n}\n\nfragment ArtworkSidebarBidAction_me on Me {\n identityVerified\n}\n\nfragment ArtworkSidebarClassification_artwork on Artwork {\n attribution_class: attributionClass {\n short_description: shortDescription\n id\n }\n}\n\nfragment ArtworkSidebarCommercial_artwork on Artwork {\n slug\n internalID\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n is_offerable: isOfferable\n listPrice {\n __typename\n ... on PriceRange {\n display\n }\n ... on Money {\n display\n }\n }\n priceIncludesTaxDisplay\n sale_message: saleMessage\n shippingInfo\n shippingOrigin\n edition_sets: editionSets {\n internalID\n id\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n sale_message: saleMessage\n ...ArtworkSidebarSizeInfo_piece\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 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}\n\nfragment ArtworkSidebarExtraLinks_artwork on Artwork {\n internalID\n is_in_auction: isInAuction\n is_for_sale: isForSale\n is_acquireable: isAcquireable\n is_inquireable: isInquireable\n artists {\n is_consignable: isConsignable\n id\n }\n sale {\n is_closed: isClosed\n isBenefit\n partner {\n name\n id\n }\n id\n }\n}\n\nfragment ArtworkSidebarMetadata_artwork on Artwork {\n is_biddable: isBiddable\n edition_sets: editionSets {\n __typename\n id\n }\n sale_artwork: saleArtwork {\n lot_label: lotLabel\n id\n }\n ...ArtworkSidebarTitleInfo_artwork\n ...ArtworkSidebarSizeInfo_piece\n ...ArtworkSidebarClassification_artwork\n}\n\nfragment ArtworkSidebarPartnerInfo_artwork on Artwork {\n partner {\n name\n href\n locations {\n city\n id\n }\n id\n }\n sale {\n name\n href\n id\n }\n}\n\nfragment ArtworkSidebarSizeInfo_piece on Sellable {\n dimensions {\n in\n cm\n }\n edition_of: editionOf\n}\n\nfragment ArtworkSidebarTitleInfo_artwork on Artwork {\n title\n date\n medium\n}\n\nfragment ArtworkSidebar_artwork on Artwork {\n is_in_auction: isInAuction\n ...ArtworkSidebarArtists_artwork\n ...ArtworkSidebarMetadata_artwork\n ...ArtworkSidebarAuctionPartnerInfo_artwork\n ...ArtworkSidebarCurrentBidInfo_artwork\n ...ArtworkSidebarBidAction_artwork\n ...ArtworkSidebarCommercial_artwork\n ...ArtworkSidebarPartnerInfo_artwork\n ...ArtworkSidebarExtraLinks_artwork\n ...SecurePayment_artwork\n ...VerifiedSeller_artwork\n ...AuthenticityCertificate_artwork\n sale {\n is_closed: isClosed\n ...AuctionTimer_sale\n id\n }\n}\n\nfragment ArtworkSidebar_me on Me {\n ...ArtworkSidebarBidAction_me\n}\n\nfragment AuctionTimer_sale on Sale {\n live_start_at: liveStartAt\n end_at: endAt\n}\n\nfragment AuthenticityCertificate_artwork on Artwork {\n hasCertificateOfAuthenticity\n is_biddable: isBiddable\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment FollowArtistButton_artist_2eN9lh on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n ...FollowArtistPopover_artist\n}\n\nfragment FollowArtistPopoverRow_artist on Artist {\n internalID\n name\n image {\n cropped(width: 45, height: 45) {\n url\n }\n }\n}\n\nfragment FollowArtistPopover_artist on Artist {\n related {\n suggestedConnection(first: 3, excludeFollowedArtists: true) {\n edges {\n node {\n id\n internalID\n ...FollowArtistPopoverRow_artist\n }\n }\n }\n }\n}\n\nfragment FollowProfileButton_profile on Profile {\n id\n internalID\n is_followed: isFollowed\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment OtherWorks_artwork_2juLqN on Artwork {\n contextGrids {\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 ...RelatedWorksArtworkGrid_artwork\n ...ArtistSeriesArtworkRail_artwork @include(if: $shouldFetchArtistSeriesData)\n slug\n internalID\n sale {\n is_closed: isClosed\n id\n }\n context {\n __typename\n ... on Node {\n id\n }\n }\n seriesArtist: artist(shallow: true) {\n ...ArtistSeriesRail_artist @include(if: $shouldFetchArtistSeriesData)\n id\n }\n}\n\nfragment PricingContext_artwork on Artwork {\n listPrice {\n __typename\n ... on PriceRange {\n maxPrice {\n minor\n }\n minPrice {\n minor\n }\n }\n ... on Money {\n minor\n }\n }\n artists {\n slug\n id\n }\n category\n pricingContext {\n appliedFiltersDisplay\n appliedFilters {\n dimension\n category\n }\n bins {\n maxPrice\n maxPriceCents\n minPrice\n minPriceCents\n numArtworks\n }\n }\n}\n\nfragment RelatedWorksArtworkGrid_artwork on Artwork {\n layers {\n name\n internalID\n id\n }\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment SecurePayment_artwork on Artwork {\n is_acquireable: isAcquireable\n is_offerable: isOfferable\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 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 artist_names: artistNames\n availability\n category\n dimensions {\n in\n }\n}\n\nfragment VerifiedSeller_artwork on Artwork {\n is_biddable: isBiddable\n partner {\n isVerifiedSeller\n name\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_AuctionFAQQuery.graphql.ts b/src/v2/__generated__/routes_AuctionFAQQuery.graphql.ts index 76c9216f896..28a121162f1 100644 --- a/src/v2/__generated__/routes_AuctionFAQQuery.graphql.ts +++ b/src/v2/__generated__/routes_AuctionFAQQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -49,66 +50,62 @@ fragment AuctionFAQ_viewer on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { - "kind": "ScalarField", "alias": null, - "name": "content", "args": null, + "kind": "ScalarField", + "name": "content", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "routes_AuctionFAQQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "routes_AuctionFAQQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "AuctionFAQ_viewer", - "args": null + "name": "AuctionFAQ_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "routes_AuctionFAQQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "bidding", - "name": "staticContent", - "storageKey": "staticContent(id:\"how-auctions-work-bidding\")", "args": [ { "kind": "Literal", @@ -117,14 +114,14 @@ return { } ], "concreteType": "StaticContent", + "kind": "LinkedField", + "name": "staticContent", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "staticContent(id:\"how-auctions-work-bidding\")" }, { - "kind": "LinkedField", "alias": "buyersPremiumTaxesAndFees", - "name": "staticContent", - "storageKey": "staticContent(id:\"how-auctions-work-buyers-premium-taxes-and-fees\")", "args": [ { "kind": "Literal", @@ -133,14 +130,14 @@ return { } ], "concreteType": "StaticContent", + "kind": "LinkedField", + "name": "staticContent", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "staticContent(id:\"how-auctions-work-buyers-premium-taxes-and-fees\")" }, { - "kind": "LinkedField", "alias": "paymentsAndShipping", - "name": "staticContent", - "storageKey": "staticContent(id:\"how-auctions-work-payments-and-shipping\")", "args": [ { "kind": "Literal", @@ -149,14 +146,14 @@ return { } ], "concreteType": "StaticContent", + "kind": "LinkedField", + "name": "staticContent", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "staticContent(id:\"how-auctions-work-payments-and-shipping\")" }, { - "kind": "LinkedField", "alias": "emailsAndAlerts", - "name": "staticContent", - "storageKey": "staticContent(id:\"how-auctions-work-emails-and-alerts\")", "args": [ { "kind": "Literal", @@ -165,14 +162,14 @@ return { } ], "concreteType": "StaticContent", + "kind": "LinkedField", + "name": "staticContent", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "staticContent(id:\"how-auctions-work-emails-and-alerts\")" }, { - "kind": "LinkedField", "alias": "conditionsOfSale", - "name": "staticContent", - "storageKey": "staticContent(id:\"how-auctions-work-conditions-of-sale\")", "args": [ { "kind": "Literal", @@ -181,19 +178,23 @@ return { } ], "concreteType": "StaticContent", + "kind": "LinkedField", + "name": "staticContent", "plural": false, - "selections": (v0/*: any*/) + "selections": (v0/*: any*/), + "storageKey": "staticContent(id:\"how-auctions-work-conditions-of-sale\")" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_AuctionFAQQuery", "id": null, - "text": "query routes_AuctionFAQQuery {\n viewer {\n ...AuctionFAQ_viewer\n }\n}\n\nfragment AuctionFAQ_viewer on Viewer {\n bidding: staticContent(id: \"how-auctions-work-bidding\") {\n content\n id\n }\n buyersPremiumTaxesAndFees: staticContent(id: \"how-auctions-work-buyers-premium-taxes-and-fees\") {\n content\n id\n }\n paymentsAndShipping: staticContent(id: \"how-auctions-work-payments-and-shipping\") {\n content\n id\n }\n emailsAndAlerts: staticContent(id: \"how-auctions-work-emails-and-alerts\") {\n content\n id\n }\n conditionsOfSale: staticContent(id: \"how-auctions-work-conditions-of-sale\") {\n content\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_AuctionFAQQuery", + "operationKind": "query", + "text": "query routes_AuctionFAQQuery {\n viewer {\n ...AuctionFAQ_viewer\n }\n}\n\nfragment AuctionFAQ_viewer on Viewer {\n bidding: staticContent(id: \"how-auctions-work-bidding\") {\n content\n id\n }\n buyersPremiumTaxesAndFees: staticContent(id: \"how-auctions-work-buyers-premium-taxes-and-fees\") {\n content\n id\n }\n paymentsAndShipping: staticContent(id: \"how-auctions-work-payments-and-shipping\") {\n content\n id\n }\n emailsAndAlerts: staticContent(id: \"how-auctions-work-emails-and-alerts\") {\n content\n id\n }\n conditionsOfSale: staticContent(id: \"how-auctions-work-conditions-of-sale\") {\n content\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_AuctionResultsQuery.graphql.ts b/src/v2/__generated__/routes_AuctionResultsQuery.graphql.ts index ffb7230d416..09a6a44cfb9 100644 --- a/src/v2/__generated__/routes_AuctionResultsQuery.graphql.ts +++ b/src/v2/__generated__/routes_AuctionResultsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -124,10 +125,10 @@ fragment Pagination_pageCursors on PageCursors { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -138,104 +139,100 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v4 = [ (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ], v5 = { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_AuctionResultsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_AuctionResultsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "AuctionResults_artist", - "args": null + "name": "AuctionResults_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_AuctionResultsQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:10,sort:\"DATE_DESC\")", "args": [ { "kind": "Literal", @@ -249,271 +246,275 @@ return { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "createdYearRange", - "storageKey": null, "args": null, "concreteType": "YearRange", + "kind": "LinkedField", + "name": "createdYearRange", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "startAt", "args": null, + "kind": "ScalarField", + "name": "startAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endAt", "args": null, + "kind": "ScalarField", + "name": "endAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "dimension_text", - "name": "dimensionText", "args": null, + "kind": "ScalarField", + "name": "dimensionText", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "images", - "storageKey": null, "args": null, "concreteType": "AuctionLotImages", + "kind": "LinkedField", + "name": "images", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "thumbnail", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnail", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, { - "kind": "ScalarField", "alias": "date_text", - "name": "dateText", "args": null, + "kind": "ScalarField", + "name": "dateText", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "organization", "args": null, + "kind": "ScalarField", + "name": "organization", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mediumText", "args": null, + "kind": "ScalarField", + "name": "mediumText", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "categoryText", "args": null, + "kind": "ScalarField", + "name": "categoryText", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "saleDate", "args": null, + "kind": "ScalarField", + "name": "saleDate", "storageKey": null }, { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ (v5/*: any*/), { - "kind": "ScalarField", "alias": "cents_usd", - "name": "centsUSD", "args": null, + "kind": "ScalarField", + "name": "centsUSD", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "estimate", - "storageKey": null, "args": null, "concreteType": "AuctionLotEstimate", + "kind": "LinkedField", + "name": "estimate", "plural": false, "selections": [ (v5/*: any*/) - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:10,sort:\"DATE_DESC\")" }, (v6/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_AuctionResultsQuery", "id": null, - "text": "query routes_AuctionResultsQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...AuctionResults_artist\n id\n }\n}\n\nfragment ArtistAuctionResultItem_auctionResult on AuctionResult {\n title\n dimension_text: dimensionText\n organization\n images {\n thumbnail {\n url\n }\n }\n mediumText\n categoryText\n description\n date_text: dateText\n saleDate\n price_realized: priceRealized {\n display\n cents_usd: centsUSD\n }\n estimate {\n display\n }\n}\n\nfragment ArtistAuctionResults_artist on Artist {\n slug\n name\n ...AuctionResultHeader_artist\n auctionResultsConnection(first: 10, sort: DATE_DESC) {\n ...AuctionResultsCount_results\n createdYearRange {\n startAt\n endAt\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n totalCount\n edges {\n node {\n title\n dimension_text: dimensionText\n images {\n thumbnail {\n url\n }\n }\n description\n date_text: dateText\n ...ArtistAuctionResultItem_auctionResult\n id\n }\n }\n }\n}\n\nfragment AuctionResultHeader_artist on Artist {\n slug\n}\n\nfragment AuctionResultsCount_results on AuctionResultConnection {\n totalCount\n}\n\nfragment AuctionResults_artist on Artist {\n ...ArtistAuctionResults_artist\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", - "metadata": {} + "metadata": {}, + "name": "routes_AuctionResultsQuery", + "operationKind": "query", + "text": "query routes_AuctionResultsQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...AuctionResults_artist\n id\n }\n}\n\nfragment ArtistAuctionResultItem_auctionResult on AuctionResult {\n title\n dimension_text: dimensionText\n organization\n images {\n thumbnail {\n url\n }\n }\n mediumText\n categoryText\n description\n date_text: dateText\n saleDate\n price_realized: priceRealized {\n display\n cents_usd: centsUSD\n }\n estimate {\n display\n }\n}\n\nfragment ArtistAuctionResults_artist on Artist {\n slug\n name\n ...AuctionResultHeader_artist\n auctionResultsConnection(first: 10, sort: DATE_DESC) {\n ...AuctionResultsCount_results\n createdYearRange {\n startAt\n endAt\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n totalCount\n edges {\n node {\n title\n dimension_text: dimensionText\n images {\n thumbnail {\n url\n }\n }\n description\n date_text: dateText\n ...ArtistAuctionResultItem_auctionResult\n id\n }\n }\n }\n}\n\nfragment AuctionResultHeader_artist on Artist {\n slug\n}\n\nfragment AuctionResultsCount_results on AuctionResultConnection {\n totalCount\n}\n\nfragment AuctionResults_artist on Artist {\n ...ArtistAuctionResults_artist\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" } }; })(); diff --git a/src/v2/__generated__/routes_CVQuery.graphql.ts b/src/v2/__generated__/routes_CVQuery.graphql.ts index d1e9e778828..f5782ed5bdb 100644 --- a/src/v2/__generated__/routes_CVQuery.graphql.ts +++ b/src/v2/__generated__/routes_CVQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -150,10 +151,10 @@ fragment CV_viewer on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -164,10 +165,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v3 = { @@ -208,111 +209,107 @@ v8 = [ (v7/*: any*/) ], v9 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v13 = [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ShowEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Show", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v9/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v10/*: any*/), (v9/*: any*/), { "kind": "InlineFragment", - "type": "ExternalPartner", "selections": [ (v11/*: any*/) - ] + ], + "type": "ExternalPartner" }, { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v11/*: any*/), (v12/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, (v11/*: any*/), { - "kind": "ScalarField", "alias": "start_at", - "name": "startAt", "args": [ { "kind": "Literal", @@ -320,27 +317,31 @@ v13 = [ "value": "YYYY" } ], + "kind": "ScalarField", + "name": "startAt", "storageKey": "startAt(format:\"YYYY\")" }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v12/*: any*/), (v10/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null } ], v14 = [ @@ -376,152 +377,152 @@ v17 = [ (v7/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_CVQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_CVQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "CV_viewer", - "args": null + "name": "CV_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_CVQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "artist_soloShows", - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": "showsConnection(atAFair:false,first:10,isReference:true,soloShow:true,sort:\"START_AT_DESC\",visibleToPublic:false)", "args": (v8/*: any*/), "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "storageKey": "showsConnection(atAFair:false,first:10,isReference:true,soloShow:true,sort:\"START_AT_DESC\",visibleToPublic:false)" }, { - "kind": "LinkedHandle", "alias": null, - "name": "showsConnection", "args": (v8/*: any*/), + "filters": (v14/*: any*/), "handle": "connection", "key": "Artist_showsConnection", - "filters": (v14/*: any*/) + "kind": "LinkedHandle", + "name": "showsConnection" }, (v9/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artist_groupShows", - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": "showsConnection(atAFair:false,first:10,isReference:true,soloShow:false,sort:\"START_AT_DESC\",visibleToPublic:false)", "args": (v16/*: any*/), "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "storageKey": "showsConnection(atAFair:false,first:10,isReference:true,soloShow:false,sort:\"START_AT_DESC\",visibleToPublic:false)" }, { - "kind": "LinkedHandle", "alias": null, - "name": "showsConnection", "args": (v16/*: any*/), + "filters": (v14/*: any*/), "handle": "connection", "key": "Artist_showsConnection", - "filters": (v14/*: any*/) + "kind": "LinkedHandle", + "name": "showsConnection" }, (v9/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artist_fairBooths", - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": "showsConnection(atAFair:true,first:10,isReference:true,soloShow:false,sort:\"START_AT_DESC\",visibleToPublic:false)", "args": (v17/*: any*/), "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "storageKey": "showsConnection(atAFair:true,first:10,isReference:true,soloShow:false,sort:\"START_AT_DESC\",visibleToPublic:false)" }, { - "kind": "LinkedHandle", "alias": null, - "name": "showsConnection", "args": (v17/*: any*/), + "filters": (v14/*: any*/), "handle": "connection", "key": "Artist_showsConnection", - "filters": (v14/*: any*/) + "kind": "LinkedHandle", + "name": "showsConnection" }, (v9/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_CVQuery", "id": null, - "text": "query routes_CVQuery(\n $artistID: String!\n) {\n viewer {\n ...CV_viewer\n }\n}\n\nfragment CVItem_artist_47e96d on Artist {\n slug\n showsConnection(first: 10, sort: START_AT_DESC, atAFair: true, soloShow: false, isReference: true, visibleToPublic: false) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n href\n }\n ... on Node {\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n city\n href\n __typename\n }\n cursor\n }\n }\n}\n\nfragment CVItem_artist_4DszuY on Artist {\n slug\n showsConnection(first: 10, sort: START_AT_DESC, atAFair: false, soloShow: false, isReference: true, visibleToPublic: false) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n href\n }\n ... on Node {\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n city\n href\n __typename\n }\n cursor\n }\n }\n}\n\nfragment CVItem_artist_ieWPx on Artist {\n slug\n showsConnection(first: 10, sort: START_AT_DESC, atAFair: false, soloShow: true, isReference: true, visibleToPublic: false) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n href\n }\n ... on Node {\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n city\n href\n __typename\n }\n cursor\n }\n }\n}\n\nfragment CV_viewer on Viewer {\n artist_soloShows: artist(id: $artistID) {\n ...CVItem_artist_ieWPx\n id\n }\n artist_groupShows: artist(id: $artistID) {\n ...CVItem_artist_4DszuY\n id\n }\n artist_fairBooths: artist(id: $artistID) {\n ...CVItem_artist_47e96d\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_CVQuery", + "operationKind": "query", + "text": "query routes_CVQuery(\n $artistID: String!\n) {\n viewer {\n ...CV_viewer\n }\n}\n\nfragment CVItem_artist_47e96d on Artist {\n slug\n showsConnection(first: 10, sort: START_AT_DESC, atAFair: true, soloShow: false, isReference: true, visibleToPublic: false) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n href\n }\n ... on Node {\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n city\n href\n __typename\n }\n cursor\n }\n }\n}\n\nfragment CVItem_artist_4DszuY on Artist {\n slug\n showsConnection(first: 10, sort: START_AT_DESC, atAFair: false, soloShow: false, isReference: true, visibleToPublic: false) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n href\n }\n ... on Node {\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n city\n href\n __typename\n }\n cursor\n }\n }\n}\n\nfragment CVItem_artist_ieWPx on Artist {\n slug\n showsConnection(first: 10, sort: START_AT_DESC, atAFair: false, soloShow: true, isReference: true, visibleToPublic: false) {\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n href\n }\n ... on Node {\n id\n }\n }\n name\n start_at: startAt(format: \"YYYY\")\n city\n href\n __typename\n }\n cursor\n }\n }\n}\n\nfragment CV_viewer on Viewer {\n artist_soloShows: artist(id: $artistID) {\n ...CVItem_artist_ieWPx\n id\n }\n artist_groupShows: artist(id: $artistID) {\n ...CVItem_artist_4DszuY\n id\n }\n artist_fairBooths: artist(id: $artistID) {\n ...CVItem_artist_47e96d\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_ConfirmBidQuery.graphql.ts b/src/v2/__generated__/routes_ConfirmBidQuery.graphql.ts index a218f716f97..63ea8c421ab 100644 --- a/src/v2/__generated__/routes_ConfirmBidQuery.graphql.ts +++ b/src/v2/__generated__/routes_ConfirmBidQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -180,16 +181,16 @@ fragment LotInfo_saleArtwork on SaleArtwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "saleID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artworkID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -200,17 +201,17 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v4 = [ @@ -221,99 +222,94 @@ v4 = [ } ], v5 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "isRegistrationClosed", "args": null, + "kind": "ScalarField", + "name": "isRegistrationClosed", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "qualifiedForBidding", "args": null, + "kind": "ScalarField", + "name": "qualifiedForBidding", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "hasQualifiedCreditCards", "args": null, + "kind": "ScalarField", + "name": "hasQualifiedCreditCards", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "cents", "args": null, + "kind": "ScalarField", + "name": "cents", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_ConfirmBidQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_ConfirmBidQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "saleArtwork", - "storageKey": null, "args": (v4/*: any*/), "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ (v2/*: any*/), @@ -322,93 +318,95 @@ return { (v6/*: any*/), (v7/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ (v2/*: any*/), (v8/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "LotInfo_saleArtwork", - "args": null + "name": "LotInfo_saleArtwork" }, { + "args": null, "kind": "FragmentSpread", - "name": "BidForm_saleArtwork", - "args": null + "name": "BidForm_saleArtwork" } - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "LotInfo_artwork", - "args": null + "name": "LotInfo_artwork" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v2/*: any*/), (v9/*: any*/), { + "args": null, "kind": "FragmentSpread", - "name": "ConfirmBid_me", - "args": null + "name": "ConfirmBid_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_ConfirmBidQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "saleArtwork", - "storageKey": null, "args": (v4/*: any*/), "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ (v2/*: any*/), @@ -417,72 +415,70 @@ return { (v6/*: any*/), (v7/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ (v2/*: any*/), (v8/*: any*/), (v10/*: any*/) - ] + ], + "storageKey": null }, (v10/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lotLabel", "args": null, + "kind": "ScalarField", + "name": "lotLabel", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "minimumNextBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkMinimumNextBid", + "kind": "LinkedField", + "name": "minimumNextBid", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": null, + "kind": "ScalarField", + "name": "amount", "storageKey": null }, (v11/*: any*/), (v12/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "increments", - "storageKey": "increments(useMyMaxBid:true)", "args": [ { "kind": "Literal", @@ -491,68 +487,73 @@ return { } ], "concreteType": "BidIncrementsFormatted", + "kind": "LinkedField", + "name": "increments", "plural": true, "selections": [ (v11/*: any*/), (v12/*: any*/) - ] + ], + "storageKey": "increments(useMyMaxBid:true)" }, (v10/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageUrl", "args": null, + "kind": "ScalarField", + "name": "imageUrl", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, (v10/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v2/*: any*/), (v9/*: any*/), (v10/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_ConfirmBidQuery", "id": null, - "text": "query routes_ConfirmBidQuery(\n $saleID: String!\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n internalID\n slug\n saleArtwork(saleID: $saleID) {\n internalID\n slug\n sale {\n internalID\n slug\n name\n isClosed\n isRegistrationClosed\n registrationStatus {\n internalID\n qualifiedForBidding\n id\n }\n id\n }\n ...LotInfo_saleArtwork\n ...BidForm_saleArtwork\n id\n }\n ...LotInfo_artwork\n id\n }\n me {\n internalID\n hasQualifiedCreditCards\n ...ConfirmBid_me\n id\n }\n}\n\nfragment BidForm_me on Me {\n hasQualifiedCreditCards\n}\n\nfragment BidForm_saleArtwork on SaleArtwork {\n minimumNextBid {\n cents\n }\n increments(useMyMaxBid: true) {\n cents\n display\n }\n sale {\n slug\n registrationStatus {\n qualifiedForBidding\n id\n }\n id\n }\n}\n\nfragment ConfirmBid_me on Me {\n internalID\n hasQualifiedCreditCards\n ...BidForm_me\n}\n\nfragment LotInfo_artwork on Artwork {\n internalID\n date\n title\n imageUrl\n artistNames\n}\n\nfragment LotInfo_saleArtwork on SaleArtwork {\n counts {\n bidderPositions\n }\n lotLabel\n minimumNextBid {\n amount\n cents\n display\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_ConfirmBidQuery", + "operationKind": "query", + "text": "query routes_ConfirmBidQuery(\n $saleID: String!\n $artworkID: String!\n) {\n artwork(id: $artworkID) {\n internalID\n slug\n saleArtwork(saleID: $saleID) {\n internalID\n slug\n sale {\n internalID\n slug\n name\n isClosed\n isRegistrationClosed\n registrationStatus {\n internalID\n qualifiedForBidding\n id\n }\n id\n }\n ...LotInfo_saleArtwork\n ...BidForm_saleArtwork\n id\n }\n ...LotInfo_artwork\n id\n }\n me {\n internalID\n hasQualifiedCreditCards\n ...ConfirmBid_me\n id\n }\n}\n\nfragment BidForm_me on Me {\n hasQualifiedCreditCards\n}\n\nfragment BidForm_saleArtwork on SaleArtwork {\n minimumNextBid {\n cents\n }\n increments(useMyMaxBid: true) {\n cents\n display\n }\n sale {\n slug\n registrationStatus {\n qualifiedForBidding\n id\n }\n id\n }\n}\n\nfragment ConfirmBid_me on Me {\n internalID\n hasQualifiedCreditCards\n ...BidForm_me\n}\n\nfragment LotInfo_artwork on Artwork {\n internalID\n date\n title\n imageUrl\n artistNames\n}\n\nfragment LotInfo_saleArtwork on SaleArtwork {\n counts {\n bidderPositions\n }\n lotLabel\n minimumNextBid {\n amount\n cents\n display\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_ConversationQuery.graphql.ts b/src/v2/__generated__/routes_ConversationQuery.graphql.ts index d0bc3f3dbb2..87e1d2a1795 100644 --- a/src/v2/__generated__/routes_ConversationQuery.graphql.ts +++ b/src/v2/__generated__/routes_ConversationQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -110,17 +111,17 @@ var v0 = [ } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = [ @@ -128,307 +129,307 @@ v3 = [ (v2/*: any*/) ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v5 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "routes_ConversationQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "routes_ConversationQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ConversationApp_me", - "args": null + "name": "ConversationApp_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "routes_ConversationQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "conversationsConnection", - "storageKey": "conversationsConnection(first:25)", "args": (v0/*: any*/), "concreteType": "ConversationConnection", + "kind": "LinkedField", + "name": "conversationsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ConversationEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Conversation", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "to", - "storageKey": null, "args": null, "concreteType": "ConversationResponder", + "kind": "LinkedField", + "name": "to", "plural": false, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "lastMessage", "args": null, + "kind": "ScalarField", + "name": "lastMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastMessageAt", "args": null, + "kind": "ScalarField", + "name": "lastMessageAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "unread", "args": null, + "kind": "ScalarField", + "name": "unread", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "items", - "storageKey": null, "args": null, "concreteType": "ConversationItem", + "kind": "LinkedField", + "name": "items", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "item", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "item", "plural": false, "selections": [ (v4/*: any*/), (v2/*: any*/), { "kind": "InlineFragment", - "type": "Artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null } - ] + ], + "type": "Artwork" }, { "kind": "InlineFragment", - "type": "Show", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "fair", - "storageKey": null, "args": null, "concreteType": "Fair", + "kind": "LinkedField", + "name": "fair", "plural": false, - "selections": (v3/*: any*/) + "selections": (v3/*: any*/), + "storageKey": null }, (v1/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null } - ] + ], + "type": "Show" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "messagesConnection", - "storageKey": null, "args": null, "concreteType": "MessageConnection", + "kind": "LinkedField", + "name": "messagesConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasPreviousPage", "args": null, + "kind": "ScalarField", + "name": "hasPreviousPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "startCursor", "args": null, + "kind": "ScalarField", + "name": "startCursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "conversationsConnection(first:25)" }, { - "kind": "LinkedHandle", "alias": null, - "name": "conversationsConnection", "args": (v0/*: any*/), + "filters": null, "handle": "connection", "key": "Conversations_conversationsConnection", - "filters": null + "kind": "LinkedHandle", + "name": "conversationsConnection" }, (v2/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_ConversationQuery", "id": null, - "text": "query routes_ConversationQuery {\n me {\n ...ConversationApp_me\n id\n }\n}\n\nfragment ConversationApp_me on Me {\n conversationsConnection(first: 25) {\n edges {\n node {\n internalID\n to {\n name\n id\n }\n id\n }\n }\n }\n ...Conversations_me\n}\n\nfragment ConversationSnippet_conversation on Conversation {\n internalID\n to {\n name\n id\n }\n lastMessage\n lastMessageAt\n unread\n items {\n item {\n __typename\n ... on Artwork {\n date\n title\n artistNames\n image {\n url\n }\n }\n ... on Show {\n fair {\n name\n id\n }\n name\n coverImage {\n url\n }\n }\n ... on Node {\n id\n }\n }\n }\n messagesConnection {\n totalCount\n }\n}\n\nfragment Conversations_me on Me {\n conversationsConnection(first: 25) {\n edges {\n cursor\n node {\n id\n internalID\n lastMessage\n ...ConversationSnippet_conversation\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_ConversationQuery", + "operationKind": "query", + "text": "query routes_ConversationQuery {\n me {\n ...ConversationApp_me\n id\n }\n}\n\nfragment ConversationApp_me on Me {\n conversationsConnection(first: 25) {\n edges {\n node {\n internalID\n to {\n name\n id\n }\n id\n }\n }\n }\n ...Conversations_me\n}\n\nfragment ConversationSnippet_conversation on Conversation {\n internalID\n to {\n name\n id\n }\n lastMessage\n lastMessageAt\n unread\n items {\n item {\n __typename\n ... on Artwork {\n date\n title\n artistNames\n image {\n url\n }\n }\n ... on Show {\n fair {\n name\n id\n }\n name\n coverImage {\n url\n }\n }\n ... on Node {\n id\n }\n }\n }\n messagesConnection {\n totalCount\n }\n}\n\nfragment Conversations_me on Me {\n conversationsConnection(first: 25) {\n edges {\n cursor\n node {\n id\n internalID\n lastMessage\n ...ConversationSnippet_conversation\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_CounterQuery.graphql.ts b/src/v2/__generated__/routes_CounterQuery.graphql.ts index 3e21f1304a0..18ef80bf028 100644 --- a/src/v2/__generated__/routes_CounterQuery.graphql.ts +++ b/src/v2/__generated__/routes_CounterQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -209,10 +210,10 @@ fragment TransactionDetailsSummaryItem_order on CommerceOrder { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "orderID", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -223,10 +224,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = [ @@ -237,259 +238,250 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, v16 = { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_CounterQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_CounterQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Counter_order", - "args": null + "name": "Counter_order" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_CounterQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": null, + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -498,27 +490,35 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v5/*: any*/), (v6/*: any*/), @@ -527,152 +527,150 @@ return { (v9/*: any*/), (v10/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v5/*: any*/), (v4/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v11/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v5/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null } - ] + ], + "type": "CommerceShip" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, (v4/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, (v4/*: any*/), @@ -687,15 +685,15 @@ return { (v14/*: any*/), (v15/*: any*/), (v16/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v2/*: any*/), @@ -710,41 +708,37 @@ return { (v14/*: any*/), (v15/*: any*/), (v16/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "offers", - "storageKey": null, "args": null, "concreteType": "CommerceOfferConnection", + "kind": "LinkedField", + "name": "offers", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceOfferEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), (v12/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": [ { "kind": "Literal", @@ -752,28 +746,35 @@ return { "value": "MMM D" } ], + "kind": "ScalarField", + "name": "createdAt", "storageKey": "createdAt(format:\"MMM D\")" }, (v15/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_CounterQuery", "id": null, - "text": "query routes_CounterQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Counter_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Counter_order on CommerceOrder {\n internalID\n mode\n state\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n stateExpiresAt\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n id\n }\n myLastOffer {\n internalID\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n ...OfferHistoryItem_order\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n totalListPrice(precision: 2)\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_CounterQuery", + "operationKind": "query", + "text": "query routes_CounterQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Counter_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Counter_order on CommerceOrder {\n internalID\n mode\n state\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n stateExpiresAt\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n id\n }\n myLastOffer {\n internalID\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n ...OfferHistoryItem_order\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n totalListPrice(precision: 2)\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_DetailQuery.graphql.ts b/src/v2/__generated__/routes_DetailQuery.graphql.ts index 53d5c7c6a90..573c9938f85 100644 --- a/src/v2/__generated__/routes_DetailQuery.graphql.ts +++ b/src/v2/__generated__/routes_DetailQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -322,10 +323,10 @@ fragment Metadata_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "conversationID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -336,31 +337,31 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v6 = [ @@ -368,92 +369,92 @@ v6 = [ (v3/*: any*/) ], v7 = { - "kind": "ScalarField", "alias": null, - "name": "unread", "args": null, + "kind": "ScalarField", + "name": "unread", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, v12 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ], v13 = { - "kind": "LinkedField", "alias": null, - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, - "selections": (v12/*: any*/) + "selections": (v12/*: any*/), + "storageKey": null }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, v16 = { - "kind": "ScalarField", "alias": null, - "name": "hasPreviousPage", "args": null, + "kind": "ScalarField", + "name": "hasPreviousPage", "storageKey": null }, v17 = { - "kind": "ScalarField", "alias": null, - "name": "startCursor", "args": null, + "kind": "ScalarField", + "name": "startCursor", "storageKey": null }, v18 = { - "kind": "ScalarField", "alias": null, - "name": "email", "args": null, + "kind": "ScalarField", + "name": "email", "storageKey": null }, v19 = [ @@ -469,16 +470,14 @@ v19 = [ } ], v20 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v21 = { - "kind": "ScalarField", "alias": "thumbnailUrl", - "name": "url", "args": [ { "kind": "Literal", @@ -486,14 +485,16 @@ v21 = { "value": "small" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"small\")" }, v22 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], @@ -505,222 +506,218 @@ v23 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_DetailQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_DetailQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "Conversation_me", "args": [ { "kind": "Variable", "name": "conversationID", "variableName": "conversationID" } - ] + ], + "kind": "FragmentSpread", + "name": "Conversation_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_DetailQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "conversationsConnection", - "storageKey": "conversationsConnection(first:25)", "args": (v1/*: any*/), "concreteType": "ConversationConnection", + "kind": "LinkedField", + "name": "conversationsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ConversationEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Conversation", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "lastMessage", "args": null, + "kind": "ScalarField", + "name": "lastMessage", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "to", - "storageKey": null, "args": null, "concreteType": "ConversationResponder", + "kind": "LinkedField", + "name": "to", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastMessageAt", "args": null, + "kind": "ScalarField", + "name": "lastMessageAt", "storageKey": null }, (v7/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "items", - "storageKey": null, "args": null, "concreteType": "ConversationItem", + "kind": "LinkedField", + "name": "items", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "item", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "item", "plural": false, "selections": [ (v8/*: any*/), (v3/*: any*/), { "kind": "InlineFragment", - "type": "Artwork", "selections": [ (v9/*: any*/), (v10/*: any*/), (v11/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, - "selections": (v12/*: any*/) + "selections": (v12/*: any*/), + "storageKey": null } - ] + ], + "type": "Artwork" }, { "kind": "InlineFragment", - "type": "Show", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "fair", - "storageKey": null, "args": null, "concreteType": "Fair", + "kind": "LinkedField", + "name": "fair", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, (v5/*: any*/), (v13/*: any*/) - ] + ], + "type": "Show" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "messagesConnection", - "storageKey": null, "args": null, "concreteType": "MessageConnection", + "kind": "LinkedField", + "name": "messagesConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null } - ] + ], + "storageKey": null }, (v8/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ (v14/*: any*/), (v15/*: any*/), (v16/*: any*/), (v17/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "conversationsConnection(first:25)" }, { - "kind": "LinkedHandle", "alias": null, - "name": "conversationsConnection", "args": (v1/*: any*/), + "filters": null, "handle": "connection", "key": "Conversations_conversationsConnection", - "filters": null + "kind": "LinkedHandle", + "name": "conversationsConnection" }, { - "kind": "LinkedField", "alias": null, - "name": "conversation", - "storageKey": null, "args": [ { "kind": "Variable", @@ -729,228 +726,224 @@ return { } ], "concreteType": "Conversation", + "kind": "LinkedField", + "name": "conversation", "plural": false, "selections": [ (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "to", - "storageKey": null, "args": null, "concreteType": "ConversationResponder", + "kind": "LinkedField", + "name": "to", "plural": false, "selections": [ (v5/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "initials", "args": null, + "kind": "ScalarField", + "name": "initials", "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "from", - "storageKey": null, "args": null, "concreteType": "ConversationInitiator", + "kind": "LinkedField", + "name": "from", "plural": false, "selections": [ (v5/*: any*/), (v18/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "initialMessage", "args": null, + "kind": "ScalarField", + "name": "initialMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastMessageID", "args": null, + "kind": "ScalarField", + "name": "lastMessageID", "storageKey": null }, (v7/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "messagesConnection", - "storageKey": "messagesConnection(first:30,sort:\"DESC\")", "args": (v19/*: any*/), "concreteType": "MessageConnection", + "kind": "LinkedField", + "name": "messagesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ (v17/*: any*/), (v14/*: any*/), (v16/*: any*/), (v15/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "MessageEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Message", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isFromUser", "args": null, + "kind": "ScalarField", + "name": "isFromUser", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "body", "args": null, + "kind": "ScalarField", + "name": "body", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "from", - "storageKey": null, "args": null, "concreteType": "MessageInitiator", + "kind": "LinkedField", + "name": "from", "plural": false, "selections": [ (v5/*: any*/), (v18/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "attachments", - "storageKey": null, "args": null, "concreteType": "Attachment", + "kind": "LinkedField", + "name": "attachments", "plural": true, "selections": [ (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "contentType", "args": null, + "kind": "ScalarField", + "name": "contentType", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fileName", "args": null, + "kind": "ScalarField", + "name": "fileName", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "downloadURL", "args": null, + "kind": "ScalarField", + "name": "downloadURL", "storageKey": null } - ] + ], + "storageKey": null }, (v8/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "messagesConnection(first:30,sort:\"DESC\")" }, { - "kind": "LinkedHandle", "alias": null, - "name": "messagesConnection", "args": (v19/*: any*/), + "filters": [], "handle": "connection", "key": "Messages_messagesConnection", - "filters": [] + "kind": "LinkedHandle", + "name": "messagesConnection" }, { - "kind": "LinkedField", "alias": null, - "name": "items", - "storageKey": null, "args": null, "concreteType": "ConversationItem", + "kind": "LinkedField", + "name": "items", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "item", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "item", "plural": false, "selections": [ (v8/*: any*/), (v3/*: any*/), { "kind": "InlineFragment", - "type": "Artwork", "selections": [ (v9/*: any*/), (v10/*: any*/), (v11/*: any*/), (v20/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -960,265 +953,273 @@ return { ] } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:[\"large\"])" }, (v21/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "listPrice", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "listPrice", "plural": false, "selections": [ (v8/*: any*/), { "kind": "InlineFragment", - "type": "Money", - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "type": "Money" }, { "kind": "InlineFragment", - "type": "PriceRange", - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "type": "PriceRange" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v23/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v3/*: any*/), (v20/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v23/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v5/*: any*/), (v20/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v22/*: any*/) + "selections": (v22/*: any*/), + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null } - ] + ], + "type": "Artwork" }, { "kind": "InlineFragment", - "type": "Show", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "fair", - "storageKey": null, "args": null, "concreteType": "Fair", + "kind": "LinkedField", + "name": "fair", "plural": false, "selections": [ (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "exhibitionPeriod", "args": null, + "kind": "ScalarField", + "name": "exhibitionPeriod", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "location", - "storageKey": null, "args": null, "concreteType": "Location", + "kind": "LinkedField", + "name": "location", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, (v20/*: any*/), (v5/*: any*/), (v13/*: any*/), { - "kind": "LinkedField", "alias": "image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ (v21/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "Show" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_DetailQuery", "id": null, - "text": "query routes_DetailQuery(\n $conversationID: String!\n) {\n me {\n ...Conversation_me_3oGfhn\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment ConversationSnippet_conversation on Conversation {\n internalID\n to {\n name\n id\n }\n lastMessage\n lastMessageAt\n unread\n items {\n item {\n __typename\n ... on Artwork {\n date\n title\n artistNames\n image {\n url\n }\n }\n ... on Show {\n fair {\n name\n id\n }\n name\n coverImage {\n url\n }\n }\n ... on Node {\n id\n }\n }\n }\n messagesConnection {\n totalCount\n }\n}\n\nfragment Conversation_conversation on Conversation {\n id\n internalID\n from {\n name\n email\n id\n }\n to {\n name\n initials\n id\n }\n initialMessage\n lastMessageID\n unread\n messagesConnection(first: 30, sort: DESC) {\n pageInfo {\n startCursor\n endCursor\n hasPreviousPage\n hasNextPage\n }\n edges {\n node {\n id\n internalID\n createdAt\n isFromUser\n ...Message_message\n __typename\n }\n cursor\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n date\n title\n artistNames\n href\n image {\n url(version: [\"large\"])\n }\n listPrice {\n __typename\n ... on Money {\n display\n }\n ... on PriceRange {\n display\n }\n }\n }\n ... on Show {\n id\n fair {\n name\n exhibitionPeriod\n location {\n city\n id\n }\n id\n }\n href\n name\n coverImage {\n url\n }\n }\n ... on Node {\n id\n }\n }\n }\n}\n\nfragment Conversation_me_3oGfhn on Me {\n ...Conversations_me\n conversation(id: $conversationID) {\n internalID\n to {\n name\n id\n }\n ...Conversation_conversation\n ...Details_conversation\n id\n }\n}\n\nfragment Conversations_me on Me {\n conversationsConnection(first: 25) {\n edges {\n cursor\n node {\n id\n internalID\n lastMessage\n ...ConversationSnippet_conversation\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Details_conversation on Conversation {\n to {\n name\n initials\n id\n }\n messagesConnection(first: 30, sort: DESC) {\n edges {\n node {\n attachments {\n id\n contentType\n fileName\n downloadURL\n }\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n href\n ...Metadata_artwork\n image {\n thumbnailUrl: url(version: \"small\")\n }\n }\n ... on Show {\n href\n image: coverImage {\n thumbnailUrl: url(version: \"small\")\n }\n }\n ... on Node {\n id\n }\n }\n }\n}\n\nfragment Message_message on Message {\n internalID\n body\n createdAt\n isFromUser\n from {\n name\n email\n }\n attachments {\n id\n contentType\n fileName\n downloadURL\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_DetailQuery", + "operationKind": "query", + "text": "query routes_DetailQuery(\n $conversationID: String!\n) {\n me {\n ...Conversation_me_3oGfhn\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment ConversationSnippet_conversation on Conversation {\n internalID\n to {\n name\n id\n }\n lastMessage\n lastMessageAt\n unread\n items {\n item {\n __typename\n ... on Artwork {\n date\n title\n artistNames\n image {\n url\n }\n }\n ... on Show {\n fair {\n name\n id\n }\n name\n coverImage {\n url\n }\n }\n ... on Node {\n id\n }\n }\n }\n messagesConnection {\n totalCount\n }\n}\n\nfragment Conversation_conversation on Conversation {\n id\n internalID\n from {\n name\n email\n id\n }\n to {\n name\n initials\n id\n }\n initialMessage\n lastMessageID\n unread\n messagesConnection(first: 30, sort: DESC) {\n pageInfo {\n startCursor\n endCursor\n hasPreviousPage\n hasNextPage\n }\n edges {\n node {\n id\n internalID\n createdAt\n isFromUser\n ...Message_message\n __typename\n }\n cursor\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n date\n title\n artistNames\n href\n image {\n url(version: [\"large\"])\n }\n listPrice {\n __typename\n ... on Money {\n display\n }\n ... on PriceRange {\n display\n }\n }\n }\n ... on Show {\n id\n fair {\n name\n exhibitionPeriod\n location {\n city\n id\n }\n id\n }\n href\n name\n coverImage {\n url\n }\n }\n ... on Node {\n id\n }\n }\n }\n}\n\nfragment Conversation_me_3oGfhn on Me {\n ...Conversations_me\n conversation(id: $conversationID) {\n internalID\n to {\n name\n id\n }\n ...Conversation_conversation\n ...Details_conversation\n id\n }\n}\n\nfragment Conversations_me on Me {\n conversationsConnection(first: 25) {\n edges {\n cursor\n node {\n id\n internalID\n lastMessage\n ...ConversationSnippet_conversation\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment Details_conversation on Conversation {\n to {\n name\n initials\n id\n }\n messagesConnection(first: 30, sort: DESC) {\n edges {\n node {\n attachments {\n id\n contentType\n fileName\n downloadURL\n }\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n href\n ...Metadata_artwork\n image {\n thumbnailUrl: url(version: \"small\")\n }\n }\n ... on Show {\n href\n image: coverImage {\n thumbnailUrl: url(version: \"small\")\n }\n }\n ... on Node {\n id\n }\n }\n }\n}\n\nfragment Message_message on Message {\n internalID\n body\n createdAt\n isFromUser\n from {\n name\n email\n }\n attachments {\n id\n contentType\n fileName\n downloadURL\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_FeatureAKGQuery.graphql.ts b/src/v2/__generated__/routes_FeatureAKGQuery.graphql.ts index f218bd73d48..80788049061 100644 --- a/src/v2/__generated__/routes_FeatureAKGQuery.graphql.ts +++ b/src/v2/__generated__/routes_FeatureAKGQuery.graphql.ts @@ -1,13 +1,14 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type routes_FeatureAKGQueryVariables = { - articleIDs: ReadonlyArray; + articleIDs: Array; selectedWorksSetID: string; - collectionRailItemIDs?: ReadonlyArray | null; - auctionRailItemIDs?: ReadonlyArray | null; - fairRailItemIDs?: ReadonlyArray | null; + collectionRailItemIDs?: Array | null; + auctionRailItemIDs?: Array | null; + fairRailItemIDs?: Array | null; hasCollectionRailItems: boolean; hasAuctionRailItems: boolean; hasFairRailItems: boolean; @@ -247,94 +248,94 @@ fragment SelectedWorks_selectedWorks on OrderedSet { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "articleIDs", - "type": "[String]!", - "defaultValue": null + "type": "[String]!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "selectedWorksSetID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "collectionRailItemIDs", - "type": "[String!]", - "defaultValue": null + "type": "[String!]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "auctionRailItemIDs", - "type": "[String!]", - "defaultValue": null + "type": "[String!]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "fairRailItemIDs", - "type": "[String!]", - "defaultValue": null + "type": "[String!]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasCollectionRailItems", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasAuctionRailItems", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "hasFairRailItems", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v7 = [ @@ -345,42 +346,37 @@ v7 = [ } ], v8 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v9 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_FeatureAKGQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_FeatureAKGQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "FeatureAKGApp_viewer", "args": [ { "kind": "Variable", @@ -422,31 +418,32 @@ return { "name": "selectedWorksSetID", "variableName": "selectedWorksSetID" } - ] + ], + "kind": "FragmentSpread", + "name": "FeatureAKGApp_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_FeatureAKGQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "articles", - "storageKey": null, "args": [ { "kind": "Variable", @@ -455,19 +452,19 @@ return { } ], "concreteType": "Article", + "kind": "LinkedField", + "name": "articles", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "thumbnailTitle", "args": null, + "kind": "ScalarField", + "name": "thumbnailTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -475,22 +472,20 @@ return { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM Do, YYYY\")" }, { - "kind": "LinkedField", "alias": null, - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:780,width:1170)", "args": [ { "kind": "Literal", @@ -504,41 +499,41 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": "cropped(height:780,width:1170)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "tinyImage", - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:120,width:120)", "args": [ { "kind": "Literal", @@ -552,22 +547,24 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ (v1/*: any*/) - ] + ], + "storageKey": "cropped(height:120,width:120)" } - ] + ], + "storageKey": null }, (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "selectedWorks", - "name": "orderedSet", - "storageKey": null, "args": [ { "kind": "Variable", @@ -576,13 +573,12 @@ return { } ], "concreteType": "OrderedSet", + "kind": "LinkedField", + "name": "orderedSet", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "itemsConnection", - "storageKey": "itemsConnection(first:6)", "args": [ { "kind": "Literal", @@ -591,31 +587,31 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "itemsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v3/*: any*/), @@ -623,32 +619,29 @@ return { (v2/*: any*/), (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -656,226 +649,230 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, (v6/*: any*/), { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v7/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v3/*: any*/), (v2/*: any*/), (v8/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v7/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v8/*: any*/), (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "itemsConnection(first:6)" }, (v3/*: any*/) - ] + ], + "storageKey": null }, { + "condition": "hasCollectionRailItems", "kind": "Condition", "passingValue": true, - "condition": "hasCollectionRailItems", "selections": [ { - "kind": "LinkedField", "alias": "collections", - "name": "marketingCollections", - "storageKey": null, "args": [ { "kind": "Variable", @@ -884,25 +881,25 @@ return { } ], "concreteType": "MarketingCollection", + "kind": "LinkedField", + "name": "marketingCollections", "plural": true, "selections": [ (v4/*: any*/), (v6/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } ] }, { + "condition": "hasAuctionRailItems", "kind": "Condition", "passingValue": true, - "condition": "hasAuctionRailItems", "selections": [ { - "kind": "LinkedField", "alias": "auctions", - "name": "salesConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -916,48 +913,48 @@ return { } ], "concreteType": "SaleConnection", + "kind": "LinkedField", + "name": "salesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SaleEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), (v8/*: any*/), (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, { + "condition": "hasFairRailItems", "kind": "Condition", "passingValue": true, - "condition": "hasFairRailItems", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "fairs", - "storageKey": null, "args": [ { "kind": "Variable", @@ -966,26 +963,30 @@ return { } ], "concreteType": "Fair", + "kind": "LinkedField", + "name": "fairs", "plural": true, "selections": [ (v5/*: any*/), (v8/*: any*/), (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } ] } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_FeatureAKGQuery", "id": null, - "text": "query routes_FeatureAKGQuery(\n $articleIDs: [String]!\n $selectedWorksSetID: String!\n $collectionRailItemIDs: [String!]\n $auctionRailItemIDs: [String!]\n $fairRailItemIDs: [String!]\n $hasCollectionRailItems: Boolean!\n $hasAuctionRailItems: Boolean!\n $hasFairRailItems: Boolean!\n) {\n viewer {\n ...FeatureAKGApp_viewer_2x5Kr1\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FeatureAKGApp_viewer_2x5Kr1 on Viewer {\n ...Feature_viewer_2x5Kr1\n}\n\nfragment Feature_viewer_2x5Kr1 on Viewer {\n articles(ids: $articleIDs) {\n ...FeaturedArticles_articles\n id\n }\n selectedWorks: orderedSet(id: $selectedWorksSetID) {\n ...SelectedWorks_selectedWorks\n id\n }\n ...FeaturedRails_viewer_1Tm9K3\n}\n\nfragment FeaturedArticles_articles on Article {\n thumbnailTitle\n publishedAt(format: \"MMM Do, YYYY\")\n thumbnailImage {\n cropped(width: 1170, height: 780) {\n width\n height\n url\n }\n }\n tinyImage: thumbnailImage {\n cropped(width: 120, height: 120) {\n url\n }\n }\n href\n}\n\nfragment FeaturedAuctions_auctions on SaleConnection {\n edges {\n node {\n slug\n name\n href\n id\n }\n }\n}\n\nfragment FeaturedCollections_collections on MarketingCollection {\n slug\n title\n}\n\nfragment FeaturedFairs_fairs on Fair {\n internalID\n name\n href\n}\n\nfragment FeaturedRails_viewer_1Tm9K3 on Viewer {\n collections: marketingCollections(slugs: $collectionRailItemIDs) @include(if: $hasCollectionRailItems) {\n ...FeaturedCollections_collections\n id\n }\n auctions: salesConnection(first: 50, ids: $auctionRailItemIDs) @include(if: $hasAuctionRailItems) {\n ...FeaturedAuctions_auctions\n }\n fairs(ids: $fairRailItemIDs) @include(if: $hasFairRailItems) {\n ...FeaturedFairs_fairs\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment SelectedWorks_selectedWorks on OrderedSet {\n itemsConnection(first: 6) {\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_FeatureAKGQuery", + "operationKind": "query", + "text": "query routes_FeatureAKGQuery(\n $articleIDs: [String]!\n $selectedWorksSetID: String!\n $collectionRailItemIDs: [String!]\n $auctionRailItemIDs: [String!]\n $fairRailItemIDs: [String!]\n $hasCollectionRailItems: Boolean!\n $hasAuctionRailItems: Boolean!\n $hasFairRailItems: Boolean!\n) {\n viewer {\n ...FeatureAKGApp_viewer_2x5Kr1\n }\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FeatureAKGApp_viewer_2x5Kr1 on Viewer {\n ...Feature_viewer_2x5Kr1\n}\n\nfragment Feature_viewer_2x5Kr1 on Viewer {\n articles(ids: $articleIDs) {\n ...FeaturedArticles_articles\n id\n }\n selectedWorks: orderedSet(id: $selectedWorksSetID) {\n ...SelectedWorks_selectedWorks\n id\n }\n ...FeaturedRails_viewer_1Tm9K3\n}\n\nfragment FeaturedArticles_articles on Article {\n thumbnailTitle\n publishedAt(format: \"MMM Do, YYYY\")\n thumbnailImage {\n cropped(width: 1170, height: 780) {\n width\n height\n url\n }\n }\n tinyImage: thumbnailImage {\n cropped(width: 120, height: 120) {\n url\n }\n }\n href\n}\n\nfragment FeaturedAuctions_auctions on SaleConnection {\n edges {\n node {\n slug\n name\n href\n id\n }\n }\n}\n\nfragment FeaturedCollections_collections on MarketingCollection {\n slug\n title\n}\n\nfragment FeaturedFairs_fairs on Fair {\n internalID\n name\n href\n}\n\nfragment FeaturedRails_viewer_1Tm9K3 on Viewer {\n collections: marketingCollections(slugs: $collectionRailItemIDs) @include(if: $hasCollectionRailItems) {\n ...FeaturedCollections_collections\n id\n }\n auctions: salesConnection(first: 50, ids: $auctionRailItemIDs) @include(if: $hasAuctionRailItems) {\n ...FeaturedAuctions_auctions\n }\n fairs(ids: $fairRailItemIDs) @include(if: $hasFairRailItems) {\n ...FeaturedFairs_fairs\n id\n }\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment SelectedWorks_selectedWorks on OrderedSet {\n itemsConnection(first: 6) {\n ...ArtworkGrid_artworks\n edges {\n node {\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_FeatureQuery.graphql.ts b/src/v2/__generated__/routes_FeatureQuery.graphql.ts index b515066ed49..0e2f6fb10d5 100644 --- a/src/v2/__generated__/routes_FeatureQuery.graphql.ts +++ b/src/v2/__generated__/routes_FeatureQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -275,10 +276,10 @@ fragment Save_artwork on Artwork { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -289,17 +290,17 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v4 = [ @@ -324,10 +325,10 @@ v6 = { }, v7 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ], @@ -342,45 +343,45 @@ v9 = { "value": 2000 }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "layout", "args": null, + "kind": "ScalarField", + "name": "layout", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "description", "args": (v4/*: any*/), + "kind": "ScalarField", + "name": "description", "storageKey": "description(format:\"HTML\")" }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v16 = [ @@ -392,33 +393,33 @@ v16 = [ ], v17 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], v18 = [ { - "kind": "ScalarField", "alias": "src", - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null } ], @@ -428,95 +429,90 @@ v19 = { "value": 2224 }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_FeatureQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_FeatureQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "feature", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Feature", + "kind": "LinkedField", + "name": "feature", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "FeatureApp_feature", - "args": null + "name": "FeatureApp_feature" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_FeatureQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "feature", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Feature", + "kind": "LinkedField", + "name": "feature", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "meta", - "storageKey": null, "args": null, "concreteType": "FeatureMeta", + "kind": "LinkedField", + "name": "meta", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "image", "args": null, + "kind": "ScalarField", + "name": "image", "storageKey": null } - ] + ], + "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "subheadline", "args": (v4/*: any*/), + "kind": "ScalarField", + "name": "subheadline", "storageKey": "subheadline(format:\"HTML\")" }, { - "kind": "LinkedField", "alias": "defaultImage", - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "_1x", - "name": "cropped", - "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:1000)", "args": [ (v5/*: any*/), (v6/*: any*/), @@ -527,53 +523,53 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:1000)" }, { - "kind": "LinkedField", "alias": "_2x", - "name": "cropped", - "storageKey": "cropped(height:2000,version:[\"main\",\"wide\"],width:2000)", "args": [ (v8/*: any*/), (v6/*: any*/), (v9/*: any*/) ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": "cropped(height:2000,version:[\"main\",\"wide\"],width:2000)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "fullImage", - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "_1x", - "name": "cropped", - "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:2000)", "args": [ (v5/*: any*/), (v6/*: any*/), (v9/*: any*/) ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:2000)" }, { - "kind": "LinkedField", "alias": "_2x", - "name": "cropped", - "storageKey": "cropped(height:2000,version:[\"main\",\"wide\"],width:4000)", "args": [ (v8/*: any*/), (v6/*: any*/), @@ -584,25 +580,26 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v7/*: any*/) + "selections": (v7/*: any*/), + "storageKey": "cropped(height:2000,version:[\"main\",\"wide\"],width:4000)" } - ] + ], + "storageKey": null }, (v10/*: any*/), (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "callout", "args": (v4/*: any*/), + "kind": "ScalarField", + "name": "callout", "storageKey": "callout(format:\"HTML\")" }, { - "kind": "LinkedField", "alias": "sets", - "name": "setsConnection", - "storageKey": "setsConnection(first:20)", "args": [ { "kind": "Literal", @@ -611,24 +608,24 @@ return { } ], "concreteType": "OrderedSetConnection", + "kind": "LinkedField", + "name": "setsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "OrderedSetEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "OrderedSet", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v12/*: any*/), @@ -636,17 +633,14 @@ return { (v3/*: any*/), (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemType", "args": null, + "kind": "ScalarField", + "name": "itemType", "storageKey": null }, { - "kind": "LinkedField", "alias": "orderedItems", - "name": "orderedItemsConnection", - "storageKey": "orderedItemsConnection(first:35)", "args": [ { "kind": "Literal", @@ -655,68 +649,64 @@ return { } ], "concreteType": "OrderedSetItemConnection", + "kind": "LinkedField", + "name": "orderedItemsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "OrderedSetItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ (v13/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v13/*: any*/), (v12/*: any*/), { "kind": "InlineFragment", - "type": "Artwork", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, (v14/*: any*/), { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -724,237 +714,236 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null } - ] + ], + "storageKey": null }, (v15/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v16/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v12/*: any*/), (v15/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v16/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v3/*: any*/), (v15/*: any*/), (v12/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v12/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v17/*: any*/) + "selections": (v17/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v17/*: any*/) + "selections": (v17/*: any*/), + "storageKey": null }, (v12/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null } - ] + ], + "type": "Artwork" }, { "kind": "InlineFragment", - "type": "FeaturedLink", "selections": [ (v15/*: any*/), (v14/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "subtitle", "args": (v4/*: any*/), + "kind": "ScalarField", + "name": "subtitle", "storageKey": "subtitle(format:\"HTML\")" }, (v11/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "small", - "name": "cropped", - "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:800)", "args": [ (v5/*: any*/), (v6/*: any*/), @@ -965,14 +954,14 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v18/*: any*/) + "selections": (v18/*: any*/), + "storageKey": "cropped(height:1000,version:[\"main\",\"wide\"],width:800)" }, { - "kind": "LinkedField", "alias": "medium", - "name": "cropped", - "storageKey": "cropped(height:1365,version:[\"main\",\"wide\"],width:1092)", "args": [ { "kind": "Literal", @@ -987,14 +976,14 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v18/*: any*/) + "selections": (v18/*: any*/), + "storageKey": "cropped(height:1365,version:[\"main\",\"wide\"],width:1092)" }, { - "kind": "LinkedField", "alias": "large", - "name": "cropped", - "storageKey": "cropped(height:1252,version:[\"main\",\"wide\"],width:2224)", "args": [ { "kind": "Literal", @@ -1005,14 +994,14 @@ return { (v19/*: any*/) ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v18/*: any*/) + "selections": (v18/*: any*/), + "storageKey": "cropped(height:1252,version:[\"main\",\"wide\"],width:2224)" }, { - "kind": "LinkedField", "alias": "full", - "name": "resized", - "storageKey": "resized(height:2224,version:[\"main\",\"wide\"],width:2224)", "args": [ { "kind": "Literal", @@ -1023,36 +1012,48 @@ return { (v19/*: any*/) ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v18/*: any*/) + "selections": (v18/*: any*/), + "storageKey": "resized(height:2224,version:[\"main\",\"wide\"],width:2224)" } - ] + ], + "storageKey": null } - ] + ], + "type": "FeaturedLink" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "orderedItemsConnection(first:35)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "setsConnection(first:20)" }, (v12/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_FeatureQuery", "id": null, - "text": "query routes_FeatureQuery(\n $slug: ID!\n) {\n feature(id: $slug) {\n ...FeatureApp_feature\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\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: HTML)\n description(format: HTML)\n image {\n small: cropped(width: 800, height: 1000, version: [\"main\", \"wide\"]) {\n src: url\n width\n height\n }\n medium: cropped(width: 1092, height: 1365, version: [\"main\", \"wide\"]) {\n src: url\n width\n height\n }\n large: cropped(width: 2224, height: 1252, version: [\"main\", \"wide\"]) {\n src: url\n width\n height\n }\n full: resized(width: 2224, height: 2224, version: [\"main\", \"wide\"]) {\n src: url\n width\n height\n }\n }\n}\n\nfragment FeatureHeaderDefault_feature on Feature {\n name\n subheadline(format: HTML)\n defaultImage: image {\n _1x: cropped(width: 1000, height: 1000, version: [\"main\", \"wide\"]) {\n url\n }\n _2x: cropped(width: 2000, height: 2000, version: [\"main\", \"wide\"]) {\n url\n }\n }\n}\n\nfragment FeatureHeaderFull_feature on Feature {\n name\n subheadline(format: HTML)\n fullImage: image {\n _1x: cropped(width: 2000, height: 1000, version: [\"main\", \"wide\"]) {\n url\n }\n _2x: cropped(width: 4000, height: 2000, version: [\"main\", \"wide\"]) {\n url\n }\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: 35) {\n edges {\n __typename\n }\n }\n}\n\nfragment FeatureSetItem_setItem on OrderedSetItem {\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: 35) {\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 id\n }\n }\n }\n }\n ...FeatureSetMeta_set\n ...FeatureSetContainer_set\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_FeatureQuery", + "operationKind": "query", + "text": "query routes_FeatureQuery(\n $slug: ID!\n) {\n feature(id: $slug) {\n ...FeatureApp_feature\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\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: HTML)\n description(format: HTML)\n image {\n small: cropped(width: 800, height: 1000, version: [\"main\", \"wide\"]) {\n src: url\n width\n height\n }\n medium: cropped(width: 1092, height: 1365, version: [\"main\", \"wide\"]) {\n src: url\n width\n height\n }\n large: cropped(width: 2224, height: 1252, version: [\"main\", \"wide\"]) {\n src: url\n width\n height\n }\n full: resized(width: 2224, height: 2224, version: [\"main\", \"wide\"]) {\n src: url\n width\n height\n }\n }\n}\n\nfragment FeatureHeaderDefault_feature on Feature {\n name\n subheadline(format: HTML)\n defaultImage: image {\n _1x: cropped(width: 1000, height: 1000, version: [\"main\", \"wide\"]) {\n url\n }\n _2x: cropped(width: 2000, height: 2000, version: [\"main\", \"wide\"]) {\n url\n }\n }\n}\n\nfragment FeatureHeaderFull_feature on Feature {\n name\n subheadline(format: HTML)\n fullImage: image {\n _1x: cropped(width: 2000, height: 1000, version: [\"main\", \"wide\"]) {\n url\n }\n _2x: cropped(width: 4000, height: 2000, version: [\"main\", \"wide\"]) {\n url\n }\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: 35) {\n edges {\n __typename\n }\n }\n}\n\nfragment FeatureSetItem_setItem on OrderedSetItem {\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: 35) {\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 id\n }\n }\n }\n }\n ...FeatureSetMeta_set\n ...FeatureSetContainer_set\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_IdentityVerificationAppQuery.graphql.ts b/src/v2/__generated__/routes_IdentityVerificationAppQuery.graphql.ts index f55c9d98328..437f20f5379 100644 --- a/src/v2/__generated__/routes_IdentityVerificationAppQuery.graphql.ts +++ b/src/v2/__generated__/routes_IdentityVerificationAppQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -54,10 +55,10 @@ fragment IdentityVerificationApp_me_1Bmzm5 on Me { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "id", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -68,99 +69,99 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_IdentityVerificationAppQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_IdentityVerificationAppQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": (v1/*: any*/), "kind": "FragmentSpread", - "name": "IdentityVerificationApp_me", - "args": (v1/*: any*/) + "name": "IdentityVerificationApp_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_IdentityVerificationAppQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "identityVerification", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "IdentityVerification", + "kind": "LinkedField", + "name": "identityVerification", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "userID", "args": null, + "kind": "ScalarField", + "name": "userID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null }, (v3/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_IdentityVerificationAppQuery", "id": null, - "text": "query routes_IdentityVerificationAppQuery(\n $id: String!\n) {\n me {\n ...IdentityVerificationApp_me_1Bmzm5\n id\n }\n}\n\nfragment IdentityVerificationApp_me_1Bmzm5 on Me {\n internalID\n identityVerification(id: $id) {\n internalID\n userID\n state\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_IdentityVerificationAppQuery", + "operationKind": "query", + "text": "query routes_IdentityVerificationAppQuery(\n $id: String!\n) {\n me {\n ...IdentityVerificationApp_me_1Bmzm5\n id\n }\n}\n\nfragment IdentityVerificationApp_me_1Bmzm5 on Me {\n internalID\n identityVerification(id: $id) {\n internalID\n userID\n state\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_NewPaymentQuery.graphql.ts b/src/v2/__generated__/routes_NewPaymentQuery.graphql.ts index 57c57838479..5b29748f998 100644 --- a/src/v2/__generated__/routes_NewPaymentQuery.graphql.ts +++ b/src/v2/__generated__/routes_NewPaymentQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -213,10 +214,10 @@ fragment TransactionDetailsSummaryItem_order on CommerceOrder { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "orderID", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -227,94 +228,94 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v15 = [ @@ -325,137 +326,133 @@ v15 = [ } ], v16 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v15/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v17 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v18 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v15/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v19 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v20 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v15/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v21 = { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, v22 = { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v15/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, v23 = { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, v24 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, v25 = { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_NewPaymentQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_NewPaymentQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "NewPayment_me", - "args": null + "name": "NewPayment_me" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "NewPayment_order", - "args": null + "name": "NewPayment_order" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_NewPaymentQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCards", - "storageKey": "creditCards(first:100)", "args": [ { "kind": "Literal", @@ -464,24 +461,24 @@ return { } ], "concreteType": "CreditCardConnection", + "kind": "LinkedField", + "name": "creditCards", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CreditCardEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), @@ -490,132 +487,127 @@ return { (v5/*: any*/), (v6/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "creditCards(first:100)" }, (v7/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": null, + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v8/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v8/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -624,52 +616,59 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v9/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v2/*: any*/), (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "street1", "args": null, + "kind": "ScalarField", + "name": "street1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "street2", "args": null, + "kind": "ScalarField", + "name": "street2", "storageKey": null }, (v11/*: any*/), @@ -681,83 +680,84 @@ return { (v4/*: any*/), (v3/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v14/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, (v12/*: any*/), (v13/*: any*/) - ] + ], + "type": "CommerceShip" }, { "kind": "InlineFragment", - "type": "CommercePickup", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "fulfillmentType", "args": null, + "kind": "ScalarField", + "name": "fulfillmentType", "storageKey": null } - ] + ], + "type": "CommercePickup" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v14/*: any*/), (v7/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v10/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, (v14/*: any*/), (v16/*: any*/), @@ -765,39 +765,37 @@ return { (v18/*: any*/), (v19/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v15/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v15/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v20/*: any*/), (v7/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, (v2/*: any*/), @@ -812,15 +810,15 @@ return { (v20/*: any*/), (v24/*: any*/), (v25/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v2/*: any*/), @@ -835,20 +833,23 @@ return { (v25/*: any*/), (v21/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_NewPaymentQuery", "id": null, - "text": "query routes_NewPaymentQuery(\n $orderID: ID!\n) {\n me {\n ...NewPayment_me\n id\n }\n order: commerceOrder(id: $orderID) {\n __typename\n ...NewPayment_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment NewPayment_me on Me {\n ...PaymentPicker_me\n}\n\nfragment NewPayment_order on CommerceOrder {\n internalID\n mode\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n artists {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n }\n ...PaymentPicker_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n}\n\nfragment PaymentPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment PaymentPicker_order on CommerceOrder {\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_NewPaymentQuery", + "operationKind": "query", + "text": "query routes_NewPaymentQuery(\n $orderID: ID!\n) {\n me {\n ...NewPayment_me\n id\n }\n order: commerceOrder(id: $orderID) {\n __typename\n ...NewPayment_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment NewPayment_me on Me {\n ...PaymentPicker_me\n}\n\nfragment NewPayment_order on CommerceOrder {\n internalID\n mode\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n artists {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n }\n ...PaymentPicker_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n}\n\nfragment PaymentPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment PaymentPicker_order on CommerceOrder {\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_OfferQuery.graphql.ts b/src/v2/__generated__/routes_OfferQuery.graphql.ts index 4021d36586e..3197e1be2fd 100644 --- a/src/v2/__generated__/routes_OfferQuery.graphql.ts +++ b/src/v2/__generated__/routes_OfferQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -130,10 +131,10 @@ fragment TransactionDetailsSummaryItem_order on CommerceOrder { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "orderID", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -144,10 +145,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = [ @@ -158,68 +159,68 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v11 = [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, (v6/*: any*/), @@ -228,191 +229,182 @@ v11 = [ (v9/*: any*/), (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, (v4/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_OfferQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_OfferQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Offer_order", - "args": null + "name": "Offer_order" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_OfferQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPriceCents", "args": null, + "kind": "ScalarField", + "name": "totalListPriceCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "currencyCode", "args": null, + "kind": "ScalarField", + "name": "currencyCode", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -421,53 +413,61 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v5/*: any*/), (v4/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, (v5/*: any*/), (v6/*: any*/), @@ -475,50 +475,51 @@ return { (v8/*: any*/), (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, (v10/*: any*/), (v4/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, - "selections": (v11/*: any*/) + "selections": (v11/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, - "selections": (v11/*: any*/) + "selections": (v11/*: any*/), + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_OfferQuery", "id": null, - "text": "query routes_OfferQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Offer_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Offer_order on CommerceOrder {\n internalID\n mode\n state\n totalListPrice(precision: 2)\n totalListPriceCents\n currencyCode\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_OfferQuery", + "operationKind": "query", + "text": "query routes_OfferQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Offer_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Offer_order on CommerceOrder {\n internalID\n mode\n state\n totalListPrice(precision: 2)\n totalListPriceCents\n currencyCode\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_OrderQuery.graphql.ts b/src/v2/__generated__/routes_OrderQuery.graphql.ts index f55796ef209..ce2fdfc1918 100644 --- a/src/v2/__generated__/routes_OrderQuery.graphql.ts +++ b/src/v2/__generated__/routes_OrderQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value"; @@ -183,17 +184,17 @@ query routes_OrderQuery( const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "orderID", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v2 = [ @@ -204,85 +205,85 @@ v2 = [ } ], v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "lastTransactionFailed", "args": null, + "kind": "ScalarField", + "name": "lastTransactionFailed", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v8 = { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v7/*: any*/) - ] + ], + "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": "is_acquireable", - "name": "isAcquireable", "args": null, + "kind": "ScalarField", + "name": "isAcquireable", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": "is_offerable", - "name": "isOfferable", "args": null, + "kind": "ScalarField", + "name": "isOfferable", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, v14 = [ @@ -290,17 +291,17 @@ v14 = [ (v13/*: any*/) ], v15 = { - "kind": "ScalarField", "alias": null, - "name": "awaitingResponseFrom", "args": null, + "kind": "ScalarField", + "name": "awaitingResponseFrom", "storageKey": null }, v16 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v17 = [ @@ -309,33 +310,30 @@ v17 = [ (v16/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_OrderQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_OrderQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v1/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v2/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v3/*: any*/), @@ -344,121 +342,123 @@ return { (v6/*: any*/), (v8/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v9/*: any*/), (v10/*: any*/), (v11/*: any*/), (v12/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v3/*: any*/) - ] + ], + "storageKey": null }, { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, - "selections": (v14/*: any*/) + "selections": (v14/*: any*/), + "storageKey": null }, (v15/*: any*/) - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_OrderQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v1/*: any*/), (v16/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v2/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v7/*: any*/), @@ -468,39 +468,35 @@ return { (v6/*: any*/), (v8/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ (v9/*: any*/), @@ -508,66 +504,71 @@ return { (v10/*: any*/), (v11/*: any*/), (v12/*: any*/) - ] + ], + "storageKey": null }, (v16/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v3/*: any*/), (v16/*: any*/) - ] + ], + "storageKey": null }, (v16/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, - "selections": (v17/*: any*/) + "selections": (v17/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, - "selections": (v17/*: any*/) + "selections": (v17/*: any*/), + "storageKey": null }, (v15/*: any*/) - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_OrderQuery", "id": null, - "text": "query routes_OrderQuery(\n $orderID: ID!\n) {\n me {\n name\n id\n }\n order: commerceOrder(id: $orderID) @principalField {\n __typename\n internalID\n mode\n state\n lastTransactionFailed\n ... on CommerceOfferOrder {\n myLastOffer {\n internalID\n createdAt\n id\n }\n lastOffer {\n internalID\n createdAt\n id\n }\n awaitingResponseFrom\n }\n requestedFulfillment {\n __typename\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n href\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n }\n id\n }\n }\n }\n creditCard {\n internalID\n id\n }\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_OrderQuery", + "operationKind": "query", + "text": "query routes_OrderQuery(\n $orderID: ID!\n) {\n me {\n name\n id\n }\n order: commerceOrder(id: $orderID) @principalField {\n __typename\n internalID\n mode\n state\n lastTransactionFailed\n ... on CommerceOfferOrder {\n myLastOffer {\n internalID\n createdAt\n id\n }\n lastOffer {\n internalID\n createdAt\n id\n }\n awaitingResponseFrom\n }\n requestedFulfillment {\n __typename\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n href\n is_acquireable: isAcquireable\n is_offerable: isOfferable\n }\n id\n }\n }\n }\n creditCard {\n internalID\n id\n }\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_OverviewQuery.graphql.ts b/src/v2/__generated__/routes_OverviewQuery.graphql.ts index a52c9966ffc..5a80ac9baf2 100644 --- a/src/v2/__generated__/routes_OverviewQuery.graphql.ts +++ b/src/v2/__generated__/routes_OverviewQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -656,10 +657,10 @@ fragment WorksForSaleRail_artist on Artist { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -670,41 +671,41 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }, v4 = [ (v3/*: any*/) ], v5 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v8 = { @@ -713,10 +714,10 @@ v8 = { "value": 10 }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v10 = { @@ -725,30 +726,28 @@ v10 = { "value": 1 }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "artworks", "args": null, + "kind": "ScalarField", + "name": "artworks", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -756,41 +755,43 @@ v14 = { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, v16 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v17 = { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, v18 = { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, v19 = { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, v20 = [ @@ -801,238 +802,234 @@ v20 = [ } ], v21 = { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v20/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v2/*: any*/), (v6/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, v22 = { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, v23 = { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v20/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v5/*: any*/), (v6/*: any*/), (v2/*: any*/), (v11/*: any*/) - ] + ], + "storageKey": "partner(shallow:true)" }, v24 = { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, v25 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], v26 = { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v25/*: any*/) + "selections": (v25/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v25/*: any*/) + "selections": (v25/*: any*/), + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, v27 = { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, v28 = { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, v29 = { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, v30 = [ (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_OverviewQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_OverviewQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Overview_artist", - "args": null + "name": "Overview_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_OverviewQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "biographyBlurb", - "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)", "args": [ { "kind": "Literal", @@ -1046,59 +1043,57 @@ return { } ], "concreteType": "ArtistBlurb", + "kind": "LinkedField", + "name": "biographyBlurb", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "text", "args": null, + "kind": "ScalarField", + "name": "text", "storageKey": null } - ] + ], + "storageKey": "biographyBlurb(format:\"HTML\",partnerBio:true)" }, { - "kind": "LinkedField", "alias": null, - "name": "currentEvent", - "storageKey": null, "args": null, "concreteType": "CurrentEvent", + "kind": "LinkedField", + "name": "currentEvent", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "event", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "event", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:300)", "args": [ { "kind": "Literal", @@ -1107,58 +1102,59 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": "resized(width:300)" } - ] + ], + "storageKey": null }, (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "details", "args": null, + "kind": "ScalarField", + "name": "details", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "partner", "args": null, + "kind": "ScalarField", + "name": "partner", "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "collections", "args": null, + "kind": "ScalarField", + "name": "collections", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "highlights", - "storageKey": null, "args": null, "concreteType": "ArtistHighlights", + "kind": "LinkedField", + "name": "highlights", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partnersConnection", - "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)", "args": [ { "kind": "Literal", @@ -1182,54 +1178,55 @@ return { } ], "concreteType": "PartnerArtistConnection", + "kind": "LinkedField", + "name": "partnersConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "PartnerArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "categories", - "storageKey": null, "args": null, "concreteType": "PartnerCategory", + "kind": "LinkedField", + "name": "categories", "plural": true, "selections": [ (v9/*: any*/), (v2/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": "partnersConnection(displayOnPartnerProfile:true,first:10,partnerCategory:[\"blue-chip\",\"top-established\",\"top-emerging\"],representedBy:true)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "auctionResultsConnection", - "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")", "args": [ (v10/*: any*/), { @@ -1244,39 +1241,36 @@ return { } ], "concreteType": "AuctionResultConnection", + "kind": "LinkedField", + "name": "auctionResultsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "AuctionResultEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "AuctionResult", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "price_realized", - "name": "priceRealized", - "storageKey": null, "args": null, "concreteType": "AuctionResultPriceRealized", + "kind": "LinkedField", + "name": "priceRealized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": [ { "kind": "Literal", @@ -1284,22 +1278,23 @@ return { "value": "0a" } ], + "kind": "ScalarField", + "name": "display", "storageKey": "display(format:\"0a\")" } - ] + ], + "storageKey": null }, (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "organization", "args": null, + "kind": "ScalarField", + "name": "organization", "storageKey": null }, { - "kind": "ScalarField", "alias": "sale_date", - "name": "saleDate", "args": [ { "kind": "Literal", @@ -1307,192 +1302,194 @@ return { "value": "YYYY" } ], + "kind": "ScalarField", + "name": "saleDate", "storageKey": "saleDate(format:\"YYYY\")" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "auctionResultsConnection(first:1,recordsTrusted:true,sort:\"PRICE_AND_DATE_DESC\")" }, { - "kind": "LinkedField", "alias": null, - "name": "insights", - "storageKey": null, "args": null, "concreteType": "ArtistInsight", + "kind": "LinkedField", + "name": "insights", "plural": true, "selections": [ (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "label", "args": null, + "kind": "ScalarField", + "name": "label", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "entities", "args": null, + "kind": "ScalarField", + "name": "entities", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "genes", - "storageKey": null, "args": null, "concreteType": "GeneConnection", + "kind": "LinkedField", + "name": "genes", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "GeneEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Gene", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v6/*: any*/), (v5/*: any*/), (v2/*: any*/), (v9/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artistsConnection", - "storageKey": "artistsConnection(first:1)", "args": [ (v10/*: any*/) ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "artistsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artistsConnection(first:1)" } - ] + ], + "storageKey": null }, (v2/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "follows", "args": null, + "kind": "ScalarField", + "name": "follows", "storageKey": null }, { - "kind": "ScalarField", "alias": "partner_shows", - "name": "partnerShows", "args": null, + "kind": "ScalarField", + "name": "partnerShows", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "forSaleArtworks", "args": null, + "kind": "ScalarField", + "name": "forSaleArtworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "ecommerce_artworks", - "name": "ecommerceArtworks", "args": null, + "kind": "ScalarField", + "name": "ecommerceArtworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "auction_artworks", - "name": "auctionArtworks", "args": null, + "kind": "ScalarField", + "name": "auctionArtworks", "storageKey": null }, (v12/*: any*/), { - "kind": "ScalarField", "alias": "has_make_offer_artworks", - "name": "hasMakeOfferArtworks", "args": null, + "kind": "ScalarField", + "name": "hasMakeOfferArtworks", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:20,sort:\"AVAILABILITY_ASC\")", "args": [ { "kind": "Literal", @@ -1506,39 +1503,39 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ (v13/*: any*/), (v14/*: any*/) - ] + ], + "storageKey": null }, (v15/*: any*/), (v16/*: any*/), @@ -1556,53 +1553,52 @@ return { (v9/*: any*/), (v28/*: any*/), (v29/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:20,sort:\"AVAILABILITY_ASC\")" }, { - "kind": "LinkedField", "alias": null, - "name": "targetSupply", - "storageKey": null, "args": null, "concreteType": "ArtistTargetSupply", + "kind": "LinkedField", + "name": "targetSupply", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "isInMicrofunnel", "args": null, + "kind": "ScalarField", + "name": "isInMicrofunnel", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isTargetSupply", "args": null, + "kind": "ScalarField", + "name": "isTargetSupply", "storageKey": null } - ] + ], + "storageKey": null }, (v9/*: any*/), (v6/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:66,width:66)", "args": [ { "kind": "Literal", @@ -1616,16 +1612,17 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": "cropped(height:66,width:66)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "filterArtworksConnection", - "storageKey": "filterArtworksConnection(first:10,sort:\"-weighted_iconicity\")", "args": [ (v8/*: any*/), { @@ -1635,50 +1632,46 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), (v9/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ (v6/*: any*/), { - "kind": "ScalarField", "alias": "imageAspectRatio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:300)", "args": [ { "kind": "Literal", @@ -1687,12 +1680,16 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v30/*: any*/) + "selections": (v30/*: any*/), + "storageKey": "resized(height:300)" }, (v14/*: any*/), (v13/*: any*/) - ] + ], + "storageKey": null }, (v15/*: any*/), (v16/*: any*/), @@ -1709,27 +1706,27 @@ return { (v7/*: any*/), (v28/*: any*/), (v29/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": "filterArtworksConnection(first:10,sort:\"-weighted_iconicity\")" }, { - "kind": "LinkedField", "alias": null, - "name": "statuses", - "storageKey": null, "args": null, "concreteType": "ArtistStatuses", + "kind": "LinkedField", + "name": "statuses", "plural": false, "selections": [ (v12/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "cv", "args": [ { "kind": "Literal", @@ -1737,15 +1734,15 @@ return { "value": 0 } ], + "kind": "ScalarField", + "name": "cv", "storageKey": "cv(minShowCount:0)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": "showsConnection(first:5,sort:\"END_AT_ASC\",status:\"running\")", "args": [ { "kind": "Literal", @@ -1764,49 +1761,45 @@ return { } ], "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ShowEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Show", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v5/*: any*/), (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "exhibitionPeriod", "args": null, + "kind": "ScalarField", + "name": "exhibitionPeriod", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:140,width:220)", "args": [ { "kind": "Literal", @@ -1820,23 +1813,27 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v30/*: any*/) + "selections": (v30/*: any*/), + "storageKey": "cropped(height:140,width:220)" } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "showsConnection(first:5,sort:\"END_AT_ASC\",status:\"running\")" }, { - "kind": "LinkedField", "alias": null, - "name": "articlesConnection", - "storageKey": "articlesConnection(first:4,inEditorialFeed:true,sort:\"PUBLISHED_AT_DESC\")", "args": [ { "kind": "Literal", @@ -1855,38 +1852,36 @@ return { } ], "concreteType": "ArticleConnection", + "kind": "LinkedField", + "name": "articlesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArticleEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Article", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v6/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "thumbnailTitle", "args": null, + "kind": "ScalarField", + "name": "thumbnailTitle", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "publishedAt", "args": [ { "kind": "Literal", @@ -1894,22 +1889,20 @@ return { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "publishedAt", "storageKey": "publishedAt(format:\"MMM Do, YYYY\")" }, { - "kind": "LinkedField", "alias": null, - "name": "thumbnailImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "thumbnailImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:80,width:120)", "args": [ { "kind": "Literal", @@ -1923,28 +1916,36 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": "cropped(height:80,width:120)" } - ] + ], + "storageKey": null }, (v2/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "articlesConnection(first:4,inEditorialFeed:true,sort:\"PUBLISHED_AT_DESC\")" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_OverviewQuery", "id": null, - "text": "query routes_OverviewQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...Overview_artist\n id\n }\n}\n\nfragment ArtistBio_bio on Artist {\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n}\n\nfragment ArtistConsignButton_artist on Artist {\n targetSupply {\n isInMicrofunnel\n isTargetSupply\n }\n internalID\n slug\n name\n href\n image {\n cropped(width: 66, height: 66) {\n url\n }\n }\n}\n\nfragment ArtistTopWorksRail_artist on Artist {\n slug\n id\n filterArtworksConnection(sort: \"-weighted_iconicity\", first: 10) {\n edges {\n node {\n id\n slug\n image {\n href\n imageAspectRatio: aspectRatio\n resized(height: 300) {\n url\n width\n height\n }\n }\n ...FillwidthItem_artwork\n }\n }\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment CurrentEvent_artist on Artist {\n currentEvent {\n event {\n __typename\n ... on Node {\n id\n }\n }\n image {\n resized(width: 300) {\n url\n }\n }\n name\n status\n details\n partner\n href\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment Genes_artist on Artist {\n related {\n genes {\n edges {\n node {\n href\n name\n id\n }\n }\n }\n }\n}\n\nfragment MarketInsights_artist on Artist {\n internalID\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: \"0a\")\n }\n id\n }\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Overview_artist on Artist {\n ...ArtistBio_bio\n ...CurrentEvent_artist\n ...MarketInsights_artist\n ...SelectedCareerAchievements_artist\n ...Genes_artist\n ...FollowArtistButton_artist\n ...WorksForSaleRail_artist\n ...ArtistConsignButton_artist\n ...ArtistTopWorksRail_artist\n slug\n id\n statuses {\n artworks\n cv(minShowCount: 0)\n }\n counts {\n partner_shows: partnerShows\n forSaleArtworks\n ecommerce_artworks: ecommerceArtworks\n auction_artworks: auctionArtworks\n artworks\n has_make_offer_artworks: hasMakeOfferArtworks\n }\n href\n name\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n currentEvent {\n name\n }\n related {\n genes {\n edges {\n node {\n slug\n id\n }\n }\n }\n artistsConnection(first: 1) {\n edges {\n node {\n id\n }\n }\n }\n }\n showsConnection(first: 5, sort: END_AT_ASC, status: \"running\") {\n edges {\n node {\n name\n href\n exhibitionPeriod\n coverImage {\n cropped(width: 220, height: 140) {\n url\n width\n height\n }\n }\n id\n }\n }\n }\n articlesConnection(first: 4, sort: PUBLISHED_AT_DESC, inEditorialFeed: true) {\n edges {\n node {\n href\n thumbnailTitle\n publishedAt(format: \"MMM Do, YYYY\")\n thumbnailImage {\n cropped(width: 120, height: 80) {\n url\n }\n }\n id\n }\n }\n }\n internalID\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 insights {\n type\n }\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment SelectedCareerAchievements_artist on Artist {\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 insights {\n type\n label\n entities\n }\n auctionResultsConnection(recordsTrusted: true, first: 1, sort: PRICE_AND_DATE_DESC) {\n edges {\n node {\n price_realized: priceRealized {\n display(format: \"0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n}\n\nfragment WorksForSaleRail_artist on Artist {\n artworksConnection(first: 20, sort: AVAILABILITY_ASC) {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n }\n ...FollowArtistButton_artist\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_OverviewQuery", + "operationKind": "query", + "text": "query routes_OverviewQuery(\n $artistID: String!\n) {\n artist(id: $artistID) {\n ...Overview_artist\n id\n }\n}\n\nfragment ArtistBio_bio on Artist {\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n}\n\nfragment ArtistConsignButton_artist on Artist {\n targetSupply {\n isInMicrofunnel\n isTargetSupply\n }\n internalID\n slug\n name\n href\n image {\n cropped(width: 66, height: 66) {\n url\n }\n }\n}\n\nfragment ArtistTopWorksRail_artist on Artist {\n slug\n id\n filterArtworksConnection(sort: \"-weighted_iconicity\", first: 10) {\n edges {\n node {\n id\n slug\n image {\n href\n imageAspectRatio: aspectRatio\n resized(height: 300) {\n url\n width\n height\n }\n }\n ...FillwidthItem_artwork\n }\n }\n id\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment CurrentEvent_artist on Artist {\n currentEvent {\n event {\n __typename\n ... on Node {\n id\n }\n }\n image {\n resized(width: 300) {\n url\n }\n }\n name\n status\n details\n partner\n href\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment FollowArtistButton_artist on Artist {\n id\n internalID\n name\n is_followed: isFollowed\n counts {\n follows\n }\n}\n\nfragment Genes_artist on Artist {\n related {\n genes {\n edges {\n node {\n href\n name\n id\n }\n }\n }\n }\n}\n\nfragment MarketInsights_artist on Artist {\n internalID\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: \"0a\")\n }\n id\n }\n }\n }\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\n}\n\nfragment Overview_artist on Artist {\n ...ArtistBio_bio\n ...CurrentEvent_artist\n ...MarketInsights_artist\n ...SelectedCareerAchievements_artist\n ...Genes_artist\n ...FollowArtistButton_artist\n ...WorksForSaleRail_artist\n ...ArtistConsignButton_artist\n ...ArtistTopWorksRail_artist\n slug\n id\n statuses {\n artworks\n cv(minShowCount: 0)\n }\n counts {\n partner_shows: partnerShows\n forSaleArtworks\n ecommerce_artworks: ecommerceArtworks\n auction_artworks: auctionArtworks\n artworks\n has_make_offer_artworks: hasMakeOfferArtworks\n }\n href\n name\n biographyBlurb(format: HTML, partnerBio: true) {\n text\n }\n currentEvent {\n name\n }\n related {\n genes {\n edges {\n node {\n slug\n id\n }\n }\n }\n artistsConnection(first: 1) {\n edges {\n node {\n id\n }\n }\n }\n }\n showsConnection(first: 5, sort: END_AT_ASC, status: \"running\") {\n edges {\n node {\n name\n href\n exhibitionPeriod\n coverImage {\n cropped(width: 220, height: 140) {\n url\n width\n height\n }\n }\n id\n }\n }\n }\n articlesConnection(first: 4, sort: PUBLISHED_AT_DESC, inEditorialFeed: true) {\n edges {\n node {\n href\n thumbnailTitle\n publishedAt(format: \"MMM Do, YYYY\")\n thumbnailImage {\n cropped(width: 120, height: 80) {\n url\n }\n }\n id\n }\n }\n }\n internalID\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 insights {\n type\n }\n}\n\nfragment Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment SelectedCareerAchievements_artist on Artist {\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 insights {\n type\n label\n entities\n }\n auctionResultsConnection(recordsTrusted: true, first: 1, sort: PRICE_AND_DATE_DESC) {\n edges {\n node {\n price_realized: priceRealized {\n display(format: \"0a\")\n }\n organization\n sale_date: saleDate(format: \"YYYY\")\n id\n }\n }\n }\n}\n\nfragment WorksForSaleRail_artist on Artist {\n artworksConnection(first: 20, sort: AVAILABILITY_ASC) {\n edges {\n node {\n id\n image {\n aspect_ratio: aspectRatio\n }\n ...FillwidthItem_artwork\n }\n }\n }\n ...FollowArtistButton_artist\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_PaymentQuery.graphql.ts b/src/v2/__generated__/routes_PaymentQuery.graphql.ts index 6ec48d9754f..6af8ecff4a2 100644 --- a/src/v2/__generated__/routes_PaymentQuery.graphql.ts +++ b/src/v2/__generated__/routes_PaymentQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -200,10 +201,10 @@ fragment TransactionDetailsSummaryItem_order on CommerceOrder { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "orderID", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -214,87 +215,87 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v14 = [ @@ -305,54 +306,54 @@ v14 = [ } ], v15 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v14/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v16 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v17 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v14/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v18 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v19 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v14/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v20 = [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v14/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, (v15/*: any*/), @@ -361,90 +362,86 @@ v20 = [ (v18/*: any*/), (v19/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, (v7/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_PaymentQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_PaymentQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Payment_me", - "args": null + "name": "Payment_me" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Payment_order", - "args": null + "name": "Payment_order" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_PaymentQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "creditCards", - "storageKey": "creditCards(first:100)", "args": [ { "kind": "Literal", @@ -453,24 +450,24 @@ return { } ], "concreteType": "CreditCardConnection", + "kind": "LinkedField", + "name": "creditCards", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CreditCardEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), @@ -479,118 +476,113 @@ return { (v5/*: any*/), (v6/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "creditCards(first:100)" }, (v7/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v7/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -599,52 +591,59 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v8/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ (v2/*: any*/), (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "street1", "args": null, + "kind": "ScalarField", + "name": "street1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "street2", "args": null, + "kind": "ScalarField", + "name": "street2", "storageKey": null }, (v10/*: any*/), @@ -656,83 +655,84 @@ return { (v4/*: any*/), (v3/*: any*/), (v7/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v13/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, (v11/*: any*/), (v12/*: any*/) - ] + ], + "type": "CommerceShip" }, { "kind": "InlineFragment", - "type": "CommercePickup", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "fulfillmentType", "args": null, + "kind": "ScalarField", + "name": "fulfillmentType", "storageKey": null } - ] + ], + "type": "CommercePickup" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v13/*: any*/), (v7/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v9/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, (v13/*: any*/), (v15/*: any*/), @@ -740,57 +740,58 @@ return { (v17/*: any*/), (v18/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v14/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v14/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v19/*: any*/), (v7/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, - "selections": (v20/*: any*/) + "selections": (v20/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, - "selections": (v20/*: any*/) + "selections": (v20/*: any*/), + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_PaymentQuery", "id": null, - "text": "query routes_PaymentQuery(\n $orderID: ID!\n) {\n me {\n ...Payment_me\n id\n }\n order: commerceOrder(id: $orderID) {\n __typename\n ...Payment_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment PaymentPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment PaymentPicker_order on CommerceOrder {\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n\nfragment Payment_me on Me {\n ...PaymentPicker_me\n}\n\nfragment Payment_order on CommerceOrder {\n internalID\n mode\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ...PaymentPicker_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_PaymentQuery", + "operationKind": "query", + "text": "query routes_PaymentQuery(\n $orderID: ID!\n) {\n me {\n ...Payment_me\n id\n }\n order: commerceOrder(id: $orderID) {\n __typename\n ...Payment_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment PaymentPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment PaymentPicker_order on CommerceOrder {\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n\nfragment Payment_me on Me {\n ...PaymentPicker_me\n}\n\nfragment Payment_order on CommerceOrder {\n internalID\n mode\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ...PaymentPicker_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_PurchaseQuery.graphql.ts b/src/v2/__generated__/routes_PurchaseQuery.graphql.ts index 1943d5a8a65..246720e9714 100644 --- a/src/v2/__generated__/routes_PurchaseQuery.graphql.ts +++ b/src/v2/__generated__/routes_PurchaseQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -93,88 +94,84 @@ fragment PurchaseHistory_me on Me { const node: ConcreteRequest = (function(){ var v0 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v2 = [ { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "routes_PurchaseQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], + "name": "routes_PurchaseQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "PurchaseApp_me", - "args": null + "name": "PurchaseApp_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "routes_PurchaseQuery", - "argumentDefinitions": [], "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "orders", - "storageKey": "orders(first:10)", "args": [ { "kind": "Literal", @@ -183,119 +180,111 @@ return { } ], "concreteType": "CommerceOrderConnectionWithTotalCount", + "kind": "LinkedField", + "name": "orders", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceOrderEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": null, + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -304,152 +293,164 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null }, (v0/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "CommercePageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "CommercePageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "CommercePageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "CommercePageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "CommercePageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, - "selections": (v2/*: any*/) + "selections": (v2/*: any*/), + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "CommercePageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasPreviousPage", "args": null, + "kind": "ScalarField", + "name": "hasPreviousPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "startCursor", "args": null, + "kind": "ScalarField", + "name": "startCursor", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "orders(first:10)" }, (v1/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_PurchaseQuery", "id": null, - "text": "query routes_PurchaseQuery {\n me {\n ...PurchaseApp_me\n id\n }\n}\n\nfragment PurchaseApp_me on Me {\n ...PurchaseHistory_me\n}\n\nfragment PurchaseHistory_me on Me {\n orders(first: 10) {\n edges {\n node {\n __typename\n internalID\n code\n state\n mode\n buyerTotal\n lineItems {\n edges {\n node {\n artwork {\n date\n image {\n resized(width: 55) {\n url\n }\n }\n internalID\n title\n artist_names: artistNames\n id\n }\n id\n }\n }\n }\n id\n }\n }\n pageCursors {\n around {\n cursor\n isCurrent\n page\n }\n first {\n cursor\n isCurrent\n page\n }\n last {\n cursor\n isCurrent\n page\n }\n previous {\n cursor\n isCurrent\n page\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_PurchaseQuery", + "operationKind": "query", + "text": "query routes_PurchaseQuery {\n me {\n ...PurchaseApp_me\n id\n }\n}\n\nfragment PurchaseApp_me on Me {\n ...PurchaseHistory_me\n}\n\nfragment PurchaseHistory_me on Me {\n orders(first: 10) {\n edges {\n node {\n __typename\n internalID\n code\n state\n mode\n buyerTotal\n lineItems {\n edges {\n node {\n artwork {\n date\n image {\n resized(width: 55) {\n url\n }\n }\n internalID\n title\n artist_names: artistNames\n id\n }\n id\n }\n }\n }\n id\n }\n }\n pageCursors {\n around {\n cursor\n isCurrent\n page\n }\n first {\n cursor\n isCurrent\n page\n }\n last {\n cursor\n isCurrent\n page\n }\n previous {\n cursor\n isCurrent\n page\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_RegisterQuery.graphql.ts b/src/v2/__generated__/routes_RegisterQuery.graphql.ts index d20f7a39dfc..09d451c409e 100644 --- a/src/v2/__generated__/routes_RegisterQuery.graphql.ts +++ b/src/v2/__generated__/routes_RegisterQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -93,10 +94,10 @@ fragment Register_sale on Sale { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "saleID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -107,84 +108,81 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "isRegistrationClosed", "args": null, + "kind": "ScalarField", + "name": "isRegistrationClosed", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "qualifiedForBidding", "args": null, + "kind": "ScalarField", + "name": "qualifiedForBidding", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "hasQualifiedCreditCards", "args": null, + "kind": "ScalarField", + "name": "hasQualifiedCreditCards", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_RegisterQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_RegisterQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ (v2/*: any*/), @@ -193,55 +191,57 @@ return { (v5/*: any*/), (v6/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ (v7/*: any*/) - ] + ], + "storageKey": null }, { + "args": null, "kind": "FragmentSpread", - "name": "Register_sale", - "args": null + "name": "Register_sale" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v8/*: any*/), { + "args": null, "kind": "FragmentSpread", - "name": "Register_me", - "args": null + "name": "Register_me" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_RegisterQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ (v2/*: any*/), @@ -250,65 +250,66 @@ return { (v5/*: any*/), (v6/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "registrationStatus", - "storageKey": null, "args": null, "concreteType": "Bidder", + "kind": "LinkedField", + "name": "registrationStatus", "plural": false, "selections": [ (v7/*: any*/), (v9/*: any*/) - ] + ], + "storageKey": null }, (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "requireIdentityVerification", "args": null, + "kind": "ScalarField", + "name": "requireIdentityVerification", "storageKey": null }, (v9/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "me", - "storageKey": null, "args": null, "concreteType": "Me", + "kind": "LinkedField", + "name": "me", "plural": false, "selections": [ (v8/*: any*/), (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "identityVerified", "args": null, + "kind": "ScalarField", + "name": "identityVerified", "storageKey": null }, (v9/*: any*/) - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_RegisterQuery", "id": null, - "text": "query routes_RegisterQuery(\n $saleID: String!\n) {\n sale(id: $saleID) @principalField {\n slug\n isAuction\n isRegistrationClosed\n isPreview\n isOpen\n registrationStatus {\n qualifiedForBidding\n id\n }\n ...Register_sale\n id\n }\n me {\n hasQualifiedCreditCards\n ...Register_me\n id\n }\n}\n\nfragment Register_me on Me {\n internalID\n identityVerified\n}\n\nfragment Register_sale on Sale {\n slug\n internalID\n status\n requireIdentityVerification\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_RegisterQuery", + "operationKind": "query", + "text": "query routes_RegisterQuery(\n $saleID: String!\n) {\n sale(id: $saleID) @principalField {\n slug\n isAuction\n isRegistrationClosed\n isPreview\n isOpen\n registrationStatus {\n qualifiedForBidding\n id\n }\n ...Register_sale\n id\n }\n me {\n hasQualifiedCreditCards\n ...Register_me\n id\n }\n}\n\nfragment Register_me on Me {\n internalID\n identityVerified\n}\n\nfragment Register_sale on Sale {\n slug\n internalID\n status\n requireIdentityVerification\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_RejectQuery.graphql.ts b/src/v2/__generated__/routes_RejectQuery.graphql.ts index daa5bdd8f44..26a38c71561 100644 --- a/src/v2/__generated__/routes_RejectQuery.graphql.ts +++ b/src/v2/__generated__/routes_RejectQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -90,10 +91,10 @@ fragment Reject_order on CommerceOrder { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "orderID", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -104,162 +105,153 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_RejectQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_RejectQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Reject_order", - "args": null + "name": "Reject_order" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_RejectQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": null, + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -268,91 +260,100 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v2/*: any*/), (v4/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, (v4/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_RejectQuery", "id": null, - "text": "query routes_RejectQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Reject_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Reject_order on CommerceOrder {\n internalID\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n createdAt\n id\n }\n }\n ...ArtworkSummaryItem_order\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_RejectQuery", + "operationKind": "query", + "text": "query routes_RejectQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Reject_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Reject_order on CommerceOrder {\n internalID\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n createdAt\n id\n }\n }\n ...ArtworkSummaryItem_order\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_RespondQuery.graphql.ts b/src/v2/__generated__/routes_RespondQuery.graphql.ts index 8fa5b52acf6..e60afa6c5b0 100644 --- a/src/v2/__generated__/routes_RespondQuery.graphql.ts +++ b/src/v2/__generated__/routes_RespondQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -214,10 +215,10 @@ fragment TransactionDetailsSummaryItem_order on CommerceOrder { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "orderID", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -228,10 +229,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = [ @@ -242,287 +243,278 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v7 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": null, + "kind": "ScalarField", + "name": "createdAt", "storageKey": null }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, v16 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, v17 = { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_RespondQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_RespondQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Respond_order", - "args": null + "name": "Respond_order" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_RespondQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "currencyCode", "args": null, + "kind": "ScalarField", + "name": "currencyCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "itemsTotalCents", "args": null, + "kind": "ScalarField", + "name": "itemsTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPriceCents", "args": null, + "kind": "ScalarField", + "name": "totalListPriceCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": null, + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, (v4/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -531,27 +523,35 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v5/*: any*/), (v6/*: any*/), @@ -560,145 +560,143 @@ return { (v9/*: any*/), (v10/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v5/*: any*/), (v4/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v11/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v5/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null } - ] + ], + "type": "CommerceShip" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, (v4/*: any*/) - ] + ], + "storageKey": null }, (v4/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ (v12/*: any*/), @@ -714,15 +712,15 @@ return { (v10/*: any*/), (v16/*: any*/), (v17/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v12/*: any*/), @@ -738,41 +736,37 @@ return { (v16/*: any*/), (v17/*: any*/), (v13/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "offers", - "storageKey": null, "args": null, "concreteType": "CommerceOfferConnection", + "kind": "LinkedField", + "name": "offers", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceOfferEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), (v14/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "createdAt", "args": [ { "kind": "Literal", @@ -780,28 +774,35 @@ return { "value": "MMM D" } ], + "kind": "ScalarField", + "name": "createdAt", "storageKey": "createdAt(format:\"MMM D\")" }, (v17/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_RespondQuery", "id": null, - "text": "query routes_RespondQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Respond_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n totalListPrice(precision: 2)\n}\n\nfragment Respond_order on CommerceOrder {\n internalID\n mode\n state\n currencyCode\n itemsTotal(precision: 2)\n itemsTotalCents\n totalListPrice(precision: 2)\n totalListPriceCents\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n myLastOffer {\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n ...OfferHistoryItem_order\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_RespondQuery", + "operationKind": "query", + "text": "query routes_RespondQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Respond_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n totalListPrice(precision: 2)\n}\n\nfragment Respond_order on CommerceOrder {\n internalID\n mode\n state\n currencyCode\n itemsTotal(precision: 2)\n itemsTotalCents\n totalListPrice(precision: 2)\n totalListPriceCents\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n myLastOffer {\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n ...OfferHistoryItem_order\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_ReviewQuery.graphql.ts b/src/v2/__generated__/routes_ReviewQuery.graphql.ts index d71fd608753..c8bcc6b557e 100644 --- a/src/v2/__generated__/routes_ReviewQuery.graphql.ts +++ b/src/v2/__generated__/routes_ReviewQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -225,10 +226,10 @@ fragment TransactionDetailsSummaryItem_order on CommerceOrder { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "orderID", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -239,10 +240,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = [ @@ -253,291 +254,282 @@ v3 = [ } ], v4 = { - "kind": "LinkedField", "alias": null, - "name": "dimensions", - "storageKey": null, "args": null, "concreteType": "dimensions", + "kind": "LinkedField", + "name": "dimensions", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "in", "args": null, + "kind": "ScalarField", + "name": "in", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cm", "args": null, + "kind": "ScalarField", + "name": "cm", "storageKey": null } - ] + ], + "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v6 = [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } ], v7 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v13 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v14 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v15 = { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, v16 = { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, v17 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, v18 = { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, v19 = { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_ReviewQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_ReviewQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Review_order", - "args": null + "name": "Review_order" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_ReviewQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "medium", "args": null, + "kind": "ScalarField", + "name": "medium", "storageKey": null }, (v4/*: any*/), { - "kind": "LinkedField", "alias": "attribution_class", - "name": "attributionClass", - "storageKey": null, "args": null, "concreteType": "AttributionClass", + "kind": "LinkedField", + "name": "attributionClass", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "shortDescription", "args": null, + "kind": "ScalarField", + "name": "shortDescription", "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(width:185)", "args": [ { "kind": "Literal", @@ -546,14 +538,14 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": "resized(width:185)" }, { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -562,83 +554,91 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "edition_sets", - "name": "editionSets", - "storageKey": null, "args": null, "concreteType": "EditionSet", + "kind": "LinkedField", + "name": "editionSets", "plural": true, "selections": [ (v2/*: any*/), (v4/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": null }, (v5/*: any*/), (v7/*: any*/), (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v7/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "editionSetId", "args": null, + "kind": "ScalarField", + "name": "editionSetId", "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v8/*: any*/), (v5/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v9/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, (v8/*: any*/), (v10/*: any*/), @@ -646,140 +646,138 @@ return { (v12/*: any*/), (v13/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v3/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v14/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v8/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v9/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null } - ] + ], + "type": "CommerceShip" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": null }, (v5/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, "selections": [ (v2/*: any*/), @@ -794,15 +792,15 @@ return { (v17/*: any*/), (v18/*: any*/), (v19/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, "selections": [ (v2/*: any*/), @@ -817,20 +815,23 @@ return { (v18/*: any*/), (v19/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_ReviewQuery", "id": null, - "text": "query routes_ReviewQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Review_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment ItemReview_lineItem on CommerceLineItem {\n artwork {\n artist_names: artistNames\n title\n date\n medium\n dimensions {\n in\n cm\n }\n attribution_class: attributionClass {\n shortDescription\n id\n }\n image {\n resized(width: 185) {\n url\n }\n }\n edition_sets: editionSets {\n internalID\n dimensions {\n in\n cm\n }\n id\n }\n id\n }\n editionSetId\n}\n\nfragment OfferSummaryItem_order on CommerceOrder {\n totalListPrice(precision: 2)\n ... on CommerceOfferOrder {\n myLastOffer {\n amount(precision: 2)\n note\n id\n }\n }\n}\n\nfragment Review_order on CommerceOrder {\n internalID\n mode\n itemsTotal(precision: 2)\n lineItems {\n edges {\n node {\n ...ItemReview_lineItem\n artwork {\n slug\n internalID\n artists {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n internalID\n id\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n ...OfferSummaryItem_order\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_ReviewQuery", + "operationKind": "query", + "text": "query routes_ReviewQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Review_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment ItemReview_lineItem on CommerceLineItem {\n artwork {\n artist_names: artistNames\n title\n date\n medium\n dimensions {\n in\n cm\n }\n attribution_class: attributionClass {\n shortDescription\n id\n }\n image {\n resized(width: 185) {\n url\n }\n }\n edition_sets: editionSets {\n internalID\n dimensions {\n in\n cm\n }\n id\n }\n id\n }\n editionSetId\n}\n\nfragment OfferSummaryItem_order on CommerceOrder {\n totalListPrice(precision: 2)\n ... on CommerceOfferOrder {\n myLastOffer {\n amount(precision: 2)\n note\n id\n }\n }\n}\n\nfragment Review_order on CommerceOrder {\n internalID\n mode\n itemsTotal(precision: 2)\n lineItems {\n edges {\n node {\n ...ItemReview_lineItem\n artwork {\n slug\n internalID\n artists {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n internalID\n id\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n ...OfferSummaryItem_order\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_SearchResultsArtistsQuery.graphql.ts b/src/v2/__generated__/routes_SearchResultsArtistsQuery.graphql.ts index d7126ccb9b6..02fb50f726f 100644 --- a/src/v2/__generated__/routes_SearchResultsArtistsQuery.graphql.ts +++ b/src/v2/__generated__/routes_SearchResultsArtistsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -81,16 +82,16 @@ fragment SearchResultsArtists_viewer_2iLyA0 on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "term", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" } ], v1 = { @@ -99,51 +100,46 @@ v1 = { "variableName": "page" }, v2 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v4 = [ (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_SearchResultsArtistsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_SearchResultsArtistsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "SearchResultsArtists_viewer", "args": [ (v1/*: any*/), { @@ -151,31 +147,32 @@ return { "name": "term", "variableName": "term" } - ] + ], + "kind": "FragmentSpread", + "name": "SearchResultsArtists_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_SearchResultsArtistsQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "searchConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -197,176 +194,180 @@ return { } ], "concreteType": "SearchableConnection", + "kind": "LinkedField", + "name": "searchConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v4/*: any*/) + "selections": (v4/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SearchableEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { "kind": "InlineFragment", - "type": "Artist", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageUrl", "args": null, + "kind": "ScalarField", + "name": "imageUrl", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "bio", "args": null, + "kind": "ScalarField", + "name": "bio", "storageKey": null } - ] + ], + "type": "Artist" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_SearchResultsArtistsQuery", "id": null, - "text": "query routes_SearchResultsArtistsQuery(\n $term: String!\n $page: Int\n) {\n viewer {\n ...SearchResultsArtists_viewer_2iLyA0\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 SearchResultsArtists_viewer_2iLyA0 on Viewer {\n searchConnection(query: $term, first: 10, page: $page, entities: [ARTIST]) @principalField {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n __typename\n ... on Artist {\n name\n internalID\n href\n imageUrl\n bio\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_SearchResultsArtistsQuery", + "operationKind": "query", + "text": "query routes_SearchResultsArtistsQuery(\n $term: String!\n $page: Int\n) {\n viewer {\n ...SearchResultsArtists_viewer_2iLyA0\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 SearchResultsArtists_viewer_2iLyA0 on Viewer {\n searchConnection(query: $term, first: 10, page: $page, entities: [ARTIST]) @principalField {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n __typename\n ... on Artist {\n name\n internalID\n href\n imageUrl\n bio\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_SearchResultsEntityQuery.graphql.ts b/src/v2/__generated__/routes_SearchResultsEntityQuery.graphql.ts index 9cc7c22c6f4..5acb8c33b55 100644 --- a/src/v2/__generated__/routes_SearchResultsEntityQuery.graphql.ts +++ b/src/v2/__generated__/routes_SearchResultsEntityQuery.graphql.ts @@ -1,11 +1,12 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type SearchEntity = "ARTICLE" | "ARTIST" | "ARTIST_SERIES" | "ARTWORK" | "CITY" | "COLLECTION" | "FAIR" | "FEATURE" | "GALLERY" | "GENE" | "INSTITUTION" | "PAGE" | "PROFILE" | "SALE" | "SHOW" | "TAG" | "%future added value"; export type routes_SearchResultsEntityQueryVariables = { term: string; - entities?: ReadonlyArray | null; + entities?: Array | null; page?: number | null; }; export type routes_SearchResultsEntityQueryResponse = { @@ -85,22 +86,22 @@ fragment SearchResultsEntity_viewer_1qCJIT on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "term", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "entities", - "type": "[SearchEntity]", - "defaultValue": null + "type": "[SearchEntity]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" } ], v1 = { @@ -114,51 +115,46 @@ v2 = { "variableName": "page" }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v5 = [ (v3/*: any*/), (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_SearchResultsEntityQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_SearchResultsEntityQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "SearchResultsEntity_viewer", "args": [ (v1/*: any*/), (v2/*: any*/), @@ -167,31 +163,32 @@ return { "name": "term", "variableName": "term" } - ] + ], + "kind": "FragmentSpread", + "name": "SearchResultsEntity_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_SearchResultsEntityQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "searchConnection", - "storageKey": null, "args": [ (v1/*: any*/), { @@ -207,183 +204,187 @@ return { } ], "concreteType": "SearchableConnection", + "kind": "LinkedField", + "name": "searchConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v5/*: any*/) + "selections": (v5/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v3/*: any*/), (v4/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SearchableEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { "kind": "InlineFragment", - "type": "SearchableItem", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "description", "args": null, + "kind": "ScalarField", + "name": "description", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "displayLabel", "args": null, + "kind": "ScalarField", + "name": "displayLabel", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageUrl", "args": null, + "kind": "ScalarField", + "name": "imageUrl", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "displayType", "args": null, + "kind": "ScalarField", + "name": "displayType", "storageKey": null } - ] + ], + "type": "SearchableItem" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_SearchResultsEntityQuery", "id": null, - "text": "query routes_SearchResultsEntityQuery(\n $term: String!\n $entities: [SearchEntity]\n $page: Int\n) {\n viewer {\n ...SearchResultsEntity_viewer_1qCJIT\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 SearchResultsEntity_viewer_1qCJIT on Viewer {\n searchConnection(query: $term, first: 10, page: $page, entities: $entities) @principalField {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n __typename\n ... on SearchableItem {\n description\n displayLabel\n href\n internalID\n imageUrl\n displayType\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_SearchResultsEntityQuery", + "operationKind": "query", + "text": "query routes_SearchResultsEntityQuery(\n $term: String!\n $entities: [SearchEntity]\n $page: Int\n) {\n viewer {\n ...SearchResultsEntity_viewer_1qCJIT\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 SearchResultsEntity_viewer_1qCJIT on Viewer {\n searchConnection(query: $term, first: 10, page: $page, entities: $entities) @principalField {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n __typename\n ... on SearchableItem {\n description\n displayLabel\n href\n internalID\n imageUrl\n displayType\n }\n ... on Node {\n id\n }\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_SearchResultsTopLevelQuery.graphql.ts b/src/v2/__generated__/routes_SearchResultsTopLevelQuery.graphql.ts index f6f440dcebb..841a292c07d 100644 --- a/src/v2/__generated__/routes_SearchResultsTopLevelQuery.graphql.ts +++ b/src/v2/__generated__/routes_SearchResultsTopLevelQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -72,71 +73,67 @@ fragment SearchApp_viewer_4hh6ED on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "term", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_SearchResultsTopLevelQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_SearchResultsTopLevelQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "SearchApp_viewer", "args": [ { "kind": "Variable", "name": "term", "variableName": "term" } - ] + ], + "kind": "FragmentSpread", + "name": "SearchApp_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_SearchResultsTopLevelQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "searchConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -157,115 +154,115 @@ return { } ], "concreteType": "SearchableConnection", + "kind": "LinkedField", + "name": "searchConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "SearchAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "SearchableEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v1/*: any*/), { "kind": "InlineFragment", - "type": "SearchableItem", "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "displayLabel", "args": null, + "kind": "ScalarField", + "name": "displayLabel", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "displayType", "args": null, + "kind": "ScalarField", + "name": "displayType", "storageKey": null } - ] + ], + "type": "SearchableItem" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": null, "args": [ { "kind": "Literal", @@ -286,39 +283,43 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "FilterArtworksCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "total", "args": null, + "kind": "ScalarField", + "name": "total", "storageKey": null } - ] + ], + "storageKey": null }, (v1/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_SearchResultsTopLevelQuery", "id": null, - "text": "query routes_SearchResultsTopLevelQuery(\n $term: String!\n) {\n viewer {\n ...SearchApp_viewer_4hh6ED\n }\n}\n\nfragment NavigationTabs_searchableConnection on SearchableConnection {\n aggregations {\n slice\n counts {\n count\n name\n }\n }\n}\n\nfragment SearchApp_viewer_4hh6ED on Viewer {\n searchConnection(query: $term, first: 1, aggregations: [TYPE]) {\n aggregations {\n slice\n counts {\n count\n name\n }\n }\n ...NavigationTabs_searchableConnection\n edges {\n node {\n __typename\n ... on SearchableItem {\n slug\n displayLabel\n displayType\n }\n ... on Node {\n id\n }\n }\n }\n }\n artworksConnection(keyword: $term, size: 0, aggregations: [TOTAL]) {\n counts {\n total\n }\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_SearchResultsTopLevelQuery", + "operationKind": "query", + "text": "query routes_SearchResultsTopLevelQuery(\n $term: String!\n) {\n viewer {\n ...SearchApp_viewer_4hh6ED\n }\n}\n\nfragment NavigationTabs_searchableConnection on SearchableConnection {\n aggregations {\n slice\n counts {\n count\n name\n }\n }\n}\n\nfragment SearchApp_viewer_4hh6ED on Viewer {\n searchConnection(query: $term, first: 1, aggregations: [TYPE]) {\n aggregations {\n slice\n counts {\n count\n name\n }\n }\n ...NavigationTabs_searchableConnection\n edges {\n node {\n __typename\n ... on SearchableItem {\n slug\n displayLabel\n displayType\n }\n ... on Node {\n id\n }\n }\n }\n }\n artworksConnection(keyword: $term, size: 0, aggregations: [TOTAL]) {\n counts {\n total\n }\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_ShippingQuery.graphql.ts b/src/v2/__generated__/routes_ShippingQuery.graphql.ts index 02a54140130..27329777943 100644 --- a/src/v2/__generated__/routes_ShippingQuery.graphql.ts +++ b/src/v2/__generated__/routes_ShippingQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -147,10 +148,10 @@ fragment TransactionDetailsSummaryItem_order on CommerceOrder { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "orderID", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -161,38 +162,38 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v7 = [ @@ -203,54 +204,54 @@ v7 = [ } ], v8 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v7/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v7/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v12 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v7/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v13 = [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v7/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, (v8/*: any*/), @@ -259,267 +260,258 @@ v13 = [ (v11/*: any*/), (v12/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, (v6/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_ShippingQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_ShippingQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Shipping_order", - "args": null + "name": "Shipping_order" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_ShippingQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v3/*: any*/), { "kind": "InlineFragment", - "type": "CommercePickup", "selections": [ (v4/*: any*/) - ] + ], + "type": "CommercePickup" }, { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, (v4/*: any*/) - ] + ], + "type": "CommerceShip" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, { - "kind": "ScalarField", "alias": "pickup_available", - "name": "pickupAvailable", "args": null, + "kind": "ScalarField", + "name": "pickupAvailable", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "onlyShipsDomestically", "args": null, + "kind": "ScalarField", + "name": "onlyShipsDomestically", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "euShippingOrigin", "args": null, + "kind": "ScalarField", + "name": "euShippingOrigin", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingCountry", "args": null, + "kind": "ScalarField", + "name": "shippingCountry", "storageKey": null }, (v6/*: any*/), { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -528,47 +520,55 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v6/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v3/*: any*/), (v6/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v5/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, (v3/*: any*/), (v8/*: any*/), @@ -576,57 +576,58 @@ return { (v10/*: any*/), (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v7/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v7/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v12/*: any*/), (v6/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, - "selections": (v13/*: any*/) + "selections": (v13/*: any*/), + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_ShippingQuery", "id": null, - "text": "query routes_ShippingQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Shipping_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Shipping_order on CommerceOrder {\n internalID\n mode\n state\n requestedFulfillment {\n __typename\n ... on CommercePickup {\n phoneNumber\n }\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n pickup_available: pickupAvailable\n onlyShipsDomestically\n euShippingOrigin\n shippingCountry\n id\n }\n id\n }\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_ShippingQuery", + "operationKind": "query", + "text": "query routes_ShippingQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Shipping_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Shipping_order on CommerceOrder {\n internalID\n mode\n state\n requestedFulfillment {\n __typename\n ... on CommercePickup {\n phoneNumber\n }\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n pickup_available: pickupAvailable\n onlyShipsDomestically\n euShippingOrigin\n shippingCountry\n id\n }\n id\n }\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_ShowsQuery.graphql.ts b/src/v2/__generated__/routes_ShowsQuery.graphql.ts index 3a84207d27b..6fb0598fcda 100644 --- a/src/v2/__generated__/routes_ShowsQuery.graphql.ts +++ b/src/v2/__generated__/routes_ShowsQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -187,10 +188,10 @@ fragment Shows_viewer on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" } ], v1 = [ @@ -201,10 +202,10 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v3 = { @@ -213,42 +214,42 @@ v3 = { "value": 4 }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v6 = [ (v4/*: any*/), (v5/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ], v7 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v9 = [ @@ -256,160 +257,154 @@ v9 = [ ], v10 = [ { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v6/*: any*/) + "selections": (v6/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v4/*: any*/), (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ShowEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Show", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, (v7/*: any*/), { "kind": "InlineFragment", - "type": "ExternalPartner", - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "type": "ExternalPartner" }, { "kind": "InlineFragment", - "type": "Partner", - "selections": (v9/*: any*/) + "selections": (v9/*: any*/), + "type": "Partner" } - ] + ], + "storageKey": null }, (v8/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": "exhibition_period", - "name": "exhibitionPeriod", "args": null, + "kind": "ScalarField", + "name": "exhibitionPeriod", "storageKey": null }, { - "kind": "LinkedField", "alias": "cover_image", - "name": "coverImage", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "coverImage", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:600,width:800)", "args": [ { "kind": "Literal", @@ -423,88 +418,89 @@ v10 = [ } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "cropped(height:600,width:800)" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_ShowsQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_ShowsQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Shows_viewer", - "args": null + "name": "Shows_viewer" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_ShowsQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "artist_currentShows", - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": "showsConnection(first:4,sort:\"END_AT_ASC\",status:\"running\")", "args": [ (v3/*: any*/), { @@ -519,27 +515,27 @@ return { } ], "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, - "selections": (v10/*: any*/) + "selections": (v10/*: any*/), + "storageKey": "showsConnection(first:4,sort:\"END_AT_ASC\",status:\"running\")" }, (v7/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artist_upcomingShows", - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": "showsConnection(first:4,sort:\"START_AT_ASC\",status:\"upcoming\")", "args": [ (v3/*: any*/), { @@ -554,27 +550,27 @@ return { } ], "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, - "selections": (v10/*: any*/) + "selections": (v10/*: any*/), + "storageKey": "showsConnection(first:4,sort:\"START_AT_ASC\",status:\"upcoming\")" }, (v7/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "artist_pastShows", - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "showsConnection", - "storageKey": "showsConnection(first:4,sort:\"END_AT_DESC\",status:\"closed\")", "args": [ (v3/*: any*/), { @@ -589,22 +585,27 @@ return { } ], "concreteType": "ShowConnection", + "kind": "LinkedField", + "name": "showsConnection", "plural": false, - "selections": (v10/*: any*/) + "selections": (v10/*: any*/), + "storageKey": "showsConnection(first:4,sort:\"END_AT_DESC\",status:\"closed\")" }, (v7/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_ShowsQuery", "id": null, - "text": "query routes_ShowsQuery(\n $artistID: String!\n) {\n viewer {\n ...Shows_viewer\n }\n}\n\nfragment ArtistShows_artist_12Fjro on Artist {\n slug\n showsConnection(first: 4, sort: START_AT_ASC, status: \"upcoming\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n }\n name\n href\n exhibition_period: exhibitionPeriod\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n id\n }\n }\n }\n}\n\nfragment ArtistShows_artist_3dp4w3 on Artist {\n slug\n showsConnection(first: 4, sort: END_AT_DESC, status: \"closed\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n }\n name\n href\n exhibition_period: exhibitionPeriod\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n id\n }\n }\n }\n}\n\nfragment ArtistShows_artist_43oec1 on Artist {\n slug\n showsConnection(first: 4, sort: END_AT_ASC, status: \"running\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n }\n name\n href\n exhibition_period: exhibitionPeriod\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n id\n }\n }\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 Shows_viewer on Viewer {\n artist_currentShows: artist(id: $artistID) {\n ...ArtistShows_artist_43oec1\n id\n }\n artist_upcomingShows: artist(id: $artistID) {\n ...ArtistShows_artist_12Fjro\n id\n }\n artist_pastShows: artist(id: $artistID) {\n ...ArtistShows_artist_3dp4w3\n id\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_ShowsQuery", + "operationKind": "query", + "text": "query routes_ShowsQuery(\n $artistID: String!\n) {\n viewer {\n ...Shows_viewer\n }\n}\n\nfragment ArtistShows_artist_12Fjro on Artist {\n slug\n showsConnection(first: 4, sort: START_AT_ASC, status: \"upcoming\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n }\n name\n href\n exhibition_period: exhibitionPeriod\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n id\n }\n }\n }\n}\n\nfragment ArtistShows_artist_3dp4w3 on Artist {\n slug\n showsConnection(first: 4, sort: END_AT_DESC, status: \"closed\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n }\n name\n href\n exhibition_period: exhibitionPeriod\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n id\n }\n }\n }\n}\n\nfragment ArtistShows_artist_43oec1 on Artist {\n slug\n showsConnection(first: 4, sort: END_AT_ASC, status: \"running\") {\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n partner {\n __typename\n ... on ExternalPartner {\n name\n id\n }\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n }\n name\n href\n exhibition_period: exhibitionPeriod\n cover_image: coverImage {\n cropped(width: 800, height: 600) {\n url\n }\n }\n city\n id\n }\n }\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 Shows_viewer on Viewer {\n artist_currentShows: artist(id: $artistID) {\n ...ArtistShows_artist_43oec1\n id\n }\n artist_upcomingShows: artist(id: $artistID) {\n ...ArtistShows_artist_12Fjro\n id\n }\n artist_pastShows: artist(id: $artistID) {\n ...ArtistShows_artist_3dp4w3\n id\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_StatusQuery.graphql.ts b/src/v2/__generated__/routes_StatusQuery.graphql.ts index 698e6aaf634..4dfe12fe971 100644 --- a/src/v2/__generated__/routes_StatusQuery.graphql.ts +++ b/src/v2/__generated__/routes_StatusQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -200,10 +201,10 @@ fragment TransactionDetailsSummaryItem_order on CommerceOrder { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "orderID", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -214,31 +215,31 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v6 = [ @@ -249,54 +250,54 @@ v6 = [ } ], v7 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotal", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, v8 = { - "kind": "ScalarField", "alias": null, - "name": "shippingTotalCents", "args": null, + "kind": "ScalarField", + "name": "shippingTotalCents", "storageKey": null }, v9 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotal", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "taxTotalCents", "args": null, + "kind": "ScalarField", + "name": "taxTotalCents", "storageKey": null }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "buyerTotal", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, v12 = [ (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "amount", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "amount", "storageKey": "amount(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "amountCents", "args": null, + "kind": "ScalarField", + "name": "amountCents", "storageKey": null }, (v7/*: any*/), @@ -305,103 +306,100 @@ v12 = [ (v10/*: any*/), (v11/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "buyerTotalCents", "args": null, + "kind": "ScalarField", + "name": "buyerTotalCents", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "fromParticipant", "args": null, + "kind": "ScalarField", + "name": "fromParticipant", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "note", "args": null, + "kind": "ScalarField", + "name": "note", "storageKey": null }, (v5/*: any*/) ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_StatusQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_StatusQuery", "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "Status_order", - "args": null + "name": "Status_order" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_StatusQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": "order", - "name": "commerceOrder", - "storageKey": null, "args": (v1/*: any*/), "concreteType": null, + "kind": "LinkedField", + "name": "commerceOrder", "plural": false, "selections": [ (v2/*: any*/), (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "code", "args": null, + "kind": "ScalarField", + "name": "code", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "state", "args": null, + "kind": "ScalarField", + "name": "state", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "mode", "args": null, + "kind": "ScalarField", + "name": "mode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "stateReason", "args": null, + "kind": "ScalarField", + "name": "stateReason", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "stateExpiresAt", "args": [ { "kind": "Literal", @@ -409,174 +407,168 @@ return { "value": "MMM D" } ], + "kind": "ScalarField", + "name": "stateExpiresAt", "storageKey": "stateExpiresAt(format:\"MMM D\")" }, { - "kind": "LinkedField", "alias": null, - "name": "requestedFulfillment", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "requestedFulfillment", "plural": false, "selections": [ (v2/*: any*/), { "kind": "InlineFragment", - "type": "CommerceShip", "selections": [ (v4/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "addressLine1", "args": null, + "kind": "ScalarField", + "name": "addressLine1", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "addressLine2", "args": null, + "kind": "ScalarField", + "name": "addressLine2", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "city", "args": null, + "kind": "ScalarField", + "name": "city", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "postalCode", "args": null, + "kind": "ScalarField", + "name": "postalCode", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "region", "args": null, + "kind": "ScalarField", + "name": "region", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "country", "args": null, + "kind": "ScalarField", + "name": "country", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "phoneNumber", "args": null, + "kind": "ScalarField", + "name": "phoneNumber", "storageKey": null } - ] + ], + "type": "CommerceShip" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "sellerDetails", - "storageKey": null, "args": null, "concreteType": null, + "kind": "LinkedField", + "name": "sellerDetails", "plural": false, "selections": [ (v2/*: any*/), (v5/*: any*/), { "kind": "InlineFragment", - "type": "Partner", "selections": [ (v4/*: any*/) - ] + ], + "type": "Partner" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "lineItems", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemConnection", + "kind": "LinkedField", + "name": "lineItems", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceLineItemEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceLineItem", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artwork", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "artwork", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "artist_names", - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "shippingOrigin", "args": null, + "kind": "ScalarField", + "name": "shippingOrigin", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": "resized_ArtworkSummaryItem", - "name": "resized", - "storageKey": "resized(width:55)", "args": [ { "kind": "Literal", @@ -585,68 +577,68 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null } - ] + ], + "storageKey": "resized(width:55)" } - ] + ], + "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": null }, (v5/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "fulfillments", - "storageKey": null, "args": null, "concreteType": "CommerceFulfillmentConnection", + "kind": "LinkedField", + "name": "fulfillments", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "CommerceFulfillmentEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "CommerceFulfillment", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "courier", "args": null, + "kind": "ScalarField", + "name": "courier", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "trackingId", "args": null, + "kind": "ScalarField", + "name": "trackingId", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "estimatedDelivery", "args": [ { "kind": "Literal", @@ -654,117 +646,126 @@ return { "value": "MMM Do, YYYY" } ], + "kind": "ScalarField", + "name": "estimatedDelivery", "storageKey": "estimatedDelivery(format:\"MMM Do, YYYY\")" }, (v5/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v7/*: any*/), (v8/*: any*/), (v9/*: any*/), (v10/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "itemsTotal", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "itemsTotal", "storageKey": "itemsTotal(precision:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "totalListPrice", "args": (v6/*: any*/), + "kind": "ScalarField", + "name": "totalListPrice", "storageKey": "totalListPrice(precision:2)" }, (v11/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "creditCard", - "storageKey": null, "args": null, "concreteType": "CreditCard", + "kind": "LinkedField", + "name": "creditCard", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "brand", "args": null, + "kind": "ScalarField", + "name": "brand", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "lastDigits", "args": null, + "kind": "ScalarField", + "name": "lastDigits", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationYear", "args": null, + "kind": "ScalarField", + "name": "expirationYear", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "expirationMonth", "args": null, + "kind": "ScalarField", + "name": "expirationMonth", "storageKey": null }, (v5/*: any*/) - ] + ], + "storageKey": null }, (v5/*: any*/), { "kind": "InlineFragment", - "type": "CommerceOfferOrder", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "lastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "lastOffer", "plural": false, - "selections": (v12/*: any*/) + "selections": (v12/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "myLastOffer", - "storageKey": null, "args": null, "concreteType": "CommerceOffer", + "kind": "LinkedField", + "name": "myLastOffer", "plural": false, - "selections": (v12/*: any*/) + "selections": (v12/*: any*/), + "storageKey": null } - ] + ], + "type": "CommerceOfferOrder" } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_StatusQuery", "id": null, - "text": "query routes_StatusQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Status_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment Status_order on CommerceOrder {\n __typename\n internalID\n code\n state\n mode\n stateReason\n stateExpiresAt(format: \"MMM D\")\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n __typename\n }\n ... on CommercePickup {\n __typename\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n lineItems {\n edges {\n node {\n fulfillments {\n edges {\n node {\n courier\n trackingId\n estimatedDelivery(format: \"MMM Do, YYYY\")\n id\n }\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n id\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_StatusQuery", + "operationKind": "query", + "text": "query routes_StatusQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Status_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n id\n }\n ... on User {\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n artist_names: artistNames\n title\n date\n shippingOrigin\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardSummaryItem_order on CommerceOrder {\n creditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n}\n\nfragment ShippingAddress_ship on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n state\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment Status_order on CommerceOrder {\n __typename\n internalID\n code\n state\n mode\n stateReason\n stateExpiresAt(format: \"MMM D\")\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n __typename\n }\n ... on CommercePickup {\n __typename\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...ShippingSummaryItem_order\n ...CreditCardSummaryItem_order\n lineItems {\n edges {\n node {\n fulfillments {\n edges {\n node {\n courier\n trackingId\n estimatedDelivery(format: \"MMM Do, YYYY\")\n id\n }\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n id\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __typename\n mode\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n totalListPrice(precision: 2)\n buyerTotal(precision: 2)\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_ViewingRoomQuery.graphql.ts b/src/v2/__generated__/routes_ViewingRoomQuery.graphql.ts index 5252275d1f0..75c53764950 100644 --- a/src/v2/__generated__/routes_ViewingRoomQuery.graphql.ts +++ b/src/v2/__generated__/routes_ViewingRoomQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -66,10 +67,10 @@ fragment ViewingRoomMeta_viewingRoom on ViewingRoom { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -80,145 +81,145 @@ v1 = [ } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_ViewingRoomQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_ViewingRoomQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomApp_viewingRoom", - "args": null + "name": "ViewingRoomApp_viewingRoom" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_ViewingRoomQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "ARImage", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "imageURLs", - "storageKey": null, "args": null, "concreteType": "ImageURLs", + "kind": "LinkedField", + "name": "imageURLs", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "normalized", "args": null, + "kind": "ScalarField", + "name": "normalized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToOpen", "args": null, + "kind": "ScalarField", + "name": "distanceToOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "distanceToClose", "args": null, + "kind": "ScalarField", + "name": "distanceToClose", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_ViewingRoomQuery", "id": null, - "text": "query routes_ViewingRoomQuery(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomApp_viewingRoom\n }\n}\n\nfragment ViewingRoomApp_viewingRoom on ViewingRoom {\n ...ViewingRoomMeta_viewingRoom\n ...ViewingRoomHeader_viewingRoom\n ...ViewingRoomContentNotAccessible_viewingRoom\n status\n}\n\nfragment ViewingRoomContentNotAccessible_viewingRoom on ViewingRoom {\n status\n partner {\n href\n id\n }\n}\n\nfragment ViewingRoomHeader_viewingRoom on ViewingRoom {\n image {\n imageURLs {\n normalized\n }\n }\n title\n partner {\n name\n href\n id\n }\n distanceToOpen\n distanceToClose\n status\n}\n\nfragment ViewingRoomMeta_viewingRoom on ViewingRoom {\n title\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_ViewingRoomQuery", + "operationKind": "query", + "text": "query routes_ViewingRoomQuery(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomApp_viewingRoom\n }\n}\n\nfragment ViewingRoomApp_viewingRoom on ViewingRoom {\n ...ViewingRoomMeta_viewingRoom\n ...ViewingRoomHeader_viewingRoom\n ...ViewingRoomContentNotAccessible_viewingRoom\n status\n}\n\nfragment ViewingRoomContentNotAccessible_viewingRoom on ViewingRoom {\n status\n partner {\n href\n id\n }\n}\n\nfragment ViewingRoomHeader_viewingRoom on ViewingRoom {\n image {\n imageURLs {\n normalized\n }\n }\n title\n partner {\n name\n href\n id\n }\n distanceToOpen\n distanceToClose\n status\n}\n\nfragment ViewingRoomMeta_viewingRoom on ViewingRoom {\n title\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_ViewingRoomStatementRouteQuery.graphql.ts b/src/v2/__generated__/routes_ViewingRoomStatementRouteQuery.graphql.ts index d94d05ddd08..6d600d40bee 100644 --- a/src/v2/__generated__/routes_ViewingRoomStatementRouteQuery.graphql.ts +++ b/src/v2/__generated__/routes_ViewingRoomStatementRouteQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -84,10 +85,10 @@ fragment ViewingRoomWorks_viewingRoom on ViewingRoom { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -98,79 +99,75 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v3 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v4 = { - "kind": "ScalarField", "alias": null, - "name": "body", "args": null, + "kind": "ScalarField", + "name": "body", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_ViewingRoomStatementRouteQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_ViewingRoomStatementRouteQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomStatementRoute_viewingRoom", - "args": null + "name": "ViewingRoomStatementRoute_viewingRoom" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_ViewingRoomStatementRouteQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "introStatement", "args": null, + "kind": "ScalarField", + "name": "introStatement", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:2)", "args": [ { "kind": "Literal", @@ -179,144 +176,148 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "imageUrl", "args": null, + "kind": "ScalarField", + "name": "imageUrl", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, (v3/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "pullQuote", "args": null, + "kind": "ScalarField", + "name": "pullQuote", "storageKey": null }, (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "subsections", - "storageKey": null, "args": null, "concreteType": "ViewingRoomSubsection", + "kind": "LinkedField", + "name": "subsections", "plural": true, "selections": [ (v2/*: any*/), (v3/*: any*/), (v4/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "ARImage", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "imageURLs", - "storageKey": null, "args": null, "concreteType": "ImageURLs", + "kind": "LinkedField", + "name": "imageURLs", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "normalized", "args": null, + "kind": "ScalarField", + "name": "normalized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "caption", "args": null, + "kind": "ScalarField", + "name": "caption", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_ViewingRoomStatementRouteQuery", "id": null, - "text": "query routes_ViewingRoomStatementRouteQuery(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomStatementRoute_viewingRoom\n }\n}\n\nfragment ViewingRoomBody_viewingRoom on ViewingRoom {\n body\n}\n\nfragment ViewingRoomIntro_viewingRoom on ViewingRoom {\n introStatement\n}\n\nfragment ViewingRoomPullQuote_viewingRoom on ViewingRoom {\n pullQuote\n}\n\nfragment ViewingRoomStatementRoute_viewingRoom on ViewingRoom {\n ...ViewingRoomIntro_viewingRoom\n ...ViewingRoomWorks_viewingRoom\n ...ViewingRoomPullQuote_viewingRoom\n ...ViewingRoomBody_viewingRoom\n ...ViewingRoomSubsections_viewingRoom\n artworksConnection(first: 2) {\n totalCount\n }\n}\n\nfragment ViewingRoomSubsections_viewingRoom on ViewingRoom {\n subsections {\n internalID\n title\n body\n image {\n imageURLs {\n normalized\n }\n }\n caption\n }\n}\n\nfragment ViewingRoomWorks_viewingRoom on ViewingRoom {\n artworksConnection(first: 2) {\n totalCount\n edges {\n node {\n internalID\n imageUrl\n artistNames\n title\n date\n saleMessage\n id\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_ViewingRoomStatementRouteQuery", + "operationKind": "query", + "text": "query routes_ViewingRoomStatementRouteQuery(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomStatementRoute_viewingRoom\n }\n}\n\nfragment ViewingRoomBody_viewingRoom on ViewingRoom {\n body\n}\n\nfragment ViewingRoomIntro_viewingRoom on ViewingRoom {\n introStatement\n}\n\nfragment ViewingRoomPullQuote_viewingRoom on ViewingRoom {\n pullQuote\n}\n\nfragment ViewingRoomStatementRoute_viewingRoom on ViewingRoom {\n ...ViewingRoomIntro_viewingRoom\n ...ViewingRoomWorks_viewingRoom\n ...ViewingRoomPullQuote_viewingRoom\n ...ViewingRoomBody_viewingRoom\n ...ViewingRoomSubsections_viewingRoom\n artworksConnection(first: 2) {\n totalCount\n }\n}\n\nfragment ViewingRoomSubsections_viewingRoom on ViewingRoom {\n subsections {\n internalID\n title\n body\n image {\n imageURLs {\n normalized\n }\n }\n caption\n }\n}\n\nfragment ViewingRoomWorks_viewingRoom on ViewingRoom {\n artworksConnection(first: 2) {\n totalCount\n edges {\n node {\n internalID\n imageUrl\n artistNames\n title\n date\n saleMessage\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_ViewingRoomWorksRouteQuery.graphql.ts b/src/v2/__generated__/routes_ViewingRoomWorksRouteQuery.graphql.ts index 447959b1359..8f183c6e456 100644 --- a/src/v2/__generated__/routes_ViewingRoomWorksRouteQuery.graphql.ts +++ b/src/v2/__generated__/routes_ViewingRoomWorksRouteQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -61,10 +62,10 @@ fragment ViewingRoomWorksRoute_viewingRoom on ViewingRoom { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "slug", - "type": "ID!", - "defaultValue": null + "type": "ID!" } ], v1 = [ @@ -75,103 +76,95 @@ v1 = [ } ], v2 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_ViewingRoomWorksRouteQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_ViewingRoomWorksRouteQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomWorksRoute_viewingRoom", - "args": null + "name": "ViewingRoomWorksRoute_viewingRoom" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_ViewingRoomWorksRouteQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoom", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "viewingRoom", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": null, "args": null, "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v2/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "images", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "images", "plural": true, "selections": [ (v2/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:1100,version:\"normalized\")", "args": [ { "kind": "Literal", @@ -185,91 +178,99 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null } - ] + ], + "storageKey": "resized(height:1100,version:\"normalized\")" } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "additionalInformation", "args": null, + "kind": "ScalarField", + "name": "additionalInformation", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artistNames", "args": null, + "kind": "ScalarField", + "name": "artistNames", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_ViewingRoomWorksRouteQuery", "id": null, - "text": "query routes_ViewingRoomWorksRouteQuery(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomWorksRoute_viewingRoom\n }\n}\n\nfragment ViewingRoomArtworkDetails_artwork on Artwork {\n id\n additionalInformation\n artistNames\n title\n date\n href\n saleMessage\n}\n\nfragment ViewingRoomWorksRoute_viewingRoom on ViewingRoom {\n artworksConnection {\n edges {\n node {\n internalID\n title\n images {\n internalID\n resized(height: 1100, version: \"normalized\") {\n url\n width\n height\n }\n }\n ...ViewingRoomArtworkDetails_artwork\n id\n }\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_ViewingRoomWorksRouteQuery", + "operationKind": "query", + "text": "query routes_ViewingRoomWorksRouteQuery(\n $slug: ID!\n) {\n viewingRoom(id: $slug) {\n ...ViewingRoomWorksRoute_viewingRoom\n }\n}\n\nfragment ViewingRoomArtworkDetails_artwork on Artwork {\n id\n additionalInformation\n artistNames\n title\n date\n href\n saleMessage\n}\n\nfragment ViewingRoomWorksRoute_viewingRoom on ViewingRoom {\n artworksConnection {\n edges {\n node {\n internalID\n title\n images {\n internalID\n resized(height: 1100, version: \"normalized\") {\n url\n width\n height\n }\n }\n ...ViewingRoomArtworkDetails_artwork\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_ViewingRoomsAppQuery.graphql.ts b/src/v2/__generated__/routes_ViewingRoomsAppQuery.graphql.ts index 1f9241c6567..e03a6ade39a 100644 --- a/src/v2/__generated__/routes_ViewingRoomsAppQuery.graphql.ts +++ b/src/v2/__generated__/routes_ViewingRoomsAppQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -108,16 +109,16 @@ fragment ViewingRoomsLatestGrid_viewingRooms_2QE1um on Viewer { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "count", - "type": "Int!", - "defaultValue": null + "type": "Int!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "after", - "type": "String", - "defaultValue": null + "type": "String" } ], v1 = { @@ -141,54 +142,54 @@ v3 = [ } ], v4 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v5 = { - "kind": "ScalarField", "alias": null, - "name": "status", "args": null, + "kind": "ScalarField", + "name": "status", "storageKey": null }, v6 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v7 = { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "ARImage", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "imageURLs", - "storageKey": null, "args": null, "concreteType": "ImageURLs", + "kind": "LinkedField", + "name": "imageURLs", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "normalized", "args": null, + "kind": "ScalarField", + "name": "normalized", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, v8 = [ { @@ -198,66 +199,61 @@ v8 = [ } ], v9 = { - "kind": "ScalarField", "alias": null, - "name": "distanceToOpen", "args": (v8/*: any*/), + "kind": "ScalarField", + "name": "distanceToOpen", "storageKey": "distanceToOpen(short:true)" }, v10 = { - "kind": "ScalarField", "alias": null, - "name": "distanceToClose", "args": (v8/*: any*/), + "kind": "ScalarField", + "name": "distanceToClose", "storageKey": "distanceToClose(short:true)" }, v11 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v12 = { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": null, "args": null, "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, (v11/*: any*/) - ] + ], + "storageKey": null }; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_ViewingRoomsAppQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_ViewingRoomsAppQuery", "selections": [ { - "kind": "LinkedField", "alias": "allViewingRooms", - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "ViewingRoomsApp_allViewingRooms", "args": [ (v1/*: any*/), { @@ -265,67 +261,68 @@ return { "name": "count", "variableName": "count" } - ] + ], + "kind": "FragmentSpread", + "name": "ViewingRoomsApp_allViewingRooms" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "featuredViewingRooms", - "name": "viewingRooms", - "storageKey": "viewingRooms(featured:true)", "args": (v2/*: any*/), "concreteType": "ViewingRoomConnection", + "kind": "LinkedField", + "name": "viewingRooms", "plural": false, "selections": [ { + "args": null, "kind": "FragmentSpread", - "name": "ViewingRoomsApp_featuredViewingRooms", - "args": null + "name": "ViewingRoomsApp_featuredViewingRooms" } - ] + ], + "storageKey": "viewingRooms(featured:true)" } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_ViewingRoomsAppQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": "allViewingRooms", - "name": "viewer", - "storageKey": null, "args": null, "concreteType": "Viewer", + "kind": "LinkedField", + "name": "viewer", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "viewingRoomsConnection", - "storageKey": null, "args": (v3/*: any*/), "concreteType": "ViewingRoomConnection", + "kind": "LinkedField", + "name": "viewingRoomsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ViewingRoomEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v4/*: any*/), @@ -336,10 +333,7 @@ return { (v10/*: any*/), (v12/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "artworksConnection", - "storageKey": "artworksConnection(first:2)", "args": [ { "kind": "Literal", @@ -348,46 +342,43 @@ return { } ], "concreteType": "ArtworkConnection", + "kind": "LinkedField", + "name": "artworksConnection", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "totalCount", "args": null, + "kind": "ScalarField", + "name": "totalCount", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtworkEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "square", - "name": "url", "args": [ { "kind": "Literal", @@ -395,12 +386,12 @@ return { "value": "square" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"square\")" }, { - "kind": "ScalarField", "alias": "regular", - "name": "url", "args": [ { "kind": "Literal", @@ -408,98 +399,105 @@ return { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" } - ] + ], + "storageKey": null }, (v11/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artworksConnection(first:2)" }, { - "kind": "ScalarField", "alias": null, - "name": "__typename", "args": null, + "kind": "ScalarField", + "name": "__typename", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedHandle", "alias": null, - "name": "viewingRoomsConnection", "args": (v3/*: any*/), + "filters": null, "handle": "connection", "key": "ViewingRoomsLatestGrid_viewingRoomsConnection", - "filters": null + "kind": "LinkedHandle", + "name": "viewingRoomsConnection" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "featuredViewingRooms", - "name": "viewingRooms", - "storageKey": "viewingRooms(featured:true)", "args": (v2/*: any*/), "concreteType": "ViewingRoomConnection", + "kind": "LinkedField", + "name": "viewingRooms", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ViewingRoomEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "ViewingRoom", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v5/*: any*/), @@ -509,20 +507,23 @@ return { (v9/*: any*/), (v10/*: any*/), (v12/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "viewingRooms(featured:true)" } ] }, "params": { - "operationKind": "query", - "name": "routes_ViewingRoomsAppQuery", "id": null, - "text": "query routes_ViewingRoomsAppQuery(\n $count: Int!\n $after: String\n) {\n allViewingRooms: viewer {\n ...ViewingRoomsApp_allViewingRooms_2QE1um\n }\n featuredViewingRooms: viewingRooms(featured: true) {\n ...ViewingRoomsApp_featuredViewingRooms\n }\n}\n\nfragment ViewingRoomsApp_allViewingRooms_2QE1um on Viewer {\n ...ViewingRoomsLatestGrid_viewingRooms_2QE1um\n}\n\nfragment ViewingRoomsApp_featuredViewingRooms on ViewingRoomConnection {\n ...ViewingRoomsFeaturedRail_featuredViewingRooms\n}\n\nfragment ViewingRoomsFeaturedRail_featuredViewingRooms on ViewingRoomConnection {\n edges {\n node {\n status\n slug\n title\n image {\n imageURLs {\n normalized\n }\n }\n distanceToOpen(short: true)\n distanceToClose(short: true)\n partner {\n name\n id\n }\n }\n }\n}\n\nfragment ViewingRoomsLatestGrid_viewingRooms_2QE1um on Viewer {\n viewingRoomsConnection(first: $count, after: $after) {\n edges {\n node {\n slug\n status\n title\n image {\n imageURLs {\n normalized\n }\n }\n distanceToOpen(short: true)\n distanceToClose(short: true)\n partner {\n name\n id\n }\n artworksConnection(first: 2) {\n totalCount\n edges {\n node {\n image {\n square: url(version: \"square\")\n regular: url(version: \"large\")\n }\n id\n }\n }\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_ViewingRoomsAppQuery", + "operationKind": "query", + "text": "query routes_ViewingRoomsAppQuery(\n $count: Int!\n $after: String\n) {\n allViewingRooms: viewer {\n ...ViewingRoomsApp_allViewingRooms_2QE1um\n }\n featuredViewingRooms: viewingRooms(featured: true) {\n ...ViewingRoomsApp_featuredViewingRooms\n }\n}\n\nfragment ViewingRoomsApp_allViewingRooms_2QE1um on Viewer {\n ...ViewingRoomsLatestGrid_viewingRooms_2QE1um\n}\n\nfragment ViewingRoomsApp_featuredViewingRooms on ViewingRoomConnection {\n ...ViewingRoomsFeaturedRail_featuredViewingRooms\n}\n\nfragment ViewingRoomsFeaturedRail_featuredViewingRooms on ViewingRoomConnection {\n edges {\n node {\n status\n slug\n title\n image {\n imageURLs {\n normalized\n }\n }\n distanceToOpen(short: true)\n distanceToClose(short: true)\n partner {\n name\n id\n }\n }\n }\n}\n\nfragment ViewingRoomsLatestGrid_viewingRooms_2QE1um on Viewer {\n viewingRoomsConnection(first: $count, after: $after) {\n edges {\n node {\n slug\n status\n title\n image {\n imageURLs {\n normalized\n }\n }\n distanceToOpen(short: true)\n distanceToClose(short: true)\n partner {\n name\n id\n }\n artworksConnection(first: 2) {\n totalCount\n edges {\n node {\n image {\n square: url(version: \"square\")\n regular: url(version: \"large\")\n }\n id\n }\n }\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" } }; })(); diff --git a/src/v2/__generated__/routes_WorksQuery.graphql.ts b/src/v2/__generated__/routes_WorksQuery.graphql.ts index fa146a8b961..5f1e5a7fcec 100644 --- a/src/v2/__generated__/routes_WorksQuery.graphql.ts +++ b/src/v2/__generated__/routes_WorksQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; @@ -6,22 +7,22 @@ export type ArtworkAggregation = "COLOR" | "DIMENSION_RANGE" | "FOLLOWED_ARTISTS export type ArtworkSizes = "LARGE" | "MEDIUM" | "SMALL" | "%future added value"; export type routes_WorksQueryVariables = { acquireable?: boolean | null; - aggregations?: ReadonlyArray | null; + aggregations?: Array | null; artistID: string; atAuction?: boolean | null; - attributionClass?: ReadonlyArray | null; + attributionClass?: Array | null; color?: string | null; forSale?: boolean | null; height?: string | null; inquireableOnly?: boolean | null; keyword?: string | null; - majorPeriods?: ReadonlyArray | null; + majorPeriods?: Array | null; medium?: string | null; offerable?: boolean | null; page?: number | null; partnerID?: string | null; priceRange?: string | null; - sizes?: ReadonlyArray | null; + sizes?: Array | null; sort?: string | null; width?: string | null; shouldFetchArtistSeriesData: boolean; @@ -218,7 +219,7 @@ export type routes_WorksQueryRawResponse = { readonly id: string | null; }) | null> | null; }) | null; - readonly artistSeriesConnection?: ({ + readonly artistSeriesConnection: ({ readonly edges: ReadonlyArray<({ readonly node: ({ readonly internalID: string; @@ -548,130 +549,130 @@ fragment Works_artist_44JFRd on Artist { const node: ConcreteRequest = (function(){ var v0 = [ { + "defaultValue": null, "kind": "LocalArgument", "name": "acquireable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { - "kind": "LocalArgument", - "name": "aggregations", - "type": "[ArtworkAggregation]", "defaultValue": [ "MEDIUM", "TOTAL", "GALLERY", "INSTITUTION", "MAJOR_PERIOD" - ] + ], + "kind": "LocalArgument", + "name": "aggregations", + "type": "[ArtworkAggregation]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "artistID", - "type": "String!", - "defaultValue": null + "type": "String!" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "atAuction", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "attributionClass", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "color", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "forSale", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "height", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "inquireableOnly", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "keyword", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "majorPeriods", - "type": "[String]", - "defaultValue": null + "type": "[String]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "medium", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "offerable", - "type": "Boolean", - "defaultValue": null + "type": "Boolean" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "page", - "type": "Int", - "defaultValue": null + "type": "Int" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "partnerID", - "type": "ID", - "defaultValue": null + "type": "ID" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "priceRange", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sizes", - "type": "[ArtworkSizes]", - "defaultValue": null + "type": "[ArtworkSizes]" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "sort", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "width", - "type": "String", - "defaultValue": null + "type": "String" }, { + "defaultValue": null, "kind": "LocalArgument", "name": "shouldFetchArtistSeriesData", - "type": "Boolean!", - "defaultValue": null + "type": "Boolean!" } ], v1 = [ @@ -777,44 +778,42 @@ v20 = { "variableName": "width" }, v21 = { - "kind": "ScalarField", "alias": null, - "name": "internalID", "args": null, + "kind": "ScalarField", + "name": "internalID", "storageKey": null }, v22 = { - "kind": "ScalarField", "alias": null, - "name": "slug", "args": null, + "kind": "ScalarField", + "name": "slug", "storageKey": null }, v23 = { - "kind": "ScalarField", "alias": null, - "name": "id", "args": null, + "kind": "ScalarField", + "name": "id", "storageKey": null }, v24 = { - "kind": "ScalarField", "alias": null, - "name": "href", "args": null, + "kind": "ScalarField", + "name": "href", "storageKey": null }, v25 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": null, + "kind": "ScalarField", + "name": "url", "storageKey": null }, v26 = { - "kind": "ScalarField", "alias": null, - "name": "url", "args": [ { "kind": "Literal", @@ -822,41 +821,43 @@ v26 = { "value": "large" } ], + "kind": "ScalarField", + "name": "url", "storageKey": "url(version:\"large\")" }, v27 = { - "kind": "ScalarField", "alias": "aspect_ratio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, v28 = { - "kind": "ScalarField", "alias": null, - "name": "title", "args": null, + "kind": "ScalarField", + "name": "title", "storageKey": null }, v29 = { - "kind": "ScalarField", "alias": null, - "name": "date", "args": null, + "kind": "ScalarField", + "name": "date", "storageKey": null }, v30 = { - "kind": "ScalarField", "alias": "sale_message", - "name": "saleMessage", "args": null, + "kind": "ScalarField", + "name": "saleMessage", "storageKey": null }, v31 = { - "kind": "ScalarField", "alias": "cultural_maker", - "name": "culturalMaker", "args": null, + "kind": "ScalarField", + "name": "culturalMaker", "storageKey": null }, v32 = [ @@ -867,186 +868,186 @@ v32 = [ } ], v33 = { - "kind": "ScalarField", "alias": null, - "name": "name", "args": null, + "kind": "ScalarField", + "name": "name", "storageKey": null }, v34 = { - "kind": "LinkedField", "alias": null, - "name": "artists", - "storageKey": "artists(shallow:true)", "args": (v32/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artists", "plural": true, "selections": [ (v23/*: any*/), (v24/*: any*/), (v33/*: any*/) - ] + ], + "storageKey": "artists(shallow:true)" }, v35 = { - "kind": "ScalarField", "alias": "collecting_institution", - "name": "collectingInstitution", "args": null, + "kind": "ScalarField", + "name": "collectingInstitution", "storageKey": null }, v36 = { - "kind": "LinkedField", "alias": null, - "name": "partner", - "storageKey": "partner(shallow:true)", "args": (v32/*: any*/), "concreteType": "Partner", + "kind": "LinkedField", + "name": "partner", "plural": false, "selections": [ (v33/*: any*/), (v24/*: any*/), (v23/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "type", "args": null, + "kind": "ScalarField", + "name": "type", "storageKey": null } - ] + ], + "storageKey": "partner(shallow:true)" }, v37 = { - "kind": "LinkedField", "alias": null, - "name": "sale", - "storageKey": null, "args": null, "concreteType": "Sale", + "kind": "LinkedField", + "name": "sale", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "is_auction", - "name": "isAuction", "args": null, + "kind": "ScalarField", + "name": "isAuction", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_closed", - "name": "isClosed", "args": null, + "kind": "ScalarField", + "name": "isClosed", "storageKey": null }, (v23/*: any*/), { - "kind": "ScalarField", "alias": "is_live_open", - "name": "isLiveOpen", "args": null, + "kind": "ScalarField", + "name": "isLiveOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_open", - "name": "isOpen", "args": null, + "kind": "ScalarField", + "name": "isOpen", "storageKey": null }, { - "kind": "ScalarField", "alias": "is_preview", - "name": "isPreview", "args": null, + "kind": "ScalarField", + "name": "isPreview", "storageKey": null }, { - "kind": "ScalarField", "alias": "display_timely_at", - "name": "displayTimelyAt", "args": null, + "kind": "ScalarField", + "name": "displayTimelyAt", "storageKey": null } - ] + ], + "storageKey": null }, v38 = [ { - "kind": "ScalarField", "alias": null, - "name": "display", "args": null, + "kind": "ScalarField", + "name": "display", "storageKey": null } ], v39 = { - "kind": "LinkedField", "alias": "sale_artwork", - "name": "saleArtwork", - "storageKey": null, "args": null, "concreteType": "SaleArtwork", + "kind": "LinkedField", + "name": "saleArtwork", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "SaleArtworkCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "bidder_positions", - "name": "bidderPositions", "args": null, + "kind": "ScalarField", + "name": "bidderPositions", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "highest_bid", - "name": "highestBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkHighestBid", + "kind": "LinkedField", + "name": "highestBid", "plural": false, - "selections": (v38/*: any*/) + "selections": (v38/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": "opening_bid", - "name": "openingBid", - "storageKey": null, "args": null, "concreteType": "SaleArtworkOpeningBid", + "kind": "LinkedField", + "name": "openingBid", "plural": false, - "selections": (v38/*: any*/) + "selections": (v38/*: any*/), + "storageKey": null }, (v23/*: any*/) - ] + ], + "storageKey": null }, v40 = { - "kind": "ScalarField", "alias": "is_inquireable", - "name": "isInquireable", "args": null, + "kind": "ScalarField", + "name": "isInquireable", "storageKey": null }, v41 = { - "kind": "ScalarField", "alias": "is_saved", - "name": "isSaved", "args": null, + "kind": "ScalarField", + "name": "isSaved", "storageKey": null }, v42 = { - "kind": "ScalarField", "alias": "is_biddable", - "name": "isBiddable", "args": null, + "kind": "ScalarField", + "name": "isBiddable", "storageKey": null }, v43 = { @@ -1060,65 +1061,60 @@ v44 = { "value": 30 }, v45 = { - "kind": "ScalarField", "alias": null, - "name": "slice", "args": null, + "kind": "ScalarField", + "name": "slice", "storageKey": null }, v46 = { - "kind": "ScalarField", "alias": null, - "name": "value", "args": null, + "kind": "ScalarField", + "name": "value", "storageKey": null }, v47 = { - "kind": "ScalarField", "alias": null, - "name": "cursor", "args": null, + "kind": "ScalarField", + "name": "cursor", "storageKey": null }, v48 = { - "kind": "ScalarField", "alias": null, - "name": "page", "args": null, + "kind": "ScalarField", + "name": "page", "storageKey": null }, v49 = [ (v47/*: any*/), (v48/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "isCurrent", "args": null, + "kind": "ScalarField", + "name": "isCurrent", "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", - "name": "routes_WorksQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": (v0/*: any*/), + "name": "routes_WorksQuery", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ { - "kind": "FragmentSpread", - "name": "Works_artist", "args": [ (v2/*: any*/), (v3/*: any*/), @@ -1144,34 +1140,35 @@ return { (v18/*: any*/), (v19/*: any*/), (v20/*: any*/) - ] + ], + "kind": "FragmentSpread", + "name": "Works_artist" } - ] + ], + "storageKey": null } - ] + ], + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "routes_WorksQuery", - "argumentDefinitions": (v0/*: any*/), "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artist", - "storageKey": null, "args": (v1/*: any*/), "concreteType": "Artist", + "kind": "LinkedField", + "name": "artist", "plural": false, "selections": [ (v21/*: any*/), (v22/*: any*/), (v23/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "filterArtworksConnection", - "storageKey": "filterArtworksConnection(first:10,sort:\"-weighted_iconicity\")", "args": [ { "kind": "Literal", @@ -1185,50 +1182,46 @@ return { } ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v23/*: any*/), (v22/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ (v24/*: any*/), { - "kind": "ScalarField", "alias": "imageAspectRatio", - "name": "aspectRatio", "args": null, + "kind": "ScalarField", + "name": "aspectRatio", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "resized", - "storageKey": "resized(height:300)", "args": [ { "kind": "Literal", @@ -1237,34 +1230,38 @@ return { } ], "concreteType": "ResizedImageUrl", + "kind": "LinkedField", + "name": "resized", "plural": false, "selections": [ (v25/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "width", "args": null, + "kind": "ScalarField", + "name": "width", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "height", "args": null, + "kind": "ScalarField", + "name": "height", "storageKey": null } - ] + ], + "storageKey": "resized(height:300)" }, (v26/*: any*/), (v27/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, (v28/*: any*/), @@ -1281,27 +1278,26 @@ return { (v21/*: any*/), (v41/*: any*/), (v42/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v23/*: any*/) - ] + ], + "storageKey": "filterArtworksConnection(first:10,sort:\"-weighted_iconicity\")" }, { - "kind": "LinkedField", "alias": null, - "name": "related", - "storageKey": null, "args": null, "concreteType": "ArtistRelatedData", + "kind": "LinkedField", + "name": "related", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistsConnection", - "storageKey": "artistsConnection(first:1)", "args": [ { "kind": "Literal", @@ -1310,40 +1306,41 @@ return { } ], "concreteType": "ArtistConnection", + "kind": "LinkedField", + "name": "artistsConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artist", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v23/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": "artistsConnection(first:1)" } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "sidebarAggregations", - "name": "filterArtworksConnection", - "storageKey": null, "args": [ (v43/*: any*/), (v3/*: any*/), @@ -1352,101 +1349,101 @@ return { (v19/*: any*/) ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ (v45/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ (v33/*: any*/), (v46/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, (v23/*: any*/) - ] + ], + "storageKey": null }, { - "kind": "ScalarField", "alias": "is_followed", - "name": "isFollowed", "args": null, + "kind": "ScalarField", + "name": "isFollowed", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "ArtistCounts", + "kind": "LinkedField", + "name": "counts", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": "partner_shows", - "name": "partnerShows", "args": null, + "kind": "ScalarField", + "name": "partnerShows", "storageKey": null }, { - "kind": "ScalarField", "alias": "for_sale_artworks", - "name": "forSaleArtworks", "args": null, + "kind": "ScalarField", + "name": "forSaleArtworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "ecommerce_artworks", - "name": "ecommerceArtworks", "args": null, + "kind": "ScalarField", + "name": "ecommerceArtworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "auction_artworks", - "name": "auctionArtworks", "args": null, + "kind": "ScalarField", + "name": "auctionArtworks", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "artworks", "args": null, + "kind": "ScalarField", + "name": "artworks", "storageKey": null }, { - "kind": "ScalarField", "alias": "has_make_offer_artworks", - "name": "hasMakeOfferArtworks", "args": null, + "kind": "ScalarField", + "name": "hasMakeOfferArtworks", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": "filtered_artworks", - "name": "filterArtworksConnection", - "storageKey": null, "args": [ (v2/*: any*/), (v43/*: any*/), @@ -1471,136 +1468,136 @@ return { (v20/*: any*/) ], "concreteType": "FilterArtworksConnection", + "kind": "LinkedField", + "name": "filterArtworksConnection", "plural": false, "selections": [ (v23/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "aggregations", - "storageKey": null, "args": null, "concreteType": "ArtworksAggregationResults", + "kind": "LinkedField", + "name": "aggregations", "plural": true, "selections": [ (v45/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "counts", - "storageKey": null, "args": null, "concreteType": "AggregationCount", + "kind": "LinkedField", + "name": "counts", "plural": true, "selections": [ (v46/*: any*/), (v33/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "count", "args": null, + "kind": "ScalarField", + "name": "count", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageInfo", - "storageKey": null, "args": null, "concreteType": "PageInfo", + "kind": "LinkedField", + "name": "pageInfo", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "hasNextPage", "args": null, + "kind": "ScalarField", + "name": "hasNextPage", "storageKey": null }, { - "kind": "ScalarField", "alias": null, - "name": "endCursor", "args": null, + "kind": "ScalarField", + "name": "endCursor", "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "pageCursors", - "storageKey": null, "args": null, "concreteType": "PageCursors", + "kind": "LinkedField", + "name": "pageCursors", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "around", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "around", "plural": true, - "selections": (v49/*: any*/) + "selections": (v49/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "first", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "first", "plural": false, - "selections": (v49/*: any*/) + "selections": (v49/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "last", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "last", "plural": false, - "selections": (v49/*: any*/) + "selections": (v49/*: any*/), + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "previous", - "storageKey": null, "args": null, "concreteType": "PageCursor", + "kind": "LinkedField", + "name": "previous", "plural": false, "selections": [ (v47/*: any*/), (v48/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "FilterArtworksEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "Artwork", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v23/*: any*/), @@ -1608,31 +1605,31 @@ return { (v24/*: any*/), (v21/*: any*/), { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ (v27/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "placeholder", "args": null, + "kind": "ScalarField", + "name": "placeholder", "storageKey": null }, (v26/*: any*/) - ] + ], + "storageKey": null }, (v28/*: any*/), { - "kind": "ScalarField", "alias": "image_title", - "name": "imageTitle", "args": null, + "kind": "ScalarField", + "name": "imageTitle", "storageKey": null }, (v29/*: any*/), @@ -1646,69 +1643,65 @@ return { (v40/*: any*/), (v41/*: any*/), (v42/*: any*/) - ] + ], + "storageKey": null }, (v23/*: any*/) - ] + ], + "storageKey": null } - ] + ], + "storageKey": null }, { + "condition": "shouldFetchArtistSeriesData", "kind": "Condition", "passingValue": true, - "condition": "shouldFetchArtistSeriesData", "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "artistSeriesConnection", - "storageKey": null, "args": null, "concreteType": "ArtistSeriesConnection", + "kind": "LinkedField", + "name": "artistSeriesConnection", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "edges", - "storageKey": null, "args": null, "concreteType": "ArtistSeriesEdge", + "kind": "LinkedField", + "name": "edges", "plural": true, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "node", - "storageKey": null, "args": null, "concreteType": "ArtistSeries", + "kind": "LinkedField", + "name": "node", "plural": false, "selections": [ (v21/*: any*/), (v28/*: any*/), (v22/*: any*/), { - "kind": "ScalarField", "alias": null, - "name": "artworksCountMessage", "args": null, + "kind": "ScalarField", + "name": "artworksCountMessage", "storageKey": null }, { - "kind": "LinkedField", "alias": null, - "name": "image", - "storageKey": null, "args": null, "concreteType": "Image", + "kind": "LinkedField", + "name": "image", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "cropped", - "storageKey": "cropped(height:160,width:160)", "args": [ { "kind": "Literal", @@ -1722,31 +1715,39 @@ return { } ], "concreteType": "CroppedImageUrl", + "kind": "LinkedField", + "name": "cropped", "plural": false, "selections": [ (v25/*: any*/) - ] + ], + "storageKey": "cropped(height:160,width:160)" } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ] } - ] + ], + "storageKey": null } ] }, "params": { - "operationKind": "query", - "name": "routes_WorksQuery", "id": null, - "text": "query routes_WorksQuery(\n $acquireable: Boolean\n $aggregations: [ArtworkAggregation] = [MEDIUM, TOTAL, GALLERY, INSTITUTION, MAJOR_PERIOD]\n $artistID: String!\n $atAuction: Boolean\n $attributionClass: [String]\n $color: String\n $forSale: Boolean\n $height: String\n $inquireableOnly: Boolean\n $keyword: String\n $majorPeriods: [String]\n $medium: String\n $offerable: Boolean\n $page: Int\n $partnerID: ID\n $priceRange: String\n $sizes: [ArtworkSizes]\n $sort: String\n $width: String\n $shouldFetchArtistSeriesData: Boolean!\n) {\n artist(id: $artistID) {\n ...Works_artist_44JFRd\n id\n }\n}\n\nfragment ArtistArtworkFilter_artist_2TJyna on Artist {\n is_followed: isFollowed\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 slug\n internalID\n filtered_artworks: filterArtworksConnection(acquireable: $acquireable, aggregations: $aggregations, artistID: $artistID, atAuction: $atAuction, attributionClass: $attributionClass, color: $color, forSale: $forSale, height: $height, inquireableOnly: $inquireableOnly, keyword: $keyword, majorPeriods: $majorPeriods, medium: $medium, offerable: $offerable, page: $page, partnerID: $partnerID, priceRange: $priceRange, sizes: $sizes, first: 30, after: \"\", sort: $sort, width: $width) {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtistSeriesItem_artistSeries on ArtistSeries {\n title\n slug\n artworksCountMessage\n image {\n cropped(width: 160, height: 160) {\n url\n }\n }\n}\n\nfragment ArtistSeriesRail_artist on Artist {\n artistSeriesConnection {\n edges {\n node {\n internalID\n ...ArtistSeriesItem_artistSeries\n }\n }\n }\n}\n\nfragment ArtistTopWorksRail_artist on Artist {\n slug\n id\n filterArtworksConnection(sort: \"-weighted_iconicity\", first: 10) {\n edges {\n node {\n id\n slug\n image {\n href\n imageAspectRatio: aspectRatio\n resized(height: 300) {\n url\n width\n height\n }\n }\n ...FillwidthItem_artwork\n }\n }\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment Works_artist_44JFRd on Artist {\n internalID\n ...ArtistTopWorksRail_artist\n ...ArtistSeriesRail_artist @include(if: $shouldFetchArtistSeriesData)\n related {\n artistsConnection(first: 1) {\n edges {\n node {\n id\n }\n }\n }\n }\n sidebarAggregations: filterArtworksConnection(sort: $sort, page: $page, aggregations: $aggregations, first: 30, after: \"\") {\n aggregations {\n slice\n counts {\n name\n value\n }\n }\n id\n }\n ...ArtistArtworkFilter_artist_2TJyna\n}\n", - "metadata": {} + "metadata": {}, + "name": "routes_WorksQuery", + "operationKind": "query", + "text": "query routes_WorksQuery(\n $acquireable: Boolean\n $aggregations: [ArtworkAggregation] = [MEDIUM, TOTAL, GALLERY, INSTITUTION, MAJOR_PERIOD]\n $artistID: String!\n $atAuction: Boolean\n $attributionClass: [String]\n $color: String\n $forSale: Boolean\n $height: String\n $inquireableOnly: Boolean\n $keyword: String\n $majorPeriods: [String]\n $medium: String\n $offerable: Boolean\n $page: Int\n $partnerID: ID\n $priceRange: String\n $sizes: [ArtworkSizes]\n $sort: String\n $width: String\n $shouldFetchArtistSeriesData: Boolean!\n) {\n artist(id: $artistID) {\n ...Works_artist_44JFRd\n id\n }\n}\n\nfragment ArtistArtworkFilter_artist_2TJyna on Artist {\n is_followed: isFollowed\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 slug\n internalID\n filtered_artworks: filterArtworksConnection(acquireable: $acquireable, aggregations: $aggregations, artistID: $artistID, atAuction: $atAuction, attributionClass: $attributionClass, color: $color, forSale: $forSale, height: $height, inquireableOnly: $inquireableOnly, keyword: $keyword, majorPeriods: $majorPeriods, medium: $medium, offerable: $offerable, page: $page, partnerID: $partnerID, priceRange: $priceRange, sizes: $sizes, first: 30, after: \"\", sort: $sort, width: $width) {\n id\n ...ArtworkFilterArtworkGrid2_filtered_artworks\n }\n}\n\nfragment ArtistSeriesItem_artistSeries on ArtistSeries {\n title\n slug\n artworksCountMessage\n image {\n cropped(width: 160, height: 160) {\n url\n }\n }\n}\n\nfragment ArtistSeriesRail_artist on Artist {\n artistSeriesConnection {\n edges {\n node {\n internalID\n ...ArtistSeriesItem_artistSeries\n }\n }\n }\n}\n\nfragment ArtistTopWorksRail_artist on Artist {\n slug\n id\n filterArtworksConnection(sort: \"-weighted_iconicity\", first: 10) {\n edges {\n node {\n id\n slug\n image {\n href\n imageAspectRatio: aspectRatio\n resized(height: 300) {\n url\n width\n height\n }\n }\n ...FillwidthItem_artwork\n }\n }\n id\n }\n}\n\nfragment ArtworkFilterArtworkGrid2_filtered_artworks on FilterArtworksConnection {\n id\n aggregations {\n slice\n counts {\n value\n name\n count\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n pageCursors {\n ...Pagination_pageCursors\n }\n edges {\n node {\n id\n }\n }\n ...ArtworkGrid_artworks\n}\n\nfragment ArtworkGrid_artworks on ArtworkConnectionInterface {\n edges {\n __typename\n node {\n id\n slug\n href\n internalID\n image {\n aspect_ratio: aspectRatio\n }\n ...GridItem_artwork\n }\n ... on Node {\n id\n }\n }\n}\n\nfragment Badge_artwork on Artwork {\n is_biddable: isBiddable\n href\n sale {\n is_preview: isPreview\n display_timely_at: displayTimelyAt\n id\n }\n}\n\nfragment Contact_artwork on Artwork {\n href\n is_inquireable: isInquireable\n sale {\n is_auction: isAuction\n is_live_open: isLiveOpen\n is_open: isOpen\n is_closed: isClosed\n id\n }\n partner(shallow: true) {\n type\n id\n }\n sale_artwork: saleArtwork {\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n counts {\n bidder_positions: bidderPositions\n }\n id\n }\n}\n\nfragment Details_artwork on Artwork {\n href\n title\n date\n sale_message: saleMessage\n cultural_maker: culturalMaker\n artists(shallow: true) {\n id\n href\n name\n }\n collecting_institution: collectingInstitution\n partner(shallow: true) {\n name\n href\n id\n }\n sale {\n is_auction: isAuction\n is_closed: isClosed\n id\n }\n sale_artwork: saleArtwork {\n counts {\n bidder_positions: bidderPositions\n }\n highest_bid: highestBid {\n display\n }\n opening_bid: openingBid {\n display\n }\n id\n }\n}\n\nfragment FillwidthItem_artwork on Artwork {\n image {\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n imageTitle\n title\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment GridItem_artwork on Artwork {\n internalID\n title\n image_title: imageTitle\n image {\n placeholder\n url(version: \"large\")\n aspect_ratio: aspectRatio\n }\n href\n ...Metadata_artwork\n ...Save_artwork\n ...Badge_artwork\n}\n\nfragment Metadata_artwork on Artwork {\n ...Details_artwork\n ...Contact_artwork\n href\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 Save_artwork on Artwork {\n id\n internalID\n slug\n is_saved: isSaved\n title\n}\n\nfragment Works_artist_44JFRd on Artist {\n internalID\n ...ArtistTopWorksRail_artist\n ...ArtistSeriesRail_artist @include(if: $shouldFetchArtistSeriesData)\n related {\n artistsConnection(first: 1) {\n edges {\n node {\n id\n }\n }\n }\n }\n sidebarAggregations: filterArtworksConnection(sort: $sort, page: $page, aggregations: $aggregations, first: 30, after: \"\") {\n aggregations {\n slice\n counts {\n name\n value\n }\n }\n id\n }\n ...ArtistArtworkFilter_artist_2TJyna\n}\n" } }; })(); diff --git a/src/v2/__generated__/timeQuery.graphql.ts b/src/v2/__generated__/timeQuery.graphql.ts index 898bd64ae2e..def5b0f6964 100644 --- a/src/v2/__generated__/timeQuery.graphql.ts +++ b/src/v2/__generated__/timeQuery.graphql.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; export type timeQueryVariables = {}; @@ -29,57 +30,57 @@ query timeQuery { const node: ConcreteRequest = (function(){ var v0 = [ { - "kind": "LinkedField", "alias": null, - "name": "system", - "storageKey": null, "args": null, "concreteType": "System", + "kind": "LinkedField", + "name": "system", "plural": false, "selections": [ { - "kind": "LinkedField", "alias": null, - "name": "time", - "storageKey": null, "args": null, "concreteType": "SystemTime", + "kind": "LinkedField", + "name": "time", "plural": false, "selections": [ { - "kind": "ScalarField", "alias": null, - "name": "unix", "args": null, + "kind": "ScalarField", + "name": "unix", "storageKey": null } - ] + ], + "storageKey": null } - ] + ], + "storageKey": null } ]; return { - "kind": "Request", "fragment": { + "argumentDefinitions": [], "kind": "Fragment", - "name": "timeQuery", - "type": "Query", "metadata": null, - "argumentDefinitions": [], - "selections": (v0/*: any*/) + "name": "timeQuery", + "selections": (v0/*: any*/), + "type": "Query" }, + "kind": "Request", "operation": { + "argumentDefinitions": [], "kind": "Operation", "name": "timeQuery", - "argumentDefinitions": [], "selections": (v0/*: any*/) }, "params": { - "operationKind": "query", - "name": "timeQuery", "id": null, - "text": "query timeQuery {\n system {\n time {\n unix\n }\n }\n}\n", - "metadata": {} + "metadata": {}, + "name": "timeQuery", + "operationKind": "query", + "text": "query timeQuery {\n system {\n time {\n unix\n }\n }\n}\n" } }; })(); diff --git a/yarn.lock b/yarn.lock index 12cf677cf7a..6dbe16834d3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -97,10 +97,10 @@ resolved "https://registry.yarnpkg.com/@artsy/react-html-parser/-/react-html-parser-3.0.2.tgz#6213d662441acf0bd8c9ee953aa77ac8d9cf1cdd" integrity sha512-FXiRSqfSvwpz/QgwaqFvjJsbDmo9qMGpvUp/0p1V6muaJbGnfxkTSxAYWmYlFst6bmjhVxCYKxvgQhEVE03Wfg== -"@artsy/reaction@27.1.0": - version "27.1.0" - resolved "https://registry.yarnpkg.com/@artsy/reaction/-/reaction-27.1.0.tgz#69913624935836a40c4bf122674d3134f08a596e" - integrity sha512-OsupB5WH+mHPlzHKqgqRccHlRHiowV/JZcBpYVBakCOyr8nRC/WL1DP7FolNMg8OAtXi69eSdxu0GZvAWFJICw== +"@artsy/reaction@28.0.0": + version "28.0.0" + resolved "https://registry.yarnpkg.com/@artsy/reaction/-/reaction-28.0.0.tgz#875169dbb80d52e347760af619336590aca857de" + integrity sha512-zGnarzBIIc8KjVaGFJyoDY+mbPMIIwQ1d5OeXz2p8Md6i2aZxDT9EKAMELhStQ8GUDgRuHbzw8O+MCBBHzOVtw== dependencies: "@artsy/detect-responsive-traits" "^0.0.5" "@artsy/fresnel" "^1.0.13" @@ -113,9 +113,9 @@ currency.js "^1.2.1" farce "^0.2.6" formik "^2.1.4" - found "^0.4.9" - found-relay "^0.5" - found-scroll "^0.1.5" + found "0.5.5" + found-relay "0.8.2" + found-scroll "0.3.0" history "^4.6.1" isomorphic-fetch "^2.2.1" jsonp "^0.2.1" @@ -137,9 +137,9 @@ react-markdown "^2.5.0" react-oembed-container "^0.3.0" react-overlays "^0.8.3" - react-relay "^7.1.0" - react-relay-network-modern "^2.5.1" - react-relay-network-modern-ssr "^1.2.2" + react-relay "9.1.0" + react-relay-network-modern "4.7.3" + react-relay-network-modern-ssr "1.4.0" react-responsive-decorator "^0.0.1" react-router "^4.2.0" react-sizeme "^2.4.4" @@ -152,7 +152,7 @@ react-url-query "^1.1.4" react-waypoint "^7.3.3" relay-mock-network-layer "^2.0.0" - relay-runtime "^7.1.0" + relay-runtime "9.1.0" serialize-javascript "^2.1.1" sharify "^0.1.6" styled-system "^3.1.11" @@ -348,6 +348,15 @@ lodash "^4.17.13" source-map "^0.5.0" +"@babel/generator@^7.5.0": + version "7.10.5" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.10.5.tgz#1b903554bc8c583ee8d25f1e8969732e6b829a69" + integrity sha512-3vXxr3FEW7E7lJZiWQ3bM4+v/Vyr9C+hpolQ8BGFr9Y8Ri2tFLWTixmwKBafDujO1WVah4fhZBeU1bieKdghig== + dependencies: + "@babel/types" "^7.10.5" + jsesc "^2.5.1" + source-map "^0.5.0" + "@babel/generator@^7.6.0": version "7.6.0" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.6.0.tgz#e2c21efbfd3293ad819a2359b448f002bfdfda56" @@ -2300,13 +2309,13 @@ pirates "^4.0.0" source-map-support "^0.5.16" -"@babel/runtime-corejs3@^7.5.5", "@babel/runtime-corejs3@^7.6.0": - version "7.7.2" - resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.7.2.tgz#2bf55c6cc576a7f54a40b970ea5215131abc1159" - integrity sha512-odQQZpujq0AHttKrvp4n2KGjK5b5cuq7LeEcsdadwZOemMkmJnlgTXMCf5fIixLLaBxUypwn0krKK51vVMA5cg== +"@babel/runtime-corejs3@^7.6.2", "@babel/runtime-corejs3@^7.6.3": + version "7.10.5" + resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.10.5.tgz#a57fe6c13045ca33768a2aa527ead795146febe1" + integrity sha512-RMafpmrNB5E/bwdSphLr8a8++9TosnyJp98RZzI6VOx2R2CCMpsXXXRvmI700O9oEKpXdZat6oEK68/F0zjd4A== dependencies: core-js-pure "^3.0.0" - regenerator-runtime "^0.13.2" + regenerator-runtime "^0.13.4" "@babel/runtime-corejs3@^7.8.3": version "7.10.0" @@ -2316,7 +2325,7 @@ core-js-pure "^3.0.0" regenerator-runtime "^0.13.4" -"@babel/runtime@7.11.2": +"@babel/runtime@7.11.2", "@babel/runtime@^7.8.7": version "7.11.2" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.11.2.tgz#f549c13c754cc40b87644b9fa9f09a6a95fe0736" integrity sha512-TeWkU52so0mPtDcaCTxNBI/IHiz0pZgr8VEFqXFtZWpYD08ZB6FaSwVAS8MKRQAP3bYKiVjwysOJgMFY28o6Tw== @@ -2474,7 +2483,7 @@ globals "^11.1.0" lodash "^4.17.13" -"@babel/types@^7.0.0": +"@babel/types@^7.0.0", "@babel/types@^7.10.5": version "7.10.5" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.10.5.tgz#d88ae7e2fde86bfbfe851d4d81afa70a997b5d15" integrity sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q== @@ -2501,7 +2510,7 @@ lodash "^4.17.13" to-fast-properties "^2.0.0" -"@babel/types@^7.10.5", "@babel/types@^7.11.0": +"@babel/types@^7.11.0": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.11.0.tgz#2ae6bf1ba9ae8c3c43824e5861269871b206e90d" integrity sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA== @@ -4295,7 +4304,7 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@16.9.34": +"@types/react@*", "@types/react@16.9.34", "@types/react@^16.9.31": version "16.9.34" resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.34.tgz#f7d5e331c468f53affed17a8a4d488cd44ea9349" integrity sha512-8AJlYMOfPe1KGLKyHpflCg5z46n0b5DbRfqDksxBLBTUpB75ypDBAO9eCUcjNwE6LCUslwTz00yyG/X9gaVtow== @@ -4310,10 +4319,10 @@ dependencies: "@types/node" "*" -"@types/relay-runtime@8.0.10": - version "8.0.10" - resolved "https://registry.yarnpkg.com/@types/relay-runtime/-/relay-runtime-8.0.10.tgz#df049d9f7d5ee5a77ea7d3a02c5ea94e09714387" - integrity sha512-tr+lJ8HsiePU1rsbUttEpwU3BerBZJerJy+mq2v1o0Jud88EvpXmK/jzrlcevzcLMvuJC2tpKMSFPlG3jOARfg== +"@types/relay-runtime@9.1.0": + version "9.1.0" + resolved "https://registry.yarnpkg.com/@types/relay-runtime/-/relay-runtime-9.1.0.tgz#f7808391131371ca3006bb3cb80e0b3ad681157c" + integrity sha512-kQOE1T03BONwF0A62cIY4CCHAOuK0ploH88mPNkhjRr1mJ4v0DkMwZ5enwLyAIeMI9dE2F3ySAFG/lQDcQ3mDQ== "@types/serve-static@*": version "1.13.1" @@ -5788,10 +5797,10 @@ babel-plugin-react-docgen@^4.0.0: react-docgen "^5.0.0" recast "^0.14.7" -babel-plugin-relay@7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/babel-plugin-relay/-/babel-plugin-relay-7.1.0.tgz#adf5e5dff9f5631d7a6547c460b1a4e9f501713a" - integrity sha512-KshZBzjOIovWrdlBjbR+ARvPN5UUJa30KWLyNuxf32WrJij+tOiQTWE1ieN2MHeVpJZUhzBKx7S49Xrm8ALwyA== +babel-plugin-relay@9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/babel-plugin-relay/-/babel-plugin-relay-9.0.0.tgz#05b25bb7296151a9c7c91338a8e71f7d95a83b64" + integrity sha512-2v+7fPI8Iv/MKcutAma8iryVGkwe5Hfmb6rIo0B9USZpMnOYS3TamCq8SwaQLBR5R9RrkbHsx5vxz2cUvhSeOg== dependencies: babel-plugin-macros "^2.0.0" @@ -7245,15 +7254,6 @@ cliui@^2.1.0: right-align "^0.1.1" wordwrap "0.0.2" -cliui@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" - integrity sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0= - dependencies: - string-width "^1.0.1" - strip-ansi "^3.0.1" - wrap-ansi "^2.0.0" - cliui@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.0.0.tgz#743d4650e05f36d1ed2575b59638d87322bfbbcc" @@ -8231,6 +8231,11 @@ csstype@^2.5.7, csstype@^2.6.9: resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.10.tgz#e63af50e66d7c266edb6b32909cfd0aabe03928b" integrity sha512-D34BqZU4cIlMCY93rZHbrq9pjTAQJ3U8S8rfBqjwHxkGPThWFjzZDQpgMJY0QViLxth6ZKYiwFBo14RdN44U/w== +csstype@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.2.tgz#ee5ff8f208c8cd613b389f7b222c9801ca62b3f7" + integrity sha512-ofovWglpqoqbfLNOTBNZLSbMuGrblAf1efvvArGKOZMBrIoJeu5UsAipQolkijtyQx5MtAzT/J9IHj/CEY1mJw== + csurf@^1.8.3: version "1.9.0" resolved "https://registry.yarnpkg.com/csurf/-/csurf-1.9.0.tgz#49d2c6925ffcec7b7de559597c153fa533364133" @@ -8866,13 +8871,21 @@ dom-converter@^0.2: dependencies: utila "~0.4" -dom-helpers@^3.2.1, dom-helpers@^3.3.1, dom-helpers@^3.4.0: +dom-helpers@^3.2.1, dom-helpers@^3.3.1: version "3.4.0" resolved "https://registry.yarnpkg.com/dom-helpers/-/dom-helpers-3.4.0.tgz#e9b369700f959f62ecde5a6babde4bccd9169af8" integrity sha512-LnuPJ+dwqKDIyotW1VzmOZ5TONUN7CwkCR5hrgawTUbkBGYdeoNLZo6nNfGkCrjtE1nXXaj7iMMpDa8/d9WoIA== dependencies: "@babel/runtime" "^7.1.2" +dom-helpers@^5.1.4: + version "5.2.0" + resolved "https://registry.yarnpkg.com/dom-helpers/-/dom-helpers-5.2.0.tgz#57fd054c5f8f34c52a3eeffdb7e7e93cd357d95b" + integrity sha512-Ru5o9+V8CpunKnz5LGgWXkmrH/20cGKwcHwS4m73zIvs54CN9epEmT/HLqFJW3kXpakAFkEdzgy1hzlJe3E4OQ== + dependencies: + "@babel/runtime" "^7.8.7" + csstype "^3.0.2" + dom-iterator@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/dom-iterator/-/dom-iterator-1.0.0.tgz#9c09899846ec41c2d257adc4d6015e4759ef05ad" @@ -10154,6 +10167,11 @@ extglob@^2.0.4: snapdragon "^0.8.1" to-regex "^3.0.1" +extract-files@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/extract-files/-/extract-files-5.0.1.tgz#c9492a8410be643e260a376f0151361993d5f659" + integrity sha512-qRW6y9eKF0VbCyOoOEtFhzJ3uykAw8GKwQVXyAIqwocyEWW4m+v+evec34RwtUkkxxHh7NKBLJ6AnXM8W4dH5w== + extract-zip@1.6.7: version "1.6.7" resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.6.7.tgz#a840b4b8af6403264c8db57f4f1a74333ef81fe9" @@ -10201,16 +10219,26 @@ farce@^0.2.6: redux "^4.0.0" warning "^3.0.0" -farce@^0.2.7, farce@^0.2.8: - version "0.2.8" - resolved "https://registry.yarnpkg.com/farce/-/farce-0.2.8.tgz#bd9c5343b5970357d9446d43212a2036f27886ed" - integrity sha512-x4N70Ti9nOo6/waNJUZMLDd/U6+WA0gV+AUE1gFS/npD/FliTUCKbBLNQYbgeejzDdw0MgtPCCjRX8kPTHjspA== +farce@^0.4.0, farce@^0.4.5: + version "0.4.5" + resolved "https://registry.yarnpkg.com/farce/-/farce-0.4.5.tgz#610cefaaa76d57dbd723d2d6df30a72e3ea5d842" + integrity sha512-PK3eWFYBicrelTh/ZAM8KCto3c2hwo+9PKxtkSS5EhmLP3Y+m2l5r56MF8+m/htlojQpY2uHwmMDtdb0cNWrSw== + dependencies: + invariant "^2.2.4" + is-promise "^4.0.0" + query-string "^5.1.1" + redux "^4.0.4" + warning "^4.0.3" + +farce@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/farce/-/farce-0.4.1.tgz#6e1b62f53636e55b706b9672adbe560bc223c02f" + integrity sha512-qhxBlWEIK3w1uvOylPKBNDTUQz6hF2NHgOgWei91naaYrck3p4o6Z3dBa1Dm2jhYBaGjZLEC102hqqBbSCWn3Q== dependencies: - dom-helpers "^3.4.0" invariant "^2.2.4" is-promise "^2.1.0" query-string "^5.1.1" - redux "^4.0.1" + redux "^4.0.4" warning "^4.0.3" fast-deep-equal@^1.0.0: @@ -10805,36 +10833,37 @@ forwarded@~0.1.2: resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84" integrity sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ= -found-relay@0.5.0, found-relay@^0.5: - version "0.5.0" - resolved "https://registry.yarnpkg.com/found-relay/-/found-relay-0.5.0.tgz#2046d0e5dbcfc9e16645e97967911b36f82f01b1" - integrity sha512-uGd4mgv0QzE2Yz8QKZS9KpB4UgnlrG40V80aoU4yAB1JxjouQZf6jHhBBu3L8glPMtSb/1NbFCsnDvtFb1qufA== +found-relay@0.8.2, found-relay@^0.8.2: + version "0.8.2" + resolved "https://registry.yarnpkg.com/found-relay/-/found-relay-0.8.2.tgz#589eeee14da9df32c304de925be54f4fd821ce00" + integrity sha512-rBNNchEafACS0y7tLIb2r7hfINcFXbELZzFh/5yYGS3riwrS0P/5cgV0elk0tVyD4hRqE6Pgr1HrlXdGUN47VQ== dependencies: - "@babel/runtime-corejs3" "^7.6.0" - is-promise "^2.1.0" + "@babel/runtime-corejs3" "^7.6.3" + is-promise "^4.0.0" lodash "^4.17.15" prop-types "^15.7.2" warning "^4.0.3" -found-scroll@0.1.6, found-scroll@^0.1.5: - version "0.1.6" - resolved "https://registry.yarnpkg.com/found-scroll/-/found-scroll-0.1.6.tgz#93adbbcf923eb31d406f57ab7cedbe3ae564b12e" - integrity sha512-jbHT0hgHQ1f/Yu13pIjoTNmP1KdGe+FLVX12dWMIZ+RuFQiPRYGWutf3SNQ1cMPisSOqYKe7Fac/9N333DqrBA== +found-scroll@0.3.0, found-scroll@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/found-scroll/-/found-scroll-0.3.0.tgz#4ccd6c81c1eef7c453e598a34c18cc51c15a57df" + integrity sha512-OdXYQy8SSShjMjagCQrwaeRdce3aeyOrxPkE69Wr1vPOIKSPiY8tXmsY1RQBXNI0m2QJF2RBuqkQ4OWwNBIpow== dependencies: - farce "^0.2.7" + farce "^0.4.0" prop-types "^15.7.2" - scroll-behavior "^0.9.10" + scroll-behavior "^0.11.0" -found@0.4.9, found@^0.4.9: - version "0.4.9" - resolved "https://registry.yarnpkg.com/found/-/found-0.4.9.tgz#016f69026afa29290c09fb909f198b923a2878f3" - integrity sha512-6MEtaqmkkvcX92S3HxSZnoHhEOntNAh+sQglrfsYLbqIhyibUy9Udgbitw8oujGd445spPgCyKkPO3mSTdVAfQ== +found@0.5.5, found@^0.5.5: + version "0.5.5" + resolved "https://registry.yarnpkg.com/found/-/found-0.5.5.tgz#b581caa14b5eba1e1ed52c696f148eddb2e8ba95" + integrity sha512-/OQw+t6imImSiehiJvqAqQ3J3tcWC2maR72rYpJyYxgy69TwTCIHCe2GFaHOQhImbEV7AWnsR6r+iYMJNMbkxQ== dependencies: - "@babel/runtime-corejs3" "^7.5.5" + "@babel/runtime-corejs3" "^7.6.2" "@restart/context" "^2.1.4" - farce "^0.2.8" + "@types/react" "^16.9.31" + farce "^0.4.1" invariant "^2.2.4" - is-promise "^2.1.0" + is-promise "^4.0.0" lodash "^4.17.15" path-to-regexp "^1.7.0" prop-types "^15.7.2" @@ -12811,6 +12840,11 @@ is-promise@^2.0.0, is-promise@^2.1.0: resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" integrity sha1-eaKp7OfwlugPNtKy87wWwf9L8/o= +is-promise@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-4.0.0.tgz#42ff9f84206c1991d26debf520dd5c01042dd2f3" + integrity sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ== + is-promise@~1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-1.0.1.tgz#31573761c057e33c2e91aab9e96da08cefbe76e5" @@ -16429,6 +16463,11 @@ pad@^3.2.0: dependencies: wcwidth "^1.0.1" +page-lifecycle@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/page-lifecycle/-/page-lifecycle-0.1.2.tgz#f17a083c082bd5ababddd77f1025a4b1c8808012" + integrity sha512-+3uccYgL0CXG0KSXRxZi4uc2E6mqFWV5HqiJJgcnaJCiS0LqiuJ4vB420N21NFuLvuvLB4Jr5drgQ2NXAXF9Iw== + pako@~1.0.5: version "1.0.10" resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.10.tgz#4328badb5086a426aa90f541977d4955da5c9732" @@ -16728,13 +16767,6 @@ path-type@^1.0.0: pify "^2.0.0" pinkie-promise "^2.0.0" -path-type@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-2.0.0.tgz#f012ccb8415b7096fc2daa1054c3d72389594c73" - integrity sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM= - dependencies: - pify "^2.0.0" - path-type@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" @@ -18184,25 +18216,27 @@ react-redux@^7.0.0: prop-types "^15.7.2" react-is "^16.9.0" -react-relay-network-modern-ssr@1.2.2, react-relay-network-modern-ssr@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/react-relay-network-modern-ssr/-/react-relay-network-modern-ssr-1.2.2.tgz#9f611872113cc91839600939b0d4edf97a4f8adc" - integrity sha512-35SHsvHS6IhZ7Sh9qXwjMhC5nZHhv5P9ERS5oti9u/B6GsQEC3cTwVCeSKIJNs+SxWkwQ6Z7DmzhPMWu1sNI0Q== +react-relay-network-modern-ssr@1.4.0, react-relay-network-modern-ssr@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/react-relay-network-modern-ssr/-/react-relay-network-modern-ssr-1.4.0.tgz#a5e4b60e69e14769c7266a1a0f5002430c815fe1" + integrity sha512-sCIiwjzDPV9eBPOb7VcT/dmZkwrqcNpAK5eHkwjvC3Xw+RShtgB/uCSVgCUzMZpOR8iUSkzaceC/HMZdnKxF3w== -react-relay-network-modern@2.5.1, react-relay-network-modern@^2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/react-relay-network-modern/-/react-relay-network-modern-2.5.1.tgz#a081ae2691dbf2cfa53129cd6eb41a1e91a071aa" - integrity sha512-Edp9XWAWLiAntrtNmfeLZMPMcwUmTpBhAoxHCaSKcet7gWN5RS0Z2OhKpVhKg3p1qZz+VLMMvWg8eQghBe0auQ== +react-relay-network-modern@4.7.3, react-relay-network-modern@^4.7.3: + version "4.7.3" + resolved "https://registry.yarnpkg.com/react-relay-network-modern/-/react-relay-network-modern-4.7.3.tgz#a8aa6175482b5923b1c70579d59d15ec9ed36b13" + integrity sha512-bqVtka5cwPF1ULx2SY11K5e5YPrvbADVgVisKOFjuytsJSuvc/9T7B70vhSAK9ZHC8HT6WA6yHmpTxPvtXX/Uw== + dependencies: + extract-files "^5.0.1" -react-relay@7.1.0, react-relay@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/react-relay/-/react-relay-7.1.0.tgz#8a97357914d079f7a537f757782ed126b041a7ac" - integrity sha512-O0MTyeVnrnG990rLdEQcFqGf0f7VBT2Y+mRYEC6nTPAxN+M/DB2U6VGPHNjrfoW8PQ2BUyp2ddNGM9b2PtnEwg== +react-relay@9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/react-relay/-/react-relay-9.1.0.tgz#f0d21120a535c956ddb7feafda6f92175eb6cc6b" + integrity sha512-puE6o4tDTogQsRoRkuKpLhJ8fW4gvwhdpg5RcbSgj2M6WSGM2YvOWXTbD2mttgIvtpZtfoD8WmLArM3P7vQblw== dependencies: "@babel/runtime" "^7.0.0" fbjs "^1.0.0" nullthrows "^1.1.1" - relay-runtime "7.1.0" + relay-runtime "9.1.0" react-remove-scroll-bar@^2.1.0: version "2.1.0" @@ -18454,14 +18488,6 @@ read-pkg-up@^1.0.1: find-up "^1.0.0" read-pkg "^1.0.0" -read-pkg-up@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be" - integrity sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4= - dependencies: - find-up "^2.0.0" - read-pkg "^2.0.0" - read-pkg-up@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07" @@ -18487,15 +18513,6 @@ read-pkg@^1.0.0: normalize-package-data "^2.3.2" path-type "^1.0.0" -read-pkg@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-2.0.0.tgz#8ef1c0623c6a6db0dc6713c4bfac46332b2368f8" - integrity sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg= - dependencies: - load-json-file "^2.0.0" - normalize-package-data "^2.3.2" - path-type "^2.0.0" - read-pkg@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" @@ -18714,7 +18731,7 @@ redux@^4.0.0: loose-envify "^1.4.0" symbol-observable "^1.2.0" -redux@^4.0.1, redux@^4.0.4: +redux@^4.0.4: version "4.0.4" resolved "https://registry.yarnpkg.com/redux/-/redux-4.0.4.tgz#4ee1aeb164b63d6a1bcc57ae4aa0b6e6fa7a3796" integrity sha512-vKv4WdiJxOWKxK0yRoaK3Y4pxxB0ilzVx6dszU2W8wLxlb2yikRph4iV/ymtdJ6ZxpBLFbyrxklnT5yBbQSl3Q== @@ -18888,21 +18905,21 @@ relateurl@^0.2.7: resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9" integrity sha1-VNvzd+UUQKypCkzSdGANP/LYiKk= -relay-compiler-language-typescript@10.1.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/relay-compiler-language-typescript/-/relay-compiler-language-typescript-10.1.0.tgz#997c3f5362d4cc051bddce05c655b1037bc95508" - integrity sha512-QYMLQvLUlds0XbHiue9bNcTkWb04vnN/sIXIOP3zEvNdmeSG0dvgjU5G1S54or4P9ledmX3RI4UO2ka+LxlOSQ== +relay-compiler-language-typescript@^12.0.3: + version "12.0.3" + resolved "https://registry.yarnpkg.com/relay-compiler-language-typescript/-/relay-compiler-language-typescript-12.0.3.tgz#99b7fe7a298c54e0ad9691b41599b1d4c2064954" + integrity sha512-T4HgZmhn4T4bpMVyVGwy2ngWv+DTVrjUOjTigAq8k/VV1au+NDkw99HVm9FjoSSpwKxDANh4f7Cf9AqTStH6NA== dependencies: immutable "^4.0.0-rc.12" invariant "^2.2.4" -relay-compiler@7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/relay-compiler/-/relay-compiler-7.1.0.tgz#cd8657c98e4d36f59bc9301ca1dc174e7f373c1a" - integrity sha512-8SisbLejjob1CYI9uQP7wxtsWvT+cvbx1iFDgP5U360UBukOGWLehfmn33lygY0LYqnfMShgvL1n7lrqoohs5A== +relay-compiler@9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/relay-compiler/-/relay-compiler-9.1.0.tgz#e2975de85192e2470daad78e30052bf9614d22ed" + integrity sha512-jsJx0Ux5RoxM+JFm3M3xl7UfZAJ0kUTY/r6jqOpcYgVI3GLJthvNI4IoziFRlWbhizEzGFbpkdshZcu9IObJYA== dependencies: "@babel/core" "^7.0.0" - "@babel/generator" "^7.0.0" + "@babel/generator" "^7.5.0" "@babel/parser" "^7.0.0" "@babel/runtime" "^7.0.0" "@babel/traverse" "^7.0.0" @@ -18914,14 +18931,14 @@ relay-compiler@7.1.0: fbjs "^1.0.0" immutable "~3.7.6" nullthrows "^1.1.1" - relay-runtime "7.1.0" + relay-runtime "9.1.0" signedsource "^1.0.0" - yargs "^9.0.0" + yargs "^14.2.0" -relay-config@7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/relay-config/-/relay-config-7.1.0.tgz#6c81b6fa48349dd1d50917afdde011a5db923b9a" - integrity sha512-LuUiPWOndtdx6MQOUcYKKtyo5IQ9ESdpqyZ3SId/xeI5b5LNuWnNgeZ4rrdZkBeDD3Vk0d0ZQA/xx4KdKLsn8w== +relay-config@9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/relay-config/-/relay-config-9.1.0.tgz#5aedf47ad309dc8fe6ce488ab5e556368ec2ca4a" + integrity sha512-x9/5NOGUuGntYPVUK34yA8yedysBNoRT9BJIjRxGNIIIyof5NfpTPHoXBlD/g5w9DWN0yX11Ei/ar5Ma267vXQ== dependencies: cosmiconfig "^5.0.5" @@ -18932,10 +18949,10 @@ relay-mock-network-layer@2.0.0, relay-mock-network-layer@^2.0.0: dependencies: graphql-tools "^4.0.2" -relay-runtime@7.1.0, relay-runtime@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/relay-runtime/-/relay-runtime-7.1.0.tgz#3a1b38cb55fae7ab2fbb404f7db7a5b900ef963f" - integrity sha512-19WV0dC4rcbXnVBKEA4ZL41ccfJRUZ7/KKfQsgc9SwjqCi2g3+yYIR9wJ4KoC+rEfG2yN3W1vWBEqr+igH/rzA== +relay-runtime@9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/relay-runtime/-/relay-runtime-9.1.0.tgz#d0534007d5c43e7b9653c6f5cc112ffac09c5020" + integrity sha512-6FE5YlZpR/b3R/HzGly85V+c4MdtLJhFY/outQARgxXonomrwqEik0Cr34LnPK4DmGS36cMLUliqhCs/DZyPVw== dependencies: "@babel/runtime" "^7.0.0" fbjs "^1.0.0" @@ -19541,13 +19558,14 @@ schema-utils@^2.0.1, schema-utils@^2.5.0, schema-utils@^2.6.6: ajv "^6.12.0" ajv-keywords "^3.4.1" -scroll-behavior@^0.9.10: - version "0.9.10" - resolved "https://registry.yarnpkg.com/scroll-behavior/-/scroll-behavior-0.9.10.tgz#c8953adeeb3586060b903328d860aa8346d62861" - integrity sha512-JVJQkBkqMLEM4ATtbHTKare97zhz/qlla9mNttFYY/bcpyOb4BuBGEQ/N9AQWXvshzf6zo9jP60TlphnJ4YPoQ== +scroll-behavior@^0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/scroll-behavior/-/scroll-behavior-0.11.0.tgz#fff2765b6007341b80a04678fcd314e54d5b03ea" + integrity sha512-wQvNs3Q1TRvEkkwrFd/BkIL+dA4PYQl55/FUlmtjgz63/FtbnyR6MkLyRmjK0Rg3LCZCr0jORsFfMLkeNYdFuA== dependencies: - dom-helpers "^3.2.1" - invariant "^2.2.2" + dom-helpers "^5.1.4" + invariant "^2.2.4" + page-lifecycle "^0.1.2" scroll-frame@1.0.0: version "1.0.0" @@ -22851,12 +22869,13 @@ yargs-parser@^13.1.2: camelcase "^5.0.0" decamelize "^1.2.0" -yargs-parser@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-7.0.0.tgz#8d0ac42f16ea55debd332caf4c4038b3e3f5dfd9" - integrity sha1-jQrELxbqVd69MyyvTEA4s+P139k= +yargs-parser@^15.0.1: + version "15.0.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-15.0.1.tgz#54786af40b820dcb2fb8025b11b4d659d76323b3" + integrity sha512-0OAMV2mAZQrs3FkNpDQcBk1x5HXb8X4twADss4S0Iuk+2dGnLOE/fRHrsYm542GduMveyA77OF4wrNJuanRCWw== dependencies: - camelcase "^4.1.0" + camelcase "^5.0.0" + decamelize "^1.2.0" yargs-parser@^9.0.2: version "9.0.2" @@ -22917,24 +22936,22 @@ yargs@^13.3.0, yargs@^13.3.2: y18n "^4.0.0" yargs-parser "^13.1.2" -yargs@^9.0.0: - version "9.0.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-9.0.1.tgz#52acc23feecac34042078ee78c0c007f5085db4c" - integrity sha1-UqzCP+7Kw0BCB47njAwAf1CF20w= +yargs@^14.2.0: + version "14.2.3" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-14.2.3.tgz#1a1c3edced1afb2a2fea33604bc6d1d8d688a414" + integrity sha512-ZbotRWhF+lkjijC/VhmOT9wSgyBQ7+zr13+YLkhfsSiTriYsMzkTUFP18pFhWwBeMa5gUc1MzbhrO6/VB7c9Xg== dependencies: - camelcase "^4.1.0" - cliui "^3.2.0" - decamelize "^1.1.1" - get-caller-file "^1.0.1" - os-locale "^2.0.0" - read-pkg-up "^2.0.0" + cliui "^5.0.0" + decamelize "^1.2.0" + find-up "^3.0.0" + get-caller-file "^2.0.1" require-directory "^2.1.1" - require-main-filename "^1.0.1" + require-main-filename "^2.0.0" set-blocking "^2.0.0" - string-width "^2.0.0" + string-width "^3.0.0" which-module "^2.0.0" - y18n "^3.2.1" - yargs-parser "^7.0.0" + y18n "^4.0.0" + yargs-parser "^15.0.1" yargs@~3.10.0: version "3.10.0"