diff --git a/src/Apps/Conversations/components/Sidebar/ConversationsSidebarItem.tsx b/src/Apps/Conversations/components/Sidebar/ConversationsSidebarItem.tsx index 6d5839ff66f..bb2fc696c9e 100644 --- a/src/Apps/Conversations/components/Sidebar/ConversationsSidebarItem.tsx +++ b/src/Apps/Conversations/components/Sidebar/ConversationsSidebarItem.tsx @@ -132,14 +132,6 @@ export const ConversationsSidebarItem: React.FC = const FRAGMENT = graphql` fragment ConversationsSidebarItem_conversation on Conversation { internalID - from { - name - } - fromUser { - collectorProfile { - confirmedBuyerAt - } - } to { name } diff --git a/src/__generated__/ConversationsSidebar2PaginationQuery.graphql.ts b/src/__generated__/ConversationsSidebar2PaginationQuery.graphql.ts index 23e2e0f3bb3..c37497fbcb7 100644 --- a/src/__generated__/ConversationsSidebar2PaginationQuery.graphql.ts +++ b/src/__generated__/ConversationsSidebar2PaginationQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<3fc9f86c2e83c4d273002f8d897b2d8c>> + * @generated SignedSource<<08113af453e9d156f9f2e449cb19d923>> * @lightSyntaxTransform * @nogrep */ @@ -162,47 +162,6 @@ return { "name": "internalID", "storageKey": null }, - { - "alias": null, - "args": null, - "concreteType": "ConversationInitiator", - "kind": "LinkedField", - "name": "from", - "plural": false, - "selections": (v5/*: any*/), - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "User", - "kind": "LinkedField", - "name": "fromUser", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "CollectorProfileType", - "kind": "LinkedField", - "name": "collectorProfile", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "confirmedBuyerAt", - "storageKey": null - }, - (v4/*: any*/) - ], - "storageKey": null - }, - (v4/*: any*/) - ], - "storageKey": null - }, { "alias": null, "args": null, @@ -428,12 +387,12 @@ return { ] }, "params": { - "cacheID": "f8f2093d84cec7fd09790b717b8d2765", + "cacheID": "cd48606558a56bb0e5a0a371e0926b54", "id": null, "metadata": {}, "name": "ConversationsSidebar2PaginationQuery", "operationKind": "query", - "text": "query ConversationsSidebar2PaginationQuery(\n $after: String\n $first: Int = 10\n) {\n viewer {\n ...ConversationsSidebar_viewer_2HEEH6\n }\n}\n\nfragment ConversationsSidebarItem_conversation on Conversation {\n internalID\n from {\n name\n id\n }\n fromUser {\n collectorProfile {\n confirmedBuyerAt\n id\n }\n id\n }\n to {\n name\n id\n }\n lastMessageAt(format: \"MMM D\")\n orderConnection(last: 1, states: [APPROVED, FULFILLED, SUBMITTED, PROCESSING_APPROVAL, REFUNDED]) {\n edges {\n node {\n __typename\n id\n }\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n title\n date\n isUnlisted\n artist {\n name\n id\n }\n image {\n url(version: [\"small\", \"square\"])\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n}\n\nfragment ConversationsSidebar_viewer_2HEEH6 on Viewer {\n conversationsConnection(first: $first, after: $after, type: USER) {\n edges {\n cursor\n node {\n internalID\n ...ConversationsSidebarItem_conversation\n id\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" + "text": "query ConversationsSidebar2PaginationQuery(\n $after: String\n $first: Int = 10\n) {\n viewer {\n ...ConversationsSidebar_viewer_2HEEH6\n }\n}\n\nfragment ConversationsSidebarItem_conversation on Conversation {\n internalID\n to {\n name\n id\n }\n lastMessageAt(format: \"MMM D\")\n orderConnection(last: 1, states: [APPROVED, FULFILLED, SUBMITTED, PROCESSING_APPROVAL, REFUNDED]) {\n edges {\n node {\n __typename\n id\n }\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n title\n date\n isUnlisted\n artist {\n name\n id\n }\n image {\n url(version: [\"small\", \"square\"])\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n}\n\nfragment ConversationsSidebar_viewer_2HEEH6 on Viewer {\n conversationsConnection(first: $first, after: $after, type: USER) {\n edges {\n cursor\n node {\n internalID\n ...ConversationsSidebarItem_conversation\n id\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ConversationsSidebarItemTestQuery.graphql.ts b/src/__generated__/ConversationsSidebarItemTestQuery.graphql.ts index f5d1e3d914a..f537f0805b0 100644 --- a/src/__generated__/ConversationsSidebarItemTestQuery.graphql.ts +++ b/src/__generated__/ConversationsSidebarItemTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<374a97a4a324c9959e7bdf7160022714>> + * @generated SignedSource<<655fbea2156fa26dcfdd09fb8261b7b5>> * @lightSyntaxTransform * @nogrep */ @@ -119,47 +119,6 @@ return { "name": "internalID", "storageKey": null }, - { - "alias": null, - "args": null, - "concreteType": "ConversationInitiator", - "kind": "LinkedField", - "name": "from", - "plural": false, - "selections": (v2/*: any*/), - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "User", - "kind": "LinkedField", - "name": "fromUser", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "CollectorProfileType", - "kind": "LinkedField", - "name": "collectorProfile", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "confirmedBuyerAt", - "storageKey": null - }, - (v1/*: any*/) - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "storageKey": null - }, { "alias": null, "args": null, @@ -339,7 +298,7 @@ return { ] }, "params": { - "cacheID": "277c46502bd3cb8a02b176c40e0a3376", + "cacheID": "30d2e9b0312a355ec1d8d819e0f44040", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -349,29 +308,6 @@ return { "plural": false, "type": "Conversation" }, - "conversation.from": { - "enumValues": null, - "nullable": false, - "plural": false, - "type": "ConversationInitiator" - }, - "conversation.from.id": (v4/*: any*/), - "conversation.from.name": (v5/*: any*/), - "conversation.fromUser": { - "enumValues": null, - "nullable": true, - "plural": false, - "type": "User" - }, - "conversation.fromUser.collectorProfile": { - "enumValues": null, - "nullable": true, - "plural": false, - "type": "CollectorProfileType" - }, - "conversation.fromUser.collectorProfile.confirmedBuyerAt": (v6/*: any*/), - "conversation.fromUser.collectorProfile.id": (v4/*: any*/), - "conversation.fromUser.id": (v4/*: any*/), "conversation.id": (v4/*: any*/), "conversation.internalID": { "enumValues": null, @@ -450,7 +386,7 @@ return { }, "name": "ConversationsSidebarItemTestQuery", "operationKind": "query", - "text": "query ConversationsSidebarItemTestQuery {\n conversation(id: \"conversation-id\") {\n ...ConversationsSidebarItem_conversation\n id\n }\n}\n\nfragment ConversationsSidebarItem_conversation on Conversation {\n internalID\n from {\n name\n id\n }\n fromUser {\n collectorProfile {\n confirmedBuyerAt\n id\n }\n id\n }\n to {\n name\n id\n }\n lastMessageAt(format: \"MMM D\")\n orderConnection(last: 1, states: [APPROVED, FULFILLED, SUBMITTED, PROCESSING_APPROVAL, REFUNDED]) {\n edges {\n node {\n __typename\n id\n }\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n title\n date\n isUnlisted\n artist {\n name\n id\n }\n image {\n url(version: [\"small\", \"square\"])\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n}\n" + "text": "query ConversationsSidebarItemTestQuery {\n conversation(id: \"conversation-id\") {\n ...ConversationsSidebarItem_conversation\n id\n }\n}\n\nfragment ConversationsSidebarItem_conversation on Conversation {\n internalID\n to {\n name\n id\n }\n lastMessageAt(format: \"MMM D\")\n orderConnection(last: 1, states: [APPROVED, FULFILLED, SUBMITTED, PROCESSING_APPROVAL, REFUNDED]) {\n edges {\n node {\n __typename\n id\n }\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n title\n date\n isUnlisted\n artist {\n name\n id\n }\n image {\n url(version: [\"small\", \"square\"])\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ConversationsSidebarItem_conversation.graphql.ts b/src/__generated__/ConversationsSidebarItem_conversation.graphql.ts index 06aecd739f0..dd24ac8e9a6 100644 --- a/src/__generated__/ConversationsSidebarItem_conversation.graphql.ts +++ b/src/__generated__/ConversationsSidebarItem_conversation.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<6fc120e7dbd8b8459437e2689827b9db>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -11,14 +11,6 @@ import { Fragment, ReaderFragment } from 'relay-runtime'; import { FragmentRefs } from "relay-runtime"; export type ConversationsSidebarItem_conversation$data = { - readonly from: { - readonly name: string; - }; - readonly fromUser: { - readonly collectorProfile: { - readonly confirmedBuyerAt: string | null | undefined; - } | null | undefined; - } | null | undefined; readonly internalID: string | null | undefined; readonly items: ReadonlyArray<{ readonly item: { @@ -65,10 +57,7 @@ var v0 = { "name": "name", "storageKey": null }, -v1 = [ - (v0/*: any*/) -], -v2 = { +v1 = { "alias": null, "args": null, "kind": "ScalarField", @@ -88,45 +77,6 @@ return { "name": "internalID", "storageKey": null }, - { - "alias": null, - "args": null, - "concreteType": "ConversationInitiator", - "kind": "LinkedField", - "name": "from", - "plural": false, - "selections": (v1/*: any*/), - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "User", - "kind": "LinkedField", - "name": "fromUser", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "CollectorProfileType", - "kind": "LinkedField", - "name": "collectorProfile", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "confirmedBuyerAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, { "alias": null, "args": null, @@ -134,7 +84,9 @@ return { "kind": "LinkedField", "name": "to", "plural": false, - "selections": (v1/*: any*/), + "selections": [ + (v0/*: any*/) + ], "storageKey": null }, { @@ -191,7 +143,7 @@ return { "name": "node", "plural": false, "selections": [ - (v2/*: any*/) + (v1/*: any*/) ], "storageKey": null } @@ -219,7 +171,7 @@ return { "name": "item", "plural": false, "selections": [ - (v2/*: any*/), + (v1/*: any*/), { "kind": "InlineFragment", "selections": [ @@ -334,6 +286,6 @@ return { }; })(); -(node as any).hash = "b76da419554ef825d77d83bbb8b4d92f"; +(node as any).hash = "ab5ad7b876566aa73e0834e682f1529d"; export default node; diff --git a/src/__generated__/ConversationsSidebarPaginationQuery.graphql.ts b/src/__generated__/ConversationsSidebarPaginationQuery.graphql.ts index 5f85b9a4c61..4adfb97ddc2 100644 --- a/src/__generated__/ConversationsSidebarPaginationQuery.graphql.ts +++ b/src/__generated__/ConversationsSidebarPaginationQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<8e0c2b3ecabb469eca1bacedc303eaa9>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -166,47 +166,6 @@ return { "name": "internalID", "storageKey": null }, - { - "alias": null, - "args": null, - "concreteType": "ConversationInitiator", - "kind": "LinkedField", - "name": "from", - "plural": false, - "selections": (v6/*: any*/), - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "User", - "kind": "LinkedField", - "name": "fromUser", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "CollectorProfileType", - "kind": "LinkedField", - "name": "collectorProfile", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "confirmedBuyerAt", - "storageKey": null - }, - (v5/*: any*/) - ], - "storageKey": null - }, - (v5/*: any*/) - ], - "storageKey": null - }, { "alias": null, "args": null, @@ -432,12 +391,12 @@ return { ] }, "params": { - "cacheID": "02565eee675c7f03df973e9d0f28da29", + "cacheID": "5c2127eacbf4dbcc961aa1b1286322da", "id": null, "metadata": {}, "name": "ConversationsSidebarPaginationQuery", "operationKind": "query", - "text": "query ConversationsSidebarPaginationQuery(\n $first: Int!\n $after: String\n) {\n viewer {\n ...ConversationsSidebar_viewer_2HEEH6\n }\n}\n\nfragment ConversationsSidebarItem_conversation on Conversation {\n internalID\n from {\n name\n id\n }\n fromUser {\n collectorProfile {\n confirmedBuyerAt\n id\n }\n id\n }\n to {\n name\n id\n }\n lastMessageAt(format: \"MMM D\")\n orderConnection(last: 1, states: [APPROVED, FULFILLED, SUBMITTED, PROCESSING_APPROVAL, REFUNDED]) {\n edges {\n node {\n __typename\n id\n }\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n title\n date\n isUnlisted\n artist {\n name\n id\n }\n image {\n url(version: [\"small\", \"square\"])\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n}\n\nfragment ConversationsSidebar_viewer_2HEEH6 on Viewer {\n conversationsConnection(first: $first, after: $after, type: USER) {\n edges {\n cursor\n node {\n internalID\n ...ConversationsSidebarItem_conversation\n id\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" + "text": "query ConversationsSidebarPaginationQuery(\n $first: Int!\n $after: String\n) {\n viewer {\n ...ConversationsSidebar_viewer_2HEEH6\n }\n}\n\nfragment ConversationsSidebarItem_conversation on Conversation {\n internalID\n to {\n name\n id\n }\n lastMessageAt(format: \"MMM D\")\n orderConnection(last: 1, states: [APPROVED, FULFILLED, SUBMITTED, PROCESSING_APPROVAL, REFUNDED]) {\n edges {\n node {\n __typename\n id\n }\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n title\n date\n isUnlisted\n artist {\n name\n id\n }\n image {\n url(version: [\"small\", \"square\"])\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n}\n\nfragment ConversationsSidebar_viewer_2HEEH6 on Viewer {\n conversationsConnection(first: $first, after: $after, type: USER) {\n edges {\n cursor\n node {\n internalID\n ...ConversationsSidebarItem_conversation\n id\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ConversationsSidebarTestQuery.graphql.ts b/src/__generated__/ConversationsSidebarTestQuery.graphql.ts index d49d6d5928a..689be1baa72 100644 --- a/src/__generated__/ConversationsSidebarTestQuery.graphql.ts +++ b/src/__generated__/ConversationsSidebarTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<3905244edc2bd350c23615ba7e6f117a>> + * @generated SignedSource<<4ff0c3800989a51d191de6e54f7715bc>> * @lightSyntaxTransform * @nogrep */ @@ -161,47 +161,6 @@ return { "name": "internalID", "storageKey": null }, - { - "alias": null, - "args": null, - "concreteType": "ConversationInitiator", - "kind": "LinkedField", - "name": "from", - "plural": false, - "selections": (v2/*: any*/), - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "User", - "kind": "LinkedField", - "name": "fromUser", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "CollectorProfileType", - "kind": "LinkedField", - "name": "collectorProfile", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "confirmedBuyerAt", - "storageKey": null - }, - (v1/*: any*/) - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "storageKey": null - }, { "alias": null, "args": null, @@ -427,7 +386,7 @@ return { ] }, "params": { - "cacheID": "95582c8518fcf2011af14da2a8fb28ec", + "cacheID": "13e484a73b3ee4bd325cc4b4475cb179", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -457,29 +416,6 @@ return { "type": "Conversation" }, "viewer.conversationsConnection.edges.node.__typename": (v4/*: any*/), - "viewer.conversationsConnection.edges.node.from": { - "enumValues": null, - "nullable": false, - "plural": false, - "type": "ConversationInitiator" - }, - "viewer.conversationsConnection.edges.node.from.id": (v5/*: any*/), - "viewer.conversationsConnection.edges.node.from.name": (v4/*: any*/), - "viewer.conversationsConnection.edges.node.fromUser": { - "enumValues": null, - "nullable": true, - "plural": false, - "type": "User" - }, - "viewer.conversationsConnection.edges.node.fromUser.collectorProfile": { - "enumValues": null, - "nullable": true, - "plural": false, - "type": "CollectorProfileType" - }, - "viewer.conversationsConnection.edges.node.fromUser.collectorProfile.confirmedBuyerAt": (v6/*: any*/), - "viewer.conversationsConnection.edges.node.fromUser.collectorProfile.id": (v5/*: any*/), - "viewer.conversationsConnection.edges.node.fromUser.id": (v5/*: any*/), "viewer.conversationsConnection.edges.node.id": (v5/*: any*/), "viewer.conversationsConnection.edges.node.internalID": { "enumValues": null, @@ -561,7 +497,7 @@ return { }, "name": "ConversationsSidebarTestQuery", "operationKind": "query", - "text": "query ConversationsSidebarTestQuery {\n viewer {\n ...ConversationsSidebar_viewer\n }\n}\n\nfragment ConversationsSidebarItem_conversation on Conversation {\n internalID\n from {\n name\n id\n }\n fromUser {\n collectorProfile {\n confirmedBuyerAt\n id\n }\n id\n }\n to {\n name\n id\n }\n lastMessageAt(format: \"MMM D\")\n orderConnection(last: 1, states: [APPROVED, FULFILLED, SUBMITTED, PROCESSING_APPROVAL, REFUNDED]) {\n edges {\n node {\n __typename\n id\n }\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n title\n date\n isUnlisted\n artist {\n name\n id\n }\n image {\n url(version: [\"small\", \"square\"])\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n}\n\nfragment ConversationsSidebar_viewer on Viewer {\n conversationsConnection(first: 10, type: USER) {\n edges {\n cursor\n node {\n internalID\n ...ConversationsSidebarItem_conversation\n id\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" + "text": "query ConversationsSidebarTestQuery {\n viewer {\n ...ConversationsSidebar_viewer\n }\n}\n\nfragment ConversationsSidebarItem_conversation on Conversation {\n internalID\n to {\n name\n id\n }\n lastMessageAt(format: \"MMM D\")\n orderConnection(last: 1, states: [APPROVED, FULFILLED, SUBMITTED, PROCESSING_APPROVAL, REFUNDED]) {\n edges {\n node {\n __typename\n id\n }\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n title\n date\n isUnlisted\n artist {\n name\n id\n }\n image {\n url(version: [\"small\", \"square\"])\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n}\n\nfragment ConversationsSidebar_viewer on Viewer {\n conversationsConnection(first: 10, type: USER) {\n edges {\n cursor\n node {\n internalID\n ...ConversationsSidebarItem_conversation\n id\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/conversationsRoutes_DetailQuery.graphql.ts b/src/__generated__/conversationsRoutes_DetailQuery.graphql.ts index ed030c97c15..a9de425dd03 100644 --- a/src/__generated__/conversationsRoutes_DetailQuery.graphql.ts +++ b/src/__generated__/conversationsRoutes_DetailQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<10d2b79714cd4d0ce07ae7b0be1a4065>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -502,47 +502,6 @@ return { "plural": false, "selections": [ (v5/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "ConversationInitiator", - "kind": "LinkedField", - "name": "from", - "plural": false, - "selections": (v8/*: any*/), - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "User", - "kind": "LinkedField", - "name": "fromUser", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "CollectorProfileType", - "kind": "LinkedField", - "name": "collectorProfile", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "confirmedBuyerAt", - "storageKey": null - }, - (v7/*: any*/) - ], - "storageKey": null - }, - (v7/*: any*/) - ], - "storageKey": null - }, (v9/*: any*/), { "alias": null, @@ -1907,12 +1866,12 @@ return { ] }, "params": { - "cacheID": "9bee268c65f51396be704d3336117a2c", + "cacheID": "1984b6e6f1d36d4aa355f57aa88d7dfc", "id": null, "metadata": {}, "name": "conversationsRoutes_DetailQuery", "operationKind": "query", - "text": "query conversationsRoutes_DetailQuery(\n $conversationId: String!\n $first: Int\n) {\n viewer {\n ...ConversationApp_viewer_3ASum4\n }\n conversation(id: $conversationId) {\n ...ConversationApp_conversation\n id\n }\n}\n\nfragment ConversationApp_conversation on Conversation {\n ...ConversationHeader_conversation\n ...ConversationDetails_conversation\n ...ConversationReply_conversation\n ...ConversationMessages_conversation\n}\n\nfragment ConversationApp_viewer_3ASum4 on Viewer {\n ...ConversationsSidebar_viewer_3ASum4\n ...ConversationsContext_viewer\n}\n\nfragment ConversationArtwork_conversation on Conversation {\n items {\n item {\n __typename\n ... on Artwork {\n id\n slug\n date\n title\n isUnlisted\n artist {\n name\n slug\n id\n }\n image {\n url\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n}\n\nfragment ConversationAttachments_conversation on Conversation {\n attachmentsConnection: messagesConnection(first: 30, sort: DESC) {\n edges {\n node {\n attachments {\n id\n contentType\n fileName\n downloadURL\n }\n id\n }\n }\n }\n}\n\nfragment ConversationCTA_conversation on Conversation {\n ...useConversationPurchaseButtonData_conversation\n ...ConversationReviewOfferCTA_conversation\n internalID\n items {\n liveArtwork {\n __typename\n ... on Artwork {\n ...ConversationConfirmModal_artwork\n __typename\n internalID\n isOfferableFromInquiry\n isAcquireable\n isOfferable\n published\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n item {\n __typename\n ... on Artwork {\n internalID\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n activeOrderCTA: orderConnection(first: 10, states: [APPROVED, PROCESSING_APPROVAL, FULFILLED, SUBMITTED, REFUNDED]) {\n edges {\n node {\n __typename\n internalID\n state\n stateReason\n stateExpiresAt\n ... on CommerceOfferOrder {\n buyerAction\n offers(first: 5) {\n edges {\n node {\n internalID\n id\n }\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment ConversationConfirmModal_artwork on Artwork {\n category\n artistNames\n date\n internalID\n isEdition\n manufacturer\n medium\n publisher\n saleMessage\n title\n isOfferable\n isAcquireable\n isOfferableFromInquiry\n attributionClass {\n name\n id\n }\n image {\n resized(width: 40, height: 40) {\n src\n srcSet\n width\n height\n }\n }\n conditionDescription {\n details\n }\n certificateOfAuthenticity {\n details\n }\n framed {\n details\n }\n dimensions {\n in\n cm\n }\n signatureInfo {\n details\n }\n editionSets {\n internalID\n editionOf\n isOfferableFromInquiry\n isOfferable\n isAcquireable\n listPrice {\n __typename\n ... on Money {\n display\n }\n ... on PriceRange {\n display\n }\n }\n dimensions {\n cm\n in\n }\n id\n }\n}\n\nfragment ConversationDetails_conversation on Conversation {\n orderConnection(first: 1, states: [APPROVED, FULFILLED, SUBMITTED, PROCESSING_APPROVAL, REFUNDED, CANCELED]) {\n edges {\n node {\n __typename\n ...ConversationOrderInformation_order\n id\n }\n }\n }\n ...ConversationArtwork_conversation\n ...ConversationAttachments_conversation\n}\n\nfragment ConversationHeader_conversation on Conversation {\n from {\n name\n id\n }\n to {\n name\n id\n }\n items {\n item {\n __typename\n ... on Artwork {\n internalID\n id\n slug\n date\n title\n artist {\n name\n id\n }\n image {\n url\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n orderConnection(first: 1, states: [APPROVED, FULFILLED, SUBMITTED, PROCESSING_APPROVAL, REFUNDED, CANCELED]) {\n edges {\n node {\n __typename\n ...ReviewOrderButton_order\n id\n }\n }\n }\n}\n\nfragment ConversationMessageArtwork_item on ConversationItemType {\n __isConversationItemType: __typename\n __typename\n ... on Artwork {\n internalID\n id\n date\n title\n artistNames\n href\n isOfferableFromInquiry\n image {\n resized(width: 1350) {\n url\n width\n height\n }\n aspectRatio\n }\n listPrice {\n __typename\n ... on Money {\n display\n }\n ... on PriceRange {\n display\n }\n }\n }\n}\n\nfragment ConversationMessage_message on Message {\n __typename\n id\n internalID\n attachments {\n internalID\n contentType\n downloadURL\n fileName\n id\n }\n body\n createdAt\n isMessageSentOnPlatform\n createdAtTime: createdAt(format: \"h:mmA\")\n deliveries {\n openedAt\n fullTransformedEmail\n id\n }\n isFromUser\n isFirstMessage\n from {\n name\n }\n to\n cc\n}\n\nfragment ConversationMessages_conversation on Conversation {\n fromLastViewedMessageID\n messagesConnection(first: 15, sort: DESC) {\n totalCount\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n edges {\n node {\n id\n internalID\n createdAt\n isFromUser\n ...ConversationMessage_message\n __typename\n }\n cursor\n }\n }\n inquiryRequest {\n formattedFirstMessage\n id\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n isOfferable\n isOfferableFromInquiry\n internalID\n }\n ...ConversationMessageArtwork_item\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n orderEvents: orderConnection(first: 10, states: [APPROVED, FULFILLED, SUBMITTED, REFUNDED, CANCELED, PROCESSING_APPROVAL], participantType: BUYER) {\n edges {\n node {\n __typename\n internalID\n updatedAt\n ... on CommerceOfferOrder {\n buyerAction\n }\n orderHistory {\n ...ConversationOrderUpdate_event\n __typename\n ... on CommerceOrderStateChangedEvent {\n createdAt\n orderUpdateState\n state\n stateReason\n }\n ... on CommerceOfferSubmittedEvent {\n createdAt\n offer {\n amount\n fromParticipant\n definesTotal\n offerAmountChanged\n respondsTo {\n fromParticipant\n id\n }\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment ConversationOrderInformation_order on CommerceOrder {\n __isCommerceOrder: __typename\n code\n state\n ...ConversationOrderState_state\n ...ReviewOrderButton_order\n ... on CommerceOfferOrder {\n lastOffer {\n amount(precision: 2)\n id\n }\n }\n}\n\nfragment ConversationOrderState_state on CommerceOrder {\n __isCommerceOrder: __typename\n state\n mode\n stateReason\n ... on CommerceOfferOrder {\n lastOffer {\n from {\n __typename\n }\n offerAmountChanged\n id\n }\n }\n ...ConversationStatusWithCounter_order\n}\n\nfragment ConversationOrderUpdate_event on CommerceOrderEventUnion {\n __isCommerceOrderEventUnion: __typename\n __typename\n ... on CommerceOrderStateChangedEvent {\n createdAt\n orderUpdateState\n state\n stateReason\n }\n ... on CommerceOfferSubmittedEvent {\n createdAt\n offer {\n amount\n fromParticipant\n definesTotal\n offerAmountChanged\n respondsTo {\n fromParticipant\n id\n }\n id\n }\n }\n}\n\nfragment ConversationReply_conversation on Conversation {\n ...ConversationCTA_conversation\n from {\n email\n id\n }\n internalID\n inquiryID\n items {\n item {\n __typename\n ... on Artwork {\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n lastMessageID\n}\n\nfragment ConversationReviewOfferCTA_conversation on Conversation {\n internalID\n activeOrders: orderConnection(first: 1, states: [APPROVED, PROCESSING_APPROVAL, FULFILLED, SUBMITTED, REFUNDED]) {\n edges {\n node {\n __typename\n internalID\n state\n stateReason\n stateExpiresAt\n stateUpdatedAt\n ... on CommerceOfferOrder {\n buyerAction\n lastOffer {\n createdAt\n id\n }\n offers(first: 5) {\n edges {\n node {\n internalID\n id\n }\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment ConversationStatusWithCounter_order on CommerceOrder {\n __isCommerceOrder: __typename\n stateExpiresAt\n stateUpdatedAt\n formattedStateExpiresAt: stateExpiresAt(format: \"MMM D, h:mm A zz\")\n}\n\nfragment ConversationsContext_viewer on Viewer {\n me {\n partnerOffersConnection(first: 100) {\n edges {\n node {\n artworkId\n endAt\n internalID\n isAvailable\n note\n priceWithDiscount {\n display\n }\n id\n }\n }\n }\n id\n }\n}\n\nfragment ConversationsSidebarItem_conversation on Conversation {\n internalID\n from {\n name\n id\n }\n fromUser {\n collectorProfile {\n confirmedBuyerAt\n id\n }\n id\n }\n to {\n name\n id\n }\n lastMessageAt(format: \"MMM D\")\n orderConnection(last: 1, states: [APPROVED, FULFILLED, SUBMITTED, PROCESSING_APPROVAL, REFUNDED]) {\n edges {\n node {\n __typename\n id\n }\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n title\n date\n isUnlisted\n artist {\n name\n id\n }\n image {\n url(version: [\"small\", \"square\"])\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n}\n\nfragment ConversationsSidebar_viewer_3ASum4 on Viewer {\n conversationsConnection(first: $first, type: USER) {\n edges {\n cursor\n node {\n internalID\n ...ConversationsSidebarItem_conversation\n id\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment ReviewOrderButton_order on CommerceOrder {\n __isCommerceOrder: __typename\n id\n state\n mode\n lineItems {\n edges {\n node {\n artwork {\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n from {\n __typename\n }\n offerAmountChanged\n id\n }\n }\n}\n\nfragment useConversationPurchaseButtonData_conversation on Conversation {\n internalID\n items {\n liveArtwork {\n __typename\n ... on Artwork {\n __typename\n isAcquireable\n isEdition\n internalID\n slug\n editionSets {\n internalID\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n}\n" + "text": "query conversationsRoutes_DetailQuery(\n $conversationId: String!\n $first: Int\n) {\n viewer {\n ...ConversationApp_viewer_3ASum4\n }\n conversation(id: $conversationId) {\n ...ConversationApp_conversation\n id\n }\n}\n\nfragment ConversationApp_conversation on Conversation {\n ...ConversationHeader_conversation\n ...ConversationDetails_conversation\n ...ConversationReply_conversation\n ...ConversationMessages_conversation\n}\n\nfragment ConversationApp_viewer_3ASum4 on Viewer {\n ...ConversationsSidebar_viewer_3ASum4\n ...ConversationsContext_viewer\n}\n\nfragment ConversationArtwork_conversation on Conversation {\n items {\n item {\n __typename\n ... on Artwork {\n id\n slug\n date\n title\n isUnlisted\n artist {\n name\n slug\n id\n }\n image {\n url\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n}\n\nfragment ConversationAttachments_conversation on Conversation {\n attachmentsConnection: messagesConnection(first: 30, sort: DESC) {\n edges {\n node {\n attachments {\n id\n contentType\n fileName\n downloadURL\n }\n id\n }\n }\n }\n}\n\nfragment ConversationCTA_conversation on Conversation {\n ...useConversationPurchaseButtonData_conversation\n ...ConversationReviewOfferCTA_conversation\n internalID\n items {\n liveArtwork {\n __typename\n ... on Artwork {\n ...ConversationConfirmModal_artwork\n __typename\n internalID\n isOfferableFromInquiry\n isAcquireable\n isOfferable\n published\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n item {\n __typename\n ... on Artwork {\n internalID\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n activeOrderCTA: orderConnection(first: 10, states: [APPROVED, PROCESSING_APPROVAL, FULFILLED, SUBMITTED, REFUNDED]) {\n edges {\n node {\n __typename\n internalID\n state\n stateReason\n stateExpiresAt\n ... on CommerceOfferOrder {\n buyerAction\n offers(first: 5) {\n edges {\n node {\n internalID\n id\n }\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment ConversationConfirmModal_artwork on Artwork {\n category\n artistNames\n date\n internalID\n isEdition\n manufacturer\n medium\n publisher\n saleMessage\n title\n isOfferable\n isAcquireable\n isOfferableFromInquiry\n attributionClass {\n name\n id\n }\n image {\n resized(width: 40, height: 40) {\n src\n srcSet\n width\n height\n }\n }\n conditionDescription {\n details\n }\n certificateOfAuthenticity {\n details\n }\n framed {\n details\n }\n dimensions {\n in\n cm\n }\n signatureInfo {\n details\n }\n editionSets {\n internalID\n editionOf\n isOfferableFromInquiry\n isOfferable\n isAcquireable\n listPrice {\n __typename\n ... on Money {\n display\n }\n ... on PriceRange {\n display\n }\n }\n dimensions {\n cm\n in\n }\n id\n }\n}\n\nfragment ConversationDetails_conversation on Conversation {\n orderConnection(first: 1, states: [APPROVED, FULFILLED, SUBMITTED, PROCESSING_APPROVAL, REFUNDED, CANCELED]) {\n edges {\n node {\n __typename\n ...ConversationOrderInformation_order\n id\n }\n }\n }\n ...ConversationArtwork_conversation\n ...ConversationAttachments_conversation\n}\n\nfragment ConversationHeader_conversation on Conversation {\n from {\n name\n id\n }\n to {\n name\n id\n }\n items {\n item {\n __typename\n ... on Artwork {\n internalID\n id\n slug\n date\n title\n artist {\n name\n id\n }\n image {\n url\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n orderConnection(first: 1, states: [APPROVED, FULFILLED, SUBMITTED, PROCESSING_APPROVAL, REFUNDED, CANCELED]) {\n edges {\n node {\n __typename\n ...ReviewOrderButton_order\n id\n }\n }\n }\n}\n\nfragment ConversationMessageArtwork_item on ConversationItemType {\n __isConversationItemType: __typename\n __typename\n ... on Artwork {\n internalID\n id\n date\n title\n artistNames\n href\n isOfferableFromInquiry\n image {\n resized(width: 1350) {\n url\n width\n height\n }\n aspectRatio\n }\n listPrice {\n __typename\n ... on Money {\n display\n }\n ... on PriceRange {\n display\n }\n }\n }\n}\n\nfragment ConversationMessage_message on Message {\n __typename\n id\n internalID\n attachments {\n internalID\n contentType\n downloadURL\n fileName\n id\n }\n body\n createdAt\n isMessageSentOnPlatform\n createdAtTime: createdAt(format: \"h:mmA\")\n deliveries {\n openedAt\n fullTransformedEmail\n id\n }\n isFromUser\n isFirstMessage\n from {\n name\n }\n to\n cc\n}\n\nfragment ConversationMessages_conversation on Conversation {\n fromLastViewedMessageID\n messagesConnection(first: 15, sort: DESC) {\n totalCount\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n edges {\n node {\n id\n internalID\n createdAt\n isFromUser\n ...ConversationMessage_message\n __typename\n }\n cursor\n }\n }\n inquiryRequest {\n formattedFirstMessage\n id\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n isOfferable\n isOfferableFromInquiry\n internalID\n }\n ...ConversationMessageArtwork_item\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n orderEvents: orderConnection(first: 10, states: [APPROVED, FULFILLED, SUBMITTED, REFUNDED, CANCELED, PROCESSING_APPROVAL], participantType: BUYER) {\n edges {\n node {\n __typename\n internalID\n updatedAt\n ... on CommerceOfferOrder {\n buyerAction\n }\n orderHistory {\n ...ConversationOrderUpdate_event\n __typename\n ... on CommerceOrderStateChangedEvent {\n createdAt\n orderUpdateState\n state\n stateReason\n }\n ... on CommerceOfferSubmittedEvent {\n createdAt\n offer {\n amount\n fromParticipant\n definesTotal\n offerAmountChanged\n respondsTo {\n fromParticipant\n id\n }\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment ConversationOrderInformation_order on CommerceOrder {\n __isCommerceOrder: __typename\n code\n state\n ...ConversationOrderState_state\n ...ReviewOrderButton_order\n ... on CommerceOfferOrder {\n lastOffer {\n amount(precision: 2)\n id\n }\n }\n}\n\nfragment ConversationOrderState_state on CommerceOrder {\n __isCommerceOrder: __typename\n state\n mode\n stateReason\n ... on CommerceOfferOrder {\n lastOffer {\n from {\n __typename\n }\n offerAmountChanged\n id\n }\n }\n ...ConversationStatusWithCounter_order\n}\n\nfragment ConversationOrderUpdate_event on CommerceOrderEventUnion {\n __isCommerceOrderEventUnion: __typename\n __typename\n ... on CommerceOrderStateChangedEvent {\n createdAt\n orderUpdateState\n state\n stateReason\n }\n ... on CommerceOfferSubmittedEvent {\n createdAt\n offer {\n amount\n fromParticipant\n definesTotal\n offerAmountChanged\n respondsTo {\n fromParticipant\n id\n }\n id\n }\n }\n}\n\nfragment ConversationReply_conversation on Conversation {\n ...ConversationCTA_conversation\n from {\n email\n id\n }\n internalID\n inquiryID\n items {\n item {\n __typename\n ... on Artwork {\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n lastMessageID\n}\n\nfragment ConversationReviewOfferCTA_conversation on Conversation {\n internalID\n activeOrders: orderConnection(first: 1, states: [APPROVED, PROCESSING_APPROVAL, FULFILLED, SUBMITTED, REFUNDED]) {\n edges {\n node {\n __typename\n internalID\n state\n stateReason\n stateExpiresAt\n stateUpdatedAt\n ... on CommerceOfferOrder {\n buyerAction\n lastOffer {\n createdAt\n id\n }\n offers(first: 5) {\n edges {\n node {\n internalID\n id\n }\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment ConversationStatusWithCounter_order on CommerceOrder {\n __isCommerceOrder: __typename\n stateExpiresAt\n stateUpdatedAt\n formattedStateExpiresAt: stateExpiresAt(format: \"MMM D, h:mm A zz\")\n}\n\nfragment ConversationsContext_viewer on Viewer {\n me {\n partnerOffersConnection(first: 100) {\n edges {\n node {\n artworkId\n endAt\n internalID\n isAvailable\n note\n priceWithDiscount {\n display\n }\n id\n }\n }\n }\n id\n }\n}\n\nfragment ConversationsSidebarItem_conversation on Conversation {\n internalID\n to {\n name\n id\n }\n lastMessageAt(format: \"MMM D\")\n orderConnection(last: 1, states: [APPROVED, FULFILLED, SUBMITTED, PROCESSING_APPROVAL, REFUNDED]) {\n edges {\n node {\n __typename\n id\n }\n }\n }\n items {\n item {\n __typename\n ... on Artwork {\n id\n title\n date\n isUnlisted\n artist {\n name\n id\n }\n image {\n url(version: [\"small\", \"square\"])\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n}\n\nfragment ConversationsSidebar_viewer_3ASum4 on Viewer {\n conversationsConnection(first: $first, type: USER) {\n edges {\n cursor\n node {\n internalID\n ...ConversationsSidebarItem_conversation\n id\n __typename\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment ReviewOrderButton_order on CommerceOrder {\n __isCommerceOrder: __typename\n id\n state\n mode\n lineItems {\n edges {\n node {\n artwork {\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n from {\n __typename\n }\n offerAmountChanged\n id\n }\n }\n}\n\nfragment useConversationPurchaseButtonData_conversation on Conversation {\n internalID\n items {\n liveArtwork {\n __typename\n ... on Artwork {\n __typename\n isAcquireable\n isEdition\n internalID\n slug\n editionSets {\n internalID\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n}\n" } }; })();