Merge branch 'release-stable' of https://github.com/KieIO/grocery-vercel-commerce into feature/m2-get-edit-user-info

This commit is contained in:
Quangnhankie
2021-10-05 11:52:33 +07:00
34 changed files with 920 additions and 282 deletions

View File

@@ -0,0 +1,12 @@
export const getAllCollectionsQuery = /* GraphQL */ `
query collections ($options: CollectionListOptions) {
collections (options: $options){
totalItems,
items {
id
name
slug
}
}
}
`

View File

@@ -0,0 +1,17 @@
export const getAllFacetsQuery = /* GraphQL */ `
query facets ($options: FacetListOptions) {
facets (options: $options){
totalItems,
items {
id
name
code
values {
id
name
code
}
}
}
}
`