mirror of
https://github.com/vercel/commerce.git
synced 2025-05-22 09:26:59 +00:00
29 lines
481 B
TypeScript
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
|
|
}
|
|
}
|
|
}
|
|
`;
|