From 3283ffbda1963bf1a5310950880c54ca4bc9daa9 Mon Sep 17 00:00:00 2001 From: Artsy Date: Tue, 16 Jul 2024 14:54:55 +0200 Subject: [PATCH] chore: update metaphysics graphql schema (#14211) --- data/schema.graphql | 18 ++++++++++++++++++ .../CreateConsignSubmissionMutation.graphql.ts | 4 +++- .../UpdateConsignSubmissionMutation.graphql.ts | 4 +++- .../useCreateSubmissionMutation.graphql.ts | 4 +++- .../useUpdateSubmissionMutation.graphql.ts | 4 +++- 5 files changed, 30 insertions(+), 4 deletions(-) diff --git a/data/schema.graphql b/data/schema.graphql index a1a7984648e..8443083b7a9 100644 --- a/data/schema.graphql +++ b/data/schema.graphql @@ -7024,6 +7024,8 @@ type ConsignmentSubmission { # Uniq ID for this submission id: ID! internalID: ID + locationAddress: String + locationAddress2: String locationCity: String locationCountry: String locationCountryCode: String @@ -7311,6 +7313,18 @@ enum ConsignmentSubmissionSort { # sort by literature in descending order LITERATURE_DESC + # sort by location_address in ascending order + LOCATION_ADDRESS_ASC + + # sort by location_address in descending order + LOCATION_ADDRESS_DESC + + # sort by location_address2 in ascending order + LOCATION_ADDRESS2_ASC + + # sort by location_address2 in descending order + LOCATION_ADDRESS2_DESC + # sort by location_city in ascending order LOCATION_CITY_ASC @@ -8418,6 +8432,8 @@ input CreateSubmissionMutationInput { editionSize: Int editionSizeFormatted: String height: String + locationAddress: String + locationAddress2: String locationCity: String locationCountry: String locationCountryCode: String @@ -20277,6 +20293,8 @@ input UpdateSubmissionMutationInput { externalId: ID height: String id: ID + locationAddress: String + locationAddress2: String locationCity: String locationCountry: String locationCountryCode: String diff --git a/src/__generated__/CreateConsignSubmissionMutation.graphql.ts b/src/__generated__/CreateConsignSubmissionMutation.graphql.ts index 4e1a0fb0785..7034fcb99e3 100644 --- a/src/__generated__/CreateConsignSubmissionMutation.graphql.ts +++ b/src/__generated__/CreateConsignSubmissionMutation.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<179fb4f637d17a1672cfd4fc55501498>> * @lightSyntaxTransform * @nogrep */ @@ -30,6 +30,8 @@ export type CreateSubmissionMutationInput = { editionSize?: number | null | undefined; editionSizeFormatted?: string | null | undefined; height?: string | null | undefined; + locationAddress?: string | null | undefined; + locationAddress2?: string | null | undefined; locationCity?: string | null | undefined; locationCountry?: string | null | undefined; locationCountryCode?: string | null | undefined; diff --git a/src/__generated__/UpdateConsignSubmissionMutation.graphql.ts b/src/__generated__/UpdateConsignSubmissionMutation.graphql.ts index 2c7f19da9c1..72011145db4 100644 --- a/src/__generated__/UpdateConsignSubmissionMutation.graphql.ts +++ b/src/__generated__/UpdateConsignSubmissionMutation.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<7363f0346b3ddc8b5bfe87cc7ffdf902>> + * @generated SignedSource<<346561df05680df1d3d862bd4da3867f>> * @lightSyntaxTransform * @nogrep */ @@ -29,6 +29,8 @@ export type UpdateSubmissionMutationInput = { externalId?: string | null | undefined; height?: string | null | undefined; id?: string | null | undefined; + locationAddress?: string | null | undefined; + locationAddress2?: string | null | undefined; locationCity?: string | null | undefined; locationCountry?: string | null | undefined; locationCountryCode?: string | null | undefined; diff --git a/src/__generated__/useCreateSubmissionMutation.graphql.ts b/src/__generated__/useCreateSubmissionMutation.graphql.ts index a80c479e23a..91a0fef860a 100644 --- a/src/__generated__/useCreateSubmissionMutation.graphql.ts +++ b/src/__generated__/useCreateSubmissionMutation.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<4e6a47af4df2830361057d337c243c75>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -30,6 +30,8 @@ export type CreateSubmissionMutationInput = { editionSize?: number | null | undefined; editionSizeFormatted?: string | null | undefined; height?: string | null | undefined; + locationAddress?: string | null | undefined; + locationAddress2?: string | null | undefined; locationCity?: string | null | undefined; locationCountry?: string | null | undefined; locationCountryCode?: string | null | undefined; diff --git a/src/__generated__/useUpdateSubmissionMutation.graphql.ts b/src/__generated__/useUpdateSubmissionMutation.graphql.ts index 5e6f6d637fb..2d7219223c1 100644 --- a/src/__generated__/useUpdateSubmissionMutation.graphql.ts +++ b/src/__generated__/useUpdateSubmissionMutation.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -29,6 +29,8 @@ export type UpdateSubmissionMutationInput = { externalId?: string | null | undefined; height?: string | null | undefined; id?: string | null | undefined; + locationAddress?: string | null | undefined; + locationAddress2?: string | null | undefined; locationCity?: string | null | undefined; locationCountry?: string | null | undefined; locationCountryCode?: string | null | undefined;