@spree/storefront-api-v2-sdk
Version:
Node module to easily integrate your JavaScript or TypeScript application with Spree Storefront 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) • 383 B
TypeScript
import { ResultResponse } from '@spree/core-api-v2-sdk';
import { WithCommonOptions } from '@spree/core-api-v2-sdk';
export interface DigitalAsset extends ReadableStream {
}
export interface DigitalAssetResult extends ResultResponse<DigitalAsset> {
}
export type DownloadOptions = WithCommonOptions<{
suggestToken: true;
suggestQuery: true;
}, {
asset_token: string;
}>;