Skip to content

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

Update fixtures

dominik-zeglen7ee7f6c272a7
diff --git a/saleor/static/dashboard-next/productTypes/fixtures.ts b/saleor/static/dashboard-next/productTypes/fixtures.ts
index 02fc5c05a9..1d5c5493be 100644
--- a/saleor/static/dashboard-next/productTypes/fixtures.ts
+++ b/saleor/static/dashboard-next/productTypes/fixtures.ts
@@ -126,13 +126,13 @@ export const productType: ProductTypeDetails_productType = {
export const attributes = [
{
node: {
- __typename: "ProductAttribute",
+ __typename: "Attribute",
id: "UHJvZHVjdEF0dHJpYnV0ZTo5",
name: "Author",
slug: "author",
values: [
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI0",
name: "John Doe",
slug: "john-doe",
@@ -141,7 +141,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI1",
name: "Milionare Pirate",
slug: "milionare-pirate",
@@ -154,13 +154,13 @@ export const attributes = [
},
{
node: {
- __typename: "ProductAttribute",
+ __typename: "Attribute",
id: "UHJvZHVjdEF0dHJpYnV0ZTo2",
name: "Box Size",
slug: "box-size",
values: [
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE1",
name: "100g",
slug: "100g",
@@ -169,7 +169,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE2",
name: "250g",
slug: "250g",
@@ -178,7 +178,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE3",
name: "500g",
slug: "500g",
@@ -187,7 +187,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE4",
name: "1kg",
slug: "1kg",
@@ -200,13 +200,13 @@ export const attributes = [
},
{
node: {
- __typename: "ProductAttribute",
+ __typename: "Attribute",
id: "UHJvZHVjdEF0dHJpYnV0ZToz",
name: "Brand",
slug: "brand",
values: [
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjY=",
name: "Saleor",
slug: "saleor",
@@ -219,13 +219,13 @@ export const attributes = [
},
{
node: {
- __typename: "ProductAttribute",
+ __typename: "Attribute",
id: "UHJvZHVjdEF0dHJpYnV0ZTo4",
name: "Candy Box Size",
slug: "candy-box-size",
values: [
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjIx",
name: "100g",
slug: "100g",
@@ -234,7 +234,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjIy",
name: "250g",
slug: "250g",
@@ -243,7 +243,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjIz",
name: "500g",
slug: "500g",
@@ -256,13 +256,13 @@ export const attributes = [
},
{
node: {
- __typename: "ProductAttribute",
+ __typename: "Attribute",
id: "UHJvZHVjdEF0dHJpYnV0ZTo1",
name: "Coffee Genre",
slug: "coffee-genre",
values: [
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjEz",
name: "Arabica",
slug: "arabica",
@@ -271,7 +271,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE0",
name: "Robusta",
slug: "robusta",
@@ -284,13 +284,13 @@ export const attributes = [
},
{
node: {
- __typename: "ProductAttribute",
+ __typename: "Attribute",
id: "UHJvZHVjdEF0dHJpYnV0ZToy",
name: "Collar",
slug: "collar",
values: [
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjM=",
name: "Round",
slug: "round",
@@ -299,7 +299,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjQ=",
name: "V-Neck",
slug: "v-neck",
@@ -308,7 +308,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjU=",
name: "Polo",
slug: "polo",
@@ -321,13 +321,13 @@ export const attributes = [
},
{
node: {
- __typename: "ProductAttribute",
+ __typename: "Attribute",
id: "UHJvZHVjdEF0dHJpYnV0ZTox",
name: "Color",
slug: "color",
values: [
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE=",
name: "Blue",
slug: "blue",
@@ -336,7 +336,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI=",
name: "White",
slug: "white",
@@ -349,13 +349,13 @@ export const attributes = [
},
{
node: {
- __typename: "ProductAttribute",
+ __typename: "Attribute",
id: "UHJvZHVjdEF0dHJpYnV0ZToxMg==",
name: "Cover",
slug: "cover",
values: [
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjMw",
name: "Soft",
slug: "soft",
@@ -364,7 +364,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjMx",
name: "Hard",
slug: "hard",
@@ -373,7 +373,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjMy",
name: "Middle soft",
slug: "middle-soft",
@@ -382,7 +382,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjMz",
name: "Middle hard",
slug: "middle-hard",
@@ -391,7 +391,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjM0",
name: "Middle",
slug: "middle",
@@ -400,7 +400,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjM1",
name: "Very hard",
slug: "very-hard",
@@ -413,13 +413,13 @@ export const attributes = [
},
{
node: {
- __typename: "ProductAttribute",
+ __typename: "Attribute",
id: "UHJvZHVjdEF0dHJpYnV0ZTo3",
name: "Flavor",
slug: "flavor",
values: [
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE5",
name: "Sour",
slug: "sour",
@@ -428,7 +428,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjIw",
name: "Sweet",
slug: "sweet",
@@ -441,13 +441,13 @@ export const attributes = [
},
{
node: {
- __typename: "ProductAttribute",
+ __typename: "Attribute",
id: "UHJvZHVjdEF0dHJpYnV0ZToxMQ==",
name: "Language",
slug: "language",
values: [
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI4",
name: "English",
slug: "english",
@@ -456,7 +456,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI5",
name: "Pirate",
slug: "pirate",
@@ -469,13 +469,13 @@ export const attributes = [
},
{
node: {
- __typename: "ProductAttribute",
+ __typename: "Attribute",
id: "UHJvZHVjdEF0dHJpYnV0ZToxMA==",
name: "Publisher",
slug: "publisher",
values: [
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI2",
name: "Mirumee Press",
slug: "mirumee-press",
@@ -484,7 +484,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI3",
name: "Saleor Publishing",
slug: "saleor-publishing",
@@ -497,13 +497,13 @@ export const attributes = [
},
{
node: {
- __typename: "ProductAttribute",
+ __typename: "Attribute",
id: "UHJvZHVjdEF0dHJpYnV0ZTo0",
name: "Size",
slug: "size",
values: [
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjc=",
name: "XS",
slug: "xs",
@@ -512,7 +512,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjg=",
name: "S",
slug: "s",
@@ -521,7 +521,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjk=",
name: "M",
slug: "m",
@@ -530,7 +530,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjEw",
name: "L",
slug: "l",
@@ -539,7 +539,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjEx",
name: "XL",
slug: "xl",
@@ -548,7 +548,7 @@ export const attributes = [
value: ""
},
{
- __typename: "ProductAttributeValue",
+ __typename: "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjEy",
name: "XXL",
slug: "xxl",