@sane-shopify/sync-utils
Version:
Syncing utility for Node & the browser
4 lines (3 loc) • 387 B
TypeScript
import { ProgressHandler, ShopifyClient, Product, ShopifyMetafieldsConfig } from '@sane-shopify/types';
import { ShopifyCache } from './shopifyUtils';
export declare const createFetchAllShopifyProducts: (shopifyClient: ShopifyClient, fetchMetafieldsConfig: () => Promise<ShopifyMetafieldsConfig>, cache: ShopifyCache) => (onProgress?: ProgressHandler<Product>) => Promise<Product[]>;