Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add visibility fields to attribute fragment
dominik-zeglen5837bafd7be4
diff --git a/saleor/static/dashboard-next/attributes/queries.ts b/saleor/static/dashboard-next/attributes/queries.tsindex bec2fcaaf3..2633cfb934 100644--- a/saleor/static/dashboard-next/attributes/queries.ts+++ b/saleor/static/dashboard-next/attributes/queries.ts@@ -12,6 +12,9 @@ export const attributeFragment = gql`idnameslug+ visibleInStorefront+ filterableInDashboard+ filterableInStorefront}`;@@ -20,6 +23,7 @@ export const attributeDetailsFragment = gql`fragment AttributeDetailsFragment on Attribute {...AttributeFragmentinputType+ storefrontSearchPositionvalues {idnamediff --git a/saleor/static/dashboard-next/attributes/types/AttributeCreate.ts b/saleor/static/dashboard-next/attributes/types/AttributeCreate.tsindex c1461dc98e..a1c9bf24c9 100644--- a/saleor/static/dashboard-next/attributes/types/AttributeCreate.ts+++ b/saleor/static/dashboard-next/attributes/types/AttributeCreate.ts@@ -29,7 +29,11 @@ export interface AttributeCreate_attributeCreate_attribute {id: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;inputType: AttributeInputTypeEnum | null;+ storefrontSearchPosition: number | null;values: (AttributeCreate_attributeCreate_attribute_values | null)[] | null;}diff --git a/saleor/static/dashboard-next/attributes/types/AttributeDetails.ts b/saleor/static/dashboard-next/attributes/types/AttributeDetails.tsindex 0bdcf6636f..4681577803 100644--- a/saleor/static/dashboard-next/attributes/types/AttributeDetails.ts+++ b/saleor/static/dashboard-next/attributes/types/AttributeDetails.ts@@ -23,7 +23,11 @@ export interface AttributeDetails_attribute {id: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;inputType: AttributeInputTypeEnum | null;+ storefrontSearchPosition: number | null;values: (AttributeDetails_attribute_values | null)[] | null;}diff --git a/saleor/static/dashboard-next/attributes/types/AttributeDetailsFragment.ts b/saleor/static/dashboard-next/attributes/types/AttributeDetailsFragment.tsindex 7115a88bdb..0746b51e4b 100644--- a/saleor/static/dashboard-next/attributes/types/AttributeDetailsFragment.ts+++ b/saleor/static/dashboard-next/attributes/types/AttributeDetailsFragment.ts@@ -23,6 +23,10 @@ export interface AttributeDetailsFragment {id: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;inputType: AttributeInputTypeEnum | null;+ storefrontSearchPosition: number | null;values: (AttributeDetailsFragment_values | null)[] | null;}diff --git a/saleor/static/dashboard-next/attributes/types/AttributeFragment.ts b/saleor/static/dashboard-next/attributes/types/AttributeFragment.tsindex 7c7d927ead..24a42f0a84 100644--- a/saleor/static/dashboard-next/attributes/types/AttributeFragment.ts+++ b/saleor/static/dashboard-next/attributes/types/AttributeFragment.ts@@ -11,4 +11,7 @@ export interface AttributeFragment {id: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;}diff --git a/saleor/static/dashboard-next/attributes/types/AttributeList.ts b/saleor/static/dashboard-next/attributes/types/AttributeList.tsindex dbd918720e..70abb10988 100644--- a/saleor/static/dashboard-next/attributes/types/AttributeList.ts+++ b/saleor/static/dashboard-next/attributes/types/AttributeList.ts@@ -11,6 +11,9 @@ export interface AttributeList_attributes_edges_node {id: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;}export interface AttributeList_attributes_edges {diff --git a/saleor/static/dashboard-next/attributes/types/AttributeUpdate.ts b/saleor/static/dashboard-next/attributes/types/AttributeUpdate.tsindex 692843b32d..8e3ccb759d 100644--- a/saleor/static/dashboard-next/attributes/types/AttributeUpdate.ts+++ b/saleor/static/dashboard-next/attributes/types/AttributeUpdate.ts@@ -29,7 +29,11 @@ export interface AttributeUpdate_attributeUpdate_attribute {id: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;inputType: AttributeInputTypeEnum | null;+ storefrontSearchPosition: number | null;values: (AttributeUpdate_attributeUpdate_attribute_values | null)[] | null;}diff --git a/saleor/static/dashboard-next/attributes/types/AttributeValueCreate.ts b/saleor/static/dashboard-next/attributes/types/AttributeValueCreate.tsindex 2fd60d2f1d..e18fa3eed6 100644--- a/saleor/static/dashboard-next/attributes/types/AttributeValueCreate.ts+++ b/saleor/static/dashboard-next/attributes/types/AttributeValueCreate.ts@@ -29,7 +29,11 @@ export interface AttributeValueCreate_attributeValueCreate_attribute {id: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;inputType: AttributeInputTypeEnum | null;+ storefrontSearchPosition: number | null;values: (AttributeValueCreate_attributeValueCreate_attribute_values | null)[] | null;}diff --git a/saleor/static/dashboard-next/attributes/types/AttributeValueDelete.ts b/saleor/static/dashboard-next/attributes/types/AttributeValueDelete.tsindex 224e480d63..10b15a8df8 100644--- a/saleor/static/dashboard-next/attributes/types/AttributeValueDelete.ts+++ b/saleor/static/dashboard-next/attributes/types/AttributeValueDelete.ts@@ -29,7 +29,11 @@ export interface AttributeValueDelete_attributeValueDelete_attribute {id: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;inputType: AttributeInputTypeEnum | null;+ storefrontSearchPosition: number | null;values: (AttributeValueDelete_attributeValueDelete_attribute_values | null)[] | null;}diff --git a/saleor/static/dashboard-next/attributes/types/AttributeValueUpdate.ts b/saleor/static/dashboard-next/attributes/types/AttributeValueUpdate.tsindex 31e07d92a4..080481963f 100644--- a/saleor/static/dashboard-next/attributes/types/AttributeValueUpdate.ts+++ b/saleor/static/dashboard-next/attributes/types/AttributeValueUpdate.ts@@ -29,7 +29,11 @@ export interface AttributeValueUpdate_attributeValueUpdate_attribute {id: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;inputType: AttributeInputTypeEnum | null;+ storefrontSearchPosition: number | null;values: (AttributeValueUpdate_attributeValueUpdate_attribute_values | null)[] | null;}diff --git a/saleor/static/dashboard-next/productTypes/types/AssignAttribute.ts b/saleor/static/dashboard-next/productTypes/types/AssignAttribute.tsindex b334788382..0701776546 100644--- a/saleor/static/dashboard-next/productTypes/types/AssignAttribute.ts+++ b/saleor/static/dashboard-next/productTypes/types/AssignAttribute.ts@@ -25,6 +25,9 @@ export interface AssignAttribute_attributeAssign_productType_productAttributes {id: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;}export interface AssignAttribute_attributeAssign_productType_variantAttributes {@@ -32,6 +35,9 @@ export interface AssignAttribute_attributeAssign_productType_variantAttributes {id: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;}export interface AssignAttribute_attributeAssign_productType_weight {diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeCreate.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeCreate.tsindex 2df733f768..3e5261fe27 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeCreate.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeCreate.ts@@ -25,6 +25,9 @@ export interface ProductTypeCreate_productTypeCreate_productType_productAttributid: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;}export interface ProductTypeCreate_productTypeCreate_productType_variantAttributes {@@ -32,6 +35,9 @@ export interface ProductTypeCreate_productTypeCreate_productType_variantAttributid: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;}export interface ProductTypeCreate_productTypeCreate_productType_weight {diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeDetails.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeDetails.tsindex b5c993b360..a3cf7f49ba 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeDetails.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeDetails.ts@@ -19,6 +19,9 @@ export interface ProductTypeDetails_productType_productAttributes {id: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;}export interface ProductTypeDetails_productType_variantAttributes {@@ -26,6 +29,9 @@ export interface ProductTypeDetails_productType_variantAttributes {id: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;}export interface ProductTypeDetails_productType_weight {diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeDetailsFragment.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeDetailsFragment.tsindex f8684acff3..78e28370be 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeDetailsFragment.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeDetailsFragment.ts@@ -17,6 +17,9 @@ export interface ProductTypeDetailsFragment_productAttributes {id: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;}export interface ProductTypeDetailsFragment_variantAttributes {@@ -24,6 +27,9 @@ export interface ProductTypeDetailsFragment_variantAttributes {id: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;}export interface ProductTypeDetailsFragment_weight {diff --git a/saleor/static/dashboard-next/productTypes/types/ProductTypeUpdate.ts b/saleor/static/dashboard-next/productTypes/types/ProductTypeUpdate.tsindex 84a8706c18..cf90531d92 100644--- a/saleor/static/dashboard-next/productTypes/types/ProductTypeUpdate.ts+++ b/saleor/static/dashboard-next/productTypes/types/ProductTypeUpdate.ts@@ -25,6 +25,9 @@ export interface ProductTypeUpdate_productTypeUpdate_productType_productAttributid: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;}export interface ProductTypeUpdate_productTypeUpdate_productType_variantAttributes {@@ -32,6 +35,9 @@ export interface ProductTypeUpdate_productTypeUpdate_productType_variantAttributid: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;}export interface ProductTypeUpdate_productTypeUpdate_productType_weight {diff --git a/saleor/static/dashboard-next/productTypes/types/UnassignAttribute.ts b/saleor/static/dashboard-next/productTypes/types/UnassignAttribute.tsindex a345c0e654..38e2db0e3a 100644--- a/saleor/static/dashboard-next/productTypes/types/UnassignAttribute.ts+++ b/saleor/static/dashboard-next/productTypes/types/UnassignAttribute.ts@@ -23,6 +23,9 @@ export interface UnassignAttribute_attributeUnassign_productType_productAttributid: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;}export interface UnassignAttribute_attributeUnassign_productType_variantAttributes {@@ -30,6 +33,9 @@ export interface UnassignAttribute_attributeUnassign_productType_variantAttributid: string;name: string | null;slug: string | null;+ visibleInStorefront: boolean | null;+ filterableInDashboard: boolean | null;+ filterableInStorefront: boolean | null;}export interface UnassignAttribute_attributeUnassign_productType_weight {