1
0
mirror of https://github.com/vercel/commerce.git synced 2025-06-13 19:31:20 +00:00
2021-06-02 11:46:38 -03:00

14 lines
287 B
TypeScript

import { searchResultFragment } from '../fragments/search-result-fragment'
export const searchQuery = /* GraphQL */ `
query search($input: SearchInput!) {
search(input: $input) {
items {
...SearchResult
}
totalItems
}
}
${searchResultFragment}
`