2023-05-31 17:42:21 +02:00

29 lines
481 B
TypeScript

export const getCategoryQuery = /* GraphQL */ `
query getCategory($entityId: Int!) {
site {
category(entityId: $entityId) {
entityId
name
path
description
seo {
metaDescription
metaKeywords
pageTitle
}
}
}
}
`;
export const getStoreCategoriesQuery = /* GraphQL */ `
query getStoreCategories {
site {
categoryTree {
entityId
name
}
}
}
`;