2021-06-09 17:02:13 +02:00

16 lines
387 B
TypeScript

import * as fragment from '../fragments'
export const ProductMany = /* GraphQL */ `
query ProductMany(
$first: Int = 100
$filter: ProductFilterInput
$sortBy: ProductOrder
$channel: String = "default-channel"
) {
products(first: $first, channel: $channel, filter: $filter, sortBy: $sortBy) {
...ProductConnection
}
}
${fragment.ProductConnection}
`