mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
13
framework/vendure/utils/queries/search-query.ts
Normal file
13
framework/vendure/utils/queries/search-query.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { searchResultFragment } from '../fragments/search-result-fragment'
|
||||
|
||||
export const searchQuery = /* GraphQL */ `
|
||||
query search($input: SearchInput!) {
|
||||
search(input: $input) {
|
||||
items {
|
||||
...SearchResult
|
||||
}
|
||||
totalItems
|
||||
}
|
||||
}
|
||||
${searchResultFragment}
|
||||
`
|
Reference in New Issue
Block a user