UNPKG

@spree/storefront-api-v2-sdk

Version:

Node module to easily integrate your JavaScript or TypeScript application with Spree API V2. You can create an entirely custom Storefront in JS/TS with this package including one page checkout, Single Page Apps, PWAs and so on

13 lines (12 loc) 563 B
import type { IToken } from '../interfaces/Token'; export declare const split: (source: Record<string, any>, specialKeys: string[]) => [Record<string, any>, Record<string, any>]; /** * @deprecated This function is used only to support the old method signatures * and will be removed in the future. */ declare const squashAndPreparePositionalArguments: (positionalArguments: Record<string, any>[], specialKeys: string[]) => Record<string, any> & { token: IToken; } & { params: Record<string, any>; }; export default squashAndPreparePositionalArguments;