mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Initial work, copied from the Shopify provider
This commit is contained in:
14
framework/saleor/utils/queries/get-all-collections-query.ts
Normal file
14
framework/saleor/utils/queries/get-all-collections-query.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
const getSiteCollectionsQuery = /* GraphQL */ `
|
||||
query getSiteCollections($first: Int!) {
|
||||
collections(first: $first) {
|
||||
edges {
|
||||
node {
|
||||
id
|
||||
title
|
||||
handle
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
export default getSiteCollectionsQuery
|
Reference in New Issue
Block a user