UNPKG

@techsio/storefront-data

Version:

Medusa-first storefront data layer built on TanStack Query.

12 lines • 748 B
import type { ProductListDetailInputBase, ProductListListInputBase } from "./types"; export declare const stripListInput: <TInput extends ProductListListInputBase>(input: TInput) => Omit<TInput, "enabled" | "page" | "customerId">; export declare const stripDetailInput: <TInput extends ProductListDetailInputBase>(input: TInput) => Omit<TInput, "enabled" | "customerId">; export declare const createDefaultListParams: <TInput extends ProductListListInputBase>(input: TInput, defaultPageSize: number) => { [k: string]: unknown; }; export declare const withCustomerScope: <TParams, TInput extends { customerId?: string | null; }>(params: TParams, input: TInput) => { customerId: string | null; }; //# sourceMappingURL=input-utils.d.ts.map