Updated types
This commit is contained in:
		| @@ -23,7 +23,6 @@ export interface GetAllProductPathsResult<T> { | |||||||
| } | } | ||||||
|  |  | ||||||
| async function getAllProductPaths(opts?: { | async function getAllProductPaths(opts?: { | ||||||
|   query?: string |  | ||||||
|   config?: BigcommerceConfig |   config?: BigcommerceConfig | ||||||
| }): Promise<GetAllProductPathsResult<GetAllProductPathsQuery>> | }): Promise<GetAllProductPathsResult<GetAllProductPathsQuery>> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -47,7 +47,6 @@ export type ProductVariables = Images & | |||||||
|   Omit<GetAllProductsQueryVariables, keyof ProductImageVariables> |   Omit<GetAllProductsQueryVariables, keyof ProductImageVariables> | ||||||
|  |  | ||||||
| async function getAllProducts(opts?: { | async function getAllProducts(opts?: { | ||||||
|   query?: string |  | ||||||
|   variables?: ProductVariables |   variables?: ProductVariables | ||||||
|   config?: BigcommerceConfig |   config?: BigcommerceConfig | ||||||
| }): Promise<GetAllProductsResult<GetAllProductsQuery>> | }): Promise<GetAllProductsResult<GetAllProductsQuery>> | ||||||
|   | |||||||
| @@ -43,7 +43,6 @@ export type ProductVariables = Images & | |||||||
|   ({ path: string; slug?: never } | { path?: never; slug: string }) |   ({ path: string; slug?: never } | { path?: never; slug: string }) | ||||||
|  |  | ||||||
| async function getProduct(opts: { | async function getProduct(opts: { | ||||||
|   query?: string |  | ||||||
|   variables: ProductVariables |   variables: ProductVariables | ||||||
|   config?: BigcommerceConfig |   config?: BigcommerceConfig | ||||||
| }): Promise<GetProductResult<GetProductQuery>> | }): Promise<GetProductResult<GetProductQuery>> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user