Skip to content

Commit

Permalink
feat(core): Add ability to get variants for a specific product in pro…
Browse files Browse the repository at this point in the history
…ductVariants query

#786
  • Loading branch information
dkostenko-jsninja authored Apr 2, 2021
1 parent 829463d commit 1da0592
Show file tree
Hide file tree
Showing 12 changed files with 11,994 additions and 11,487 deletions.
3 changes: 2 additions & 1 deletion packages/admin-ui/src/lib/core/src/common/generated-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export type Query = {
productOptionGroups: Array<ProductOptionGroup>;
/** Get a ProductVariant by id */
productVariant?: Maybe<ProductVariant>;
/** List ProductVariants */
/** List ProductVariants either all or for the specific product. */
productVariants: ProductVariantList;
/** List Products */
products: ProductList;
Expand Down Expand Up @@ -227,6 +227,7 @@ export type QueryProductVariantArgs = {

export type QueryProductVariantsArgs = {
options?: Maybe<ProductVariantListOptions>;
productId?: Maybe<Scalars['ID']>;
};


Expand Down
Loading

0 comments on commit 1da0592

Please sign in to comment.