shopper
Version:
plug shopify into any website
7 lines (6 loc) • 334 B
TypeScript
import { ShopperModel, ShopperAssemblyOptions } from "../interfaces.js";
export declare function assembleModel({ mock, cartStorage, shopifyDomain, defaultQuantityMax, shopifyStorefrontAccessToken, }: ShopperAssemblyOptions): {
model: ShopperModel;
loadCatalog(): Promise<void>;
refreshCartStorage: () => Promise<void>;
};