4
0
forked from crowetic/commerce

Fetch products separately

This commit is contained in:
Luis Alvarez
2020-10-18 17:52:07 -05:00
parent 42cb7120e5
commit c92e765814
3 changed files with 45 additions and 112 deletions

View File

@@ -1832,76 +1832,24 @@ export type GetAllProductsQueryVariables = Exact<{
imgLargeHeight?: Maybe<Scalars['Int']>
imgXLWidth?: Maybe<Scalars['Int']>
imgXLHeight?: Maybe<Scalars['Int']>
products?: Maybe<Scalars['Boolean']>
featuredProducts?: Maybe<Scalars['Boolean']>
featuredProducts__first?: Maybe<Scalars['Int']>
bestSellingProducts?: Maybe<Scalars['Boolean']>
bestSellingProducts__first?: Maybe<Scalars['Int']>
newestProducts?: Maybe<Scalars['Boolean']>
newestProducts__first?: Maybe<Scalars['Int']>
}>
export type GetAllProductsQuery = { __typename?: 'Query' } & {
site: { __typename?: 'Site' } & {
products: { __typename?: 'ProductConnection' } & {
pageInfo: { __typename?: 'PageInfo' } & Pick<
PageInfo,
'startCursor' | 'endCursor'
>
edges?: Maybe<
Array<
Maybe<
{ __typename?: 'ProductEdge' } & Pick<ProductEdge, 'cursor'> & {
node: { __typename?: 'Product' } & ProductInfoFragment
}
>
>
>
}
featuredProducts: { __typename?: 'ProductConnection' } & {
pageInfo: { __typename?: 'PageInfo' } & Pick<
PageInfo,
'startCursor' | 'endCursor'
>
edges?: Maybe<
Array<
Maybe<
{ __typename?: 'ProductEdge' } & Pick<ProductEdge, 'cursor'> & {
node: { __typename?: 'Product' } & ProductInfoFragment
}
>
>
>
}
bestSellingProducts: { __typename?: 'ProductConnection' } & {
pageInfo: { __typename?: 'PageInfo' } & Pick<
PageInfo,
'startCursor' | 'endCursor'
>
edges?: Maybe<
Array<
Maybe<
{ __typename?: 'ProductEdge' } & Pick<ProductEdge, 'cursor'> & {
node: { __typename?: 'Product' } & ProductInfoFragment
}
>
>
>
}
newestProducts: { __typename?: 'ProductConnection' } & {
pageInfo: { __typename?: 'PageInfo' } & Pick<
PageInfo,
'startCursor' | 'endCursor'
>
edges?: Maybe<
Array<
Maybe<
{ __typename?: 'ProductEdge' } & Pick<ProductEdge, 'cursor'> & {
node: { __typename?: 'Product' } & ProductInfoFragment
}
>
>
>
}
products: { __typename?: 'ProductConnection' } & ProductConnnectionFragment
featuredProducts: {
__typename?: 'ProductConnection'
} & ProductConnnectionFragment
bestSellingProducts: {
__typename?: 'ProductConnection'
} & ProductConnnectionFragment
newestProducts: {
__typename?: 'ProductConnection'
} & ProductConnnectionFragment
}
}