mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
21
framework/vendure/utils/queries/get-collections-query.ts
Normal file
21
framework/vendure/utils/queries/get-collections-query.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
export const getCollectionsQuery = /* GraphQL */ `
|
||||
query getCollections {
|
||||
collections {
|
||||
items {
|
||||
id
|
||||
name
|
||||
description
|
||||
slug
|
||||
productVariants {
|
||||
totalItems
|
||||
}
|
||||
parent {
|
||||
id
|
||||
}
|
||||
children {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
Reference in New Issue
Block a user