From c987cc2736c31b5a037dd1ef59b1829b8bc09ff6 Mon Sep 17 00:00:00 2001 From: Artsy Date: Wed, 3 Jul 2024 14:44:27 +0200 Subject: [PATCH] chore: update metaphysics graphql schema (#10450) --- data/schema.graphql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/data/schema.graphql b/data/schema.graphql index 1dd6c3808c0..ad7ec2d2e08 100644 --- a/data/schema.graphql +++ b/data/schema.graphql @@ -2362,6 +2362,7 @@ type Artwork implements Node & Searchable & Sellable { first: Int last: Int ): AuctionResultConnection + condition: ArtworkCondition conditionDescription: ArtworkInfoRow # Notes by a partner or MyCollection user on the artwork, can only be accessed by partner or the user that owns the artwork @@ -2718,6 +2719,19 @@ enum ArtworkAttributionClassType { UNKNOWN_EDITION } +type ArtworkCondition { + description: String + displayText: String + value: String +} + +enum ArtworkConditionEnumType { + EXCELLENT + FAIR + GOOD + VERY_GOOD +} + # A connection to a list of items. type ArtworkConnection implements ArtworkConnectionInterface { # A list of edges. @@ -13614,6 +13628,7 @@ input MyCollectionCreateArtworkInput { # The given location of the user as structured data collectorLocation: EditableLocation + condition: ArtworkConditionEnumType conditionDescription: String confidentialNotes: String costCurrencyCode: String @@ -13714,6 +13729,7 @@ input MyCollectionUpdateArtworkInput { # The given location of the user as structured data collectorLocation: EditableLocation + condition: ArtworkConditionEnumType conditionDescription: String confidentialNotes: String costCurrencyCode: String