Updated types

This commit is contained in:
Luis Alvarez 2020-10-02 13:42:15 -05:00
parent 5469458665
commit 4f72e371cd
3 changed files with 0 additions and 3 deletions

View File

@ -23,7 +23,6 @@ export interface GetAllProductPathsResult<T> {
}
async function getAllProductPaths(opts?: {
query?: string
config?: BigcommerceConfig
}): Promise<GetAllProductPathsResult<GetAllProductPathsQuery>>

View File

@ -47,7 +47,6 @@ export type ProductVariables = Images &
Omit<GetAllProductsQueryVariables, keyof ProductImageVariables>
async function getAllProducts(opts?: {
query?: string
variables?: ProductVariables
config?: BigcommerceConfig
}): Promise<GetAllProductsResult<GetAllProductsQuery>>

View File

@ -43,7 +43,6 @@ export type ProductVariables = Images &
({ path: string; slug?: never } | { path?: never; slug: string })
async function getProduct(opts: {
query?: string
variables: ProductVariables
config?: BigcommerceConfig
}): Promise<GetProductResult<GetProductQuery>>