mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 23:46:58 +00:00
21 lines
329 B
TypeScript
21 lines
329 B
TypeScript
import { productInfo } from '../fragments/product';
|
|
|
|
export const getAllProductsQuery = /* GraphQL */`
|
|
${productInfo}
|
|
|
|
query products(
|
|
$filter: String
|
|
$startIndex: Int
|
|
$pageSize: Int
|
|
) {
|
|
products(
|
|
filter: $filter
|
|
startIndex: $startIndex
|
|
pageSize: $pageSize
|
|
) {
|
|
items {
|
|
...productInfo
|
|
}
|
|
}
|
|
}
|
|
` |