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.

14 lines (13 loc) 447 B
import { InMemoryCache } from "apollo-cache-inmemory"; interface SaleorCacheConfig { /** * Determines if the cache has to be persisted in local storage. False by default. */ persistCache?: boolean; } /** * Creates cache for Apollo client. * @param cacheConfig Configuration for created cache. */ export declare const createSaleorCache: ({ persistCache, }: SaleorCacheConfig) => Promise<InMemoryCache>; export {};