Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Rebase changes
dominik-zeglenf440d33601a2
diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributes/ProductTypeAttributes.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributes/ProductTypeAttributes.tsxindex 112a4ff18f..cea716a5fb 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributes/ProductTypeAttributes.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributes/ProductTypeAttributes.tsx@@ -14,8 +14,8 @@ import Toggle from "../../../components/Toggle";import i18n from "../../../i18n";import { maybe, renderCollection } from "../../../misc";import {- ProductTypeDetails_productType_productAttributes_edges_node,- ProductTypeDetails_productType_variantAttributes_edges_node+ ProductTypeDetails_productType_productAttributes,+ ProductTypeDetails_productType_variantAttributes} from "../../types/ProductTypeDetails";import ProductTypeAttributeEditDialog, {FormData as ProductTypeAttributeEditDialogFormData@@ -23,8 +23,8 @@ import ProductTypeAttributeEditDialog, {interface ProductTypeAttributesProps {attributes:- | ProductTypeDetails_productType_productAttributes_edges_node[]- | ProductTypeDetails_productType_variantAttributes_edges_node[];+ | ProductTypeDetails_productType_productAttributes[]+ | ProductTypeDetails_productType_variantAttributes[];title: string;onAttributeAdd: (data: ProductTypeAttributeEditDialogFormData) => void;onAttributeUpdate: (diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsxindex 87e7bcefe3..da008f0cb8 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsx@@ -90,10 +90,10 @@ const ProductTypeDetailsPage = decorate<ProductTypeDetailsPageProps>(: false,name: maybe(() => productType.name) !== undefined ? productType.name : "",productAttributes:- maybe(() => productType.productAttributes.edges) !== undefined- ? productType.productAttributes.edges.map(edge => ({- label: edge.node.name,- value: edge.node.id+ maybe(() => productType.productAttributes) !== undefined+ ? productType.productAttributes.map(attribute => ({+ label: attribute.name,+ value: attribute.id})): [],taxRate:@@ -101,10 +101,10 @@ const ProductTypeDetailsPage = decorate<ProductTypeDetailsPageProps>(? productType.taxRate: null,variantAttributes:- maybe(() => productType.variantAttributes.edges) !== undefined- ? productType.variantAttributes.edges.map(edge => ({- label: edge.node.name,- value: edge.node.id+ maybe(() => productType.variantAttributes) !== undefined+ ? productType.variantAttributes.map(attribute => ({+ label: attribute.name,+ value: attribute.id})): [],weight: maybe(() => productType.weight.value)@@ -131,10 +131,8 @@ const ProductTypeDetailsPage = decorate<ProductTypeDetailsPageProps>(/><div className={classes.cardContainer}><ProductTypeAttributes- attributes={maybe(() =>- productType.productAttributes.edges.map(- edge => edge.node- )+ attributes={maybe(+ () => productType.productAttributes)}title={i18n.t("Product Attributes")}onAttributeAdd={onAttributeAdd}@@ -153,10 +151,8 @@ const ProductTypeDetailsPage = decorate<ProductTypeDetailsPageProps>({data.hasVariants && (<div className={classes.cardContainer}><ProductTypeAttributes- attributes={maybe(() =>- productType.variantAttributes.edges.map(- edge => edge.node- )+ attributes={maybe(+ () => productType.variantAttributes)}title={i18n.t("Variant Attributes")}onAttributeAdd={onAttributeAdd}diff --git a/saleor/static/dashboard-next/productTypes/fixtures.ts b/saleor/static/dashboard-next/productTypes/fixtures.tsindex 1d5c5493be..169f08b8f4 100644--- a/saleor/static/dashboard-next/productTypes/fixtures.ts+++ b/saleor/static/dashboard-next/productTypes/fixtures.ts@@ -1,60 +1,14 @@+import {+ ProductCreateData_productTypes_edges_node,+ ProductCreateData_productTypes_edges_node_productAttributes+} from "../products/types/ProductCreateData";import { TaxRateType } from "../types/globalTypes";import { ProductTypeDetails_productType } from "./types/ProductTypeDetails";import { ProductTypeList_productTypes_edges_node } from "./types/ProductTypeList";-export const productTypes: ProductTypeList_productTypes_edges_node[] = [+export const attributes: ProductCreateData_productTypes_edges_node_productAttributes[] = [{- __typename: "ProductType" as "ProductType",- hasVariants: true,- id: "UHJvZHVjdFR5cGU6NA==",- isShippingRequired: true,- name: "Candy",- taxRate: "FOODSTUFFS" as TaxRateType- },- {- __typename: "ProductType" as "ProductType",- hasVariants: false,- id: "UHJvZHVjdFR5cGU6NQ==",- isShippingRequired: false,- name: "E-books",- taxRate: "STANDARD" as TaxRateType- },- {- __typename: "ProductType" as "ProductType",- hasVariants: false,- id: "UHJvZHVjdFR5cGU6Mg==",- isShippingRequired: true,- name: "Mugs",- taxRate: "STANDARD" as TaxRateType- },- {- __typename: "ProductType" as "ProductType",- hasVariants: true,- id: "UHJvZHVjdFR5cGU6Mw==",- isShippingRequired: true,- name: "Coffee",- taxRate: "STANDARD" as TaxRateType- },- {- __typename: "ProductType" as "ProductType",- hasVariants: true,- id: "UHJvZHVjdFR5cGU6MQ==",- isShippingRequired: true,- name: "T-Shirt",- taxRate: "STANDARD" as TaxRateType- }-].map(productType => ({- __typename: "ProductType" as "ProductType",- ...productType-}));-export const productType: ProductTypeDetails_productType = {- __typename: "ProductType" as "ProductType",- hasVariants: false,- id: "UHJvZHVjdFR5cGU6NQ==",- isShippingRequired: false,- name: "E-books",- productAttributes: [- {+ node: {__typename: "Attribute" as "Attribute",id: "UHJvZHVjdEF0dHJpYnV0ZTo5",name: "Author",@@ -64,84 +18,13 @@ export const productType: ProductTypeDetails_productType = {__typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI0",name: "John Doe",- slug: "john-doe"- },- {- __typename: "AttributeValue" as "AttributeValue",- id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI1",- name: "Milionare Pirate",- slug: "milionare-pirate"- }- ]- },- {- __typename: "Attribute" as "Attribute",- id: "UHJvZHVjdEF0dHJpYnV0ZToxMQ==",- name: "Language",- slug: "language",- values: [- {- __typename: "AttributeValue" as "AttributeValue",- id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI4",- name: "English",- slug: "english"- },- {- __typename: "AttributeValue" as "AttributeValue",- id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI5",- name: "Pirate",- slug: "pirate"- }- ]- },- {- __typename: "Attribute" as "Attribute",- id: "UHJvZHVjdEF0dHJpYnV0ZToxMA==",- name: "Publisher",- slug: "publisher",- values: [- {- __typename: "AttributeValue" as "AttributeValue",- id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI2",- name: "Mirumee Press",- slug: "mirumee-press"- },- {- __typename: "AttributeValue" as "AttributeValue",- id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI3",- name: "Saleor Publishing",- slug: "saleor-publishing"- }- ]- }- ],- taxRate: "STANDARD" as TaxRateType,- variantAttributes: [],- weight: {- __typename: "Weight",- unit: "kg",- value: 7.82- }-};-export const attributes = [- {- node: {- __typename: "Attribute",- id: "UHJvZHVjdEF0dHJpYnV0ZTo5",- name: "Author",- slug: "author",- values: [- {- __typename: "AttributeValue",- id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI0",- name: "John Doe",slug: "john-doe",sortOrder: 0,type: "STRING",value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI1",name: "Milionare Pirate",slug: "milionare-pirate",@@ -154,13 +37,13 @@ export const attributes = [},{node: {- __typename: "Attribute",+ __typename: "Attribute" as "Attribute",id: "UHJvZHVjdEF0dHJpYnV0ZTo2",name: "Box Size",slug: "box-size",values: [{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE1",name: "100g",slug: "100g",@@ -169,7 +52,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE2",name: "250g",slug: "250g",@@ -178,7 +61,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE3",name: "500g",slug: "500g",@@ -187,7 +70,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE4",name: "1kg",slug: "1kg",@@ -200,13 +83,13 @@ export const attributes = [},{node: {- __typename: "Attribute",+ __typename: "Attribute" as "Attribute",id: "UHJvZHVjdEF0dHJpYnV0ZToz",name: "Brand",slug: "brand",values: [{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjY=",name: "Saleor",slug: "saleor",@@ -219,13 +102,13 @@ export const attributes = [},{node: {- __typename: "Attribute",+ __typename: "Attribute" as "Attribute",id: "UHJvZHVjdEF0dHJpYnV0ZTo4",name: "Candy Box Size",slug: "candy-box-size",values: [{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjIx",name: "100g",slug: "100g",@@ -234,7 +117,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjIy",name: "250g",slug: "250g",@@ -243,7 +126,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjIz",name: "500g",slug: "500g",@@ -256,13 +139,13 @@ export const attributes = [},{node: {- __typename: "Attribute",+ __typename: "Attribute" as "Attribute",id: "UHJvZHVjdEF0dHJpYnV0ZTo1",name: "Coffee Genre",slug: "coffee-genre",values: [{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjEz",name: "Arabica",slug: "arabica",@@ -271,7 +154,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE0",name: "Robusta",slug: "robusta",@@ -284,13 +167,13 @@ export const attributes = [},{node: {- __typename: "Attribute",+ __typename: "Attribute" as "Attribute",id: "UHJvZHVjdEF0dHJpYnV0ZToy",name: "Collar",slug: "collar",values: [{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjM=",name: "Round",slug: "round",@@ -299,7 +182,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjQ=",name: "V-Neck",slug: "v-neck",@@ -308,7 +191,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjU=",name: "Polo",slug: "polo",@@ -321,13 +204,13 @@ export const attributes = [},{node: {- __typename: "Attribute",+ __typename: "Attribute" as "Attribute",id: "UHJvZHVjdEF0dHJpYnV0ZTox",name: "Color",slug: "color",values: [{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE=",name: "Blue",slug: "blue",@@ -336,7 +219,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI=",name: "White",slug: "white",@@ -349,13 +232,13 @@ export const attributes = [},{node: {- __typename: "Attribute",+ __typename: "Attribute" as "Attribute",id: "UHJvZHVjdEF0dHJpYnV0ZToxMg==",name: "Cover",slug: "cover",values: [{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjMw",name: "Soft",slug: "soft",@@ -364,7 +247,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjMx",name: "Hard",slug: "hard",@@ -373,7 +256,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjMy",name: "Middle soft",slug: "middle-soft",@@ -382,7 +265,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjMz",name: "Middle hard",slug: "middle-hard",@@ -391,7 +274,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjM0",name: "Middle",slug: "middle",@@ -400,7 +283,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjM1",name: "Very hard",slug: "very-hard",@@ -413,13 +296,13 @@ export const attributes = [},{node: {- __typename: "Attribute",+ __typename: "Attribute" as "Attribute",id: "UHJvZHVjdEF0dHJpYnV0ZTo3",name: "Flavor",slug: "flavor",values: [{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE5",name: "Sour",slug: "sour",@@ -428,7 +311,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjIw",name: "Sweet",slug: "sweet",@@ -441,13 +324,13 @@ export const attributes = [},{node: {- __typename: "Attribute",+ __typename: "Attribute" as "Attribute",id: "UHJvZHVjdEF0dHJpYnV0ZToxMQ==",name: "Language",slug: "language",values: [{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI4",name: "English",slug: "english",@@ -456,7 +339,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI5",name: "Pirate",slug: "pirate",@@ -469,13 +352,13 @@ export const attributes = [},{node: {- __typename: "Attribute",+ __typename: "Attribute" as "Attribute",id: "UHJvZHVjdEF0dHJpYnV0ZToxMA==",name: "Publisher",slug: "publisher",values: [{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI2",name: "Mirumee Press",slug: "mirumee-press",@@ -484,7 +367,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI3",name: "Saleor Publishing",slug: "saleor-publishing",@@ -497,13 +380,13 @@ export const attributes = [},{node: {- __typename: "Attribute",+ __typename: "Attribute" as "Attribute",id: "UHJvZHVjdEF0dHJpYnV0ZTo0",name: "Size",slug: "size",values: [{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjc=",name: "XS",slug: "xs",@@ -512,7 +395,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjg=",name: "S",slug: "s",@@ -521,7 +404,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjk=",name: "M",slug: "m",@@ -530,7 +413,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjEw",name: "L",slug: "l",@@ -539,7 +422,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjEx",name: "XL",slug: "xl",@@ -548,7 +431,7 @@ export const attributes = [value: ""},{- __typename: "AttributeValue",+ __typename: "AttributeValue" as "AttributeValue",id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjEy",name: "XXL",slug: "xxl",@@ -560,3 +443,138 @@ export const attributes = [}}].map(edge => edge.node);++export const productTypes: Array<+ ProductCreateData_productTypes_edges_node &+ ProductTypeList_productTypes_edges_node+> = [+ {+ __typename: "ProductType" as "ProductType",+ hasVariants: true,+ id: "UHJvZHVjdFR5cGU6NA==",+ isShippingRequired: true,+ name: "Candy",+ productAttributes: [attributes[0]],+ taxRate: "FOODSTUFFS" as TaxRateType,+ variantAttributes: [attributes[1], attributes[2]]+ },+ {+ __typename: "ProductType" as "ProductType",+ hasVariants: false,+ id: "UHJvZHVjdFR5cGU6NQ==",+ isShippingRequired: false,+ name: "E-books",+ productAttributes: [attributes[5]],+ taxRate: "STANDARD" as TaxRateType,+ variantAttributes: [attributes[0], attributes[3]]+ },+ {+ __typename: "ProductType" as "ProductType",+ hasVariants: false,+ id: "UHJvZHVjdFR5cGU6Mg==",+ isShippingRequired: true,+ name: "Mugs",+ productAttributes: [attributes[7]],+ taxRate: "STANDARD" as TaxRateType,+ variantAttributes: [attributes[2], attributes[5]]+ },+ {+ __typename: "ProductType" as "ProductType",+ hasVariants: true,+ id: "UHJvZHVjdFR5cGU6Mw==",+ isShippingRequired: true,+ name: "Coffee",+ productAttributes: [attributes[8]],+ taxRate: "STANDARD" as TaxRateType,+ variantAttributes: [attributes[1], attributes[4]]+ },+ {+ __typename: "ProductType" as "ProductType",+ hasVariants: true,+ id: "UHJvZHVjdFR5cGU6MQ==",+ isShippingRequired: true,+ name: "T-Shirt",+ productAttributes: [attributes[4]],+ taxRate: "STANDARD" as TaxRateType,+ variantAttributes: [attributes[1], attributes[6]]+ }+].map(productType => ({+ __typename: "ProductType" as "ProductType",+ ...productType+}));+export const productType: ProductTypeDetails_productType = {+ __typename: "ProductType" as "ProductType",+ hasVariants: false,+ id: "UHJvZHVjdFR5cGU6NQ==",+ isShippingRequired: false,+ name: "E-books",+ productAttributes: [+ {+ __typename: "Attribute" as "Attribute",+ id: "UHJvZHVjdEF0dHJpYnV0ZTo5",+ name: "Author",+ slug: "author",+ values: [+ {+ __typename: "AttributeValue" as "AttributeValue",+ id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI0",+ name: "John Doe",+ slug: "john-doe"+ },+ {+ __typename: "AttributeValue" as "AttributeValue",+ id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI1",+ name: "Milionare Pirate",+ slug: "milionare-pirate"+ }+ ]+ },+ {+ __typename: "Attribute" as "Attribute",+ id: "UHJvZHVjdEF0dHJpYnV0ZToxMQ==",+ name: "Language",+ slug: "language",+ values: [+ {+ __typename: "AttributeValue" as "AttributeValue",+ id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI4",+ name: "English",+ slug: "english"+ },+ {+ __typename: "AttributeValue" as "AttributeValue",+ id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI5",+ name: "Pirate",+ slug: "pirate"+ }+ ]+ },+ {+ __typename: "Attribute" as "Attribute",+ id: "UHJvZHVjdEF0dHJpYnV0ZToxMA==",+ name: "Publisher",+ slug: "publisher",+ values: [+ {+ __typename: "AttributeValue" as "AttributeValue",+ id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI2",+ name: "Mirumee Press",+ slug: "mirumee-press"+ },+ {+ __typename: "AttributeValue" as "AttributeValue",+ id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI3",+ name: "Saleor Publishing",+ slug: "saleor-publishing"+ }+ ]+ }+ ],+ taxRate: "STANDARD" as TaxRateType,+ variantAttributes: [],+ weight: {+ __typename: "Weight",+ unit: "kg",+ value: 7.82+ }+};