UNPKG

usimple-saleor-sdk

Version:

This package contains all queries and mutations that are used in our sample storefront. It can be used for semi-custom or fully-custom (with ability to extend existing queries) storefront solutions.

8 lines (7 loc) 436 B
import ApolloClient from "apollo-client"; import BaseDetails from "../../../helpers/BaseDetails"; export declare function makeDetails<TObject, TQuery, TVariables>(createDetails: (client: ApolloClient<any>) => BaseDetails<TQuery, TObject, TVariables>): (variables: TVariables) => { current: Promise<import("apollo-client").ApolloQueryResult<TQuery>> | null | undefined; data: TObject | undefined; loading: boolean; };