feat: filter product

:%s
This commit is contained in:
lytrankieio123
2021-10-06 17:44:36 +07:00
parent c49ba5062a
commit a91417eca9
16 changed files with 222 additions and 58 deletions

View File

@@ -3,6 +3,7 @@ import { searchResultFragment } from '../fragments/search-result-fragment'
export const getAllProductsQuery = /* GraphQL */ `
query getAllProducts($input: SearchInput!) {
search(input: $input) {
totalItems
items {
...SearchResult
}