commerce/framework/vendure/utils/queries/get-collections-query.ts
2021-06-02 11:46:38 -03:00

22 lines
324 B
TypeScript

export const getCollectionsQuery = /* GraphQL */ `
query getCollections {
collections {
items {
id
name
description
slug
productVariants {
totalItems
}
parent {
id
}
children {
id
}
}
}
}
`