mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Added basis setup and type generation for the products queries
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
const getSiteCollectionsQuery = /* GraphQL */ `
|
||||
query getSiteCollections($first: Int!) {
|
||||
collections(first: $first) {
|
||||
query getSiteCollections($first: Int!, $channel: String = "default-channel") {
|
||||
collections(first: $first, channel: $channel) {
|
||||
edges {
|
||||
node {
|
||||
id
|
||||
title
|
||||
handle
|
||||
name
|
||||
slug
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user