@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
24 lines (23 loc) • 485 B
TypeScript
export interface IQuery {
currency?: string;
include?: string;
fields?: {
[key: string]: string;
};
filter?: {
[key: string]: number | string;
};
page?: number;
per_page?: number;
sort?: string;
[customSpreeExtensionKey: string]: any;
}
/**
* @deprecated Use {@link ListOptions} instead.
*/
export interface IProductsQuery extends IQuery {
image_transformation?: {
size?: string;
quality?: number;
};
}