Browse Source

fix(core): Expose the `topLevelOnly` collections option in Shop API

Michael Bromley 2 years ago
parent
commit
ed28743fb3
1 changed files with 3 additions and 1 deletions
  1. 3 1
      packages/core/src/api/schema/shop-api/shop.api.graphql

+ 3 - 1
packages/core/src/api/schema/shop-api/shop.api.graphql

@@ -181,7 +181,9 @@ input PaymentInput {
 }
 }
 
 
 # generated by generateListOptions function
 # generated by generateListOptions function
-input CollectionListOptions
+input CollectionListOptions {
+    topLevelOnly: Boolean
+}
 
 
 # generated by generateListOptions function
 # generated by generateListOptions function
 input FacetListOptions
 input FacetListOptions