Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
wip queries
dominik-zeglen1eabc3890577
diff --git a/saleor/static/dashboard-next/productTypes/queries.ts b/saleor/static/dashboard-next/productTypes/queries.tsindex 60c505e94f..3c6a408f47 100644--- a/saleor/static/dashboard-next/productTypes/queries.ts+++ b/saleor/static/dashboard-next/productTypes/queries.ts@@ -26,6 +26,29 @@ export const attributeFragment = gql`}}`;+export const productTypeFragment = gql`+ fragment ProductTypeFragment on ProductType {+ id+ name+ hasVariants+ isShippingRequired+ taxRate+ }+`;++export const productTypeDetailsFragment = gql`+ ${attributeFragment}+ ${productTypeFragment}+ fragment ProductTypeDetailsFragment on ProductType {+ ...ProductTypeFragment+ productAttributes {+ ...AttributeFragment+ }+ variantAttributes {+ ...AttributeFragment+ }+ }+`;export const TypedProductTypeListQuery = Query as React.ComponentType<QueryProps<ProductTypeList, ProductTypeListVariables>