Loan Laux 3112c7fc80
WIP pages implementation & fix add to cart variant ID bug
Signed-off-by: Loan Laux <loan@outgrow.io>
2021-05-17 15:28:04 +04:00

22 lines
492 B
TypeScript

export const getAllPagesQuery = /* GraphQL */ `
query getAllPages($shopId: ID!, $language: String! = "en") {
shop(id: $shopId) {
defaultNavigationTree(language: $language) {
items {
navigationItem {
_id
data {
contentForLanguage
classNames
url
isUrlRelative
shouldOpenInNewWindow
}
}
}
}
}
}
`
export default getAllPagesQuery