Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Generate schema and types

fowczarek0826a6417f6d
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index 107bb47d5a..55aed32464 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -19,7 +19,7 @@ type Address implements Node {
}
type AddressCreate {
- errors: [Error]
+ errors: [Error!]
address: Address
}
@@ -39,7 +39,7 @@ input AddressCreateInput {
}
type AddressDelete {
- errors: [Error]
+ errors: [Error!]
address: Address
}
@@ -58,7 +58,7 @@ input AddressInput {
}
type AddressUpdate {
- errors: [Error]
+ errors: [Error!]
address: Address
}
@@ -87,7 +87,7 @@ input AddressValidationInput {
}
type AssignNavigation {
- errors: [Error]
+ errors: [Error!]
menu: Menu
}
@@ -112,7 +112,7 @@ type AttributeCountableEdge {
}
type AttributeCreate {
- errors: [Error]
+ errors: [Error!]
attribute: Attribute
productType: ProductType
}
@@ -123,7 +123,7 @@ input AttributeCreateInput {
}
type AttributeDelete {
- errors: [Error]
+ errors: [Error!]
productType: ProductType
attribute: Attribute
}
@@ -136,7 +136,7 @@ enum AttributeTypeEnum {
}
type AttributeUpdate {
- errors: [Error]
+ errors: [Error!]
productType: ProductType
attribute: Attribute
}
@@ -157,7 +157,7 @@ type AttributeValue implements Node {
}
type AttributeValueCreate {
- errors: [Error]
+ errors: [Error!]
attribute: Attribute
attributeValue: AttributeValue
}
@@ -168,7 +168,7 @@ input AttributeValueCreateInput {
}
type AttributeValueDelete {
- errors: [Error]
+ errors: [Error!]
attribute: Attribute
attributeValue: AttributeValue
}
@@ -186,7 +186,7 @@ enum AttributeValueType {
}
type AttributeValueUpdate {
- errors: [Error]
+ errors: [Error!]
attribute: Attribute
attributeValue: AttributeValue
}
@@ -197,13 +197,13 @@ type AuthorizationKey {
}
type AuthorizationKeyAdd {
- errors: [Error]
+ errors: [Error!]
authorizationKey: AuthorizationKey
shop: Shop
}
type AuthorizationKeyDelete {
- errors: [Error]
+ errors: [Error!]
authorizationKey: AuthorizationKey
shop: Shop
}
@@ -246,12 +246,12 @@ type CategoryCountableEdge {
}
type CategoryCreate {
- errors: [Error]
+ errors: [Error!]
category: Category
}
type CategoryDelete {
- errors: [Error]
+ errors: [Error!]
category: Category
}
@@ -265,7 +265,7 @@ input CategoryInput {
}
type CategoryUpdate {
- errors: [Error]
+ errors: [Error!]
category: Category
}
@@ -294,12 +294,12 @@ type Checkout implements Node {
}
type CheckoutBillingAddressUpdate {
- errors: [Error]
+ errors: [Error!]
checkout: Checkout
}
type CheckoutComplete {
- errors: [Error]
+ errors: [Error!]
order: Order
}
@@ -315,7 +315,7 @@ type CheckoutCountableEdge {
}
type CheckoutCreate {
- errors: [Error]
+ errors: [Error!]
checkout: Checkout
}
@@ -326,17 +326,17 @@ input CheckoutCreateInput {
}
type CheckoutCustomerAttach {
- errors: [Error]
+ errors: [Error!]
checkout: Checkout
}
type CheckoutCustomerDetach {
- errors: [Error]
+ errors: [Error!]
checkout: Checkout
}
type CheckoutEmailUpdate {
- errors: [Error]
+ errors: [Error!]
checkout: Checkout
}
@@ -360,7 +360,7 @@ type CheckoutLineCountableEdge {
}
type CheckoutLineDelete {
- errors: [Error]
+ errors: [Error!]
checkout: Checkout
}
@@ -370,27 +370,27 @@ input CheckoutLineInput {
}
type CheckoutLinesAdd {
- errors: [Error]
+ errors: [Error!]
checkout: Checkout
}
type CheckoutLinesUpdate {
- errors: [Error]
+ errors: [Error!]
checkout: Checkout
}
type CheckoutPaymentCreate {
- errors: [Error]
+ errors: [Error!]
payment: Payment
}
type CheckoutShippingAddressUpdate {
- errors: [Error]
+ errors: [Error!]
checkout: Checkout
}
type CheckoutShippingMethodUpdate {
- errors: [Error]
+ errors: [Error!]
checkout: Checkout
}
@@ -412,7 +412,7 @@ type Collection implements Node {
}
type CollectionAddProducts {
- errors: [Error]
+ errors: [Error!]
collection: Collection
}
@@ -428,7 +428,7 @@ type CollectionCountableEdge {
}
type CollectionCreate {
- errors: [Error]
+ errors: [Error!]
collection: Collection
}
@@ -444,7 +444,7 @@ input CollectionCreateInput {
}
type CollectionDelete {
- errors: [Error]
+ errors: [Error!]
collection: Collection
}
@@ -459,12 +459,12 @@ input CollectionInput {
}
type CollectionRemoveProducts {
- errors: [Error]
+ errors: [Error!]
collection: Collection
}
type CollectionUpdate {
- errors: [Error]
+ errors: [Error!]
collection: Collection
}
@@ -489,12 +489,12 @@ type CreditCard {
}
type CustomerCreate {
- errors: [Error]
+ errors: [Error!]
user: User
}
type CustomerDelete {
- errors: [Error]
+ errors: [Error!]
user: User
}
@@ -509,7 +509,7 @@ input CustomerInput {
}
type CustomerPasswordReset {
- errors: [Error]
+ errors: [Error!]
}
input CustomerPasswordResetInput {
@@ -517,7 +517,7 @@ input CustomerPasswordResetInput {
}
type CustomerRegister {
- errors: [Error]
+ errors: [Error!]
user: User
}
@@ -527,7 +527,7 @@ input CustomerRegisterInput {
}
type CustomerUpdate {
- errors: [Error]
+ errors: [Error!]
user: User
}
@@ -549,12 +549,12 @@ type Domain {
}
type DraftOrderComplete {
- errors: [Error]
+ errors: [Error!]
order: Order
}
type DraftOrderCreate {
- errors: [Error]
+ errors: [Error!]
order: Order
}
@@ -570,7 +570,7 @@ input DraftOrderCreateInput {
}
type DraftOrderDelete {
- errors: [Error]
+ errors: [Error!]
order: Order
}
@@ -585,25 +585,25 @@ input DraftOrderInput {
}
type DraftOrderLineCreate {
- errors: [Error]
+ errors: [Error!]
order: Order
orderLine: OrderLine
}
type DraftOrderLineDelete {
- errors: [Error]
+ errors: [Error!]
order: Order
orderLine: OrderLine
}
type DraftOrderLineUpdate {
- errors: [Error]
+ errors: [Error!]
order: Order
orderLine: OrderLine
}
type DraftOrderUpdate {
- errors: [Error]
+ errors: [Error!]
order: Order
}
@@ -623,7 +623,7 @@ type Fulfillment implements Node {
}
type FulfillmentCancel {
- errors: [Error]
+ errors: [Error!]
fulfillment: Fulfillment
order: Order
}
@@ -633,7 +633,7 @@ input FulfillmentCancelInput {
}
type FulfillmentCreate {
- errors: [Error]
+ errors: [Error!]
fulfillment: Fulfillment
order: Order
}
@@ -661,7 +661,7 @@ enum FulfillmentStatus {
}
type FulfillmentUpdateTracking {
- errors: [Error]
+ errors: [Error!]
fulfillment: Fulfillment
order: Order
}
@@ -685,7 +685,7 @@ type Geolocalization {
}
type HomepageCollectionUpdate {
- errors: [Error]
+ errors: [Error!]
shop: Shop
}
@@ -702,7 +702,7 @@ type LanguageDisplay {
}
type LoggedUserUpdate {
- errors: [Error]
+ errors: [Error!]
user: User
}
@@ -730,7 +730,7 @@ type MenuCountableEdge {
}
type MenuCreate {
- errors: [Error]
+ errors: [Error!]
menu: Menu
}
@@ -740,7 +740,7 @@ input MenuCreateInput {
}
type MenuDelete {
- errors: [Error]
+ errors: [Error!]
menu: Menu
}
@@ -773,7 +773,7 @@ type MenuItemCountableEdge {
}
type MenuItemCreate {
- errors: [Error]
+ errors: [Error!]
menuItem: MenuItem
}
@@ -788,7 +788,7 @@ input MenuItemCreateInput {
}
type MenuItemDelete {
- errors: [Error]
+ errors: [Error!]
menuItem: MenuItem
}
@@ -801,12 +801,12 @@ input MenuItemInput {
}
type MenuItemUpdate {
- errors: [Error]
+ errors: [Error!]
menuItem: MenuItem
}
type MenuUpdate {
- errors: [Error]
+ errors: [Error!]
menu: Menu
}
@@ -995,7 +995,7 @@ enum OrderAction {
}
type OrderAddNote {
- errors: [Error]
+ errors: [Error!]
order: Order
event: OrderEvent
}
@@ -1005,12 +1005,12 @@ input OrderAddNoteInput {
}
type OrderCancel {
- errors: [Error]
+ errors: [Error!]
order: Order
}
type OrderCapture {
- errors: [Error]
+ errors: [Error!]
order: Order
}
@@ -1106,12 +1106,12 @@ input OrderLineInput {
}
type OrderMarkAsPaid {
- errors: [Error]
+ errors: [Error!]
order: Order
}
type OrderRefund {
- errors: [Error]
+ errors: [Error!]
order: Order
}
@@ -1129,7 +1129,7 @@ enum OrderStatusFilter {
}
type OrderUpdate {
- errors: [Error]
+ errors: [Error!]
order: Order
}
@@ -1140,7 +1140,7 @@ input OrderUpdateInput {
}
type OrderUpdateShipping {
- errors: [Error]
+ errors: [Error!]
order: Order
}
@@ -1149,7 +1149,7 @@ input OrderUpdateShippingInput {
}
type OrderVoid {
- errors: [Error]
+ errors: [Error!]
order: Order
}
@@ -1177,12 +1177,12 @@ type PageCountableEdge {
}
type PageCreate {
- errors: [Error]
+ errors: [Error!]
page: Page
}
type PageDelete {
- errors: [Error]
+ errors: [Error!]
page: Page
}
@@ -1203,12 +1203,12 @@ input PageInput {
}
type PageUpdate {
- errors: [Error]
+ errors: [Error!]
page: Page
}
type PasswordReset {
- errors: [Error]
+ errors: [Error!]
}
type Payment implements Node {
@@ -1240,17 +1240,17 @@ type Payment implements Node {
}
type PaymentAuthorize {
- errors: [Error]
+ errors: [Error!]
payment: Payment
}
type PaymentCapture {
- errors: [Error]
+ errors: [Error!]
payment: Payment
}
type PaymentCharge {
- errors: [Error]
+ errors: [Error!]
payment: Payment
}
@@ -1280,12 +1280,12 @@ input PaymentInput {
}
type PaymentRefund {
- errors: [Error]
+ errors: [Error!]
payment: Payment
}
type PaymentVoid {
- errors: [Error]
+ errors: [Error!]
payment: Payment
}
@@ -1357,7 +1357,7 @@ type ProductCountableEdge {
}
type ProductCreate {
- errors: [Error]
+ errors: [Error!]
product: Product
}
@@ -1378,7 +1378,7 @@ input ProductCreateInput {
}
type ProductDelete {
- errors: [Error]
+ errors: [Error!]
product: Product
}
@@ -1390,7 +1390,7 @@ type ProductImage implements Node {
}
type ProductImageCreate {
- errors: [Error]
+ errors: [Error!]
product: Product
image: ProductImage
}
@@ -1402,19 +1402,19 @@ input ProductImageCreateInput {
}
type ProductImageDelete {
- errors: [Error]
+ errors: [Error!]
product: Product
image: ProductImage
}
type ProductImageReorder {
- errors: [Error]
+ errors: [Error!]
product: Product
images: [ProductImage]
}
type ProductImageUpdate {
- errors: [Error]
+ errors: [Error!]
product: Product
image: ProductImage
}
@@ -1473,12 +1473,12 @@ type ProductTypeCountableEdge {
}
type ProductTypeCreate {
- errors: [Error]
+ errors: [Error!]
productType: ProductType
}
type ProductTypeDelete {
- errors: [Error]
+ errors: [Error!]
productType: ProductType
}
@@ -1493,12 +1493,12 @@ input ProductTypeInput {
}
type ProductTypeUpdate {
- errors: [Error]
+ errors: [Error!]
productType: ProductType
}
type ProductUpdate {
- errors: [Error]
+ errors: [Error!]
product: Product
}
@@ -1534,7 +1534,7 @@ type ProductVariantCountableEdge {
}
type ProductVariantCreate {
- errors: [Error]
+ errors: [Error!]
productVariant: ProductVariant
}
@@ -1550,7 +1550,7 @@ input ProductVariantCreateInput {
}
type ProductVariantDelete {
- errors: [Error]
+ errors: [Error!]
productVariant: ProductVariant
}
@@ -1565,7 +1565,7 @@ input ProductVariantInput {
}
type ProductVariantUpdate {
- errors: [Error]
+ errors: [Error!]
productVariant: ProductVariant
}
@@ -1653,12 +1653,12 @@ type SaleCountableEdge {
}
type SaleCreate {
- errors: [Error]
+ errors: [Error!]
sale: Sale
}
type SaleDelete {
- errors: [Error]
+ errors: [Error!]
sale: Sale
}
@@ -1679,7 +1679,7 @@ enum SaleType {
}
type SaleUpdate {
- errors: [Error]
+ errors: [Error!]
sale: Sale
}
@@ -1694,7 +1694,7 @@ input SeoInput {
}
type SetPassword {
- errors: [Error]
+ errors: [Error!]
user: User
}
@@ -1720,12 +1720,12 @@ enum ShippingMethodTypeEnum {
}
type ShippingPriceCreate {
- errors: [Error]
+ errors: [Error!]
shippingMethod: ShippingMethod
}
type ShippingPriceDelete {
- errors: [Error]
+ errors: [Error!]
shippingMethod: ShippingMethod
}
@@ -1741,7 +1741,7 @@ input ShippingPriceInput {
}
type ShippingPriceUpdate {
- errors: [Error]
+ errors: [Error!]
shippingMethod: ShippingMethod
}
@@ -1766,12 +1766,12 @@ type ShippingZoneCountableEdge {
}
type ShippingZoneCreate {
- errors: [Error]
+ errors: [Error!]
shippingZone: ShippingZone
}
type ShippingZoneDelete {
- errors: [Error]
+ errors: [Error!]
shippingZone: ShippingZone
}
@@ -1782,7 +1782,7 @@ input ShippingZoneInput {
}
type ShippingZoneUpdate {
- errors: [Error]
+ errors: [Error!]
shippingZone: ShippingZone
}
@@ -1809,7 +1809,7 @@ type Shop {
}
type ShopDomainUpdate {
- errors: [Error]
+ errors: [Error!]
shop: Shop
}
@@ -1823,7 +1823,7 @@ input ShopSettingsInput {
}
type ShopSettingsUpdate {
- errors: [Error]
+ errors: [Error!]
shop: Shop
}
@@ -1833,7 +1833,7 @@ input SiteDomainInput {
}
type StaffCreate {
- errors: [Error]
+ errors: [Error!]
user: User
}
@@ -1848,7 +1848,7 @@ input StaffCreateInput {
}
type StaffDelete {
- errors: [Error]
+ errors: [Error!]
user: User
}
@@ -1862,7 +1862,7 @@ input StaffInput {
}
type StaffUpdate {
- errors: [Error]
+ errors: [Error!]
user: User
}
@@ -1999,13 +1999,13 @@ type VAT {
}
type VariantImageAssign {
- errors: [Error]
+ errors: [Error!]
productVariant: ProductVariant
image: ProductImage
}
type VariantImageUnassign {
- errors: [Error]
+ errors: [Error!]
productVariant: ProductVariant
image: ProductImage
}
@@ -2299,12 +2299,12 @@ enum VoucherCountries {
}
type VoucherCreate {
- errors: [Error]
+ errors: [Error!]
voucher: Voucher
}
type VoucherDelete {
- errors: [Error]
+ errors: [Error!]
voucher: Voucher
}
@@ -2345,7 +2345,7 @@ enum VoucherTypeEnum {
}
type VoucherUpdate {
- errors: [Error]
+ errors: [Error!]
voucher: Voucher
}
diff --git a/saleor/static/dashboard-next/categories/types/CategoryCreate.ts b/saleor/static/dashboard-next/categories/types/CategoryCreate.ts
index e3e146196b..a16cb681a4 100644
--- a/saleor/static/dashboard-next/categories/types/CategoryCreate.ts
+++ b/saleor/static/dashboard-next/categories/types/CategoryCreate.ts
@@ -13,6 +13,12 @@ export interface CategoryCreate_categoryCreate_errors {
message: string | null;
}
+export interface CategoryCreate_categoryCreate_category_backgroundImage {
+ __typename: "Image";
+ alt: string | null;
+ url: string;
+}
+
export interface CategoryCreate_categoryCreate_category_parent {
__typename: "Category";
id: string;
@@ -21,6 +27,7 @@ export interface CategoryCreate_categoryCreate_category_parent {
export interface CategoryCreate_categoryCreate_category {
__typename: "Category";
id: string;
+ backgroundImage: CategoryCreate_categoryCreate_category_backgroundImage | null;
name: string;
description: string;
seoDescription: string | null;
@@ -30,7 +37,7 @@ export interface CategoryCreate_categoryCreate_category {
export interface CategoryCreate_categoryCreate {
__typename: "CategoryCreate";
- errors: (CategoryCreate_categoryCreate_errors | null)[] | null;
+ errors: CategoryCreate_categoryCreate_errors[] | null;
category: CategoryCreate_categoryCreate_category | null;
}
diff --git a/saleor/static/dashboard-next/categories/types/CategoryDelete.ts b/saleor/static/dashboard-next/categories/types/CategoryDelete.ts
index 63e1ccca77..142df72de3 100644
--- a/saleor/static/dashboard-next/categories/types/CategoryDelete.ts
+++ b/saleor/static/dashboard-next/categories/types/CategoryDelete.ts
@@ -13,7 +13,7 @@ export interface CategoryDelete_categoryDelete_errors {
export interface CategoryDelete_categoryDelete {
__typename: "CategoryDelete";
- errors: (CategoryDelete_categoryDelete_errors | null)[] | null;
+ errors: CategoryDelete_categoryDelete_errors[] | null;
}
export interface CategoryDelete {
diff --git a/saleor/static/dashboard-next/categories/types/CategoryDetails.ts b/saleor/static/dashboard-next/categories/types/CategoryDetails.ts
index 3825ec9c3b..ffa8233e25 100644
--- a/saleor/static/dashboard-next/categories/types/CategoryDetails.ts
+++ b/saleor/static/dashboard-next/categories/types/CategoryDetails.ts
@@ -5,17 +5,17 @@
// GraphQL query operation: CategoryDetails
// ====================================================
-export interface CategoryDetails_category_parent {
- __typename: "Category";
- id: string;
-}
-
export interface CategoryDetails_category_backgroundImage {
__typename: "Image";
alt: string | null;
url: string;
}
+export interface CategoryDetails_category_parent {
+ __typename: "Category";
+ id: string;
+}
+
export interface CategoryDetails_category_children_edges_node_children {
__typename: "CategoryCountableConnection";
totalCount: number | null;
@@ -99,12 +99,12 @@ export interface CategoryDetails_category_products {
export interface CategoryDetails_category {
__typename: "Category";
id: string;
+ backgroundImage: CategoryDetails_category_backgroundImage | null;
name: string;
description: string;
seoDescription: string | null;
seoTitle: string | null;
parent: CategoryDetails_category_parent | null;
- backgroundImage: CategoryDetails_category_backgroundImage | null;
children: CategoryDetails_category_children | null;
products: CategoryDetails_category_products | null;
}
diff --git a/saleor/static/dashboard-next/categories/types/CategoryDetailsFragment.ts b/saleor/static/dashboard-next/categories/types/CategoryDetailsFragment.ts
index 18ce0d538c..c171f6b69f 100644
--- a/saleor/static/dashboard-next/categories/types/CategoryDetailsFragment.ts
+++ b/saleor/static/dashboard-next/categories/types/CategoryDetailsFragment.ts
@@ -5,6 +5,12 @@
// GraphQL fragment: CategoryDetailsFragment
// ====================================================
+export interface CategoryDetailsFragment_backgroundImage {
+ __typename: "Image";
+ alt: string | null;
+ url: string;
+}
+
export interface CategoryDetailsFragment_parent {
__typename: "Category";
id: string;
@@ -13,6 +19,7 @@ export interface CategoryDetailsFragment_parent {
export interface CategoryDetailsFragment {
__typename: "Category";
id: string;
+ backgroundImage: CategoryDetailsFragment_backgroundImage | null;
name: string;
description: string;
seoDescription: string | null;
diff --git a/saleor/static/dashboard-next/categories/types/CategoryUpdate.ts b/saleor/static/dashboard-next/categories/types/CategoryUpdate.ts
index 0c81b619b0..f730a4356e 100644
--- a/saleor/static/dashboard-next/categories/types/CategoryUpdate.ts
+++ b/saleor/static/dashboard-next/categories/types/CategoryUpdate.ts
@@ -13,6 +13,12 @@ export interface CategoryUpdate_categoryUpdate_errors {
message: string | null;
}
+export interface CategoryUpdate_categoryUpdate_category_backgroundImage {
+ __typename: "Image";
+ alt: string | null;
+ url: string;
+}
+
export interface CategoryUpdate_categoryUpdate_category_parent {
__typename: "Category";
id: string;
@@ -21,6 +27,7 @@ export interface CategoryUpdate_categoryUpdate_category_parent {
export interface CategoryUpdate_categoryUpdate_category {
__typename: "Category";
id: string;
+ backgroundImage: CategoryUpdate_categoryUpdate_category_backgroundImage | null;
name: string;
description: string;
seoDescription: string | null;
@@ -30,7 +37,7 @@ export interface CategoryUpdate_categoryUpdate_category {
export interface CategoryUpdate_categoryUpdate {
__typename: "CategoryUpdate";
- errors: (CategoryUpdate_categoryUpdate_errors | null)[] | null;
+ errors: CategoryUpdate_categoryUpdate_errors[] | null;
category: CategoryUpdate_categoryUpdate_category | null;
}
diff --git a/saleor/static/dashboard-next/collections/types/AssignHomepageCollection.ts b/saleor/static/dashboard-next/collections/types/AssignHomepageCollection.ts
index 3c8785e113..48c9120092 100644
--- a/saleor/static/dashboard-next/collections/types/AssignHomepageCollection.ts
+++ b/saleor/static/dashboard-next/collections/types/AssignHomepageCollection.ts
@@ -23,7 +23,7 @@ export interface AssignHomepageCollection_homepageCollectionUpdate_shop {
export interface AssignHomepageCollection_homepageCollectionUpdate {
__typename: "HomepageCollectionUpdate";
- errors: (AssignHomepageCollection_homepageCollectionUpdate_errors | null)[] | null;
+ errors: AssignHomepageCollection_homepageCollectionUpdate_errors[] | null;
shop: AssignHomepageCollection_homepageCollectionUpdate_shop | null;
}
diff --git a/saleor/static/dashboard-next/collections/types/CollectionAssignProduct.ts b/saleor/static/dashboard-next/collections/types/CollectionAssignProduct.ts
index 582e1b82aa..1dd86d2747 100644
--- a/saleor/static/dashboard-next/collections/types/CollectionAssignProduct.ts
+++ b/saleor/static/dashboard-next/collections/types/CollectionAssignProduct.ts
@@ -53,7 +53,7 @@ export interface CollectionAssignProduct_collectionAddProducts_collection {
export interface CollectionAssignProduct_collectionAddProducts {
__typename: "CollectionAddProducts";
- errors: (CollectionAssignProduct_collectionAddProducts_errors | null)[] | null;
+ errors: CollectionAssignProduct_collectionAddProducts_errors[] | null;
collection: CollectionAssignProduct_collectionAddProducts_collection | null;
}
diff --git a/saleor/static/dashboard-next/collections/types/CollectionUpdate.ts b/saleor/static/dashboard-next/collections/types/CollectionUpdate.ts
index 6b62b17001..f110f83a42 100644
--- a/saleor/static/dashboard-next/collections/types/CollectionUpdate.ts
+++ b/saleor/static/dashboard-next/collections/types/CollectionUpdate.ts
@@ -32,7 +32,7 @@ export interface CollectionUpdate_collectionUpdate_collection {
export interface CollectionUpdate_collectionUpdate {
__typename: "CollectionUpdate";
- errors: (CollectionUpdate_collectionUpdate_errors | null)[] | null;
+ errors: CollectionUpdate_collectionUpdate_errors[] | null;
collection: CollectionUpdate_collectionUpdate_collection | null;
}
diff --git a/saleor/static/dashboard-next/collections/types/CreateCollection.ts b/saleor/static/dashboard-next/collections/types/CreateCollection.ts
index 9577fa61ba..3e6f869df5 100644
--- a/saleor/static/dashboard-next/collections/types/CreateCollection.ts
+++ b/saleor/static/dashboard-next/collections/types/CreateCollection.ts
@@ -32,7 +32,7 @@ export interface CreateCollection_collectionCreate_collection {
export interface CreateCollection_collectionCreate {
__typename: "CollectionCreate";
- errors: (CreateCollection_collectionCreate_errors | null)[] | null;
+ errors: CreateCollection_collectionCreate_errors[] | null;
collection: CreateCollection_collectionCreate_collection | null;
}
diff --git a/saleor/static/dashboard-next/collections/types/RemoveCollection.ts b/saleor/static/dashboard-next/collections/types/RemoveCollection.ts
index 16a69e5086..76c3191a3c 100644
--- a/saleor/static/dashboard-next/collections/types/RemoveCollection.ts
+++ b/saleor/static/dashboard-next/collections/types/RemoveCollection.ts
@@ -13,7 +13,7 @@ export interface RemoveCollection_collectionDelete_errors {
export interface RemoveCollection_collectionDelete {
__typename: "CollectionDelete";
- errors: (RemoveCollection_collectionDelete_errors | null)[] | null;
+ errors: RemoveCollection_collectionDelete_errors[] | null;
}
export interface RemoveCollection {
diff --git a/saleor/static/dashboard-next/collections/types/UnassignCollectionProduct.ts b/saleor/static/dashboard-next/collections/types/UnassignCollectionProduct.ts
index 411a8cb3a5..1395672db3 100644
--- a/saleor/static/dashboard-next/collections/types/UnassignCollectionProduct.ts
+++ b/saleor/static/dashboard-next/collections/types/UnassignCollectionProduct.ts
@@ -53,7 +53,7 @@ export interface UnassignCollectionProduct_collectionRemoveProducts_collection {
export interface UnassignCollectionProduct_collectionRemoveProducts {
__typename: "CollectionRemoveProducts";
- errors: (UnassignCollectionProduct_collectionRemoveProducts_errors | null)[] | null;
+ errors: UnassignCollectionProduct_collectionRemoveProducts_errors[] | null;
collection: UnassignCollectionProduct_collectionRemoveProducts_collection | null;
}
diff --git a/saleor/static/dashboard-next/customers/types/CreateCustomer.ts b/saleor/static/dashboard-next/customers/types/CreateCustomer.ts
index a1ce75a6e5..46610548fb 100644
--- a/saleor/static/dashboard-next/customers/types/CreateCustomer.ts
+++ b/saleor/static/dashboard-next/customers/types/CreateCustomer.ts
@@ -20,7 +20,7 @@ export interface CreateCustomer_customerCreate_user {
export interface CreateCustomer_customerCreate {
__typename: "CustomerCreate";
- errors: (CreateCustomer_customerCreate_errors | null)[] | null;
+ errors: CreateCustomer_customerCreate_errors[] | null;
user: CreateCustomer_customerCreate_user | null;
}
diff --git a/saleor/static/dashboard-next/customers/types/RemoveCustomer.ts b/saleor/static/dashboard-next/customers/types/RemoveCustomer.ts
index ab5b2a6634..cf178d8454 100644
--- a/saleor/static/dashboard-next/customers/types/RemoveCustomer.ts
+++ b/saleor/static/dashboard-next/customers/types/RemoveCustomer.ts
@@ -13,7 +13,7 @@ export interface RemoveCustomer_customerDelete_errors {
export interface RemoveCustomer_customerDelete {
__typename: "CustomerDelete";
- errors: (RemoveCustomer_customerDelete_errors | null)[] | null;
+ errors: RemoveCustomer_customerDelete_errors[] | null;
}
export interface RemoveCustomer {
diff --git a/saleor/static/dashboard-next/customers/types/UpdateCustomer.ts b/saleor/static/dashboard-next/customers/types/UpdateCustomer.ts
index 1344dfc6cf..d11153145e 100644
--- a/saleor/static/dashboard-next/customers/types/UpdateCustomer.ts
+++ b/saleor/static/dashboard-next/customers/types/UpdateCustomer.ts
@@ -73,7 +73,7 @@ export interface UpdateCustomer_customerUpdate_user {
export interface UpdateCustomer_customerUpdate {
__typename: "CustomerUpdate";
- errors: (UpdateCustomer_customerUpdate_errors | null)[] | null;
+ errors: UpdateCustomer_customerUpdate_errors[] | null;
user: UpdateCustomer_customerUpdate_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderAddNote.ts b/saleor/static/dashboard-next/orders/types/OrderAddNote.ts
index 8d5e039e09..5be1295441 100644
--- a/saleor/static/dashboard-next/orders/types/OrderAddNote.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderAddNote.ts
@@ -39,7 +39,7 @@ export interface OrderAddNote_orderAddNote_order {
export interface OrderAddNote_orderAddNote {
__typename: "OrderAddNote";
- errors: (OrderAddNote_orderAddNote_errors | null)[] | null;
+ errors: OrderAddNote_orderAddNote_errors[] | null;
order: OrderAddNote_orderAddNote_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderCancel.ts b/saleor/static/dashboard-next/orders/types/OrderCancel.ts
index 4681644876..de55ac2469 100644
--- a/saleor/static/dashboard-next/orders/types/OrderCancel.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderCancel.ts
@@ -256,7 +256,7 @@ export interface OrderCancel_orderCancel_order {
export interface OrderCancel_orderCancel {
__typename: "OrderCancel";
- errors: (OrderCancel_orderCancel_errors | null)[] | null;
+ errors: OrderCancel_orderCancel_errors[] | null;
order: OrderCancel_orderCancel_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderCapture.ts b/saleor/static/dashboard-next/orders/types/OrderCapture.ts
index 7249549674..2736c58482 100644
--- a/saleor/static/dashboard-next/orders/types/OrderCapture.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderCapture.ts
@@ -256,7 +256,7 @@ export interface OrderCapture_orderCapture_order {
export interface OrderCapture_orderCapture {
__typename: "OrderCapture";
- errors: (OrderCapture_orderCapture_errors | null)[] | null;
+ errors: OrderCapture_orderCapture_errors[] | null;
order: OrderCapture_orderCapture_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderCreateFulfillment.ts b/saleor/static/dashboard-next/orders/types/OrderCreateFulfillment.ts
index 083071ce64..8a8cff1b1d 100644
--- a/saleor/static/dashboard-next/orders/types/OrderCreateFulfillment.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderCreateFulfillment.ts
@@ -256,7 +256,7 @@ export interface OrderCreateFulfillment_orderFulfillmentCreate_order {
export interface OrderCreateFulfillment_orderFulfillmentCreate {
__typename: "FulfillmentCreate";
- errors: (OrderCreateFulfillment_orderFulfillmentCreate_errors | null)[] | null;
+ errors: OrderCreateFulfillment_orderFulfillmentCreate_errors[] | null;
order: OrderCreateFulfillment_orderFulfillmentCreate_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderDraftCancel.ts b/saleor/static/dashboard-next/orders/types/OrderDraftCancel.ts
index 895de232b3..15df68d6eb 100644
--- a/saleor/static/dashboard-next/orders/types/OrderDraftCancel.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderDraftCancel.ts
@@ -256,7 +256,7 @@ export interface OrderDraftCancel_draftOrderDelete_order {
export interface OrderDraftCancel_draftOrderDelete {
__typename: "DraftOrderDelete";
- errors: (OrderDraftCancel_draftOrderDelete_errors | null)[] | null;
+ errors: OrderDraftCancel_draftOrderDelete_errors[] | null;
order: OrderDraftCancel_draftOrderDelete_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderDraftCreate.ts b/saleor/static/dashboard-next/orders/types/OrderDraftCreate.ts
index fed6fd54db..976fe06f33 100644
--- a/saleor/static/dashboard-next/orders/types/OrderDraftCreate.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderDraftCreate.ts
@@ -18,7 +18,7 @@ export interface OrderDraftCreate_draftOrderCreate_order {
export interface OrderDraftCreate_draftOrderCreate {
__typename: "DraftOrderCreate";
- errors: (OrderDraftCreate_draftOrderCreate_errors | null)[] | null;
+ errors: OrderDraftCreate_draftOrderCreate_errors[] | null;
order: OrderDraftCreate_draftOrderCreate_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderDraftFinalize.ts b/saleor/static/dashboard-next/orders/types/OrderDraftFinalize.ts
index 1a3fab62da..703b6d9580 100644
--- a/saleor/static/dashboard-next/orders/types/OrderDraftFinalize.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderDraftFinalize.ts
@@ -256,7 +256,7 @@ export interface OrderDraftFinalize_draftOrderComplete_order {
export interface OrderDraftFinalize_draftOrderComplete {
__typename: "DraftOrderComplete";
- errors: (OrderDraftFinalize_draftOrderComplete_errors | null)[] | null;
+ errors: OrderDraftFinalize_draftOrderComplete_errors[] | null;
order: OrderDraftFinalize_draftOrderComplete_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderDraftUpdate.ts b/saleor/static/dashboard-next/orders/types/OrderDraftUpdate.ts
index d29e55770e..abbfa1c5ab 100644
--- a/saleor/static/dashboard-next/orders/types/OrderDraftUpdate.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderDraftUpdate.ts
@@ -256,7 +256,7 @@ export interface OrderDraftUpdate_draftOrderUpdate_order {
export interface OrderDraftUpdate_draftOrderUpdate {
__typename: "DraftOrderUpdate";
- errors: (OrderDraftUpdate_draftOrderUpdate_errors | null)[] | null;
+ errors: OrderDraftUpdate_draftOrderUpdate_errors[] | null;
order: OrderDraftUpdate_draftOrderUpdate_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderFulfillmentCancel.ts b/saleor/static/dashboard-next/orders/types/OrderFulfillmentCancel.ts
index f0d1b01604..6bb7d548e7 100644
--- a/saleor/static/dashboard-next/orders/types/OrderFulfillmentCancel.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderFulfillmentCancel.ts
@@ -256,7 +256,7 @@ export interface OrderFulfillmentCancel_orderFulfillmentCancel_order {
export interface OrderFulfillmentCancel_orderFulfillmentCancel {
__typename: "FulfillmentCancel";
- errors: (OrderFulfillmentCancel_orderFulfillmentCancel_errors | null)[] | null;
+ errors: OrderFulfillmentCancel_orderFulfillmentCancel_errors[] | null;
order: OrderFulfillmentCancel_orderFulfillmentCancel_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderFulfillmentUpdateTracking.ts b/saleor/static/dashboard-next/orders/types/OrderFulfillmentUpdateTracking.ts
index 12372958fb..484150047f 100644
--- a/saleor/static/dashboard-next/orders/types/OrderFulfillmentUpdateTracking.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderFulfillmentUpdateTracking.ts
@@ -256,7 +256,7 @@ export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_o
export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking {
__typename: "FulfillmentUpdateTracking";
- errors: (OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_errors | null)[] | null;
+ errors: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_errors[] | null;
order: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderLineAdd.ts b/saleor/static/dashboard-next/orders/types/OrderLineAdd.ts
index 4550c4b542..14d94a8db3 100644
--- a/saleor/static/dashboard-next/orders/types/OrderLineAdd.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderLineAdd.ts
@@ -256,7 +256,7 @@ export interface OrderLineAdd_draftOrderLineCreate_order {
export interface OrderLineAdd_draftOrderLineCreate {
__typename: "DraftOrderLineCreate";
- errors: (OrderLineAdd_draftOrderLineCreate_errors | null)[] | null;
+ errors: OrderLineAdd_draftOrderLineCreate_errors[] | null;
order: OrderLineAdd_draftOrderLineCreate_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderLineDelete.ts b/saleor/static/dashboard-next/orders/types/OrderLineDelete.ts
index dd0a7f95b8..a9768438aa 100644
--- a/saleor/static/dashboard-next/orders/types/OrderLineDelete.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderLineDelete.ts
@@ -256,7 +256,7 @@ export interface OrderLineDelete_draftOrderLineDelete_order {
export interface OrderLineDelete_draftOrderLineDelete {
__typename: "DraftOrderLineDelete";
- errors: (OrderLineDelete_draftOrderLineDelete_errors | null)[] | null;
+ errors: OrderLineDelete_draftOrderLineDelete_errors[] | null;
order: OrderLineDelete_draftOrderLineDelete_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderLineUpdate.ts b/saleor/static/dashboard-next/orders/types/OrderLineUpdate.ts
index 18a9abd386..d16349b5db 100644
--- a/saleor/static/dashboard-next/orders/types/OrderLineUpdate.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderLineUpdate.ts
@@ -256,7 +256,7 @@ export interface OrderLineUpdate_draftOrderLineUpdate_order {
export interface OrderLineUpdate_draftOrderLineUpdate {
__typename: "DraftOrderLineUpdate";
- errors: (OrderLineUpdate_draftOrderLineUpdate_errors | null)[] | null;
+ errors: OrderLineUpdate_draftOrderLineUpdate_errors[] | null;
order: OrderLineUpdate_draftOrderLineUpdate_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderMarkAsPaid.ts b/saleor/static/dashboard-next/orders/types/OrderMarkAsPaid.ts
index 03e62d7520..3e868f449f 100644
--- a/saleor/static/dashboard-next/orders/types/OrderMarkAsPaid.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderMarkAsPaid.ts
@@ -256,7 +256,7 @@ export interface OrderMarkAsPaid_orderMarkAsPaid_order {
export interface OrderMarkAsPaid_orderMarkAsPaid {
__typename: "OrderMarkAsPaid";
- errors: (OrderMarkAsPaid_orderMarkAsPaid_errors | null)[] | null;
+ errors: OrderMarkAsPaid_orderMarkAsPaid_errors[] | null;
order: OrderMarkAsPaid_orderMarkAsPaid_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderRefund.ts b/saleor/static/dashboard-next/orders/types/OrderRefund.ts
index e6155d3da5..ad8b1198cb 100644
--- a/saleor/static/dashboard-next/orders/types/OrderRefund.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderRefund.ts
@@ -256,7 +256,7 @@ export interface OrderRefund_orderRefund_order {
export interface OrderRefund_orderRefund {
__typename: "OrderRefund";
- errors: (OrderRefund_orderRefund_errors | null)[] | null;
+ errors: OrderRefund_orderRefund_errors[] | null;
order: OrderRefund_orderRefund_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderShippingMethodUpdate.ts b/saleor/static/dashboard-next/orders/types/OrderShippingMethodUpdate.ts
index 9a5350a45a..2edff1f7e6 100644
--- a/saleor/static/dashboard-next/orders/types/OrderShippingMethodUpdate.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderShippingMethodUpdate.ts
@@ -54,7 +54,7 @@ export interface OrderShippingMethodUpdate_orderUpdateShipping_order {
export interface OrderShippingMethodUpdate_orderUpdateShipping {
__typename: "OrderUpdateShipping";
- errors: (OrderShippingMethodUpdate_orderUpdateShipping_errors | null)[] | null;
+ errors: OrderShippingMethodUpdate_orderUpdateShipping_errors[] | null;
order: OrderShippingMethodUpdate_orderUpdateShipping_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderUpdate.ts b/saleor/static/dashboard-next/orders/types/OrderUpdate.ts
index 761ba71766..e7ea2e2822 100644
--- a/saleor/static/dashboard-next/orders/types/OrderUpdate.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderUpdate.ts
@@ -67,7 +67,7 @@ export interface OrderUpdate_orderUpdate_order {
export interface OrderUpdate_orderUpdate {
__typename: "OrderUpdate";
- errors: (OrderUpdate_orderUpdate_errors | null)[] | null;
+ errors: OrderUpdate_orderUpdate_errors[] | null;
order: OrderUpdate_orderUpdate_order | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderVoid.ts b/saleor/static/dashboard-next/orders/types/OrderVoid.ts
index 3a4d77c302..16c21e3a66 100644
--- a/saleor/static/dashboard-next/orders/types/OrderVoid.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderVoid.ts
@@ -256,7 +256,7 @@ export interface OrderVoid_orderVoid_order {
export interface OrderVoid_orderVoid {
__typename: "OrderVoid";
- errors: (OrderVoid_orderVoid_errors | null)[] | null;
+ errors: OrderVoid_orderVoid_errors[] | null;
order: OrderVoid_orderVoid_order | null;
}
diff --git a/saleor/static/dashboard-next/pages/types/PageCreate.ts b/saleor/static/dashboard-next/pages/types/PageCreate.ts
index 4cd9c5f753..70354f96ab 100644
--- a/saleor/static/dashboard-next/pages/types/PageCreate.ts
+++ b/saleor/static/dashboard-next/pages/types/PageCreate.ts
@@ -25,7 +25,7 @@ export interface PageCreate_pageCreate_errors {
export interface PageCreate_pageCreate {
__typename: "PageCreate";
page: PageCreate_pageCreate_page | null;
- errors: (PageCreate_pageCreate_errors | null)[] | null;
+ errors: PageCreate_pageCreate_errors[] | null;
}
export interface PageCreate {
diff --git a/saleor/static/dashboard-next/pages/types/PageDelete.ts b/saleor/static/dashboard-next/pages/types/PageDelete.ts
index 325b414d38..5324786d2b 100644
--- a/saleor/static/dashboard-next/pages/types/PageDelete.ts
+++ b/saleor/static/dashboard-next/pages/types/PageDelete.ts
@@ -13,7 +13,7 @@ export interface PageDelete_pageDelete_errors {
export interface PageDelete_pageDelete {
__typename: "PageDelete";
- errors: (PageDelete_pageDelete_errors | null)[] | null;
+ errors: PageDelete_pageDelete_errors[] | null;
}
export interface PageDelete {
diff --git a/saleor/static/dashboard-next/pages/types/PageUpdate.ts b/saleor/static/dashboard-next/pages/types/PageUpdate.ts
index 4d24f506a2..8e1bbe0267 100644
--- a/saleor/static/dashboard-next/pages/types/PageUpdate.ts
+++ b/saleor/static/dashboard-next/pages/types/PageUpdate.ts
@@ -24,7 +24,7 @@ export interface PageUpdate_pageUpdate_errors {
export interface PageUpdate_pageUpdate {
__typename: "PageUpdate";
page: PageUpdate_pageUpdate_page | null;
- errors: (PageUpdate_pageUpdate_errors | null)[] | null;
+ errors: PageUpdate_pageUpdate_errors[] | null;
}
export interface PageUpdate {
diff --git a/saleor/static/dashboard-next/productTypes/types/AttributeCreate.ts b/saleor/static/dashboard-next/productTypes/types/AttributeCreate.ts
index eeaf66b914..ae7f69da84 100644
--- a/saleor/static/dashboard-next/productTypes/types/AttributeCreate.ts
+++ b/saleor/static/dashboard-next/productTypes/types/AttributeCreate.ts
@@ -63,7 +63,7 @@ export interface AttributeCreate_attributeCreate_productType {
export interface AttributeCreate_attributeCreate {
__typename: "AttributeCreate";
- errors: (AttributeCreate_attributeCreate_errors | null)[] | null;
+ errors: AttributeCreate_attributeCreate_errors[] | null;
productType: AttributeCreate_attributeCreate_productType | null;
}
diff --git a/saleor/static/dashboard-next/productTypes/types/AttributeDelete.ts b/saleor/static/dashboard-next/productTypes/types/AttributeDelete.ts
index 034c90e6b6..98a4b0d531 100644
--- a/saleor/static/dashboard-next/productTypes/types/AttributeDelete.ts
+++ b/saleor/static/dashboard-next/productTypes/types/AttributeDelete.ts
@@ -63,7 +63,7 @@ export interface AttributeDelete_attributeDelete_productType {
export interface AttributeDelete_attributeDelete {
__typename: "AttributeDelete";
- errors: (AttributeDelete_attributeDelete_errors | null)[] | null;
+ errors: AttributeDelete_attributeDelete_errors[] | null;
productType: AttributeDelete_attributeDelete_productType | null;
}
diff --git a/saleor/static/dashboard-next/productTypes/types/AttributeUpdate.ts b/saleor/static/dashboard-next/productTypes/types/AttributeUpdate.ts
index ca7329f908..4230bc9b7b 100644
--- a/saleor/static/dashboard-next/productTypes/types/AttributeUpdate.ts
+++ b/saleor/static/dashboard-next/productTypes/types/AttributeUpdate.ts
@@ -30,7 +30,7 @@ export interface AttributeUpdate_attributeUpdate_attribute {
export interface AttributeUpdate_attributeUpdate {
__typename: "AttributeUpdate";
- errors: (AttributeUpdate_attributeUpdate_errors | null)[] | null;
+ errors: AttributeUpdate_attributeUpdate_errors[] | null;
attribute: AttributeUpdate_attributeUpdate_attribute | null;
}
diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeCreate.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeCreate.ts
index cf1780fab1..53a3c904c8 100644
--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeCreate.ts
+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeCreate.ts
@@ -63,7 +63,7 @@ export interface ProductTypeCreate_productTypeCreate_productType {
export interface ProductTypeCreate_productTypeCreate {
__typename: "ProductTypeCreate";
- errors: (ProductTypeCreate_productTypeCreate_errors | null)[] | null;
+ errors: ProductTypeCreate_productTypeCreate_errors[] | null;
productType: ProductTypeCreate_productTypeCreate_productType | null;
}
diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeDelete.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeDelete.ts
index ef13bbb5e7..e8b6e89d39 100644
--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeDelete.ts
+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeDelete.ts
@@ -18,7 +18,7 @@ export interface ProductTypeDelete_productTypeDelete_productType {
export interface ProductTypeDelete_productTypeDelete {
__typename: "ProductTypeDelete";
- errors: (ProductTypeDelete_productTypeDelete_errors | null)[] | null;
+ errors: ProductTypeDelete_productTypeDelete_errors[] | null;
productType: ProductTypeDelete_productTypeDelete_productType | null;
}
diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeUpdate.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeUpdate.ts
index d5c75ec5e6..471a65d46d 100644
--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeUpdate.ts
+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeUpdate.ts
@@ -63,7 +63,7 @@ export interface ProductTypeUpdate_productTypeUpdate_productType {
export interface ProductTypeUpdate_productTypeUpdate {
__typename: "ProductTypeUpdate";
- errors: (ProductTypeUpdate_productTypeUpdate_errors | null)[] | null;
+ errors: ProductTypeUpdate_productTypeUpdate_errors[] | null;
productType: ProductTypeUpdate_productTypeUpdate_productType | null;
}
diff --git a/saleor/static/dashboard-next/products/types/ProductCreate.ts b/saleor/static/dashboard-next/products/types/ProductCreate.ts
index b2f80721fa..c474a9b109 100644
--- a/saleor/static/dashboard-next/products/types/ProductCreate.ts
+++ b/saleor/static/dashboard-next/products/types/ProductCreate.ts
@@ -174,7 +174,7 @@ export interface ProductCreate_productCreate_product {
export interface ProductCreate_productCreate {
__typename: "ProductCreate";
- errors: (ProductCreate_productCreate_errors | null)[] | null;
+ errors: ProductCreate_productCreate_errors[] | null;
product: ProductCreate_productCreate_product | null;
}
diff --git a/saleor/static/dashboard-next/products/types/ProductDelete.ts b/saleor/static/dashboard-next/products/types/ProductDelete.ts
index 8126fd6b16..211f7dc44a 100644
--- a/saleor/static/dashboard-next/products/types/ProductDelete.ts
+++ b/saleor/static/dashboard-next/products/types/ProductDelete.ts
@@ -18,7 +18,7 @@ export interface ProductDelete_productDelete_product {
export interface ProductDelete_productDelete {
__typename: "ProductDelete";
- errors: (ProductDelete_productDelete_errors | null)[] | null;
+ errors: ProductDelete_productDelete_errors[] | null;
product: ProductDelete_productDelete_product | null;
}
diff --git a/saleor/static/dashboard-next/products/types/ProductImageCreate.ts b/saleor/static/dashboard-next/products/types/ProductImageCreate.ts
index 61a5ecb7ae..6c3b8c9c87 100644
--- a/saleor/static/dashboard-next/products/types/ProductImageCreate.ts
+++ b/saleor/static/dashboard-next/products/types/ProductImageCreate.ts
@@ -172,7 +172,7 @@ export interface ProductImageCreate_productImageCreate_product {
export interface ProductImageCreate_productImageCreate {
__typename: "ProductImageCreate";
- errors: (ProductImageCreate_productImageCreate_errors | null)[] | null;
+ errors: ProductImageCreate_productImageCreate_errors[] | null;
product: ProductImageCreate_productImageCreate_product | null;
}
diff --git a/saleor/static/dashboard-next/products/types/ProductImageReorder.ts b/saleor/static/dashboard-next/products/types/ProductImageReorder.ts
index 848f7f2e3d..6fe82e1d64 100644
--- a/saleor/static/dashboard-next/products/types/ProductImageReorder.ts
+++ b/saleor/static/dashboard-next/products/types/ProductImageReorder.ts
@@ -27,7 +27,7 @@ export interface ProductImageReorder_productImageReorder_product {
export interface ProductImageReorder_productImageReorder {
__typename: "ProductImageReorder";
- errors: (ProductImageReorder_productImageReorder_errors | null)[] | null;
+ errors: ProductImageReorder_productImageReorder_errors[] | null;
product: ProductImageReorder_productImageReorder_product | null;
}
diff --git a/saleor/static/dashboard-next/products/types/ProductImageUpdate.ts b/saleor/static/dashboard-next/products/types/ProductImageUpdate.ts
index f183bdc7d5..8d94ef2086 100644
--- a/saleor/static/dashboard-next/products/types/ProductImageUpdate.ts
+++ b/saleor/static/dashboard-next/products/types/ProductImageUpdate.ts
@@ -172,7 +172,7 @@ export interface ProductImageUpdate_productImageUpdate_product {
export interface ProductImageUpdate_productImageUpdate {
__typename: "ProductImageUpdate";
- errors: (ProductImageUpdate_productImageUpdate_errors | null)[] | null;
+ errors: ProductImageUpdate_productImageUpdate_errors[] | null;
product: ProductImageUpdate_productImageUpdate_product | null;
}
diff --git a/saleor/static/dashboard-next/products/types/ProductUpdate.ts b/saleor/static/dashboard-next/products/types/ProductUpdate.ts
index 4f51c1e9f4..fa98911d84 100644
--- a/saleor/static/dashboard-next/products/types/ProductUpdate.ts
+++ b/saleor/static/dashboard-next/products/types/ProductUpdate.ts
@@ -174,7 +174,7 @@ export interface ProductUpdate_productUpdate_product {
export interface ProductUpdate_productUpdate {
__typename: "ProductUpdate";
- errors: (ProductUpdate_productUpdate_errors | null)[] | null;
+ errors: ProductUpdate_productUpdate_errors[] | null;
product: ProductUpdate_productUpdate_product | null;
}
diff --git a/saleor/static/dashboard-next/products/types/SimpleProductUpdate.ts b/saleor/static/dashboard-next/products/types/SimpleProductUpdate.ts
index 4276b252be..2dc0060a90 100644
--- a/saleor/static/dashboard-next/products/types/SimpleProductUpdate.ts
+++ b/saleor/static/dashboard-next/products/types/SimpleProductUpdate.ts
@@ -174,7 +174,7 @@ export interface SimpleProductUpdate_productUpdate_product {
export interface SimpleProductUpdate_productUpdate {
__typename: "ProductUpdate";
- errors: (SimpleProductUpdate_productUpdate_errors | null)[] | null;
+ errors: SimpleProductUpdate_productUpdate_errors[] | null;
product: SimpleProductUpdate_productUpdate_product | null;
}
@@ -238,6 +238,11 @@ export interface SimpleProductUpdate_productVariantUpdate_productVariant_product
url: string;
}
+export interface SimpleProductUpdate_productVariantUpdate_productVariant_product_thumbnail {
+ __typename: "Image";
+ url: string;
+}
+
export interface SimpleProductUpdate_productVariantUpdate_productVariant_product_variants_images {
__typename: "ProductImage";
id: string;
@@ -257,7 +262,7 @@ export interface SimpleProductUpdate_productVariantUpdate_productVariant_product
id: string;
images: (SimpleProductUpdate_productVariantUpdate_productVariant_product_images | null)[] | null;
name: string;
- thumbnailUrl: string | null;
+ thumbnail: SimpleProductUpdate_productVariantUpdate_productVariant_product_thumbnail | null;
variants: (SimpleProductUpdate_productVariantUpdate_productVariant_product_variants | null)[] | null;
}
@@ -277,7 +282,7 @@ export interface SimpleProductUpdate_productVariantUpdate_productVariant {
export interface SimpleProductUpdate_productVariantUpdate {
__typename: "ProductVariantUpdate";
- errors: (SimpleProductUpdate_productVariantUpdate_errors | null)[] | null;
+ errors: SimpleProductUpdate_productVariantUpdate_errors[] | null;
productVariant: SimpleProductUpdate_productVariantUpdate_productVariant | null;
}
diff --git a/saleor/static/dashboard-next/products/types/VariantCreate.ts b/saleor/static/dashboard-next/products/types/VariantCreate.ts
index 3830e05147..191b5741eb 100644
--- a/saleor/static/dashboard-next/products/types/VariantCreate.ts
+++ b/saleor/static/dashboard-next/products/types/VariantCreate.ts
@@ -111,7 +111,7 @@ export interface VariantCreate_productVariantCreate_productVariant {
export interface VariantCreate_productVariantCreate {
__typename: "ProductVariantCreate";
- errors: (VariantCreate_productVariantCreate_errors | null)[] | null;
+ errors: VariantCreate_productVariantCreate_errors[] | null;
productVariant: VariantCreate_productVariantCreate_productVariant | null;
}
diff --git a/saleor/static/dashboard-next/products/types/VariantDelete.ts b/saleor/static/dashboard-next/products/types/VariantDelete.ts
index 1bb7c1b52f..5017220ad1 100644
--- a/saleor/static/dashboard-next/products/types/VariantDelete.ts
+++ b/saleor/static/dashboard-next/products/types/VariantDelete.ts
@@ -18,7 +18,7 @@ export interface VariantDelete_productVariantDelete_productVariant {
export interface VariantDelete_productVariantDelete {
__typename: "ProductVariantDelete";
- errors: (VariantDelete_productVariantDelete_errors | null)[] | null;
+ errors: VariantDelete_productVariantDelete_errors[] | null;
productVariant: VariantDelete_productVariantDelete_productVariant | null;
}
diff --git a/saleor/static/dashboard-next/products/types/VariantImageAssign.ts b/saleor/static/dashboard-next/products/types/VariantImageAssign.ts
index cdaa01b021..723c5876e5 100644
--- a/saleor/static/dashboard-next/products/types/VariantImageAssign.ts
+++ b/saleor/static/dashboard-next/products/types/VariantImageAssign.ts
@@ -109,7 +109,7 @@ export interface VariantImageAssign_variantImageAssign_productVariant {
export interface VariantImageAssign_variantImageAssign {
__typename: "VariantImageAssign";
- errors: (VariantImageAssign_variantImageAssign_errors | null)[] | null;
+ errors: VariantImageAssign_variantImageAssign_errors[] | null;
productVariant: VariantImageAssign_variantImageAssign_productVariant | null;
}
diff --git a/saleor/static/dashboard-next/products/types/VariantImageUnassign.ts b/saleor/static/dashboard-next/products/types/VariantImageUnassign.ts
index 4887e45ef5..e1f9feedd0 100644
--- a/saleor/static/dashboard-next/products/types/VariantImageUnassign.ts
+++ b/saleor/static/dashboard-next/products/types/VariantImageUnassign.ts
@@ -109,7 +109,7 @@ export interface VariantImageUnassign_variantImageUnassign_productVariant {
export interface VariantImageUnassign_variantImageUnassign {
__typename: "VariantImageUnassign";
- errors: (VariantImageUnassign_variantImageUnassign_errors | null)[] | null;
+ errors: VariantImageUnassign_variantImageUnassign_errors[] | null;
productVariant: VariantImageUnassign_variantImageUnassign_productVariant | null;
}
diff --git a/saleor/static/dashboard-next/products/types/VariantUpdate.ts b/saleor/static/dashboard-next/products/types/VariantUpdate.ts
index 014f6c057d..8411d18338 100644
--- a/saleor/static/dashboard-next/products/types/VariantUpdate.ts
+++ b/saleor/static/dashboard-next/products/types/VariantUpdate.ts
@@ -111,7 +111,7 @@ export interface VariantUpdate_productVariantUpdate_productVariant {
export interface VariantUpdate_productVariantUpdate {
__typename: "ProductVariantUpdate";
- errors: (VariantUpdate_productVariantUpdate_errors | null)[] | null;
+ errors: VariantUpdate_productVariantUpdate_errors[] | null;
productVariant: VariantUpdate_productVariantUpdate_productVariant | null;
}
diff --git a/saleor/static/dashboard-next/siteSettings/types/AuthorizationKeyAdd.ts b/saleor/static/dashboard-next/siteSettings/types/AuthorizationKeyAdd.ts
index ffcf0a0390..8ff3be9ca1 100644
--- a/saleor/static/dashboard-next/siteSettings/types/AuthorizationKeyAdd.ts
+++ b/saleor/static/dashboard-next/siteSettings/types/AuthorizationKeyAdd.ts
@@ -34,7 +34,7 @@ export interface AuthorizationKeyAdd_authorizationKeyAdd_shop {
export interface AuthorizationKeyAdd_authorizationKeyAdd {
__typename: "AuthorizationKeyAdd";
- errors: (AuthorizationKeyAdd_authorizationKeyAdd_errors | null)[] | null;
+ errors: AuthorizationKeyAdd_authorizationKeyAdd_errors[] | null;
shop: AuthorizationKeyAdd_authorizationKeyAdd_shop | null;
}
diff --git a/saleor/static/dashboard-next/siteSettings/types/AuthorizationKeyDelete.ts b/saleor/static/dashboard-next/siteSettings/types/AuthorizationKeyDelete.ts
index 8a6f95ec6d..64cf32603b 100644
--- a/saleor/static/dashboard-next/siteSettings/types/AuthorizationKeyDelete.ts
+++ b/saleor/static/dashboard-next/siteSettings/types/AuthorizationKeyDelete.ts
@@ -34,7 +34,7 @@ export interface AuthorizationKeyDelete_authorizationKeyDelete_shop {
export interface AuthorizationKeyDelete_authorizationKeyDelete {
__typename: "AuthorizationKeyDelete";
- errors: (AuthorizationKeyDelete_authorizationKeyDelete_errors | null)[] | null;
+ errors: AuthorizationKeyDelete_authorizationKeyDelete_errors[] | null;
shop: AuthorizationKeyDelete_authorizationKeyDelete_shop | null;
}
diff --git a/saleor/static/dashboard-next/siteSettings/types/ShopSettingsUpdate.ts b/saleor/static/dashboard-next/siteSettings/types/ShopSettingsUpdate.ts
index 765b3ae2b4..4fc927ec09 100644
--- a/saleor/static/dashboard-next/siteSettings/types/ShopSettingsUpdate.ts
+++ b/saleor/static/dashboard-next/siteSettings/types/ShopSettingsUpdate.ts
@@ -34,7 +34,7 @@ export interface ShopSettingsUpdate_shopSettingsUpdate_shop {
export interface ShopSettingsUpdate_shopSettingsUpdate {
__typename: "ShopSettingsUpdate";
- errors: (ShopSettingsUpdate_shopSettingsUpdate_errors | null)[] | null;
+ errors: ShopSettingsUpdate_shopSettingsUpdate_errors[] | null;
shop: ShopSettingsUpdate_shopSettingsUpdate_shop | null;
}
@@ -57,7 +57,7 @@ export interface ShopSettingsUpdate_shopDomainUpdate_shop {
export interface ShopSettingsUpdate_shopDomainUpdate {
__typename: "ShopDomainUpdate";
- errors: (ShopSettingsUpdate_shopDomainUpdate_errors | null)[] | null;
+ errors: ShopSettingsUpdate_shopDomainUpdate_errors[] | null;
shop: ShopSettingsUpdate_shopDomainUpdate_shop | null;
}
diff --git a/saleor/static/dashboard-next/staff/types/StaffMemberAdd.ts b/saleor/static/dashboard-next/staff/types/StaffMemberAdd.ts
index 0f1c074fb7..62b9a7402d 100644
--- a/saleor/static/dashboard-next/staff/types/StaffMemberAdd.ts
+++ b/saleor/static/dashboard-next/staff/types/StaffMemberAdd.ts
@@ -31,7 +31,7 @@ export interface StaffMemberAdd_staffCreate_user {
export interface StaffMemberAdd_staffCreate {
__typename: "StaffCreate";
- errors: (StaffMemberAdd_staffCreate_errors | null)[] | null;
+ errors: StaffMemberAdd_staffCreate_errors[] | null;
user: StaffMemberAdd_staffCreate_user | null;
}
diff --git a/saleor/static/dashboard-next/staff/types/StaffMemberDelete.ts b/saleor/static/dashboard-next/staff/types/StaffMemberDelete.ts
index 6b9b6f8f38..2899a624d4 100644
--- a/saleor/static/dashboard-next/staff/types/StaffMemberDelete.ts
+++ b/saleor/static/dashboard-next/staff/types/StaffMemberDelete.ts
@@ -13,7 +13,7 @@ export interface StaffMemberDelete_staffDelete_errors {
export interface StaffMemberDelete_staffDelete {
__typename: "StaffDelete";
- errors: (StaffMemberDelete_staffDelete_errors | null)[] | null;
+ errors: StaffMemberDelete_staffDelete_errors[] | null;
}
export interface StaffMemberDelete {
diff --git a/saleor/static/dashboard-next/staff/types/StaffMemberUpdate.ts b/saleor/static/dashboard-next/staff/types/StaffMemberUpdate.ts
index 72a6b252f6..5e410e74d8 100644
--- a/saleor/static/dashboard-next/staff/types/StaffMemberUpdate.ts
+++ b/saleor/static/dashboard-next/staff/types/StaffMemberUpdate.ts
@@ -31,7 +31,7 @@ export interface StaffMemberUpdate_staffUpdate_user {
export interface StaffMemberUpdate_staffUpdate {
__typename: "StaffUpdate";
- errors: (StaffMemberUpdate_staffUpdate_errors | null)[] | null;
+ errors: StaffMemberUpdate_staffUpdate_errors[] | null;
user: StaffMemberUpdate_staffUpdate_user | null;
}