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.

3 lines (2 loc) 209 B
import { SaleorAPI } from "../api"; export declare const hookFactory: <T extends "auth" | "checkout" | "cart" | "categories" | "collections" | "products" | "legacyAPIProxy">(query: T) => () => SaleorAPI[T];