mirror of
https://github.com/vercel/commerce.git
synced 2025-07-27 04:01:23 +00:00
query all products for vendors & paths, improve search
This commit is contained in:
17
framework/shopify/utils/queries/get-page-query.ts
Normal file
17
framework/shopify/utils/queries/get-page-query.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
export const getPageQuery = /* GraphQL */ `
|
||||
query($first: Int!) {
|
||||
pages(first: $first) {
|
||||
edges {
|
||||
node {
|
||||
id
|
||||
title
|
||||
handle
|
||||
body
|
||||
bodySummary
|
||||
url
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
export default getPageQuery
|
Reference in New Issue
Block a user