mirror of
https://github.com/vercel/commerce.git
synced 2025-07-30 21:51:21 +00:00
.vscode
assets
components
config
framework
bigcommerce
commerce
local
local-old
shopify
swell
vendure
api
auth
cart
customer
product
types
utils
fragments
mutations
queries
active-customer-query.ts
get-all-product-paths-query.ts
get-all-products-query.ts
get-cart-query.ts
get-collections-query.ts
get-product-query.ts
search-query.ts
array-to-tree.ts
normalize.ts
wishlist
.env.template
README.md
codegen.json
commerce.config.json
fetcher.ts
index.tsx
next.config.js
provider.ts
schema.d.ts
schema.graphql
lib
pages
public
.editorconfig
.env.template
.gitignore
.prettierignore
.prettierrc
README.md
codegen.json
commerce.config.json
global.d.ts
license.md
next-env.d.ts
next.config.js
package.json
postcss.config.js
tailwind.config.js
tsconfig.json
yarn.lock
22 lines
324 B
TypeScript
22 lines
324 B
TypeScript
export const getCollectionsQuery = /* GraphQL */ `
|
|
query getCollections {
|
|
collections {
|
|
items {
|
|
id
|
|
name
|
|
description
|
|
slug
|
|
productVariants {
|
|
totalItems
|
|
}
|
|
parent {
|
|
id
|
|
}
|
|
children {
|
|
id
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`
|