feat: get favorite products

This commit is contained in:
Quangnhankie
2021-10-12 14:33:35 +07:00
parent 71475d66ec
commit 694c3ac783
10 changed files with 136 additions and 32 deletions

View File

@@ -3203,6 +3203,16 @@ export type ActiveCustomerQuery = { __typename?: 'Query' } & {
>,
>
}
export type QueryFavorite = {
options: FavoriteListOptions
}
export type FavoriteListOptions = {
skip?: Maybe<Scalars['Int']>
take?: Maybe<Scalars['Int']>
}
export type FavoriteList = PaginatedList & {
items: [Favorite!]!
totalItems: Int!
@@ -3216,6 +3226,12 @@ type Favorite = Node & {
customer: Customer!
}
type FavouriteOption = Customer & {
favorites(options: FavoriteListOptions): FavoriteList!
}
export type GetAllProductPathsQueryVariables = Exact<{
first?: Maybe<Scalars['Int']>
}>