Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update TS types
Marcin Gębalabddaeb6c4e34
diff --git a/saleor/static/dashboard-next/home/types/Home.ts b/saleor/static/dashboard-next/home/types/Home.tsindex 36830bcb0f..8b294bf8c3 100644--- a/saleor/static/dashboard-next/home/types/Home.ts+++ b/saleor/static/dashboard-next/home/types/Home.ts@@ -58,7 +58,7 @@ export interface Home_productTopToday_edges_node_attributes_value {export interface Home_productTopToday_edges_node_attributes {__typename: "SelectedAttribute";- value: Home_productTopToday_edges_node_attributes_value | null;+ value: Home_productTopToday_edges_node_attributes_value;}export interface Home_productTopToday_edges_node_product {diff --git a/saleor/static/dashboard-next/products/types/Product.ts b/saleor/static/dashboard-next/products/types/Product.tsindex 550afb6b62..43d80d0364 100644--- a/saleor/static/dashboard-next/products/types/Product.ts+++ b/saleor/static/dashboard-next/products/types/Product.ts@@ -80,8 +80,8 @@ export interface Product_attributes_value {export interface Product_attributes {__typename: "SelectedAttribute";- attribute: Product_attributes_attribute | null;- value: Product_attributes_value | null;+ attribute: Product_attributes_attribute;+ value: Product_attributes_value;}export interface Product_availability_priceRange_start_net {@@ -184,7 +184,7 @@ export interface Product {isPublished: boolean;chargeTaxes: boolean;availableOn: any | null;- attributes: (Product_attributes | null)[] | null;+ attributes: Product_attributes[];availability: Product_availability | null;images: Product_images | null;variants: Product_variants | null;diff --git a/saleor/static/dashboard-next/products/types/ProductCreate.ts b/saleor/static/dashboard-next/products/types/ProductCreate.tsindex f72d95f33c..e657e454e3 100644--- a/saleor/static/dashboard-next/products/types/ProductCreate.ts+++ b/saleor/static/dashboard-next/products/types/ProductCreate.ts@@ -88,8 +88,8 @@ export interface ProductCreate_productCreate_product_attributes_value {export interface ProductCreate_productCreate_product_attributes {__typename: "SelectedAttribute";- attribute: ProductCreate_productCreate_product_attributes_attribute | null;- value: ProductCreate_productCreate_product_attributes_value | null;+ attribute: ProductCreate_productCreate_product_attributes_attribute;+ value: ProductCreate_productCreate_product_attributes_value;}export interface ProductCreate_productCreate_product_availability_priceRange_start_net {@@ -192,7 +192,7 @@ export interface ProductCreate_productCreate_product {isPublished: boolean;chargeTaxes: boolean;availableOn: any | null;- attributes: (ProductCreate_productCreate_product_attributes | null)[] | null;+ attributes: ProductCreate_productCreate_product_attributes[];availability: ProductCreate_productCreate_product_availability | null;images: ProductCreate_productCreate_product_images | null;variants: ProductCreate_productCreate_product_variants | null;diff --git a/saleor/static/dashboard-next/products/types/ProductDetails.ts b/saleor/static/dashboard-next/products/types/ProductDetails.tsindex df311260f5..7a897a0c21 100644--- a/saleor/static/dashboard-next/products/types/ProductDetails.ts+++ b/saleor/static/dashboard-next/products/types/ProductDetails.ts@@ -80,8 +80,8 @@ export interface ProductDetails_product_attributes_value {export interface ProductDetails_product_attributes {__typename: "SelectedAttribute";- attribute: ProductDetails_product_attributes_attribute | null;- value: ProductDetails_product_attributes_value | null;+ attribute: ProductDetails_product_attributes_attribute;+ value: ProductDetails_product_attributes_value;}export interface ProductDetails_product_availability_priceRange_start_net {@@ -184,7 +184,7 @@ export interface ProductDetails_product {isPublished: boolean;chargeTaxes: boolean;availableOn: any | null;- attributes: (ProductDetails_product_attributes | null)[] | null;+ attributes: ProductDetails_product_attributes[];availability: ProductDetails_product_availability | null;images: ProductDetails_product_images | null;variants: ProductDetails_product_variants | null;diff --git a/saleor/static/dashboard-next/products/types/ProductImageCreate.ts b/saleor/static/dashboard-next/products/types/ProductImageCreate.tsindex 77b6bece2f..d0074824a8 100644--- a/saleor/static/dashboard-next/products/types/ProductImageCreate.ts+++ b/saleor/static/dashboard-next/products/types/ProductImageCreate.ts@@ -86,8 +86,8 @@ export interface ProductImageCreate_productImageCreate_product_attributes_valueexport interface ProductImageCreate_productImageCreate_product_attributes {__typename: "SelectedAttribute";- attribute: ProductImageCreate_productImageCreate_product_attributes_attribute | null;- value: ProductImageCreate_productImageCreate_product_attributes_value | null;+ attribute: ProductImageCreate_productImageCreate_product_attributes_attribute;+ value: ProductImageCreate_productImageCreate_product_attributes_value;}export interface ProductImageCreate_productImageCreate_product_availability_priceRange_start_net {@@ -190,7 +190,7 @@ export interface ProductImageCreate_productImageCreate_product {isPublished: boolean;chargeTaxes: boolean;availableOn: any | null;- attributes: (ProductImageCreate_productImageCreate_product_attributes | null)[] | null;+ attributes: ProductImageCreate_productImageCreate_product_attributes[];availability: ProductImageCreate_productImageCreate_product_availability | null;images: ProductImageCreate_productImageCreate_product_images | null;variants: ProductImageCreate_productImageCreate_product_variants | null;diff --git a/saleor/static/dashboard-next/products/types/ProductImageUpdate.ts b/saleor/static/dashboard-next/products/types/ProductImageUpdate.tsindex bea80a0b89..5563975d8c 100644--- a/saleor/static/dashboard-next/products/types/ProductImageUpdate.ts+++ b/saleor/static/dashboard-next/products/types/ProductImageUpdate.ts@@ -86,8 +86,8 @@ export interface ProductImageUpdate_productImageUpdate_product_attributes_valueexport interface ProductImageUpdate_productImageUpdate_product_attributes {__typename: "SelectedAttribute";- attribute: ProductImageUpdate_productImageUpdate_product_attributes_attribute | null;- value: ProductImageUpdate_productImageUpdate_product_attributes_value | null;+ attribute: ProductImageUpdate_productImageUpdate_product_attributes_attribute;+ value: ProductImageUpdate_productImageUpdate_product_attributes_value;}export interface ProductImageUpdate_productImageUpdate_product_availability_priceRange_start_net {@@ -190,7 +190,7 @@ export interface ProductImageUpdate_productImageUpdate_product {isPublished: boolean;chargeTaxes: boolean;availableOn: any | null;- attributes: (ProductImageUpdate_productImageUpdate_product_attributes | null)[] | null;+ attributes: ProductImageUpdate_productImageUpdate_product_attributes[];availability: ProductImageUpdate_productImageUpdate_product_availability | null;images: ProductImageUpdate_productImageUpdate_product_images | null;variants: ProductImageUpdate_productImageUpdate_product_variants | null;diff --git a/saleor/static/dashboard-next/products/types/ProductUpdate.ts b/saleor/static/dashboard-next/products/types/ProductUpdate.tsindex 4268c8469d..85cfdc5e29 100644--- a/saleor/static/dashboard-next/products/types/ProductUpdate.ts+++ b/saleor/static/dashboard-next/products/types/ProductUpdate.ts@@ -88,8 +88,8 @@ export interface ProductUpdate_productUpdate_product_attributes_value {export interface ProductUpdate_productUpdate_product_attributes {__typename: "SelectedAttribute";- attribute: ProductUpdate_productUpdate_product_attributes_attribute | null;- value: ProductUpdate_productUpdate_product_attributes_value | null;+ attribute: ProductUpdate_productUpdate_product_attributes_attribute;+ value: ProductUpdate_productUpdate_product_attributes_value;}export interface ProductUpdate_productUpdate_product_availability_priceRange_start_net {@@ -192,7 +192,7 @@ export interface ProductUpdate_productUpdate_product {isPublished: boolean;chargeTaxes: boolean;availableOn: any | null;- attributes: (ProductUpdate_productUpdate_product_attributes | null)[] | null;+ attributes: ProductUpdate_productUpdate_product_attributes[];availability: ProductUpdate_productUpdate_product_availability | null;images: ProductUpdate_productUpdate_product_images | null;variants: ProductUpdate_productUpdate_product_variants | null;diff --git a/saleor/static/dashboard-next/products/types/ProductVariant.ts b/saleor/static/dashboard-next/products/types/ProductVariant.tsindex cab86af61f..b8ececa4fe 100644--- a/saleor/static/dashboard-next/products/types/ProductVariant.ts+++ b/saleor/static/dashboard-next/products/types/ProductVariant.ts@@ -29,8 +29,8 @@ export interface ProductVariant_attributes_value {export interface ProductVariant_attributes {__typename: "SelectedAttribute";- attribute: ProductVariant_attributes_attribute | null;- value: ProductVariant_attributes_value | null;+ attribute: ProductVariant_attributes_attribute;+ value: ProductVariant_attributes_value;}export interface ProductVariant_costPrice {diff --git a/saleor/static/dashboard-next/products/types/ProductVariantDetails.ts b/saleor/static/dashboard-next/products/types/ProductVariantDetails.tsindex 1c5a2ffcc4..b751ae5204 100644--- a/saleor/static/dashboard-next/products/types/ProductVariantDetails.ts+++ b/saleor/static/dashboard-next/products/types/ProductVariantDetails.ts@@ -29,8 +29,8 @@ export interface ProductVariantDetails_productVariant_attributes_value {export interface ProductVariantDetails_productVariant_attributes {__typename: "SelectedAttribute";- attribute: ProductVariantDetails_productVariant_attributes_attribute | null;- value: ProductVariantDetails_productVariant_attributes_value | null;+ attribute: ProductVariantDetails_productVariant_attributes_attribute;+ value: ProductVariantDetails_productVariant_attributes_value;}export interface ProductVariantDetails_productVariant_costPrice {diff --git a/saleor/static/dashboard-next/products/types/VariantCreate.ts b/saleor/static/dashboard-next/products/types/VariantCreate.tsindex 8cb32e65fb..358615816b 100644--- a/saleor/static/dashboard-next/products/types/VariantCreate.ts+++ b/saleor/static/dashboard-next/products/types/VariantCreate.ts@@ -37,8 +37,8 @@ export interface VariantCreate_productVariantCreate_productVariant_attributes_vaexport interface VariantCreate_productVariantCreate_productVariant_attributes {__typename: "SelectedAttribute";- attribute: VariantCreate_productVariantCreate_productVariant_attributes_attribute | null;- value: VariantCreate_productVariantCreate_productVariant_attributes_value | null;+ attribute: VariantCreate_productVariantCreate_productVariant_attributes_attribute;+ value: VariantCreate_productVariantCreate_productVariant_attributes_value;}export interface VariantCreate_productVariantCreate_productVariant_costPrice {diff --git a/saleor/static/dashboard-next/products/types/VariantImageAssign.ts b/saleor/static/dashboard-next/products/types/VariantImageAssign.tsindex 45ca56b6da..9b2a73f7b5 100644--- a/saleor/static/dashboard-next/products/types/VariantImageAssign.ts+++ b/saleor/static/dashboard-next/products/types/VariantImageAssign.ts@@ -35,8 +35,8 @@ export interface VariantImageAssign_variantImageAssign_productVariant_attributesexport interface VariantImageAssign_variantImageAssign_productVariant_attributes {__typename: "SelectedAttribute";- attribute: VariantImageAssign_variantImageAssign_productVariant_attributes_attribute | null;- value: VariantImageAssign_variantImageAssign_productVariant_attributes_value | null;+ attribute: VariantImageAssign_variantImageAssign_productVariant_attributes_attribute;+ value: VariantImageAssign_variantImageAssign_productVariant_attributes_value;}export interface VariantImageAssign_variantImageAssign_productVariant_costPrice {diff --git a/saleor/static/dashboard-next/products/types/VariantImageUnassign.ts b/saleor/static/dashboard-next/products/types/VariantImageUnassign.tsindex 919444a8d6..5ff9a03343 100644--- a/saleor/static/dashboard-next/products/types/VariantImageUnassign.ts+++ b/saleor/static/dashboard-next/products/types/VariantImageUnassign.ts@@ -35,8 +35,8 @@ export interface VariantImageUnassign_variantImageUnassign_productVariant_attribexport interface VariantImageUnassign_variantImageUnassign_productVariant_attributes {__typename: "SelectedAttribute";- attribute: VariantImageUnassign_variantImageUnassign_productVariant_attributes_attribute | null;- value: VariantImageUnassign_variantImageUnassign_productVariant_attributes_value | null;+ attribute: VariantImageUnassign_variantImageUnassign_productVariant_attributes_attribute;+ value: VariantImageUnassign_variantImageUnassign_productVariant_attributes_value;}export interface VariantImageUnassign_variantImageUnassign_productVariant_costPrice {diff --git a/saleor/static/dashboard-next/products/types/VariantUpdate.ts b/saleor/static/dashboard-next/products/types/VariantUpdate.tsindex 88c0cbbbc4..0a1fe54fba 100644--- a/saleor/static/dashboard-next/products/types/VariantUpdate.ts+++ b/saleor/static/dashboard-next/products/types/VariantUpdate.ts@@ -37,8 +37,8 @@ export interface VariantUpdate_productVariantUpdate_productVariant_attributes_vaexport interface VariantUpdate_productVariantUpdate_productVariant_attributes {__typename: "SelectedAttribute";- attribute: VariantUpdate_productVariantUpdate_productVariant_attributes_attribute | null;- value: VariantUpdate_productVariantUpdate_productVariant_attributes_value | null;+ attribute: VariantUpdate_productVariantUpdate_productVariant_attributes_attribute;+ value: VariantUpdate_productVariantUpdate_productVariant_attributes_value;}export interface VariantUpdate_productVariantUpdate_productVariant_costPrice {