Skip to content

Commit

Permalink
Update metaphysics schema
Browse files Browse the repository at this point in the history
  • Loading branch information
artsyit committed Dec 11, 2020
1 parent 168bd59 commit d78f098
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions data/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1582,6 +1582,24 @@ type ArtworkMeta {
title: String
}

type ArtworkMutationDeleteSuccess {
success: Boolean
}

type ArtworkMutationFailure {
mutationError: GravityMutationError
}

type ArtworkMutationSuccess {
artwork: Artwork
artworkEdge: ArtworkEdgeInterface
}

union ArtworkMutationType =
ArtworkMutationDeleteSuccess
| ArtworkMutationFailure
| ArtworkMutationSuccess

union ArtworkOrEditionSetType = Artwork | EditionSet

# The results for one of the requested aggregations
Expand Down Expand Up @@ -5127,6 +5145,17 @@ type DeepZoomImageSize {
Width: Int
}

input DeleteArtworkImageInput {
artworkID: String!
clientMutationId: String
imageID: String!
}

type DeleteArtworkImagePayload {
artworkOrError: ArtworkMutationType
clientMutationId: String
}

input DeleteCreditCardInput {
clientMutationId: String
id: String!
Expand Down Expand Up @@ -7457,6 +7486,9 @@ type Mutation {
): CreateSmsSecondFactorPayload
createViewingRoom(input: CreateViewingRoomInput!): CreateViewingRoomPayload

# Deletes an image from an artwork in my collection
deleteArtworkImage(input: DeleteArtworkImageInput!): DeleteArtworkImagePayload

# Remove a credit card
deleteCreditCard(input: DeleteCreditCardInput!): DeleteCreditCardPayload
deleteViewingRoom(input: DeleteViewingRoomInput!): DeleteViewingRoomPayload
Expand Down Expand Up @@ -8659,6 +8691,12 @@ type Query {
width: String
): FilterArtworksConnection

# An auction result
auctionResult(
# The ID of the auction result
id: String!
): AuctionResult

# A city-based entry point for local discovery
city(
# A point which will be used to locate the nearest local discovery city within a threshold
Expand Down Expand Up @@ -10949,6 +10987,12 @@ type Viewer {
width: String
): FilterArtworksConnection

# An auction result
auctionResult(
# The ID of the auction result
id: String!
): AuctionResult

# A city-based entry point for local discovery
city(
# A point which will be used to locate the nearest local discovery city within a threshold
Expand Down

0 comments on commit d78f098

Please sign in to comment.