feat: create toggle product wishlist

This commit is contained in:
Quangnhankie
2021-10-11 09:59:46 +07:00
parent 391bba5d31
commit 279c20e1af
10 changed files with 118 additions and 19 deletions

View File

@@ -3198,15 +3198,23 @@ export type ActiveCustomerQuery = { __typename?: 'Query' } & {
activeCustomer?: Maybe<
{ __typename?: 'Customer' } & Pick<
Customer,
FavoriteList,
'id' | 'firstName' | 'lastName' | 'emailAddress' | 'favorites'
>,
>
}
export type FavoriteList = {
export type FavoriteList = PaginatedList & {
items: [Favorite!]!
totalItems: Int!
}
type Favorite = Node & {
id: ID!
createdAt: DateTime!
updatedAt: DateTime!
product: Product
customer: Customer!
}
export type GetAllProductPathsQueryVariables = Exact<{
first?: Maybe<Scalars['Int']>